[go: up one dir, main page]

CN101594613A - The method of terminal equipment and upgrading thereof, system - Google Patents

The method of terminal equipment and upgrading thereof, system Download PDF

Info

Publication number
CN101594613A
CN101594613A CNA2009101481050A CN200910148105A CN101594613A CN 101594613 A CN101594613 A CN 101594613A CN A2009101481050 A CNA2009101481050 A CN A2009101481050A CN 200910148105 A CN200910148105 A CN 200910148105A CN 101594613 A CN101594613 A CN 101594613A
Authority
CN
China
Prior art keywords
upgrading
upgrade
file
server
information
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
CNA2009101481050A
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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNA2009101481050A priority Critical patent/CN101594613A/en
Publication of CN101594613A publication Critical patent/CN101594613A/en
Priority to PCT/CN2010/071995 priority patent/WO2010148739A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses method, the system of a kind of terminal equipment and upgrading thereof, wherein said method comprises: steps A: detect in the scheduled time whether receive that expression is providing the upgrade service identification of broadcast bag of upgrade service in the vectoring phase, if, execution in step B then, otherwise normal the startup; Step B: the upgrade service identification of broadcast bag that receives is resolved the upgrade service information that obtains, judge whether to upgrade according to described upgrade service information, if, execution in step C, otherwise normal the startup; Step C: download corresponding upgrade file, utilize the upgrade file of downloading to carry out upgrading processing; Utilize the present invention, the upgrading of terminal equipment need not to enter into operating system, can finish in the vectoring phase, save time, under the situation of operating system or file system corruption, still can implement upgrading, customer upgrade procedure is not afraid of any reason and is caused upgrading failure midway, can restart after the failure.

Description

Terminal equipment and upgrading method and system thereof
Technical Field
The invention relates to the technical field of communication. In particular to a terminal device and an upgrading method and system thereof.
Background
At present, various kinds of embedded terminal equipment are various and complex, various functions and services running on the embedded terminal equipment are complex, and the updating speed is high, for example, mobile phones and gateway products, many users can update versions of operating systems by themselves often, but the updating process is risky.
When a user upgrades the embedded terminal equipment by himself, if communication errors, power failure, wrong upgrade file selection or other misoperation occurs in the upgrading process, upgrading failure can be caused. And the failure of the upgrading process may damage the operating system of the terminal device, and the upgrading program cannot be restarted and needs to be handed back to the manufacturer for processing.
Disclosure of Invention
In view of the foregoing analysis, the present invention aims to provide a terminal device and an upgrading method and system thereof, so as to solve the problem in the prior art that an operating system of the terminal device is damaged due to a failure of an upgrading process.
The purpose of the invention is mainly realized by the following technical scheme:
the invention provides a method for realizing terminal equipment upgrading, which comprises the following steps:
step A: detecting whether an upgrade service identification broadcast packet indicating that the upgrade service is being provided is received or not in a preset time in a boot stage, if so, executing the step B, otherwise, starting normally;
and B: analyzing the received upgrade service identification broadcast packet to obtain upgrade service information, judging whether to upgrade according to the upgrade service information, if so, executing the step C, otherwise, starting normally;
and C: and downloading a corresponding upgrade file, and performing upgrade processing by using the downloaded upgrade file.
Further, the step B specifically includes:
step B1: receiving an upgrade service identification broadcast packet sent by an upgrade server, and analyzing the upgrade service identification broadcast packet to obtain upgrade service information, wherein the upgrade service information comprises: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information;
the method comprises the following steps: b2: judging whether upgrading is needed according to the control information, and executing the step C if the control information indicates forced upgrading; if the control information indicates a normal upgrade, performing step B3;
step B3: and judging whether the current version number is lower than the version number informed in the version information, if so, judging to execute upgrading, and otherwise, normally starting.
Further, the step C specifically includes:
step C1: setting an IP address in the same network segment with the upgrading server according to the IP address of the upgrading server obtained by analysis;
step C2: downloading a corresponding upgrade file from the upgrade server in a preset mode according to the upgrade file information obtained by analysis;
step C3: and upgrading by using the downloaded upgrading file.
Wherein the step C3 specifically includes:
and verifying the downloaded upgrade file, judging the type of the upgrade file according to the header information of the downloaded upgrade file after the verification is confirmed to be correct, and then covering a corresponding part in the flash according to the type of the upgrade file, thereby realizing the upgrade.
The step C3 further includes:
and modifying the current version information of the terminal equipment into the analyzed version information according to the version information obtained by analysis.
Further, the method further comprises:
step D: and after the upgrade is finished, displaying the upgrade result to the user.
The display mode of the upgrade result in the step D specifically includes:
and displaying the upgrading result of the terminal equipment through the flashing condition of the indicator lamp, and/or displaying the upgrading result of the terminal equipment in a graphical interface mode.
The invention also provides a system for realizing the upgrade of the terminal equipment, which comprises: a broadcast module contained in the upgrade server, and an upgrade function sub-module contained in the terminal device boot load module, wherein,
the broadcast module is used for continuously sending an upgrade service identification broadcast packet which indicates that the upgrade server is providing upgrade service on the network;
and the upgrading function sub-module is used for analyzing the upgrading service identification broadcast packet received within the preset time to obtain upgrading service information in the program guide loading stage, downloading a corresponding upgrading file from the upgrading server when upgrading is confirmed according to the upgrading service information, and upgrading by using the downloaded upgrading file.
Further, the upgrade function sub-module specifically includes: a receiving and judging unit, an analyzing and judging unit and a downloading and upgrading unit, wherein,
the receiving and judging unit is used for judging whether an upgrading service identification broadcast packet sent by the upgrading server is received within preset time or not, and transferring the received upgrading service identification broadcast packet to the analyzing and judging unit when the receiving is confirmed;
the analysis judging unit is configured to analyze the received upgrade service identifier broadcast packet to obtain upgrade service information, where the upgrade service information includes: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information; when the control information indicates forced upgrading, the download upgrading unit is triggered; or, when the control information indicates normal upgrade but the current version number of the terminal device is lower than the version number notified in the parsed version information, triggering the download upgrade unit;
and the download upgrading unit is used for setting an IP address in the same network segment with the upgrading server according to the IP address of the upgrading server obtained by analysis, downloading a corresponding upgrading file from the upgrading server by adopting a preset download mode according to the upgrading file information obtained by analysis, and upgrading by using the downloaded upgrading file.
Further, the system further comprises:
and the display unit is used for representing the upgrading state of the terminal equipment through the flashing condition of the indicator lamp and/or displaying the upgrading state of the terminal equipment in a graphical interface mode.
The invention also provides a scalable terminal device, which is provided with a guide loading module, wherein the guide loading module comprises an upgrading function sub-module;
and the upgrading function sub-module is used for analyzing the upgrading service identification broadcast packet received within the preset time to obtain upgrading service information in the program guide loading stage, downloading a corresponding upgrading file from the upgrading server when upgrading is confirmed according to the upgrading service information, and upgrading by using the downloaded upgrading file.
Further, the upgrade function sub-module specifically includes: a receiving and judging unit, an analyzing and judging unit and a downloading and upgrading unit, wherein,
the receiving and judging unit is used for judging whether an upgrading service identification broadcast packet sent by the upgrading server is received within preset time or not, and transferring the received upgrading service identification broadcast packet to the analyzing and judging unit when the receiving is confirmed;
the analysis judging unit is configured to analyze the received upgrade service identifier broadcast packet to obtain upgrade service information, where the upgrade service information includes: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information; when the control information indicates forced upgrading, the download upgrading unit is triggered; or, when the control information indicates normal upgrade but the current version number of the terminal device is lower than the version number notified in the parsed version information, triggering the download upgrade unit;
and the download upgrading unit is used for setting an IP address in the same network segment with the upgrading server according to the IP address of the upgrading server obtained by analysis, downloading a corresponding upgrading file from the upgrading server by adopting a preset download mode according to the upgrading file information obtained by analysis, and upgrading by using the downloaded upgrading file.
The invention has the following beneficial effects:
by using the invention, the terminal equipment can be upgraded without entering the operating system, and the terminal equipment can be upgraded in the boot stage, thereby saving time and still implementing the upgrade under the condition of damage of the operating system or the file system.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
fig. 2 is a schematic flowchart of a process in which a terminal device performs an upgrade process according to a received UDP broadcast packet in the method according to the embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The invention can still implement the upgrading operation under the condition that the operating system or the file system is damaged by carrying out the upgrading operation on the terminal equipment in the operating process of the bootstrap program, and has simple operation.
As shown in fig. 1, fig. 1 is a schematic flow chart of the method of the present invention, which may specifically include the following steps:
step 100: the upgrade server operates first, and continuously sends an upgrade service identification broadcast packet (in the invention, a UDP broadcast packet, that is, a user data protocol broadcast packet, is used in the following description only taking the UDP broadcast packet as an example, but the invention is not limited to distributing the upgrade service identification broadcast packet in other ways); the UDP broadcast packet includes upgrade service information, where the upgrade service information may include: control information of the upgrade server, an IP address of the upgrade server, upgradable file information, version information, and the like.
Step 101: after the terminal equipment is started, connecting the terminal equipment to a network, entering a bootloader (a boot loading module is a section of small program which runs before the kernel of an operating system runs, and through the section of small program, hardware equipment can be initialized, and a mapping chart of a memory space is established, so that the software and hardware environment of the system is brought to a proper state, and a correct environment is prepared for finally calling the kernel of the operating system), and detecting whether a broadcast UDP packet sent by an upgrade server is received or not within a preset time (such as 1 second), and if so, executing step 103; if not, skipping the upgrading step and starting normally.
Step 102: the terminal equipment analyzes the received UDP broadcast packet, judges whether the updating is needed, if the updating is not needed, skips the step 103 and starts normally; if an upgrade is required, step 103 is entered.
Step 103: and the terminal equipment downloads the upgrade file from the upgrade server and then carries out upgrade processing.
The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form a part hereof, and which together with the embodiments of the invention serve to explain the principles of the invention. For the purpose of clarity and simplicity, a detailed description of known functions and configurations in the devices described herein will be omitted when it may obscure the subject matter of the present invention.
First, the method according to the embodiment of the present invention will be described in detail with reference to fig. 2.
After the upgrade server operates, the upgrade server continuously sends a User Datagram Protocol (UDP) broadcast packet indicating that the upgrade server is providing the upgrade service over the network, indicating that the upgrade server is providing the upgrade service, where the UDP broadcast packet includes upgrade service information, such as control information of the upgrade server, an IP address of the upgrade server, an upgrade file packet, and version information; the terminal device analyzes the received UDP broadcast packet at the bootloader operation stage and then determines whether to perform the upgrade, where a specific processing procedure is shown in fig. 2.
Fig. 2 is a schematic flow chart of a process in which a terminal device performs an upgrade process according to a received UDP broadcast packet in the method according to the embodiment of the present invention, which may specifically include the following steps:
step 201: starting the terminal equipment, and firstly entering a bootloader operation stage;
step 202: detecting whether a UDP broadcast packet sent by an upgrade server is received within a preset time (such as 1 second), and if not, starting normally; otherwise, go to step 203;
step 203: receiving a UDP broadcast packet sent by an upgrade server, analyzing the UDP broadcast packet to obtain upgrade service information carried in the UDP broadcast packet, wherein the upgrade service information comprises: control information of the upgrade server, an IP address of the upgrade server, upgradable file information, version information and the like; wherein, the control information of the upgrade server is used for indicating forced upgrade or normal upgrade; the upgradeable file information contains the upgradeable file directory and its location information at the upgrade server, etc.
Step 204: judging whether upgrading is needed according to the control information of the upgrading server in the UDP broadcast packet, and if the control information indicates forced upgrading, directly executing the step 205;
if the control information indicates normal upgrade, comparing the current version number of the terminal device with the version number informed in the version information of the UDP broadcast packet, if the current version number of the terminal device is lower than the version number informed in the version information, determining to execute upgrade, and executing step 205; otherwise, the upgrade is not carried out, and the normal start is carried out;
step 205: setting an IP address in the same network segment with the upgrading server according to the IP address of the upgrading server in the UDP broadcast packet; if the terminal equipment and the upgrading server are in different network segments, upgrading operation cannot be carried out;
step 206: downloading corresponding upgrading files from the appointed position of an upgrading server to the local by adopting a preset downloading mode (such as a tftp mode and a simple file transfer protocol mode) according to the upgrading file information in the UDP broadcast packet;
step 207: after the upgrade file is downloaded, performing CRC (cyclic redundancy check) to check the integrity of data, judging whether the upgrade file is an operating system file or a file system file according to header information of the downloaded upgrade file after the check data is correct, and covering a corresponding part in the flash so as to realize upgrade; because different types of files of different terminal devices are different, different storage parts are allocated in the flash, the type of the updated file is generally required to be judged after verification is finished, and then the corresponding part in the flash is modified according to the different types;
step 208: modifying the current version information of the terminal equipment into the analyzed version information according to the version information analyzed in the step 203;
step 209: when the upgrading process is finished, informing the user of the result of successful or failed upgrading;
here, the success or failure of the upgrade can be indicated by two ways: approach 1) the terminal equipment indicator lamp quickly flickers to indicate that an upgrade file is being downloaded or a flash is being erased, regularly and slowly flickers to indicate that the upgrade is completed, and constantly lights to indicate that a bootloader is starting or waiting for a user command state, and lights out to indicate that the upgrade fails; approach 2) the terminal device feeds back the upgrade related status to the upgrade server, and the upgrade server displays the upgrade related status of the connected terminal device on the graphical interface, where the upgrade related status may include: connected, downloaded, flash erased, upgrade successful, upgrade failed, etc.
The system of the present invention will be described in detail with reference to fig. 3.
As shown in fig. 3, fig. 3 is a schematic structural diagram of a system according to an embodiment of the present invention, including: an upgrade server and at least one terminal device to be upgraded; the upgrade server comprises: a broadcast module; the boot loading module of each terminal device comprises: upgrading the functional submodule; wherein,
the broadcast module is mainly responsible for continuously sending UDP broadcast packets which indicate that the upgrade server provides the upgrade service on the network; the UDP broadcast packet includes upgrade service information, such as control information of an upgrade server, an IP address of the upgrade server, upgradable file information, version information, and the like.
The bootloader module improves the function of the existing bootloader, and is provided with an original program bootloader function and an upgrading function submodule; the upgrading function sub-module is mainly responsible for analyzing a UDP broadcast packet sent by an upgrading server received within preset time to obtain upgrading service information in the operation process of a guide loading program, downloading a corresponding upgrading file from the upgrading server when upgrading is confirmed according to the upgrading service information, and upgrading by using the downloaded upgrading file.
The upgrade function sub-module may specifically include: a receiving and judging unit, an analyzing and judging unit and a downloading and upgrading unit, wherein,
the receiving judging unit judges whether a UDP broadcast packet sent from a broadcast module of the upgrading server is received within preset time (such as 1 second), if so, the upgrading can be carried out, and the receiving judging module transfers the UDP broadcast packet received by the receiving judging unit to the analyzing judging unit; otherwise, the upgrade server does not provide the upgrade service at this time, and the receiving and judging module triggers the boot loading module to enter a normal starting process.
After receiving the UDP broadcast packet, the parsing and determining unit parses the UDP broadcast packet to obtain upgrade service information, where the upgrade service information includes: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information; firstly, the analysis and judgment unit judges whether the control information of the upgrade server indicates forced upgrade or normal upgrade, and if the control information indicates forced upgrade, the download upgrade unit is directly triggered to carry out download upgrade processing; if the control information indicates normal upgrade, the analysis and judgment unit needs to further judge whether the current version number of the terminal equipment is lower than the version number informed in the version information, if so, the upgrade is required to be carried out, and the download upgrade unit is triggered; otherwise, the system is started normally without upgrading.
In order to ensure that the upgrade is smoothly performed, the download upgrade unit firstly needs to set an IP address in the same network segment with the upgrade server according to the IP address of the upgrade server obtained by analysis; and then downloading the corresponding upgrade files from the corresponding positions of the upgrade server by adopting download modes such as tftp and the like according to the upgrade file information obtained by analysis. After the upgrade file is downloaded, CRC (cyclic redundancy check) data integrity is carried out, after the check data is confirmed to be correct, the download upgrade unit further judges whether the upgrade file is an operating system file or a file system file according to header information of the downloaded upgrade file and covers a corresponding part in the flash, so that upgrade is realized; because different types of files of different terminal equipment systems can be different, different storage parts are allocated in the flash, the type of the updated file is generally required to be judged after verification is finished, and then the corresponding part in the flash is modified according to different types, so that the updating is finished.
In addition, in order to facilitate the user to know the upgrade status and the result, the system according to the embodiment of the present invention further includes an upgrade status display unit, which indicates the upgrade status of the terminal device through a flashing status of an indicator, or displays the upgrade status of the terminal device in a graphical interface manner, or both.
The upgrading state display unit is arranged in the terminal equipment, the indicator light quickly flickers to indicate that an upgrading file is being downloaded or flash is being erased, regular slow flickering indicates that upgrading is completed, normally bright indicates that the bootloader is starting or waiting for a user command state, and extinguished indicates that upgrading fails; the upgrade state display unit is arranged in the upgrade server and displays the upgrade related state fed back by the terminal device in a graphical interface mode, wherein the upgrade related state may include: the file is connected and downloaded, the flash is erased and written, and the upgrade is successful.
Finally, a detailed description is given of the terminal device according to the embodiment of the present invention with reference to fig. 4.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
The terminal equipment related to the embodiment of the invention is provided with the boot loading module, the boot loading module improves the function of the existing bootloader, and the boot loading module not only has the original program boot function, but also is added with an upgrading function submodule.
The upgrade function sub-module may specifically include: a receiving and judging unit, an analyzing and judging unit and a downloading and upgrading unit, wherein,
the receiving judging unit judges whether a UDP broadcast packet sent from a broadcast module of the upgrading server is received within preset time (such as 1 second), if so, the upgrading can be carried out, and the receiving judging module transfers the UDP broadcast packet received by the receiving judging unit to the analyzing judging unit; otherwise, the upgrade server does not provide the upgrade service at this time, and the receiving and judging module triggers the boot loading module to enter a normal starting process.
After receiving the UDP broadcast packet, the parsing and determining unit parses the UDP broadcast packet to obtain upgrade service information, where the upgrade service information includes: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information; firstly, the analysis and judgment unit judges whether the control information of the upgrade server indicates forced upgrade or normal upgrade, and if the control information indicates forced upgrade, the download upgrade unit is directly triggered to carry out download upgrade processing; if the control information indicates normal upgrade, the analysis and judgment unit needs to further judge whether the current version number of the terminal equipment is lower than the version number informed in the version information, if so, the upgrade is required to be carried out, and the download upgrade unit is triggered; otherwise, the system is started normally without upgrading.
In order to ensure that the upgrade is smoothly performed, the download upgrade unit firstly needs to set an IP address in the same network segment with the upgrade server according to the IP address of the upgrade server obtained by analysis; and then downloading the corresponding upgrade files from the corresponding positions of the upgrade server by adopting download modes such as tftp and the like according to the upgrade file information obtained by analysis. After the upgrade file is downloaded, CRC (cyclic redundancy check) data integrity is carried out, after the check data is confirmed to be correct, the download upgrade unit further judges whether the upgrade file is an operating system file or a file system file according to header information of the downloaded upgrade file and covers a corresponding part in the flash, so that upgrade is realized; because different types of files of different terminal equipment systems can be different, different storage parts are allocated in the flash, the type of the updated file is generally required to be judged after verification is finished, and then the corresponding part in the flash is modified according to different types, so that the updating is finished.
For the system and the specific implementation process of the terminal device related to the system according to the embodiment of the present invention, the detailed description is omitted here since the method has been described in detail.
In addition, in the embodiment of the present invention, for the purpose of clarity and simplicity, only the upgrade function sub-module in the boot loader module is described in detail, and detailed descriptions of known other functions of the boot loader module are omitted. Moreover, the terminal device referred to in the embodiments of the present invention is generally an embedded terminal device, and it should be understood by those skilled in the art that the embodiments of the present invention are also applicable to a common terminal device, and the specific processing procedures are similar.
In summary, the embodiments of the present invention provide a terminal device and an upgrading method and system thereof, where the upgrading of the terminal device can be completed in a boot stage without entering an operating system, so as to save time, the upgrading can still be performed when the operating system or a file system is damaged, and a user can restart the upgrading process after the upgrading process fails in the middle of the upgrading process regardless of any reason. In a word, the embodiment of the invention can improve the use experience of products and effectively reduce the after-sale maintenance workload caused by the upgrade failure of users.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for realizing terminal equipment upgrading is characterized by comprising the following steps:
step A: detecting whether an upgrade service identification broadcast packet indicating that the upgrade service is being provided is received or not in a preset time in a boot loading stage, if so, executing the step B, otherwise, normally starting;
and B: analyzing the received upgrade service identification broadcast packet to obtain upgrade service information, judging whether to upgrade according to the upgrade service information, if so, executing the step C, otherwise, starting normally;
and C: and downloading a corresponding upgrade file, and performing upgrade processing by using the downloaded upgrade file.
2. The method according to claim 1, wherein step B specifically comprises:
step B1: receiving an upgrade service identification broadcast packet sent by an upgrade server, and analyzing the upgrade service identification broadcast packet to obtain upgrade service information, wherein the upgrade service information comprises: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information;
the method comprises the following steps: b2: judging whether upgrading is needed according to the control information, and executing the step C if the control information indicates forced upgrading; if the control information indicates a normal upgrade, performing step B3;
step B3: and judging whether the current version number is lower than the version number informed in the version information, if so, judging to execute upgrading, and otherwise, normally starting.
3. The method according to claim 2, wherein step C specifically comprises:
step C1: setting an IP address in the same network segment with the upgrading server according to the IP address of the upgrading server obtained by analysis;
step C2: downloading a corresponding upgrade file from the upgrade server in a preset mode according to the upgrade file information obtained by analysis;
step C3: and upgrading by using the downloaded upgrading file.
4. The method according to claim 3, wherein the step C3 specifically comprises:
and verifying the downloaded upgrade file, judging the type of the upgrade file according to the header information of the downloaded upgrade file after the verification is confirmed to be correct, and then covering a corresponding part in the flash according to the type of the upgrade file, thereby realizing the upgrade.
5. The method according to claim 4, wherein the step C3 further comprises:
and modifying the current version information of the terminal equipment into the analyzed version information according to the version information obtained by analysis.
6. The method according to any one of claims 1 to 5, further comprising:
step D: and after the upgrade is finished, displaying the upgrade result to the user.
7. The method according to claim 6, wherein the manner of displaying the upgrade result in step D specifically includes:
and displaying the upgrading result of the terminal equipment through the flashing condition of the indicator lamp, and/or displaying the upgrading result of the terminal equipment in a graphical interface mode.
8. A system for realizing terminal equipment upgrading is characterized by comprising: a broadcast module contained in the upgrade server, and an upgrade function sub-module contained in the terminal device boot load module, wherein,
the broadcast module is used for continuously sending an upgrade service identification broadcast packet which indicates that the upgrade server is providing upgrade service on the network;
and the upgrading function sub-module is used for analyzing the upgrading service identification broadcast packet received within the preset time to obtain upgrading service information in the program guide loading stage, downloading a corresponding upgrading file from the upgrading server when upgrading is confirmed according to the upgrading service information, and upgrading by using the downloaded upgrading file.
9. The system of claim 8, wherein the upgrade function sub-module specifically comprises: a receiving and judging unit, an analyzing and judging unit and a downloading and upgrading unit, wherein,
the receiving and judging unit is used for judging whether an upgrading service identification broadcast packet sent by the upgrading server is received within preset time or not, and transferring the received upgrading service identification broadcast packet to the analyzing and judging unit when the receiving is confirmed;
the analysis judging unit is configured to analyze the received upgrade service identifier broadcast packet to obtain upgrade service information, where the upgrade service information includes: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information; when the control information indicates forced upgrading, the download upgrading unit is triggered; or, when the control information indicates normal upgrade but the current version number of the terminal device is lower than the version number notified in the parsed version information, triggering the download upgrade unit;
and the download upgrading unit is used for setting an IP address in the same network segment with the upgrading server according to the IP address of the upgrading server obtained by analysis, downloading a corresponding upgrading file from the upgrading server by adopting a preset download mode according to the upgrading file information obtained by analysis, and upgrading by using the downloaded upgrading file.
10. The system according to claim 8 or 9, characterized in that the system further comprises:
and the display unit is used for representing the upgrading state of the terminal equipment through the flashing condition of the indicator lamp and/or displaying the upgrading state of the terminal equipment in a graphical interface mode.
11. A terminal device capable of upgrading is characterized in that a guide loading module is arranged, and the guide loading module comprises an upgrading function sub-module;
and the upgrading function sub-module is used for analyzing the upgrading service identification broadcast packet received within the preset time to obtain upgrading service information in the program guide loading stage, downloading a corresponding upgrading file from the upgrading server when upgrading is confirmed according to the upgrading service information, and upgrading by using the downloaded upgrading file.
12. The terminal device according to claim 11, wherein the upgrade function sub-module specifically includes: a receiving and judging unit, an analyzing and judging unit and a downloading and upgrading unit, wherein,
the receiving and judging unit is used for judging whether an upgrading service identification broadcast packet sent by the upgrading server is received within preset time or not, and transferring the received upgrading service identification broadcast packet to the analyzing and judging unit when the receiving is confirmed;
the analysis judging unit is configured to analyze the received upgrade service identifier broadcast packet to obtain upgrade service information, where the upgrade service information includes: control information of the upgrade server, an IP address of the upgrade server, upgradable file information and version information; when the control information indicates forced upgrading, the download upgrading unit is triggered; or, when the control information indicates normal upgrade but the current version number of the terminal device is lower than the version number notified in the parsed version information, triggering the download upgrade unit;
and the download upgrading unit is used for setting an IP address in the same network segment with the upgrading server according to the IP address of the upgrading server obtained by analysis, downloading a corresponding upgrading file from the upgrading server by adopting a preset download mode according to the upgrading file information obtained by analysis, and upgrading by using the downloaded upgrading file.
CNA2009101481050A 2009-06-22 2009-06-22 The method of terminal equipment and upgrading thereof, system Pending CN101594613A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNA2009101481050A CN101594613A (en) 2009-06-22 2009-06-22 The method of terminal equipment and upgrading thereof, system
PCT/CN2010/071995 WO2010148739A1 (en) 2009-06-22 2010-04-21 Terminal device and upgrade method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101481050A CN101594613A (en) 2009-06-22 2009-06-22 The method of terminal equipment and upgrading thereof, system

Publications (1)

Publication Number Publication Date
CN101594613A true CN101594613A (en) 2009-12-02

Family

ID=41408991

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101481050A Pending CN101594613A (en) 2009-06-22 2009-06-22 The method of terminal equipment and upgrading thereof, system

Country Status (2)

Country Link
CN (1) CN101594613A (en)
WO (1) WO2010148739A1 (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148739A1 (en) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 Terminal device and upgrade method and system thereof
CN102314363A (en) * 2011-07-27 2012-01-11 深圳市航盛电子股份有限公司 Booting method of automobile controller and automobile controller
CN102364891A (en) * 2011-09-13 2012-02-29 杭州华三通信技术有限公司 Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment
CN102541604A (en) * 2011-12-29 2012-07-04 深圳市共进电子股份有限公司 Remote upgrading method, remote upgrading terminal equipment and remote upgrading system
CN102799454A (en) * 2012-07-13 2012-11-28 中广传播集团有限公司 Air upgrading and uploading method of terminal software
CN102932778A (en) * 2012-10-29 2013-02-13 东莞宇龙通信科技有限公司 A method and system for wireless upgrade of mobile phone terminal
CN102984584A (en) * 2012-12-13 2013-03-20 青岛海信宽带多媒体技术有限公司 Television signal receiving equipment and software upgrading method with voice prompt function
CN103019792A (en) * 2012-12-21 2013-04-03 北京经纬恒润科技有限公司 Application reprogramming method and application reprogramming system
CN103064715A (en) * 2013-01-09 2013-04-24 上海大唐移动通信设备有限公司 Remote upgrade method and system for automatic drive test systems
CN103634668A (en) * 2013-12-20 2014-03-12 乐视致新电子科技(天津)有限公司 System upgrading method and device in smart television
CN104239109A (en) * 2014-09-30 2014-12-24 上海瑞猫自动化控制技术有限公司 Method for on-line management of embedded system firmware
CN105337782A (en) * 2015-11-27 2016-02-17 上海斐讯数据通信技术有限公司 Method and device for automatic upgrading after boot failure of network equipment firmware
CN105450455A (en) * 2015-12-11 2016-03-30 上海市共进通信技术有限公司 System and method for automatically upgrading network devices in batch in factory
CN105812426A (en) * 2014-12-30 2016-07-27 浙江大华系统工程有限公司 Upgrade system and upgrade method for multi-business access platform
CN105938432A (en) * 2015-12-08 2016-09-14 杭州迪普科技有限公司 System updating method and apparatus
CN106462424A (en) * 2015-03-24 2017-02-22 华为技术有限公司 Method for updating terminal system, terminal and system
CN106789236A (en) * 2016-12-20 2017-05-31 深圳盈达信息科技有限公司 A kind of method of the FOTA remote onlines upgrading of fusion WiFiP2P
CN108446132A (en) * 2018-03-27 2018-08-24 宁波三星医疗电气股份有限公司 A method of remotely updating electric power acquisition terminal software based on TFTP
CN105279002B (en) * 2015-11-23 2018-10-26 上海网测通信技术有限公司 Automatically updating method based on System guides file in embedded system
CN110278114A (en) * 2019-06-19 2019-09-24 深圳逗号互联科技有限公司 A kind of method of the remote software upgrading of logistics retrospect equipment
CN110417871A (en) * 2019-07-05 2019-11-05 青岛海信智慧家居系统股份有限公司 A kind of smart machine upgrade method
CN110688136A (en) * 2019-09-25 2020-01-14 北京经纬恒润科技有限公司 Application program updating method and device
CN112954036A (en) * 2021-02-03 2021-06-11 博为科技有限公司 Software upgrading method, terminal equipment and system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018094733A1 (en) * 2016-11-28 2018-05-31 深圳中兴力维技术有限公司 Network apparatus update method, device, and system
CN107395428A (en) * 2017-08-11 2017-11-24 杭州迪普科技股份有限公司 Version file upgrade method, device, server and client device
CN110308916B (en) * 2019-06-27 2022-08-05 厦门四信通信科技有限公司 OTA upgrading method, device, equipment, system and storage medium based on lorawan protocol
CN112437119B (en) * 2020-11-05 2022-03-22 新华三大数据技术有限公司 Distributed system upgrading method, device and node
KR20230129794A (en) * 2022-03-02 2023-09-11 현대자동차주식회사 Vehicle and method of guiding connected car service thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100337200C (en) * 2005-04-22 2007-09-12 珠海金山软件股份有限公司 Software upgrading method for use in computer systems
JP4810172B2 (en) * 2005-09-29 2011-11-09 日本電気株式会社 Control device, version upgrade method, and program
CN101321350A (en) * 2008-07-24 2008-12-10 北京立通无限科技有限公司 Method ,device and system for automatically updating application software of mobile terminal
CN101384063A (en) * 2008-09-24 2009-03-11 中兴通讯股份有限公司 Method and system for terminal equipment repairing and updating, system manufacturing method
CN101594613A (en) * 2009-06-22 2009-12-02 中兴通讯股份有限公司 The method of terminal equipment and upgrading thereof, system

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148739A1 (en) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 Terminal device and upgrade method and system thereof
CN102314363A (en) * 2011-07-27 2012-01-11 深圳市航盛电子股份有限公司 Booting method of automobile controller and automobile controller
CN102364891B (en) * 2011-09-13 2014-08-27 杭州华三通信技术有限公司 Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment
CN102364891A (en) * 2011-09-13 2012-02-29 杭州华三通信技术有限公司 Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment
CN102541604A (en) * 2011-12-29 2012-07-04 深圳市共进电子股份有限公司 Remote upgrading method, remote upgrading terminal equipment and remote upgrading system
CN102541604B (en) * 2011-12-29 2015-12-16 深圳市共进电子股份有限公司 The terminal device of a kind of remote upgrade method, remote upgrade and remote update system
CN102799454A (en) * 2012-07-13 2012-11-28 中广传播集团有限公司 Air upgrading and uploading method of terminal software
CN102799454B (en) * 2012-07-13 2018-05-01 中广传播集团有限公司 A kind of terminal software aerial upgrade and the method for loading
CN102932778A (en) * 2012-10-29 2013-02-13 东莞宇龙通信科技有限公司 A method and system for wireless upgrade of mobile phone terminal
CN102984584A (en) * 2012-12-13 2013-03-20 青岛海信宽带多媒体技术有限公司 Television signal receiving equipment and software upgrading method with voice prompt function
CN103019792A (en) * 2012-12-21 2013-04-03 北京经纬恒润科技有限公司 Application reprogramming method and application reprogramming system
CN103064715A (en) * 2013-01-09 2013-04-24 上海大唐移动通信设备有限公司 Remote upgrade method and system for automatic drive test systems
CN103634668A (en) * 2013-12-20 2014-03-12 乐视致新电子科技(天津)有限公司 System upgrading method and device in smart television
CN104239109A (en) * 2014-09-30 2014-12-24 上海瑞猫自动化控制技术有限公司 Method for on-line management of embedded system firmware
CN105812426A (en) * 2014-12-30 2016-07-27 浙江大华系统工程有限公司 Upgrade system and upgrade method for multi-business access platform
CN106462424A (en) * 2015-03-24 2017-02-22 华为技术有限公司 Method for updating terminal system, terminal and system
CN105279002B (en) * 2015-11-23 2018-10-26 上海网测通信技术有限公司 Automatically updating method based on System guides file in embedded system
CN105337782A (en) * 2015-11-27 2016-02-17 上海斐讯数据通信技术有限公司 Method and device for automatic upgrading after boot failure of network equipment firmware
CN105938432A (en) * 2015-12-08 2016-09-14 杭州迪普科技有限公司 System updating method and apparatus
CN105450455A (en) * 2015-12-11 2016-03-30 上海市共进通信技术有限公司 System and method for automatically upgrading network devices in batch in factory
CN106789236A (en) * 2016-12-20 2017-05-31 深圳盈达信息科技有限公司 A kind of method of the FOTA remote onlines upgrading of fusion WiFiP2P
CN106789236B (en) * 2016-12-20 2019-11-19 深圳盈达信息科技有限公司 A method of the FOTA remote online upgrading of fusion WiFiP2P
CN108446132A (en) * 2018-03-27 2018-08-24 宁波三星医疗电气股份有限公司 A method of remotely updating electric power acquisition terminal software based on TFTP
CN110278114A (en) * 2019-06-19 2019-09-24 深圳逗号互联科技有限公司 A kind of method of the remote software upgrading of logistics retrospect equipment
CN110417871A (en) * 2019-07-05 2019-11-05 青岛海信智慧家居系统股份有限公司 A kind of smart machine upgrade method
CN110688136A (en) * 2019-09-25 2020-01-14 北京经纬恒润科技有限公司 Application program updating method and device
CN110688136B (en) * 2019-09-25 2023-12-22 北京经纬恒润科技股份有限公司 Application program updating method and device
CN112954036A (en) * 2021-02-03 2021-06-11 博为科技有限公司 Software upgrading method, terminal equipment and system

Also Published As

Publication number Publication date
WO2010148739A1 (en) 2010-12-29

Similar Documents

Publication Publication Date Title
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
EP2456257B1 (en) Method and system for upgrading wireless data card
CN102364891B (en) Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment
US9471300B2 (en) Wireless firmware upgrades to an alarm security panel
EP2482187A1 (en) Software upgrading method, software upgrading system and client
US8161474B2 (en) Diagnostic information preservation during installations of over the air update of wireless handset software
US20090017812A1 (en) Method and system for restoring user settings after over-the-air update of mobile electronic device software
CN101610604A (en) A kind of method for upgrading software and system
CN103106083B (en) A kind of loading method of firmware and device
US11995427B2 (en) Method, apparatus, device, and storage medium for upgrading vehicle-mounted Tbox
CN101593121A (en) The method of on-line software updating, Apparatus and system
CN112910714A (en) Remote firmware upgrading method for Internet of things terminal equipment with master-slave machine structure
CN104918114A (en) Method and device for upgrading operation system
CN108874437B (en) Online cloud updating method for android application program
CN108536464A (en) A kind of hot restorative procedure and device of application program
CN109144532A (en) Upgrade method and device
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN111698558A (en) Television software upgrading method, television terminal and computer readable storage medium
CN113961224B (en) Android-terminal-based application program updating method and system
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN116915603A (en) OTA upgrade method, device and electronic equipment
CN108833128A (en) A kind of method that equipment updates
CN111240589B (en) Partition isolation-based system management method, device, equipment and storage medium
CN113656063A (en) System version replacing method, device, equipment and computer readable medium
CN111930399A (en) Operating system repair method, device, system and computer-readable storage medium

Legal Events

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

Application publication date: 20091202