METHOD, APPARATUS, AND SYSTEM FOR INVOKING WIDGET
First Claim
Patent Images
1. A method for invoking a widget, comprising:
- parsing a widget package that is to be run in a terminal to obtain component information in the widget package;
obtaining registration information of a component in the widget package according to the component information;
when the obtaining of the registration information fails, downloading a component according to component download request information from the terminal, and updating the registration information; and
invoking the downloaded component according to the updated registration information.
1 Assignment
0 Petitions
Accused Products
Abstract
A method includes: parsing a widget package that is to be run in a terminal to obtain component information in the widget package; obtaining registration information of a component in the widget package according to the component information; when the obtaining of the registration information fails, downloading a component according to component download request information sent by the terminal and updating the registration information; and invoking the downloaded component according to the updated registration information, so that a widget logic component may be updated separately, and a function of a widget terminal is implemented flexibly and easily.
-
Citations
15 Claims
-
1. A method for invoking a widget, comprising:
-
parsing a widget package that is to be run in a terminal to obtain component information in the widget package; obtaining registration information of a component in the widget package according to the component information; when the obtaining of the registration information fails, downloading a component according to component download request information from the terminal, and updating the registration information; and invoking the downloaded component according to the updated registration information. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A terminal for invoking a widget, comprising:
-
a parsing unit, configured to parse a widget package that is to be run in a terminal to obtain component information in the widget package; a component registering unit, configured to obtain registration information of a component in the widget package according to the component information; and a component managing unit, configured to download, when the obtaining of the registration information fails, a component according to component download request information and update the registration information; and
invoke the downloaded component according to the updated registration information. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A method for invoking a widget, comprising the following steps:
-
receiving component download request information reported by a widget terminal; delivering a request for device information to the widget terminal according to an internal policy; and after receiving a device information list that is reported by the widget terminal after the widget terminal collects device information according to the request for device information, delivering a component for downloading to the widget terminal. - View Dependent Claims (13)
-
-
14. An apparatus for invoking a widget, comprising a policy managing module and a server component library, wherein:
-
the policy managing module is configured to deliver, after receiving component download request information reported by a widget terminal, a request for device information to the widget terminal according to an internal policy that is managed by the policy managing module; and a server component library, configured to deliver a component for downloading to the widget terminal after receiving a device information list that is reported by the widget terminal after the widget terminal collects device information according to the request for device information, wherein the component for downloading is stored in the server component library. - View Dependent Claims (15)
-
Specification