CN101958930A - Method for updating and checking mobile widget client - Google Patents

Method for updating and checking mobile widget client Download PDF

Info

Publication number
CN101958930A
CN101958930A CN 201010290590 CN201010290590A CN101958930A CN 101958930 A CN101958930 A CN 101958930A CN 201010290590 CN201010290590 CN 201010290590 CN 201010290590 A CN201010290590 A CN 201010290590A CN 101958930 A CN101958930 A CN 101958930A
Authority
CN
China
Prior art keywords
mobile widget
updated
update
local
renewal
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.)
Pending
Application number
CN 201010290590
Other languages
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN 201010290590 priority Critical patent/CN101958930A/en
Publication of CN101958930A publication Critical patent/CN101958930A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for updating and checking a mobile widget client. The method is to determine whether a mobile client widget is updated, and comprises the following steps of: recording the updated mobile widget information, formulating a rule whether the mobile widget is locally updated, formulating a rule whether the mobile widget is updated from the Internet, and the like. The method has the advantages of improving the accuracy of updating the mobile widget, guaranteeing the up-to-date property of the mobile widget and meeting the requirement of experiencing the newest functional mobile widget by a customer.

Description

A kind of mobile widget client is upgraded the method for checking
Technical field
Technical method is checked in the renewal that the present invention relates to a kind of mobile widget client.
Background technology
Widget is the code that a fritter can be carried out on any one Web page based on HTML, and its form of expression may be a video, map, news, trivial games etc.Come from an inserter tool--the Konfabulator of Apple Computers at first, expanded on various desktop operating systems and the mobile phone operating system now.It mainly is that cell-phone customer terminal is used at present that mobile Internet in the mobile phone is used.Through development in a few years, the cell-phone customer terminal that some occurred is used, and comprises mobile phone games, e-book, mobile phone magazine, cell phone map, mobile phone mailbox etc., and these application have obtained cellphone subscriber's welcome to a certain degree.But use for cell-phone customer terminal, subject matter has three: first, the adaptive problem of mobile phone, almost each client application all faces the adaptive workload to different mobile phones, cause third party development company energy can't be poured into the diversity application innovation fully, a often application is seized state power; The second, do not support technical problems such as dynamic application download, cause the cellphone subscriber to obtain the direct channel disappearance of application; The 3rd, the threshold that exists client application to develop can't be realized mass participation.These all cause cell-phone customer terminal to be used can't realize the surge of quality and quantity in essence, can't satisfy the mobile phone content application demand of user individual.This little application form of Widget is under this hardware condition that limitation relatively arranged of mobile phone terminal, differs and function differs by the form of expression, is that of the user that requires of increasing now pursuing individuality mobile phone well selects.The Widget of main flow comprises Yahoo Widget, Google gadget, Apple dashboard Widget and Facebook Widget etc. at present.
Widget is changing the access mode of the Internet as a kind of special " webpage ", and customer access network no longer needs to depend on browser, but just can realize the web function by these small tools.Widget also provides brand-new user experience to the user.Can customize the own needed various services that realize by Widget user, arbitrarily the desktop of personalization oneself is experienced its again little and cruel style.Widget has that stature is little, form is many, function is big, looks are beautiful, personalized, make numerous advantages such as easy, and the renewal frequency of widget is very fast, the release of redaction widget is just arranged at set intervals, and more and more the widget of redaction has given the user many new experience.
The user is if experience the new function of widget, new interface, just need to upgrade own local existing widget, yet when and how to remove to carry out widget upgrade and to need a series of rule and go standard, can avoid many useless and loaded down with trivial details operations, the burden of mitigation system.
The environment at place just is called the widget user agent during Widget operation, comprising: 1, the web browser of Ben Di support widget; 2, as this class browser extension modules such as plug-in units; 3, the Ajax storehouse of in web browser, moving; 4, be independent of the private subscribers agency of browser, as the user agent that uses .NET to realize in the user agent that uses J2SE or J2ME to realize in the Java Virtual Machine (JVM), the CLR (CLR), operate in local desktop programs on the operating system etc.; 5, can handle the Runtime Library collection of playing up with bindings what server end moved.
Summary of the invention
In order to determine whether upgrade mobile widget, alleviate the burden that mobile widget upgrades operation, allow the user experience redaction better and move widget.The object of the present invention is to provide a kind of mobile widget client to upgrade the method for checking.The present invention formulates series of rules for the widget user agent exactly, is used for decision and whether upgrades widget.
The technical scheme that technical solution problem of the present invention is adopted is:
Propose a kind of mobile widget client and upgrade the method for checking, comprise the steps:
1) will be updated mobile widget information is recorded in the information table, described information comprises mobile widget title, version number, content description, renewal source, last update time, and described renewal source is a kind of in local path and the network linking address or comprises local path and network linking address simultaneously; Described local path is meant that this locality of user's appointment is used to deposit the directory address of mobile widget update package, and described network linking address is meant the network address that can download to up-to-date mobile widget;
2) upgrade inspection:
If the renewal source is local path then carries out the local update inspection according to local update inspection rule;
If the renewal source is the network linking address then upgrades the inspection rule according to the internet and carry out internet renewal inspection;
If two addresses all exist, then earlier carry out the local update inspection, if failure is then carried out the internet renewal according to internet renewal inspection rule and checked according to local update inspection rule.
Described local update inspection rule is:
1) checks the last update time that is updated mobile widget, the local system time was compared with the last update time,, then stop the local update inspection, otherwise enter next step if do not surpass cycle update time;
2) according to the local path that is updated in the mobile widget information table, search under the mobile widget bag storing directory and whether have mobile widget bag, if exist, then it as a potential update package, enter next step, if mobile widget bag does not exist or be incorrect, then stop the local update inspection;
3) relatively be updated the version number of mobile widget and the version number of potential update package, if be updated the version number that the version number of mobile widget is lower than potential update package, then carry out mobile widget and upgrade, otherwise stop the local update inspection;
4) if potential update package version number loses or mistake, then show the content description of potential update package, whether upgrade according to the content description decision of potential update package by the user to the user;
Described internet upgrades checks that rule is as follows:
1) checks the last update time that is updated mobile widget, the local system time was compared with the last update time,, then stop the local update inspection, otherwise enter next step if do not surpass cycle update time;
2) according to the network linking address that is updated in the mobile widget information table, inquire about the renewal description document UDD of mobile widget, record the version number in potential renewal source among the described renewal description document UDD;
3) relatively be updated mobile widget information table and the version number that upgrades description document UDD,, then upgrade, otherwise stop checking if the former is lower than the latter;
4) if version number loses or mistake among the UDD, whether the user checks and upgrades the difference that is used to write down and be updated mobile widget among the description document UDD, upgraded by user's decision.
Also record the network linking address in other potential renewal sources that the user agent can retrieve among the described renewal description document UDD, if according to above-mentioned steps, fail to find suitable renewal according to the network linking address that is updated in the mobile widget information table, then according to the network linking address in other potential renewal sources of upgrading description document UDD, inquire about the renewal description document UDD of mobile widget, be lower than the version number that upgrades description document UDD if be updated the version number of mobile widget, then upgrade, otherwise stop checking.
The beneficial effect that the present invention has is: at first, be updated the information of mobile widget by record, can check that rule provide information standard accurately for upgrading; The local update of formulating is checked rule, can make the user agent determine whether to carry out local resource according to rule and upgrade, and the formulation of every rule has all minimized checks the cost of whether upgrading; The internet of formulating upgrades checks rule, and the user agent can determine whether carry out the renewal of mobile widget from the internet according to this rule, guarantees to carry out the accuracy of upgrading operation, further alleviates the user agent and carries out the burden that mobile widget upgrades.
Description of drawings
Fig. 1 is the overview flow chart of an embodiment of the present invention;
Fig. 2 is that the local update of an embodiment of the present invention is checked flow chart;
Fig. 3 is that the internet of an embodiment of the present invention upgrades the inspection flow chart.
Embodiment
As shown in Figure 1, a kind of mobile widget client of present embodiment is upgraded the method for checking, its specific implementation flow process is as follows:
1) record is updated mobile widget information
Title name, the version of version number of the mounted widget of record (be and be updated widget), content description content, renewal source source (network linking address, local path), last update time time (then writing down the set-up time first) in an information table if install first;
Be an example of widget information table below:
Figure BDA0000027004920000041
2) upgrade the inspection rule
Upgrade when checking, at first selecting according to the renewal source is that local update inspection or internet upgrade inspection, if the renewal source is local path then only carries out the local update inspection, upgrade inspection if the internet is then only carried out in the network linking address,, then carry out the local update inspection earlier if two addresses all exist, if failure, promptly do not obtain available renewal source in this locality through the regular mobile widget in back that checks of local update, then carry out the internet and upgrade inspection, concrete rule and step are as follows:
1. local update is checked rule
I, inspection are updated the last update time of mobile widget, compare with the local system time, if surpass 24 hours, then stop the local update inspection, otherwise enter next step;
II, basis are updated the local path in the mobile widget information table, find mobile widget bag (prerequisite is that this locality must have a private directory of depositing mobile widget bag), it as a potential update package, if mobile widget bag does not exist or be incorrect, then stop the local update inspection;
III, relatively be updated the version number of mobile widget and the version number of potential update package, if be updated the version number that the version number of mobile widget is lower than potential update package, then carry out mobile widget and upgrade, otherwise stop the local update inspection;
If the potential update package of IV version number loses or mistake, then show the content description of potential update package to the user, whether upgrade according to the content description decision of potential update package by the user; Described description content record this update package and the improvements of version before, as write down aspects such as function, efficient, interface before version improve to some extent, then upgrade.
2. the internet upgrades and checks rule
I, inspection are updated the last update time of mobile widget, compare with the local system time, if surpass 24 hours, then stop the internet and upgrade inspection, otherwise enter next step;
II, by the network linking address in the information table, inquire about the renewal description document UDD of mobile widget, upgrading description document is mobile widget author's statement, be used to write down the version number in potential renewal source, other potential renewal sources that the user agent can retrieve the network linking address, with the difference that is updated mobile widget;
III, relatively be updated mobile widget information table and upgrade the version number of description document UDD, if the former is lower than the latter, then upgrade, otherwise stop checking;
IV, check upgrade description document UDD record with the difference that is updated mobile widget, if improvement is arranged, then upgrade, otherwise enter next step at aspects such as function, efficient, interfaces;
V, according to the network linking address in other potential renewal sources of upgrading description document UDD, repeat above step.
Be an example that upgrades description document UDD below:
Figure BDA0000027004920000061

Claims (4)

1. a mobile widget client is upgraded the method for checking, it is characterized in that comprising the steps:
1) will be updated mobile widget information is recorded in the information table, described information comprises mobile widget title, version number, content description, renewal source, last update time, and described renewal source is a kind of in local path and the network linking address or comprises local path and network linking address simultaneously; Described local path is meant that this locality of user's appointment is used to deposit the directory address of mobile widget update package, and described network linking address is meant the network address that can download to up-to-date mobile widget;
2) upgrade inspection:
If the renewal source is local path then carries out the local update inspection according to local update inspection rule;
If the renewal source is the network linking address then upgrades the inspection rule according to the internet and carry out internet renewal inspection;
If two addresses all exist, then earlier carry out the local update inspection, if failure is then carried out the internet renewal according to internet renewal inspection rule and checked according to local update inspection rule.
2. mobile widget client as claimed in claim 1 is upgraded the method for checking, it is characterized in that described local update inspection rule is:
1) checks the last update time that is updated mobile widget, the local system time was compared with the last update time,, then stop the local update inspection, otherwise enter next step if do not surpass cycle update time;
2) according to the local path that is updated in the mobile widget information table, search under the mobile widget bag storing directory and whether have mobile widget bag, if exist, then it as a potential update package, enter next step, if mobile widget bag does not exist or be incorrect, then stop the local update inspection;
3) relatively be updated the version number of mobile widget and the version number of potential update package, if be updated the version number that the version number of mobile widget is lower than potential update package, then carry out mobile widget and upgrade, otherwise stop the local update inspection;
4) if potential update package version number loses or mistake, then show the content description of potential update package, whether upgrade according to the content description decision of potential update package by the user to the user;
3. mobile widget client as claimed in claim 1 is upgraded the method for checking, it is as follows to it is characterized in that described internet upgrades the inspection rule:
1) checks the last update time that is updated mobile widget, the local system time was compared with the last update time,, then stop the local update inspection, otherwise enter next step if do not surpass cycle update time;
2) according to the network linking address that is updated in the mobile widget information table, inquire about the renewal description document UDD of mobile widget, record the version number in potential renewal source among the described renewal description document UDD;
3) relatively be updated mobile widget information table and the version number that upgrades description document UDD,, then upgrade, otherwise stop checking if the former is lower than the latter;
4) if version number loses or mistake among the UDD, whether the user checks and upgrades the difference that is used to write down and be updated mobile widget among the description document UDD, upgraded by user's decision.
4. mobile widget client as claimed in claim 3 is upgraded the method for checking, it is characterized in that: if according to the network linking address that is updated in the mobile widget information table, fail to find suitable renewal, then according to the network linking address of upgrading other the potential renewal sources among the description document UDD, inquire about the renewal description document UDD of mobile widget, be lower than the version number that upgrades description document UDD if be updated the version number of mobile widget, then upgrade, otherwise stop checking.
CN 201010290590 2010-09-25 2010-09-25 Method for updating and checking mobile widget client Pending CN101958930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010290590 CN101958930A (en) 2010-09-25 2010-09-25 Method for updating and checking mobile widget client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010290590 CN101958930A (en) 2010-09-25 2010-09-25 Method for updating and checking mobile widget client

Publications (1)

Publication Number Publication Date
CN101958930A true CN101958930A (en) 2011-01-26

Family

ID=43486033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010290590 Pending CN101958930A (en) 2010-09-25 2010-09-25 Method for updating and checking mobile widget client

Country Status (1)

Country Link
CN (1) CN101958930A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099758A (en) * 2015-06-12 2015-11-25 小米科技有限责任公司 Methods and devices for transmitting update data package

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533410A (en) * 2009-04-13 2009-09-16 浙江大学 Widget content buffering method facing mobile terminal
CN101605294A (en) * 2009-07-13 2009-12-16 浙江大学 Method based on the Widget assembly management of TD-SCDMA network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533410A (en) * 2009-04-13 2009-09-16 浙江大学 Widget content buffering method facing mobile terminal
CN101605294A (en) * 2009-07-13 2009-12-16 浙江大学 Method based on the Widget assembly management of TD-SCDMA network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099758A (en) * 2015-06-12 2015-11-25 小米科技有限责任公司 Methods and devices for transmitting update data package

Similar Documents

Publication Publication Date Title
CN101533410B (en) Widget content buffering method facing mobile terminal
US20140222824A1 (en) Method and apparatus for portable index on a removable storage medium
CN104115142B (en) For the file specific to equipment of bookmark synchronization
CN102455930A (en) Method for classifying and installing application programs
CN102984357B (en) Contact person information managing method and managing device
CN101958987A (en) Method and system for dynamically converting telecommunications service data
CN101196917A (en) Implementing method and apparatus for sharing letter form
CN103235685A (en) Method and device for setting desktop content of terminal operating system
CN110532059B (en) Quota management method and device for K8s cluster management software
CN101833467A (en) Method and equipment for adding menu items into Android menu
CN105302832A (en) File management method and apparatus
CN104750472B (en) The resource package management method and device of a kind of terminal applies
CN107402950A (en) Divide the document handling method and device of table based on point storehouse
CN110069264A (en) Construct method, apparatus, computer equipment and the storage medium of resource packet
CN103716346A (en) Management method and device of application on android handset client
CN102932445A (en) Method and device for acquiring statuses of network contents
CN104216902A (en) Paging data loading method, device and system based on server paging
CN103379476A (en) Terminal and contact information updating method
CN110781183A (en) Method and device for processing incremental data in Hive database and computer equipment
CN108270626A (en) A kind of method, apparatus, equipment and the readable storage medium storing program for executing of upgrade server firmware
CN108228717A (en) The loading method and device of the page
CN101923571A (en) Method and device for managing terminal data logging
CN103440285A (en) Large-scale mobile phone game system and database updating method of large-scale mobile phone game system
CN107807830A (en) Medical software update method and server based on cluster
CN106502757A (en) A kind of plug-in management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110126