摘要:
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 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 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 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.