CN101720133A - Remote update method and system of embedded system software - Google Patents

Remote update method and system of embedded system software Download PDF

Info

Publication number
CN101720133A
CN101720133A CN200910188601A CN200910188601A CN101720133A CN 101720133 A CN101720133 A CN 101720133A CN 200910188601 A CN200910188601 A CN 200910188601A CN 200910188601 A CN200910188601 A CN 200910188601A CN 101720133 A CN101720133 A CN 101720133A
Authority
CN
China
Prior art keywords
embedded system
control server
remote upgrade
system terminal
remote
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
CN200910188601A
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.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom 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 Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN200910188601A priority Critical patent/CN101720133A/en
Publication of CN101720133A publication Critical patent/CN101720133A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses remote update method and system of embedded system software. The method comprises the following steps of: when update is needed currently, issuing a remote update command to an embedded system terminal to be updated by a remote update control server; after the embedded system terminal receives the remote update command, actively initiating a TCP connection request to the remote update control server by the embedded system terminal; and after the remote update control server receives the TCP connection request, establishing a TCP connection with the embedded system terminal and carrying out an update operation on the embedded system terminal. Under the limit that and the current wireless network only provides an internal dynamic IP address for the embedded system terminal, the remote update method realizes a PUSH software update mode suitable for the embedded system on the basis a wireless mode and then carries out the update operation on the embedded system through a TCP protocol.

Description

A kind of remote upgrade method of built-in system software and system
Technical field
The present invention relates to the embedded system technology field, relate in particular to a kind of remote upgrade method and system of built-in system software.
Background technology
The embedded system product comprises hardware system and software systems.After the embedded system product is paid and installed, if repair the defective of internal software or increase new function, just need the upgrading built-in system software in the follow-up maintenance stage.But the embedded system product usually distributes wide and disperses, and partially embedded system product is installed in field or unattended operation zone, and this brings huge difficulty and working strength for software upgrading of embedded system.
Industry generally adopts the method for telecommunication network upgrading to address the above problem, but use current wireless cellular network (such as GPRS and EDGE) to realize that there is following defective in remote upgrade at present: the main flow wireless cellular network all only adopts IPV4 (Internet Protocol version 4, Internet Protocol Version 4) technology, and use dynamic Intranet IP to distribute.Because the restriction of IPV4, terminal embedded communication can only be played the part of the role of client in network service, can only initiatively remove to connect the server of certain IP address; But the upgrading order is asynchronous and instant, when server and terminal are not also set up TCP (Transmission Control Protocol transmission control protocol) when being connected, server can't directly carry out updating operation by Transmission Control Protocol notice terminal embedded communication.Therefore cause remote upgrade Control Server (being in the arbitrary node of internet network) initiatively not initiate the software upgrading order to embedded system terminal to be upgraded when needed.
Summary of the invention
Technical problem to be solved by this invention provides a kind of remote upgrade method of built-in system software, and the respective remote upgrade-system, and realization remote upgrade Control Server is initiatively initiated the function of software upgrading to embedded system terminal.
For solving the problems of the technologies described above, the present invention adopts following solution:
A kind of remote upgrade method of built-in system software comprises:
When current need the upgrading, the remote upgrade Control Server pushes order to embedded system terminal issuing message to be upgraded;
Described embedded system terminal receives that described message pushes the order back and initiatively initiates the TCP connection request to the remote upgrade Control Server, and the remote upgrade Control Server receives that the back sets up with embedded system terminal that TCP is connected and it is carried out updating operation.
Wherein, described message pushes to order and comprises parameter: the IP address of remote upgrade Control Server and the port numbers of remote upgrade Control Server.
Wherein, described message pushes order and adopts short message protocol data cell form.
A kind of remote update system of built-in system software comprises embedded system terminal and remote upgrade Control Server,
Described remote upgrade Control Server is used for when needs are upgraded, and pushes order to embedded system terminal issuing message to be upgraded; Also be used for when receiving the TCP connection request of embedded system terminal, set up with embedded system terminal that TCP is connected and it is carried out updating operation;
Described embedded system terminal is used for initiatively initiating the TCP connection request to the remote upgrade Control Server when receiving message propelling movement order.
Wherein, described message pushes the port numbers parameter that order comprises the IP address argument and the remote upgrade Control Server of remote upgrade Control Server.
Wherein, described message pushes to order and is short message protocol data cell form.
The present invention has following beneficial effect:
The present invention can only offer under the restriction of embedded system terminal internal dynamic IP address at the current wireless network, realized being applicable to the PUSH software upgrading mode based on wireless mode of embedded system, the remote upgrade Control Server can initiatively be initiated the software upgrading order to embedded system terminal to be upgraded as required at any time, and then by Transmission Control Protocol it is carried out updating operation.
Description of drawings
Fig. 1 is the remote upgrade method schematic diagram in the embodiment of the invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples:
The present invention proposes PUSH MESSAGE (message propelling movement) mechanism at remote upgrade.The remote upgrade Control Server uses PUSH MESSAGE mechanism by the note channel, sends remote update command to embedded system terminal to be upgraded.Above-mentioned PUSH MESSAGE mechanism comprises two parts: the encapsulation format of PUSH MESSAGE and PUSH MESSAGE treatment mechanism.
1) encapsulation format of PUSH MESSAGE: adopt note PDU (protocol Data Unit) form of 8bit coding, wherein the User-Data-Header flag set of this PDU parameter (concrete PDU standard please refer to 3GPP 0340 agreement document).The relevant parameter of PUSH MESSAGE is encapsulated in Information Element Identifier data field among the User-Data-Header of PDU, comprises two parameters: the IP address of remote upgrade Control Server, the port numbers of remote upgrade Control Server.Wherein remote upgrade Control Server port numbers is 16bit, adopts big end alignment thereof.
2) PUSH MESSAGE treatment mechanism:
Server end: the remote upgrade Control Server issues a PUSHMESSAGE to embedded system terminal, waits for the communication response of built-in terminal then.If connect normally, embedded system terminal will initiatively be initiated TCP to the remote upgrade Control Server and connect.After if the remote upgrade Control Server issues PUSH MESSAGE, wait timeout is not received the TCP connection request that embedded system terminal is initiatively initiated yet, thinks that then built-in terminal is in the different communication state.Carry out a updating operation and can only issue a PUSH MESSAGE.
Terminal: when embedded system terminal is in idle condition (not receiving any PUSHMESSAGE promptly), when receiving a PUSH MESSAGE, embedded system terminal is immediately to remote upgrade Control Server initiation TCP connection request; When embedded system terminal has been received a PUSH MESSAGE and do not begin the TCP connection, receive a PUSHMESSAGE again, built-in terminal abandons this PUSH MESSAGE immediately.
As shown in Figure 1, remote upgrade method proposed by the invention comprises:
(1) when current need the upgrading, the remote upgrade Control Server issues remote update command PUSH MESSAGE to embedded system terminal to be upgraded.
The remote upgrade Control Server can be selected employing place to add communication module or use the open port numbers of operator to send PUSH MESSAGE;
Wherein, PUSH MESSAGE adopts 8bit coding PDU, and two parameters (the IP address of remote upgrade Control Server, the port numbers of remote upgrade Control Server) are encapsulated among the User-Data-Header.The Information-Element-Identifier of IP address argument is 0xe1, and the length information of Information-Element is 4 bytes, and IP address argument is 4 bytes; The Information-Element-Identifier of port numbers parameter is 0xe2, and the length information of Information-Element is 4 bytes, and the port numbers parameter is 2 bytes (big end alignment).
(2) embedded system terminal is received the content of resolving behind the PUSH MESSAGE among the User-Data-Header, if it is correct to comprise two Information-Element-Identifier of 0xe1 and 0xe2 and parameter information among the User-Data-Header, then initiatively initiate the TCP connection request to the remote upgrade Control Server according to parameter information (IP address and port numbers), the remote upgrade Control Server receives that the back sets up with embedded system terminal that TCP is connected and it is carried out updating operation.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of the claim scope of the present invention.

Claims (6)

1. the remote upgrade method of a built-in system software is characterized in that, this method comprises:
When current need the upgrading, the remote upgrade Control Server pushes order to embedded system terminal issuing message to be upgraded;
Described embedded system terminal receives that described message pushes the order back and initiatively initiates the TCP connection request to the remote upgrade Control Server, and the remote upgrade Control Server receives that the back sets up with embedded system terminal that TCP is connected and it is carried out updating operation.
2. remote upgrade method as claimed in claim 1 is characterized in that, described message pushes order and comprises parameter: the IP address of remote upgrade Control Server and the port numbers of remote upgrade Control Server.
3. remote upgrade method as claimed in claim 1 or 2 is characterized in that, described message pushes order and adopts short message protocol data cell form.
4. the remote update system of a built-in system software comprises embedded system terminal and remote upgrade Control Server, it is characterized in that,
Described remote upgrade Control Server is used for when needs are upgraded, and pushes order to embedded system terminal issuing message to be upgraded; Also be used for when receiving the TCP connection request of embedded system terminal, set up with embedded system terminal that TCP is connected and it is carried out updating operation;
Described embedded system terminal is used for initiatively initiating the TCP connection request to the remote upgrade Control Server when receiving message propelling movement order.
5. remote update system as claimed in claim 4 is characterized in that, described message pushes the port numbers parameter that order comprises the IP address argument and the remote upgrade Control Server of remote upgrade Control Server.
6. as claim 4 or 5 described remote update systems, it is characterized in that described message pushes order and is short message protocol data cell form.
CN200910188601A 2009-12-03 2009-12-03 Remote update method and system of embedded system software Pending CN101720133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910188601A CN101720133A (en) 2009-12-03 2009-12-03 Remote update method and system of embedded system software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910188601A CN101720133A (en) 2009-12-03 2009-12-03 Remote update method and system of embedded system software

Publications (1)

Publication Number Publication Date
CN101720133A true CN101720133A (en) 2010-06-02

Family

ID=42434633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910188601A Pending CN101720133A (en) 2009-12-03 2009-12-03 Remote update method and system of embedded system software

Country Status (1)

Country Link
CN (1) CN101720133A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281528A (en) * 2011-08-16 2011-12-14 中兴通讯股份有限公司 System, method and device for upgrading mobile terminal
CN102291424A (en) * 2011-05-31 2011-12-21 深圳市元征软件开发有限公司 Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
CN103442063A (en) * 2013-08-29 2013-12-11 贝壳网际(北京)安全技术有限公司 Information processing method, client device and server
CN105991781A (en) * 2015-02-04 2016-10-05 上海庆科信息技术有限公司 Data transmission method of singlechip
CN107018048A (en) * 2015-09-16 2017-08-04 通用汽车环球科技运作有限责任公司 Configurable communication module with replaceable network access equipment
CN108053630A (en) * 2017-11-28 2018-05-18 国电南瑞科技股份有限公司 A kind of cross-safety zone wireless data access system and method
CN109246120A (en) * 2018-09-29 2019-01-18 中国船舶重工集团公司第七〇九研究所 A kind of remote debugging method and its system of embedded device
CN113341794A (en) * 2021-05-20 2021-09-03 江苏昂内斯电力科技股份有限公司 Electricity safety data acquisition module and remote upgrading method thereof
WO2023000841A1 (en) * 2021-07-22 2023-01-26 上汽通用五菱汽车股份有限公司 In-vehicle system upgrade method, vehicle, and readable storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291424A (en) * 2011-05-31 2011-12-21 深圳市元征软件开发有限公司 Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
CN102281528B (en) * 2011-08-16 2017-12-26 中兴通讯股份有限公司 The upgrade-system of mobile terminal, method and device
CN102281528A (en) * 2011-08-16 2011-12-14 中兴通讯股份有限公司 System, method and device for upgrading mobile terminal
CN103442063A (en) * 2013-08-29 2013-12-11 贝壳网际(北京)安全技术有限公司 Information processing method, client device and server
CN103442063B (en) * 2013-08-29 2017-05-24 贝壳网际(北京)安全技术有限公司 Information processing method, client device and server
CN105991781A (en) * 2015-02-04 2016-10-05 上海庆科信息技术有限公司 Data transmission method of singlechip
CN107018048A (en) * 2015-09-16 2017-08-04 通用汽车环球科技运作有限责任公司 Configurable communication module with replaceable network access equipment
CN107018048B (en) * 2015-09-16 2020-12-04 通用汽车环球科技运作有限责任公司 Configurable communication module with replaceable network access device
CN108053630A (en) * 2017-11-28 2018-05-18 国电南瑞科技股份有限公司 A kind of cross-safety zone wireless data access system and method
CN108053630B (en) * 2017-11-28 2020-08-11 国电南瑞科技股份有限公司 Cross-security-area wireless data access system and method
CN109246120A (en) * 2018-09-29 2019-01-18 中国船舶重工集团公司第七〇九研究所 A kind of remote debugging method and its system of embedded device
CN109246120B (en) * 2018-09-29 2021-04-27 中国船舶重工集团公司第七一九研究所 Remote debugging method and system for embedded equipment
CN113341794A (en) * 2021-05-20 2021-09-03 江苏昂内斯电力科技股份有限公司 Electricity safety data acquisition module and remote upgrading method thereof
WO2023000841A1 (en) * 2021-07-22 2023-01-26 上汽通用五菱汽车股份有限公司 In-vehicle system upgrade method, vehicle, and readable storage medium

Similar Documents

Publication Publication Date Title
CN101720133A (en) Remote update method and system of embedded system software
CN110855774B (en) Internet of things system capable of being automatically configured based on MQTT protocol
CN109347659B (en) Intelligent terminal equipment and module remote upgrading method based on NB-IOT
CN103188653B (en) Receive the method for data, the method sending data, mobile terminal and server
CN101578832B (en) For the apparatus and method to wireless device transfer system state information change
CN102510409A (en) Method and system for quickly and remotely updating program of mobile terminal by using wireless network
WO2008110088A1 (en) Method and system for automatically updating mobile terminal software, mobile terminal and software managing server
CN101184301A (en) Mobile terminal remote firmware updating method and system
CN101009588B (en) Method and system for configuring the distributed proxy server information
CN107332932A (en) A kind of robot system remote upgrade method based on FOTA
CN101237475B (en) Information push system, method and device
WO2015078341A1 (en) Method and device for remotely updating application program
CN102196011A (en) Method and system for providing application information by using push service
CN103457985A (en) Method and system of dual-channel communication
EP1909511A1 (en) Application activation method
CN113824594B (en) Message sending method and device
KR100864940B1 (en) Method of controlling the session for the OMA DM protocol
CN105072145A (en) IOT (Internet of Things) communication method and system
CN101369924A (en) Mobile management method used for mobile IP network
CN101325533A (en) Data download method based on mobile equipment
CN101778484A (en) Data connection establishing/releasing method, data transmission method and wireless data card
CN101340604A (en) Method and system for implementing voice inter-communication in video monitoring
CN105187247A (en) Remote control software realization method based on combined TCP and UDP protocol
WO2006053478A1 (en) A method for ensuring the service platform acquiring the information of the user terminal by multi-application protocol
CN101521584B (en) IPTV (internet protocol television) one-way service control method and terminal thereof

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: 20100602