TECHNICAL FIELD

The present disclosure describes embodiments generally related to cloud service.

BACKGROUND

The background description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent the work is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present disclosure.

Various media applications and services require significant processing capability. In some examples, cloud processing is preferred where workloads that otherwise would have been performed on a client device, can be offloaded to remote servers. Because the remote servers have much higher computation capacity, complex media processing tasks can be performed by the remote servers and then final results or near-to-final results can be sent to the client device.

SUMMARY

Aspects of the disclosure provide methods and apparatuses for cloud service. For example, an apparatus in a cloud for providing a cloud service includes processing circuitry. The processing circuitry receives a request including at least first characteristics associated with a variable. In an example, the first characteristics include complete information for describing the variable. The processing circuitry generates a message including the first characteristics associated with the variable and an updated value of the variable and sends the message to a recipient.

In an example, the first characteristics include at least a definition of the variable, a unit of the variable, a format of the variable, and a universal identifier of the variable.

In some examples, the processing circuitry can establish and manage a workflow for the cloud service. In some other examples, the processing circuitry can perform one or more tasks in a workflow for the cloud service.

In some embodiments, the request includes at least second characteristics associated with an event. The second characteristics include complete information for describing the event. The processing circuitry can generate the message that includes the first characteristics associated with the variable and the updated value of the variable, and the second characteristics associated with the event for indicating an occurrence of the event. It is noted that the variable can be a function variable or a system variable, and the event can be a function event or a system event.

In some embodiments, the request includes a first reporting descriptor object with at least a first variables descriptor object associated with variables, a first events descriptor object associated with events, and a reporting interval. The processing circuitry generates, at a time with the reporting interval to a previous message, the message that includes a second reporting descriptor object with a second variables descriptor object having updated values for the variables, and a second events descriptor object associated with a subset of the events.

In some embodiments, the request includes a first notification descriptor object with at least a first variables descriptor object associated with variables, and a first events descriptor object associated with subscribed events. The processing circuitry generates, in response to an occurrence of at least one of the subscribed events, the message that includes a second reporting descriptor object with a second variables descriptor object having updated values for the variables, and a second events descriptor object associated with a subset of the subscribed events.

In some embodiments, the request includes a first monitoring descriptor object with at least a first variables descriptor object associated with variables, and a first events descriptor object associated with events. The processing circuitry receives, the request that is sent from a monitoring entity, and generates, in response to the request, the message that includes a second reporting descriptor object with a second variables descriptor object having updated values for the variables, and a second events descriptor object associated with a subset of the events. Then, the processing circuitry sends the message to the monitoring entity.

It is noted that, in some embodiments, the message includes a request descriptor object that identifies the request.

Aspects of the disclosure also provide a non-transitory computer-readable medium storing instructions which when executed by a computer for cloud service cause the computer to perform the method for cloud service.

