CN109308186A - A kind of method and terminal of edition upgrading - Google Patents

A kind of method and terminal of edition upgrading Download PDF

Info

Publication number
CN109308186A
CN109308186A CN201810954664.XA CN201810954664A CN109308186A CN 109308186 A CN109308186 A CN 109308186A CN 201810954664 A CN201810954664 A CN 201810954664A CN 109308186 A CN109308186 A CN 109308186A
Authority
CN
China
Prior art keywords
terminal
upgraded
system file
information
sent
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
CN201810954664.XA
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810954664.XA priority Critical patent/CN109308186A/en
Publication of CN109308186A publication Critical patent/CN109308186A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides the method and terminal of a kind of edition upgrading, needs to network when solving the problems, such as the upgrading of current terminal versions.The embodiment of the present invention judges whether to be upgraded by the second terminal after first terminal is connect with second terminal first;Finally if it is determined that can be upgraded by the second terminal, then the first terminal is upgraded by the system file that the needs that the second terminal is sent upgrade.Such method does not need to network when terminal is upgraded, and it is eased to upgrade mode.

Description

A kind of method and terminal of edition upgrading
Technical field
The present invention relates to field of terminal technology more particularly to the methods and terminal of a kind of edition upgrading.
Background technique
Mobile phone used in life at present, due to when leaving the factory, it is impossible to solve all problems, and with science and technology Develop, may need to increase newly new function in the later period in mobile phone, therefore, after user buys mobile phone, manufacturer repairs for the later period The problems of mobile phone through dispatching from the factory can be used for by pushing related versions updating operation into the mobile phone that user buys It is repaired to the cell phone software version updating sold out and to the problems of before the mobile phone sold out.
And the existing mode upgraded for mobile phone, it is mostly to need the mobile phone upgraded after receiving upgrade command, It needing to be operated in the state of networking, and update time is longer, centre cannot interrupt, but in some situations, user There might not be independent environment that connection network is gone to carry out upgrade-system.Such as in rural area, or without WiFi network covering Place, meanwhile, and because carry out required downloading when system upgrade for upgrade package it is bigger in the case where, not can be used In the case where network, if will need to expend more flow using flow, and need to spend more campus network, and user In the upgrading of mobile phone terminal prompt system, after not upgraded in time, upgrade tip may not shown, if user is subsequent When wanting to continue upgrading, operation is not known how to carry out often to make mobile phone be upgraded.
In conclusion needs are upgraded in the environment of networking when terminal carries out edition upgrading at present.
Summary of the invention
The present invention provides the method and terminal of a kind of edition upgrading, needs to network when solving the upgrading of current terminal versions The problem of.
In a first aspect, a kind of method of edition upgrading provided in an embodiment of the present invention includes:
After first terminal is connect with second terminal, judge whether to be upgraded by the second terminal;
If it is determined that can be upgraded by the second terminal, then the first terminal is sent by the second terminal The system file that upgrades of needs upgraded.
The above method is upgraded in such a way that first terminal is connect with second terminal, and family can be used and carrying out eventually When the upgrading of end, do not need network or upgraded using flow, and when being upgraded, the first terminal passes through institute It states the system file that the needs that second terminal is sent upgrade to be upgraded, more convenient, time saving province's flow does not need to network.
In one possible implementation, the first terminal is by the type information and system version of the first terminal After number being sent to the second terminal, being judged whether according to the information that the second terminal returns can be by the second terminal Upgraded;Or,
The type information and system version number that the first terminal is sent according to the second terminal judge that described first is whole Whether end is identical as the model of the second terminal identical, and whether the system version number of the first terminal is lower than described second The system version number of terminal, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not pass through The second terminal is upgraded.
The above method carries out the verifying of model version by the terminal upgraded to terminal and auxiliary to be upgraded, with Guarantee that described two terminals are upgraded under terminal models unanimous circumstances, causes upgrading wrong to avoid terminal models are inconsistent Accidentally, the system file of the terminal is damaged, and consistent in described two terminal models, and the feelings that version number is inconsistent Upgraded under condition, avoids and still upgrade in the case where version number unanimously is not required to be upgraded, preferably avoid resource Waste, more accurately, stability is stronger.
In one possible implementation, the first terminal judges whether the information that the second terminal returns is to need The system file to be upgraded, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not pass through The second terminal is upgraded;Or,
The first terminal judges whether the information that the second terminal returns is the information for allowing to upgrade, if so, such as Fruit is, it is determined that can be upgraded by the second terminal;Otherwise determination can not be risen by the second terminal Grade.
The above method judges whether the first terminal can be risen by the second terminal using two ways Grade, the first is that the second terminal is consistent with the first terminal model in determination, and version number is higher than the first terminal When, the second terminal determines described in the first terminal directly to the first terminal return system the file information The information that two terminals return is after needing the system file that upgrades, to be upgraded, second is that the first terminal judges institute Whether the information for stating second terminal return is the information for allowing to upgrade, and increases one layer of user's active judgment mechanism, passes through two kinds Method, selectivity is more, more adaptable.
In one possible implementation, the first terminal sends the system file information in the first terminal To the second terminal;Or,
The first terminal is by the system of the system file information of the second terminal received and the first terminal The file information is compared, and determines the system file upgraded, and notify to the second terminal.
The terminal that the above method, terminal to be upgraded and auxiliary are upgraded, is compared by system file information, is determined The system file upgraded reduces the quantity of file transmission, shortens the time of file transmission, preferably eliminates It is unnecessary to carry out the wasting of resources caused by transmission file, it is more convenient, it is time saving.
Second aspect, a kind of method of edition upgrading provided in an embodiment of the present invention include:
After second terminal is connect with first terminal, judge whether to be upgraded for the first terminal;
If it is determined that can be upgraded for the first terminal, then the second terminal sends out the system file for needing to upgrade Give the first terminal.
The above method is upgraded in such a way that first terminal is connect with second terminal, and family can be used and carrying out eventually When the upgrading of end, do not need network or upgraded using flow, and when being upgraded, the first terminal passes through institute The system file that upgrades of needs for stating second terminal transmission is upgraded, after determining the file for needing to upgrade, will only need into The file of row upgrading is sent, and the quantity of file transmission is reduced, and is shortened the time of file transmission, is preferably eliminated not Necessity carries out the wasting of resources caused by transmission file, more convenient, and time saving province's flow does not need to network.
In one possible implementation, the type information and be that the second terminal is sent according to the first terminal Unite version number, it is identical as the model of the second terminal whether identical to judge the first terminal, and the first terminal is Whether system version number is lower than the system version number of the second terminal, if it is, being determined to as first terminal progress Upgrading;Otherwise determination can not be risen for the first terminal;Or, the second terminal believes the model of the second terminal After breath and system version number are sent to the first terminal, judge whether the first terminal returns to the information for allowing to upgrade, such as Fruit is, it is determined that can be upgraded for the first terminal;Otherwise determination can not be upgraded for the first terminal.
The above method carries out the verifying of model version by the terminal upgraded to terminal and auxiliary to be upgraded, with Guarantee that described two terminals are upgraded under terminal models unanimous circumstances, causes upgrading wrong to avoid terminal models are inconsistent Accidentally, the system file of the terminal is damaged, and consistent in described two terminal models, and the feelings that version number is inconsistent Upgraded under condition, avoids and still upgrade in the case where version number unanimously is not required to be upgraded, preferably avoid resource Waste, more accurately, stability is stronger.
In one possible implementation, the second terminal sends the system file information in the second terminal To the first terminal, and the system file information returned according to the first terminal determines the system file for needing to upgrade;Or,
The second terminal is by the system of the system file information of the first terminal received and the second terminal The file information is compared, and determines the system file upgraded.
The terminal that the above method, terminal to be upgraded and auxiliary are upgraded, is compared by system file information, is determined The system file upgraded reduces the quantity of file transmission, shortens the time of file transmission, preferably eliminates It is unnecessary to carry out the wasting of resources caused by transmission file, it is more convenient, it is time saving.
The third aspect, the embodiment of the invention also provides a kind of terminal of edition upgrading, which includes: at least one Manage unit and at least one storage unit, wherein the storage unit is stored with program code, when said program code is by institute When stating processing unit execution, so that the processing unit executes the function of each embodiment of above-mentioned first aspect or second aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of terminal of edition upgrading, which includes: judgment module and liter Grade module, the terminal have the function of realizing each embodiment of above-mentioned first aspect or second aspect.
5th aspect, the application also provide a kind of computer storage medium, are stored thereon with computer program, the program quilt The step of first aspect or second aspect the method are realized when processor executes.
In addition, third aspect technical effect brought by any implementation into the 5th aspect can be found in first party Technical effect brought by different implementations in face or second aspect, details are not described herein again.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of system schematic of edition upgrading provided in an embodiment of the present invention;
Fig. 2 is the method schematic diagram of the first edition upgrading provided in an embodiment of the present invention;
Fig. 3 judges that determination can carry out upgrading schematic diagram by second terminal for the embodiment of the present invention;
Fig. 4 is that the embodiment of the present invention passes through second terminal judgement determination it fails to match schematic diagram;
Fig. 5 is that the embodiment of the present invention judges to determine that first terminal is not available second terminal and is upgraded by second terminal Schematic diagram;
Fig. 6 is sent to for second terminal described in the embodiment of the present invention using whole system files as final upgrade file described First terminal schematic diagram;
Fig. 7 is second terminal described in the embodiment of the present invention using the system file different from itself initial time as most final rise Grade file is sent to the first terminal schematic diagram;
Fig. 8 is the embodiment of the present invention in the determining final upgrade-system file signal of second terminal progress system file comparison Figure;
Fig. 9 is the embodiment of the present invention in the determining final upgrade-system file signal of first terminal progress system file comparison Figure;
Figure 10 is the method schematic diagram of second of edition upgrading provided in an embodiment of the present invention;
Figure 11 is the related procedure operation chart of the method for edition upgrading of the embodiment of the present invention;
Figure 12 is the structural schematic diagram of the first terminal of the first edition upgrading of the embodiment of the present invention;
Figure 13 is the structural schematic diagram of the first terminal of second of edition upgrading of the embodiment of the present invention;
Figure 14 is the structural schematic diagram of the second terminal of the first edition upgrading of the embodiment of the present invention;
Figure 15 is the structural schematic diagram of the second terminal of second of edition upgrading of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The some words occurred in text are explained below:
(1) " terminal " of meaning of the embodiment of the present invention is the terminal for referring to support the version upgrading method technology, i.e. hand Machine, plate, computer etc..
(2) term " multiple " refers to two or more in the embodiment of the present application, and other quantifiers are similar therewith.
(3) term "and/or" in the embodiment of the present application describes the incidence relation of affiliated partner, indicates may exist three kinds Relationship, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Character "/" Typically represent the relationship that forward-backward correlation object is a kind of "or".
(4) term " terminal to be upgraded " refers to the terminal for currently needing to carry out edition upgrading in the embodiment of the present application.
(5) term in the embodiment of the present application " auxiliary upgrading terminals ", which refers to, currently assists terminal to be upgraded to carry out edition upgrading Terminal.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
As shown in Figure 1, a kind of system of edition upgrading of the embodiment of the present invention includes: first terminal 100, second terminal 101.
First terminal 100: for judging whether to be risen by the second terminal after connecting with second terminal Grade;If it is determined that can be upgraded by the second terminal, then the need that the first terminal is sent by the second terminal The system file to be upgraded is upgraded.
Second terminal 101: can be upgraded for judging whether after being connect with first terminal for the first terminal; If it is determined that can be upgraded for the first terminal, then the second terminal will need the system file upgraded to be sent to described First terminal.
Wherein, the first terminal and the second terminal, can be there are many transmission sides when carrying out system file transmission Formula is simply enumerated several below.
Transmission mode 1: Bluetooth transmission.
Specifically, the second terminal will need the system file upgraded to be sent to described first by Bluetooth transmission mode Terminal.
By way of Bluetooth transmission, system file can be still realized in no network and in the case where not wasting flow Transmission, it is convenient, fast.
Transmission mode 2: data line transmission.
Specifically, the second terminal, which will need the system file upgraded to connect transmission mode by data line, is sent to institute State first terminal.
Transmission mode 3: WLAN transmission.
Specifically, the second terminal will need the system file upgraded to be sent to institute by WLAN transmission mode State first terminal.
It should be noted that above to the first terminal and the second terminal in the mode for carrying out system file transmission It is merely illustrative, any first terminal of the invention and second terminal of can be applied to is carrying out system file biography Defeated mode, is all suitable for the embodiment of the present invention.
In the embodiment of the present invention, when carrying out edition upgrading to a certain terminal by the above method, another terminal is needed Terminal to be upgraded is assisted to be upgraded, i.e. the system of progress edition upgrading includes first terminal, second terminal, wherein described the One terminal is terminal to be upgraded, and the second terminal is auxiliary upgrading terminals.
Based on this, the operation when carrying out edition upgrading of different terminals is also not quite similar in the system, therefore, below root According to the first terminal for including in the system, second terminal is divided into terminal operation scene to be upgraded, and auxiliary upgrading terminals operate field Scape is introduced respectively.
Scene one: terminal operation scene to be upgraded.
User is when treating upgrading terminals and upgrading, it is necessary first to rise terminal to be upgraded (i.e. first terminal) and auxiliary Grade terminal (i.e. second terminal) is attached, and then, judges whether the auxiliary terminal connected can help end to be upgraded End is upgraded.
Specifically, as shown in Fig. 2, a kind of method of edition upgrading of the embodiment of the present invention includes:
Step 200: after first terminal is connect with second terminal, judging whether to be risen by the second terminal Grade;
Step 201: if it is determined that can be upgraded by the second terminal, then the first terminal passes through described second The system file that the needs that terminal is sent upgrade is upgraded.
Through the above scheme, the mode that first terminal is connect with second terminal is upgraded, and family can be used and carrying out eventually When the upgrading of end, do not need network or upgraded using flow, and when being upgraded, the first terminal passes through institute The system file that upgrades of needs for stating second terminal transmission is upgraded, after determining the file for needing to upgrade, will only need into The file of row upgrading is sent, and the quantity of file transmission is reduced, and is shortened the time of file transmission, is preferably eliminated not Necessity carries out the wasting of resources caused by transmission file, more convenient, and time saving province's flow does not need to network.
Wherein, the mode whether the auxiliary terminal that above-mentioned judgement is connected can help terminal to be upgraded to be upgraded There are many, it can be judged in the terminal to be upgraded, can also be judged in the auxiliary upgrading terminals, below It is introduced respectively for different judgment modes.
Judgment mode 1: the second terminal is judged.
Specifically, the type information of the first terminal and system version number are sent to described second by the first terminal After terminal, judge whether to be upgraded by the second terminal according to the information that the second terminal returns.
Firstly, need first to carry out the matching of terminal models after the first terminal and the second terminal are attached, I.e. under the first terminal and the second terminal model unanimous circumstances, subsequent edition upgrading can be just carried out, therefore, As shown in Figure 3, it is assumed that the model X5 and system version 2.0.1.1 of the first terminal, the model X5 of the second terminal are System version number is 2.0.1.3.After the first terminal and the second terminal are attached, the first terminal is by described the The model X5 and system version 2.0.1.1 of one terminal are sent to the second terminal, and the second terminal is receiving described One terminal send the first terminal type information and system version number after, by judgement, the first terminal and itself Model it is identical, then proceed to judge whether the system version number of itself is higher than the system version number of the first terminal, pass through Judgement, the system version number of itself are higher than the system version number of the first terminal, then judgement can pass through the second terminal The first terminal is upgraded.
It is assumed that the model X5 and system version 2.0.1.1 of the first terminal, the second terminal Model L3, system version number are 2.0.1.3.After the first terminal and the second terminal are attached, described first eventually The model X5 of the first terminal and system version 2.0.1.1 are sent to the second terminal by end, and the second terminal exists After the type information and system version number that receive the first terminal that the first terminal is sent, by judging, described first Terminal is not identical as the model of itself, then illustrating the first terminal, it fails to match with the second terminal, so that judgement cannot Enough the first terminal is upgraded by the second terminal.
As shown in fig. 5, it is assumed that the model X5 and system version 2.0.1.3 of the first terminal, the second terminal Model X5, system version number are 2.0.1.2.After the first terminal and the second terminal are attached, described first eventually The model X5 of the first terminal and system version 2.0.1.3 are sent to the second terminal by end, and the second terminal exists After the type information and system version number that receive the first terminal that the first terminal is sent, by judging, described first Terminal is identical as the model of itself, then proceedes to judge the system the version whether system version number of itself is higher than the first terminal This number, by judgement, the system version number of itself is lower than the system version number of the first terminal, then judgement can not pass through institute Second terminal is stated to upgrade the first terminal.
Wherein, consistent with the model of the first terminal in the second terminal in situation shown in Fig. 5, but as auxiliary The system version number of the second terminal of terminal is helped to be lower than the system version number of the first terminal as terminal to be upgraded In the case where, the first terminal can also instruct depending on the user's operation, and selection passes through first terminal auxiliary described second Terminal is upgraded, at this point, the first terminal is then equivalent to auxiliary upgrading terminals, the second terminal is then equivalent to be upgraded Terminal.
Judgment mode 2: the first terminal is judged.
Specific: the type information and system version number that the first terminal is sent according to the second terminal judge institute It is identical as the model of the second terminal whether identical to state first terminal, and whether the system version number of the first terminal is lower than The system version number of the second terminal, if it is, being determined to be upgraded by the second terminal;Otherwise it determines not It can be upgraded by the second terminal.
Firstly, need first to carry out the matching of terminal models after the first terminal and the second terminal are attached, I.e. under the first terminal and the second terminal model unanimous circumstances, subsequent edition upgrading can be just carried out, therefore, After the first terminal and the second terminal are attached, the second terminal by the type information of the second terminal and System version number is sent to the first terminal, and the first terminal is in the second terminal for receiving the second terminal transmission Type information and system version number after, judge whether the second terminal identical as the model of itself identical, if not identical, Illustrating the first terminal, it fails to match with the second terminal, so that judgement can not be by the second terminal to described the One terminal is upgraded.
If the second terminal is identical as the model of itself, whether the system version number for continuing to judge itself is higher than described The system version number of second terminal, if so, judgement can upgrade the first terminal by the second terminal, if It is not that then judgement can not upgrade the first terminal by the second terminal.
The above method carries out the verifying of model version by the terminal upgraded to terminal and auxiliary to be upgraded, with Guarantee that described two terminals are upgraded under terminal models unanimous circumstances, causes upgrading wrong to avoid terminal models are inconsistent Accidentally, the system file of the terminal is damaged, and consistent in described two terminal models, and the feelings that version number is inconsistent Upgraded under condition, avoids and still upgrade in the case where version number unanimously is not required to be upgraded, preferably avoid resource Waste, more accurately, stability is stronger.
Wherein, in the embodiment of the present invention when the first terminal is upgraded by the second terminal, determining When whether state second terminal can be used to that the first terminal is assisted to be upgraded, according to the second terminal to the first terminal The information of return is different, and the subsequent mode upgraded is not also identical, chooses several modes below and is introduced.
Mode 1: the second terminal is directly to the first terminal return system the file information.
Specifically, the first terminal judges whether the information that the second terminal returns is the system text for needing to upgrade Part, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not by the second terminal into Row upgrading.
When the first terminal and the second terminal are attached, and to the first terminal and the second terminal into The matching of row model, after version confirmation, can be judged whether according to the second terminal to the information that the first terminal returns can Upgraded by the second terminal.For example, being all X5 type if the first terminal is consistent with the second terminal model Number, and the version number of the second terminal is 2.0.1.3, and after the version number 2.0.1.1 of the first terminal, described second The system file information upgraded is directly sent to the first terminal by terminal, because the first terminal has received institute State the system file that the needs of second terminal return upgrade, it is determined that can be upgraded by the second terminal.
If the first terminal is consistent with the second terminal model, but the version number of the second terminal is not higher than described After the version number of first terminal, then the second terminal does not send the system file letter upgraded to the first terminal Breath, but, the information that can not assist the first terminal upgraded lower to first terminal transmission version number, therefore, Then determination can not be upgraded by the second terminal.
If the first terminal and the second terminal model are inconsistent, the second terminal is not to the first terminal The system file information upgraded is sent, but, the letter that it fails to match inconsistent to first terminal transmission model Breath, therefore, it is determined that can not be upgraded by the second terminal.
Wherein, second terminal described in the embodiment of the present invention can be according to the first terminal as described in being sent under type determination System file information:
Each terminal can have an initial time, and this initial time refers generally to the time of making the product, and immobilizes.I.e. Mobile phone can generate various system files when completing first booting, and the creation time of this file is that pre-selection has cell phone manufacturer to set The time of making the product of fixed fixation.After the completion of booting, network renewal time can be connected, but not influences time of making the product and each The creation time of file is generated.
If file carried out upgrading, the newly-generated time must be the new time upgraded at that time, each document creation Time will not be equal to the time of making the product certainly, this time can differ greatly.
Therefore, for the terminal for not carrying out upgrading, the time of all system files in the terminal is equal For the time of preliminary examination, after the terminal is upgraded, the time for the system file for needing to upgrade is changed accordingly, without Its corresponding time of the system file upgraded remains initial time, therefore, in the first terminal and described second After terminal progress model is consistent, and the version number of the second terminal is higher than the version number of the first terminal, described second eventually The system file different from initial time is found by traversing itself system file information in end, and by it is all with it is initial when Between different system file information can be integrated together with list or other modes, be sent to the first terminal.
It should be noted that the system file information for being sent to the first terminal is determined to the second terminal above Mode is merely illustrative, it is any can be applied to that the determination of the invention second terminal is sent to the first terminal be System the file information mode, is all suitable for the embodiment of the present invention.
Mode 2: the second terminal returns to the information for whether allowing to upgrade to the first terminal.
Specifically, the first terminal judges whether the information that the second terminal returns is the information for allowing to upgrade, such as Fruit is, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not pass through the second terminal Upgraded.
When the first terminal and the second terminal are attached, and to the first terminal and the second terminal into The matching of row model, after version confirmation, can be judged whether according to the second terminal to the information that the first terminal returns can Upgraded by the second terminal.For example, being all X5 if the first terminal is consistent with second terminal progress model Model, and the version number of the second terminal is 2.0.1.3, after the version number 2.0.1.1 of the first terminal, described the Two terminals send the information for being able to carry out upgrading to the first terminal.
If to carry out model inconsistent for the first terminal and the second terminal, the second terminal is to the first terminal It is consistent with second terminal progress model to send the information that can not be upgraded or the first terminal, but described second The version number of terminal is not higher than the version number of the first terminal, and the second terminal is sent to the first terminal can not be into The information of row upgrading.
Wherein, return to whether allow this mode of the information of upgrading to the first terminal by the second terminal, it can Increase user to determine whether to carry out updating operation manually, i.e., when the first terminal and the second terminal are attached, if institute It states first terminal and the second terminal and carries out that model is consistent, and the version number of the second terminal is higher than the first terminal After version number, the second terminal sends the information for being able to carry out upgrading to the first terminal, and the first terminal is receiving After what the second terminal was sent is able to carry out the information of upgrading, the upgrading that carries out that the first terminal can be triggered according to user refers to The operation of order continues to carry out the first terminal upgrading or the first terminal can be according to the behaviour of the END instruction of user's triggering Work terminates to upgrade the first terminal.
It should be noted that the operation after whether the information that the second terminal returns is the information for allowing to upgrade above Mode be merely illustrative, any mode that can be applied to subsequent operation of the invention is all suitable for the embodiment of the present invention.
The above method judges whether the first terminal can be risen by the second terminal using two ways Grade, the first is that the second terminal is consistent with the first terminal model in determination, and version number is higher than the first terminal When, the second terminal determines described in the first terminal directly to the first terminal return system the file information The information that two terminals return is after needing the system file that upgrades, to be upgraded, second is that the first terminal judges institute Whether the information for stating second terminal return is the information for allowing to upgrade, and increases one layer of user's active judgment mechanism, passes through two kinds Method, selectivity is more, more adaptable.
The first terminal is by the second terminal in such a way that the second terminal is upgraded to described One terminal sends the system file information for being upgraded, and makes the first terminal in the use for receiving the second terminal transmission After the system file information of upgrading, store path corresponding to system file and system file according to included in it will The system file covers corresponding own system the file information according to corresponding store path, thus realize edition upgrading, In, the first terminal in such a way that the system file that the second terminal is sent is upgraded there are many, separately below into Row is introduced.
Document upgrading mode 1: system file is all sent.
Specifically, all system file informations in the second terminal are sent to described first eventually by the second terminal End.The first terminal is upgraded according to the system file information that the second terminal is sent.
As shown in fig. 6, when the first terminal is attached with the second terminal, the first terminal and described second After terminal models are consistent, and the version number of the second terminal is higher than the version number of the first terminal, the second terminal will Itself all system file information is sent to the first terminal, and the first terminal is receiving what the second terminal was sent After the system file information of upgrading, store path corresponding to system file and system file according to included in it, The system file is covered into itself corresponding system file according to corresponding store path, to realize edition upgrading.
File sending method 2: the system file different from initial time is all sent.
Specifically, the second terminal sends the system file informations different from initial time in the second terminal To the first terminal.
As shown in fig. 7, when the first terminal is attached with the second terminal, the first terminal and described second After terminal models are consistent, and the version number of the second terminal is higher than the version number of the first terminal, the second terminal will Itself is sent to the first terminal except all system file informations different from initial time, and the first terminal is receiving After the system file information for upgrading that the second terminal is sent, system file and system file according to included in it The system file is covered itself corresponding system file according to corresponding store path by corresponding store path, thus Realize edition upgrading.
File sending method 3: it sends terminal to be upgraded and determines the system file needed.
When the second terminal sends the system file that the first terminal needs to the first terminal, need to confirm institute Stating which system file in second terminal is system file required for the first terminal upgrades, wherein confirmation finally needs The system file upgraded can be confirmed in the first terminal, can also be confirmed in the second terminal, Below according to different validation testings, it is introduced respectively.
(1) confirm file mode 1: the second terminal is confirmed.
Specifically, the system file information in the first terminal is sent to the second terminal by the first terminal.
As shown in figure 8, when the first terminal is attached with the second terminal, the first terminal and described second After terminal models are consistent, and the version number of the second terminal is higher than the version number of the first terminal, the first terminal will Itself is sent to the second terminal except all system file informations different from initial time, and the second terminal traverses itself System file determines all system file informations different from itself initial time, and the institute that the second terminal will receive The system file information of first terminal transmission is stated with system file information different from itself initial time in the second terminal It is compared, both determines system file time different system file information set, the second terminal is by the determination System file information set as the finally system file information that is upgraded, and by the final system the file information It is sent to the first terminal, storage corresponding to first terminal system file and system file according to included in it The system file is covered corresponding own system the file information according to corresponding store path, to realize version by path Upgrading.
(2) confirm file mode 2: the first terminal is confirmed.
Specifically, the first terminal is by the system file information of the second terminal received and the first terminal System file information be compared, determine the system file that is upgraded, and notice is to the second terminal.
As shown in figure 9, when the first terminal is attached with the second terminal, the first terminal and described second After terminal models are consistent, and the version number of the second terminal is higher than the version number of the first terminal, the second terminal will Itself is sent to the first terminal except all system file informations different from initial time, and the first terminal traverses itself System file determines all system file informations different from itself initial time, and the institute that the first terminal will receive State second terminal transmission system file information with the first terminal system file information different from itself initial time into Row compares, and both determines system file time different system file information set, and the first terminal is by the determination System file information set is sent out as the system file information finally upgraded, and by the final system the file information Give the second terminal, the second terminal after receiving the final system the file information, by corresponding system file and Store path corresponding to system file is sent to the first terminal together, and the first terminal is according to included in it Store path corresponding to system file and system file, the system file is corresponding certainly according to the covering of corresponding store path Body system file information, to realize edition upgrading.
It should be noted that be merely illustrative above to the mode of system file for upgrading that determines, it is any can be with It is applied to the mode of the system file for confirming upgrading of the invention, is all suitable for the embodiment of the present invention.
The terminal that the above method, terminal to be upgraded and auxiliary are upgraded, is compared by system file information, is determined The system file upgraded reduces the quantity of file transmission, shortens the time of file transmission, preferably eliminates It is unnecessary to carry out the wasting of resources caused by transmission file, it is more convenient, it is time saving.
Scene two: auxiliary upgrading terminals operation scenario.
User is when treating upgrading terminals and upgrading, it is necessary first to by the terminal of the terminal to be upgraded and auxiliary upgrading It is attached, then, judges whether the auxiliary terminal connected can help terminal to be upgraded to be upgraded.
Specifically, as shown in Figure 10, a kind of method of edition upgrading of the embodiment of the present invention includes:
Step 1000: after second terminal is connect with first terminal, judging whether to be upgraded for the first terminal;
Step 1001: if it is determined that can be upgraded for the first terminal, then the second terminal upgrades needs System file is sent to the first terminal.
Through the above scheme, the mode that first terminal is connect with second terminal is upgraded, and family can be used and carrying out eventually When the upgrading of end, do not need network or upgraded using flow, and when being upgraded, the first terminal passes through institute The system file that upgrades of needs for stating second terminal transmission is upgraded, after determining the file for needing to upgrade, will only need into The file of row upgrading is sent, and the quantity of file transmission is reduced, and is shortened the time of file transmission, is preferably eliminated not Necessity carries out the wasting of resources caused by transmission file, more convenient, and time saving province's flow does not need to network.
Wherein, the mode whether the auxiliary terminal that above-mentioned judgement is connected can help terminal to be upgraded to be upgraded There are many, it can be judged in the terminal to be upgraded, can also be judged in the auxiliary upgrading terminals, below It is introduced respectively for different judgment modes.
Judgment mode 1: the second terminal is judged.
Specifically, type information and system version number that the second terminal is sent according to the first terminal, judge institute It is identical as the model of the second terminal whether identical to state first terminal, and whether the system version number of the first terminal is lower than The system version number of the second terminal, if it is, being determined to be upgraded for the first terminal;Otherwise determination cannot Enough upgraded for the first terminal.
Firstly, need first to carry out the matching of terminal models after the first terminal and the second terminal are attached, I.e. under the first terminal and the second terminal model unanimous circumstances, subsequent edition upgrading can be just carried out, therefore, After the first terminal and the second terminal are attached, the first terminal by the type information of the first terminal and System version number is sent to the second terminal, and the second terminal is in the first terminal for receiving the first terminal transmission Type information and system version number after, judge whether the first terminal identical as the model of itself identical, if not identical, Illustrating the first terminal, it fails to match with the second terminal, so that judgement can not be by the second terminal to described the One terminal is upgraded.
If the first terminal is identical as the model of itself, whether the system version number for continuing to judge itself is higher than described The system version number of first terminal, if so, judgement can upgrade the first terminal by the second terminal, if It is not that then judgement can not upgrade the first terminal by the second terminal.
Judgment mode 2: the first terminal is judged.
Specific: the type information of the second terminal and system version number are sent to described first by the second terminal After terminal, judge whether the first terminal returns to the information for allowing to upgrade, if it is, being determined to as the first terminal Upgraded;Otherwise determination can not be upgraded for the first terminal.
Firstly, need first to carry out the matching of terminal models after the first terminal and the second terminal are attached, I.e. under the first terminal and the second terminal model unanimous circumstances, subsequent edition upgrading can be just carried out, therefore, After the first terminal and the second terminal are attached, the second terminal by the type information of the second terminal and System version number is sent to the first terminal, and the first terminal is in the second terminal for receiving the second terminal transmission Type information and system version number after, judge whether the second terminal identical as the model of itself identical, if not identical, Illustrating the first terminal, it fails to match with the second terminal, so that judgement can not be by the second terminal to described the One terminal is upgraded.
If the second terminal is identical as the model of itself, whether the system version number for continuing to judge itself is higher than described The system version number of second terminal, if so, judgement can upgrade the first terminal by the second terminal, if It is not that then judgement can not upgrade the first terminal by the second terminal.
The above method carries out the verifying of model version by the terminal upgraded to terminal and auxiliary to be upgraded, with Guarantee that described two terminals are upgraded under terminal models unanimous circumstances, causes upgrading wrong to avoid terminal models are inconsistent Accidentally, the system file of the terminal is damaged, and consistent in described two terminal models, and the feelings that version number is inconsistent Upgraded under condition, avoids and still upgrade in the case where version number unanimously is not required to be upgraded, preferably avoid resource Waste, more accurately, stability is stronger.
The first terminal is by the second terminal in such a way that the second terminal is upgraded to described One terminal sends the system file information for being upgraded, and makes the first terminal in the use for receiving the second terminal transmission After the system file information of upgrading, store path corresponding to system file and system file according to included in it will The system file covers corresponding own system the file information according to corresponding store path, thus realize edition upgrading, In, the first terminal in such a way that the system file that the needs that the second terminal is sent upgrade is upgraded there are many, It is introduced separately below.
Document upgrading mode 1: system file is all sent.
Specifically, all system file informations in the second terminal are sent to described first eventually by the second terminal End.The first terminal is upgraded according to the system file information that the second terminal is sent.
When the first terminal and the second terminal are attached, the first terminal and the second terminal model one It causes, and after the version number of the second terminal is higher than the version number of the first terminal, the second terminal is by itself all system System the file information is sent to the first terminal, and the first terminal is receiving that the second terminal sends for upgrading After system file information, store path corresponding to system file and system file according to included in it, by the system File covers itself corresponding system file according to corresponding store path, to realize edition upgrading.
File sending method 2: the system file different from initial time is all sent.
Specifically, the second terminal sends the system file informations different from initial time in the second terminal To the first terminal.
When the first terminal and the second terminal are attached, the first terminal and the second terminal model one Cause, and the version number of the second terminal be higher than the first terminal version number after, the second terminal will itself remove with it is first The time different all system file informations that begin are sent to the first terminal, and the first terminal is receiving described second eventually After the system file information for upgrading that end is sent, deposited corresponding to system file and system file according to included in it Path is stored up, the system file is covered into itself corresponding system file according to corresponding store path, to realize version liter Grade.
File sending method 3: it sends terminal to be upgraded and determines the system file needed.
When the second terminal sends the system file that the first terminal needs to the first terminal, need to confirm institute Stating which system file in second terminal is system file required for the first terminal upgrades, wherein confirmation finally needs The system file upgraded can be confirmed in the first terminal, can also be confirmed in the second terminal, Below according to different validation testings, it is introduced respectively.
(1) confirm file mode 1: the second terminal is confirmed.
Specifically, the second terminal is by the system file information of the first terminal received and the second terminal System file information be compared, determine the system file that is upgraded.
When the first terminal and the second terminal are attached, the first terminal and the second terminal model one Cause, and the version number of the second terminal be higher than the first terminal version number after, the first terminal will itself remove with it is first The time different all system file informations that begin are sent to the second terminal, and the second terminal traverses own system file, Determine all system file informations different from itself initial time, and the first terminal that the second terminal will receive The system file information of transmission is compared with system file information different with itself initial time in the second terminal, really System file time different system file information set both is made, the second terminal believes the system file of the determination Breath set is sent to described the as the final system file information upgraded, and by the final system the file information One terminal, store path corresponding to first terminal system file and system file according to included in it will be described System file covers corresponding own system the file information according to corresponding store path, to realize edition upgrading.
(2) confirm file mode 2: the first terminal is confirmed.
Specifically, the system file information in the second terminal is sent to the first terminal by the second terminal, And the system file information returned according to the first terminal determines the system file for needing to upgrade.
When the first terminal and the second terminal are attached, the first terminal and the second terminal model one Cause, and the version number of the second terminal be higher than the first terminal version number after, the second terminal will itself remove with it is first The time different all system file informations that begin are sent to the first terminal, and the first terminal traverses own system file, Determine all system file informations different from itself initial time, and the second terminal that the first terminal will receive The system file information of transmission is compared with the first terminal system file information different with itself initial time, determines Both out system file time different system file information set, the first terminal is by the system file information of the determination Gather as the system file information finally upgraded, and the final system the file information is sent to described second Terminal, the second terminal are right by corresponding system file and system file institute after receiving the final system the file information The store path answered is sent to the first terminal, first terminal system file and system according to included in it together The system file is covered corresponding own system file according to corresponding store path and believed by store path corresponding to file Breath, to realize edition upgrading.
It should be noted that be merely illustrative above to the mode of system file for upgrading that determines, it is any can be with It is applied to the mode of the system file for confirming upgrading of the invention, is all suitable for the embodiment of the present invention.
The terminal that the above method, terminal to be upgraded and auxiliary are upgraded, is compared by system file information, is determined The system file upgraded reduces the quantity of file transmission, shortens the time of file transmission, preferably eliminates It is unnecessary to carry out the wasting of resources caused by transmission file, it is more convenient, it is time saving.
Which kind of it should be noted that above-named mode is merely illustrative, can specifically be set by user using mode It sets.To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made further below in conjunction with attached drawing Detailed description, it is clear that the described embodiments are only some of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
The method of edition upgrading a kind of in the embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification, It is wherein chosen at first terminal and carries out matching judgment, the text of system upgrade required for second terminal only sends it to first terminal Part, and being illustrated under the scene of Transmission system file by way of bluetooth, it should be noted that other situations and this Similar, therefore not to repeat here.
As shown in figure 11, the related procedure operation of a kind of method of edition upgrading described in the embodiment of the present invention includes:
Step 1100: first terminal is connect with second terminal.
Step 1101, the second terminal send the type information and system version of the second terminal to the first terminal This number.
The type information and system version that step 1102, the first terminal are sent according to the second terminal received Number, judge whether the first terminal is identical as the model of the second terminal identical, if they are the same, step 1103 is executed, if not It is identical, execute step 1104.
Whether step 1103, the first terminal judge the system version number of the first terminal lower than the second terminal System version number, if being lower than, execute step 1105, if being not less than, execute step 1106.
Step 1104, it fails to match by first terminal prompt user.
Step 1105: the second terminal traverses own system file, by the system file different from itself initial time Information is sent to the first terminal.
Step 1106: second terminal version number described in the first terminal prompt user is not higher than the first terminal, nothing Method helps the first terminal to carry out updating operation.
Step 1107: the first terminal traverses itself after receiving the system file information that the second terminal is sent System file determines system file information different from the first terminal initial time in the first terminal.
Step 1108: the first terminal by the system file information for itself being different from initial time with receive described the The system file information of two terminals is compared, and determines the system file finally upgraded.
Step 1109: the system file information that the determination finally upgrades is sent to institute by the first terminal State second terminal.
Step 1110: the final system upgraded that the second terminal is sent according to the first terminal Corresponding system file and system file store path are sent to the first terminal by the file information.
Step 1111: the system file and system file that the first terminal is sent according to the second terminal received Store path is covered itself corresponding system file, and after the covering for the system file for completing to upgrade needs, again Starting, completes this edition upgrading.
In some possible embodiments, each side of a kind of method provided in an embodiment of the present invention to edition upgrading Face is also implemented as a kind of form of program product comprising program code, when said program code on computer terminals When operation, said program code is for making the terminal execute examples various according to the present invention described in this specification Step in the method for the edition upgrading of property embodiment.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product for data forwarding control of embodiment according to the present invention, can use Portable, compact Disk read-only memory (CD-ROM) and including program code, and can be run on server terminal.However, program of the invention Product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the program It can be used by information transmission, device or device or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can Medium is read, which can send, propagates or transmit for being used by periodic network moving system, device or device Or program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to --- Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It executes in computing terminal terminal, partly execute on the subscriber terminal, executing, as an independent software package partially in user Part executes in remote computation terminal or executes in remote computation terminal or server completely on computing terminal.It is relating to And in the situation of remote computation terminal, remote computation terminal can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to user's computing terminal, or, it may be connected to external computing terminal.
As shown in figure 12, the embodiment of the present invention provides a kind of first terminal of edition upgrading, which includes: at least one Processing unit 1200 and at least one storage unit 1201, wherein the storage unit 1201 is stored with program code, works as institute When stating program code and being executed by the processing unit 1200, so that the processing unit 1200 executes following process:
After connecting with second terminal, judge whether to be upgraded by the second terminal;If it is determined that can lead to It crosses the second terminal to be upgraded, then the system file that the first terminal is upgraded by the needs that the second terminal is sent Upgraded.
Optionally, the processing unit 1200 is specifically used for:
After the type information of the first terminal and system version number are sent to the second terminal, according to described second The information that terminal returns judges whether to be upgraded by the second terminal;Or,
According to type information and system version number that the second terminal is sent, the first terminal and described second are judged Whether the model of terminal is identical identical, and whether the system version number of the first terminal is lower than the system version of the second terminal This number, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not pass through the second terminal Upgraded.
Optionally, the processing unit 1200 is specifically used for:
Judge whether the information that the second terminal returns is the system file for needing to upgrade, if it is, being determined to Upgraded by the second terminal;Otherwise determination can not be upgraded by the second terminal;Or,
Judge whether the information that the second terminal returns is the information for allowing to upgrade, if so, if it is, determining energy Enough upgraded by the second terminal;Otherwise determination can not be upgraded by the second terminal.
Optionally, the processing unit 1200 is specifically used for:
System file information in the first terminal is sent to the second terminal;Or,
The system file information of the second terminal received and the system file information of the first terminal are carried out Compare, determines the system file upgraded, and notify to the second terminal.
As shown in figure 13, the embodiment of the present invention provides a kind of first terminal of edition upgrading, including 1300 He of judgment module Upgraded module 1301:
Judgment module 1300: for judging whether to be risen by the second terminal after connecting with second terminal Grade;
Upgraded module 1301: if it is determined that can be upgraded by the second terminal, then for whole by described second The system file that the needs that end is sent upgrade is upgraded.;
Optionally, the judgment module 1300 is specifically used for:
After the type information of the first terminal and system version number are sent to the second terminal, according to described second The information that terminal returns judges whether to be upgraded by the second terminal;Or,
According to type information and system version number that the second terminal is sent, the first terminal and described second are judged Whether the model of terminal is identical identical, and whether the system version number of the first terminal is lower than the system version of the second terminal This number, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not pass through the second terminal Upgraded.
Optionally, the judgment module 1300 is specifically used for:
Judge whether the information that the second terminal returns is the system file for needing to upgrade, if it is, being determined to Upgraded by the second terminal;Otherwise determination can not be upgraded by the second terminal;Or,
Judge whether the information that the second terminal returns is the information for allowing to upgrade, if so, if it is, determining energy Enough upgraded by the second terminal;Otherwise determination can not be upgraded by the second terminal.
Optionally, the upgraded module 1301 is specifically used for:
System file information in the first terminal is sent to the second terminal;Or,
The system file information of the second terminal received and the system file information of the first terminal are carried out Compare, determines the system file upgraded, and notify to the second terminal.
As shown in figure 14, the embodiment of the present invention provides a kind of second terminal of edition upgrading, which includes: at least one Processing unit 1400 and at least one storage unit 1401, wherein the storage unit 1401 is stored with program code, works as institute When stating program code and being executed by the processing unit 1400, so that the processing unit 1400 executes following process:
After connecting with first terminal, judge whether to be upgraded for the first terminal;If it is determined that can for institute It states first terminal to be upgraded, then the second terminal will need the system file upgraded to be sent to the first terminal.
Optionally, the processing unit 1400 is specifically used for:
According to type information and system version number that the first terminal is sent, the first terminal and described second are judged Whether the model of terminal is identical identical, and whether the system version number of the first terminal is lower than the system version of the second terminal This number, if it is, being determined to be upgraded for the first terminal;Otherwise determination can not carry out for the first terminal Upgrading;Or,
After the type information of the second terminal and system version number are sent to the first terminal, described first is judged Whether terminal returns to the information for allowing to upgrade, if it is, being determined to be upgraded for the first terminal;Otherwise it determines not It can be upgraded for the first terminal.
Optionally, the processing unit 1400 is specifically used for:
System file information in the second terminal is sent to the first terminal, and is returned according to the first terminal The system file information returned determines the system file for needing to upgrade;Or,
The system file information of the system file information of the first terminal received and the second terminal is carried out Compare, determines the system file upgraded.
As shown in figure 15, the embodiment of the present invention provides a kind of second terminal of edition upgrading, including 1500 He of judgment module Upgraded module 1501:
Judgment module 1500: can be upgraded for judging whether after being connect with first terminal for the first terminal;
Upgraded module 1501: if it is determined that can be upgraded for the first terminal, then the system for being used to need to upgrade File is sent to the first terminal.
Optionally, the judgment module 1500 is specifically used for:
According to type information and system version number that the first terminal is sent, the first terminal and described second are judged Whether the model of terminal is identical identical, and whether the system version number of the first terminal is lower than the system version of the second terminal This number, if it is, being determined to be upgraded for the first terminal;Otherwise determination can not carry out for the first terminal Upgrading;Or,
After the type information of the second terminal and system version number are sent to the first terminal, described first is judged Whether terminal returns to the information for allowing to upgrade, if it is, being determined to be upgraded for the first terminal;Otherwise it determines not It can be upgraded for the first terminal.
Optionally, the upgraded module 1501 is specifically used for:
System file information in the second terminal is sent to the first terminal, and is returned according to the first terminal The system file information returned determines the system file for needing to upgrade;Or,
The system file information of the system file information of the first terminal received and the second terminal is carried out Compare, determines the system file upgraded.
The embodiment of the present invention also provides a kind of computer-readable non-volatile memory medium, including program code, when described For program code when running on computing terminal, said program code is for making the computing terminal execute the embodiments of the present invention The step of method of edition upgrading.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product Figure and/or flow chart describe the application.It should be understood that can realize that block diagram and or flow chart is shown by computer program instructions The combination of the block of a block and block diagram and or flow chart diagram for figure.These computer program instructions can be supplied to logical With computer, the processor of special purpose computer and/or other programmable data processing units, to generate machine, so that via meter The instruction that calculation machine processor and/or other programmable data processing units execute creates for realizing block diagram and or flow chart block In specified function action method.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More Further, the application can take computer usable or the shape of the computer program product on computer readable storage medium Formula has the computer realized in the medium usable or computer readable program code, to be made by instruction execution system It is used with or in conjunction with instruction execution system.In the present context, computer can be used or computer-readable medium can be with It is arbitrary medium, may include, stores, communicates, transmits or transmit program, is made by instruction execution system, device or terminal With, or instruction execution system, device or terminal is combined to use.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of method of edition upgrading, which is characterized in that the described method includes:
After first terminal is connect with second terminal, judge whether to be upgraded by the second terminal;
If it is determined that can be upgraded by the second terminal, then the need that the first terminal is sent by the second terminal The system file to be upgraded is upgraded.
2. the method as described in claim 1, which is characterized in that the first terminal judges whether can be by described second eventually End is upgraded, comprising:
After the type information of the first terminal and system version number are sent to the second terminal by the first terminal, according to The information that the second terminal returns judges whether to be upgraded by the second terminal;Or
The type information and system version number that the first terminal is sent according to the second terminal, judge the first terminal with Whether the model of the second terminal is identical identical, and whether the system version number of the first terminal is lower than the second terminal System version number, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not be by described Second terminal is upgraded.
3. method according to claim 2, which is characterized in that the information that the first terminal is returned according to the second terminal Judge whether to be upgraded by the second terminal, comprising:
The first terminal judges whether the information that the second terminal returns is the system file for needing to upgrade, if it is, It is determined to be upgraded by the second terminal;Otherwise determination can not be upgraded by the second terminal;Or
The first terminal judges whether the information that the second terminal returns is the information for allowing to upgrade, if so, if so, It is then determined to be upgraded by the second terminal;Otherwise determination can not be upgraded by the second terminal.
4. method according to claim 2, which is characterized in that the needs that the first terminal is sent by the second terminal Before the system file of upgrading is upgraded, further includes:
System file information in the first terminal is sent to the second terminal by the first terminal;Or first end The system file information of the second terminal received is compared by end with the system file information of the first terminal, really The system file upgraded calmly, and notify to the second terminal.
5. a kind of method of edition upgrading, which is characterized in that the described method includes:
After second terminal is connect with first terminal, judge whether to be upgraded for the first terminal;
If it is determined that can be upgraded for the first terminal, then the second terminal will need the system file upgraded to be sent to The first terminal.
6. method as claimed in claim 5, which is characterized in that the second terminal judges whether can be the first terminal Upgraded, comprising:
The type information and system version number that the second terminal is sent according to the first terminal, judge the first terminal with Whether the model of the second terminal is identical identical, and whether the system version number of the first terminal is lower than the second terminal System version number, if it is, being determined to be upgraded for the first terminal;Otherwise determination can not be described first Terminal is upgraded;Or
After the type information of the second terminal and system version number are sent to the first terminal by the second terminal, judgement Whether the first terminal returns to the information for allowing to upgrade, if it is, being determined to be upgraded for the first terminal;It is no Then determination can not be upgraded for the first terminal.
7. such as method described in claim 5 or 6, which is characterized in that determination needs to rise the second terminal in the following manner The system file of grade:
System file information in the second terminal is sent to the first terminal by the second terminal, and according to described The system file information that one terminal returns determines the system file for needing to upgrade;Or
The second terminal is by the system file of the system file information of the first terminal received and the second terminal Information is compared, and determines the system file upgraded.
8. a kind of first terminal of edition upgrading, which is characterized in that the terminal includes: at least one processing unit and at least one A storage unit, wherein the storage unit is stored with program code, when said program code is executed by the processing unit When, so that the processing unit executes following process:
After connecting with second terminal, judge whether to be upgraded by the second terminal;
If it is determined that can be upgraded by the second terminal, then the system upgraded by the needs that the second terminal is sent File is upgraded.
9. terminal as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
After the type information of the first terminal and system version number are sent to the second terminal, according to the second terminal The information of return judges whether to be upgraded by the second terminal;Or
According to type information and system version number that the second terminal is sent, the first terminal and the second terminal are judged Model it is identical whether identical, and the system version number of the first terminal whether be lower than the second terminal system version Number, if it is, being determined to be upgraded by the second terminal;Otherwise determination can not by the second terminal into Row upgrading.
10. terminal as claimed in claim 8 or 9, which is characterized in that the processing unit is specifically used for:
Judge whether the information that the second terminal returns is the system file for needing to upgrade, if it is, being determined to pass through The second terminal is upgraded;Otherwise determination can not be upgraded by the second terminal;Or
Judge whether the information that the second terminal returns is the information for allowing to upgrade, if so, if it is, being determined to lead to The second terminal is crossed to be upgraded;Otherwise determination can not be upgraded by the second terminal.
11. terminal as claimed in claim 9, which is characterized in that the processing unit is also used to:
System file information in the first terminal is sent to the second terminal;Or
The system file information of the second terminal received is compared with the system file information of the first terminal, It determines the system file upgraded, and notifies to the second terminal.
12. a kind of second terminal of edition upgrading, which is characterized in that the terminal includes: at least one processing unit and at least One storage unit, wherein the storage unit is stored with program code, when said program code is executed by the processing unit When, so that the processing unit executes following process:
After connecting with first terminal, judge whether to be upgraded for the first terminal;
If it is determined that can be upgraded for the first terminal, then the second terminal will need the system file upgraded to be sent to The first terminal.
13. terminal as claimed in claim 12, which is characterized in that the processing unit is specifically used for:
According to type information and system version number that the first terminal is sent, the first terminal and the second terminal are judged Model it is identical whether identical, and the system version number of the first terminal whether be lower than the second terminal system version Number, if it is, being determined to be upgraded for the first terminal;Otherwise determination can not be risen for the first terminal Grade;Or
After the type information of the second terminal and system version number are sent to the first terminal, the first terminal is judged Whether return allow upgrade information, if it is, being determined to be upgraded for the first terminal;Otherwise determination can not Upgraded for the first terminal.
14. terminal as described in claim 12 or 13, which is characterized in that the second terminal determines in the following manner to be needed The system file of upgrading:
System file information in the second terminal is sent to the first terminal, and returned according to the first terminal System file information determines the system file for needing to upgrade;Or
The system file information of the first terminal received is compared with the system file information of the second terminal, Determine the system file upgraded.
CN201810954664.XA 2018-08-21 2018-08-21 A kind of method and terminal of edition upgrading Pending CN109308186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810954664.XA CN109308186A (en) 2018-08-21 2018-08-21 A kind of method and terminal of edition upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810954664.XA CN109308186A (en) 2018-08-21 2018-08-21 A kind of method and terminal of edition upgrading

Publications (1)

Publication Number Publication Date
CN109308186A true CN109308186A (en) 2019-02-05

Family

ID=65223763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810954664.XA Pending CN109308186A (en) 2018-08-21 2018-08-21 A kind of method and terminal of edition upgrading

Country Status (1)

Country Link
CN (1) CN109308186A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885326A (en) * 2019-02-27 2019-06-14 深圳创维-Rgb电子有限公司 Vice screen control system upgrade method, device and computer readable storage medium
CN110149370A (en) * 2019-04-23 2019-08-20 华为技术有限公司 A kind of upgrade file method for down loading and device
CN110972081A (en) * 2019-11-29 2020-04-07 歌尔科技有限公司 Wrist strap equipment and upgrading method and system thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885326A (en) * 2019-02-27 2019-06-14 深圳创维-Rgb电子有限公司 Vice screen control system upgrade method, device and computer readable storage medium
CN109885326B (en) * 2019-02-27 2022-05-20 深圳创维-Rgb电子有限公司 Method and device for upgrading auxiliary screen control system and computer readable storage medium
CN110149370A (en) * 2019-04-23 2019-08-20 华为技术有限公司 A kind of upgrade file method for down loading and device
CN110149370B (en) * 2019-04-23 2021-01-29 华为技术有限公司 Method and device for downloading upgrade file
CN110972081A (en) * 2019-11-29 2020-04-07 歌尔科技有限公司 Wrist strap equipment and upgrading method and system thereof
CN110972081B (en) * 2019-11-29 2021-08-24 歌尔科技有限公司 Wrist strap equipment and upgrading method and system thereof

Similar Documents

Publication Publication Date Title
CN105487883B (en) Method and system for updating vehicle computing system
CN105162841A (en) Domestic appliance control method and system
CN109308186A (en) A kind of method and terminal of edition upgrading
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
CN109725921B (en) Method and device for updating firmware of VCI (virtual vehicle interface) equipment and automobile fault diagnosis instrument
CN103731733B (en) A kind of version upgrading method and electronic equipment
CN109358887A (en) A kind of the online upgrading method, apparatus and system of SCM program
CN109582331A (en) Upgrade method, the device and system of vehicle-carrying communication module
CN110147242A (en) Upgrading in the downloading of space relies on inspection method and device, storage medium and terminal
CN110175039A (en) Online upgrading method, equipment, readable storage medium storing program for executing and electronic equipment
CN109614311A (en) Applied program testing method and device, electronic equipment, storage medium
CN104767788A (en) METHOD AND SYSTEM using applications on mobile devices
CN113238791A (en) OTA differential upgrading method and system of master-slave architecture
CN112698857A (en) Data flashing method and device
CN112416411A (en) Upgrading method and device, equipment terminal, server and computer readable medium
JP2002207599A (en) Communication terminal and software update system thereof
CN108170456A (en) The firmware upgrade method and device of electronic equipment
CN110908733B (en) Working mode determining method and device, and control method and device
CN105704707A (en) Slave equipment and air upgrading method thereof
CN110035496A (en) A kind of cloud platform switching method, system and electronic equipment
CN113452776B (en) PaaS platform service scheduling method and device and PaaS platform
WO2021051370A1 (en) Device control method and system as well as control terminal
CN113890930A (en) Bluetooth-based dual-platform direct connection switching method
CN113377385A (en) Client automatic deployment method and device
CN112118567A (en) Device upgrading method, electronic device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190205

RJ01 Rejection of invention patent application after publication