WO2012051865A1 - Method and system for widget application management - Google Patents

Method and system for widget application management Download PDF

Info

Publication number
WO2012051865A1
WO2012051865A1 PCT/CN2011/075875 CN2011075875W WO2012051865A1 WO 2012051865 A1 WO2012051865 A1 WO 2012051865A1 CN 2011075875 W CN2011075875 W CN 2011075875W WO 2012051865 A1 WO2012051865 A1 WO 2012051865A1
Authority
WO
WIPO (PCT)
Prior art keywords
service request
widget application
content information
terminal
widget
Prior art date
Application number
PCT/CN2011/075875
Other languages
French (fr)
Chinese (zh)
Inventor
王晓
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012051865A1 publication Critical patent/WO2012051865A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the present invention relates to the field of mobile internet, and in particular, to a widget application management method, system, remote server, and terminal.
  • Widgets are lightweight web applications developed based on Web technologies for customizing Internet services. Users can create or download widget applications on a personal computer (PC) desktop, web page or mobile phone, etc. They can run like a local application. Users can browse personalized pages via the mobile Internet without having to be limited by the size of the interface, and enjoy personalized mobile Internet services. Typical widgets include clocks, weather forecasts, stocks, music players, and advanced applications that have access to terminal device information and network services. With the promotion of widget standardization, its development space will be more open, and more and more mobile operators have begun to pay attention to this service. Widgets may be applied to many mainstream software and may become the new carrier of future Internet advertising.
  • widgets are in the early stage of development in the mobile Internet field, and many related functions are not perfect. Therefore, there are some interesting but unresolved issues, such as: How to remotely manage the widget application on the terminal, realize remote Installation, remote uninstallation, and remote updates are just a few of the typical problems.
  • the function management of the widget application is to first deploy the widget application resource package to the terminal (can be downloaded from the network, or can use a universal serial bus (USB) data line or a secure digital number. (Secure Digital, SD) card import), and then use the widget engine software on the terminal to install the widget application. When needed, the user selects uninstall or update on the terminal, and the widget engine software completes the corresponding operating.
  • USB universal serial bus
  • SD Secure Digital
  • the present invention provides a widget application management method, the method comprising: a server initiating a widget application management service request to a terminal, and packaging the widget application management service request into notification message data. a packet, the notification message data packet is transmitted to the terminal through a network, where the widget application management service request includes service request type information and corresponding content information;
  • the terminal receives and parses the notification message data packet, and obtains a service request type and corresponding content information therein; and when the terminal manages the widget application, the service request type and corresponding content obtained according to the parsing Information, start the corresponding management process.
  • the content information corresponding to the type includes: description information of the widget application to be installed, and a uniform resource locator (URL) providing the widget application resource.
  • the step of starting, by the terminal, the corresponding management process flow according to the parsed service request type and the corresponding content information including: the terminal according to the URL address of the widget application in the content information,
  • the widget application resource provides an installation resource package for downloading the widget application on the server, and then installs; or
  • the content information corresponding to the type includes: an installation resource package of the widget application to be installed; and the step of the terminal starting the corresponding management processing flow includes: terminal installation The installation resource package for the widget application.
  • the service request type of the widget application management service request is unloaded, the content information corresponding to the type includes: an identifier of the widget application that is required to be uninstalled; and the specific service request type and corresponding content obtained by the terminal according to the parsing
  • the step of initiating the corresponding management process includes: the terminal uninstalling the corresponding widget application according to the identifier of the widget application in the content information.
  • the content information corresponding to the type includes: update description information of the widget application to be updated, and an update description document (UDD) file of the widget application.
  • the step of starting the corresponding management process according to the service request type and the corresponding content information obtained by the terminal according to the parsing the terminal downloading the address according to the UDD file in the content information Downloading the UDD file of the widget application from the widget application resource providing server, downloading the update resource package of the widget application according to the Uniform Resource Identifier (URI) address provided in the UDD file, and then installing; or the widget application
  • the content information corresponding to the type includes: a UDD file of the widget application to be updated; and the terminal starts the corresponding according to the service request type and the corresponding content information obtained by the parsing Steps to manage the process Comprising: the address of the terminal according to the URI UDD provided in the document, the widget application download
  • the content information corresponding to the type includes: an update resource package of the widget application that needs to be updated; and the step of the terminal starting the corresponding management process flow includes: terminal installation The update resource package for the widget application.
  • the widget application management service request includes one or more service request types.
  • the step of managing the widget application includes: the terminal automatically manages the widget application; or the terminal receives the command sent by the user to process the widget application management. After that, the terminal manages the widget application.
  • the present invention further provides a widget application management system, where the system includes a remote server and a terminal supporting the widget service, wherein: the remote server is configured to: initiate widget application management to the terminal.
  • the terminal is configured to: receive and parse the notification message data packet, obtain a service request type and corresponding content information therein; and, when managing the widget application, according to the parsed service request type and corresponding Content information, initiate the corresponding management process.
  • the present invention provides a remote server that implements a widget application management, and the remote server includes a remote service initiation module and a service transmission module, where: the remote service initiation module is configured to: Initiating a widget application management service request to the terminal supporting the widget service, where the widget application management service request includes the service request type information and the corresponding content information; the service transmission module is configured to: package the widget application management service request into Notifying the message packet and transmitting the notification message packet to the terminal over the network.
  • the type pair The content information of the application includes: description information of the widget application to be installed, and a uniform resource locator (URL) address providing the widget application resource; or the widget application management service request includes a service request type that is installed, the type
  • the corresponding content information includes: an installation resource package of the widget application to be installed; or the content of the service request included in the widget application management service request is unloaded, and the content information corresponding to the type includes: an identifier of the widget application that is required to be uninstalled; or
  • the service request type included in the widget application management service request is an update
  • the content information corresponding to the type includes: update description information of the widget application that needs to be updated, and a network download address of the update description document (UDD) file of the widget application.
  • UDD update description document
  • the content information corresponding to the type includes: a UDD file of the widget application that needs to be updated; or the service request type included in the widget application management service request is an update.
  • the content information corresponding to the type includes: an update resource package of the widget application that needs to be updated.
  • the present invention further provides a terminal for implementing a widget application management, the terminal comprising: a service request parsing module and a function execution module, where: the service request parsing module is configured to: receive And parsing the notification message data packet that is sent by the remote server to the terminal and encapsulating the application of the widget application management service, and acquiring the service request type and the corresponding content information in the notification message data packet; the function execution module is set to: in the widget When the application performs management, the corresponding management processing flow is started according to the service request type and the corresponding content information obtained by the parsing.
  • the terminal further includes: a user confirmation module, configured to: trigger the function execution module after receiving a command sent by the user to process the widget application management.
  • the function execution module is configured to start a corresponding management process according to the service request type and corresponding content information obtained by parsing in the following manner: in the service request parsing module
  • the obtained service request type is installed, and the acquired content information includes description information of the widget application to be installed, and a uniform resource locator (URL) address of the widget application resource, according to the widget application in the content information.
  • URL uniform resource locator
  • the function execution module is set to the service request type and corresponding content information obtained according to the parsing as follows
  • the corresponding management process is started: when the service request type obtained by the service request parsing module is installed, and the acquired content information includes an installation resource package of the widget application to be installed, install the installation resource package of the widget application; or
  • the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: the service request type acquired by the service request parsing module is uninstalled, and acquired Content information including requirements When the identifier of the widget application is loaded, the corresponding widget application is uninstalled according to the identifier of the widget application in the content information; or the function execution module is set to the service request type and corresponding according to the parsing according to the following manner.
  • the content information, the corresponding management process is started: the service request type acquired by the service request parsing module is an update, and the acquired content information includes update description information of the widget application that needs to be updated, and an update description document of the widget application (
  • the network download address of the UDD file is downloaded, the UDD file of the widget application is downloaded from the widget application resource providing server according to the network download address of the UDD file in the content information, and then downloaded according to the URI address provided in the UDD file.
  • the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner:
  • the service request class obtained by the parsing module When the type information is updated, and the acquired content information includes the UDD file of the widget application to be updated, the update resource package of the widget application is downloaded from the widget application resource providing server according to the URI address provided in the UDD file, and then installed; or
  • the function execution module is configured to start a corresponding management process according to the service request type and corresponding content information obtained by parsing in the following manner: when the service request type acquired by the service request parsing module is updated, and The content information obtained includes the widgets that need to be updated.
  • the present invention solves the remote management problem of the widget application on the terminal, and provides the remote management method of the widget client to the widget client, which can promote the rapid deployment of the widget service, promote the promotion and use of the widget application, and enrich the End user experience.
  • FIG. 1 is a diagram showing relationship between sub-modules in a system according to an application example of the present invention
  • FIG. 2 is a flowchart of execution of each sub-module of an application example of the present invention
  • FIG. 3 is a flowchart of a method for remotely managing a widget application according to an embodiment of the present invention.
  • the Widget international standards include the World Wide Web Consortium (W3C), the Joint Innovation Lab (JIL), the BONDL, and the Wholesale Applications Community (WAC). These standards are not yet remote to widgets. Specific definitions such as management and processing processes.
  • WAC World Wide Web Consortium
  • the present invention provides a method for remotely managing a widget application, which implements functions such as installing, uninstalling, and updating a widget application on a server-side remote control terminal.
  • Embodiment 1 The flowchart of the method for remotely managing a widget application according to this embodiment is as shown in FIG. 3, and includes the following steps: Step 1: The server initiates a widget application management service request to the terminal, and packages the request. The notification message data packet that can be transmitted through the network; the server side determines the format of the notification message data packet according to the network transmission protocol used by the terminal, and the notification message data packet in the format is the data packet that can be transmitted through the network.
  • the network transmission protocol may be one of the following protocols: Short Message Service (SMS) protocol, Push (PUSH) protocol, and Session Initiation Protocol (SIP).
  • SMS Short Message Service
  • PUSH Push
  • SIP Session Initiation Protocol
  • the widget application management service request includes the following service request types, corresponding to different types, and the widget application management service request includes different content information: an installation type, indicating that the server requires the terminal to install a widget application provided by a widget application resource providing server.
  • the installation resource package; the corresponding content information may include any one of the following information: 1) description information of the widget application resource to be installed (for example, one or several of the following information may be included: application name, author, publishing time) And a function introduction, etc., and a Uniform Resource Location (URL) address providing the widget application resource; the purpose of carrying the description information is to let the user know the basic situation of the widget application, and the user can decide whether to install the widget. Application, if the user decision function is not provided, the description information may not be carried; 2) The installation resource package of the widget application to be installed.
  • the uninstall type indicates that the server requires the terminal to uninstall an already installed widget application; the corresponding content information includes: an identifier of the widget application that is required to be uninstalled.
  • the update type indicates that the server requires the terminal to update the resource version of an already installed widget application;
  • the corresponding content information may include any one of the following information: 1) update description information of the widget application that needs to be updated (for example, the following information may be included) One or more of the following: application name, author, release time, version number, and new function introduction, etc., and the network download address of the Update Description Document (UDD) file of the widget application;
  • the purpose of the description information is to let the user know the situation of the new version of the widget application, for the user to decide whether to update the widget application, and if the user decision function is not provided, the update description information may not be carried; 2) the UDD file of the widget application that needs to be updated ; 3) Update resource package for the updated widget application.
  • the server carries a service request class in a widget application management service request Type, but it is not excluded to carry more than two types of service requests.
  • the terminal may be required to install the widget application A, uninstall the widget application B, and update the widget application C.
  • Step 2 The server transmits the notification message data packet to the terminal through a network transmission protocol with the terminal; the third step: the terminal receives and parses the notification message data packet, and obtains the service request type of the widget application management service request and the corresponding Content information
  • Step 4 The terminal prompts the user whether to immediately process the widget application management. If the user selects "Yes”, then the fifth step is continued. If the user selects "No", the entire processing flow is ended, and the terminal maintains the original state;
  • the widget application management service request carries multiple types, and the terminal can prompt the user for each type, or can query the user for processing at one time. Or in other embodiments, the user may not be queried, and the default is automatic execution, that is, the fourth step is not executed.
  • Step 5 When the terminal manages the widget application, according to the parsed service request type and the corresponding content information, the corresponding management process is started.
  • Case 1 The terminal automatically performs management of the widget application
  • Case 2 The terminal receives the processing application management sent by the user. After the command, the terminal manages the widget application. Case 2 includes the following two sub-cases: 1) After the terminal obtains the service request type and the corresponding content information, the terminal prompts the user whether to process immediately.
  • the terminal receives the command sent by the user to process the widget application management, and then performs the Management of the widget application; 2) After the terminal prompts the user whether to process immediately, the user does not choose to immediately process the widget application management, but manually starts the widget application management afterwards, and the terminal receives the command of processing the widget application management issued by the user. After that, manage the widget application.
  • the terminal performs a network connection, according to the URL address of the widget application resource provided in the content information,
  • the widget application resource provides an installation resource package for downloading the widget application on the server, and then installs;
  • the terminal directly installs the installation resource package of the widget application.
  • the service request type is the uninstall type
  • the corresponding widget application is uninstalled according to the widget application identifier specified in the content
  • the service request type is the update type, and the corresponding content includes the above group 1
  • the terminal according to the widget in the content information
  • the network download address of the UDD file of the application downloading the UDD file of the widget application from the widget application resource providing server, downloading the update resource package of the widget application according to the URI address provided in the UDD file, and then installing
  • the service request The type is an update type, and the corresponding content includes the above group 2
  • the terminal downloads the update resource package of the widget application from the widget application resource providing server according to the URI address provided in the UDD file, and then installs
  • the service request type In order to update the type, and the corresponding content includes the above group 3)
  • the terminal directly installs the update resource package of the widget application;
  • the service request network transmission is performed by using the Wireless Application Protocol (WAP) push protocol as an example, and the terminal in this embodiment already has the support capability for the widget service.
  • the remote server in this embodiment includes a remote service initiation module 101 and a service transmission module 102.
  • the terminal widget engine includes a service request parsing module 104, a user confirmation module 105, and a function execution module 106.
  • the remote server and the terminal The transmission is performed through the network transmission protocol 103 (the WAP push protocol in this application example).
  • the method of the application example includes: Step 101: A remote service initiating module of the remote server generates a widget application management service request, and packages the widget application management service request into a push message data packet that can be transmitted through the network, and sends the push message data packet to the Service transmission module
  • the widget application management service request includes a service request type.
  • Step 104 The user confirmation module prompts the user whether to process immediately. If the user confirms that the processing is immediate, the step 105 is performed according to the obtained service request type and the corresponding specific content. If the user confirms the postponement processing, the push message is saved on the terminal. For later use, the remote management process is ended. After the push message is saved on the terminal, when the user wants to install or uninstall or update, the push message may be triggered to be installed or uninstalled or updated. There are other ways of processing in other embodiments, for example, if the user confirms the deferred processing, the terminal deletes the push message.
  • Step 105 The function execution module starts the function execution process according to the specific service request type indicated by the push message and the corresponding content.
  • Step 201 The widget engine starts a function execution module, and determines a service request type. If the service request type is a network widget package, the execution is performed. Step 202, if the service request type is to uninstall a widget application on the terminal, step 203 is performed, if the service request type is to update the version of a widget application on the terminal, step 204 is performed; Step 202, start the installation process, perform step 205; Step 203, start the uninstallation process, execute step 210; Step 204, start the update process, perform step 216; Step 205, determine whether the URL corresponding to the installation type in the push message content is obtained.
  • Step 206 access the URL network address, download the installation resource package of the widget application to be installed;
  • Step 207 save the downloaded widget application installation resource package in Step 208:
  • the terminal pop-up interface prompts the user to select whether to immediately install the downloaded resource application installation resource package, and if the user chooses to install immediately, step 209 is performed, if the user chooses not to install temporarily, After the process is completed, the function execution module installs the downloaded application package resource package. After the installation is complete, the process ends.
  • Step 210 Determine whether the widget application corresponding to the uninstall type corresponding to the uninstall type is obtained in the push message content.
  • Step 211 Determine whether the same identified widget application has been installed on the terminal. If yes, go to step 212. If no, the widget is not installed yet. End the process. In this step, The widget engine queries whether the ID number of the widget application is already in the terminal's installed widget management list. If yes, the widget has been installed. Step 212: Determine whether the widget application is running. If yes, execute step 213, and then perform step 214.
  • Step 214 If no, execute step 214; Step 213, close the running window of the widget application; Step 214, apply from the widget Clearing the information of the widget application in the management list; Step 215, deleting all related files generated on the terminal during the installation and use of the widget application, and after the deletion is completed, the process ends; Step 216, the function execution module starts the UDD file acquisition process; Step 217, downloading the URL address of the new version of the widget application update resource package according to the network interaction obtained UDD file, downloading the widget application update resource package; Step 218, the newly downloaded widget The application update resource package is saved to the corresponding file directory of the terminal; Step 219, the terminal pop-up interface prompts the user for the user to select whether to immediately install the new version of the widget application that has just been downloaded, and if the user chooses to install immediately, step 220 is performed, if the user selects If not installed, the process ends.
  • Step 220 The function execution module starts the installation process of the new version of the widget application. After the installation is completed, the process ends.
  • the server implements remote management of the terminal client widget application.
  • the method for remotely managing a widget proposed by the embodiment of the present invention can greatly promote the rapid deployment of the widget service, promote the promotion and use of the widget application, and enrich the terminal user experience.
  • Embodiment 2 A system for implementing widget application management, as shown in FIG. 1 , includes a remote server and a terminal supporting a widget service, where: the remote server is configured to: initiate a widget application management service request to the terminal, and apply the widget management service to the widget.
  • the request is packaged into a notification message data packet, and the notification message data packet is transmitted to the terminal through a network, where the widget application management service request includes service request type information and corresponding content information; and the terminal is configured to: receive and analyze the The notification message data packet is obtained, and the service request type and the corresponding content information are obtained; and when the widget application is managed, the corresponding management processing flow is started according to the parsed service request type and the corresponding content information.
  • a remote server that implements widget application management, including a remote service initiation module and a service transmission module
  • the remote service initiation module is configured to: initiate a widget application management service request to a terminal supporting the widget service, and the widget application management service request The service request type information and the corresponding content information are included
  • the service transmission module is configured to: package the widget application management service request into a notification message data packet, and transmit the notification message data packet to the terminal through a network.
  • a terminal for implementing widget application management including a service request parsing module and a function execution module, wherein: the service request parsing module is configured to: receive and parse the notification message data packet, and obtain a service request type and corresponding content information therein As long as it is an application with notification message parsing capabilities, it can be used as a carrier for this module, such as a Short Message (SMS) application on the terminal, a BROWSER application, or a widget engine software.
  • SMS Short Message
  • the function execution module is configured to: when managing the widget application, start a corresponding management process according to the service request type and the corresponding content information obtained by the parsing.
  • the function execution module performs a corresponding management processing operation according to the type and content acquired by the service request parsing module.
  • the terminal client further includes a user confirmation module, and the user confirmation module is configured to: trigger the function execution module after receiving a command sent by the user to process the widget application management.
  • the user confirmation module is further configured to: prompt the user to select whether to directly process the widget application management on the terminal interface in a suitable form.
  • the function execution module is configured to start a corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: the service request type acquired by the service request parsing module is installed, and The obtained content information includes description information of the widget application to be installed, and when the URL address of the widget application resource is provided, downloading the widget application from the widget application resource providing server according to the URL address of the widget application in the content information.
  • the function execution module is set to the type of service request obtained according to the parsing as follows
  • the corresponding management process is started: when the service request type obtained by the service request parsing module is installed, and the acquired content information includes an installation resource package of the widget application to be installed, installing the widget application
  • the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: the service request type obtained by the service request parsing module is uninstalled, And the obtained content information includes an identifier of the widget application that is required to be uninstalled, and the corresponding widget application is uninstalled according to the identifier of the widget application in the content information; or the function execution module is configured to be based on the parsed service according to the following manner.
  • the request type and the corresponding content information are started, and the corresponding management process is started: the service request type obtained by the service request parsing module is updated, and the acquired content information includes update description information of the widget application that needs to be updated, and the widget application.
  • UDD file Downloading according to the network download address of the UDD file in the content information, downloading the UDD file of the widget application from the widget application resource providing server, and downloading the widget application according to the URI address provided in the UDD file.
  • the function execution module is configured to start the corresponding management process flow according to the service request type and the corresponding content information obtained by the parsing as follows: the service acquired by the service request parsing module When the request type is update, and the acquired content information includes the UDD file of the widget application to be updated, the update resource package of the widget application is downloaded from the widget application resource providing server according to the URI address provided in the UDD file, and then installed; Or the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: when the service request type acquired by the service request parsing module is updated, and acquired Content information includes When resources update package, install the update package to the widget application resource update of widget applications.
  • the function execution module is further configured to: determine whether the widget application is running, if Yes, uninstall the widget application and then uninstall it. If not, uninstall the widget application.
  • each module in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module.
  • the invention is not limited to any specific form of combination of hardware and software. It is a matter of course that the invention may be embodied in various other forms and modifications without departing from the spirit and scope of the invention.
  • the present invention solves the problem of remote management of a widget application on a terminal, and provides a remote management method of a widget server to a widget client, which can promote the rapid deployment of the widget service, promote the promotion and use of the widget application, and enrich the terminal user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a method, system, remote server, and terminal for widget application management, wherein the method comprises the following steps: the server initiates a widget application management service request to the terminal, packs the widget application management service request into a notification message data packet, and transmits the notification message data packet to the terminal through a network, wherein the widget application management service request includes service request type information and corresponding content information; the terminal receives and parses the notification message data packet so as to obtain the service request type information and the corresponding content information in the notification message data packet; when performing management on the widget application, the terminal starts a corresponding management processing flow on the basis of the parsed service request type information and corresponding content information. The present invention solves the problem of how to realize the remotely management of the widget application on the terminal and can promote the rapid deployment of the widget service.

Description

一种 widget应用管理方法和系统  Widget application management method and system
技术领域 本发明涉及移动互联网领域,具体涉及一种 widget应用管理方法、系统、 远程服务器以及终端。 The present invention relates to the field of mobile internet, and in particular, to a widget application management method, system, remote server, and terminal.
背景技术 微技 ( Widget )是轻量级的 Web应用程序, 基于 Web技术开发, 用于 定制 Internet服务。用户可以制作或者下载 widget应用放到个人电脑( Personal Computer, PC )桌面、 网页或手机等终端上, 它们能够像本地应用那样运行。 用户可以不必受限于界面大小, 即可实现通过移动互联网浏览个性化页面, 享受个性化的移动互联网服务。 典型的 widget有时钟、 天气预报、 股票、 音乐播放器, 以及可以访问终 端设备信息和网络服务能力的高级应用等等。 随着 widget标准化的推广, 其 发展空间必将更加开阔, 已经有越来越多的移动运营商开始重视这项业务。 widget可能被应用到诸多主流软件里 ,也许会成为未来互联网广告的新载体。 但是, widget在移动互联网领域处于刚开始发展阶段, 很多相关的功能 还不够完善, 因此存在一些很有意义但还未解决的问题, 例如: 对终端上的 widget应用如何进行远程的管理, 实现远程安装, 远程卸载, 以及远程更新 等等功能, 就是一个典型的问题。 现有技术中, widget应用的功能管理, 釆用的方法是先将 widget应用资 源包部署到终端(可以从网络下载,也可以利用通用串行总线( Universal Serial Bus, USB )数据线或安全数字 (Secure Digital, SD )卡导入) , 然后使用 终端上带有的 widget引擎软件对 widget应用进行安装,在需要的时候,再由 用户在终端上选择卸载或更新, 由 widget引擎软件来完成相应的操作。 BACKGROUND OF THE INVENTION Widgets are lightweight web applications developed based on Web technologies for customizing Internet services. Users can create or download widget applications on a personal computer (PC) desktop, web page or mobile phone, etc. They can run like a local application. Users can browse personalized pages via the mobile Internet without having to be limited by the size of the interface, and enjoy personalized mobile Internet services. Typical widgets include clocks, weather forecasts, stocks, music players, and advanced applications that have access to terminal device information and network services. With the promotion of widget standardization, its development space will be more open, and more and more mobile operators have begun to pay attention to this service. Widgets may be applied to many mainstream software and may become the new carrier of future Internet advertising. However, widgets are in the early stage of development in the mobile Internet field, and many related functions are not perfect. Therefore, there are some interesting but unresolved issues, such as: How to remotely manage the widget application on the terminal, realize remote Installation, remote uninstallation, and remote updates are just a few of the typical problems. In the prior art, the function management of the widget application is to first deploy the widget application resource package to the terminal (can be downloaded from the network, or can use a universal serial bus (USB) data line or a secure digital number. (Secure Digital, SD) card import), and then use the widget engine software on the terminal to install the widget application. When needed, the user selects uninstall or update on the terminal, and the widget engine software completes the corresponding operating.
发明内容 本发明的目的是提供一种 widget应用管理方法、 系统、 远程服务器以及 终端, 以解决如何实现服务器对终端 widget应用的远程管理的问题。 为解决上述技术问题, 本发明提供了一种微技 ( widget )应用管理方法, 所述方法包括: 服务器对终端发起 widget应用管理服务请求,并将所述 widget应用管理 服务请求打包成通知消息数据包, 将所述通知消息数据包通过网络传输到终 端,所述 widget应用管理服务请求中包含服务请求类型信息和对应的内容信 息; Summary of the invention It is an object of the present invention to provide a widget application management method, system, remote server, and terminal to solve the problem of how to implement remote management of a terminal widget application by a server. To solve the above technical problem, the present invention provides a widget application management method, the method comprising: a server initiating a widget application management service request to a terminal, and packaging the widget application management service request into notification message data. a packet, the notification message data packet is transmitted to the terminal through a network, where the widget application management service request includes service request type information and corresponding content information;
所述终端接收并解析所述通知消息数据包, 获取其中的服务请求类型和 对应的内容信息; 以及 所述终端在对 widget应用进行管理时,根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程。 上述方法中, 所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的描述信息, 以及提供该 widget 应用资源的统一资源定位符(URL )地址; 以及 所述终端根据解析得到的所述服务请求类型和对应的内容信息, 启动相 应的管理处理流程的步骤包括: 所述终端根据所述内容信息中的该 widget应 用的 URL地址, 从 widget应用资源提供服务器上下载该 widget应用的安装 资源包, 然后进行安装; 或者  The terminal receives and parses the notification message data packet, and obtains a service request type and corresponding content information therein; and when the terminal manages the widget application, the service request type and corresponding content obtained according to the parsing Information, start the corresponding management process. In the above method, when the service request type included in the widget application management service request is installed, the content information corresponding to the type includes: description information of the widget application to be installed, and a uniform resource locator (URL) providing the widget application resource. And the step of starting, by the terminal, the corresponding management process flow according to the parsed service request type and the corresponding content information, including: the terminal according to the URL address of the widget application in the content information, The widget application resource provides an installation resource package for downloading the widget application on the server, and then installs; or
所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的安装资源包; 以及 所述终端启动相应的管理处理流程的步骤包括: 终端安装该 widget应用 的安装资源包。 上述方法中, 所述 widget应用管理服务请求包含的服务请求类型为卸载时,该类型对 应的内容信息包括: 要求卸载的 widget应用的标识; 以及 所述终端根据解析得到的所述具体服务请求类型和对应的内容信息, 启 动相应的管理处理流程的步骤包括: 所述终端根据所述内容信息中的 widget 应用的标识 , 卸载相应的 widget应用。 上述方法中, 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新描述信息, 以及该 widget 应用的更新描述文档 (UDD )文件的网络下载地址; 以及 所述终端根据解析得到的所述服务请求类型和对应的内容信息, 启动相 应的管理处理流程的步骤包括: 所述终端根据所述内容信息中的 UDD文件 的网络下载地址,从 widget应用资源提供服务器上下载该 widget应用的 UDD 文件,再根据 UDD文件中提供的统一资源标志符(URI )地址,下载该 widget 应用的更新资源包, 然后进行安装; 或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的 UDD文件; 以及 所述终端根据解析得到的所述服务请求类型和对应的内容信息, 启动相 应的管理处理流程的步骤包括:所述终端根据 UDD文件中提供的 URI地址, 从 widget应用资源提供服务器上下载该 widget应用的更新资源包,然后进行 安装; 或者 When the service request type included in the widget application management service request is installed, the content information corresponding to the type includes: an installation resource package of the widget application to be installed; and the step of the terminal starting the corresponding management processing flow includes: terminal installation The installation resource package for the widget application. In the above method, When the service request type of the widget application management service request is unloaded, the content information corresponding to the type includes: an identifier of the widget application that is required to be uninstalled; and the specific service request type and corresponding content obtained by the terminal according to the parsing The step of initiating the corresponding management process includes: the terminal uninstalling the corresponding widget application according to the identifier of the widget application in the content information. In the above method, when the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: update description information of the widget application to be updated, and an update description document (UDD) file of the widget application. And the step of starting the corresponding management process according to the service request type and the corresponding content information obtained by the terminal according to the parsing: the terminal downloading the address according to the UDD file in the content information Downloading the UDD file of the widget application from the widget application resource providing server, downloading the update resource package of the widget application according to the Uniform Resource Identifier (URI) address provided in the UDD file, and then installing; or the widget application When the service request type included in the management service request is an update, the content information corresponding to the type includes: a UDD file of the widget application to be updated; and the terminal starts the corresponding according to the service request type and the corresponding content information obtained by the parsing Steps to manage the process Comprising: the address of the terminal according to the URI UDD provided in the document, the widget application download server on the widget application updates the resource from the resource package and install; or
所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新资源包; 以及 所述终端启动相应的管理处理流程的步骤包括: 终端安装该 widget应用 的更新资源包。  When the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: an update resource package of the widget application that needs to be updated; and the step of the terminal starting the corresponding management process flow includes: terminal installation The update resource package for the widget application.
上述方法中, 所述 widget应用管理服务请求包含的服务请求类型有一个或多个。 上述方法中, 所述终端在获取服务请求类型和对应的内容信息后,对 widget应用进行 管理的步骤包括: 终端自动对 widget应用进行管理; 或者 终端在接收到用户发出的处理 widget应用管理的命令后, 终端对 widget 应用进行管理。 为解决上述技术问题, 本发明还提供了一种微技(widget )应用管理系 统, 所述系统包括远程服务器和支持 widget业务的终端, 其中: 所述远程服务器设置为: 向终端发起 widget应用管理服务请求, 并将所 述 widget应用管理服务请求打包成通知消息数据包,将所述通知消息数据包 通过网络传输到终端,所述 widget应用管理服务请求中包含服务请求类型信 息和对应的内容信息; 所述终端设置为: 接收并解析所述通知消息数据包, 获取其中的服务请 求类型和对应的内容信息; 以及在对 widget应用进行管理时, 根据解析得到 的所述服务请求类型和对应的内容信息, 启动相应的管理处理流程。 为解决上述技术问题, 本发明害提供了一种实现微技(widget )应用管 理的远程服务器, 所述远程服务器包括远程服务发起模块和服务传输模块, 其中: 所述远程服务发起模块设置为: 向支持 widget 业务的终端发起 widget 应用管理服务请求, 所述 widget应用管理服务请求中包含服务请求类型信息 和对应的内容信息; 所述服务传输模块设置为: 将所述 widget应用管理服务请求打包成通知 消息数据包, 并将所述通知消息数据包通过网络传输到所述终端。 上述远程服务器中, 所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的描述信息, 以及提供该 widget 应用资源的统一资源定位符(URL )地址; 或者 所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的安装资源包; 或者 所述 widget应用管理服务请求包含的服务请求类型为卸载时,该类型对 应的内容信息包括: 要求卸载的 widget应用的标识; 或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新描述信息, 以及该 widget 应用的更新描述文档 (UDD )文件的网络下载地址; 或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的 UDD文件; 或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新资源包。 为解决上述技术问题, 本发明还提供了一种实现微技(widget )应用管 理的终端, 所述终端包括: 服务请求解析模块和功能执行模块, 其中: 所述服务请求解析模块设置为: 接收并解析远程服务器向终端发起的封 装有 widget应用管理服务请求的通知消息数据包,获取所述通知消息数据包 中的服务请求类型和对应的内容信息; 所述功能执行模块设置为: 在对 widget应用进行管理时, 根据解析得到 的所述服务请求类型和对应的内容信息, 启动相应的管理处理流程。 所述终端还包括: 用户确认模块, 其设置为: 在接收到用户发出的处理 widget应用管理的 命令后触发所述功能执行模块。 上述终端中, 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为安装,且获取的内容信息包括需要安装的 widget应用 的描述信息, 以及提供该 widget应用资源的统一资源定位符( URL )地址时, 根据所述内容信息中的该 widget应用的 URL地址, 从 widget应用资源提供 服务器上下载该 widget应用的安装资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为安装,且获取的内容信息包括需要安装的 widget应用 的安装资源包时, 安装该 widget应用的安装资源包; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为卸载,且获取的内容信息包括要求卸载的 widget应用 的标识时, 根据所述内容信息中的 widget应用的标识, 卸载相应的 widget 应用; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为更新,且获取的内容信息包括需要更新的 widget应用 的更新描述信息, 以及该 widget应用的更新描述文档(UDD )文件的网络下 载地址时, 根据所述内容信息中的 UDD文件的网络下载地址, 从 widget应 用资源提供服务器上下载该 widget应用的 UDD文件, 再根据 UDD文件中 提供的 URI地址, 下载该 widget应用的更新资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为更新,且获取的内容信息包括需要更新的 widget应用 的 UDD文件时, 根据 UDD文件中提供的 URI地址, 从 widget应用资源提 供服务器上下载该 widget应用的更新资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为更新时,且获取的内容信息包括需要更新的 widget应 用的更新资源包时, 安装该 widget应用的更新资源包。 In the above method, The widget application management service request includes one or more service request types. In the above method, after the terminal obtains the service request type and the corresponding content information, the step of managing the widget application includes: the terminal automatically manages the widget application; or the terminal receives the command sent by the user to process the widget application management. After that, the terminal manages the widget application. In order to solve the above technical problem, the present invention further provides a widget application management system, where the system includes a remote server and a terminal supporting the widget service, wherein: the remote server is configured to: initiate widget application management to the terminal. Serving the request, and packaging the widget application management service request into a notification message data packet, and transmitting the notification message data packet to the terminal by using a network, where the widget application management service request includes the service request type information and the corresponding content information. The terminal is configured to: receive and parse the notification message data packet, obtain a service request type and corresponding content information therein; and, when managing the widget application, according to the parsed service request type and corresponding Content information, initiate the corresponding management process. In order to solve the above technical problem, the present invention provides a remote server that implements a widget application management, and the remote server includes a remote service initiation module and a service transmission module, where: the remote service initiation module is configured to: Initiating a widget application management service request to the terminal supporting the widget service, where the widget application management service request includes the service request type information and the corresponding content information; the service transmission module is configured to: package the widget application management service request into Notifying the message packet and transmitting the notification message packet to the terminal over the network. In the above remote server, when the service request type included in the widget application management service request is installed, the type pair The content information of the application includes: description information of the widget application to be installed, and a uniform resource locator (URL) address providing the widget application resource; or the widget application management service request includes a service request type that is installed, the type The corresponding content information includes: an installation resource package of the widget application to be installed; or the content of the service request included in the widget application management service request is unloaded, and the content information corresponding to the type includes: an identifier of the widget application that is required to be uninstalled; or When the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: update description information of the widget application that needs to be updated, and a network download address of the update description document (UDD) file of the widget application. Or when the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: a UDD file of the widget application that needs to be updated; or the service request type included in the widget application management service request is an update. When, The content information corresponding to the type includes: an update resource package of the widget application that needs to be updated. In order to solve the above technical problem, the present invention further provides a terminal for implementing a widget application management, the terminal comprising: a service request parsing module and a function execution module, where: the service request parsing module is configured to: receive And parsing the notification message data packet that is sent by the remote server to the terminal and encapsulating the application of the widget application management service, and acquiring the service request type and the corresponding content information in the notification message data packet; the function execution module is set to: in the widget When the application performs management, the corresponding management processing flow is started according to the service request type and the corresponding content information obtained by the parsing. The terminal further includes: a user confirmation module, configured to: trigger the function execution module after receiving a command sent by the user to process the widget application management. In the above terminal, the function execution module is configured to start a corresponding management process according to the service request type and corresponding content information obtained by parsing in the following manner: in the service request parsing module The obtained service request type is installed, and the acquired content information includes description information of the widget application to be installed, and a uniform resource locator (URL) address of the widget application resource, according to the widget application in the content information. URL address, downloading the installation resource package of the widget application from the widget application resource providing server, and then installing; or the function execution module is set to the service request type and corresponding content information obtained according to the parsing as follows The corresponding management process is started: when the service request type obtained by the service request parsing module is installed, and the acquired content information includes an installation resource package of the widget application to be installed, install the installation resource package of the widget application; or The function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: the service request type acquired by the service request parsing module is uninstalled, and acquired Content information including requirements When the identifier of the widget application is loaded, the corresponding widget application is uninstalled according to the identifier of the widget application in the content information; or the function execution module is set to the service request type and corresponding according to the parsing according to the following manner. The content information, the corresponding management process is started: the service request type acquired by the service request parsing module is an update, and the acquired content information includes update description information of the widget application that needs to be updated, and an update description document of the widget application ( When the network download address of the UDD file is downloaded, the UDD file of the widget application is downloaded from the widget application resource providing server according to the network download address of the UDD file in the content information, and then downloaded according to the URI address provided in the UDD file. And updating the resource package of the widget application, and then performing the installation; or the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: The service request class obtained by the parsing module When the type information is updated, and the acquired content information includes the UDD file of the widget application to be updated, the update resource package of the widget application is downloaded from the widget application resource providing server according to the URI address provided in the UDD file, and then installed; or The function execution module is configured to start a corresponding management process according to the service request type and corresponding content information obtained by parsing in the following manner: when the service request type acquired by the service request parsing module is updated, and The content information obtained includes the widgets that need to be updated. When updating the resource bundle, install the update resource bundle for the widget application.
与现有技术相比, 本发明解决了终端上 widget应用的远程管理问题, 提 供了 widget服务器对 widget客户端的远程管理方法, 可以推动 widget业务 的迅速部署, 促进 widget应用的推广使用, 并且丰富了终端用户体验。 Compared with the prior art, the present invention solves the remote management problem of the widget application on the terminal, and provides the remote management method of the widget client to the widget client, which can promote the rapid deployment of the widget service, promote the promotion and use of the widget application, and enrich the End user experience.
附图概述 图 1是本发明应用示例的系统中各子模块关系图; BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing relationship between sub-modules in a system according to an application example of the present invention;
图 2是本发明应用示例的各子模块执行的流程图; 图 3是本发明实施例的远程管理 widget应用的方法的流程图。  2 is a flowchart of execution of each sub-module of an application example of the present invention; FIG. 3 is a flowchart of a method for remotely managing a widget application according to an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
目前 widget 国际标准有万维网联盟 (World Wide Web Consortium, W3C ) 、 联合创新实验室 (Joint Innovation Lab, JIL ) 、 BONDL 以及大规 模应用社区 ( Wholesale Applications Community , WAC )等, 这些标准尚未 对 widget的远程管理和处理流程等做出具体定义。为了推动 widget业务的广 泛部署和 widget应用在终端上的普及, 本发明提供了一种远程管理 widget 应用的方法,用以实现服务器端远程控制终端上安装、卸载、以及更新 widget 应用等功能。 为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。 实施例 1 本实施例所述远程管理 widget应用的方法的流程图如图 3所示, 包括以 下步骤: 第一步: 服务器向终端发起 widget应用管理服务请求, 并将该请求打包 成可以通过网络传输的通知消息数据包; 服务器侧根据与终端使用的网络传输协议确定通知消息数据包的格式, 釆用该格式的通知消息数据包即为可以通过网络传输的数据包。 网络传输协 议可以是以下协议中的一种: 短消息服务(Short Message Service, SMS )协 议、推送( PUSH )协议、以及会话初始协议 ( Session Initiation Protocol , SIP )。 服务器侧何时发起请求可由运营商根据需要设定相应策略。 该 widget应用管理服务请求包括以下服务请求类型, 对应不同的类型, 该 widget应用管理服务请求中包含不同的内容信息: 安装类型,表示服务器要求终端安装某个 widget应用资源提供服务器上 提供的 widget应用的安装资源包; 对应的内容信息可包括以下信息的任意一 组: 1 )需要安装的 widget应用资源的描述信息 (例如可包括以下信息中的 一种或几种: 应用名称、 作者、 发布时间、 以及功能介绍等) , 以及提供该 widget应用资源的统一资源定位符 ( Uniform Resource Location, URL )地址; 携带描述信息的目的在于让用户了解该 widget应用的基本情况,供用户决策 是否安装该 widget应用, 如果未提供用户决策功能, 则也可不携带该描述信 息; 2 )需要安装的 widget应用的安装资源包。 卸载类型, 表示服务器要求终端卸载某个已经安装过的 widget应用; 对 应的内容信息包括: 要求卸载的 widget应用的标识。 更新类型,表示服务器要求终端更新某个已经安装过的 widget应用的资 源版本; 对应的内容信息可包括以下信息的任意一组: 1 )需要更新的 widget 应用的更新描述信息 (例如可包括以下信息中的一种或几种: 应用名称、 作 者、 发布时间、 版本号、 以及新增功能介绍等) , 以及该 widget应用的更新 描述文档(Update Description Document, UDD )文件的网络下载地址; 携带 更新描述信息的目的在于让用户了解新版本 widget应用的情况,供用户决策 是否更新该 widget应用, 如果未提供用户决策功能, 则也可不携带该更新描 述信息; 2 )需要更新的 widget应用的 UDD文件; 3 )需要更新的 widget应 用的更新资源包。 优选地,服务器在一条 widget应用管理服务请求中携带一种服务请求类 型, 但也不排除携带两种以上服务请求类型的情况, 例如可同时要求终端安 装 widget应用 A、 卸载 widget应用 B、 更新 widget应用 C。 Currently, the Widget international standards include the World Wide Web Consortium (W3C), the Joint Innovation Lab (JIL), the BONDL, and the Wholesale Applications Community (WAC). These standards are not yet remote to widgets. Specific definitions such as management and processing processes. In order to promote the widespread deployment of the widget service and the popularity of the widget application on the terminal, the present invention provides a method for remotely managing a widget application, which implements functions such as installing, uninstalling, and updating a widget application on a server-side remote control terminal. In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other. Embodiment 1 The flowchart of the method for remotely managing a widget application according to this embodiment is as shown in FIG. 3, and includes the following steps: Step 1: The server initiates a widget application management service request to the terminal, and packages the request. The notification message data packet that can be transmitted through the network; the server side determines the format of the notification message data packet according to the network transmission protocol used by the terminal, and the notification message data packet in the format is the data packet that can be transmitted through the network. The network transmission protocol may be one of the following protocols: Short Message Service (SMS) protocol, Push (PUSH) protocol, and Session Initiation Protocol (SIP). When the server side initiates a request, the operator can set a corresponding policy as needed. The widget application management service request includes the following service request types, corresponding to different types, and the widget application management service request includes different content information: an installation type, indicating that the server requires the terminal to install a widget application provided by a widget application resource providing server. The installation resource package; the corresponding content information may include any one of the following information: 1) description information of the widget application resource to be installed (for example, one or several of the following information may be included: application name, author, publishing time) And a function introduction, etc., and a Uniform Resource Location (URL) address providing the widget application resource; the purpose of carrying the description information is to let the user know the basic situation of the widget application, and the user can decide whether to install the widget. Application, if the user decision function is not provided, the description information may not be carried; 2) The installation resource package of the widget application to be installed. The uninstall type indicates that the server requires the terminal to uninstall an already installed widget application; the corresponding content information includes: an identifier of the widget application that is required to be uninstalled. The update type indicates that the server requires the terminal to update the resource version of an already installed widget application; the corresponding content information may include any one of the following information: 1) update description information of the widget application that needs to be updated (for example, the following information may be included) One or more of the following: application name, author, release time, version number, and new function introduction, etc., and the network download address of the Update Description Document (UDD) file of the widget application; The purpose of the description information is to let the user know the situation of the new version of the widget application, for the user to decide whether to update the widget application, and if the user decision function is not provided, the update description information may not be carried; 2) the UDD file of the widget application that needs to be updated ; 3) Update resource package for the updated widget application. Preferably, the server carries a service request class in a widget application management service request Type, but it is not excluded to carry more than two types of service requests. For example, the terminal may be required to install the widget application A, uninstall the widget application B, and update the widget application C.
第二步: 服务器将通知消息数据包通过与终端间的网络传输协议传输到 终端; 第三步: 终端接收并解析通知消息数据包, 获取其中的 widget应用管理 服务请求的服务请求类型和对应的内容信息;  Step 2: The server transmits the notification message data packet to the terminal through a network transmission protocol with the terminal; the third step: the terminal receives and parses the notification message data packet, and obtains the service request type of the widget application management service request and the corresponding Content information
第四步: 终端提示用户是否立即处理此次 widget应用管理, 如果用户选 择 "是" , 那么继续执行第五步, 如果用户选择 "否" , 那么结束整个处理 流程, 终端维持原来状态; 如果该 widget应用管理服务请求中携带多个类型,终端可针对每种类型 向用户提示, 也可以一次性询问用户是否处理。 或者在其他实施例中也可以 不询问用户, 默认为自动执行, 即不执行第四步。 第五步: 终端在对 widget应用进行管理时, 根据解析得到的服务请求类 型和对应的内容信息, 启动相应的管理处理流程。 终端在获取服务请求类型和对应的内容信息后, 在以下情况下进行 widget应用管理: 情况 1 : 终端自动进行对 widget应用的管理; 或者 情况 2: 终端在接收到用户发出的处理 widget应用管理的命令后, 终端 进行对 widget应用的管理。 情况 2中又包括以下两种子情况: 1 )终端在获取服务请求类型和对应的 内容信息后提示用户是否立即处理, 此时终端接收到用户发出的处理此次 widget应用管理的命令后, 进行对 widget应用的管理; 2 )终端在提示用户 是否立即处理后, 用户未选择立即处理此次 widget应用管理, 而是在之后手 动启动 widget应用管理,终端在接到用户发出的处理 widget应用管理的命令 后, 进行对 widget应用的管理。 如果服务请求类型为安装类型, 且对应的内容包括上述组 1 ) , 则终端 进行网络连接, 根据内容信息中提供的该 widget应用资源的 URL地址, 从 widget应用资源提供服务器上下载该 widget应用的安装资源包, 然后进行安 装; 如果服务请求类型为安装类型, 且对应的内容包括上述组 2 ) , 则终端 直接安装该 widget应用的安装资源包。 如果服务请求类型为卸载类型, 则根据内容中指定的 widget应用标识, 卸载相应的 widget应用; 如果服务请求类型为更新类型, 且对应的内容包括上述组 1 ) , 则终端 根据内容信息中的 widget应用的 UDD文件的网络下载地址, 从 widget应用 资源提供服务器上下载该 widget应用的 UDD文件, 再根据 UDD文件中提 供的 URI地址, 下载该 widget应用的更新资源包, 然后进行安装; 如果服务 请求类型为更新类型, 且对应的内容包括上述组 2 ) , 则终端根据 UDD文件 中提供的 URI地址, 从 widget应用资源提供服务器上下载该 widget应用的 更新资源包, 然后进行安装; 如果服务请求类型为更新类型, 且对应的内容 包括上述组 3 ) , 则终端直接安装该 widget应用的更新资源包; Step 4: The terminal prompts the user whether to immediately process the widget application management. If the user selects "Yes", then the fifth step is continued. If the user selects "No", the entire processing flow is ended, and the terminal maintains the original state; The widget application management service request carries multiple types, and the terminal can prompt the user for each type, or can query the user for processing at one time. Or in other embodiments, the user may not be queried, and the default is automatic execution, that is, the fourth step is not executed. Step 5: When the terminal manages the widget application, according to the parsed service request type and the corresponding content information, the corresponding management process is started. After obtaining the service request type and the corresponding content information, the terminal performs widget application management under the following conditions: Case 1: The terminal automatically performs management of the widget application; or Case 2: The terminal receives the processing application management sent by the user. After the command, the terminal manages the widget application. Case 2 includes the following two sub-cases: 1) After the terminal obtains the service request type and the corresponding content information, the terminal prompts the user whether to process immediately. At this time, the terminal receives the command sent by the user to process the widget application management, and then performs the Management of the widget application; 2) After the terminal prompts the user whether to process immediately, the user does not choose to immediately process the widget application management, but manually starts the widget application management afterwards, and the terminal receives the command of processing the widget application management issued by the user. After that, manage the widget application. If the service request type is an installation type, and the corresponding content includes the above group 1), the terminal performs a network connection, according to the URL address of the widget application resource provided in the content information, The widget application resource provides an installation resource package for downloading the widget application on the server, and then installs; if the service request type is an installation type, and the corresponding content includes the above group 2), the terminal directly installs the installation resource package of the widget application. If the service request type is the uninstall type, the corresponding widget application is uninstalled according to the widget application identifier specified in the content; if the service request type is the update type, and the corresponding content includes the above group 1), the terminal according to the widget in the content information The network download address of the UDD file of the application, downloading the UDD file of the widget application from the widget application resource providing server, downloading the update resource package of the widget application according to the URI address provided in the UDD file, and then installing; if the service request The type is an update type, and the corresponding content includes the above group 2), the terminal downloads the update resource package of the widget application from the widget application resource providing server according to the URI address provided in the UDD file, and then installs; if the service request type In order to update the type, and the corresponding content includes the above group 3), the terminal directly installs the update resource package of the widget application;
应用实例 1 下面结合附图对远程管理 widget应用的方法进行详细描述。 在应用实例中, 以釆用无线应用协议( Wireless Application Protocol , WAP ) push协议进行服务请求网络传输为例进行说明, 且本实施例中的终端 已经具备了对 widget业务的支持能力。 如图 1所示, 本实施例中的远程服务器包括远程服务发起模块 101和服 务传输模块 102, 终端 widget引擎包括服务请求解析模块 104、 用户确认模 块 105以及功能执行模块 106,远程服务器与终端之间通过网络传输协议 103 (本应用示例中为 WAP push协议)进行传输。 本应用实例的方法包括: 步骤 101 , 远程服务器的远程服务发起模块生成 widget应用管理服务请 求, 并将 widget应用管理服务请求打包成可以通过网络传输的 push消息数 据包, 将 push消息数据包发送至服务传输模块; 在本应用示例中, widget应用管理服务请求包括一种服务请求类型。 步骤 102, 服务传输模块将 push消息数据包以 WAP push协议发送至终 端; 在其他实施例中,也可以由服务传输模块负责将 widget应用管理服务请 求打包成 push消息数据包。 步骤 103 , 服务请求解析模块对接收到的 push消息数据包进行解析, 获 取 widget应用管理服务请求的具体信息, 包括类型以及相对应的内容信息; 具体地, 先对收到的 push消息进行解析, 读取 push消息的数据 ( Data ) 字段获取服务请求类型和对应的内容。 步骤 104 , 用户确认模块提示用户是否立即处理, 如果用户确认立即处 理, 那么根据获得的服务请求类型及对应的具体内容执行步骤 105 , 如果用 户确认推迟处理, 那么在终端上保存该条 push消息, 以备后用, 结束远程管 理流程; 在终端上保存该条 push消息后, 当用户想要进行安装或卸载或更新时, 可以由该条 push消息触发安装或卸载或更新。 在其他实施例中还有其他处理方式, 例如, 如果用户确认推迟处理, 则 终端删除该条 push消息。 步骤 105 , 功能执行模块根据 push消息指示的具体服务请求类型以及对 应的内容, 启动功能执行流程。 Application Example 1 The method of remotely managing a widget application will be described in detail below with reference to the accompanying drawings. In the application example, the service request network transmission is performed by using the Wireless Application Protocol (WAP) push protocol as an example, and the terminal in this embodiment already has the support capability for the widget service. As shown in FIG. 1 , the remote server in this embodiment includes a remote service initiation module 101 and a service transmission module 102. The terminal widget engine includes a service request parsing module 104, a user confirmation module 105, and a function execution module 106. The remote server and the terminal The transmission is performed through the network transmission protocol 103 (the WAP push protocol in this application example). The method of the application example includes: Step 101: A remote service initiating module of the remote server generates a widget application management service request, and packages the widget application management service request into a push message data packet that can be transmitted through the network, and sends the push message data packet to the Service transmission module In this application example, the widget application management service request includes a service request type. Step 102: The service transmission module sends the push message data packet to the terminal in a WAP push protocol. In other embodiments, the service transmission module may also be responsible for packaging the widget application management service request into a push message data packet. Step 103: The service request parsing module parses the received push message data packet, and obtains specific information of the widget application management service request, including the type and the corresponding content information. Specifically, the received push message is parsed first. The data (Data) field of the read push message obtains the service request type and corresponding content. Step 104: The user confirmation module prompts the user whether to process immediately. If the user confirms that the processing is immediate, the step 105 is performed according to the obtained service request type and the corresponding specific content. If the user confirms the postponement processing, the push message is saved on the terminal. For later use, the remote management process is ended. After the push message is saved on the terminal, when the user wants to install or uninstall or update, the push message may be triggered to be installed or uninstalled or updated. There are other ways of processing in other embodiments, for example, if the user confirms the deferred processing, the terminal deletes the push message. Step 105: The function execution module starts the function execution process according to the specific service request type indicated by the push message and the corresponding content.
应用实例 2 本应用实例的各子模块执行的流程如图 2所示, 包括以下步骤: 步骤 201 , widget引擎启动功能执行模块, 判断服务请求类型, 若服务 请求类型是安装网络 widget包, 则执行步骤 202 , 若服务请求类型是卸载终 端上某个 widget应用, 则执行步骤 203 , 若服务请求类型是更新终端上某个 widget应用的版本, 则执行步骤 204; 步骤 202, 开始安装流程, 执行步骤 205; 步骤 203 , 开始卸载流程, 执行步骤 210; 步骤 204, 开始更新流程, 执行步骤 216; 步骤 205 , 判断是否获取到 push消息内容中与安装类型对应的 URL地 址, 如果是, 执行步骤 206 , 如果否, 则结束本流程; 步骤 206,访问该 URL网络地址, 下载需要安装的 widget应用的安装资 源包; 步骤 207 ,将下载的 widget应用安装资源包保存在终端相应文件目录下; 步骤 208 , 终端弹出界面提示用户, 供用户选择是否立即安装刚下载完 的 widget应用安装资源包, 如果用户选择立即安装, 则执行步骤 209 , 如果 用户选择暂时不安装, 则结束本流程; 步骤 209 , 功能执行模块安装刚下载完的 widget应用安装资源包, 安装 完毕后, 本流程结束; 步骤 210, 判断是否获取到 push消息内容中与卸载类型对应的需要卸载 的 widget应用的 ID号, 如果是, 执行步骤 211 , 如果否, 则结束本流程; 步骤 211 , 判断同样标识的 widget应用是否在此终端上已安装过, 如果 是, 执行步骤 212, 如果否, 说明该 widget尚未被安装, 结束本流程; 本步骤中, 可由 widget引擎查询该 widget应用的 ID号是否已经位于终 端已安装 widget管理列表之中, 如果是, 说明该 widget已经安装过了。 步骤 212, 判断该 widget应用是否正在运行, 如果是, 则执行步骤 213 , 然后再执行步骤 214 , 如果否, 则执行步骤 214; 步骤 213 , 关闭该 widget应用的运行窗口; 步骤 214, 从 widget应用管理列表中清除该 widget应用的信息; 步骤 215 , 删除该 widget应用安装使用过程中在终端上产生的所有相关 文件, 删除完毕后, 本流程结束; 步骤 216, 功能执行模块启动 UDD文件获取流程; 步骤 217 , 根据网络交互得到的 UDD文件中下载新版本 widget应用更 新资源包的 URL地址, 下载 widget应用更新资源包; 步骤 218 , 将新下载的 widget应用更新资源包保存到终端相应文件目录 下; 步骤 219 , 终端弹出界面提示用户, 供用户选择是否立即安装刚下载完 的新版本 widget应用, 如果用户选择立即安装, 则执行步骤 220, 如果用户 选择暂时不安装, 则结束本流程; 步骤 220 , 功能执行模块启动新版本 widget应用的安装流程, 安装完毕 后, 本流程结束。 通过上述步骤, 服务器实现了对终端客户端 widget应用的远程管理。 本发明实施例提出的这种远程管理 widget 的方法, 可以极大的推动 widget业务的迅速部署, 促进 widget应用的推广使用, 并且很好的丰富了终 端用户体验。 Application Example 2 The flow of execution of each sub-module of the application example is as shown in FIG. 2, and includes the following steps: Step 201: The widget engine starts a function execution module, and determines a service request type. If the service request type is a network widget package, the execution is performed. Step 202, if the service request type is to uninstall a widget application on the terminal, step 203 is performed, if the service request type is to update the version of a widget application on the terminal, step 204 is performed; Step 202, start the installation process, perform step 205; Step 203, start the uninstallation process, execute step 210; Step 204, start the update process, perform step 216; Step 205, determine whether the URL corresponding to the installation type in the push message content is obtained. If yes, go to step 206, if no, end the process; Step 206, access the URL network address, download the installation resource package of the widget application to be installed; Step 207, save the downloaded widget application installation resource package in Step 208: The terminal pop-up interface prompts the user to select whether to immediately install the downloaded resource application installation resource package, and if the user chooses to install immediately, step 209 is performed, if the user chooses not to install temporarily, After the process is completed, the function execution module installs the downloaded application package resource package. After the installation is complete, the process ends. Step 210: Determine whether the widget application corresponding to the uninstall type corresponding to the uninstall type is obtained in the push message content. ID number, if yes, go to step 211, if Step 211: Determine whether the same identified widget application has been installed on the terminal. If yes, go to step 212. If no, the widget is not installed yet. End the process. In this step, The widget engine queries whether the ID number of the widget application is already in the terminal's installed widget management list. If yes, the widget has been installed. Step 212: Determine whether the widget application is running. If yes, execute step 213, and then perform step 214. If no, execute step 214; Step 213, close the running window of the widget application; Step 214, apply from the widget Clearing the information of the widget application in the management list; Step 215, deleting all related files generated on the terminal during the installation and use of the widget application, and after the deletion is completed, the process ends; Step 216, the function execution module starts the UDD file acquisition process; Step 217, downloading the URL address of the new version of the widget application update resource package according to the network interaction obtained UDD file, downloading the widget application update resource package; Step 218, the newly downloaded widget The application update resource package is saved to the corresponding file directory of the terminal; Step 219, the terminal pop-up interface prompts the user for the user to select whether to immediately install the new version of the widget application that has just been downloaded, and if the user chooses to install immediately, step 220 is performed, if the user selects If not installed, the process ends. Step 220: The function execution module starts the installation process of the new version of the widget application. After the installation is completed, the process ends. Through the above steps, the server implements remote management of the terminal client widget application. The method for remotely managing a widget proposed by the embodiment of the present invention can greatly promote the rapid deployment of the widget service, promote the promotion and use of the widget application, and enrich the terminal user experience.
实施例 2 实现 widget应用管理的系统如图 1所示, 包括远程服务器和支持 widget 业务的终端, 其中: 所述远程服务器设置为: 向终端发起 widget应用管理服务请求, 并将该 widget应用管理服务请求打包成通知消息数据包, 将所述通知消息数据包通 过网络传输到终端, 所述 widget应用管理服务请求中包含服务请求类型信息 和对应的内容信息; 所述终端设置为: 接收并解析所述通知消息数据包, 获取其中的服务请 求类型和对应的内容信息; 以及在对 widget应用进行管理时, 根据解析得到 的服务请求类型和对应的内容信息, 启动相应的管理处理流程。 其中: •实现 widget应用管理的远程服务器, 包括远程服务发起模块和服务传 输模块, 其中: 所述远程服务发起模块设置为: 对支持 widget 业务的终端发起 widget 应用管理服务请求, 所述 widget应用管理服务请求中包含服务请求类型信息 和对应的内容信息; 所述服务传输模块设置为: 将该 widget应用管理服务请求打包成通知消 息数据包, 并将所述通知消息数据包通过网络传输到该终端。 Embodiment 2 A system for implementing widget application management, as shown in FIG. 1 , includes a remote server and a terminal supporting a widget service, where: the remote server is configured to: initiate a widget application management service request to the terminal, and apply the widget management service to the widget. The request is packaged into a notification message data packet, and the notification message data packet is transmitted to the terminal through a network, where the widget application management service request includes service request type information and corresponding content information; and the terminal is configured to: receive and analyze the The notification message data packet is obtained, and the service request type and the corresponding content information are obtained; and when the widget application is managed, the corresponding management processing flow is started according to the parsed service request type and the corresponding content information. among them: a remote server that implements widget application management, including a remote service initiation module and a service transmission module, wherein: the remote service initiation module is configured to: initiate a widget application management service request to a terminal supporting the widget service, and the widget application management service request The service request type information and the corresponding content information are included; the service transmission module is configured to: package the widget application management service request into a notification message data packet, and transmit the notification message data packet to the terminal through a network.
•实现 widget应用管理的终端,包括服务请求解析模块和功能执行模块, 其中: 所述服务请求解析模块设置为: 接收并解析所述通知消息数据包, 获取 其中的服务请求类型和对应的内容信息; 只要是具备通知消息解析能力的应 用, 都可以作为本模块的载体, 例如终端上的短消息(Short Message, SMS ) 应用程序、 浏览器(BROWSER )应用程序、 或者 widget引擎软件等等。 所述功能执行模块设置为: 在对 widget应用进行管理时, 根据解析得到 的服务请求类型和对应的内容信息, 启动相应的管理处理流程。 所述功能执 行模块根据所述服务请求解析模块获取到的类型和内容进行相应的管理处理 操作, 具体操作可参见方法部分描述, 此处不再赘述。 优选地,所述终端客户端还包括用户确认模块,该用户确认模块设置为: 在接收到用户发出的处理 widget应用管理的命令后触发所述功能执行模块。 优选地, 该用户确认模块还设置为: 以合适的形式在终端界面上提示用户选 择是否立即处理 widget应用管理。 优选地, 所述功能执行模块是设置为按如下方式根据解析得到的服务请 求类型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析 模块获取的服务请求类型为安装, 且获取的内容信息包括需要安装的 widget 应用的描述信息, 以及提供该 widget应用资源的 URL地址时, 根据所述内 容信息中的该 widget应用的 URL地址, 从 widget应用资源提供服务器上下 载该 widget应用的安装资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的服务请求类型和 对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块获取 的服务请求类型为安装,且获取的内容信息包括需要安装的 widget应用的安 装资源包时, 安装该 widget应用的安装资源包; 或者 所述功能执行模块是设置为按如下方式根据解析得到的服务请求类型和 对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块获取 的服务请求类型为卸载,且获取的内容信息包括要求卸载的 widget应用的标 识时, 根据所述内容信息中的 widget应用的标识, 卸载相应的 widget应用; 或者 所述功能执行模块是设置为按如下方式根据解析得到的服务请求类型和 对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块获取 的服务请求类型为更新,且获取的内容信息包括需要更新的 widget应用的更 新描述信息, 以及该 widget应用的 UDD文件的网络下载地址时, 根据所述 内容信息中的 UDD文件的网络下载地址, 从 widget应用资源提供服务器上 下载该 widget应用的 UDD文件, 再根据 UDD文件中提供的 URI地址, 下 载该 widget应用的更新资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的服务请求类型和 对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块获取 的服务请求类型为更新, 且获取的内容信息包括需要更新的 widget应用的 UDD文件时, 根据 UDD文件中提供的 URI地址, 从 widget应用资源提供 服务器上下载该 widget应用的更新资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的服务请求类型和 对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块获取 的服务请求类型为更新时,且获取的内容信息包括需要更新的 widget应用的 更新资源包时, 安装该 widget应用的更新资源包。 当所述服务请求解析模块获取的服务请求类型为卸载, 且获取的内容信 息包括: 要求卸载的 widget应用的标识时, 所述功能执行模块还设置为: 判 断所述 widget应用是否正在运行, 如果是, 关闭该 widget应用后再卸载, 如 果不是, 则卸载该 widget应用。 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块可以釆用硬件 的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任何特 定形式的硬件和软件的结合。 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 a terminal for implementing widget application management, including a service request parsing module and a function execution module, wherein: the service request parsing module is configured to: receive and parse the notification message data packet, and obtain a service request type and corresponding content information therein As long as it is an application with notification message parsing capabilities, it can be used as a carrier for this module, such as a Short Message (SMS) application on the terminal, a BROWSER application, or a widget engine software. The function execution module is configured to: when managing the widget application, start a corresponding management process according to the service request type and the corresponding content information obtained by the parsing. The function execution module performs a corresponding management processing operation according to the type and content acquired by the service request parsing module. For details, refer to the description of the method part, and details are not described herein again. Preferably, the terminal client further includes a user confirmation module, and the user confirmation module is configured to: trigger the function execution module after receiving a command sent by the user to process the widget application management. Preferably, the user confirmation module is further configured to: prompt the user to select whether to directly process the widget application management on the terminal interface in a suitable form. Preferably, the function execution module is configured to start a corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: the service request type acquired by the service request parsing module is installed, and The obtained content information includes description information of the widget application to be installed, and when the URL address of the widget application resource is provided, downloading the widget application from the widget application resource providing server according to the URL address of the widget application in the content information. Install the resource bundle and then install it; or the function execution module is set to the type of service request obtained according to the parsing as follows Corresponding content information, the corresponding management process is started: when the service request type obtained by the service request parsing module is installed, and the acquired content information includes an installation resource package of the widget application to be installed, installing the widget application And the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: the service request type obtained by the service request parsing module is uninstalled, And the obtained content information includes an identifier of the widget application that is required to be uninstalled, and the corresponding widget application is uninstalled according to the identifier of the widget application in the content information; or the function execution module is configured to be based on the parsed service according to the following manner. The request type and the corresponding content information are started, and the corresponding management process is started: the service request type obtained by the service request parsing module is updated, and the acquired content information includes update description information of the widget application that needs to be updated, and the widget application. UDD file Downloading, according to the network download address of the UDD file in the content information, downloading the UDD file of the widget application from the widget application resource providing server, and downloading the widget application according to the URI address provided in the UDD file. Updating the resource package, and then performing the installation; or the function execution module is configured to start the corresponding management process flow according to the service request type and the corresponding content information obtained by the parsing as follows: the service acquired by the service request parsing module When the request type is update, and the acquired content information includes the UDD file of the widget application to be updated, the update resource package of the widget application is downloaded from the widget application resource providing server according to the URI address provided in the UDD file, and then installed; Or the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: when the service request type acquired by the service request parsing module is updated, and acquired Content information includes When resources update package, install the update package to the widget application resource update of widget applications. When the service request type obtained by the service request parsing module is unloaded, and the acquired content information includes: an identifier of the widget application that is required to be uninstalled, the function execution module is further configured to: determine whether the widget application is running, if Yes, uninstall the widget application and then uninstall it. If not, uninstall the widget application. One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software. It is a matter of course that the invention may be embodied in various other forms and modifications without departing from the spirit and scope of the invention.
工业实用性 本发明解决了终端上 widget应用的远程管理问题,提供了 widget服务器 对 widget客户端的远程管理方法, 可以推动 widget业务的迅速部署, 促进 widget应用的推广使用, 并且丰富了终端用户体验。 INDUSTRIAL APPLICABILITY The present invention solves the problem of remote management of a widget application on a terminal, and provides a remote management method of a widget server to a widget client, which can promote the rapid deployment of the widget service, promote the promotion and use of the widget application, and enrich the terminal user experience.

Claims

权 利 要 求 书 Claim
1、 一种微技(widget )应用管理方法, 所述方法包括: 服务器对终端发起 widget应用管理服务请求,并将所述 widget应用管理 服务请求打包成通知消息数据包, 将所述通知消息数据包通过网络传输到终 端,所述 widget应用管理服务请求中包含服务请求类型信息和对应的内容信 息; A method for managing a widget application, the method comprising: a server initiating a widget application management service request to a terminal, and packaging the widget application management service request into a notification message data packet, and the notification message data The packet is transmitted to the terminal through the network, and the widget application management service request includes the service request type information and the corresponding content information;
所述终端接收并解析所述通知消息数据包, 获取其中的服务请求类型和 对应的内容信息; 以及 所述终端在对 widget应用进行管理时,根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程。  The terminal receives and parses the notification message data packet, and obtains a service request type and corresponding content information therein; and when the terminal manages the widget application, the service request type and corresponding content obtained according to the parsing Information, start the corresponding management process.
2、 如权利要求 1所述的方法, 其中: 所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的描述信息, 以及提供该 widget 应用资源的统一资源定位符(URL )地址; 以及 所述终端根据解析得到的所述服务请求类型和对应的内容信息, 启动相 应的管理处理流程的步骤包括: 所述终端根据所述内容信息中的该 widget应 用的 URL地址, 从 widget应用资源提供服务器上下载该 widget应用的安装 资源包, 然后进行安装; 或者 2. The method according to claim 1, wherein: the service request type included in the widget application management service request is installed, the content information corresponding to the type includes: description information of the widget application to be installed, and providing the widget a uniform resource locator (URL) address of the application resource; and the step of the terminal to initiate the corresponding management process according to the service request type and the corresponding content information obtained by the parsing, including: the terminal according to the content information The URL address of the widget application, download the installation resource package of the widget application from the widget application resource providing server, and then install; or
所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的安装资源包; 以及 所述终端启动相应的管理处理流程的步骤包括: 终端安装该 widget应用 的安装资源包。  When the service request type included in the widget application management service request is installed, the content information corresponding to the type includes: an installation resource package of the widget application to be installed; and the step of the terminal starting the corresponding management processing flow includes: terminal installation The installation resource package for the widget application.
3、 如权利要求 1所述的方法, 其中: 所述 widget应用管理服务请求包含的服务请求类型为卸载时,该类型对 应的内容信息包括: 要求卸载的 widget应用的标识; 以及 所述终端根据解析得到的所述具体服务请求类型和对应的内容信息, 启 动相应的管理处理流程的步骤包括: 所述终端根据所述内容信息中的 widget 应用的标识 , 卸载相应的 widget应用。 The method of claim 1, wherein: the service request service type included in the widget application management service request is unloaded, and the content information corresponding to the type includes: an identifier of the widget application that is required to be uninstalled; The step of the terminal initiating the corresponding management process according to the specific service request type and the corresponding content information obtained by the parsing includes: the terminal uninstalling the corresponding widget application according to the identifier of the widget application in the content information.
4、 如权利要求 1所述的方法, 其中: 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新描述信息, 以及该 widget 应用的更新描述文档 (UDD )文件的网络下载地址; 以及 所述终端根据解析得到的所述服务请求类型和对应的内容信息, 启动相 应的管理处理流程的步骤包括: 所述终端根据所述内容信息中的 UDD文件 的网络下载地址,从 widget应用资源提供服务器上下载该 widget应用的 UDD 文件,再根据 UDD文件中提供的统一资源标志符(URI )地址,下载该 widget 应用的更新资源包, 然后进行安装; 或者 The method of claim 1, wherein: when the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: update description information of the widget application to be updated, and the widget a network download address of the update description document (UDD) file of the application; and the step of the terminal to initiate the corresponding management process according to the service request type and the corresponding content information obtained by the parsing, comprising: the terminal according to the content Download the UDD file of the UDD file in the information, download the UDD file of the widget application from the widget application resource providing server, and download the update resource package of the widget application according to the Uniform Resource Identifier (URI) address provided in the UDD file. Then install it; or
所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的 UDD文件; 以及 所述终端根据解析得到的所述服务请求类型和对应的内容信息, 启动相 应的管理处理流程的步骤包括:所述终端根据 UDD文件中提供的 URI地址, 从 widget应用资源提供服务器上下载该 widget应用的更新资源包,然后进行 安装;  When the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: a UDD file of the widget application to be updated; and the service request type and corresponding content obtained by the terminal according to the parsing The step of initiating the corresponding management process includes: the terminal downloading the update resource package of the widget application from the widget application resource providing server according to the URI address provided in the UDD file, and then installing the device;
或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新资源包; 以及 所述终端启动相应的管理处理流程的步骤包括: 终端安装该 widget应用 的更新资源包。  Or when the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: an update resource package of the widget application that needs to be updated; and the step of the terminal starting the corresponding management process flow includes: Install the update resource bundle for this widget application.
5、 如权利要求 1至 4中任一项所述的方法, 其中: 所述 widget应用管理服务请求包含的服务请求类型有一个或多个。 The method according to any one of claims 1 to 4, wherein: the widget application management service request includes one or more service request types.
6、 如权利要求 1所述的方法, 其中: 所述终端在获取服务请求类型和对应的内容信息后,对 widget应用进行 管理的步骤包括: 终端自动对 widget应用进行管理; 或者 终端在接收到用户发出的处理 widget应用管理的命令后, 终端对 widget 应用进行管理。 6. The method according to claim 1, wherein: the step of managing, by the terminal, the widget application after acquiring the service request type and the corresponding content information comprises: the terminal automatically managing the widget application; or the terminal receiving the After the user issues a command to manage the widget application management, the terminal manages the widget application.
7、 一种微技(widget )应用管理系统, 所述系统包括远程服务器和支持 widget业务的终端, 其中: 所述远程服务器设置为: 向终端发起 widget应用管理服务请求, 并将所 述 widget应用管理服务请求打包成通知消息数据包,将所述通知消息数据包 通过网络传输到终端,所述 widget应用管理服务请求中包含服务请求类型信 息和对应的内容信息; 所述终端设置为: 接收并解析所述通知消息数据包, 获取其中的服务请 求类型和对应的内容信息; 以及在对 widget应用进行管理时, 根据解析得到 的所述服务请求类型和对应的内容信息, 启动相应的管理处理流程。 7. A widget management application system, the system comprising a remote server and a terminal supporting a widget service, wherein: the remote server is configured to: initiate a widget application management service request to the terminal, and apply the widget to the terminal The management service request is packaged into a notification message data packet, and the notification message data packet is transmitted to the terminal through a network, where the widget application management service request includes service request type information and corresponding content information; the terminal is configured to: receive and Parsing the notification message data packet, obtaining a service request type and corresponding content information therein; and when managing the widget application, starting the corresponding management processing flow according to the parsed service request type and corresponding content information .
8、 一种实现微技(widget )应用管理的远程服务器, 所述远程服务器包 括远程服务发起模块和服务传输模块, 其中: 所述远程服务发起模块设置为: 向支持 widget 业务的终端发起 widget 应用管理服务请求, 所述 widget应用管理服务请求中包含服务请求类型信息 和对应的内容信息; 所述服务传输模块设置为: 将所述 widget应用管理服务请求打包成通知 消息数据包, 并将所述通知消息数据包通过网络传输到所述终端。 8. A remote server for implementing widget management, the remote server comprising a remote service initiation module and a service transmission module, wherein: the remote service initiation module is configured to: initiate a widget application to a terminal supporting the widget service Management service request, the widget application management service request includes service request type information and corresponding content information; the service transmission module is configured to: package the widget application management service request into a notification message data packet, and The notification message data packet is transmitted to the terminal through the network.
9、 如权利要求 8所述的远程服务器, 其中: 所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的描述信息, 以及提供该 widget 应用资源的统一资源定位符(URL )地址; 或者 所述 widget应用管理服务请求包含的服务请求类型为安装时,该类型对 应的内容信息包括: 需要安装的 widget应用的安装资源包; 或者 所述 widget应用管理服务请求包含的服务请求类型为卸载时,该类型对 应的内容信息包括: 要求卸载的 widget应用的标识; 或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新描述信息, 以及该 widget 应用的更新描述文档 (UDD )文件的网络下载地址; 或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的 UDD文件; 或者 所述 widget应用管理服务请求包含的服务请求类型为更新时,该类型对 应的内容信息包括: 需要更新的 widget应用的更新资源包。 The remote server according to claim 8, wherein: the service request type included in the widget application management service request is installed, and the content information corresponding to the type includes: description information of the widget application to be installed, and providing the The Uniform Resource Locator (URL) address of the widget application resource; or When the service request type included in the widget application management service request is installed, the content information corresponding to the type includes: an installation resource package of the widget application to be installed; or the service request type included in the widget application management service request is uninstalled. The content information corresponding to the type includes: an identifier of the widget application that is required to be uninstalled; or the content information corresponding to the type of the service request that is included in the widget application management service request is: an update description of the widget application that needs to be updated Information, and a network download address of the update description document (UDD) file of the widget application; or when the service request type included in the widget application management service request is an update, the content information corresponding to the type includes: a widget application that needs to be updated The content information corresponding to the type includes: an update resource package of the widget application that needs to be updated, when the type of the service request included in the widget application management service request is an update.
10、 一种实现微技(widget )应用管理的终端, 所述终端包括: 服务请 求解析模块和功能执行模块, 其中: 所述服务请求解析模块设置为: 接收并解析远程服务器向终端发起的封 装有 widget应用管理服务请求的通知消息数据包,获取所述通知消息数据包 中的服务请求类型和对应的内容信息; 所述功能执行模块设置为: 在对 widget应用进行管理时, 根据解析得到 的所述服务请求类型和对应的内容信息, 启动相应的管理处理流程。 A terminal for implementing a widget application management, the terminal comprising: a service request parsing module and a function execution module, wherein: the service request parsing module is configured to: receive and parse a package initiated by the remote server to the terminal The notification message data packet of the widget application management service request acquires the service request type and the corresponding content information in the notification message data packet; the function execution module is configured to: when managing the widget application, according to the parsing The service request type and the corresponding content information start a corresponding management process flow.
11、 如权利要求 10所述的终端, 所述终端还包括: 用户确认模块, 其设置为: 在接收到用户发出的处理 widget应用管理的 命令后触发所述功能执行模块。 The terminal of claim 10, the terminal further comprising: a user confirmation module, configured to: trigger the function execution module after receiving a command issued by the user to process the widget application management.
12、 如权利要求 10所述的终端, 其中: 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为安装,且获取的内容信息包括需要安装的 widget应用 的描述信息, 以及提供该 widget应用资源的统一资源定位符( URL )地址时, 根据所述内容信息中的该 widget应用的 URL地址, 从 widget应用资源提供 服务器上下载该 widget应用的安装资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为安装,且获取的内容信息包括需要安装的 widget应用 的安装资源包时, 安装该 widget应用的安装资源包; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为卸载,且获取的内容信息包括要求卸载的 widget应用 的标识时, 根据所述内容信息中的 widget应用的标识, 卸载相应的 widget 应用; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为更新,且获取的内容信息包括需要更新的 widget应用 的更新描述信息, 以及该 widget应用的更新描述文档(UDD )文件的网络下 载地址时, 根据所述内容信息中的 UDD文件的网络下载地址, 从 widget应 用资源提供服务器上下载该 widget应用的 UDD文件, 再根据 UDD文件中 提供的 URI地址, 下载该 widget应用的更新资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为更新,且获取的内容信息包括需要更新的 widget应用 的 UDD文件时, 根据 UDD文件中提供的 URI地址, 从 widget应用资源提 供服务器上下载该 widget应用的更新资源包, 然后进行安装; 或者 所述功能执行模块是设置为按如下方式根据解析得到的所述服务请求类 型和对应的内容信息, 启动相应的管理处理流程: 在所述服务请求解析模块 获取的服务请求类型为更新时,且获取的内容信息包括需要更新的 widget应 用的更新资源包时, 安装该 widget应用的更新资源包。 The terminal according to claim 10, wherein: the function execution module is configured to start a corresponding management process according to the service request type and corresponding content information obtained by parsing in the following manner: The service request type obtained by the request parsing module is installed, and the obtained content information includes description information of the widget application to be installed, and a uniform resource locator (URL) address of the widget application resource. Downloading, according to the URL address of the widget application in the content information, the installation resource package of the widget application from the widget application resource providing server, and then performing the installation; or the function execution module is configured to be parsed according to the following manner. And the service request type and the corresponding content information are started, and the corresponding management process is started: when the service request type obtained by the service request parsing module is installed, and the acquired content information includes an installation resource package of the widget application to be installed, Installing the installation resource package of the widget application; or the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: When the acquired service request type is uninstalled, and the acquired content information includes the identifier of the widget application that is required to be uninstalled, the corresponding widget application is uninstalled according to the identifier of the widget application in the content information; or the function execution module is set to According to the analysis as follows The service request type and the corresponding content information are sent, and the corresponding management process is started: the service request type obtained by the service request parsing module is updated, and the acquired content information includes update description information of the widget application that needs to be updated. And the network download address of the update description document (UDD) file of the widget application, downloading the UDD file of the widget application from the widget application resource providing server according to the network download address of the UDD file in the content information, and then according to The URI address provided in the UDD file, downloading the update resource package of the widget application, and then installing; or the function execution module is configured to start the corresponding service request type and corresponding content information according to the parsing as follows Management processing flow: when the service request type obtained by the service request parsing module is update, and the acquired content information includes a UDD file of the widget application that needs to be updated, according to the URI address provided in the UDD file, the resource is provided from the widget application resource. Download the widget application on the server The new resource package is then installed; or the function execution module is configured to start the corresponding management process according to the service request type and the corresponding content information obtained by parsing in the following manner: When the service request type is update, and the acquired content information includes an update resource package of the widget application that needs to be updated, the update resource package of the widget application is installed.
PCT/CN2011/075875 2010-10-18 2011-06-17 Method and system for widget application management WO2012051865A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010510235.7 2010-10-18
CN201010510235.7A CN101980503B (en) 2010-10-18 2010-10-18 Method, device and system for managing widget application

Publications (1)

Publication Number Publication Date
WO2012051865A1 true WO2012051865A1 (en) 2012-04-26

Family

ID=43600987

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075875 WO2012051865A1 (en) 2010-10-18 2011-06-17 Method and system for widget application management

Country Status (2)

Country Link
CN (1) CN101980503B (en)
WO (1) WO2012051865A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148982A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Display method, display device and electronic equipment
CN112527369A (en) * 2020-12-31 2021-03-19 神思电子技术股份有限公司 Resource updating method of intelligent terminal
CN113010223A (en) * 2021-02-24 2021-06-22 福州汇思博信息技术有限公司 Android system-based uninstalled resource customization method and terminal

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919406A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 A kind of desktop application component issue, update method and device
CN106708566B (en) * 2016-11-30 2020-08-04 武汉斗鱼网络科技有限公司 Method and system for judging whether application program is installed
CN109062642B (en) * 2018-06-29 2022-04-08 北京奇艺世纪科技有限公司 Control message notification method and device
CN110874173B (en) * 2018-09-03 2023-11-17 华为技术有限公司 Method and related device for operating service in service distribution platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62139574U (en) * 1986-02-28 1987-09-03
US4917607A (en) * 1988-09-29 1990-04-17 Hoose Sandra S Van Doll for facilitating therapeutic communication and attitudinal healing
US6383053B1 (en) * 1999-07-16 2002-05-07 Cherry Hug, Llc Therapeutic products containing cherry pits
US20050101220A1 (en) * 2003-11-10 2005-05-12 Pauline Jackson Therapeutic stuffed animal
KR200385743Y1 (en) * 2005-03-05 2005-06-02 허재영 A Playing toy Having a Liquid Nature Perfume
US20050214488A1 (en) * 2004-03-25 2005-09-29 Ebisukasei Co., Ltd. Faintly aromatic cushioning body

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101000154B1 (en) * 2008-09-03 2010-12-10 주식회사 엘지유플러스 Mobile phone and method for informing update widget contents
KR101070939B1 (en) * 2008-12-16 2011-10-06 주식회사 엘지유플러스 Apparatus and method for notifying update of hidden widget
CN101605294A (en) * 2009-07-13 2009-12-16 浙江大学 Method based on the Widget assembly management of TD-SCDMA network
CN101656739B (en) * 2009-09-25 2012-11-28 金蝶软件(中国)有限公司 Method, system and equipment for updating assembly
CN101790076A (en) * 2010-03-12 2010-07-28 青岛海信电器股份有限公司 Method and device for extending function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62139574U (en) * 1986-02-28 1987-09-03
US4917607A (en) * 1988-09-29 1990-04-17 Hoose Sandra S Van Doll for facilitating therapeutic communication and attitudinal healing
US6383053B1 (en) * 1999-07-16 2002-05-07 Cherry Hug, Llc Therapeutic products containing cherry pits
US20050101220A1 (en) * 2003-11-10 2005-05-12 Pauline Jackson Therapeutic stuffed animal
US20050214488A1 (en) * 2004-03-25 2005-09-29 Ebisukasei Co., Ltd. Faintly aromatic cushioning body
KR200385743Y1 (en) * 2005-03-05 2005-06-02 허재영 A Playing toy Having a Liquid Nature Perfume

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148982A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Display method, display device and electronic equipment
CN112527369A (en) * 2020-12-31 2021-03-19 神思电子技术股份有限公司 Resource updating method of intelligent terminal
CN112527369B (en) * 2020-12-31 2024-02-27 神思电子技术股份有限公司 Resource updating method of intelligent terminal
CN113010223A (en) * 2021-02-24 2021-06-22 福州汇思博信息技术有限公司 Android system-based uninstalled resource customization method and terminal

Also Published As

Publication number Publication date
CN101980503B (en) 2015-04-01
CN101980503A (en) 2011-02-23

Similar Documents

Publication Publication Date Title
WO2012051865A1 (en) Method and system for widget application management
CN102129378B (en) A kind of software menu updating method and device
EP2717542B1 (en) Application management method and application platform
WO2012037793A1 (en) Upgrade method and system for widget system
CN102523268B (en) Client side upgrading method and system
WO2012034471A1 (en) Method, mobile terminal and application server for dynamically processing applications
KR100728025B1 (en) Method and appratus for obtaining external charged content in the upnp network
US20060080659A1 (en) System and method of provisioning software to mobile devices
WO2007118419A1 (en) A method and device thereof of upgrading software
WO2011088714A1 (en) Method, device and system for running application
US10003633B2 (en) Method and device for resuming file download
CN107015870B (en) Method and device for realizing communication between web page and local application and electronic equipment
CN111580854A (en) Front-end and back-end separation method based on application program interface gateway and related equipment
US20070033584A1 (en) Application update methods and mobile communication devices utilizing the same
WO2011085625A1 (en) Method, system and client for downloading software installation packages
WO2014012449A1 (en) Method, device, processing center and system for desktop synchronization
WO2011076146A1 (en) Method for downloading application data, digital television reception terminal and system
WO2011060735A1 (en) Method,device and system for invoking widget
WO2012058880A1 (en) Method and system for upgrading terminal through wireless fidelity (wifi)
WO2018033094A1 (en) Rich communication suite release platform, method and system for version update, and mobile terminal
CA2624968A1 (en) Multimedia middleware apparatus using metadata, method for controlling multimedia middleware, and storage medium thereof
WO2008151576A1 (en) Method, terminal and system for updating language of the terminal
WO2011127847A2 (en) Method, apparatus and mobile terminal for updating service content of unstructured supplementary service data
JPH1195989A (en) Program updating system
WO2013135173A1 (en) Method, device, and system for pushing network content

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11833771

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11833771

Country of ref document: EP

Kind code of ref document: A1