[go: up one dir, main page]

WO2012037793A1 - Upgrade method and system for widget system - Google Patents

Upgrade method and system for widget system Download PDF

Info

Publication number
WO2012037793A1
WO2012037793A1 PCT/CN2011/071169 CN2011071169W WO2012037793A1 WO 2012037793 A1 WO2012037793 A1 WO 2012037793A1 CN 2011071169 W CN2011071169 W CN 2011071169W WO 2012037793 A1 WO2012037793 A1 WO 2012037793A1
Authority
WO
WIPO (PCT)
Prior art keywords
update
client
server
file
upgrade
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2011/071169
Other languages
French (fr)
Chinese (zh)
Inventor
肖非
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2012037793A1 publication Critical patent/WO2012037793A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the present invention relates to the field of Internet applications, and in particular, to a method and system for upgrading a widget system.
  • a widget is a small piece of code that can be executed on any Web page based on HyperText Markup Language (HTML) or JavaScript, and an Internet application may be expressed in the form of a widget. Videos, maps, news, and mini games, and more.
  • the widget originated from an inspiration from an Apple engineer and was originally implemented on the MAC (Operating System, OS). It consists of a widget engine (also known as a widget system) and a widget application that greatly enhances desktop applications and network operations.
  • the Widget engine is a platform for widget applications to run, and it also provides network access via asynchronous JavaScript and XML (Asynchronous JavaScript and XML, ajax) technology. Once the widget engine is installed, you can run widget applications with a variety of different features on this engine. With the development of widgets, it has the ability to cross-platform. Currently, widgets can be seen on windows, MAC OS, linux and various mobile platforms.
  • Widget application is a small application that has emerged on the Internet. In 2007, the concept of widgets became popular on the Internet. Domestic Sina, Sohu, Shanda, China Mobile, and China Unicom all began to invest in the development and standardization of widgets. Widgets have also evolved from the original desktop widgets and web widgets to terminal devices, such as mobile widgets and TV widgets that began in 2008. The common idea is to introduce some of the features of desktop widgets and web widgets to the terminal device. In order to seize the opportunities in the development of widgets, major websites and vendors have released their own widget standards.
  • the developer of the widget system is still perfecting the widget system after releasing the widget system to the user, in order to provide users with more functions and a better user experience.
  • the technical problem to be solved by the present invention is to provide a method and system for upgrading a widget system, which can update a version in time to better meet user needs and improve user experience.
  • the present invention provides a method for upgrading a widget system, the method comprising: the client launching the widget system, logging in to the server, and reporting the version information of the current widget system to the server; The version information determines that if the client widget system is not the latest version, sending an update file list to the client; and the client performs a corresponding operation according to the update file list to complete the widget system upgrade.
  • the method further includes: the client determining whether there is an uninstalled update, and if it is determined that there is an uninstalled update, installing the update.
  • the method further includes: if it is determined that there is an uninstalled update, exiting the upgrade process after the installation of the update is completed; Or, after the installation of the update is completed, calculating a time interval between the download time of the uninstalled update and the current installation time, determining that if the time interval is greater than a predetermined threshold, continuing to log in to the server, if not greater than the predetermined threshold, exiting Upgrade process.
  • the server determines, according to the version information, that if the client widget system is not the latest version, the step of sending the update file list to the client includes: the version number of the latest version of the widget system saved by the server on the server Comparing with the version number in the version information reported by the client, determining that the client version number is lower than the latest version number on the server, comparing the difference between the latest version of the widget system and the client widget system version, The update range is determined according to the difference, and an update file list is generated and sent to the client. among them:
  • the update file list includes one or more of the following sub-lists: a list of files to be deleted, a list of files to be added, and a list of files to be changed;
  • the list of files to be deleted includes a name of a file to be deleted;
  • the file list to be added includes a name of a file to be added and a download address of the one or more files;
  • the file list to be changed includes a name of a file to be modified and a download address of the one or more files. among them,
  • the client performs a corresponding operation according to the update file list, and the step of completing the widget system upgrade includes: the client determining, according to the content of the update file list, that the file needs to be downloaded, and downloading the file that needs to be added from the server. And/or the file to be modified and saved; and the client determines the timing of one or more of the following operations based on the immediate installation command sent by the user or the command to be installed at the next startup: Install new files, install The modified file, and the file to be deleted indicated by the list of updated files.
  • the present invention also provides an upgrade system of a widget system, which includes a server update upgrade subsystem and a client update upgrade subsystem, wherein:
  • the client update and upgrade subsystem is configured to: log in to the server after the widget system is started, report the version information of the current widget system to the server update upgrade subsystem, and execute the corresponding update file list according to the server update upgrade subsystem. Operation, complete the upgrade of the widget system;
  • the server update upgrade subsystem is configured to: determine, according to the version information, that if the client's widget system is not the latest version, send the update file list to the client update upgrade subsystem. among them:
  • the server update and upgrade subsystem includes: a network interaction module, a version management module, a download policy module, and a download module, wherein: the network interaction module is configured to: interact with the client, provide client login, and receive the client update upgrade subsystem.
  • the version management module is configured to: store each version of the widget system, and provide a query service;
  • the download policy module is set to:
  • the version information sent by the client and the version information of the latest version of the widget system saved by the version management module determine whether the client widget system needs to be updated. If the update is required, the version management module is used to query the latest version of the widget system saved on the client.
  • the content determines that the client widget system needs to update the scope, and generates a list of update files;
  • the download module is set to: provide data to the client update subsystem when the client update and upgrade subsystem sends a download file request.
  • Carrier services among them
  • the client update and upgrade subsystem includes: a network interaction module, a download module, and an update installation module, wherein: the network interaction module is configured to: interact with the server, log in to the server, and report the version of the current widget system to the server update and upgrade subsystem. And receiving a list of update files sent by the server update and upgrade subsystem; the download module is configured to: send a download file request to the server update upgrade subsystem according to the update file list, and download a corresponding update file from the server update upgrade subsystem; The update installation module is set to: Upgrade the widget system based on the downloaded update file.
  • the client widget system further includes a user interaction module, and the user interaction module is configured to: interact with the user, and receive an immediate installation command sent by the user or a command that is installed again at the next startup.
  • the present invention further provides a client update and upgrade subsystem, including a network interaction module, a download module, an update installation module, and a user interaction module, wherein: the network interaction module is set to: interact with the server, log in The server updates the version information of the current widget system to the server update upgrade subsystem; and receives a list of update files sent by the server update upgrade subsystem; the download module is set to: send and download to the server update upgrade subsystem according to the update file list File request, download the corresponding update file from the server update upgrade subsystem; update the installation module is set to: Upgrade the widget system according to the downloaded update file.
  • the embodiment of the invention can be applied to both the desktop widget system and the widget system on the mobile terminal device, can detect the latest widget system on the download server and automatically download the update and upgrade, so that the user can always use the latest version and the most comprehensive widget. System to achieve a better user experience. At the same time, it can save users time and effort.
  • Fig. 1 is a functional block diagram of a widget system of the embodiment
  • Fig. 2 is a flow chart of automatic updating of a widget system.
  • the preferred embodiment of the present invention does not generally provide the function of updating and upgrading the widget system in the existing widget system, but requires the user to view the publisher of the widget system to access the new version of the widget system by accessing the specific website. If you have to download and install it manually, it is neither fast and convenient, and it consumes the user's time and effort.
  • the present invention provides a method for upgrading a widget system, the method comprising: the client launching the widget system and logging in to the server, and reporting the version information of the current widget system to the server; the server determining, according to the version information, if the client widget The system is not the latest version, and the update file list is sent to the client; and the client performs a corresponding operation according to the update file list to complete the widget system upgrade.
  • the client determines whether there is an uninstalled update, and if it is determined that there is an uninstalled update, the update is installed.
  • the update file list includes one or more of the following sub-lists: a list of files to be deleted, a list of files to be added, and a list of files to be changed.
  • the file list to be deleted includes a name of a file to be deleted; the file list to be added includes a name of a file to be added and a download address of the one or more files; and the file list to be changed includes a file to be modified The name of the file and the download address of the one or more files.
  • the client determines, according to the content of the updated file list, that the file needs to be downloaded, downloads the file that needs to be added and/or the file that needs to be modified from the server, and saves the file; the client starts the installation command according to the user or starts the next time. When you install the command, determine when to perform one or more of the following: Install the newly added file, install the modified file, and delete the updated file list to indicate the file you want to delete.
  • the method for upgrading the widget system of the present invention is used, which allows the user to use the latest version of the widget system in the first time, and saves time and effort for the user.
  • the widget upgrade system described in this embodiment includes two subsystems: a server update and upgrade subsystem and a client update and upgrade subsystem, as shown in FIG. 1, where: the server The main function of the update and upgrade subsystem is: for judging according to the version information If the client's widget system is not the latest version, then the client update update subsystem sends a list of update files.
  • the following sub-modules are included: a network interaction module, which is configured to: interact with a client, provide client login, receive version information sent by the client update upgrade subsystem, and send the download policy module to the client update upgrade subsystem.
  • the main functions of the client update and upgrade subsystem are: for logging in to the server after the widget system is started, reporting the version information of the current widget system to the server update and upgrading subsystem; and updating files sent by the upgrade subsystem according to the server update
  • the list performs the corresponding operations and completes the widget system upgrade.
  • the following sub-module is included: a network interaction module, configured to: interact with a server network, log in to the server, and report the version information of the current widget system to the server update upgrade subsystem; and receive a list of update files sent by the server update upgrade subsystem;
  • the download module is configured to: send a download file request to the server update upgrade subsystem according to the update file list, download a corresponding update file from the server update upgrade subsystem; update the installation module, and set the update file according to the download Upgrade the widget system.
  • the client update and upgrade subsystem further includes a user interaction module, the user interaction The module is set to: Interact with the user, receive the immediate installation command sent by the user or the command to be installed the next time you start.
  • an embodiment of the automatic upgrade process of the Widget system includes the following steps: Step 201: The client widget system is started; Step 202, it is determined whether there is an uninstalled update, and if yes, step 203 is performed, if not Step 203, step 203, install the update, perform step 214; preferably, considering that there is a possibility that the user does not use the widget system on the client for a long time, after the last update is installed, it may still be the latest In order to prevent this from happening, after the installation is completed in step 203, the process returns to step 204; or, the download time is recorded when the update is downloaded, and the installation update time is recorded when the update is installed, and the time interval between the two times is compared.
  • Step 204 The predetermined value is executed in step 204, and the server is accessed. If it is not greater than, the step 214 is executed, and the server is not accessed.
  • the protocol used by the widget system login server can use the HyperText Transfer Protocol (HTTP) and the Session Initiation Protocol (SIP), etc., which can be agreed in advance by both parties.
  • the version information may be, for example, a version number or any other information that uniquely represents the version.
  • Step 205 The server compares the version number of the current widget system of the client with the version number of the latest version in the database.
  • Step 206 The server determines, according to the comparison result of the version number, whether the client widget system needs to be updated. If yes, step 207 is performed.
  • Step 207 The server compares the latest version of the widget system with the version of the widget system currently reported by the client, determines the update range, generates an update list, and sends the update list to the client; After receiving the version information sent by the client, the server compares with the latest version in the database. If the current version of the client is already the latest version, the update process may be ended, or the client may be notified that the update is not required; if the current version of the client is not The latest version, the client version number is lower than the latest version number on the server, compares the difference between the current version of the client and the latest version in the database.
  • a widget system consists of multiple parts.
  • Possible components are: decompression module, widget security module, browser engine, extended JavaScript application programming interface (API), widget application management module, security, etc. section.
  • the new version usually has only one or more parts changed relative to the old version. Therefore, it is only necessary to update the corresponding part when updating, that is, differential update. According to the comparison result, the update scope is confirmed, and the file list is returned to the client.
  • the specific form can be implemented using an Extensible Markup Language (xml) file, and can include one or more of the following sub-lists: a list of files to be deleted, a list of files to be added, and a list of files to be changed, in each sub-list Contains the file name of the file to be updated, and if necessary, the Uniform / Universal Resource Locator ( url ) corresponding to one or more files to be updated.
  • An example of an updated file list is given by taking the above three sublists as an example:
  • Step 208 the client confirms the file to be updated according to the updated file list, and if there is a file that needs to be changed and/or needs to be updated, the corresponding file is downloaded and saved;
  • Step 209 Determine whether the user confirms whether to install immediately. If yes, go to step 211. If not, go to step 210. After the download is complete, prompt the user to install the update file immediately or install it again when the widget system starts.
  • Step 210 Mark the update file to be installed at the next startup of the widget system; Step 211, save the current system state; Step 212, update the widget system; If the user chooses to install immediately, save the current state of the widget system, close The widget system, which is updated and installed according to the update policy, that is, only the parts of the update file list are updated.
  • Step 213 restarting the widget system, and returning to the state before the shutdown according to the state saved in step 211, and deleting the temporarily saved download update file; Step 214, exiting the update.
  • steps 202, 209, and 210 may not be included, ie, the installation is installed by default.
  • step 211 may not be performed. Restarting the widget system only after the update is installed does not open the previously opened widget instance.
  • the automatic update process provided by this embodiment is compatible with the prior art, and can provide an automatic update and manual update button or option for the user, and determines whether to automatically update or manually update according to the user's selection.
  • the invention can be applied to both the desktop widget system and the widget system on the mobile terminal device, can detect the latest widget system on the download server and automatically download and update the upgrade, so that the user can always use the latest version and the most complete widget system. To achieve a better user experience. At the same time, it can save users time and effort.

Landscapes

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

Abstract

The present invention discloses an upgrade method for a widget system. The method includes: after starting the widget system, a client logs in to a server, and synchronously reports the version information of the current widget system to the server; according to the version information, if judging that the version of the widget system in the client is not the newest version, the server sends an update file list to the client; and the client performs corresponding operations according to the update file list to complete the widget system upgrade. The present invention also discloses an upgrade system for a widget system. The system includes a server update and upgrade subsystem and a client update and upgrade subsystem. The present invention also discloses a client update and upgrade subsystem. The present invention can detect the newest widget system in a downloading server and automatically download the newest widget system for update and upgrade.

Description

一种 widget系统的升级方法及系统  Method and system for upgrading widget system

技术领域 本发明涉及互联网应用领域,具体涉及一种 widget系统的升级方法及系 统。 TECHNICAL FIELD The present invention relates to the field of Internet applications, and in particular, to a method and system for upgrading a widget system.

背景技术 微件( widget )是一小块可以在任意一个基于超文本置标语言( HyperText Markup Language, HTML ) 、 JavaScript的 Web页面上执行的代码、 一个互 联网的小应用, 它的表现形式可能是视频, 地图, 新闻, 以及小游戏等等。 widget起源于苹果公司一位工程师的灵感, 最初被实现在 MAC操作系统 ( Operation System, OS )上。 它由 widget 引擎(又称为 widget 系统)和 widget应用构成,能够极大的完善桌面应用和网络操作。 Widget引擎是 widget 应用运行的平台,同时也通过异步 JavaScript和 XML( Asynchronous JavaScript and XML, ajax )技术提供了网络访问能力。 在安装了 widget引擎后, 就可 以在此引擎上运行具有各种不同功能的 widget应用了。 随着 widget的发展, 它具备了跨平台的能力, 目前在 windows, MAC OS、 linux及各种手机平台 上都能看到 widget的影子。 BACKGROUND A widget is a small piece of code that can be executed on any Web page based on HyperText Markup Language (HTML) or JavaScript, and an Internet application may be expressed in the form of a widget. Videos, maps, news, and mini games, and more. The widget originated from an inspiration from an Apple engineer and was originally implemented on the MAC (Operating System, OS). It consists of a widget engine (also known as a widget system) and a widget application that greatly enhances desktop applications and network operations. The Widget engine is a platform for widget applications to run, and it also provides network access via asynchronous JavaScript and XML (Asynchronous JavaScript and XML, ajax) technology. Once the widget engine is installed, you can run widget applications with a variety of different features on this engine. With the development of widgets, it has the ability to cross-platform. Currently, widgets can be seen on windows, MAC OS, linux and various mobile platforms.

Widget应用作为在互联网上兴起的一种小应用, 在 2007年开始 widget 概念在互联网上盛行, 国内新浪、 搜狐、 盛大、 中移动、 以及联通都开始投 入到 widget的研发和标准制定中。 Widget的表现形式也由最初的桌面 widget、 web widget, 发展到终端设备上, 如: 2008年开始出现的手机 widget和电视 widget等。其共同想法是把桌面 widget和 web widget的一些特点引入到终端 设备上。 为了在 widget 的发展中抢占先机, 各大网站和厂商都发布了自己的 widget标准。 万维网联盟( World Wide Web Consortium, W3C )从 2006年 开始制定一个统一的 widget标准, 陆续发布了一系列的规范, 但是这些规范 标准都还处于草案阶段,且只是面向桌面 widget系统。随着终端设备上 widget 的出现, 一些厂商也开始制定移动终端上的 widget规范。 如: OMPT制定的 BONDI规范, 及中国移动参与制定的 JIL规范。 这些规范都提供了对终端设 备上 widget本地应用的支持。 目前业界只有 widget应用的更新升级方式,而在 widget系统的更新升级 方面还是空白。 但是 widget系统中涉及到的如: html、 css、 JavaScript等技 术都是在不停发展变化, 而且 widget的相关标准也是在不停的演进中。 因而 在实际应用中 widget系统的开发者在把 widget系统发布给用户使用后,还是 在不断的对 widget系统进行完善, 以求为用户提供更多的功能和更好的用户 体验。 而如何把新版本的 widget系统提供给用户没有一个很好的解决方法。 The Widget application is a small application that has emerged on the Internet. In 2007, the concept of widgets became popular on the Internet. Domestic Sina, Sohu, Shanda, China Mobile, and China Unicom all began to invest in the development and standardization of widgets. Widgets have also evolved from the original desktop widgets and web widgets to terminal devices, such as mobile widgets and TV widgets that began in 2008. The common idea is to introduce some of the features of desktop widgets and web widgets to the terminal device. In order to seize the opportunities in the development of widgets, major websites and vendors have released their own widget standards. The World Wide Web Consortium (W3C) has developed a unified widget standard since 2006, and has released a series of specifications, but these specifications are still in the draft stage, and only for the desktop widget system. With the widget on the terminal device The emergence of some manufacturers also began to develop widget specifications on mobile terminals. Such as: BONDI specification formulated by OMPT, and JIL specification formulated by China Mobile. These specifications provide support for widget native applications on end devices. At present, only the update and upgrade methods of the widget application are available in the industry, and the update and upgrade of the widget system is still blank. However, the technologies involved in the widget system, such as html, css, and JavaScript, are constantly evolving, and the related standards of widgets are constantly evolving. Therefore, in the actual application, the developer of the widget system is still perfecting the widget system after releasing the widget system to the user, in order to provide users with more functions and a better user experience. There is no good solution to how to provide a new version of the widget system to users.

发明内容 本发明要解决的技术问题是提供一种 widget系统的升级方法及系统,可 及时更新版本, 更好地满足用户需要, 提高用户体验。 为解决上述技术问题, 本发明提供了一种微件 (widget ) 系统的升级方 法, 该方法包括: 客户端启动 widget 系统后登录服务器, 同时向服务器上报当前 widget 系统的版本信息; 所述服务器根据所述版本信息判断如果客户端 widget 系统不是最新版 本, 则向所述客户端发送更新文件列表; 以及 所述客户端根据所述更新文件列表执行相应的操作, 完成 widget系统升 级。 在所述客户端启动 widget系统后, 登录服务器的步骤之前, 所述方法还 包括: 所述客户端判断是否有未安装的更新, 如果判断有未安装的更新, 则安 装所述更新。 所述方法还包括: 如果判断有未安装的更新, 在安装所述更新完成后, 退出升级流程; 或者, 在安装所述更新完成后, 计算所述未安装的更新的下载时间与当 前安装时间的时间间隔, 判断如果所述时间间隔大于预定门限, 则继续登录 服务器, 如果不大于预定门限, 退出升级流程。 其中: 所述服务器根据所述版本信息判断如果客户端 widget 系统不是最新版 本, 则向所述客户端发送更新文件列表的步骤包括: 服务器将其上保存的所述 widget系统的最新版本的版本号与所述客户端 上报的版本信息中的版本号进行比较, 判断所述客户端版本号低于服务器上 的最新版本号时 ,则比较最新版本 widget系统与所述客户端 widget系统版本 的差异, 根据所述差异确定更新范围, 生成更新文件列表, 向所述客户端发 送。 其中: SUMMARY OF THE INVENTION The technical problem to be solved by the present invention is to provide a method and system for upgrading a widget system, which can update a version in time to better meet user needs and improve user experience. In order to solve the above technical problem, the present invention provides a method for upgrading a widget system, the method comprising: the client launching the widget system, logging in to the server, and reporting the version information of the current widget system to the server; The version information determines that if the client widget system is not the latest version, sending an update file list to the client; and the client performs a corresponding operation according to the update file list to complete the widget system upgrade. After the step of logging in to the server after the client starts the widget system, the method further includes: the client determining whether there is an uninstalled update, and if it is determined that there is an uninstalled update, installing the update. The method further includes: if it is determined that there is an uninstalled update, exiting the upgrade process after the installation of the update is completed; Or, after the installation of the update is completed, calculating a time interval between the download time of the uninstalled update and the current installation time, determining that if the time interval is greater than a predetermined threshold, continuing to log in to the server, if not greater than the predetermined threshold, exiting Upgrade process. The server determines, according to the version information, that if the client widget system is not the latest version, the step of sending the update file list to the client includes: the version number of the latest version of the widget system saved by the server on the server Comparing with the version number in the version information reported by the client, determining that the client version number is lower than the latest version number on the server, comparing the difference between the latest version of the widget system and the client widget system version, The update range is determined according to the difference, and an update file list is generated and sent to the client. among them:

所述更新文件列表包括以下子列表中的一个或几个:要删除的文件列表、 要增加的文件列表、 以及要改变的文件列表; 所述要删除的文件列表包括要删除的文件的名称; 所述要增加的文件列 表包括要增加的文件的名称以及该一个或多个文件的下载地址; 所述要改变 的文件列表包括要修改的文件的名称以及该一个或多个文件的下载地址。 其中,  The update file list includes one or more of the following sub-lists: a list of files to be deleted, a list of files to be added, and a list of files to be changed; the list of files to be deleted includes a name of a file to be deleted; The file list to be added includes a name of a file to be added and a download address of the one or more files; the file list to be changed includes a name of a file to be modified and a download address of the one or more files. among them,

所述客户端根据所述更新文件列表执行对应的操作, 完成 widget系统升 级的步骤包括: 所述客户端根据所述更新文件列表的内容判断需要下载文件, 从所述服 务器下载需要新增的文件和 /或需要修改的文件并保存; 以及 客户端根据用户发送的立即安装命令或下次启动时再安装的命令, 确定 执行以下操作中一种或几种的时机: 安装新增的文件、 安装修改的文件、 以 及删除所述更新文件列表指示的需要删除的文件。 为解决上述技术问题, 本发明还提供了一种微件 (widget ) 系统的升级 系统, 该系统包括服务器更新升级子系统和客户端更新升级子系统, 其中: 所述客户端更新升级子系统设置为: 在 widget系统启动后登录服务器, 向服务器更新升级子系统上报当前 widget系统的版本信息; 以及根据所述服 务器更新升级子系统发送的更新文件列表执行相应的操作, 完成 widget系统 升级; The client performs a corresponding operation according to the update file list, and the step of completing the widget system upgrade includes: the client determining, according to the content of the update file list, that the file needs to be downloaded, and downloading the file that needs to be added from the server. And/or the file to be modified and saved; and the client determines the timing of one or more of the following operations based on the immediate installation command sent by the user or the command to be installed at the next startup: Install new files, install The modified file, and the file to be deleted indicated by the list of updated files. To solve the above technical problem, the present invention also provides an upgrade system of a widget system, which includes a server update upgrade subsystem and a client update upgrade subsystem, wherein: The client update and upgrade subsystem is configured to: log in to the server after the widget system is started, report the version information of the current widget system to the server update upgrade subsystem, and execute the corresponding update file list according to the server update upgrade subsystem. Operation, complete the upgrade of the widget system;

所述服务器更新升级子系统设置为: 根据所述版本信息判断如果客户端 的 widget系统不是最新版本,则向所述客户端更新升级子系统发送更新文件 列表。 其中:  The server update upgrade subsystem is configured to: determine, according to the version information, that if the client's widget system is not the latest version, send the update file list to the client update upgrade subsystem. among them:

所述服务器更新升级子系统包括: 网络交互模块、 版本管理模块、 下载 策略模块和下载模块, 其中: 网络交互模块设置为: 与客户端进行交互, 提供客户端登录, 接收客户 端更新升级子系统发送的版本信息, 以及向客户端更新升级子系统发送所述 下载策略模块生成的更新文件列表; 版本管理模块设置为: 存放各个版本的 widget系统, 并提供查询服务; 下载策略模块设置为: 根据所述客户端发送的版本信息以及版本管理模 块保存的最新版本 widget系统的版本信息判断客户端 widget系统是否需要更 新,如果需要更新,则通过所述版本管理模块查询其上保存的最新版本 widget 系统内容确定客户端 widget系统中需要更新范围, 生成更新文件列表; 下载模块设置为: 在客户端更新升级子系统发送下载文件请求时, 向客 户端更新升级子系统提供数据下载服务。 其中:  The server update and upgrade subsystem includes: a network interaction module, a version management module, a download policy module, and a download module, wherein: the network interaction module is configured to: interact with the client, provide client login, and receive the client update upgrade subsystem. The version information sent, and the update file list generated by the download policy module sent to the client update upgrade subsystem; the version management module is configured to: store each version of the widget system, and provide a query service; the download policy module is set to: The version information sent by the client and the version information of the latest version of the widget system saved by the version management module determine whether the client widget system needs to be updated. If the update is required, the version management module is used to query the latest version of the widget system saved on the client. The content determines that the client widget system needs to update the scope, and generates a list of update files; the download module is set to: provide data to the client update subsystem when the client update and upgrade subsystem sends a download file request. Carrier services. among them:

所述客户端更新升级子系统包括: 网络交互模块、 下载模块和更新安装 模块, 其中: 网络交互模块设置为: 与服务器进行交互, 登录服务器, 并向服务器更 新升级子系统上报当前 widget系统的版本信息; 以及接收服务器更新升级子 系统发送的更新文件列表; 下载模块设置为: 根据所述更新文件列表, 向服务器更新升级子系统发 送下载文件请求, 从服务器更新升级子系统下载对应的更新文件; 更新安装模块设置为: 根据下载的更新文件对 widget系统进行升级。 其中: 所述客户端 widget系统还包括用户交互模块,所述用户交互模块设置为: 与用户进行交互,接收用户发送的立即安装命令或下次启动时再安装的命令。 为解决上述技术问题, 本发明还提供了一种客户端更新升级子系统, 包 括网络交互模块、 下载模块、 更新安装模块和用户交互模块, 其中: 网络交互模块设置为: 与服务器进行交互, 登录服务器, 并向服务器更 新升级子系统上报当前 widget系统的版本信息; 以及接收服务器更新升级子 系统发送的更新文件列表; 下载模块设置为: 根据所述更新文件列表, 向服务器更新升级子系统发 送下载文件请求, 从服务器更新升级子系统下载对应的更新文件; 更新安装模块设置为: 根据下载的更新文件对 widget系统进行升级。 本发明实施例能够同时适用于桌面 widget 系统和移动终端设备上的 widget系统, 可以检测到下载服务器上的最新 widget系统并自动下载更新升 级, 可以使用户始终能够使用版本最新、 功能最全的 widget系统, 以达到更 好的用户体验。 同时, 还能节约用户的时间和精力。 The client update and upgrade subsystem includes: a network interaction module, a download module, and an update installation module, wherein: the network interaction module is configured to: interact with the server, log in to the server, and report the version of the current widget system to the server update and upgrade subsystem. And receiving a list of update files sent by the server update and upgrade subsystem; the download module is configured to: send a download file request to the server update upgrade subsystem according to the update file list, and download a corresponding update file from the server update upgrade subsystem; The update installation module is set to: Upgrade the widget system based on the downloaded update file. The client widget system further includes a user interaction module, and the user interaction module is configured to: interact with the user, and receive an immediate installation command sent by the user or a command that is installed again at the next startup. To solve the above technical problem, the present invention further provides a client update and upgrade subsystem, including a network interaction module, a download module, an update installation module, and a user interaction module, wherein: the network interaction module is set to: interact with the server, log in The server updates the version information of the current widget system to the server update upgrade subsystem; and receives a list of update files sent by the server update upgrade subsystem; the download module is set to: send and download to the server update upgrade subsystem according to the update file list File request, download the corresponding update file from the server update upgrade subsystem; update the installation module is set to: Upgrade the widget system according to the downloaded update file. The embodiment of the invention can be applied to both the desktop widget system and the widget system on the mobile terminal device, can detect the latest widget system on the download server and automatically download the update and upgrade, so that the user can always use the latest version and the most comprehensive widget. System to achieve a better user experience. At the same time, it can save users time and effort.

附图概述 图 1是本实施例 widget系统功能框图; 图 2是 widget系统自动更新的流程图。 BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a functional block diagram of a widget system of the embodiment; Fig. 2 is a flow chart of automatic updating of a widget system.

本发明的较佳实施方式 在现有的 widget系统中,通常都不提供 widget系统更新升级的功能, 而 是需要用户通过访问特定网站来查看 widget 系统的发布者有无新版本的 widget系统发布, 如果有的话再手动下载安装, 既不快捷方便, 又消耗用户 的时间和精力。 为此, 本发明提供一种 widget系统升级方法, 该方法包括: 客户端启动 widget系统后登录服务器, 同时向服务器上报当前 widget系统的版本信息; 所述服务器根据所述版本信息判断如果客户端 widget系统不是最新版本, 则 向所述客户端发送更新文件列表; 以及所述客户端根据所述更新文件列表执 行相应的操作, 完成 widget系统升级。 优选地, 在所述客户端启动 widget系统后, 登录服务器之前, 所述客户 端判断是否有未安装的更新, 如果判断有未安装的更新, 则安装所述更新。 在安装所述更新完成后, 再登录服务器; 或者, 退出升级流程; 或者, 在安 装所述更新完成后, 计算所述未安装的更新的下载时间与当前安装时间的时 间间隔, 判断如果所述时间间隔大于预定门限, 则继续登录服务器, 否则退 出升级流程。 所述更新文件列表包括以下子列表中的一个或几个:要删除的文件列表、 要增加的文件列表、 以及要改变的文件列表。 所述要删除的文件列表包括要 删除的文件的名称; 所述要增加的文件列表包括要增加的文件的名称以及该 一个或多个文件的下载地址; 所述要改变的文件列表包括要修改的文件的名 称以及该一个或多个文件的下载地址。 所述客户端根据所述更新文件列表的内容判断需要下载文件, 从所述服 务器下载需要新增的文件和 /或需要修改的文件并保存;客户端根据用户发送 的立即安装命令或下次启动时再安装的命令, 确定执行以下操作中一种或几 种的时机: 安装新增的文件、 安装修改的文件、 删除所述更新文件列表指示 需要删除的文件。 釆用了本发明的 widget系统升级方法, 既可以让用户第一时间使用到最 新版本的 widget系统, 又为用户节约了时间和精力。 The preferred embodiment of the present invention does not generally provide the function of updating and upgrading the widget system in the existing widget system, but requires the user to view the publisher of the widget system to access the new version of the widget system by accessing the specific website. If you have to download and install it manually, it is neither fast and convenient, and it consumes the user's time and effort. To this end, the present invention provides a method for upgrading a widget system, the method comprising: the client launching the widget system and logging in to the server, and reporting the version information of the current widget system to the server; the server determining, according to the version information, if the client widget The system is not the latest version, and the update file list is sent to the client; and the client performs a corresponding operation according to the update file list to complete the widget system upgrade. Preferably, after the client starts the widget system, before logging in to the server, the client determines whether there is an uninstalled update, and if it is determined that there is an uninstalled update, the update is installed. After the installation of the update is completed, log in to the server; or, exit the upgrade process; or, after the installation of the update is completed, calculate a time interval between the download time of the uninstalled update and the current installation time, and determine if If the time interval is greater than the predetermined threshold, continue to log in to the server, otherwise exit the upgrade process. The update file list includes one or more of the following sub-lists: a list of files to be deleted, a list of files to be added, and a list of files to be changed. The file list to be deleted includes a name of a file to be deleted; the file list to be added includes a name of a file to be added and a download address of the one or more files; and the file list to be changed includes a file to be modified The name of the file and the download address of the one or more files. The client determines, according to the content of the updated file list, that the file needs to be downloaded, downloads the file that needs to be added and/or the file that needs to be modified from the server, and saves the file; the client starts the installation command according to the user or starts the next time. When you install the command, determine when to perform one or more of the following: Install the newly added file, install the modified file, and delete the updated file list to indicate the file you want to delete. The method for upgrading the widget system of the present invention is used, which allows the user to use the latest version of the widget system in the first time, and saves time and effort for the user.

遵循 W3C、 JIL和 BONDI标准定义的 widget系统框架, 本实施例所述 的 widget升级系统包括 2个子系统:服务器的更新升级子系统和客户端的更 新升级子系统, 如图 1所示, 其中: 服务器的更新升级子系统的主要功能为: 用于根据所述版本信息判断如 果客户端的 widget系统不是最新版本, 则向所述客户端更新升级子系统发送 更新文件列表。 包括以下子模块: 网络交互模块, 其设置为: 与客户端进行交互, 提供客户端登录, 接收 客户端更新升级子系统发送的版本信息, 以及向客户端更新升级子系统发送 所述下载策略模块生成的更新文件列; 版本管理模块, 以数据库的形式存放各个版本的 widget系统, 并能提供 查询服务; 下载策略模块, 其设置为: 根据所述客户端发送的版本信息以及版本管 理模块保存的最新版本 widget系统的版本信息判断客户端 widget系统是否需 要更新, 如果需要更新, 则通过所述版本管理模块查询其上保存的最新版本 widget系统内容确定客户端 widget系统中哪些文件需要更新, 即比较客户端 widget系统与版本数据库中最新版本 widget系统的差异,生成更新文件列表, 以便于增量更新; 下载模块, 其设置为: 在客户端更新升级子系统发送下载文件请求时, 向客户端更新升级子系统提供数据下载服务。 Following the widget system framework defined by the W3C, JIL, and BONDI standards, the widget upgrade system described in this embodiment includes two subsystems: a server update and upgrade subsystem and a client update and upgrade subsystem, as shown in FIG. 1, where: the server The main function of the update and upgrade subsystem is: for judging according to the version information If the client's widget system is not the latest version, then the client update update subsystem sends a list of update files. The following sub-modules are included: a network interaction module, which is configured to: interact with a client, provide client login, receive version information sent by the client update upgrade subsystem, and send the download policy module to the client update upgrade subsystem. The generated update file column; the version management module stores each version of the widget system in the form of a database, and can provide a query service; the download policy module is set to: according to the version information sent by the client and the version management module The version information of the latest version of the widget system determines whether the client widget system needs to be updated. If the update is required, the version management module queries the latest version of the widget system stored on the system to determine which files in the client widget system need to be updated, that is, compare The difference between the client widget system and the latest version of the widget system in the version database, generating a list of update files for incremental update; the download module, which is set to: when the client update and upgrade subsystem sends a download file request, to the client Upgrade subsystem provides data download service.

客户端的更新升级子系统的主要功能为: 用于在 widget系统启动后登录 服务器, 向服务器更新升级子系统上报当前 widget系统的版本信息; 以及用 于根据所述服务器更新升级子系统发送的更新文件列表执行相应的操作, 完 成 widget系统升级。 包括以下子模块: 网络交互模块, 其设置为: 与服务器的网络交互, 登录服务器, 并向服 务器更新升级子系统上报当前 widget系统的版本信息; 以及接收服务器更新 升级子系统发送的更新文件列表; 下载模块, 其设置为: 根据所述更新文件列表, 向服务器更新升级子系 统发送下载文件请求, 从服务器更新升级子系统下载对应的更新文件; 更新安装模块,其设置为:根据下载的更新文件对 widget系统进行升级。 优选地, 所述客户端更新升级子系统还包括用户交互模块, 该用户交互 模块设置为: 与用户交互, 接收用户发送的立即安装命令或下次启动时再安 装的命令。 The main functions of the client update and upgrade subsystem are: for logging in to the server after the widget system is started, reporting the version information of the current widget system to the server update and upgrading subsystem; and updating files sent by the upgrade subsystem according to the server update The list performs the corresponding operations and completes the widget system upgrade. The following sub-module is included: a network interaction module, configured to: interact with a server network, log in to the server, and report the version information of the current widget system to the server update upgrade subsystem; and receive a list of update files sent by the server update upgrade subsystem; The download module is configured to: send a download file request to the server update upgrade subsystem according to the update file list, download a corresponding update file from the server update upgrade subsystem; update the installation module, and set the update file according to the download Upgrade the widget system. Preferably, the client update and upgrade subsystem further includes a user interaction module, the user interaction The module is set to: Interact with the user, receive the immediate installation command sent by the user or the command to be installed the next time you start.

Widget系统的自动升级流程的一种实施方式如图 2所示,包括以下步骤: 步骤 201 , 客户端 widget系统启动; 步骤 202,判断是否有未安装的更新,如果有,执行步骤 203 ,如果没有, 执行步骤 204; 步骤 203 , 安装更新, 执行步骤 214; 优选地,考虑到有可能出现用户长时间没有在客户端使用 widget系统的 情况, 在安装完上次的更新后, 有可能仍然不是最新版本, 为了防止此种情 况出现, 可在步骤 203安装更新完毕后, 返回步骤 204; 或者, 在下载更新 时记录下载时间,在安装更新时记录安装更新时间, 比较两时间的时间间隔, 如果大于预定值则执行步骤 204, 访问服务器, 如果不大于, 执行步骤 214, 不访问服务器。 步骤 204 , 客户端登录服务器, 并向服务器发送当前 widget系统的版本 信息; As shown in FIG. 2, an embodiment of the automatic upgrade process of the Widget system includes the following steps: Step 201: The client widget system is started; Step 202, it is determined whether there is an uninstalled update, and if yes, step 203 is performed, if not Step 203, step 203, install the update, perform step 214; preferably, considering that there is a possibility that the user does not use the widget system on the client for a long time, after the last update is installed, it may still be the latest In order to prevent this from happening, after the installation is completed in step 203, the process returns to step 204; or, the download time is recorded when the update is downloaded, and the installation update time is recorded when the update is installed, and the time interval between the two times is compared. The predetermined value is executed in step 204, and the server is accessed. If it is not greater than, the step 214 is executed, and the server is not accessed. Step 204: The client logs in to the server, and sends the version information of the current widget system to the server.

widget 系统登录服务器具体使用的协议可以使用超文本传输协议 ( HyperText Transfer Protocol , HTTP )、以及会话初: ½协议 ( Session Initiation Protocol, SIP )等, 可由双方事先约定。 版本信息例如可以是版本号, 也可以是唯一表示版本的其他任何信息。 步骤 205 , 服务器将客户端当前 widget系统的版本号与数据库中最新版 本的版本号进行比较; 步骤 206 , 服务器根据版本号比较结果判断客户端 widget系统是否需要 更新, 如果是, 执行步骤 207 , 如果不是, 执行步骤 214; 步骤 207 ,服务器对最新版本 widget系统和客户端当前上报的 widget系 统版本进行比较, 确定更新范围, 生成更新列表, 将更新列表发送给客户端; 服务器接收到客户端发送的版本信息后, 与数据库中的最新版本进行比 较, 如果客户端的当前版本已经是最新版本了, 则可结束更新过程, 或者通 知客户端无需更新; 如果客户端的当前版本不是最新版本, 即客户端版本号 低于服务器上的最新版本号, 比较客户端的当前版本和数据库中最新版本之 间的差异。 通常一个 widget系统由多部分组成, 可能的组成部分有: 解压缩 模块、 widget安全模块、 浏览器引擎、 扩展的 JavaScript应用程序编程接口 ( Application Programming Interface, API ) 、 widget应用管理模块、 以及安 全等部分。新版本相对于旧版本而言,通常只有一个或多个部分发生了变化。 因此更新时也只需更新对应部分即可, 即差异性更新。 根据比较结果, 确认 更新范围, 以更新文件列表的方式返回给客户端。 具体的形式可以釆用可扩 展标记语言 (xml )文件实现, 可包括以下子列表中的一个或多个: 要删除 的文件列表、 要增加的文件列表和要改变的文件列表, 每个子列表中包含需 更新文件的文件名, 需要时, 还可包括需更新的一个或多个文件对应的统一 资源定位符 ( Uniform / Universal Resource Locator, url ) 。 以包含上述三个子列表为例给出一种更新文件列表示例: The protocol used by the widget system login server can use the HyperText Transfer Protocol (HTTP) and the Session Initiation Protocol (SIP), etc., which can be agreed in advance by both parties. The version information may be, for example, a version number or any other information that uniquely represents the version. Step 205: The server compares the version number of the current widget system of the client with the version number of the latest version in the database. Step 206: The server determines, according to the comparison result of the version number, whether the client widget system needs to be updated. If yes, step 207 is performed. No, step 214 is performed; Step 207: The server compares the latest version of the widget system with the version of the widget system currently reported by the client, determines the update range, generates an update list, and sends the update list to the client; After receiving the version information sent by the client, the server compares with the latest version in the database. If the current version of the client is already the latest version, the update process may be ended, or the client may be notified that the update is not required; if the current version of the client is not The latest version, the client version number is lower than the latest version number on the server, compares the difference between the current version of the client and the latest version in the database. Usually a widget system consists of multiple parts. Possible components are: decompression module, widget security module, browser engine, extended JavaScript application programming interface (API), widget application management module, security, etc. section. The new version usually has only one or more parts changed relative to the old version. Therefore, it is only necessary to update the corresponding part when updating, that is, differential update. According to the comparison result, the update scope is confirmed, and the file list is returned to the client. The specific form can be implemented using an Extensible Markup Language (xml) file, and can include one or more of the following sub-lists: a list of files to be deleted, a list of files to be added, and a list of files to be changed, in each sub-list Contains the file name of the file to be updated, and if necessary, the Uniform / Universal Resource Locator ( url ) corresponding to one or more files to be updated. An example of an updated file list is given by taking the above three sublists as an example:

<update_files_ list> II 更新文件列表  <update_files_ list> II Update file list

<added— files— list > //要增加的文件列表  <added_files_list> //List of files to be added

<file> //增加的文件  <file> //Added files

<filename> 文件名 </filename> //增加文件的文件名  <filename> file name </filename> // increase the file name of the file

<url> 文件的 url <url> //文件对应的 url  <url> url of the file <url> // url corresponding to the file

</file>  </file>

</added— files— list > </added- files- list >

<changed— file— list s> //要改变的文件列表 <changed_ file_ list s> //list of files to be changed

<file> // 改变的文件  <file> // changed file

<filename> 文件名 </filename> // 改变文件的文件名  <filename> filename </filename> // change the file name of the file

<url> 文件的 url <url> //文件对应的 url  <url> url of the file <url> // url corresponding to the file

</file> </changed—files— list > </file> </changed_files_ list >

<delete— files— list > II要删除的文件列表 <delete_files_list> II List of files to delete

<file> //删除的文件  <file> // deleted files

<filename> 文件名 </filename> //删除文件的文件名  <filename> filename </filename> //delete the filename of the file

</file>  </file>

</delete—files— list > </delete—files— list >

</update_file_ list> 步骤 208 , 客户端根据更新文件列表确认需更新的文件, 如果有需要改 变和 /或需要更新的文件, 则下载对应文件并保存;  </update_file_ list> Step 208, the client confirms the file to be updated according to the updated file list, and if there is a file that needs to be changed and/or needs to be updated, the corresponding file is downloaded and saved;

在本步骤中, 客户端在收到服务器返回的更新文件列表后, 根据更新内 容, 下载对应文件, 即对于安装列表内新增的和有变化的文件, 按照每个文 件的对应 url下载文件, 并把全部数据保存为临时文件。 该临时文件如果没 有被安装, 在 widget系统关闭后也不会被清除。 步骤 209, 判断用户确认是否立即安装, 如果是, 执行步骤 211 , 如果不 是, 执行步骤 210; 下载完成后,提示用户是马上安装更新文件或下一次 widget系统启动时 再安装。 步骤 210, 标记该更新文件, 以便在下次 widget系统启动时安装; 步骤 211 , 保存当前的系统状态; 步骤 212, 对 widget系统进行更新; 如果用户选择马上安装, 则保存 widget 系统的当前状态, 关闭 widget 系统, 根据更新策略进行更新安装, 即只更新更新文件列表内的部分。 按照 更新文件列表里的新增文件, 把新增文件添加进来; 对于更新文件列表里有 改变的文件进行覆盖操作; 对于更新文件列表里需要删除的文件, 进行删除 操作。 步骤 213 , 重新启动 widget系统, 并根据步骤 211中保存的状态, 恢复 到关闭前的状态, 同时删除临时保存的下载更新文件; 步骤 214, 退出更新。 通过以上步骤可以达到 widget系统可更新的目的,可以有效提升用户体 验, 并为用户节约时间和精力。 在其他实施例中, 可以不包括步骤 202、 209和 210 , 即默认为发现更新 便安装。 在另外的实施例中, 也可以不执行步骤 211 , 仅在安装完更新后重 启 widget系统, 不会打开之前打开的 widget实例。 本实施例所提供的自动更新流程可与现有技术兼容, 即可为用户提供一 自动更新和手动更新按钮或选项, 根据用户的选择, 确定是自动更新还是手 动更新。 In this step, after receiving the list of updated files returned by the server, the client downloads the corresponding file according to the updated content, that is, for the newly added and changed files in the installation list, download the file according to the corresponding url of each file. And save all the data as a temporary file. If the temporary file is not installed, it will not be cleared after the widget system is closed. Step 209: Determine whether the user confirms whether to install immediately. If yes, go to step 211. If not, go to step 210. After the download is complete, prompt the user to install the update file immediately or install it again when the widget system starts. Step 210: Mark the update file to be installed at the next startup of the widget system; Step 211, save the current system state; Step 212, update the widget system; If the user chooses to install immediately, save the current state of the widget system, close The widget system, which is updated and installed according to the update policy, that is, only the parts of the update file list are updated. Follow the new file in the update file list to add the new file; overwrite the file with the changed file in the update file list; delete the file to be deleted in the update file list. Step 213, restarting the widget system, and returning to the state before the shutdown according to the state saved in step 211, and deleting the temporarily saved download update file; Step 214, exiting the update. Through the above steps, the purpose of the widget system can be updated, which can effectively improve the user experience and save time and effort for the user. In other embodiments, steps 202, 209, and 210 may not be included, ie, the installation is installed by default. In another embodiment, step 211 may not be performed. Restarting the widget system only after the update is installed does not open the previously opened widget instance. The automatic update process provided by this embodiment is compatible with the prior art, and can provide an automatic update and manual update button or option for the user, and determines whether to automatically update or manually update according to the user's selection.

需要说明的是, 如果不冲突, 本发明实施例以及实施例中的各个特征可 以相互结合, 均在本发明的保护范围之内。 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 It should be noted that, if not conflicting, the embodiments of the present invention and the various features of the embodiments may be combined with each other, and are all within the protection scope of the present invention. One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing 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/unit in the above embodiment may be implemented in the form of hardware or 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系统, 以达到更好的用户 体验。 同时, 还能节约用户的时间和精力。 Industrial applicability The invention can be applied to both the desktop widget system and the widget system on the mobile terminal device, can detect the latest widget system on the download server and automatically download and update the upgrade, so that the user can always use the latest version and the most complete widget system. To achieve a better user experience. At the same time, it can save users time and effort.

Claims

权 利 要 求 书 Claim 1、 一种微件(widget ) 系统的升级方法, 该方法包括: 客户端启动 widget 系统后登录服务器, 同时向服务器上报当前 widget 系统的版本信息; 所述服务器根据所述版本信息判断如果客户端 widget 系统不是最新版 本, 则向所述客户端发送更新文件列表; 以及 所述客户端根据所述更新文件列表执行相应的操作, 完成 widget系统升 级。 A method for upgrading a widget system, the method comprising: the client launching the widget system and logging in to the server, and reporting the version information of the current widget system to the server; the server determining, according to the version information, the client The widget system is not the latest version, and the update file list is sent to the client; and the client performs a corresponding operation according to the update file list to complete the widget system upgrade. 2、 根据权利要求 1所述的方法, 在所述客户端启动 widget系统后, 登 录服务器之前, 所述方法还包括: 所述客户端判断是否有未安装的更新, 如果判断有未安装的更新, 则安 装所述更新。 2. The method according to claim 1, after the client starts the widget system, before logging in to the server, the method further includes: the client determining whether there is an uninstalled update, if it is determined that there is an uninstalled update , then install the update. 3、 根据权利要求 2所述的方法, 所述方法还包括: 如果判断有未安装的更新, 在安装所述更新完成后, 退出升级流程; 或者, 在安装所述更新完成后, 计算所述未安装的更新的下载时间与当 前安装时间的时间间隔, 判断如果所述时间间隔大于预定门限, 则继续登录 服务器, 如果不大于预定门限, 退出升级流程。 3. The method according to claim 2, the method further comprising: if it is determined that there is an uninstalled update, exiting the upgrade process after the installation of the update is completed; or, after the installation of the update is completed, calculating the If the time interval is greater than the predetermined threshold, the server continues to log in to the server if the time interval is greater than the predetermined threshold. If the threshold is not greater than the predetermined threshold, the upgrade process is exited. 4、 根据权利要求 1所述的方法, 其中: 所述服务器根据所述版本信息判断如果客户端 widget 系统不是最新版 本, 则向所述客户端发送更新文件列表的步骤包括: 服务器将其上保存的所述 widget系统的最新版本的版本号与所述客户端 上报的版本信息中的版本号进行比较, 判断所述客户端版本号低于服务器上 的最新版本号时 ,则比较最新版本 widget系统与所述客户端 widget系统版本 的差异, 根据所述差异确定更新范围, 生成更新文件列表, 向所述客户端发 送。 4. The method according to claim 1, wherein: the server determines, according to the version information, that if the client widget system is not the latest version, the step of sending the update file list to the client comprises: the server saving the file Comparing the version number of the latest version of the widget system with the version number in the version information reported by the client, and determining that the client version number is lower than the latest version number on the server, comparing the latest version of the widget system Differentiating from the client widget system version, determining an update range according to the difference, generating an update file list, and sending the update file list to the client give away. 5、 根据权利要求 1或 4所述的方法, 其中: 所述更新文件列表包括以下子列表中的一个或几个:要删除的文件列表、 要增加的文件列表、 以及要改变的文件列表; 所述要删除的文件列表包括要删除的文件的名称; 所述要增加的文件列 表包括要增加的文件的名称以及该一个或多个文件的下载地址; 所述要改变 的文件列表包括要修改的文件的名称以及该一个或多个文件的下载地址。 5. The method according to claim 1 or 4, wherein: the update file list comprises one or more of the following sub-lists: a list of files to be deleted, a list of files to be added, and a list of files to be changed; The file list to be deleted includes a name of a file to be deleted; the file list to be added includes a name of a file to be added and a download address of the one or more files; and the file list to be changed includes a file to be modified The name of the file and the download address of the one or more files. 6、 根据权利要求 5所述的方法, 其中: 所述客户端根据所述更新文件列表执行对应的操作, 完成 widget系统升 级的步骤包括: 所述客户端根据所述更新文件列表的内容判断需要下载文件, 从所述服 务器下载需要新增的文件和 /或需要修改的文件并保存; 以及 客户端根据用户发送的立即安装命令或下次启动时再安装的命令, 确定 执行以下操作中一种或几种的时机: 安装新增的文件、 安装修改的文件、 以 及删除所述更新文件列表指示的需要删除的文件。 The method according to claim 5, wherein: the client performs a corresponding operation according to the updated file list, and the step of completing the widget system upgrade comprises: determining, by the client, the content according to the content of the updated file list Download the file, download the file to be added from the server and/or the file to be modified and save it; and the client determines to perform one of the following operations according to the immediate installation command sent by the user or the command to be installed at the next startup. Or several timings: Install new files, install modified files, and delete the files that need to be deleted as indicated by the list of updated files. 7、 一种微件(widget ) 系统的升级系统, 该系统包括服务器更新升级子 系统和客户端更新升级子系统, 其中: 所述客户端更新升级子系统设置为: 在 widget系统启动后登录服务器, 向服务器更新升级子系统上报当前 widget系统的版本信息; 以及根据所述服 务器更新升级子系统发送的更新文件列表执行相应的操作, 完成 widget系统 升级; 7. An upgrade system for a widget system, the system comprising a server update upgrade subsystem and a client update upgrade subsystem, wherein: the client update upgrade subsystem is set to: log in to the server after the widget system is started. And updating the upgrade subsystem to report the version information of the current widget system; and performing a corresponding operation according to the list of the update files sent by the server update and upgrade subsystem, and completing the widget system upgrade; 所述服务器更新升级子系统设置为: 根据所述版本信息判断如果客户端 的 widget系统不是最新版本,则向所述客户端更新升级子系统发送更新文件 列表。  The server update upgrade subsystem is configured to: determine, according to the version information, that if the client's widget system is not the latest version, send the update file list to the client update upgrade subsystem. 8、 根据权利要求 7所述的系统, 其中: 所述服务器更新升级子系统包括: 网络交互模块、 版本管理模块、 下载 策略模块和下载模块, 其中: 网络交互模块设置为: 与客户端进行交互, 提供客户端登录, 接收客户 端更新升级子系统发送的版本信息, 以及向客户端更新升级子系统发送所述 下载策略模块生成的更新文件列表; 版本管理模块设置为: 存放各个版本的 widget系统, 并提供查询服务; 下载策略模块设置为: 根据所述客户端发送的版本信息以及版本管理模 块保存的最新版本 widget系统的版本信息判断客户端 widget系统是否需要更 新,如果需要更新,则通过所述版本管理模块查询其上保存的最新版本 widget 系统内容确定客户端 widget系统中需要更新范围, 生成更新文件列表; 下载模块设置为: 在客户端更新升级子系统发送下载文件请求时, 向客 户端更新升级子系统提供数据下载服务。 8. The system of claim 7 wherein: The server update and upgrade subsystem includes: a network interaction module, a version management module, a download policy module, and a download module, wherein: the network interaction module is configured to: interact with the client, provide client login, and receive the client update upgrade subsystem. The version information sent, and the update file list generated by the download policy module sent to the client update upgrade subsystem; the version management module is configured to: store each version of the widget system, and provide a query service; the download policy module is set to: The version information sent by the client and the version information of the latest version of the widget system saved by the version management module determine whether the client widget system needs to be updated. If the update is required, the version management module is used to query the latest version of the widget system saved on the client. The content determines that the client widget system needs to update the scope, and generates a list of update files; the download module is set to: when the client update upgrade subsystem sends a download file request, the data download service is provided to the client update upgrade subsystem. . 9、 根据权利要求 7所述的系统, 其中: 所述客户端更新升级子系统包括: 网络交互模块、 下载模块和更新安装 模块, 其中: 网络交互模块设置为: 与服务器进行交互, 登录服务器, 并向服务器更 新升级子系统上报当前 widget系统的版本信息; 以及接收服务器更新升级子 系统发送的更新文件列表; 下载模块设置为: 根据所述更新文件列表, 向服务器更新升级子系统发 送下载文件请求, 从服务器更新升级子系统下载对应的更新文件; 更新安装模块设置为: 根据下载的更新文件对 widget系统进行升级。 9. The system according to claim 7, wherein: the client update and upgrade subsystem comprises: a network interaction module, a download module, and an update installation module, wherein: the network interaction module is configured to: interact with the server, log in to the server, And updating the upgrade subsystem to report the version information of the current widget system; and receiving the update file list sent by the server update upgrade subsystem; the download module is set to: send a download file request to the server update upgrade subsystem according to the update file list Download the corresponding update file from the server update and upgrade subsystem. The update installation module is set to: Upgrade the widget system according to the downloaded update file. 10、 根据权利要求 9所述的系统, 其中: 所述客户端 widget系统还包括用户交互模块,所述用户交互模块设置为: 与用户进行交互,接收用户发送的立即安装命令或下次启动时再安装的命令。 10. The system according to claim 9, wherein: the client widget system further comprises a user interaction module, the user interaction module is configured to: interact with the user, receive an immediate installation command sent by the user, or start the next time The command to install again. 11、 一种客户端更新升级子系统, 包括网络交互模块、 下载模块、 更新 安装模块和用户交互模块, 其中: 网络交互模块设置为: 与服务器进行交互, 登录服务器, 并向服务器更 新升级子系统上报当前 widget系统的版本信息; 以及接收服务器更新升级子 系统发送的更新文件列表; 下载模块设置为: 根据所述更新文件列表, 向服务器更新升级子系统发 送下载文件请求, 从服务器更新升级子系统下载对应的更新文件; 更新安装模块设置为: 根据下载的更新文件对 widget系统进行升级。 11. A client update and upgrade subsystem, comprising a network interaction module, a download module, an update installation module, and a user interaction module, wherein: The network interaction module is configured to: interact with the server, log in to the server, and report the version information of the current widget system to the server update upgrade subsystem; and receive a list of update files sent by the server update upgrade subsystem; the download module is set as: Update the file list, send a download file request to the server update upgrade subsystem, and download the corresponding update file from the server update upgrade subsystem; the update installation module is set to: upgrade the widget system according to the downloaded update file.
PCT/CN2011/071169 2010-09-20 2011-02-22 Upgrade method and system for widget system Ceased WO2012037793A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010102905077A CN101945135A (en) 2010-09-20 2010-09-20 Method and system for upgrading widget system
CN201010290507.7 2010-09-20

Publications (1)

Publication Number Publication Date
WO2012037793A1 true WO2012037793A1 (en) 2012-03-29

Family

ID=43436903

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071169 Ceased WO2012037793A1 (en) 2010-09-20 2011-02-22 Upgrade method and system for widget system

Country Status (2)

Country Link
CN (1) CN101945135A (en)
WO (1) WO2012037793A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170220749A1 (en) * 2016-02-01 2017-08-03 MD Aware LLC Systems and methods for identifying and using medical calculators

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10176476B2 (en) 2005-10-06 2019-01-08 Mastercard Mobile Transactions Solutions, Inc. Secure ecosystem infrastructure enabling multiple types of electronic wallets in an ecosystem of issuers, service providers, and acquires of instruments
US10026079B2 (en) 2005-10-06 2018-07-17 Mastercard Mobile Transactions Solutions, Inc. Selecting ecosystem features for inclusion in operational tiers of a multi-domain ecosystem platform for secure personalized transactions
CN101945135A (en) * 2010-09-20 2011-01-12 中兴通讯股份有限公司 Method and system for upgrading widget system
CN102843400A (en) * 2011-06-23 2012-12-26 珠海市君天电子科技有限公司 method and system for downloading file
CN102332135A (en) * 2011-08-02 2012-01-25 中兴通讯股份有限公司 Method, device and system for updating order list of mobile terminal television
CN102289480B (en) * 2011-08-02 2013-05-01 深圳市茁壮网络股份有限公司 Method and system for updating data
CN102609277B (en) * 2011-08-26 2014-05-21 威海捷讯通信技术有限公司 Application software upgrading method of mobile terminal
IN2014KN00998A (en) 2011-10-12 2015-09-04 C Sam Inc
CN103164317B (en) * 2011-12-08 2018-04-03 腾讯科技(深圳)有限公司 A kind of method and apparatus for detecting renewal
US20130263053A1 (en) * 2012-03-29 2013-10-03 Charles G. Tritschler Media widget to interface with multiple underlying applications
CN103634272B (en) * 2012-08-21 2018-09-04 腾讯科技(深圳)有限公司 File scanning method, client device and server
CN104038520B (en) * 2013-03-05 2017-11-10 北京畅游天下网络技术有限公司 A kind of multi version distributive resource managing method and system
CN103237007A (en) * 2013-03-22 2013-08-07 华为技术有限公司 Method and device for updating media files
CN103618727B (en) * 2013-12-04 2017-02-15 国家电网公司 Information processing method and system for application system
CN105677375A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Update control device, terminal, terminal update method and system
CN105045770B (en) * 2015-07-22 2018-03-23 福建福昕软件开发股份有限公司 A kind of document redaction automatic reminding method
CN105389187B (en) * 2015-11-26 2021-10-26 普华基础软件股份有限公司 System updating method
CN107203395A (en) * 2017-05-19 2017-09-26 北京京东尚科信息技术有限公司 Resource graded method, device and computer-readable recording medium and electronic equipment
CN107092512A (en) * 2017-06-14 2017-08-25 成都三零凯天通信实业有限公司 A kind of cross-platform remote update system and method
CN107562435A (en) * 2017-09-01 2018-01-09 郑州云海信息技术有限公司 A kind of batch upgrading method and system based on snapshot
CN107659458B (en) * 2017-11-02 2021-04-13 广东亿迅科技有限公司 Agent deployment and upgrade method and system based on git version control
CN108923968B (en) * 2018-06-28 2021-11-02 京信网络系统股份有限公司 Link terminal system upgrade method, device, link terminal and storage medium
CN110012096B (en) * 2019-04-03 2021-12-24 中国工商银行股份有限公司 Mobile client service update management method, device and system
CN111061504B (en) * 2019-11-13 2023-06-23 广州视源电子科技股份有限公司 Multi-system version matching method, system, server, client and electronic equipment
CN114666397B (en) * 2022-01-29 2024-07-23 北京北信源软件股份有限公司 Client version updating method and system
CN114756265A (en) * 2022-05-06 2022-07-15 四川中普盈通科技有限公司 BIOS upgrading method
CN116049207A (en) * 2023-01-12 2023-05-02 山石网科通信技术股份有限公司 Application SQL script processing method and device, processor and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026464A (en) * 2006-02-25 2007-08-29 宇龙计算机通信科技(深圳)有限公司 Wireless terminal wireless upgrding method and wireless upgrading system
CN101453451A (en) * 2007-12-07 2009-06-10 北京闻言科技有限公司 Method for incrementally downloading data
CN101605294A (en) * 2009-07-13 2009-12-16 浙江大学 Method of Widget component management based on TD-SCDMA network
CN101626391A (en) * 2008-07-08 2010-01-13 盛大计算机(上海)有限公司 Method for processing resource of network game client
CN101945135A (en) * 2010-09-20 2011-01-12 中兴通讯股份有限公司 Method and system for upgrading widget system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002073561A (en) * 2000-09-01 2002-03-12 Toyota Motor Corp Authentication method and authentication system for user accessing via communication network, and information processing system using these

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026464A (en) * 2006-02-25 2007-08-29 宇龙计算机通信科技(深圳)有限公司 Wireless terminal wireless upgrding method and wireless upgrading system
CN101453451A (en) * 2007-12-07 2009-06-10 北京闻言科技有限公司 Method for incrementally downloading data
CN101626391A (en) * 2008-07-08 2010-01-13 盛大计算机(上海)有限公司 Method for processing resource of network game client
CN101605294A (en) * 2009-07-13 2009-12-16 浙江大学 Method of Widget component management based on TD-SCDMA network
CN101945135A (en) * 2010-09-20 2011-01-12 中兴通讯股份有限公司 Method and system for upgrading widget system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170220749A1 (en) * 2016-02-01 2017-08-03 MD Aware LLC Systems and methods for identifying and using medical calculators

Also Published As

Publication number Publication date
CN101945135A (en) 2011-01-12

Similar Documents

Publication Publication Date Title
WO2012037793A1 (en) Upgrade method and system for widget system
CN101203832B (en) System and method for providing content aggregation platform
JP6945782B2 (en) Methods and devices and electronic devices that enable communication between web pages and native applications
US20040010786A1 (en) System and method for automatically upgrading a software application
US20070011665A1 (en) Content syndication platform
WO2012034471A1 (en) Method, mobile terminal and application server for dynamically processing applications
WO2010145489A1 (en) System and method for software updating
WO2013097592A1 (en) Script loading technology
WO2011088714A1 (en) Method, device and system for running application
EP2021937A2 (en) Techniques to perform gradual upgrades
CN103677956B (en) A kind of method and apparatus of the application operation of simulation mobile device on the computing device
JP2011227912A (en) System for automatic installation of registry base on device and for component handing
WO2012051865A1 (en) Method and system for widget application management
CN111427594A (en) Application program running method and device
CN107844597B (en) Game application management method, electronic device and computer readable medium
RU2376715C1 (en) Multimedia middleware device which uses metadata, method of managing multimedia middleware and data carrier thereof
US20240281234A1 (en) Method, apparatus, electronic device and storage medium for installing applications across systems
CN105471980A (en) Embedded-OpenWrt-wireless-router-technology-based cloud server data access method
CN104079540A (en) Method, device and system of updating application as well as user equipment
CN101326515A (en) Metadata-driven application deployment
CN101957768A (en) Installation method of mobile Widget package
EP1714508B1 (en) A method for configuring an electronic device
CN101340463A (en) A method and device for determining network resource type
CN113645289B (en) Quota data request method, quota data transmission method, client, server and quota data transmission system
CN100474285C (en) Method and apparatus for automatically processing components on a device

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: 11826320

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: 11826320

Country of ref document: EP

Kind code of ref document: A1