CN105700927B - Version upgrading method, terminal device and version server - Google Patents

Version upgrading method, terminal device and version server Download PDF

Info

Publication number
CN105700927B
CN105700927B CN201610024911.7A CN201610024911A CN105700927B CN 105700927 B CN105700927 B CN 105700927B CN 201610024911 A CN201610024911 A CN 201610024911A CN 105700927 B CN105700927 B CN 105700927B
Authority
CN
China
Prior art keywords
version
mark
terminal device
jtag
cpu
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.)
Active
Application number
CN201610024911.7A
Other languages
Chinese (zh)
Other versions
CN105700927A (en
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610024911.7A priority Critical patent/CN105700927B/en
Publication of CN105700927A publication Critical patent/CN105700927A/en
Application granted granted Critical
Publication of CN105700927B publication Critical patent/CN105700927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of version upgrading method, terminal device and version server;This method comprises: the edition upgrading request message that receiving terminal apparatus is sent, includes the joint test working group JTAG mark of central processor CPU in the mark and terminal device of the current version of terminal device in edition upgrading request message;According to edition upgrading request message, the mark of target version is determined;It is identified according to the JTAG of the mark of current version, the mark of target version and CPU and determines targeted update packet, targeted update packet is the difference packet of target version and current version;Targeted update packet is sent to terminal device, so that the current version of terminal device is upgraded to target version according to targeted update packet by terminal device.For reducing the size of targeted update packet, and then promote the performance of terminal.

Description

Version upgrading method, terminal device and version server
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of version upgrading methods, terminal device and version Server.
Background technique
Currently, most terminal devices (such as mobile phone, tablet computer) include central processing unit (Central Processing Unit, abbreviation CPU) and software systems corresponding with CPU (version), in the use process of terminal device, in order to optimize end The performance of end equipment can upgrade the corresponding software systems of CPU in terminal device, i.e., to the version of terminal device into Row upgrading.
When producing the terminal device of same model, the mark joint test of CPU used in the terminal device of same model Working group (Joint Test Action Group, abbreviation JTAG) mark may be different, rise in the version to terminal device When grade, it is different that JTAG identifies the corresponding upgrade package of different CPU, in the prior art, for the terminal device of same model, into When row edition upgrading, a kind of upgrade package is usually only issued, in order to enable the upgrade package of publication can be with the model terminal device institute The CPU matching of all JTAG mark used, generally uses compatibility update packet, includes a variety of JTAG in compatibility update packet The corresponding code of the CPU of mark, causes compatibility update packet larger.
When terminal device needs to carry out edition upgrading, terminal device needs to download and installs the compatibility update packet, by It is larger in compatibility update packet, so that the memory of compatibility update packet occupied terminal equipment is more, thereby reduce terminal device Performance.
Summary of the invention
The embodiment of the present invention provides a kind of version upgrading method, terminal device and version server, for reducing target liter The size of grade packet, and then promote the performance of terminal.
In a first aspect, the embodiment of the present invention provides a kind of version upgrading method, it is applied to version server, comprising:
The edition upgrading request message that receiving terminal apparatus is sent includes the end in the edition upgrading request message The joint test working group JTAG mark of central processor CPU in the mark of the current version of end equipment and the terminal device;
According to the edition upgrading request message, the mark of target version is determined;
It is identified according to the JTAG of the mark of the current version, the mark of the target version and the CPU and determines mesh Upgrade package is marked, the targeted update packet is the difference packet of the target version and the current version;
The targeted update packet is sent to the terminal device, so that the terminal device will according to the targeted update packet The current version of the terminal device upgrades to the target version.
Second aspect, the embodiment of the present invention provide another version upgrading method, are applied to terminal device, comprising:
Edition upgrading request message is sent to version server, includes that the terminal is set in the edition upgrading request message The joint test working group JTAG mark of the central processor CPU of the mark and terminal device of standby current version, so that The version server determines the mark of target version according to the edition upgrading request message, and according to the current version The JTAG mark of mark, the mark of the target version and the CPU obtains targeted update packet, and the targeted update packet is institute State the difference packet of target version Yu the current version;
Receive the targeted update packet that the version server is sent;
According to the targeted update packet, the current version of the terminal device is upgraded into the target version.
The third aspect, the embodiment of the present invention provide a kind of version server, comprising:
First receiving module, for the edition upgrading request message that receiving terminal apparatus is sent, the edition upgrading request The joint test of central processor CPU in the mark of current version in message including the terminal device and the terminal device Working group JTAG mark;
First determining module, for determining the mark of target version according to the edition upgrading request message;
Second determining module, for according to the mark of the current version, the mark of the target version and the CPU JTAG identify determine targeted update packet, the targeted update packet be the target version and the current version difference packet;
First sending module, for sending the targeted update packet to the terminal device, so that the terminal device root The current version of the terminal device is upgraded into the target version according to the targeted update packet.
Fourth aspect, the embodiment of the present invention provide a kind of terminal device, comprising:
First sending module, for sending edition upgrading request message to version server, the edition upgrading request disappears The joint test work of the central processor CPU of the mark and terminal device of current version in breath including the terminal device Work group JTAG mark, so that the version server determines the mark of target version according to the edition upgrading request message, and It is identified according to the JTAG of the mark of the current version, the mark of the target version and the CPU and obtains targeted update packet, The targeted update packet is the difference packet of the target version and the current version;
First receiving module, the targeted update packet sent for receiving the version server;
Upgraded module, for according to the targeted update packet, the current version of the terminal device to be upgraded to the mesh Mark version.
Version upgrading method, terminal device shown in the embodiment of the present invention and version server, when terminal device needs When carrying out edition upgrading, terminal device sends edition upgrading request message to version server, wherein edition upgrading request message In include terminal device current version mark and CPU in terminal device JTAG mark, receive end in version server After the edition upgrading request message that end equipment is sent, according to edition upgrading request message, the mark of target version is determined, and according to The JTAG of the mark of current version, the mark of target version and CPU, which is identified, determines targeted update packet, sends mesh to terminal device Upgrade package is marked, so that the current version of terminal device is upgraded to target version according to targeted update packet by terminal device, due to version The JTAG that the targeted update packet that book server determines is CPU identifies corresponding upgrade package, which is only applied to this The corresponding terminal device of CPU of JTAG mark, therefore, without the CPU including compatible other JTAG mark in the targeted update packet Code, reduce the size of targeted update packet, when the installing terminal equipment targeted update packet carry out edition upgrading after, reduce The terminal device memory that targeted update packet occupies, and then improve the performance of terminal device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram one of version upgrading method provided by the invention;
Fig. 2 is the flow diagram two of version upgrading method provided by the invention;
Fig. 3 is the flow diagram of the method provided by the invention for carrying out edition upgrading prompting;
Fig. 4 is the flow diagram three of version upgrading method provided by the invention;
Fig. 5 is the structural schematic diagram one of version server provided by the invention;
Fig. 6 is the structural schematic diagram two of version server provided by the invention;
Fig. 7 is the structural schematic diagram one of terminal device provided by the invention;
Fig. 8 is the structural schematic diagram two of terminal device provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It include CPU and version (software corresponding with the JTAG of CPU mark in terminal device shown in the embodiment of the present invention System), and terminal device can upgrade the current version of terminal device, terminal device may include but be not limited only to hand The equipment such as machine, tablet computer;The JTAG mark that store a variety of CPU in version server involved in the embodiment of the present invention corresponds to Upgrade package, when terminal device needs to carry out edition upgrading, terminal device is to version server request and terminal device The JTAG of CPU identify corresponding targeted update packet, and upgraded according to current version of the targeted update packet to terminal device. In the following, being carried out specifically by specific embodiment to version upgrading method of the present invention, terminal device and version server It is bright.
Fig. 1 is the flow diagram one of version upgrading method provided by the invention, and the executing subject of this method is version clothes Business device, please refers to Fig. 1, this method may include:
The edition upgrading request message that S101, receiving terminal apparatus are sent, sets including terminal in edition upgrading request message The JTAG mark of CPU in the mark and terminal device of standby current version;
S102, according to edition upgrading request message, determine the mark of target version;
S103, determining targeted update is identified according to the JTAG of the mark of current version, the mark of target version and CPU Packet, targeted update packet are the difference packet of target version and current version;
S104, targeted update packet is sent to terminal device, so that terminal device is according to targeted update packet by terminal device Current version upgrades to target version.
In embodiments of the present invention, the sequence number being solidificated in when the JTAG of CPU is identified as production CPU in CPU, difference batch The JTAG of the CPU of the same model of secondary production identifies difference, in the actual production process, the CPU's of same model terminal device JTAG mark may be different, and the CPU of every kind of JTAG mark respectively corresponds different upgrade package, store in version server same The corresponding upgrade package of CPU of the various JTAG mark of one model terminal device, illustratively, in the terminal device of production model 1 When, CPU used in the terminal device of model 1 includes the CPU of three batches production, the JTAG of the CPU of three batches production Mark is different, is denoted as JTAG1, JTAG2 and JTAG3 respectively, and the CPU of three kinds of JTAG mark respectively corresponds different upgrade package, Table 1 is please referred to, illustrates the corresponding upgrade package of the CPU for being identified as JTAG1-JTAG3.
Table 1
The JTAG of CPU is identified Upgrade package
JTAG1 Upgrade package 1- upgrade package 3
JTAG2 Upgrade package 4- upgrade package 6
JTAG3 Upgrade package 7- upgrade package 9
In embodiments of the present invention, upgrade package is the difference packet of the current version of target version and terminal device, that is, upgrading Packet for exist in target version and the file that is not present in current version, therefore, according to the current version of terminal device with When the difference of target version, the corresponding upgrade package of CPU of same JTAG mark is also different, illustratively, it is assumed that the terminal of model 1 It includes three versions that equipment, which has altogether, is denoted as version 1, version 2 and version 3 respectively, wherein is version when terminal device dispatches from the factory 1, in subsequent use process, difference released version 2 and version 3, correspondingly, the CPU of JTAG1 also corresponds to three versions, root According to the difference of current version and target version, corresponding three upgrade package of CPU of JTAG1 are store in version server, are had Body, table 2 is referred to, the corresponding upgrade package of the mark of the mark and target version that illustrate current version.
Table 2
The mark of current version The mark of target version Upgrade package
Version 1 Version 2 Upgrade package 1
Version 1 Version 3 Upgrade package 2
Version 2 Version 3 Upgrade package 3
In the following, the version upgrading method described in Fig. 1 embodiment is described in detail.
When terminal device needs to carry out edition upgrading, terminal device sends edition upgrading request to version server and disappears It ceases, the JTAG mark of the CPU of the mark and terminal device of the current version in the edition upgrading request message including terminal device Know, certainly, in actual application, edition upgrading request message can also include other content, such as the mark of anticipated release Know, server determines the mark of target version according to the edition upgrading request message received, and optionally, version server can be with The mark of target version is determined by following feasible implementation: judging in edition upgrading request message whether to include expected version This mark;If so, the mark of the anticipated release in edition upgrading request message to be determined as to the mark of target version;If It is no, then it is identified according to the JTAG of CPU, what is stored in acquisition version server identifies corresponding latest edition with the JTAG of CPU The mark of latest edition, is determined as the mark of target version by mark.
After version server obtains the mark of target version according to the determination of edition upgrading request message, version server It is identified according to the JTAG of the mark of current version, the mark of target version and CPU and determines targeted update packet, it is specific: version Server is identified according to the JTAG of CPU, determines that the JTAG of CPU identifies at least one corresponding upgrade package undetermined, each upgrading undetermined Packet respectively corresponds a current version identifications and target version mark, and version server is according to the mark and mesh of current version The mark of mark version determines targeted update packet at least one upgrade package undetermined.
After version server determines to obtain targeted update packet, targeted update packet, terminal device root are sent to terminal device The current version of terminal device is upgraded into target version according to the targeted update packet received.
In actual application, different model terminal device, different JTAG mark can also be stored in version server Know the corresponding upgrade package of CPU, in that case, terminal device is gone back into the edition upgrading request message that version server is sent Need include terminal device model, correspondingly, version server is according to the model of terminal device, the current version of terminal device Mark, the mark of target version and CPU JTAG identify and determine targeted update packet, certainly, in edition upgrading request message It can also include other content, the present invention is not especially limited this.
In the following, version upgrading method shown in Fig. 1 embodiment is described in detail by specific example.
Assuming that when the terminal device of production model 1, using the CPU that three batches produce, the CPU of three batches production JTAG mark be denoted as JTAG1, JTAG2 and JTAG3 respectively;Version when assuming again that production terminal device 1 is version 1, rear In continuous use process, version 2 and version 3 are issued, then terminal device store in version server, model 1 is corresponding Upgrade package is as shown in table 3:
Table 3
Assuming that the JTAG of terminal device CPU is identified as JTAG2, the current version of terminal device is identified as version 1, when with Family needs the current version (version 1) of terminal device upgrading to version 3, then sends version to version server by terminal device This update request message includes: mark (version 1), the terminal of the current version of terminal device in the edition upgrading request message The JTAG of CPU identifies (JTAG2) in equipment, and version server is in the edition upgrading request message for receiving terminal device transmission Afterwards, judge do not include in edition upgrading request message anticipated release mark, then according to the JTAG of CPU identify (JTAG2), obtain The mark (version 3) of the latest edition corresponding with JTAG2 stored in version server, and version 3 is determined as target version Mark.
After version 3 is determined as the mark of target version by version server, version server is according to CPU in terminal device JTAG mark (JTAG2) determine corresponding with JTAG2 at least one upgrade package undetermined, specifically, as shown in table 4:
Table 4
After version server determination obtains at least one upgrade package (upgrade package 4- upgrade package 6) undetermined shown in table 4, Targeted update Bao Weisheng is determined according to the mark (version 3) of the mark (version 1) of the current version of terminal device and target version Grade packet 6, and upgrade package 6 is sent to terminal device, so that terminal device is according to upgrade package 6 by the current version (version of terminal device 1) this upgrades to target version (version 3).
Version upgrading method shown in the embodiment of the present invention, when terminal device needs to carry out edition upgrading, terminal device Edition upgrading request message is sent to version server, wherein includes the current version of terminal device in edition upgrading request message The JTAG mark of CPU in this mark and terminal device, is asked in the edition upgrading that version server receives terminal device transmission After seeking message, according to edition upgrading request message, the mark of target version is determined, and according to the mark of current version, target version This mark and the JTAG of CPU are identified and are determined targeted update packet, targeted update packet are sent to terminal device, so that terminal device The current version of terminal device is upgraded into target version according to targeted update packet, the targeted update determined due to version server The JTAG that packet is CPU identifies corresponding upgrade package, and the corresponding terminal of CPU which is only applied to JTAG mark is set Standby, therefore, the code in the targeted update packet without the CPU including compatible other JTAG mark reduces targeted update packet Size reduces the terminal device of targeted update packet occupancy after the installing terminal equipment targeted update packet carries out edition upgrading Memory, and then improve the performance of terminal device.
It in the embodiment shown in fig. 1, is executing subject to version upgrading method shown in the present invention using version server It is illustrated, in the following, version upgrading method shown in the present invention is described in detail using terminal device as executing subject.
Fig. 2 is the flow diagram two of version upgrading method provided by the invention, and the executing subject of this method sets for terminal It is standby, Fig. 2 is referred to, this method may include:
S201, edition upgrading request message is sent to version server, include terminal device in edition upgrading request message Current version mark and terminal device CPU JTAG mark so that version server is according to edition upgrading request message It determines the mark of target version, and is identified according to the JTAG of the mark of current version, the mark of target version and CPU and obtain mesh Upgrade package is marked, targeted update packet is the difference packet of target version and current version;
S202, the targeted update packet that version server is sent is received;
S203, according to targeted update packet, the current version of terminal device is upgraded into target version.
In embodiments of the present invention, when user needs to upgrade the version of terminal device, user is set by terminal It is standby to send edition upgrading request message to version server, in the edition upgrading request message and Fig. 1 embodiment in the present embodiment Version request message it is identical, no longer repeated herein.
After version server receives edition upgrading request message, targeted update is obtained according to edition upgrading request message Packet, and targeted update packet is sent to terminal device, after terminal device receives targeted update packet, by installation targets upgrade package, The current version of terminal device is upgraded into target version.
Version upgrading method shown in the embodiment of the present invention, when terminal device needs to carry out edition upgrading, terminal device Edition upgrading request message is sent to version server, wherein includes the current version of terminal device in edition upgrading request message The JTAG mark of CPU in this mark and terminal device, so that version server determines target according to edition upgrading request message The mark of version, and identified according to the JTAG of the mark of current version, the mark of target version and CPU and obtain targeted update Packet, targeted update packet are the difference packet of target version and current version, receive the targeted update packet that version server is sent, and root According to targeted update packet, the current version of terminal device is upgraded into target version, since the JTAG that targeted update packet is CPU is identified Corresponding upgrade package, the targeted update packet are only applied to the corresponding terminal device of CPU of JTAG mark, therefore, the target liter Code in grade packet without the CPU including compatible other JTAG mark, reduces the size of targeted update packet, when terminal device is pacified After filling targeted update packet progress edition upgrading, reduce the terminal device memory of targeted update packet occupancy, and then improve end The performance of end equipment.
On the basis of Fig. 1-embodiment illustrated in fig. 2, edition upgrading request is sent to version server in terminal device and is disappeared Before breath, terminal device, which needs first to detect, whether there is the version higher than the current version of terminal device in version server, when It detects in version server that build version upgrades prompting message when there is the version higher than the current version of terminal device, makes It obtains user and edition upgrading is carried out according to edition upgrading prompting message, specifically, illustrated embodiment referring to figure 3., wherein in order to just In understanding, embodiment described in Fig. 3 is to be described for the interactive process of terminal device and version server.
Fig. 3 is the flow diagram of the method provided by the invention for carrying out edition upgrading prompting, the executing subject of this method For terminal device and version server, referring to figure 3., this method may include:
S301, terminal device send version acquisition request message, the version acquisition request message package to version server Include the JTAG mark of the CPU of terminal device;
Correspondingly, the version acquisition request message that version server receiving terminal apparatus is sent;
S302, version server obtain JTAG store in version server, CPU and identify at least one corresponding version Mark;
S303, version server send the mark of at least one version acquired to terminal device;
Correspondingly, terminal device, which receives JTAG that version server is sent, CPU, identifies at least one corresponding version Mark;
S304, terminal device are according to the mark of the mark of version each at least one version and the current version of terminal device Know, judges at least one version, if there is the version higher than current version;
If S305, terminal device judge to have the version higher than current version at least one version, build version liter Grade reminder message includes the mark of current version and the mark of the version higher than current version in edition upgrading reminder message.
In the embodiment shown in fig. 3, terminal device periodically can send version acquisition request to version server Message includes the JTAG mark of the CPU of terminal device in the version acquisition request message, sets when version server receives terminal After the version request message that preparation is sent, version server according to the JTAG of CPU identify obtain version server in store, The JTAG of CPU identifies the mark of at least one corresponding version, and the mark of at least one version is sent to terminal device;In reality In the application process of border, version server actively can also send JTAG mark store in version server, CPU to terminal device Know the mark of at least one corresponding version, optionally, version server periodically can send version clothes to terminal device JTAG store in business device, CPU identifies the mark of at least one corresponding version, can also increase in version server After the mark of the corresponding new version of JTAG mark of CPU, JTAG store in version server, CPU is sent to terminal device Identify the mark of at least one corresponding version.
After the mark that terminal device receives at least one version of version server transmission, terminal device respectively will The mark of each version is compared in the mark of the current version of terminal device and at least one version, judges at least one version In whether there is the version higher than current version;In actual application, terminal device can also be according at least one version The issuing time of each version and the issuing time of current version in this determine at least one version with the presence or absence of than working as The high version of preceding version, specifically, if being later than the issuing time of current version at least one version there are issuing time Version, it is determined that there is the version higher than current version at least one version.
In the method described in Fig. 3 embodiment, when in version server exist the version higher than the current version of terminal device This when, terminal device build version upgrade prompting message, and user is allowed to carry out version liter according to edition upgrading prompting message Grade.
On the basis of Fig. 1-embodiment illustrated in fig. 2, in the following, being with the interactive process of terminal device and version server Example, is described in detail Fig. 1-method shown in Fig. 2, specifically, embodiment shown in referring to figure 4..
Fig. 4 is the flow diagram three of version upgrading method provided by the invention, and the executing subject of this method sets for terminal Standby and version server, refers to Fig. 4, and this method may include:
S401, terminal device send edition upgrading request message to version server, include in edition upgrading request message The JTAG of the CPU of the mark and terminal device of the current version of terminal device is identified;
S402, version server determine the mark of target version according to edition upgrading request message;
S403, version server are identified according to the JTAG of the mark of current version, the mark of target version and CPU and are determined Targeted update packet, targeted update packet are the difference packet of target version and current version;
S404, version server send targeted update packet to terminal device;
The current version of terminal device is upgraded to target version according to targeted update packet by S405, terminal device.
In the method shown in Fig. 4 embodiment, the JTAG that targeted update packet is CPU identifies corresponding upgrade package, the target Upgrade package is only applied to the corresponding terminal device of CPU of JTAG mark, therefore, without including being compatible with it in the targeted update packet The code of the CPU of his JTAG mark, reduces the size of targeted update packet, when the installing terminal equipment targeted update packet carries out version After this upgrading, reduce the terminal device memory of targeted update packet occupancy, and then improves the performance of terminal device.
Fig. 5 is the structural schematic diagram one of version server provided by the invention, and referring to figure 5., which can be with Include:
First receiving module 501, for the edition upgrading request message that receiving terminal apparatus is sent, edition upgrading request disappears The joint test working group JTAG of central processor CPU in the mark and terminal device of current version in breath including terminal device Mark;
First determining module 502, for determining the mark of target version according to edition upgrading request message;
Second determining module 503, for being marked according to the JTAG of the mark of current version, the mark of target version and CPU Know and determine targeted update packet, targeted update packet is the difference packet of target version and current version;
First sending module 504, for sending targeted update packet to terminal device, so that terminal device is according to targeted update The current version of terminal device is upgraded to target version by packet.
On the basis of embodiment shown in Fig. 5, optionally, the first determining module 501 specifically can be used for:
Judge in edition upgrading request message whether include anticipated release mark;
If so, the mark of the anticipated release in edition upgrading request message to be determined as to the mark of target version;
If it is not, then being identified according to the JTAG of CPU, stored in acquisition version server corresponding with the JTAG of CPU mark The mark of latest edition is determined as the mark of target version by the mark of latest edition;
Second determining module 503 specifically can be used for:
It is identified according to the JTAG of CPU, determines that the JTAG of CPU identifies at least one corresponding upgrade package undetermined, each liter undetermined Grade packet respectively corresponds a current version identifications and a target version mark;
Target liter is determined at least one upgrade package undetermined according to the mark of the mark of current version and target version Grade packet.
Fig. 6 is the structural schematic diagram two of version server provided by the invention, on the basis of embodiment shown in Fig. 5, is asked Referring to Fig. 6, which can also include the second receiving module 505, obtain module 506 and the second sending module 507, Wherein,
Second receiving module 505 is used for, and is disappeared in the edition upgrading request that 501 receiving terminal apparatus of the first receiving module is sent Before breath, the version acquisition request message that receiving terminal apparatus is sent, version acquisition request message includes the CPU of terminal device JTAG mark;
It obtains module 506 to be used for, obtains JTAG store in version server, CPU and identify at least one corresponding version This mark;
Second sending module 507 is used for, and the mark of at least one version is sent to terminal device so that terminal device according to The mark of the current version of the mark and terminal device of each version at least one version, it is determined whether build version upgrading is reminded Message includes the mark of current version and the mark of the version higher than current version in edition upgrading reminder message.
Technology shown in above-mentioned Fig. 1, Fig. 3 and Fig. 4 embodiment can be performed in version server provided in an embodiment of the present invention Scheme, realization principle and beneficial effect are similar, are no longer repeated herein.
Fig. 7 is the structural schematic diagram one of terminal device provided by the invention, please refers to Fig. 7, which may include:
First sending module 701, for sending edition upgrading request message, edition upgrading request message to version server In include terminal device current version mark and terminal device central processor CPU joint test working group JTAG mark Know so that version server determines the mark of target version according to edition upgrading request message, and according to the mark of current version, The mark of target version and the JTAG mark of CPU obtain targeted update packet, and targeted update packet is target version and current version Difference packet;
First receiving module 702, for receiving the targeted update packet of version server transmission;
Upgraded module 703, for according to targeted update packet, the current version of terminal device to be upgraded to target version.
Fig. 8 is that the structural schematic diagram two of terminal device provided by the invention please join on the basis of the embodiment shown in fig. 7 According to Fig. 8, which can also include the second sending module 704, the second receiving module 705, judgment module 706 and generate Module 707, wherein
Second sending module 704 is used for, and is sent edition upgrading to version server in the first sending module 701 and is requested it Before, version acquisition request message is sent to version server, version acquisition request message includes the JTAG mark of the CPU of terminal device Know;
Second receiving module 705 is used for, receive that version server the is sent, JTAG of CPU mark it is corresponding at least one The mark of version;
Judgment module 706 is used for, and according to the mark of the mark of version each at least one version and current version, judgement is extremely In a few version, if there is the version higher than current version;
Generation module 707 is used for, when judgment module judges to there is the version higher than current version at least one version, Build version upgrades reminder message, includes the mark and the version higher than current version of current version in edition upgrading reminder message Mark
Technology shown in above-mentioned Fig. 2, Fig. 3 and Fig. 4 embodiment can be performed in version server provided in an embodiment of the present invention Scheme, realization principle and beneficial effect are similar, are no longer repeated herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (6)

1. a kind of version upgrading method, which is characterized in that be applied to version server, comprising:
The edition upgrading request message that receiving terminal apparatus is sent includes the terminal device in the edition upgrading request message Current version mark and the terminal device in central processor CPU joint test working group JTAG mark;
According to the edition upgrading request message, the mark of target version is determined;
It is identified according to the JTAG of the mark of the current version, the mark of the target version and the CPU and determines target liter Grade packet, the targeted update packet are the difference packet of the target version and the current version;
The targeted update packet is sent to the terminal device, so that the terminal device will be described according to the targeted update packet The current version of terminal device upgrades to the target version;
Before the edition upgrading request message that the receiving terminal apparatus is sent, further includes:
The version acquisition request message that the terminal device is sent is received, the version acquisition request message includes that the terminal is set The JTAG of standby CPU is identified;
The JTAG for obtaining CPU store in the version server, described identifies the mark of at least one corresponding version;
The mark of at least one version is sent to the terminal device so that the terminal device according at least one The mark of the current version of the mark and terminal device of each version in version, it is determined whether build version upgrading is reminded Message includes the mark of the current version and the mark of the version higher than the current version in the edition upgrading reminder message Know.
2. the method according to claim 1, wherein determining target version according to the edition upgrading request message This mark, comprising:
Judge in the edition upgrading request message whether include anticipated release mark;
If so, the mark of the anticipated release in the edition upgrading request message to be determined as to the mark of the target version;
If it is not, then identified according to the JTAG of the CPU, obtains and being stored in the version server mark with CPU JTAG The mark of the latest edition is determined as the mark of the target version by the mark for knowing corresponding latest edition.
3. the method according to claim 1, wherein the mark according to the current version, the target The JTAG of the mark of version and the CPU, which are identified, determines targeted update packet, comprising:
It is identified according to the JTAG of the CPU, determines that the JTAG of the CPU identifies at least one corresponding upgrade package undetermined, each institute It states upgrade package undetermined and respectively corresponds a current version identifications and a target version mark;
According to the mark of the current version and the mark of the target version, at least one described upgrade package undetermined, really The fixed targeted update packet.
4. a kind of version upgrading method, which is characterized in that be applied to terminal device, comprising:
Edition upgrading request message is sent to version server, includes the terminal device in the edition upgrading request message The joint test working group JTAG mark of the central processor CPU of the mark and terminal device of current version, so that described Version server determines the mark of target version according to the edition upgrading request message, and according to the mark of the current version The JTAG mark of knowledge, the mark of the target version and the CPU obtains targeted update packet, and the targeted update packet is described The difference packet of target version and the current version;
Receive the targeted update packet that the version server is sent;
According to the targeted update packet, the current version of the terminal device is upgraded into the target version;
Before the transmission edition upgrading request to version server, further includes:
Version acquisition request message is sent to version server, the version acquisition request message includes the terminal device The JTAG of CPU is identified;
The JTAG for receiving the CPU that the version server is sent, described identifies the mark of at least one corresponding version;
According to the mark of the version each at least one described version and the mark of the current version, judgement described at least one In a version, if there is the version higher than the current version;
If so, build version upgrades reminder message, it include the mark of the current version in the edition upgrading reminder message With the mark of the version higher than the current version.
5. a kind of version server characterized by comprising
First receiving module, for the edition upgrading request message that receiving terminal apparatus is sent, the edition upgrading request message In include the terminal device current version mark and the terminal device in central processor CPU joint test work Group JTAG mark;
First determining module, for determining the mark of target version according to the edition upgrading request message;
Second determining module, for according to the mark of the current version, the mark of the target version and the CPU JTAG, which is identified, determines targeted update packet, and the targeted update packet is the difference packet of the target version and the current version;
First sending module, for sending the targeted update packet to the terminal device, so that the terminal device is according to institute It states targeted update packet and the current version of the terminal device is upgraded into the target version;
The version server further includes the second receiving module, obtains module and the second sending module, wherein
Second receiving module is used for, and receives the edition upgrading request that the terminal device is sent in first receiving module Before message, the version acquisition request message that receiving terminal apparatus is sent, the version acquisition request message includes the terminal The JTAG of the CPU of equipment is identified;
The acquisition module is used for, and obtains the JTAG mark corresponding at least one of CPU store in the version server, described The mark of a version;
Second sending module is used for, and Xiang Suoshu terminal device sends the mark of at least one version, so that the end The mark of end equipment current version of the mark and terminal device of each version at least one version according to, really Fixed whether build version upgrades reminder message, includes the mark of the current version in the edition upgrading reminder message and compares institute State the mark of the high version of current version.
6. a kind of terminal device characterized by comprising
First sending module, for sending edition upgrading request message to version server, in the edition upgrading request message The joint test working group of the central processor CPU of the mark and terminal device of current version including the terminal device JTAG mark, so that the version server determines the mark of target version according to the edition upgrading request message, and according to The JTAG mark of the mark of the current version, the mark of the target version and the CPU obtains targeted update packet, described Targeted update packet is the difference packet of the target version and the current version;
First receiving module, the targeted update packet sent for receiving the version server;
Upgraded module, for according to the targeted update packet, the current version of the terminal device to be upgraded to the target version This;
The terminal device further includes the second sending module, the second receiving module, judgment module and generation module, wherein
Second sending module is used for, and is sent edition upgrading to the version server in first sending module and is requested it Before, version acquisition request message is sent to version server, the version acquisition request message includes the CPU of the terminal device JTAG mark;
Second receiving module is used for, and the JTAG mark for receiving the CPU that the version server is sent, described is corresponding at least The mark of one version;
The judgment module is used for, according to the mark of the version each at least one described version and the mark of the current version Know, judges at least one described version, if there is the version higher than the current version;
The generation module is used for, and judges to exist at least one described version in the judgment module higher than the current version Version when, build version upgrades reminder message, include in the edition upgrading reminder message current version mark and The mark of the version higher than the current version.
CN201610024911.7A 2016-01-15 2016-01-15 Version upgrading method, terminal device and version server Active CN105700927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610024911.7A CN105700927B (en) 2016-01-15 2016-01-15 Version upgrading method, terminal device and version server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610024911.7A CN105700927B (en) 2016-01-15 2016-01-15 Version upgrading method, terminal device and version server

Publications (2)

Publication Number Publication Date
CN105700927A CN105700927A (en) 2016-06-22
CN105700927B true CN105700927B (en) 2019-04-23

Family

ID=56226438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610024911.7A Active CN105700927B (en) 2016-01-15 2016-01-15 Version upgrading method, terminal device and version server

Country Status (1)

Country Link
CN (1) CN105700927B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201584B (en) * 2016-06-28 2019-09-17 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal device
CN108170488B (en) * 2016-12-07 2021-11-26 杭州海康威视数字技术股份有限公司 Method and device for upgrading plug-in
CN109672655A (en) * 2017-10-16 2019-04-23 华为终端(东莞)有限公司 A kind of method, apparatus and system of difference upgrading
CN107729042A (en) * 2017-10-16 2018-02-23 东软集团股份有限公司 Mobile solution upgrade method and device, storage medium, electronic equipment
CN110519649B (en) * 2018-05-22 2022-04-19 青岛海尔多媒体有限公司 Control method and device of split television and computer readable storage medium
CN108874426B (en) * 2018-06-28 2022-05-13 武汉斗鱼网络科技有限公司 Application program updating method and device and readable storage medium
CN112040320B (en) * 2020-08-31 2022-06-03 北京奇艺世纪科技有限公司 Television fruit application upgrading method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133715A (en) * 2014-08-13 2014-11-05 杭州华三通信技术有限公司 Ethernet power supply equipment firmware upgrade method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369408B (en) * 2008-10-15 2010-08-11 上海广电光电子有限公司 LCD device and its driving method
CN103336703B (en) * 2013-07-08 2018-09-18 惠州Tcl移动通信有限公司 The method of generation upgrade package, server, method for upgrading software, mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133715A (en) * 2014-08-13 2014-11-05 杭州华三通信技术有限公司 Ethernet power supply equipment firmware upgrade method and device

Also Published As

Publication number Publication date
CN105700927A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105700927B (en) Version upgrading method, terminal device and version server
CN108011935B (en) Program upgrading method of NB-IOT (network node B-IOT) equipment, server and NB-IOT equipment
US10064025B2 (en) Offline peer-assisted notification delivery
EP3635547B1 (en) Systems and methods for preventing service disruption during software updates
CN101998227B (en) Service routing method, device and system
CN104102501B (en) A kind of mobile terminal and its upgrade method
CN106406925A (en) An apparatus and a method used for supporting online upgrade
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN109067559A (en) A kind of device updating method and device
CN106339236A (en) Software upgrading method, client, interphone and soft upgrading system
CN111901142A (en) Firmware silent upgrading method and device for embedded equipment cluster
CN110417876B (en) Session method, node server in distributed system and master control equipment
CN106201588A (en) The method for upgrading software of terminal and terminal
CN105335192B (en) A kind of information processing method and electronic equipment
CN102098190A (en) Automatic development test system and method of Web project
CN103685405B (en) Network service system and the method updating firmware thereof
CN109728937A (en) A kind of method and device of the updating network state of voice mould group
US9491132B2 (en) System and method for providing push service for reducing network loads
CN106230877B (en) Remote management method, system and equipment of equipment
EP3015990A1 (en) Information processing device, and destination information updating method and program
CN110198225A (en) A kind of management method and management server of more clusters
CN106155670A (en) A kind of mobile terminal and brush machine method and apparatus thereof
CN115129351A (en) Method for upgrading slave controller, master controller and slave controller
EP2793124A1 (en) Device and method for generating application model based on layered structure
CN103051528B (en) A kind of message rapid distribution method for bus and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant