CN102404366A - Method for achieving long-distance wireless file-upgrading system - Google Patents

Method for achieving long-distance wireless file-upgrading system Download PDF

Info

Publication number
CN102404366A
CN102404366A CN2010102835479A CN201010283547A CN102404366A CN 102404366 A CN102404366 A CN 102404366A CN 2010102835479 A CN2010102835479 A CN 2010102835479A CN 201010283547 A CN201010283547 A CN 201010283547A CN 102404366 A CN102404366 A CN 102404366A
Authority
CN
China
Prior art keywords
upgrade
long
server
file
upgrade file
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
CN2010102835479A
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.)
Xiamen Yaxon Networks 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 CN2010102835479A priority Critical patent/CN102404366A/en
Publication of CN102404366A publication Critical patent/CN102404366A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the field of wireless communication and information technology (IT), in particular to a method for achieving a long-distance wireless file-upgrading system of a long distance terminal through a wireless communication network. The method for achieving the long-distance wireless file-upgrading system comprises step 10 making upgrade package; step 20 mounting the upgrade package to a server; step 30 performing inquiry on the server for whether having upgrade tasks by the long-distance terminal; if the server has the upgrade tasks, then step 40 is executed; the step 40 performing upgrade processing on the long-distance terminal and returning to the step 30; and if not, then step 50 is executed, wherein the step 50 performing no upgrade processing on the long-distance terminal and returning to the step 30. The method for achieving the long-distance wireless file-upgrading system is particularly suitable for the upgrade of automotive electronic devices such as a global positioning system (GPS) vehicle-mounted terminal and the like, utilizes one server of a maintenance work station to perform maintenance and upgrade on multiple terminals simultaneously, supports a function of resuming from breakpoint, and saves manpower and material resources.

Description

A kind of method that realizes wireless remote upgrade file system
Technical field
The present invention relates to radio communication and information technology (IT) field; Relate in particular to the method that remote terminal is realized the upgrade file system through cordless communication network; Be particularly useful for utilizing the 3G mobile radio networks; Transfer of data on the server specific on the Internet is given vehicle electronics such as GPS car-mounted terminal, carry out the file system upgrading.
Background technology
21 century is one and is full of the challenging epoch, and science and technology is maked rapid progress, and particularly computer network is own through becoming the widely used instrument of people.Along with the develop rapidly of 3G cordless communication network technology, making GPS car-mounted terminal equipment be linked into the Internet becomes possibility, thereby realizes networking, intelligentized centralized management, brings people more excellent, life style more easily.The design of product comprises hardware designs and software design, and the design of every kind of product can not be accomplished perfection.Especially software section, because its flexibility is bigger, the also place of often easy error; Just pushed in the process in market at a kind of new product, tended in the discovery system to exist certain recoverable " BUG ", a kind of situation is that the modification through software just can achieve the goal; Though another kind of situation be product soft, hardware is all no problem; But along with the development of situation, the user has higher requirement, and this situation can just can reach through revising software.
Because mobile unit can not satisfy the demand of present scientific technological advance at present, and receives the restriction of job site, no remote upgrade function can not be well to its upgrading.If make equipment obtain upgrading, according to way in the past, a kind of mode is that entire equipment is changed; Another kind of mode sends the professional to on-the-spot equipment " belly breaking " to be upgraded exactly; This dual mode all will drop into lot of manpower and material resources, and possibly cause device damage, and the wasting of resources is big; Efficient is low, brings the inconvenience in the use to application party.
Summary of the invention
The present invention is directed to the problems referred to above, propose a kind of remote terminal to be realized the method for upgrade file system through cordless communication network, the upgrading that is particularly useful for the above-mentioned vehicle electronics of saying such as GPS car-mounted terminal is used.
The present invention adopts following technical scheme:
A kind of method that realizes wireless remote upgrade file system comprises:
Step 10: make AKU; Get into
Step 20: carry is to server; Get into
Step 30: whether remote terminal regularly has the upgrading task to server lookup;
If then get into step 40: the remote terminal upgrading processing; And return step 30;
If, then do not get into step 50: do not handle; And return step 30.
Described step 10 further is:
Step 101: storage upgrade file number; Get into
Step 102: storage upgrade file parameter; Get into
Step 103: storage upgrade file data; Get into
Step 104: encoding compression AKU.
Described step 40 further is:
Step 401: decoding AKU; Get into
Step 402: read in the internal memory of terminal; Get into
Step 403: judge whether upgrade applications;
If then get into step 404: application programs is carried out back-up processing; And entering step 405;
If, then do not get into step 405: under assigned catalogue, write the upgrade file data.
Technical scheme of the present invention has overcome the deficiency that remote terminal (like vehicle-mounted equipment such as GPS) ROMPaq is wasted time and energy; A kind of full automatic economically viable upgrade method is provided; Be based on the remote data transmission ability of mobile communications network, utilize primary application program that remote terminal (like the GPS car-mounted terminal) is carried out remote upgrade.The present invention adopts multi-thread design, utilizes a maintenance work site server simultaneously many station terminals to be safeguarded and to upgrade, and supports the breakpoint transmission function, thereby saves a large amount of manpower and materials.
Description of drawings
Fig. 1 is a system hardware frame diagram of the present invention;
Fig. 2 is a flow chart of steps of the present invention;
Fig. 3 is the further detailed step flow chart of step 10 of the present invention;
Fig. 4 is the further detailed step flow chart of step 40 of the present invention.
Embodiment
Combine accompanying drawing and embodiment that the present invention is further specified at present.
With the GPS car-mounted terminal is the example explanation, and the technical solution adopted for the present invention to solve the technical problems whole system comprises: server 1, the Internet 2, wireless network 3, GPS car-mounted terminal 4 and operate/manage person 5.Consult shown in Figure 1ly, operate/manage person 5 uploads onto the server 1 with the AKU of handling well, and server carries out RFDC through wireless network 3 and GPS car-mounted terminal 4 to be upgraded again through the Internet 2, realizes wireless remote upgrade file system.
Consult shown in Figure 2ly, the method for realization wireless remote upgrade file of the present invention system comprises:
Step 10: make AKU; Get into
Step 20: carry is to server; Get into
Step 30: whether remote terminal regularly has the upgrading task to server lookup;
If then get into step 40: the remote terminal upgrading processing; And return step 30;
If, then do not get into step 50: do not handle; And return step 30.
The (SuSE) Linux OS that is applied in the micro embedded equipment generally is made up of boot, operating system nucleus and file system, this three part with the stores of image file in Flash.When we need revise or increase some file in the file system; Common way is the data of directly upgrading on the Flash; Through making new file system reflection, wipe corresponding Flash subregion then, and write the file system image file again and realize.Yet for coming the upgrade file system through the 3G mobile communications network, difficulty below this method exists: 1. the image file of tens000000 sizes all is being sizable test aspect delivery flow rate and the transmission rate for 3G network easily; 2. safe and reliable for what guarantee to upgrade, need earlier image file to be saved among the Flash, this Flash for low capacity can't realize, and jumbo Flash receives the restriction of cost factor.
For this reason, we expect that file system also is made up of file and catalogue one by one, can adopt file necessary in the upgrade file system, alleviate the pressure of network and disk.The coordination of each function is explained as follows with the division of labor in the system:
Step 10: specific server software becomes an AKU with all documentings that need upgrade, is made up of file number, file parameters and file data three parts.Consult shown in Figure 3, the step 10 of described making AKU specifically: step 101: storage upgrade file number; Get into step 102: storage upgrade file parameter; Get into step 103: storage upgrade file data; Get into step 104: the encoding compression AKU.Wherein, the file number has write down the number of all upgrade files, is stored in first byte of AKU; The storage format of file parameters is " [catalogue (40B)+title (40B)+length (4B)] * N ", the title of essential record upgrade file, size and the information such as position in file system; File data then is to have shielded concrete file type, and all upgrade file data of arranging according to the order of file parameters.This three part is stored in the file in order, and carry out data compression according to specific encryption algorithm.By this method, can require to obtain the corresponding upgrading bag, improve the flexibility of upgrading greatly according to different upgradings.
Step 20: carry sends to GPS car-mounted terminal through cordless communication network with AKU at the server on the internet, is stored among the Flash.In the database on the AKU of making uploaded onto the server.
Step 30: then; The GPS car-mounted terminal can whenever be logined one time equipment upgrade center at a distance from half an hour, and whether inquiry has the upgrading task, upgrading if desired; Equipment upgrade center can be passed through cordless communication network with the corresponding upgrading bag; Send to car-mounted terminal, be kept in the exclusive subregion on the Flash, and guarantee the complete, reliable of AKU transmission through specific retransmission protocol and AES.If car-mounted terminal accident power-off in data transmission procedure, equipment upgrade center can be logined the follow-up AKU that passes the back again at car-mounted terminal, thereby has saved update time, and the flow that avoids waste.If upgrading is arranged, get into step 40 and handle, if do not have, does not just handle at the terminal, and regularly inquire about the upgrading task.
Step 40: the decompress(ion) AKU, all upgrade files are copied under the catalogue corresponding in the file system, the replacement original is to reach the purpose of upgrade file system.Consult shown in Figure 4ly, described step 40 further is: step 401: the decoding AKU; Get into step 402: read in the internal memory of terminal; Get into
Step 403: judge whether upgrade applications; If then get into step 404: application programs is carried out back-up processing; And entering step 405; If, then do not get into step 405: under assigned catalogue, write the upgrade file data.Because the Flash space is limited,, at first AKU is carried out decode operation for the big file of can upgrading; And according to information such as file number, file parameters; Read each upgrade file data in internal memory, find the original under the assigned catalogue in the file system then, write data.If upgrading is application program, cause the equipment paralysis in order to prevent car-mounted terminal accident power-off in the reading and writing data process, application programs has been done back-up processing.When car-mounted terminal re-powers, detect can't operate as normal the time, can start stand-by program, the AKU in the exclusive subregion of retrieval upgrading automatically then, and carry out updating operation once more, thus the equipment of assurance is safe and reliable.
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 (3)

1. method that realizes wireless remote upgrade file system is characterized in that: comprising:
Step 10: make AKU; Get into
Step 20: carry is to server; Get into
Step 30: whether remote terminal regularly has the upgrading task to server lookup;
If then get into step 40: the remote terminal upgrading processing; And return step 30;
If, then do not get into step 50: do not handle; And return step 30.
2. the method for realization wireless remote upgrade file according to claim 1 system, it is characterized in that: described step 10 further is:
Step 101: storage upgrade file number; Get into
Step 102: storage upgrade file parameter; Get into
Step 103: storage upgrade file data; Get into
Step 104: encoding compression AKU.
3. the method for realization wireless remote upgrade file according to claim 1 system, it is characterized in that: described step 40 further is:
Step 401: decoding AKU; Get into
Step 402: read in the internal memory of terminal; Get into
Step 403: judge whether upgrade applications;
If then get into step 404: application programs is carried out back-up processing; And entering step 405;
If, then do not get into step 405: under assigned catalogue, write the upgrade file data.
CN2010102835479A 2010-09-16 2010-09-16 Method for achieving long-distance wireless file-upgrading system Pending CN102404366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102835479A CN102404366A (en) 2010-09-16 2010-09-16 Method for achieving long-distance wireless file-upgrading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102835479A CN102404366A (en) 2010-09-16 2010-09-16 Method for achieving long-distance wireless file-upgrading system

Publications (1)

Publication Number Publication Date
CN102404366A true CN102404366A (en) 2012-04-04

Family

ID=45886152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102835479A Pending CN102404366A (en) 2010-09-16 2010-09-16 Method for achieving long-distance wireless file-upgrading system

Country Status (1)

Country Link
CN (1) CN102404366A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN103533431A (en) * 2012-08-15 2014-01-22 Tcl集团股份有限公司 Method and system for realizing system upgrade based on intelligent television, and intelligent television
CN103631622A (en) * 2013-11-29 2014-03-12 中达电通股份有限公司 Software online upgrade repairing method
CN104572188A (en) * 2014-12-23 2015-04-29 广东欧珀移动通信有限公司 System updating method and device for mobile equipment
CN108983754A (en) * 2018-08-01 2018-12-11 上海博泰悦臻电子设备制造有限公司 The control method and system of intelligent vehicle-carried equipment
CN110221850A (en) * 2019-05-05 2019-09-10 徐州威卡电子控制技术有限公司 The method that a kind of pair of mechanically moving controller carries out remote upgrade
CN110474961A (en) * 2019-07-14 2019-11-19 江苏开沃汽车有限公司 Pure electricity passenger car is based on CAN bus and realizes multi-channel long OTA upgrade method
CN110740154A (en) * 2018-07-20 2020-01-31 视联动力信息技术股份有限公司 streaming media service upgrading method, device and equipment
CN112230958A (en) * 2020-10-16 2021-01-15 上海博泰悦臻电子设备制造有限公司 Vehicle machine activation method

Citations (2)

* 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
CN101753547A (en) * 2008-12-19 2010-06-23 北京银迅捷电子技术有限公司 Method and system for updating applications and parameters of multi-model POS terminal device

Patent Citations (2)

* 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
CN101753547A (en) * 2008-12-19 2010-06-23 北京银迅捷电子技术有限公司 Method and system for updating applications and parameters of multi-model POS terminal device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN103513998B (en) * 2012-06-25 2018-05-04 中兴通讯股份有限公司 Upgrade package generation method and device, the method and terminal of the upgrading of living document difference
CN103533431A (en) * 2012-08-15 2014-01-22 Tcl集团股份有限公司 Method and system for realizing system upgrade based on intelligent television, and intelligent television
CN103631622A (en) * 2013-11-29 2014-03-12 中达电通股份有限公司 Software online upgrade repairing method
CN104572188A (en) * 2014-12-23 2015-04-29 广东欧珀移动通信有限公司 System updating method and device for mobile equipment
CN110740154A (en) * 2018-07-20 2020-01-31 视联动力信息技术股份有限公司 streaming media service upgrading method, device and equipment
CN108983754A (en) * 2018-08-01 2018-12-11 上海博泰悦臻电子设备制造有限公司 The control method and system of intelligent vehicle-carried equipment
CN110221850A (en) * 2019-05-05 2019-09-10 徐州威卡电子控制技术有限公司 The method that a kind of pair of mechanically moving controller carries out remote upgrade
CN110474961A (en) * 2019-07-14 2019-11-19 江苏开沃汽车有限公司 Pure electricity passenger car is based on CAN bus and realizes multi-channel long OTA upgrade method
CN110474961B (en) * 2019-07-14 2022-05-06 江苏开沃汽车有限公司 Method for realizing multi-path remote OTA (over the air) upgrading of pure passenger vehicle based on CAN (controller area network) bus
CN112230958A (en) * 2020-10-16 2021-01-15 上海博泰悦臻电子设备制造有限公司 Vehicle machine activation method

Similar Documents

Publication Publication Date Title
CN102404366A (en) Method for achieving long-distance wireless file-upgrading system
CN101420431B (en) FOTA server, terminal and software version processing method and system therefor
CN1239040C (en) Mubile communication terminal and software updating method for same
CN101377744B (en) Method and apparatus for recovering terminal equipment software upgrade
CN104199706A (en) Firmware upgrade method and device for eMMC
US7941403B2 (en) Embedded file system recovery techniques
KR101541112B1 (en) FOTA system and the method
US9003107B2 (en) Method for adjusting storage space of partition of embedded multimedia card and terminal
CN109783123A (en) Vehicle-mounted T-BOX terminal and firmware upgrade method
CN103049287A (en) Mobile terminal and method for installing application programs of mobile terminal
CN102004657B (en) A kind of electronic equipment and upgrade method thereof
CN102291424A (en) Vehicle-mounted GPRS (general packet radio service) communication system with FTP (file transfer protocol) remote wireless upgrading function and method thereof
WO2005027387A3 (en) Wireless communications services pay plan customizer and notifier
CN102326150A (en) Signal conditioning package, information handling system, information processing method and program recorded medium
CN105162849A (en) Intelligent camera device and off-network access control method thereof
JP4823239B2 (en) Wireless communication apparatus and wireless communication system having the apparatus
JP2005215796A (en) Firmware update system and method for portable terminal, update module delivery medium, portable terminal and program
CN109639842A (en) NB-IOT equipment software upgrading system and method
CN101815282A (en) Method and device for upgrading multimedia broadcast firmware in terminal
JP2004110610A (en) Remote maintenance system
CN107294768A (en) EMMC firmware upgrade methods, equipment and storage device
JP5269213B2 (en) Communication device with storage function
CN111611001A (en) Mobile terminal, energy storage manager and upgrading system thereof
EP2333660A1 (en) Method of and apparatus for providing a logical view of data stored in an non-volatile memory
JP2004341674A (en) Information processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120404