CN102510409A - Method and system for quickly and remotely updating program of mobile terminal by using wireless network - Google Patents

Method and system for quickly and remotely updating program of mobile terminal by using wireless network Download PDF

Info

Publication number
CN102510409A
CN102510409A CN2011104266509A CN201110426650A CN102510409A CN 102510409 A CN102510409 A CN 102510409A CN 2011104266509 A CN2011104266509 A CN 2011104266509A CN 201110426650 A CN201110426650 A CN 201110426650A CN 102510409 A CN102510409 A CN 102510409A
Authority
CN
China
Prior art keywords
data
file
portable terminal
program
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104266509A
Other languages
Chinese (zh)
Other versions
CN102510409B (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.)
Xiamen Yaxun Zhilian Technology Co ltd
Original Assignee
Xiamen Yaxon Networks 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 Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CN201110426650.9A priority Critical patent/CN102510409B/en
Publication of CN102510409A publication Critical patent/CN102510409A/en
Application granted granted Critical
Publication of CN102510409B publication Critical patent/CN102510409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of mobile communication, in particular to a method and a system for quickly and remotely updating a program of a mobile terminal based on a wireless network. The invention provides the method for remotely updating the program of the mobile terminal by using the wireless network, a data compression technology and a data quick interaction technology. When the program of the mobile terminal is required to be updated, the program is subjected to data compression, a compressed program packet is submitted to an updating server, a remote updating function of the mobile terminal is started, and the mobile terminal locally downloads the compressed program packet through the wireless network in a quick interaction mode, decompresses the program packet and updates the program of the mobile terminal, so that the program of the mobile terminal can be quickly and remotely updated. According to the system, before the program packet is updated, GZIP data compression is performed, a transmission window mechanism is adopted in the downloading process, and according to actual system parameters, update files can be quickly and accurately downloaded by using a preference algorithm, a breakpoint continuous transmission mechanism and a file checking mechanism.

Description

A kind of method and system of utilizing wireless network to the quick remote update of portable terminal program
Technical field
The present invention relates to the mobile communication technology field, particularly relate to a kind of based on the method and system of wireless network to the quick remote update of portable terminal program.
Background technology
In today of Internet of Things develop rapidly, mobile terminal device is widely used.The mobility that mobile device is intrinsic makes remote update become one of critical function of its refresh routine.Often because the network bandwidth is limited, simultaneously mobile terminal device is in mobile status, causes the long-range renewal speed of portable terminal program slow, and it is low to be updated to power, and terminal use's use is affected.Therefore reduce the interaction data size, just very important for the remote update of portable terminal.
Summary of the invention
Deficiency to prior art; The present invention has put forward a kind of method of utilizing wireless network, data compression, the quick interaction technique of data to realize mobile terminal device program remote update: when mobile terminal device needs refresh routine; Earlier program is carried out data compression process; Program package after the compression is committed on the update service device, starts the mobile terminal device remote update, mobile terminal device is downloaded to this locality through wireless network with the program package that compresses fast alternately; Carry out decompression and upgrade the program of portable terminal, thereby realize the quick remote update of terminal program.
For achieving the above object, the present invention realizes that through following technical scheme a kind of method of utilizing wireless network to the quick remote update of portable terminal program may further comprise the steps:
Steps A. when mobile terminal device needed the remote update program, leading subscriber at first compressed ROMPaq, and the ROMPaq compressed package is committed on the program update server;
Step B. when mobile terminal device receive the update instruction of remote update server or detect upgrade server automatically have effective refresh routine version after; Mobile terminal device utilizes that data are fast mutual, breakpoint transmission and file verification mechanism and multiple, the compressed package on the update service device is downloaded to this locality and is stored on the storage medium through cordless communication network;
Step C. mobile terminal device carries out decompression in this locality to the program updates compressed package that success is downloaded, and simultaneously file is carried out validity and detects, and the original program file that utilizing simultaneously decompresses generates upgrades the program of mobile terminal device.
Further, described steps A comprises:
Steps A 1. leading subscribers compression algorithm according to a preconcerted arrangement and compression export file name rule, the file that will be used to upgrade terminal program carries out data compression;
Steps A 2. leading subscribers will compress successful transaction file and be committed on the upgrading update service device;
Steps A 3. leading subscribers through association need refresh routine portable terminal, carry out configuration effort such as program version coupling, and start the download flow process of transaction file;
Steps A 4. remote update servers are through instruction of wireless network short message issuing immediate updating or setting terminal program effective marker to be updated.
Further, described step B comprises:
Step B1. mobile terminal device is received the update instruction of remote update server or detects upgrade server automatically and have effectively renewal version that portable terminal and update service device are set up upgrade file and downloaded communication link; And agreement transmission window attribute, comprise window data frame number N and maximum data frame length L;
Step B2. update service device reads and compresses good upgrade file; The verification of calculating whole file according to the checking algorithm of communications protocol agreement with; And, file is carried out fragment process, and number according to the order of sequence one by one according to the data packet length that host-host protocol is appointed;
Step B3. update service device encapsulates according to the burst of host-host protocol to upgrade file in regular turn; According to the transmission window attribute of appointing; Call the network data transmission interface packaged N frame window data are sent to portable terminal; The transmission bag sequence number of record current window, and the current window portable terminal is set replys the wait counter;
Wherein protocol encapsulation comprises but do not limit following information: total data frame number, current window start frame sequence number, present frame sequence number, frame data, counter values are provided with reference to real network environment, window data frame number N, send interval etc.;
Step B4. mobile terminal device receives the upgrading data packet that the update service device issues; And according to the numbering of packet, write in regular turn in the interim buffer memory, write down current reception bag sequence number; If packet is the new window Frame, portable terminal will start to receive waits for counter;
Step B5. receives interaction process to upgrade file respectively by following situation:
Situation 1; If portable terminal collects the update service device when issuing the current window packet; To receive data in buffer temporarily and write file; And preserve the length that upgrade file has received, and will send complete reception result notice and close reception wait counter to the update service device simultaneously, the update service device starts next window data and issues;
Situation 2; If the update service device detects the portable terminal response message wait for that counter is overtime after; To send instruction inquiry current window reception condition to portable terminal; Portable terminal is according to the reception condition answering server and reset reception wait counter, and the update service device is reissued obliterated data according to the terminal responds result or started next window data and downloads, and resets portable terminal and reply the wait counter;
Situation 3; After if portable terminal receives and waits for that counter is overtime; To send the reception result notice and reset to the update service device and receive the wait counter; The update service device is according to the terminal reception result, judges whether to reissue obliterated data or starts next window data to issue, and reset portable terminal and reply the wait counter;
Step B6. portable terminal is through above-mentioned steps B3, B4, B5; After collecting the upgrade file packet; Upgrade file is calculated in employing with the identical checking algorithm of update service device agreement verification with; The verification that issues with the verification of calculating gained with upgrade server with compare, then begin to carry out the more new technological process of terminal program as if the two unanimity ;If inconsistent, then the update notifications server is carried out download step B3, B4 again, and B5 is until downloading successfully.
Further, the transmission window among the described step B1 is update service device and each group data interaction flow process of portable terminal; Data frame number N among the described step B1 is the data frame number that the update service device issues a window period.
Further, the computing formula N that selects the superior=data are downloaded transmission window select, described L is the terminal number that single carries out remote update.
Further, described step B5 also comprises following situation:
Situation 4, portable terminal and update service device are in data exchange process, because the data downloading process that abnormal conditions such as network failure, update service device or portable terminal operation irregularity cause is interrupted; After communication recovers normally; Portable terminal will be initiated the breakpoint transmission request to the update service device according to breakpoint location (portable terminal successfully finishes receiving the upgrade file length that a window data is preserved), and the update service device is according to breakpoint location; Execution in step B3 resends upgrading data packet.
Further, described step C comprises:
The decompression algorithm function interface that step C1. mobile terminal device calls with update service device agreement carries out decompress(ion) to the upgrade file of downloading; If decompress(ion) failure; The T that then delays time reattempts decompress(ion) second, and maximum attempts is 3, and failure reaches the qualification number of times and then carries out flow process again ,Otherwise and the result behind the successful decompress(ion) write cache file;
Figure 14765DEST_PATH_IMAGE001
Step C2. mobile terminal device carries out the validity judgement to the file of decompress(ion) output, then carries out flow process again if file is invalid ,Again file in download if file is effective, is carried out subsequent step C3;
The content of step C3. mobile terminal device copy decompress(ion) cache file starts terminal program then and guides more new technological process to the program load domain;
Step C4. mobile terminal device boot is copied to program operating field with the data of program load domain, the initialization terminal program, and begin to carry out new procedures;
After step C5. mobile terminal device gets into and carries out new procedures, through the success of wireless network update notifications server updating.
System of the present invention has carried out the GZIP data compression process in advance at the refresh routine bag; Greatly reduce the transmits data packets size, therefore under comparable bandwidths and transmission speed, because the minimizing of data amount transmitted; The corresponding minimizing of the time of remote download, the also corresponding raising of downloading reliability; Downloading process has adopted transmission window mechanism in addition, and according to the real system parameter, utilizes out of kilter method; Select the window number N of optimization; Optimally reduce the interaction times of data downloading process, correspondingly reduce the mutual loss time, improve the speed of download of transaction file; Utilize breakpoint transmission mechanism to avoid factors such as network failure, server failure to cause file to download the imperfect situation of downloading whole file again effectively, and only download, saved under the abnormality file download time from the initial data of breakpoint; File this method adopts file verification mechanism in the upgrade file downloading process simultaneously; Realize the data reliable interaction between upgrade server and the portable terminal; The loss of data of avoiding factor such as unstable networks to cause causes the upgrading failure, thereby realizes the success rate that transaction file is downloaded.
Description of drawings
Fig. 1 is a kind of flow chart that utilizes wireless network to the method for the quick remote update of portable terminal program of the present invention;
Fig. 2 is a kind of structure chart that utilizes wireless network to the system of the quick remote update of portable terminal program of the present invention.
Embodiment
Combine accompanying drawing and embodiment that the present invention is further specified at present.
With reference to shown in Figure 1, a kind of method of utilizing wireless network to the quick remote update of portable terminal program may further comprise the steps:
Steps A. when mobile terminal device needs the remote update program; Leading subscriber at first compresses ROMPaq, lowers the size of upgrading data packet, to reduce the data amount transmitted on wireless network; Realize quick-downloadingly, and the ROMPaq compressed package is committed on the program update server;
Further, described steps A specifically comprises:
Steps A 1. leading subscribers compression algorithm according to a preconcerted arrangement and compression export file name rule, the file that will be used to upgrade terminal program carries out data compression;
Steps A 2. leading subscribers will compress successful transaction file and be committed on the upgrading update service device;
Steps A 3. leading subscribers through association need refresh routine portable terminal, carry out configuration effort such as program version coupling, and start the download flow process of transaction file;
Steps A 4. remote update servers are through wireless network or instruction of SMS short message issuing immediate updating or setting terminal program effective marker to be updated.
Step B. when mobile terminal device receive the update instruction of remote update server or detect upgrade server automatically have effective refresh routine version after; Mobile terminal device utilizes that data are fast mutual, breakpoint transmission and file verification mechanism and multiple, through cordless communication network with the compressed package fast and reliable on the update service device be downloaded to this locality and be stored on the storage medium;
Further, described step B specifically comprises:
Step B1. mobile terminal device is received the update instruction of remote update server or detects upgrade server automatically and have effectively renewal version that portable terminal and update service device are set up upgrade file and downloaded communication link; And agreement transmission window attribute, comprise window data frame number N and maximum data frame length L;
Further, the transmission window among the described step B1 is update service device and each group data interaction flow process of portable terminal; Data frame number N among the described step B1 is the data frame number that the update service device issues a window period.
Step B2. update service device reads and compresses good upgrade file; The verification of calculating whole file according to the checking algorithm of communications protocol agreement with; And, file is carried out fragment process, and number according to the order of sequence one by one according to the data packet length that host-host protocol is appointed;
Step B3. update service device encapsulates according to the burst of host-host protocol to upgrade file in regular turn; According to the transmission window attribute of appointing; Call the network data transmission interface packaged N frame window data are sent to portable terminal; The transmission bag sequence number of record current window, and the current window portable terminal is set replys the wait counter;
Wherein protocol encapsulation comprises but do not limit following information: total data frame number, current window start frame sequence number, present frame sequence number, frame data, counter values are provided with reference to real network environment, window data frame number N, send interval etc.;
Step B4. mobile terminal device receives the upgrading data packet that the update service device issues; And according to the numbering of packet, write in regular turn in the interim buffer memory, write down current reception bag sequence number; If packet is the new window Frame, portable terminal will start to receive waits for counter;
Step B5. receives interaction process to upgrade file respectively by following situation:
Situation 1; If portable terminal collects the update service device when issuing the current window packet; To receive data in buffer temporarily and write file; And preserve the length that upgrade file has received, and will send complete reception result notice and close reception wait counter to the update service device simultaneously, the update service device starts next window data and issues;
Situation 2; If the update service device detects the portable terminal response message wait for that counter is overtime after; To send instruction inquiry current window reception condition to portable terminal; Portable terminal is according to the reception condition answering server and reset reception wait counter, and the update service device is reissued obliterated data according to the terminal responds result or started next window data and downloads, and resets portable terminal and reply the wait counter;
Situation 3; After if portable terminal receives and waits for that counter is overtime; To send the reception result notice and reset to the update service device and receive the wait counter; The update service device is according to the terminal reception result, judges whether to reissue obliterated data or starts next window data to issue, and reset portable terminal and reply the wait counter;
Situation 4, portable terminal and update service device are in data exchange process.Because the data downloading process that abnormal conditions such as network failure, update service device or portable terminal operation irregularity cause is interrupted; After communication recovers normally; Portable terminal will be initiated the breakpoint transmission request to the update service device according to breakpoint location (portable terminal successfully finishes receiving the upgrade file length that a window data is preserved), and the update service device is according to breakpoint location; Execution in step B3 resends upgrading data packet;
Step B6. portable terminal is through above-mentioned steps B3, B4, B5; After collecting the upgrade file packet; Upgrade file is calculated in employing with the identical checking algorithm of update service device agreement verification with; The verification that issues with the verification of calculating gained with upgrade server with compare, then begin to carry out the more new technological process of terminal program as if the two unanimity ;If inconsistent, then the update notifications server is carried out download step B3, B4 again, and B5 is until downloading successfully.
Step C. mobile terminal device carries out decompression in this locality to the program updates compressed package that success is downloaded, and simultaneously file is carried out validity and detects, and the original program file that utilizing simultaneously decompresses generates upgrades the program of mobile terminal device.
Further, described step C specifically comprises:
The decompression algorithm function interface that step C1. mobile terminal device calls with update service device agreement carries out decompress(ion) to the upgrade file of downloading; If decompress(ion) failure; Then delaying time reattempted decompress(ion) in 60 seconds, and maximum attempts is 3, and failure reaches the qualification number of times and then carries out flow process again ,Otherwise and the result behind the successful decompress(ion) write cache file;
Step C2. mobile terminal device carries out the validity judgement to the file of decompress(ion) output, then carries out flow process again if file is invalid ,Again file in download if file is effective, is carried out subsequent step C3;
The content of step C3. mobile terminal device copy decompress(ion) cache file starts terminal program then and guides more new technological process to the program load domain;
Step C4. mobile terminal device boot is copied to program operating field with the data of program load domain, the initialization terminal program, and begin to carry out new procedures;
Step C5. mobile terminal device is upgraded successfully through wireless network or SMS short message notification update service device after getting into and carrying out new procedures.
A kind of method of utilizing wireless network to the quick remote update of portable terminal program, wherein the transmission window interaction flow is following:
Mobile terminal device and remote update server are through the window transmission mechanism; Arrange N the data that the data AKU is a transmission window; Portable terminal receive a window data receive to wait for that counter is overtime or receive server replying the inquiry packet of waiting for the overtime transmission of counter after just to server reception result notice, i.e. " multiframe downlink data, a frame upstream data " current relatively transfer of data commonly used of mode " a frame downlink data; a upstream data " mode; Suppose that under the situation of identical network environment and transmits data packets size the transmission time that the update service device issues data to portable terminal equals the time of portable terminal upstream data update service device, is T; Then accomplish N (greater than the 1) frame data of a window of transmission; Under the perfect condition, the used time of the inventive method is (N+1) * T, but not the used time of windowing mechanism is (2N) * T; Reduce the transmission time of (N-1) * T in theory, will save the time of M* (N-1) * T for the download that can cut apart the upgrade file of M window in theory.
Wherein for the value of N, need select according to factors such as the bandwidth of actual wireless network, packet size, the server service device network bandwidth, remote update terminal linking numbers, can set up following relational expression and confirm according to qualifications:
N=
Figure 663101DEST_PATH_IMAGE001
; Wherein
Figure 588331DEST_PATH_IMAGE003
is the Wi-Fi downstream rate;
Figure 812639DEST_PATH_IMAGE004
is the server network bandwidth; KBps gets in unit;
Figure 437918DEST_PATH_IMAGE005
is remote update terminal linking number; is transmits data packets size (being not more than networking MTU size); KB gets in unit, and wherein and
Figure 225111DEST_PATH_IMAGE005
value relates to system resource configuration and operation cost.
Through selecting the numerical value of N according to qualifications, the upgrade file method for down loading that the present invention adopts reduces the time of transfer of data effectively, accelerates the remote update of portable terminal program.
The inventive method has also been utilized document breakpoint transmission mechanism in the upgrade file downloading process in addition; Avoid effectively downloading the situation of whole file again because of factors such as unstable networks, server failure cause file; And only download from the initial data of breakpoint, saved under the abnormality file download time.
The inventive method adopts file verification mechanism in the upgrade file downloading process simultaneously; Realize the data reliable interaction between upgrade server and the portable terminal; The loss of data of avoiding factor such as unstable networks to cause causes the upgrading failure; Thereby realize the success rate that transaction file is downloaded, for the successful renewal of terminal program one of is laid a good foundation.
With reference to shown in Figure 2; A kind of system that utilizes wireless network to the quick remote update of portable terminal program comprises vehicle mobile terminals 1, cordless communication network 2 and update service device 3, wherein; Said car-mounted terminal 1 comprises communication module 11, new technological process more below said system adopts:
Flow process 1. leading subscribers carry out processed compressed and are committed to the update service device the file that upgrades in advance; Adopt the GZIP algorithm to carry out data compression; The remote update server is set simultaneously; Adopting according to qualifications, computing formula N=
Figure 406694DEST_PATH_IMAGE001
selects data download transmission window; After parameter such as transmission window has been set, starting the remote update flow process;
Flow process 2. vehicle mobile terminals 1 are behind the renewal upgrade of receiving the update service device or vehicle mobile terminals 1 automatic detection refresh routine version; Through cordless communication network 2 adopt the optimum transfer of data window mechanism that is provided with, breakpoint transmission is machine-processed and the triple mechanism of file verification, realizes that vehicle mobile terminals 1 is from the update service device compression update package that quickly and reliably downloads;
Flow process 3. is carried out the GZIP decompression in this locality to the compressed package of having downloaded; The original program file that utilizes the GZIP decompression to generate upgrades the program of vehicle mobile terminals 1 equipment; Behind the vehicle mobile terminals 1 equipment success refresh routine; Upgrade successfully through cordless communication network 2 or SMS short message notification update service device, finish this remote update.
Further; In the described flow process 1; Parameter among formula N=
Figure 596367DEST_PATH_IMAGE001
is provided with according to the vehicle position information dress system of actual motion; Vehicle mobile terminals 1 connects through GPRS network, and K is a current GPRS network downstream rate, and its value is K ≈ 7KBps; M is the system server network bandwidth, and its value is M=4*1024 KBps; L is vehicle mobile terminals 2 numbers that single carries out remote update, and its value is
Figure 558507DEST_PATH_IMAGE005
=1024; P is the transmits data packets size, and its value is
Figure 124617DEST_PATH_IMAGE006
=0.5KB; Get N=
Figure 488602DEST_PATH_IMAGE007
=8 through formula.
The invention has the beneficial effects as follows: method of the present invention has combined cordless communication network, data compression, the quick interaction technique of data in one; Realization is to the quick remote update of mobile terminal device program; Mechanism and multiple through data compression, window transmission, breakpoint transmission, file verification; The realization portable terminal can quickly and reliably be downloaded the remote upgrade file, thereby has realized the quick remote update of mobile terminal device.
System of the present invention has carried out the GZIP data compression process in advance at the refresh routine bag; Greatly reduce the transmits data packets size, therefore under comparable bandwidths and transmission speed, because the minimizing of data amount transmitted; The corresponding minimizing of the time of remote download, the also corresponding raising of downloading reliability; Downloading process has adopted transmission window mechanism in addition, and according to the real system parameter, utilizes out of kilter method; Select the window number N of optimization; Optimally reduce the interaction times of data downloading process, correspondingly reduce the mutual loss time, improve the speed of download of transaction file; Utilize breakpoint transmission mechanism to avoid factors such as network failure, server failure to cause file to download the imperfect situation of downloading whole file again effectively, and only download, saved under the abnormality file download time from the initial data of breakpoint; File this method adopts file verification mechanism in the upgrade file downloading process simultaneously; Realize the data reliable interaction between upgrade server and the portable terminal; The loss of data of avoiding factor such as unstable networks to cause causes the upgrading failure, thereby realizes the success rate that transaction file is downloaded.
Although specifically show and introduced the present invention in conjunction with preferred embodiment; But the those skilled in the art should be understood that; In the spirit and scope of the present invention that do not break away from appended claims and limited; Can make various variations to the present invention in form with on the details, be protection scope of the present invention.

Claims (7)

1. a method of utilizing wireless network to the quick remote update of portable terminal program is characterized in that, may further comprise the steps:
Steps A. when mobile terminal device needed the remote update program, leading subscriber at first compressed ROMPaq, and the ROMPaq compressed package is committed on the update service device;
Step B. when mobile terminal device receive the update instruction of remote update server or detect upgrade server automatically have effective refresh routine version after; Mobile terminal device utilizes that data are fast mutual, breakpoint transmission and file verification mechanism and multiple, the compressed package on the update service device is downloaded to this locality and is stored on the storage medium through cordless communication network;
Step C. mobile terminal device carries out decompression in this locality to the program updates compressed package that success is downloaded, and simultaneously file is carried out validity and detects, and the original program file that utilizing simultaneously decompresses generates upgrades the program of mobile terminal device.
2. a kind of method of utilizing wireless network to the quick remote update of portable terminal program according to claim 1 is characterized in that described steps A comprises:
Steps A 1. leading subscribers compression algorithm according to a preconcerted arrangement and compression export file name rule, the file that will be used to upgrade terminal program carries out data compression;
Steps A 2. leading subscribers will compress successful transaction file and be committed on the upgrading update service device;
Steps A 3. leading subscribers through association need refresh routine portable terminal, carry out configuration effort such as program version coupling, and start the download flow process of transaction file;
Steps A 4. remote update servers are through instruction of wireless network short message issuing immediate updating or setting terminal program effective marker to be updated.
3. a kind of method of utilizing wireless network to the quick remote update of portable terminal program according to claim 1 is characterized in that described step B comprises:
Step B1. mobile terminal device is received the update instruction of remote update server or detects upgrade server automatically and have effectively renewal version that portable terminal and update service device are set up upgrade file and downloaded communication link; And agreement transmission window attribute, comprise window data frame number N and maximum data frame length L;
Step B2. update service device reads and compresses good upgrade file; The verification of calculating whole file according to the checking algorithm of communications protocol agreement with; And, file is carried out fragment process, and number according to the order of sequence one by one according to the data packet length that host-host protocol is appointed;
Step B3. update service device encapsulates according to the burst of host-host protocol to upgrade file in regular turn; According to the transmission window attribute of appointing; Call the network data transmission interface packaged N frame window data are sent to portable terminal; The transmission bag sequence number of record current window, and the current window portable terminal is set replys the wait counter;
Wherein protocol encapsulation comprises but do not limit following information: total data frame number, current window start frame sequence number, present frame sequence number, frame data, counter values are provided with reference to real network environment, window data frame number N, send interval etc.;
Step B4. mobile terminal device receives the upgrading data packet that the update service device issues; And according to the numbering of packet, write in regular turn in the interim buffer memory, write down current reception bag sequence number; If packet is the new window Frame, portable terminal will start to receive waits for counter;
Step B5. receives interaction process to upgrade file respectively by following situation:
Situation 1; If portable terminal collects the update service device when issuing the current window packet; To receive data in buffer temporarily and write file; And preserve the length that upgrade file has received, and will send complete reception result notice and close reception wait counter to the update service device simultaneously, the update service device starts next window data and issues;
Situation 2; If the update service device detects the portable terminal response message wait for that counter is overtime after; To send instruction inquiry current window reception condition to portable terminal; Portable terminal is according to the reception condition answering server and reset reception wait counter, and the update service device is reissued obliterated data according to the terminal responds result or started next window data and downloads, and resets portable terminal and reply the wait counter;
Situation 3; After if portable terminal receives and waits for that counter is overtime; To send the reception result notice and reset to the update service device and receive the wait counter; The update service device is according to the terminal reception result, judges whether to reissue obliterated data or starts next window data to issue, and reset portable terminal and reply the wait counter;
Step B6. portable terminal is through above-mentioned steps B3, B4, B5; After collecting the upgrade file packet; Upgrade file is calculated in employing with the identical checking algorithm of update service device agreement verification with; The verification that issues with the verification of calculating gained with upgrade server with compare, then begin to carry out the more new technological process of terminal program as if the two unanimity ;If inconsistent, then the update notifications server is carried out download step B3, B4 again, and B5 is until downloading successfully.
4. a kind of method of utilizing wireless network to the quick remote update of portable terminal program according to claim 3 is characterized in that, the transmission window among the described step B1 is update service device and each group data interaction flow process of portable terminal; Data frame number N among the described step B1 is the data frame number that the update service device issues a window period.
5. a kind of method of utilizing wireless network to the quick remote update of portable terminal program according to claim 3; It is characterized in that; Computing formula N=
Figure 2011104266509100001DEST_PATH_IMAGE001
selects data download transmission window according to qualifications, and described L is the terminal number that single carries out remote update.
6. a kind of method of utilizing wireless network to the quick remote update of portable terminal program according to claim 3 is characterized in that described step B5 also comprises following situation:
Situation 4, portable terminal and update service device are in data exchange process, because the data downloading process that abnormal conditions such as network failure, update service device or portable terminal operation irregularity cause is interrupted; After communication recovers normally; Portable terminal will be initiated the breakpoint transmission request to the update service device according to breakpoint location (portable terminal successfully finishes receiving the upgrade file length that a window data is preserved), and the update service device is according to breakpoint location; Execution in step B3 resends upgrading data packet.
7. a kind of method of utilizing wireless network to the quick remote update of portable terminal program according to claim 1 is characterized in that described step C comprises:
The decompression algorithm function interface that step C1. mobile terminal device calls with update service device agreement carries out decompress(ion) to the upgrade file of downloading; If decompress(ion) failure; The T that then delays time reattempts decompress(ion) second, and maximum attempts is 3, and failure reaches the qualification number of times and then carries out flow process again ,Otherwise and the result behind the successful decompress(ion) write cache file;
Step C2. mobile terminal device carries out the validity judgement to the file of decompress(ion) output, then carries out flow process again if file is invalid ,Again file in download if file is effective, is carried out subsequent step C3;
The content of step C3. mobile terminal device copy decompress(ion) cache file starts terminal program then and guides more new technological process to the program load domain;
Step C4. mobile terminal device boot is copied to program operating field with the data of program load domain, the initialization terminal program, and begin to carry out new procedures;
After step C5. mobile terminal device gets into and carries out new procedures, through the success of wireless network update notifications server updating.
CN201110426650.9A 2011-12-19 2011-12-19 Method and system for quickly and remotely updating program of mobile terminal by using wireless network Active CN102510409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110426650.9A CN102510409B (en) 2011-12-19 2011-12-19 Method and system for quickly and remotely updating program of mobile terminal by using wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110426650.9A CN102510409B (en) 2011-12-19 2011-12-19 Method and system for quickly and remotely updating program of mobile terminal by using wireless network

Publications (2)

Publication Number Publication Date
CN102510409A true CN102510409A (en) 2012-06-20
CN102510409B CN102510409B (en) 2017-02-22

Family

ID=46222462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110426650.9A Active CN102510409B (en) 2011-12-19 2011-12-19 Method and system for quickly and remotely updating program of mobile terminal by using wireless network

Country Status (1)

Country Link
CN (1) CN102510409B (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970107A (en) * 2012-11-14 2013-03-13 北京经纬恒润科技有限公司 Method and device for breakpoint renewing in data package transmitting procedure
CN103176821A (en) * 2013-02-28 2013-06-26 北京万集科技股份有限公司 Roadside control device, vehicle electronic tag device and program update method of vehicle electronic tag device
CN103298013A (en) * 2013-06-24 2013-09-11 京信通信系统(中国)有限公司 Service restoration method and device
CN103841106A (en) * 2014-03-10 2014-06-04 珠海市君天电子科技有限公司 Data updating method and device of servers
CN103838802A (en) * 2012-11-26 2014-06-04 财团法人资讯工业策进会 Data processing apparatus and data processing method
CN103902309A (en) * 2012-12-27 2014-07-02 龙尚智联通信科技(上海)有限公司 Method for remotely upgrading wireless module firmware
CN104484199A (en) * 2014-12-08 2015-04-01 东软集团股份有限公司 Method and device for updating data of IFE (in-flight entertainment) systems of aircrafts
CN104516744A (en) * 2013-09-27 2015-04-15 无锡华润微电子有限公司 Software updating method and system
CN104572188A (en) * 2014-12-23 2015-04-29 广东欧珀移动通信有限公司 System updating method and device for mobile equipment
CN104602221A (en) * 2013-11-01 2015-05-06 龙尚科技(上海)有限公司 Module of remote upgrade design way based on GPRS (General Packet Radio Service)
CN104869129A (en) * 2014-02-20 2015-08-26 中国移动通信集团公司 Application program management method, application program management and application program management system
CN105263155A (en) * 2015-09-18 2016-01-20 东南大学 Method and system for remotely monitoring running state of intelligent mobile terminal baseband processor in real-time manner
CN105808285A (en) * 2015-01-21 2016-07-27 福特全球技术公司 Vehicle control update methods and systems
CN106250548A (en) * 2016-08-12 2016-12-21 福建中金在线信息科技有限公司 A kind of code update method
CN107193583A (en) * 2017-04-07 2017-09-22 惠州市天泽盈丰物联网科技股份有限公司 Backstage online upgrading device program method
CN107770279A (en) * 2017-10-31 2018-03-06 深圳市银河风云网络系统股份有限公司 Remote upgrade method and system
CN108366367A (en) * 2018-01-22 2018-08-03 平安科技(深圳)有限公司 Requesting method, device, equipment and the storage medium of mobile terminal APP data
CN109347907A (en) * 2018-08-31 2019-02-15 百度在线网络技术(北京)有限公司 Installation kit method for down loading and device
CN110494845A (en) * 2017-04-13 2019-11-22 日立汽车系统株式会社 Control device, program updating system, method for updating program
CN110659043A (en) * 2019-08-27 2020-01-07 中国第一汽车股份有限公司 Firmware upgrading method, device, equipment and storage medium
CN110750292A (en) * 2019-07-02 2020-02-04 苏州大学 NB-IoT-based remote automatic terminal updating system
CN111145368A (en) * 2019-12-26 2020-05-12 北京万集科技股份有限公司 Method and device for updating and processing label information of vehicle-mounted electronic label equipment
CN111258601A (en) * 2020-01-09 2020-06-09 深圳市东深电子股份有限公司 Water conservancy RTU remote upgrading method based on lossless data compression algorithm
CN112015449A (en) * 2020-08-24 2020-12-01 中国电子科技集团公司第五十八研究所 ZYNQ FPGA heterogeneous platform online upgrading method based on zlib compression algorithm
CN112788129A (en) * 2020-12-31 2021-05-11 江苏徐工工程机械研究院有限公司 Engineering machinery vehicle remote upgrading system and method
CN113596755A (en) * 2021-07-22 2021-11-02 上汽通用五菱汽车股份有限公司 Vehicle-mounted system upgrading method, vehicle and readable storage medium
CN114114964A (en) * 2021-10-29 2022-03-01 广东远通工业科技有限公司 Linkage control method and system among multiple devices
CN114422505A (en) * 2022-01-25 2022-04-29 中国农业银行股份有限公司 Bank counter transaction program update transmission method, device, equipment and storage medium
CN114860277A (en) * 2022-03-28 2022-08-05 重庆长安汽车股份有限公司 Automobile ECU software compression upgrading system and method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953376A (en) * 2005-10-18 2007-04-25 河南省863软件孵化器有限公司 A system and method for updating remote software of wireless terminal equipment
CN101090526A (en) * 2007-07-31 2007-12-19 中兴通讯股份有限公司 File update time message sending method and method for file up date loading unperiode
CN100417251C (en) * 2002-11-08 2008-09-03 中兴通讯股份有限公司 Method for downloading data based on control instructions along with roate
CN1525318B (en) * 2002-12-31 2010-05-05 鸿富锦精密工业(深圳)有限公司 Remote program installing system and method for mobile computing device
CN101807155A (en) * 2010-03-03 2010-08-18 京信通信系统(中国)有限公司 Embedded software on-line updating method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100417251C (en) * 2002-11-08 2008-09-03 中兴通讯股份有限公司 Method for downloading data based on control instructions along with roate
CN1525318B (en) * 2002-12-31 2010-05-05 鸿富锦精密工业(深圳)有限公司 Remote program installing system and method for mobile computing device
CN1953376A (en) * 2005-10-18 2007-04-25 河南省863软件孵化器有限公司 A system and method for updating remote software of wireless terminal equipment
CN101090526A (en) * 2007-07-31 2007-12-19 中兴通讯股份有限公司 File update time message sending method and method for file up date loading unperiode
CN101807155A (en) * 2010-03-03 2010-08-18 京信通信系统(中国)有限公司 Embedded software on-line updating method

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970107A (en) * 2012-11-14 2013-03-13 北京经纬恒润科技有限公司 Method and device for breakpoint renewing in data package transmitting procedure
CN102970107B (en) * 2012-11-14 2015-08-19 北京经纬恒润科技有限公司 The method that the transmission of data packets point of interruption renews and device
CN103838802A (en) * 2012-11-26 2014-06-04 财团法人资讯工业策进会 Data processing apparatus and data processing method
CN103838802B (en) * 2012-11-26 2017-04-05 财团法人资讯工业策进会 Data processing apparatus and data processing method
CN103902309A (en) * 2012-12-27 2014-07-02 龙尚智联通信科技(上海)有限公司 Method for remotely upgrading wireless module firmware
CN103176821B (en) * 2013-02-28 2016-02-24 北京万集科技股份有限公司 A kind of trackside opertaing device, vehicle carried electronic label equipment and method for updating program thereof
CN103176821A (en) * 2013-02-28 2013-06-26 北京万集科技股份有限公司 Roadside control device, vehicle electronic tag device and program update method of vehicle electronic tag device
CN103298013A (en) * 2013-06-24 2013-09-11 京信通信系统(中国)有限公司 Service restoration method and device
CN103298013B (en) * 2013-06-24 2016-08-10 京信通信系统(中国)有限公司 A kind of method and device carrying out business recovery
CN104516744A (en) * 2013-09-27 2015-04-15 无锡华润微电子有限公司 Software updating method and system
CN104602221A (en) * 2013-11-01 2015-05-06 龙尚科技(上海)有限公司 Module of remote upgrade design way based on GPRS (General Packet Radio Service)
CN104869129B (en) * 2014-02-20 2018-12-07 中国移动通信集团公司 A kind of application management method, equipment and system
CN104869129A (en) * 2014-02-20 2015-08-26 中国移动通信集团公司 Application program management method, application program management and application program management system
CN103841106A (en) * 2014-03-10 2014-06-04 珠海市君天电子科技有限公司 Data updating method and device of servers
CN103841106B (en) * 2014-03-10 2017-10-17 珠海市君天电子科技有限公司 A kind of server data update method and device
CN104484199A (en) * 2014-12-08 2015-04-01 东软集团股份有限公司 Method and device for updating data of IFE (in-flight entertainment) systems of aircrafts
CN104572188A (en) * 2014-12-23 2015-04-29 广东欧珀移动通信有限公司 System updating method and device for mobile equipment
CN105808285A (en) * 2015-01-21 2016-07-27 福特全球技术公司 Vehicle control update methods and systems
CN105263155A (en) * 2015-09-18 2016-01-20 东南大学 Method and system for remotely monitoring running state of intelligent mobile terminal baseband processor in real-time manner
CN105263155B (en) * 2015-09-18 2019-03-05 东南大学 The method and system of remote real time monitoring intelligent mobile terminal baseband processor operating status
CN106250548A (en) * 2016-08-12 2016-12-21 福建中金在线信息科技有限公司 A kind of code update method
CN107193583A (en) * 2017-04-07 2017-09-22 惠州市天泽盈丰物联网科技股份有限公司 Backstage online upgrading device program method
CN110494845A (en) * 2017-04-13 2019-11-22 日立汽车系统株式会社 Control device, program updating system, method for updating program
CN107770279A (en) * 2017-10-31 2018-03-06 深圳市银河风云网络系统股份有限公司 Remote upgrade method and system
CN108366367A (en) * 2018-01-22 2018-08-03 平安科技(深圳)有限公司 Requesting method, device, equipment and the storage medium of mobile terminal APP data
CN109347907A (en) * 2018-08-31 2019-02-15 百度在线网络技术(北京)有限公司 Installation kit method for down loading and device
CN110750292A (en) * 2019-07-02 2020-02-04 苏州大学 NB-IoT-based remote automatic terminal updating system
CN110750292B (en) * 2019-07-02 2024-05-24 苏州大学 Terminal remote automatic updating system based on NB-IoT
CN110659043A (en) * 2019-08-27 2020-01-07 中国第一汽车股份有限公司 Firmware upgrading method, device, equipment and storage medium
CN111145368A (en) * 2019-12-26 2020-05-12 北京万集科技股份有限公司 Method and device for updating and processing label information of vehicle-mounted electronic label equipment
CN111258601B (en) * 2020-01-09 2023-09-08 深圳市东深电子股份有限公司 Hydraulic RTU remote upgrading method based on lossless data compression algorithm
CN111258601A (en) * 2020-01-09 2020-06-09 深圳市东深电子股份有限公司 Water conservancy RTU remote upgrading method based on lossless data compression algorithm
CN112015449A (en) * 2020-08-24 2020-12-01 中国电子科技集团公司第五十八研究所 ZYNQ FPGA heterogeneous platform online upgrading method based on zlib compression algorithm
CN112015449B (en) * 2020-08-24 2022-08-02 中国电子科技集团公司第五十八研究所 ZYNQ FPGA heterogeneous platform online upgrading method based on zlib compression algorithm
CN112788129A (en) * 2020-12-31 2021-05-11 江苏徐工工程机械研究院有限公司 Engineering machinery vehicle remote upgrading system and method
CN113596755A (en) * 2021-07-22 2021-11-02 上汽通用五菱汽车股份有限公司 Vehicle-mounted system upgrading method, vehicle and readable storage medium
CN114114964A (en) * 2021-10-29 2022-03-01 广东远通工业科技有限公司 Linkage control method and system among multiple devices
CN114422505A (en) * 2022-01-25 2022-04-29 中国农业银行股份有限公司 Bank counter transaction program update transmission method, device, equipment and storage medium
CN114860277A (en) * 2022-03-28 2022-08-05 重庆长安汽车股份有限公司 Automobile ECU software compression upgrading system and method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102510409B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN102510409A (en) Method and system for quickly and remotely updating program of mobile terminal by using wireless network
US8732810B2 (en) IP push platform and connection protocol in a push notification framework
CN103124275B (en) A kind of method and apparatus obtaining file
CN108737528B (en) Networking method and device, Internet of things equipment, control terminal and storage medium
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
CN101179393A (en) Method and system for implementing document breakpoint transmission
WO2011006328A1 (en) System and method for updating device firmware, device management server and mobile terminal
US9571409B2 (en) Maximum transmission unit negotiation method and data terminal
CN104750515A (en) Firmware version upgrading method and system
CN103906087A (en) Access point upgrading method, device and system
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN111240713A (en) Method for detecting remote breakpoint continuous transmission through power utilization
CN102291424A (en) Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
WO2022017529A1 (en) Data transmission method and system, electronic device, and storage medium
CN103440142A (en) GPRS (General Packet Radio Service)-based remote upgrade and dynamic loading method
CN111142905A (en) OTA (over-the-air) upgrading method, OTA server and OTA upgrading system
CN113746892B (en) Remote upgrading method and wireless terminal equipment
CN101977358A (en) Method, device and equipment for transmitting data short messages
CN111857609A (en) Method and device for uploading cloud printing log and computer storage medium
CN107181618A (en) Firmware upgrade method and system
CN111741087A (en) Remote upgrading method, terminal equipment and readable storage medium
CN103440714A (en) POS terminal and method and system for network configuration of POS terminal
CN109302456A (en) A kind of document transmission method and device based on aerial downloading OTA technology
CN109271187A (en) A kind of hot restorative procedure, device, storage medium and the terminal of application program
WO2024002143A1 (en) Root certificate updating method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 361000 Fujian Province Xiamen Torch High tech Zone Software Park Innovation Building C Zone 303-E

Patentee after: Xiamen Yaxun Zhilian Technology Co.,Ltd.

Country or region after: China

Address before: No.46 guanri Road, phase II, software park, Xiamen City, Fujian Province, 361000

Patentee before: XIAMEN YAXON NETWORK Co.,Ltd.

Country or region before: China