CN103186391A - Browser upgrading method and system and upgrading server - Google Patents
Browser upgrading method and system and upgrading server Download PDFInfo
- Publication number
- CN103186391A CN103186391A CN2011104523298A CN201110452329A CN103186391A CN 103186391 A CN103186391 A CN 103186391A CN 2011104523298 A CN2011104523298 A CN 2011104523298A CN 201110452329 A CN201110452329 A CN 201110452329A CN 103186391 A CN103186391 A CN 103186391A
- Authority
- CN
- China
- Prior art keywords
- configuration data
- browser
- version
- upgrading
- current version
- 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.)
- Granted
Links
Images
Abstract
The invention discloses a browser upgrading method, a browser upgrading system and an upgrading server, and belongs to the field of mobile communication. The method comprises the following steps of: receiving the version information and configuration data of a current version and the version information of an upgraded version; acquiring configuration data for upgrading according to the version information of the current version and the version information of the upgraded version; and modifying the configuration data of the current version according to the configuration data for upgrading to acquire the configuration data of the upgraded version, so that a browser is upgraded by an application server according to the configuration data of the upgraded version. By the configured upgrading server, the browser is more compatible during updating, and occupied resources are greatly saved; and in addition, a user is guided to autonomously select configuration information for upgrading in an upgrading process, so that the version upgrading of the browser is more humanized.
Description
Technical field
The present invention relates to moving communicating field, particularly a kind of browser upgrade method and system and a kind of upgrade server.
Background technology
The different version of browser is made up of different configuration files, in the navigator product escalation process, often need to guarantee the configuration file compatibility of new and old edition, at first being to guarantee that the personal settings of user under legacy version remain valid in redaction, secondly is to guarantee that the personal data information (bookmark, historical record) of user under legacy version etc. remains valid in redaction.Because we in the process of edition upgrading, may increase (perhaps reducing) some personalized characteristics, may strengthen the description of (perhaps changing) personal data information, these change the data structure that all may cause revising configuration file.
At present, a kind of the most frequently used way is to use the data structure of scalable format to manage configuration information and personal data information in the version in version, protobuf (being the serializing framework of increasing income that Google provides) as Google is exactly a kind of extendible data layout, use this data layout as configuration file, can increase very easily or reduce configuration item and guarantee successful serializing and the unserializing of configuration file, realize that the version configuration on the lower level is compatible.
In realizing process of the present invention, the inventor finds that there is following limitation at least in prior art:
But this limitation is from the design concept of growth data form, but in order to realize extended attribute, each expansion item has a sequence number, this sequence number and data item all will be consistent in the data structure of each version, can only increase like this or discarded configuration item, and can not data item be made an amendment, for example: can't delete discarded configuration item, may produce problem shown in Figure 1, Fig. 1 is the distribution schematic diagram of configuration item during edition upgrading in the prior art, when wherein version 1.0 upgraded to version 1.1, original configuration item 2 and configuration item 3 went out of use but also keep in version 1.1, and version 1.1 has increased configuration item 5 and configuration item 6 newly; Version 1.1 upgrades at 1.2 o'clock, and original configuration item 6 goes out of use but still keeps in version 1.2, and version 1.2 has increased configuration item 7 newly.When being embodied in the edition upgrading like this, also can keeping in the version of new upgrading and need the data item of deleting in original version, as can be known, extendible data structure will infinitely increase along with version evolution, and the professional complexity of client also will increase.Therefore need to propose a kind of improved technical scheme to address the above problem.
Summary of the invention
The object of the present invention is to provide a kind of browser upgrade method and system and a kind of upgrade server, it is upgraded by the configuration upgrade server, can make amendment to configuration data, and it is few to take resource after the feasible upgrading, and can guide user's selection of upgrading, have more hommization.
In order to realize purpose of the present invention, the embodiment of the invention provides a kind of browser upgrade method and method and a kind of upgrade server.Described technical scheme is as follows:
A kind of browser upgrade method, it comprises:
Receive version information and the configuration data of browser current version, and the version information of upgraded version;
According to the version information of described current version and the version information of described upgraded version, obtain the configuration data for upgrading;
According to described for the upgrading configuration data revise described current version configuration data to obtain the configuration data of described upgraded version, application server is upgraded to described browser according to the configuration data of described upgraded version.
The beneficial effect that the technical scheme that above-described embodiment provides is brought is: can directly revise configuration data in the process of upgrading, can reduce the resource that takies after the upgrading.
Further, the described configuration data of revising current version according to described configuration data for upgrading comprises with the configuration data that obtains upgraded version:
Revise order according to described configuration data for upgrading to send configuration data to browser, make described browser revise order according to described configuration data and make corresponding selection;
Selection correspondence according to described browser is revised the configuration data of current version to obtain the configuration data of upgraded version.
Further, described configuration data is revised order and is comprised deletion configuration data select command, increases the configuration data select command and upgrade the configuration data select command, and described modification comprises deletion, increases or upgrades.
Further, described basis is revised order for the configuration data of upgrading to send configuration data to described browser, makes described browser make corresponding selection according to described configuration data modification order and specifically comprises:
Configuration data in being present in current version be not present in described for the upgrading configuration data the time, then send the deletion configuration data select command of this configuration data correspondence to browser, make browser selects whether to delete configuration data corresponding in the described current version according to described deletion configuration data select command;
When not being present in a configuration data in the current version and being present in described configuration data for upgrading, then send the increase configuration data select command of this configuration data to browser, make browser select whether to increase the described configuration data that is not present in the correspondence in the current version according to described increase configuration data select command;
When the configuration data in being present in current version is different from the described corresponding configuration data of configuration data for upgrading, then send the renewal configuration data select command of this configuration data correspondence to browser, make browser selects whether to upgrade configuration data corresponding in the described current version according to described renewal configuration data select command.
Further, the corresponding configuration data of revising current version of described selection according to browser specifically comprises with the configuration data that obtains upgraded version:
When browser was made the deletion selection according to described deletion configuration data select command, then correspondence was deleted configuration data corresponding in the current version, otherwise keeps the configuration data of correspondence in the current version;
When browser is made the increase selection according to described increase configuration data select command, then increase corresponding configuration data based on current version is corresponding, otherwise do not increase the configuration data of correspondence;
When browser was made the renewal selection according to described renewal configuration data select command, then correspondence was upgraded configuration data corresponding in the current version, otherwise does not upgrade the configuration data of correspondence.
The beneficial effect that the technical scheme that above-described embodiment provides is brought is: can be in the process of upgrading user's configuration data of making amendment of guiding browser, more select in the process of upgrading, for the user, and allow the user more know self browser of mobile terminal upgrading back and the preceding difference of upgrading, thereby make the upgrading of browser have more hommization.
A kind of upgrade server, it comprises:
Information receiving module, for the version information and the configuration data that receive the browser current version, and the version information of upgraded version;
First acquisition module is used for obtaining for the configuration data of upgrading according to the version information of described current version and the version information of described upgraded version;
Second acquisition module, be used for according to the described configuration data of revising described current version for the configuration data of upgrading to obtain the configuration data of described upgraded version application server being upgraded to described browser according to the configuration data of described upgraded version.
The beneficial effect that the technical scheme that above-described embodiment provides is brought is: can directly revise configuration data in the process of upgrading, can reduce the resource that takies after the upgrading.
Further, described upgraded version configuration data acquisition module comprises:
Revise command sending unit, revise order according to described configuration data for upgrading to send configuration data to described browser, make described browser revise order according to described configuration data and make corresponding selection;
The configuration data acquiring unit is revised the configuration data of current version to obtain the configuration data of upgraded version according to the selection correspondence of described browser.
Further, described configuration data is revised order and is comprised deletion configuration data select command, increases the configuration data select command and upgrade the configuration data select command, and described modification comprises deletion, increases or upgrades.
Further, described modification command sending unit specifically is used for:
Configuration data in being present in current version be not present in described for the upgrading configuration data the time, then send the deletion configuration data select command of this configuration data correspondence to browser, make browser selects whether to delete configuration data corresponding in the described current version according to described deletion configuration data;
When not being present in a configuration data in the current version and being present in described configuration data for upgrading, then send the increase configuration data select command of this configuration data to browser, make browser select whether to increase the described configuration data that is not present in the correspondence in the current version according to described increase configuration data select command;
When the configuration data in being present in current version is different from the described corresponding configuration data of configuration data for upgrading, then send the renewal configuration data select command of this configuration data correspondence to browser, make browser selects whether to upgrade configuration data corresponding in the described current version according to described renewal configuration data select command.
Further, described upgraded version configuration data acquiring unit specifically is used for:
When browser was made the deletion selection according to described deletion configuration data select command, then correspondence was deleted configuration data corresponding in the current version, otherwise keeps the configuration data of correspondence in the current version;
When browser is made the increase selection according to described increase configuration data select command, then increase corresponding configuration data based on current version is corresponding, otherwise do not increase the configuration data of correspondence;
When browser was made the renewal selection according to described renewal configuration data select command, then correspondence was upgraded configuration data corresponding in the current version, otherwise does not upgrade the configuration data of correspondence.
The beneficial effect that the technical scheme that above-described embodiment provides is brought is: can be in the process of upgrading user's configuration data of making amendment of guiding browser, more select in the process of upgrading, for the user, and allow the user more know after the upgrading of browser of self portable terminal with upgrading before difference, thereby make the upgrading of browser have more hommization.
A kind of browser upgrade-system, it comprises portable terminal and application server, and described portable terminal comprises browser, it is characterized in that, and described system also comprises above-mentioned upgrade server.
The beneficial effect that the technical scheme that above-described embodiment provides is brought is: in the process of browser version upgrading, introduce upgrade server and upgrade, can increase, revise and delete the configuration data of browser current version, reduce the resource that takies after upgrading; And since upgrade server can guiding mobile terminal browser upgrade, therefore make the escalation process of browser have more hommization.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the distribution schematic diagram of configuration item during edition upgrading in the prior art;
Fig. 2 is the browser upgrade method process flow diagram that the embodiment of the invention one provides;
Fig. 3 is the schematic flow sheet of the browser upgrading that provides of the embodiment of the invention two;
Fig. 4 is that the upgrade server that utilizes that the embodiment of the invention three provides carries out the synoptic diagram of large paper edition upgrading and little edition upgrading;
The synoptic diagram of the upgrading boot flow that improves for the user that Fig. 5 provides for the embodiment of the invention four;
Fig. 6 is the structural representation of the upgrade server that provides of the embodiment of the invention five;
Fig. 7 is the structural representation of the browser upgrade-system that provides of the embodiment of the invention six.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing." portable terminal " among the present invention can be installed the portable terminal of browser for mobile phone or other.
Browser upgrade method provided by the invention, it realizes edition upgrading by the upgrade server after disposing, in the process of upgrading, can increase, revise and delete current configuration item, the resource that takies after the feasible upgrading is less compared to existing technology, and the guiding user selects upgrading configuration information voluntarily in the process of upgrading, thereby makes the browser version upgrading have more compatibility and hommization.The executive agent of this method is upgrade server, and the specific implementation process can be participated in shown in Figure 2.
Fig. 2 is the browser upgrade method process flow diagram that the embodiment of the invention one provides, and the browser version upgrade method comprises:
Embodiment one among the present invention mainly utilizes upgrade server to upgrade, so when needs carry out the browser upgrading, can at first upload the version information of browser current version in the portable terminal and the version information of configuration data and upgraded version to upgrade server.Corresponding, upgrade server at first needs to receive the version information of the current version of uploading and the version information of configuration data and upgraded version.The current version here is the existing version of browser in the portable terminal, the version before namely not upgrading, and upgraded version is the version after browser need be upgraded in the portable terminal.Namely be to utilize upgrade server that the browser of current version is upgraded to upgraded version in the present invention.
Step 220 according to the version information of current version and the version information of upgraded version, is obtained the configuration data for upgrading.
Generally, upgrade server can be learnt the configuration data that needs upgrading behind the version information of the version information that obtains current version and upgraded version, be 1.2 such as the current version of uploading to upgrade server, upgraded version is 1.4, then according to two version informations, can know the difference of version 1.4 and version 1.2, which function such as the needs upgrading has, and each function that need upgrade all can corresponding different configuration data, therefore, can know for the configuration data of upgrading according to the information of version before and after the upgrading.
Step 230 to obtain the configuration data of upgraded version, makes application server upgrade to browser according to the configuration data of upgraded version according to the configuration data of revising current version for the configuration data of upgrading.
Wherein specifically can comprise with the configuration data that obtains upgraded version according to the configuration data of revising current version for the configuration data of upgrading:, make browser revise order according to configuration data and make corresponding selection to send configuration data modification order to browser according to the configuration data that is used for upgrading; Selection correspondence according to browser is revised the configuration data of current version to obtain the configuration data of upgraded version.
Usually, configuration data is revised order and can be comprised deletion configuration data select command, increases the configuration data select command and upgrade the configuration data select command, and modification can correspondence comprise deletion, increase or upgrade.General, when the configuration data in being present in current version is not present in for the configuration data of upgrading, then send the deletion configuration data select command of this configuration data correspondence to browser, make browser selects whether to delete configuration data corresponding in the current version according to deletion configuration data select command; When not being present in a configuration data in the current version and being present in configuration data for upgrading, then send the increase configuration data select command of this configuration data to browser, make browser select whether to increase the configuration data that is not present in the correspondence in the current version according to increasing the configuration data select command; When the configuration data in being present in current version is different from for the corresponding configuration data of the configuration data of upgrading, then send the renewal configuration data select command of this configuration data correspondence to browser, make browser selects whether to upgrade configuration data corresponding in the current version according to upgrading the configuration data select command.That is to say, relatively the configuration data that is used for upgrading of configuration data and above-mentioned acquisition compares in the current version, when different situations appears in the configuration data of correspondence, then send the configuration data that can corresponding handle this configuration data to browser and revise order, browser then can be revised order according to above-mentioned various configuration datas and make corresponding selection.
Correspondence, when browser was made the deletion selection according to deletion configuration data select command, then correspondence was deleted configuration data corresponding in the current version, otherwise keeps the configuration data of correspondence in the current version; When browser is made the increase selection according to increase configuration data select command, then increase the configuration data of correspondence based on the current version correspondence, otherwise do not increase the configuration data of correspondence; When browser was made the renewal selection according to renewal configuration data select command, then correspondence was upgraded the configuration data of correspondence in the current version, otherwise does not upgrade the configuration data of correspondence.Such as when needs are deleted a certain configuration data, after browser receives deletion configuration data select command, select deletion or do not delete this configuration data; When needs increase a certain configuration data, after browser receives and increases the configuration data select command, select to increase or do not increase this configuration data; When needs upgrade a certain configuration data, after browser receives and upgrades the configuration data select command, select to upgrade or do not upgrade this configuration data.
When specific implementation, when needs are revised a certain configuration data, can on the browser of portable terminal, send a upgrading web-page requests, whether browser is selected to make amendment according to the upgrading web-page requests, if make amendment, then amended configuration data is returned to obtain the configuration data of upgraded version, like this, just can be so that the application server of the browser of browser correspondence utilizes the configuration data of this upgraded version to upgrade.
Generally, carrying out browser version when upgrading, can realize by existing technology for the upgrading of little version, and carry out to upgrade to version by the method among above-mentioned Fig. 2 when large paper edition is upgraded.Generally, can select to utilize upgrade server to upgrade during little edition upgrading, also can utilize common upgrading mode to upgrade, but the present invention then adopts upgrade server to upgrade during the large paper edition upgrading.
The difference quantity of the configuration item of the front and back version of little edition upgrading herein is less than a predetermined threshold, and the difference quantity of the configuration item of the front and back version of large paper edition upgrading, can make a distinction edition upgrading by above-mentioned setting greater than this predetermined threshold.Such as, if this predetermined threshold is set to 10, for the upgrading of version 1.0 to version 1.1, because the configuration item conversion is not too big, may only there be three, four configuration items to change, 1.1 upgrading can be regarded little edition upgrading as from version 1.0 to version so, and for the upgrading that version 1.0 arrives version 2 .0, because the configuration item ratio of transformation is bigger, may be tens or up to a hundred individual, even more, the upgrading from version 1.0 to version 2 .0 can be regarded the large paper edition upgrading as so.
Fig. 4 is that the upgrade server that utilizes that the embodiment of the invention three provides carries out the synoptic diagram of large paper edition upgrading and little edition upgrading, wherein version 1.1 is to the little edition upgrading of upgrading to of version 1.2, it can directly utilize common mode to upgrade in the process of upgrading, and the configuration upgrade service of correspondence is upgraded in the time of also can upgrading to version 1.2 by version 1.1; Version 1.2 to the upgrading of version 1.3 also is little edition upgrading, and the upgrading principle is similar; And the large paper edition that upgrades to of version 1.2 to 2.0 is upgraded, and the configuration upgrade service of correspondence was upgraded when it adopted version 1.2 to upgrade to version 2 .0.And the upgrading of this large paper edition is actually during upgrading a kind of of cross-version.
In a specific embodiment, can be referring to shown in Figure 3 to the escalation process of the upgrading of large paper edition and little version, it is the schematic flow sheet of browser upgrading of providing of the embodiment of the invention two, the flow process of this browser upgrading comprises:
Step 310 is obtained the log-on message of browser of mobile terminal.
Step 320 judges whether browser needs upgrading configuration.
In specific operation process, after starting browser of mobile terminal, the interface of mobile terminal available webpage of whether upgrading that can bounce out automatically, whether the user can carry out upgrading configuration according to the content choice in the webpage, if the user selects to carry out upgrading configuration, then can produce a upgrading configuration order, if get access to this upgrading configuration order, then being judged to be browser needs upgrading configuration; If the user selects not carry out upgrading configuration, then webpage cancellation, the user can continue to use browser of mobile terminal to browse related web page.Certainly the upgrading configuration order is not only the selection generation by the user, can also produce by the inner the corresponding command of portable terminal, such as, after browser of mobile terminal is unlocked, the browser corresponding application server can detect whether there is new browser version automatically, then directly produces a upgrading configuration order if exist, but in this case, whether the user just can not freely select to be configured to have upgraded, and the user experiences bad.
General, in order to improve user friendly experience, be not that each browser starts the webpage of all jumping out a selection upgrading, but after browser starts, the browser corresponding application server at first judges whether to exist new version can substitute original version, if there is new version, then show above-mentioned available webpage of whether upgrading at interface of mobile terminal.
If judge that browser does not need upgrading configuration, then transfer step 380 to, bring into use browser.
Step 330 if need upgrading configuration, then judges whether and need upgrade by the configuration upgrade server.
When receiving that the configuration upgrade server upgrades after the order, then be judged to be and need upgrade by the configuration upgrade server, do not need to upgrade by the configuration upgrade server otherwise be judged to be.The order of upgrading of this configuration upgrade server also can be selected by the user, but sometimes the user does not know whether need to utilize upgrade server to upgrade yet, so, more excellent, can be after edition upgrading be carried out in judgement, utilize the browser corresponding application server to go to judge whether to need to utilize the upgrade server of configuration to upgrade, if need to utilize the upgrade server of configuration to upgrade then to send the configuration upgrade server order of upgrading, corresponding processor receives that the configuration upgrade server upgrades after the order, then is judged to be and need upgrades by the configuration upgrade server.
Step 340 if need upgrade by the configuration upgrade server, is then disposed upgrade logic in upgrade server, start the upgrading boot flow with upgrading configuration according to upgrade logic.
Specifically comprise: upload the version information of current version and the version information of configuration data and upgraded version to upgrade server; Upgrade server obtains for the configuration data of upgrading according to the version information of the current version that receives and upgraded version; To obtain the configuration data of upgraded version, application server is upgraded according to the configuration data of revising current version for the configuration data of upgrading to browser according to the configuration data of the upgraded version that obtains.
Namely dispose upgrade logic according to the configuration data that is used for upgrading; Provide the webpage of upgrading guiding to select to be used for the configuration data of upgrading for the user according to upgrade logic to the user; Upgrade server regenerates new configuration file according to the configuration data of user's selection and the configuration data of current version.
Above-mentioned steps can be understood as: upgrade server just can determine according to the version information of the current version of uploading and upgraded version which the function of needs upgrading has, and each function is determined by one or more configuration items, contain several configuration datas in each configuration item, configuration data can determine whether configuration item is identical, thereby can further determine whether to carry out the upgrading of corresponding function.Can be the kind of the matic mould, maybe can be information such as webpage size such as, the configuration data that configuration item contains.Like this, upgrade server learns that the configuration data of the function correspondence that then can upgrade as required after the function that redaction need upgrade disposes upgrade logic.In concrete the application, upgrade logic can produce for the user in regular turn respectively corresponding to several functions that need upgrade and carry out the webpage that upgrade function is selected, the user can select or skip corresponding selection (namely selecting the configuration data of the upgrading correspondence of corresponding function) according to the webpage of jumping out, and last upgrade server regenerates new configuration file according to the configuration data of user's selection and the configuration data of previous version.
Provide the upgrading boot flow to be specially to finish upgrading configuration to the user in above-mentioned: in the process of configuration, by the comparison to the version information of current version and upgraded version, learn the configuration item that needs to produce the upgrade function correspondence, corresponding to each configuration item or several configuration items (namely a configuration item determines a function or a plurality of configuration item to determine a function) that produce each function, can show the function selection page or function selection webpage at the interface, like this at each difference, with selecting whether need upgrading to upgrade per family.Such as, in one embodiment, configuration item one allocation plan that is the theme, it comprised option one originally, after increased option two newly, the configuration item of configuration item one for upgrading, configuration item two arranges function for webpage paging size, it is the configuration item that increases newly, so corresponding guiding upgrading flow process can be referring to shown in Fig. 5, and wherein left side figure selects webpage corresponding to the function that configuration item one is jumped out, wherein " clearly blueness " original option one then, " pink mood " be the option two for having increased newly then, the function of jumping out this moment among the left figure selects webpage to select for the user, after next step, detects the configuration item two that increases newly then, therefore the corresponding function of jumping out middle graph selects webpage to select for the user, selected the back to click next step, detect this moment do not have remaining upgrade or the configuration item that increases newly, then the configuration upgrading finishes, the function of jumping out among the figure of the right is selected webpage, clicks and determines to finish escalation process.It should be noted that if the corresponding configuration item of the button of selecting to skip is not upgraded, and last mean the not success of selecting previously of step when selecting cancellation.
Need to prove that the bootup process that this step is undertaken by upgrade server is based on that browsing device net page shows, need not increases extra service logic at portable terminal, and upgrade server can dispose this bootup process flexibly simultaneously.When bootup process finished, upgrade server issued the configuration information of renewal to portable terminal, and was imported automatically by portable terminal.Upgrade server can be made rational adjustment and adaptive at the upgrading between the different editions in addition.
In addition, in order to reduce resource occupation, in the process of disposing upgrade logic, can remove the configuration item of having discarded but still having kept in the configuration data structure of current version; Certainly, in carrying out the process that upgrade logic disposes, can also change the location mode of configuration data and name etc.
Certainly, when specific implementation, except uploading to upgrade server the version information of current version and upgraded version, also need to upload configuration file and the subscriber data file of current version.In order to guarantee the correct enforcement of this process, need preserve the tabulation of unified version information and configuration file and subscriber data file at portable terminal, these information can be stored in the file system before upgrading.
Step 350 if do not need to upgrade by the configuration upgrade server, then judges whether to be the large paper edition upgrading.
Step 360 is if browser is then withdrawed from the large paper edition upgrading.
This is because the version gap is bigger before and after the large paper edition upgrading expression upgrading, and for better compatibility and hommization, then can utilize step 340 to upgrade, if and be large paper edition upgrading, select again to utilize upgrade server to upgrade, then directly withdraw from browser.Certainly, if after opening browser just not selection carry out upgrade service, namely do not select upgrading configuration, then can directly utilize browser to browse related web page but not withdraw from browser.
Step 370 is if not for the large paper edition upgrading, then use as default the configuration item that does not have in the current version.
This step is not adopt upgrade server to upgrade, and when it is little edition upgrading, can adopt common upgrading mode to upgrade, namely read former configuration file and will upgrade after the configuration item that do not have use as default.
Certainly, the embodiment among Fig. 3 also can not only be confined in the mobile phone, in like manner can also realize in other contain the portable terminal of browser.
In sum, browser version upgrade method provided by the invention realizes edition upgrading by the upgrade server after disposing, make browser when upgrading more compatible and because it can delete discarded data item, thereby can save the resource that takies greatly, and in the process of upgrading, can guide the user to select upgrading configuration information voluntarily, thereby make the browser version upgrading have more hommization.
Upgrade server provided by the invention, it realizes edition upgrading by the upgrade server after disposing, in the process of upgrading, can revise configuration data, the resource that takies after the feasible upgrading is less compared to existing technology, and the guiding user selects upgrading configuration information voluntarily in the process of upgrading, thereby makes the browser version upgrading have more compatibility and hommization.Concrete structure can be referring to shown in Figure 6.
Fig. 6 is the structural representation of the upgrade server that provides of the embodiment of the invention five, and upgrade server comprises information receiving module 610, first acquisition module 620, second acquisition module 630.
The configuration data that second acquisition module 630 is used for revising current version according to the configuration data that is used for upgrading makes application server upgrade to browser according to the configuration data of upgraded version to obtain the configuration data of upgraded version.
Usually, second acquisition module 630 comprises revises command sending unit and configuration data acquiring unit, wherein revise command sending unit and revise order according to the configuration data that is used for upgrading to send configuration data to browser, make browser revise order according to configuration data and make corresponding selection; The configuration data acquiring unit is revised the configuration data of current version to obtain the configuration data of upgraded version according to the selection correspondence of browser.
Generally, browser is in the process of carrying out edition upgrading, the configuration data that can revise current version by alter modes such as deletion, increase or renewals to be obtaining the configuration data of upgraded version, thus according to the configuration data of upgraded version so that browser is upgraded.
In specific operation process, after the user opens browser of mobile terminal, the interface of mobile terminal available webpage of whether upgrading that can bounce out automatically, whether the user can carry out upgrading configuration according to the content choice in the webpage, if the user selects to carry out upgrading configuration, then can produce a upgrading configuration order, if get access to this upgrading configuration order, then being judged to be browser needs upgrading configuration; If be used for selecting not carry out upgrading configuration, then webpage cancellation, the user can continue to use browser of mobile terminal to browse related web page.Certainly the upgrading configuration order is not only the selection generation by the user, can also produce by the inner the corresponding command of mobile phone, such as, after browser of mobile terminal is unlocked, the browser corresponding application server can detect whether there is new browser version automatically, then directly produces a upgrading configuration order if exist, but in this case, whether the user just can not freely select to be configured to have upgraded, and the user experiences bad.
General, in order to improve user friendly experience, be not that each browser starts the webpage of all jumping out a selection upgrading, but after browser starts, the browser corresponding application server at first judges whether to exist new version can substitute original version, if there is new version, then show above-mentioned available webpage of whether upgrading at interface of mobile terminal.
When receiving that the configuration upgrade server upgrades after the order, then be judged to be and need upgrade by the configuration upgrade server, do not need to upgrade by the configuration upgrade server otherwise be judged to be.The order of upgrading of this configuration upgrade server also can be selected by the user, but sometimes the user does not know whether need to utilize upgrade server to upgrade yet, so, more excellent, can be after edition upgrading be carried out in judgement, utilize the browser corresponding application server to go to judge whether to need to utilize the upgrade server of configuration to upgrade, if need to utilize the upgrade server of configuration to upgrade then to send the configuration upgrade server order of upgrading, corresponding processor receives that the configuration upgrade server upgrades after the order, then is judged to be and need upgrades by the configuration upgrade server.
If need upgrade by the configuration upgrade server, in upgrade server, dispose upgrade logic, and start the upgrading boot flow with upgrading configuration according to upgrade logic.At this moment, then need to upload the version information of current version and the version information of configuration data and upgraded version to upgrade server; Upgrade server obtains for the configuration data of upgrading according to the version information of current version and upgraded version; Dispose upgrade logic according to the configuration data that is used for upgrading; Provide the webpage of upgrading guiding to select to be used for the configuration data of upgrading for the user according to upgrade logic to the user; Application server regenerates new configuration file according to the configuration data of user's selection and the configuration data of current version.
Need to prove: the upgrade server that above-described embodiment provides is when above-mentioned explanation, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the inner structure that is about to device is divided into different functional modules, to finish all or part of function described above.In addition, the upgrade server that above-described embodiment provides and mobile phone browser upgrade method embodiment belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
In sum, upgrade server provided by the invention is realized edition upgrading, make browser when upgrading more compatible and owing in the process of upgrading, can revise configuration data, thereby save the resource that takies greatly, and the guiding user selects upgrading configuration information voluntarily in the process of upgrading, thereby makes the browser version upgrading have more hommization.
Fig. 7 is the structural representation of the browser upgrade-system that provides of the embodiment of the invention six, the browser upgrade-system comprises portable terminal 710, upgrade server 720 and application server 730, portable terminal 710 comprises browser, wherein the version information of the version information of the current version that browser is uploaded in the upgrade server 720 basis portable terminals 710 that receive and upgraded version obtains the configuration data for upgrading, upgrade server 720 carries out alternately according to the configuration data and the browser that are used for upgrading, so that portable terminal 710 is revised the configuration data of current version to obtain the configuration data of upgraded version; Application server 730 is upgraded to browser according to the configuration data of the upgraded version that obtains.
Need to prove: the upgrade server in the browser upgrade-system that above-described embodiment provides and browser upgrade method embodiment belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
In sum, browser upgrade-system provided by the invention is realized edition upgrading by the configuration upgrade server, make browser when upgrading more compatible and owing in the process of upgrading, can revise configuration data, thereby save the resource that takies greatly, and the guiding user selects upgrading configuration information voluntarily in the process of upgrading, thereby makes the browser version upgrading have more hommization.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (11)
1. a browser upgrade method is characterized in that, described method comprises:
Receive version information and the configuration data of browser current version, and the version information of upgraded version;
According to the version information of described current version and the version information of described upgraded version, obtain the configuration data for upgrading;
According to described for the upgrading configuration data revise described current version configuration data to obtain the configuration data of described upgraded version, application server is upgraded to described browser according to the configuration data of described upgraded version.
2. method according to claim 1 is characterized in that, the described configuration data of revising current version according to described configuration data for upgrading comprises with the configuration data that obtains upgraded version:
Send configuration data according to described configuration data for upgrading to described browser and revise order, make described browser revise order according to described configuration data and make corresponding selection;
Selection correspondence according to described browser is revised the configuration data of current version to obtain the configuration data of upgraded version.
3. method according to claim 2 is characterized in that, described configuration data is revised order and comprised deletion configuration data select command, increases the configuration data select command and upgrade the configuration data select command, and described modification comprises deletion, increases or upgrades.
4. method according to claim 3, it is characterized in that, the described modification to described browser transmission configuration data according to described configuration data for upgrading ordered, and makes described browser make corresponding selection according to described configuration data modification order and specifically comprises:
Configuration data in being present in current version be not present in described for the upgrading configuration data the time, then send the deletion configuration data select command of this configuration data correspondence to browser, make browser selects whether to delete configuration data corresponding in the described current version according to described deletion configuration data select command;
When not being present in a configuration data in the current version and being present in described configuration data for upgrading, then send the increase configuration data select command of this configuration data to browser, make browser select whether to increase the described configuration data that is not present in the correspondence in the current version according to described increase configuration data select command;
When the configuration data in being present in current version is different from the described corresponding configuration data of configuration data for upgrading, then send the renewal configuration data select command of this configuration data correspondence to browser, make browser selects whether to upgrade configuration data corresponding in the described current version according to described renewal configuration data select command.
5. method according to claim 4 is characterized in that, the corresponding configuration data of revising current version of described selection according to described browser specifically comprises with the configuration data that obtains upgraded version:
When browser was made the deletion selection according to described deletion configuration data select command, then correspondence was deleted configuration data corresponding in the current version, otherwise keeps the configuration data of correspondence in the current version;
When browser is made the increase selection according to described increase configuration data select command, then increase corresponding configuration data based on current version is corresponding, otherwise do not increase the configuration data of correspondence;
When browser was made the renewal selection according to described renewal configuration data select command, then correspondence was upgraded configuration data corresponding in the current version, otherwise does not upgrade the configuration data of correspondence.
6. upgrade server is characterized in that it comprises:
Information receiving module, for the version information and the configuration data that receive the browser current version, and the version information of upgraded version;
First acquisition module is used for obtaining for the configuration data of upgrading according to the version information of described current version and the version information of described upgraded version;
Second acquisition module is used for according to the described configuration data of revising current version for the configuration data of upgrading to obtain the configuration data of described upgraded version application server being upgraded to described browser according to the configuration data of described upgraded version.
7. upgrade server according to claim 6 is characterized in that, described configuration data second acquisition module comprises:
Revise command sending unit, revise order according to described configuration data for upgrading to send configuration data to described browser, make described browser revise order according to described configuration data and make corresponding selection;
The configuration data acquiring unit is revised the configuration data of current version to obtain the configuration data of upgraded version according to the selection correspondence of described browser.
8. upgrade server according to claim 7, it is characterized in that, described configuration data is revised order and is comprised deletion configuration data select command, increases the configuration data select command and upgrade the configuration data select command, and described modification comprises deletion, increases or upgrades.
9. upgrade server according to claim 8 is characterized in that, described modification command sending unit specifically is used for:
Configuration data in being present in current version be not present in described for the upgrading configuration data the time, then send the deletion configuration data select command of this configuration data correspondence to browser, make browser selects whether to delete configuration data corresponding in the described current version according to described deletion configuration data select command;
When not being present in a configuration data in the current version and being present in described configuration data for upgrading, then send the increase configuration data select command of this configuration data to browser, make browser select whether to increase the described configuration data that is not present in the correspondence in the current version according to described increase configuration data select command;
When the configuration data in being present in current version is different from the described corresponding configuration data of configuration data for upgrading, then send the renewal configuration data select command of this configuration data correspondence to browser, make browser selects whether to upgrade configuration data corresponding in the described current version according to described renewal configuration data select command.
10. upgrade server according to claim 9 is characterized in that, upgraded version configuration data acquiring unit specifically is used for:
When browser was made the deletion selection according to described deletion configuration data select command, then correspondence was deleted configuration data corresponding in the current version, otherwise keeps the configuration data of correspondence in the current version;
When browser is made the increase selection according to described increase configuration data select command, then increase corresponding configuration data based on current version is corresponding, otherwise do not increase the configuration data of correspondence;
When browser was made the renewal selection according to described renewal configuration data select command, then correspondence was upgraded configuration data corresponding in the current version, otherwise does not upgrade the configuration data of correspondence.
11. a browser upgrade-system, it comprises portable terminal and application server, and described portable terminal comprises browser, it is characterized in that, described system also comprises each described upgrade server as claim 6-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110452329.8A CN103186391B (en) | 2011-12-29 | 2011-12-29 | Browser upgrade method and system and a kind of upgrade server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110452329.8A CN103186391B (en) | 2011-12-29 | 2011-12-29 | Browser upgrade method and system and a kind of upgrade server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103186391A true CN103186391A (en) | 2013-07-03 |
CN103186391B CN103186391B (en) | 2016-05-11 |
Family
ID=48677569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110452329.8A Active CN103186391B (en) | 2011-12-29 | 2011-12-29 | Browser upgrade method and system and a kind of upgrade server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103186391B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410511A (en) * | 2014-10-27 | 2015-03-11 | 浪潮(北京)电子信息产业有限公司 | Server management method and system |
CN104765816A (en) * | 2015-04-03 | 2015-07-08 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN106254411A (en) * | 2015-06-05 | 2016-12-21 | 佳能株式会社 | For providing the system of service, server system and method |
CN106452879A (en) * | 2016-10-20 | 2017-02-22 | 国网青海省电力公司电力科学研究院 | PB-based SCD cross-platform analysis method |
CN106453543A (en) * | 2016-09-30 | 2017-02-22 | 未来汽车科技(深圳)有限公司 | Data transmission method and device based on automobile instrument device |
CN106796519A (en) * | 2014-10-10 | 2017-05-31 | 维萨国际服务协会 | For in the personalized method and system in Mobile solution reproducting periods part |
CN106843842A (en) * | 2016-12-23 | 2017-06-13 | 光锐恒宇(北京)科技有限公司 | The update method and device of a kind of application profiles |
CN107239303A (en) * | 2017-05-11 | 2017-10-10 | 北京五八信息技术有限公司 | The generation of application program update bag and method, the device of application program update |
CN107977223A (en) * | 2017-11-20 | 2018-05-01 | 杭州迪普科技股份有限公司 | One kind configuration compliance check method and device |
WO2018161964A1 (en) * | 2017-03-10 | 2018-09-13 | 中兴通讯股份有限公司 | Client end, serving end and upgrade differentiation method |
CN108540509A (en) * | 2017-03-01 | 2018-09-14 | 腾讯科技(深圳)有限公司 | A kind of processing method of terminal browser, device and server, intelligent terminal |
CN108717360A (en) * | 2018-08-24 | 2018-10-30 | 江苏神州信源系统工程有限公司 | A kind of software version updating method and device |
CN109343881A (en) * | 2018-10-11 | 2019-02-15 | 珠海格力电器股份有限公司 | Firmware upgrade update method, device and air-conditioning |
CN110519649A (en) * | 2018-05-22 | 2019-11-29 | 青岛海尔多媒体有限公司 | A kind of control method of separate television, device and computer readable storage medium |
CN110806886A (en) * | 2019-10-28 | 2020-02-18 | 云深互联(北京)科技有限公司 | Browser updating method, device and equipment |
CN114968294A (en) * | 2021-02-26 | 2022-08-30 | 深圳怡化电脑科技有限公司 | Firmware upgrading method and device for equipment, electronic equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210069861A (en) * | 2019-12-04 | 2021-06-14 | 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. | Providing application configuration file for backward compatible application |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060041881A1 (en) * | 2004-08-19 | 2006-02-23 | Adkasthala Bheema P | Universal upgrade architecture |
US20060161605A1 (en) * | 2003-12-05 | 2006-07-20 | Fujitsu Limited | Data management system, a data management apparatus, a data management method, a data supplying system, and a computer-readable recording medium with a program recorded therein |
CN101102219A (en) * | 2007-07-30 | 2008-01-09 | 华为技术有限公司 | Software update system and software update method |
CN101286881A (en) * | 2008-05-16 | 2008-10-15 | 中兴通讯股份有限公司 | Device for implementing multi-version compatibility of software configuration data of base station and application thereof |
EP2175366A1 (en) * | 2008-10-08 | 2010-04-14 | Research In Motion Limited | Server for sending new application portions to mobile wireless communications devices and related methods |
CN102262544A (en) * | 2010-05-24 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Method and device for upgrading software |
-
2011
- 2011-12-29 CN CN201110452329.8A patent/CN103186391B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060161605A1 (en) * | 2003-12-05 | 2006-07-20 | Fujitsu Limited | Data management system, a data management apparatus, a data management method, a data supplying system, and a computer-readable recording medium with a program recorded therein |
US20060041881A1 (en) * | 2004-08-19 | 2006-02-23 | Adkasthala Bheema P | Universal upgrade architecture |
CN101102219A (en) * | 2007-07-30 | 2008-01-09 | 华为技术有限公司 | Software update system and software update method |
CN101286881A (en) * | 2008-05-16 | 2008-10-15 | 中兴通讯股份有限公司 | Device for implementing multi-version compatibility of software configuration data of base station and application thereof |
EP2175366A1 (en) * | 2008-10-08 | 2010-04-14 | Research In Motion Limited | Server for sending new application portions to mobile wireless communications devices and related methods |
CN102262544A (en) * | 2010-05-24 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Method and device for upgrading software |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10853050B2 (en) | 2014-10-10 | 2020-12-01 | Visa International Service Association | Methods and systems for partial personalization during application update |
CN113220320A (en) * | 2014-10-10 | 2021-08-06 | 维萨国际服务协会 | Method and system for partial personalization during mobile application updates |
US11720337B2 (en) | 2014-10-10 | 2023-08-08 | Visa International Service Association | Methods and systems for partial personalization during application update |
CN106796519B (en) * | 2014-10-10 | 2021-04-13 | 维萨国际服务协会 | Method and system for partial personalization during mobile application updates |
CN106796519A (en) * | 2014-10-10 | 2017-05-31 | 维萨国际服务协会 | For in the personalized method and system in Mobile solution reproducting periods part |
CN104410511A (en) * | 2014-10-27 | 2015-03-11 | 浪潮(北京)电子信息产业有限公司 | Server management method and system |
CN104410511B (en) * | 2014-10-27 | 2018-07-06 | 浪潮(北京)电子信息产业有限公司 | A kind of server management method and system |
CN104765816B (en) * | 2015-04-03 | 2018-09-11 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN104765816A (en) * | 2015-04-03 | 2015-07-08 | 北京金山安全软件有限公司 | Browser upgrading method and device and electronic equipment |
CN106254411B (en) * | 2015-06-05 | 2019-05-17 | 佳能株式会社 | For providing system, server system and the method for service |
CN106254411A (en) * | 2015-06-05 | 2016-12-21 | 佳能株式会社 | For providing the system of service, server system and method |
CN106453543A (en) * | 2016-09-30 | 2017-02-22 | 未来汽车科技(深圳)有限公司 | Data transmission method and device based on automobile instrument device |
CN106452879A (en) * | 2016-10-20 | 2017-02-22 | 国网青海省电力公司电力科学研究院 | PB-based SCD cross-platform analysis method |
CN106843842B (en) * | 2016-12-23 | 2020-06-12 | 光锐恒宇(北京)科技有限公司 | Method and device for updating application program configuration file |
CN106843842A (en) * | 2016-12-23 | 2017-06-13 | 光锐恒宇(北京)科技有限公司 | The update method and device of a kind of application profiles |
CN108540509B (en) * | 2017-03-01 | 2022-06-21 | 腾讯科技(深圳)有限公司 | Processing method and device of terminal browser, server and intelligent terminal |
CN108540509A (en) * | 2017-03-01 | 2018-09-14 | 腾讯科技(深圳)有限公司 | A kind of processing method of terminal browser, device and server, intelligent terminal |
CN108574588A (en) * | 2017-03-10 | 2018-09-25 | 中兴通讯股份有限公司 | Client, server-side and differentiation upgrade method |
CN108574588B (en) * | 2017-03-10 | 2023-09-15 | 中兴通讯股份有限公司 | Client, server and differentiated upgrading method |
WO2018161964A1 (en) * | 2017-03-10 | 2018-09-13 | 中兴通讯股份有限公司 | Client end, serving end and upgrade differentiation method |
US11050621B2 (en) | 2017-03-10 | 2021-06-29 | Zte Corporation | Client, server and differential upgrade method |
CN107239303A (en) * | 2017-05-11 | 2017-10-10 | 北京五八信息技术有限公司 | The generation of application program update bag and method, the device of application program update |
CN107239303B (en) * | 2017-05-11 | 2021-04-13 | 北京五八信息技术有限公司 | Application program update package generation method and device and application program update method and device |
CN107977223A (en) * | 2017-11-20 | 2018-05-01 | 杭州迪普科技股份有限公司 | One kind configuration compliance check method and device |
CN110519649A (en) * | 2018-05-22 | 2019-11-29 | 青岛海尔多媒体有限公司 | A kind of control method of separate television, device and computer readable storage medium |
CN108717360B (en) * | 2018-08-24 | 2022-01-07 | 北信源系统集成有限公司 | Software version updating method and device |
CN108717360A (en) * | 2018-08-24 | 2018-10-30 | 江苏神州信源系统工程有限公司 | A kind of software version updating method and device |
CN109343881A (en) * | 2018-10-11 | 2019-02-15 | 珠海格力电器股份有限公司 | Firmware upgrade update method, device and air-conditioning |
CN110806886A (en) * | 2019-10-28 | 2020-02-18 | 云深互联(北京)科技有限公司 | Browser updating method, device and equipment |
CN114968294A (en) * | 2021-02-26 | 2022-08-30 | 深圳怡化电脑科技有限公司 | Firmware upgrading method and device for equipment, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103186391B (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186391A (en) | Browser upgrading method and system and upgrading server | |
CN102932777B (en) | The update method of a kind of terminal applies and user terminal | |
CN102955694B (en) | The client realization method of sing on web Kit browser and client | |
US8068512B2 (en) | Efficient utilization of cache servers in mobile communication system | |
CN101533410B (en) | Widget content buffering method facing mobile terminal | |
CN101110837B (en) | System and method for implementing mobile phone blog | |
CN104915268A (en) | Desktop layout storage and recovery method and device thereof, terminal equipment and system | |
CN101840418A (en) | User word library synchronous update method, update server and input method system | |
CN106484858A (en) | Hot Contents method for pushing and device | |
CN101159764A (en) | Method and system to access door data of mobile service | |
CN104778270A (en) | Storage method for multiple files | |
CN103246666B (en) | Web access method and device | |
CN101702173A (en) | Method and device for increasing access speed of mobile portal dynamic page | |
CN103902562B (en) | A kind of terminal database upgrade method and relevant apparatus | |
CN101692746B (en) | Method and device for operating telephone directory | |
CN109636306A (en) | Node-flow shifting method, device, terminal and storage medium | |
US20130283274A1 (en) | Method and system for discovering and activating an application in a computer device | |
CN105760232A (en) | Offline cache method and system for IOS application | |
CN101964974A (en) | Data downloading method and mobile terminal | |
CN103379476A (en) | Terminal and contact information updating method | |
CN103634393A (en) | IVR (interactive voice response) and realization method thereof | |
CN105210032A (en) | Application registration and interaction | |
CN102779181B (en) | Browser off-line storage data processing method based on hypertext markup language (HTML) 5 and browser | |
CN103123651A (en) | Method of rapidly searching multiple same-kind paper, device and mobile equipment | |
CN101370217A (en) | Method and mobile terminal for optimizing operation sequence of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |