摘要:
A method for an agent service applied to a Widget is provided, where the method includes: receiving a service request for the Widget using an Application Programming Interface (API) initiated by a user terminal; forwarding the service request to an API service provider, and forwarding a response for the service request from the API service provider to the user terminal; collecting charging information generated by the Widget using an API service, and recording the collected charging information, where the charging information, together with a charging policy registered by the Widget, is used to perform uniform charging for the API service used by the Widget. An embodiment of the present invention further provides a server, which may reduce complicated user operation and bringing better user experience.
摘要:
A method for generating a widget icon is disclosed. The method includes: obtaining a widget summary information file; parsing the widget summary information file, and executing the parsed widget summary information file; and generating a widget icon according to the executed widget summary information file. A method for generating a widget summary information file and a widget engine are also provided, thus reducing the occupancy of system resources.
摘要:
A method for an agent service applied to a Widget is provided, where the method includes: receiving a service request for the Widget using an Application Programming Interface (API) initiated by a user terminal; forwarding the service request to an API service provider, and forwarding a response for the service request from the API service provider to the user terminal; collecting charging information generated by the Widget using an API service, and recording the collected charging information, where the charging information, together with a charging policy registered by the Widget, is used to perform uniform charging for the API service used by the Widget. An embodiment of the present invention further provides a server, which may reduce complicated user operation and bringing better user experience.
摘要:
A widget communication method includes: receiving a widget event message from a client, the widget event message indicates happening of the widget event; obtaining association information of widget events between clients; and triggering widget events on other clients that are associated with the widget event happening on the client according to the association information. A widget server is also provided. With the present invention, when a server receives a widget event message from a client, the server obtains association information of widget events between clients. Because the association information of widget events between clients associates widget events of different clients, the server triggers the widget events on other clients that are associated with the widget event happening on the client according to the association information so that widget applications can collaborate across multiple clients.
摘要:
A method and an apparatus for generating a widget are provided. This technical solution belongs to the field of network application technology. The method includes the following steps: the attribute information of the data to be obtained is created according to the web page specified by a user and the page fragment marked by the user on the web page (101); the structured data is obtained according to the created attribute information of the data to be obtained (102); the obtained structured data is converted to visual content (103). The apparatus includes a creation module, an obtaining module, and a converting module. By creating the attribute information of the data to be obtained and obtaining the structured data according to the created attribute information, this technical solution has the effect of meeting diverse user demands as far as possible.
摘要:
A method for synchronizing data is disclosed. The method includes: receiving a data synchronization request; determining data that needs to be transcoded and a transcoding rule for such data according to the data synchronization request and features of a widget terminal that requests data synchronization and sending the data that is transcoded according to the transcoding rule to the widget terminal that requests data synchronization. A widget terminal and server are also provided. The present invention can extend the use scope of widget terminals.
摘要:
The present invention relates to communication technologies, and discloses a device capability invocation method, a widget device, and a server. The device capability invocation method includes: receiving a device capability invocation request sent by a widget, where the device capability invocation request carries conditions of a device capability that needs to be invoked; search a device capability database for the device capability compliant with the conditions; invoking the found device capability; receiving an invocation result that is returned after the found device capability is invoked; and sending the invocation result to the widget. The technical solutions provided by the embodiments of the present invention enables a widget device to invoke device capabilities of all devices in the system.