CN110389780A - Edition data processing method, system and equipment - Google Patents
Edition data processing method, system and equipment Download PDFInfo
- Publication number
- CN110389780A CN110389780A CN201910653587.9A CN201910653587A CN110389780A CN 110389780 A CN110389780 A CN 110389780A CN 201910653587 A CN201910653587 A CN 201910653587A CN 110389780 A CN110389780 A CN 110389780A
- Authority
- CN
- China
- Prior art keywords
- data
- module
- differential
- cloud
- upgrading
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 53
- 239000000284 extract Substances 0.000 claims abstract description 16
- 238000000034 method Methods 0.000 claims description 17
- 230000015572 biosynthetic process Effects 0.000 claims description 14
- 230000000153 supplemental effect Effects 0.000 claims description 14
- 238000003786 synthesis reaction Methods 0.000 claims description 14
- 102000006479 Heterogeneous-Nuclear Ribonucleoproteins Human genes 0.000 claims description 11
- 108010019372 Heterogeneous-Nuclear Ribonucleoproteins Proteins 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 230000001174 ascending effect Effects 0.000 claims description 4
- 230000005055 memory storage Effects 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 238000011084 recovery Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000004069 differentiation Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000035755 proliferation Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of edition data processing method, system and equipment, comprising: receive and calculate device file data, handle to obtain differential device information;Default file demand information is obtained, accordingly the upgrading data in extract equipment file data;According to upgrading data acquisition version differential data;According to differential device information calculated version differential data, to obtain difference processing data and back up.The present invention solves the lower technical problem of upgrading data processing function applicability existing in the prior art.
Description
Technical field
The present invention relates to a kind of software upgrading technologies, more particularly to a kind of edition data processing method, system and equipment.
Background technique
With the increasingly improvement of national life level, motor vehicles constantly add in entire society's rapid proliferation, vehicle demand
Greatly, China's vehicle guaranteeding organic quantity persistently rises, and people drives to go on a journey increasingly frequent.It is various vehicle-mounted in the driving process of vehicle
Equipment and the control system of vehicle require to maintain the version updating of itself application software in vehicle use process, work as vehicle device
When the software of the vehicle control apparatus such as system and its subsystem version occurs and do not update, each subfunction of onboard system will lead to
Operation is restricted, so that vehicle traveling and the normal operation of all kinds of mobile units are adversely affected, can lead to when serious
Vehicle safety problem.The efficiency upgraded automatically and the degree of automation for all kinds of mobile units are how improved, vehicle is had become
The important directions of technical research.Since the software upgrading of existing mobile unit needs to transport vehicle into the shop 4S or vehicle maintenance to
It is debugged and is upgraded manually by specialized maintenance personnel in the special maintenances places such as point, it is understood that there may be human operational error or software
The problem of upgrade job low efficiency.Upgrading the degree of automation of mobile unit is low at present, remote upgrade inefficiency, but when whole
When the onboard system software of vehicle mobile unit needs to upgrade, manual control upgrading is time-consuming and laborious, constrains vehicle mobile unit liter
Stage efficiency, and in the diagnosis debugging process of the mobile units such as traditional vehicle system, it diagnoses each sub-function module and concentrates, coupling
Degree height affects the scalability of upgrade function, and because the single flexibility ratio for causing to upgrade automatically of upgrading mode is low, Yi Yuan
Journey generates upgrade failure during operating, and when upgrading sends failure, the recovery function applicability of upgrading data is lower.
In conclusion vehicle-mounted software upgrading edition data processing function realizes that mistake easily occurs in process in traditional technology, rise
Grade edition data processing intelligence degree is low, and mobile unit difference is caused to upgrade low efficiency, and mobile unit in the prior art is soft
There is the lower technical problem of upgrading data processing function applicability in part upgrade method.
Summary of the invention
The shortcomings that in view of the above prior art, the purpose of the present invention is to provide a kind of edition data processing methods, system
And equipment, it is applied to mobile unit and upgrades, it is lower to solve upgrading data processing function applicability existing in the prior art
Technical problem, the present invention provide a kind of edition data processing method, system and equipment, a kind of edition data processing method, comprising:
Device file data are received and calculated, differential device information is handled to obtain;Default file demand information is obtained, accordingly extract equipment text
Upgrading data of the number of packages in;According to upgrading data acquisition version differential data;According to differential device information calculated version difference
Data, to obtain difference processing data and back up.
In one embodiment of the present invention, the step of obtaining difference specification is mentioned, comprising: receive cloud data and number of terminals
According to;Extract the cloud supplemental characteristic in the differential data of cloud;Extract the terminal parameter data in terminal difference information;Handle cloud
Supplemental characteristic and terminal parameter data are differential device information.
In one embodiment of the present invention, the step of upgrading data is extracted, comprising: receive cloud package informatin and terminal behaviour
Make data;Basic version data are obtained according to cloud package informatin;According to terminal operation data acquisition rollback data;Handle base edition
Notebook data and rollback data are upgrading data.
In one embodiment of the present invention, the step of obtaining difference processing data, comprising: extract the mirror in upgrading data
As data and rollback data;Upgrading storing data is obtained according to mirror image data;Rollback data are handled, to obtain backup operation number
According to;Upgrade storing data according to backup operation Data Synthesis, to obtain difference processing data.
In one embodiment of the present invention, a kind of edition data processing system, system includes: EM equipment module, to connect
Device file data are received and calculated, differential device information is handled to obtain;Upgrade file module, to obtain default file demand letter
It ceases, accordingly the upgrading data in extract equipment file data;Differential data module, to according to upgrading data acquisition version difference
Data, differential data module are connect with upgrade file module;Differential processing module, to according to differential device information calculated version
Differential data, to obtain difference processing data and back up, differential processing module is connect with EM equipment module, differential processing module and poor
The connection of divided data module.
In one embodiment of the present invention, EM equipment module, comprising: end data module, to receive cloud data and end
End data;Cloud parameter module, to extract the cloud supplemental characteristic in the differential data of cloud, cloud parameter module and end data
Module connection;Terminal parameter module, to extract the terminal parameter data in terminal difference information, terminal parameter module and cloud
Parameter module connection;Differential device module is differential device information to handle cloud supplemental characteristic and terminal parameter data, poor
Subset module is connect with cloud parameter module, and differential device module is connect with terminal parameter module.
In one embodiment of the present invention, upgrade file module, comprising: client information module, to receive cloud packet letter
Breath and terminal operation data;Basic version module, to obtain basic version data, basic version module according to cloud package informatin
It is connect with client information module;Rollback data module, to according to terminal operation data acquisition rollback data, rollback data module with
The connection of basic version module;Upgrade data module, to handle basic version data and rollback data as upgrading data, ascending series
It is connected according to module in rollback data module.
In one embodiment of the present invention, differential processing module, comprising: mirror image roll-back module, to extract ascending series
Mirror image data and rollback data in;Upgrade memory module, to obtain upgrading storing data according to mirror image data, upgrading is deposited
Storage module is connect with mirror image roll-back module;Backup module, to handle rollback data, to obtain backup operation data, backup mould
Block is connect with mirror module;Difference synthesis module, to upgrade storing data according to backup operation Data Synthesis, to obtain difference
Data are handled, difference synthesis module is connect with backup module.
In one embodiment of the present invention, a kind of computer readable storage medium is stored thereon with computer program, should
Edition data processing method is realized when program is executed by processor.
In one embodiment of the present invention, a kind of edition data processing equipment, comprising: processor and memory;Storage
Device is for storing computer program, and processor is used to execute the computer program of memory storage, so that at a kind of edition data
Reason equipment executes a kind of edition data processing method.
As described above, a kind of edition data processing method, system and equipment provided by the invention, have below beneficial to effect
Fruit: invention improves the applicability of difference upgrade-system by the processing to difference packet.
To sum up, the present invention solves the lower technology of upgrading data processing function applicability existing in the prior art and asks
Topic.
Detailed description of the invention
Fig. 1 is shown as edition data process method step schematic diagram of the invention.
Fig. 2 is shown as the specific steps schematic diagram of S1 in one embodiment in Fig. 1.
Fig. 3 is shown as the specific steps schematic diagram of S2 in one embodiment in Fig. 1.
Fig. 4 is shown as the specific steps schematic diagram of S4 in one embodiment in Fig. 1.
Fig. 5 is shown as edition data processing system module diagram of the invention.
Fig. 6 is shown as including the specific module diagram of EM equipment module in one embodiment in Fig. 5.
Fig. 7 is shown as the specific module diagram of upgrade file module in one embodiment in Fig. 5.
Fig. 8 is shown as the specific module diagram of differential processing module in one embodiment in Fig. 5.
Fig. 9 is shown as upgrading data transmission schematic diagram of the invention.
Component label instructions
1 EM equipment module
2 upgrade file modules
3 differential data modules
4 differential processing modules
11 end data modules
12 cloud parameter modules
13 terminal parameter modules
14 differential device modules
21 client information modules
22 basic version modules
23 rollback data modules
24 upgrading data modules
41 mirror image roll-back modules
42 upgrading memory modules
43 backup modules
44 difference synthesis modules
Step numbers explanation
Fig. 1 S1~S4
Fig. 2 S11~S14
Fig. 3 S21~S24
Fig. 4 S41~S44
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation
Content disclosed by book is understood other advantages and efficacy of the present invention easily.
Fig. 1 is please referred to Fig. 9, it should however be clear that this specification structure depicted in this specification institute accompanying drawings, only to cooperate specification institute
The content of announcement is not intended to limit the invention enforceable qualifications so that those skilled in the art understands and reads,
Therefore not having technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing this reality
It can be contained under novel the effect of can be generated and the purpose that can reach, should all still fall in disclosed technology contents
In the range of lid.Meanwhile in this specification it is cited such as " on ", " under ", " left side ", " right side ", " centre " and " one " term,
It is merely convenient to being illustrated for narration, rather than to limit the scope of the invention, relativeness is altered or modified, In
It is changed under technology contents without essence, when being also considered as the enforceable scope of the present invention.
Fig. 1 and Fig. 9 are please referred to, edition data process method step schematic diagram of the invention and upgrading of the invention are shown as
Data transmit schematic diagram, as shown in Fig. 1 and Fig. 9, a kind of edition data processing method, comprising:
S1, reception simultaneously calculate device file data, handle to obtain differential device information, in the present embodiment, differential device letter
Breath can be cloud binary difference division of labor tool Bsdiff demand data in such as BSDiff algorithm, wherein memory requirements can be for for example
Max (17*n, 9*n+m)+O (1) byte, wherein n is old file size, and m is new file size, and terminal distribution requirements data can
For such as n+m+O (1) byte, n is old file size, and m is new file size, can OTA (On the Air technology,
Over the air) in cloud 4 ' operation such as BSDiff algorithm;
S2, default file demand information is obtained, accordingly the upgrading data in extract equipment file data, in the present embodiment
In, upgrading relation data can be controlled electronically for terminal device such as vehicle system or ECU (Electronic Control Unit)
7 ' difference of unit upgrades corresponding upgraded version tree;
S3, according to upgrading data acquisition version differential data, in the present embodiment, version differential data can be ECU
The difference upgrade package of the vehicle-mounted hardware devices such as (electronic control unit) electronic control unit 7 ';
S4, according to differential device information calculated version differential data, to obtain difference processing data and back up, in this implementation
In example, the difference processing data of backup can be stored in OTA (On the Air technology, over the air) storage 63 '
In.
Fig. 2 and Fig. 9 is please referred to, the specific steps schematic diagram in one embodiment of step S1 in Fig. 1 and the present invention are shown as
Upgrading data transmit connection schematic diagram, as shown in Fig. 2 and Fig. 9, extract obtain difference specification step S1, comprising:
S11, cloud data and terminal data are received, in the present embodiment, server and onboard system such as ECU electronics control
Unit 7 ' or MCU (Micro Control unit, micro-control unit) processed pass through the wireless communication device such as vehicle outside vehicle
CAN (Controller Area Network, the control area net(CAN) network) bus for carrying antenna and vehicle body installation receives upgrading
Edition data such as edition tree and Hash table data establish one efficiently with the communication in cloud, safety, reliable communication link
Road, for example, after Vehicle Controller receives the upgrade signal order that host computer is sent, into Bootloader mode;
S12, extract cloud differential data in cloud supplemental characteristic, in the present embodiment, cloud supplemental characteristic can for
Such as cloud runing time O ((n+m) log n), wherein O indicates that time complexity, n are old file size, and m is new file size,
Such as: 200MHz Pentium Pro processor is file generated patch about 70~90 seconds of a 4M;
It is storable to upgrade relation data in the present embodiment for S13, the terminal parameter data extracted in terminal difference information
In 63 ' the storage such as flash memory of OTA storage installed with the hard disk storage devices and terminal device itself in cloud, in the present embodiment
In, terminal parameter data can be Bspatch runing time (terminal) O (n+m) in such as BSdiff algorithm, wherein when O is indicated
Between complexity, n be old file size, m be new file size, such as: terminal 200MHz Pentium Pro processor be it is above-mentioned
The recovery of patch needs 0.5~2 second;
S14, processing cloud supplemental characteristic and terminal parameter data are differential device information.
Referring to Fig. 3, the specific steps schematic diagram of step S2 in one embodiment in Fig. 1 is shown as, as shown in figure 3, mentioning
Take the step S2 of upgrading data, comprising:
S21, cloud package informatin and terminal operation data are received;
S22, basic version data are obtained according to cloud package informatin, in the present embodiment, original version information can be to be stored in
The upgrading log or old version data stored in terminal device such as 8 ' system embedded memory card of vehicle device, in one embodiment,
After Vehicle Controller receives the CAN message that host computer is sent line by line, start to number entrained by CAN message described in buffer records
According to until the data receiver of upgrade file is finished, such as by CAN bus sending upgrade signal order extremely to Vehicle Controller
Vehicle Controller, if Vehicle Controller is not received by the upgrade command signal of host computer transmission in 3S;
S23, according to terminal operation data acquisition rollback data, in the present embodiment, terminal difference packet recovery can rollback example
Such as 3 versions, such as V1.0 is rolled back to from V4.0;
S24, processing basic version data and rollback data are upgrading data, in the present embodiment, obtain difference from cloud
The space requirement data of recovery such as difference packet size and version number data, calculating demand data etc., in the present embodiment, cloud
End from upgraded version data packet such as CAN protocol data packet by extracting edition data or Hash mapping data.
Referring to Fig. 4, it is shown as the specific steps schematic diagram of step S4 in one embodiment in Fig. 1, as shown in figure 4,
To the step S4 of difference processing data, comprising:
S41, the mirror image data and rollback data upgraded in data is extracted, in one embodiment, mirror image data can be for for example
Foundation image storing data, OTA terminal 6 ' are divided into OS by the object of upgrading and upgrade, upgrade using App, interior embedded device three
The upgrading mode of big type, in the present embodiment, OTA engine 62 ' may connect to such as ECU staging adapter 64 ', Tbox OS
Staging adapter 65 ' and vehicle device staging adapter 66 ' etc..From the point of view of OTA terminal composition, include OTA upgrading engine and OTA upgrading
The big component part of adapter two, OTA engine are responsible for entire OTA upgrading scheduling and management, and OTA staging adapter is responsible for realizing different
OTA differentiation upgrade requirement;
S42, upgrading storing data is obtained according to mirror image data, in the present embodiment, original version information can be from such as OTA cloud
Use is transferred in 4 ' preset basic version databases of end;
S43, processing rollback data, to obtain backup operation data, in one embodiment, OTA (Over The Air) cloud
End 4 ' is sent to the upgrade notification upgraded version data of terminal such as 8 ' system of vehicle device, micro-control unit or full-vehicle control unit
Deng for example, can be using the vehicle (for example, vehicle A) with highest version to one (for example, vehicle B) in remaining vehicle
Being upgraded, latter two right vehicle (vehicle A and vehicle B) again respectively upgrades remaining vehicle, and so on, until all
Vehicle be upgraded to highest version, difference component storage just needs about n part differential backup if necessary to n times rollback, new synthesis
Mirrored storage (is deleted) after installing successfully, it is contemplated that 2.5-3 times or so in original image of memory space requirements;
S44, storing data is upgraded according to backup operation Data Synthesis, to obtain difference processing data, in the present embodiment,
After completing Hash calculation and verifying, version difference merges such as three differential versions, to form interim upgraded version, such as vehicle
Machine system V1.1, V1.2, V1.3 etc., upgrade status can be presented in car-mounted display equipment such as instrument 9 ' etc..
Referring to Fig. 5, edition data processing system module diagram of the invention is shown as, as shown in figure 5, a kind of version
Data processing system, system include EM equipment module 1, upgrade file module 2, differential data module 3 and differential processing module 4, if
Standby module 1 handles to obtain differential device information, in the present embodiment, differential device is believed to receive and calculate device file data
Breath can be cloud binary difference division of labor tool Bsdiff demand data in such as BSDiff algorithm, wherein memory requirements can be for for example
Max (17*n, 9*n+m)+O (1) byte, wherein n is old file size, and m is new file size, and terminal distribution requirements data can
For such as n+m+O (1) byte, n is old file size, and m is new file size, can OTA (On the Air technology,
Over the air) it runs in cloud;Upgrade file module 2, to obtain default file demand information, extract equipment is literary accordingly
Upgrading data of the number of packages in, in the present embodiment, upgrading relation data can be terminal device such as vehicle system or ECU
(Electronic Control Unit, electronic control unit) difference upgrades corresponding upgraded version tree;Differential data module 3,
To according to upgrading data acquisition version differential data, differential data module 3 is connect with upgrade file module 2, in the present embodiment
In, version differential data can be the difference of the vehicle-mounted hardware devices such as ECU (electronic control unit) electronic control unit
Divide upgrade package;Differential processing module 4, to according to differential device information calculated version differential data, to obtain difference processing number
According to and back up, differential processing module 4 is connect with EM equipment module 1, and differential processing module 4 is connect with differential data module 3.
Referring to Fig. 6, it is shown as the specific module diagram of EM equipment module in one embodiment in Fig. 5, as shown in fig. 6,
EM equipment module 1, including end data module 11, cloud parameter module 12, terminal parameter module 13 and differential device module 14 hold number
According to module 11, to receive cloud data and terminal data, in the present embodiment, server and onboard system such as ECU electronics
Control unit 7 ' or MCU (Micro Control unit, micro-control unit) pass through the wireless communication device outside vehicle for example
Car antenna and CAN (Controller Area Network, the control area net(CAN) network) bus of vehicle body installation are received and are risen
Grade edition data such as edition tree and Hash table data establish one efficiently with the communication in cloud, and safety is reliable to communicate
Link, for example, after Vehicle Controller receives the upgrade signal order that host computer is sent, into Bootloader mode;Cloud
Parameter module 12, to extract the cloud supplemental characteristic in the differential data of cloud, cloud parameter module 12 and end data module 11
Connection, in the present embodiment, cloud supplemental characteristic can be such as cloud runing time O ((n+m) log n), wherein when O is indicated
Between complexity, n is old file size, and m is new file size, such as: 200MHz Pentium Pro processor is 4M's
File generated patch about 70~90 seconds;Terminal parameter module 13, to extract the terminal parameter data in terminal difference information,
Terminal parameter module 13 is connect with cloud parameter module 12, and in the present embodiment, upgrading relation data can be reserved for hard with cloud
In disk storage device and 63 ' the storage such as flash memory of OTA storage of terminal device itself installation, in the present embodiment, terminal ginseng
Number data can be Bspatch runing time (terminal) O (n+m) in such as BSdiff algorithm, wherein O indicates time complexity,
N is old file size, and m is new file size, such as: terminal 200MHz Pentium Pro processor is the recovery of above-mentioned patch
Need 0.5~2 second;Differential device module 14 is differential device information to handle cloud supplemental characteristic and terminal parameter data,
Differential device module 14 is connect with cloud parameter module 12, and differential device module 14 is connect with terminal parameter module 13.
Referring to Fig. 7, the specific module diagram of upgrade file module in one embodiment in Fig. 5 is shown as, such as Fig. 7 institute
Show, upgrade file module 2, including client information module 21, basic version module 22, rollback data module 23 and upgrading data module
24, client information module 21, to receive cloud package informatin and terminal operation data;Basic version module 22, to according to cloud
Package informatin obtains basic version data, and basic version module 22 is connect with client information module 21, in the present embodiment, original version letter
Breath can be to be stored in the upgrading log or old version data stored in terminal device such as 8 ' system embedded memory card of vehicle device, In
In one embodiment, after Vehicle Controller receives the CAN message that host computer is sent line by line, start to report to CAN described in buffer records
Data entrained by text until the data receiver of upgrade file is finished, such as are sent to Vehicle Controller by CAN bus and are risen
Grade signal command is to Vehicle Controller, if Vehicle Controller is not received by the upgrade command signal of host computer transmission in 3S;It returns
Data module 23 is rolled, to according to terminal operation data acquisition rollback data, rollback data module 23 and basic version module 22
Connection, in the present embodiment, terminal difference packet restore can rollback such as 3 versions, such as be rolled back to V1.0 from V4.0;Ascending series
According to module 24, to handle basic version data and rollback data as upgrading data, upgrading data module 24 and rollback data mould
Block 23 connects, and in the present embodiment, obtains space requirement data such as difference packet size and the version that difference is restored from cloud
Number calculates demand data etc., and in the present embodiment, cloud is by from upgraded version data packet such as CAN protocol data packet
In extract edition data or Hash mapping data.
Referring to Fig. 8, the specific module diagram of differential processing module in one embodiment in Fig. 5 is shown as, such as Fig. 8 institute
Show, differential processing module 4, including mirror image roll-back module 41, upgrading memory module 42, backup module 43 and difference synthesis module
44, mirror image roll-back module 41, to extract mirror image data and rollback data in upgrading data, in one embodiment, mirror image number
According to that can be such as foundation image storing data, OTA terminal 6 ' be divided into OS by the object of upgrading and upgrades, upgrades using App, interior embedding
Enter the upgrading mode of formula equipment three categories type, in the present embodiment, OTA engine 62 ' may connect to such as ECU staging adapter
64 ', Tbox OS staging adapter 65 ' and vehicle device staging adapter 66 ' etc..From the point of view of OTA terminal composition, draw comprising OTA upgrading
It holds up and is responsible for entire OTA upgrading scheduling and management, OTA staging adapter with the big component part of OTA staging adapter two, OTA engine
It is responsible for realizing different OTA differentiation upgrade requirements;Upgrade memory module 42, to obtain upgrading storage number according to mirror image data
According to upgrading memory module 42 is connect with mirror image roll-back module 41, and in the present embodiment, original version information can be from such as cloud OTA
Use is transferred in 4 ' preset basic version databases;Backup module 43, to handle rollback data, to obtain backup operation number
According to backup module 43 is connect with mirror image roll-back module 41, and in one embodiment, the cloud 4 ' OTA (Over The Air) is sent to
The upgrade notification upgraded version data etc. of terminal such as 8 ' system of vehicle device, micro-control unit or full-vehicle control unit, for example, can
To be upgraded using the vehicle (for example, vehicle A) with highest version to one (for example, vehicle B) in remaining vehicle, so
Latter two vehicle (vehicle A and vehicle B) again respectively upgrades remaining vehicle, and so on, until all vehicles rise
Grade arrives highest version, and difference component storage just needs about n parts of differential backup if necessary to n times rollback, newly synthesizes mirrored storage
(being deleted after installing successfully), it is contemplated that 2.5-3 times or so in original image of memory space requirements;Difference synthesis module 44, to
Upgrade storing data according to backup operation Data Synthesis, to obtain difference processing data, difference synthesis module 44 and backup module
43 connections, in the present embodiment, after completing Hash calculation and verifying, version difference merges such as three differential versions, with shape
At interim upgraded version, such as vehicle system V1.1, V1.2, V1.3 etc., upgrade status can be presented in car-mounted display equipment for example
Instrument 9 ' etc..
A kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor
Edition data processing method, those of ordinary skill in the art will appreciate that: realize all or part of above-mentioned each method embodiment
Step can be completed by the relevant hardware of computer program.Computer program above-mentioned can store computer-readable in one
In storage medium.When being executed, execution includes the steps that above-mentioned each method embodiment to the program;And storage medium packet above-mentioned
It includes: the various media that can store program code such as ROM, RAM, magnetic or disk.
A kind of edition data processing equipment, comprising: processor and memory;Memory is located for storing computer program
Reason device is used to execute the computer program of memory storage, so that edition data processing equipment executes edition data processing method,
Memory may include random access memory (RandomAccessMemory, abbreviation RAM), it is also possible to further include non-volatile
Memory (non-volatilememory), for example, at least a magnetic disk storage.Above-mentioned processor can be general procedure
Device, including central processing unit (CentralProcessingUnit, abbreviation CPU), network processing unit (NetworkProcessor,
Abbreviation NP) etc.;It can also be digital signal processor (DigitalSignalProcessing, abbreviation DSP), dedicated integrated electricity
Road (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field-
ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device
Part, discrete hardware components.
In conclusion a kind of edition data processing method, system and equipment provided by the invention, have below beneficial to effect
Fruit: the present invention improves the applicability of difference upgrade-system by the processing to difference packet.The present invention solves in the prior art
The lower technical problem of existing upgrading data processing function applicability, has very high commercial value and practicability.
Claims (9)
1. a kind of edition data processing method, which is characterized in that the described method includes:
Device file data are received and calculated, differential device information is handled to obtain;
Default file demand information is obtained, extracts the upgrading data in the device file data accordingly;
According to the upgrading data acquisition version differential data;
The version differential data is calculated according to the differential device information, to obtain difference processing data and back up.
2. the method according to claim 1, wherein described mention the step of obtaining difference specification, comprising:
Receive cloud data and terminal data;
Extract the cloud supplemental characteristic in the cloud differential data;
Extract the terminal parameter data in the terminal difference information;
It handles the cloud supplemental characteristic and the terminal parameter data is the differential device information.
3. the method according to claim 1, wherein the extraction upgrades the step of data, comprising:
Receive cloud package informatin and terminal operation data;
Basic version data are obtained according to the cloud package informatin;
According to the terminal operation data acquisition rollback data;
It handles the basic version data and the rollback data is the upgrading data.
4. the method according to claim 1, wherein described the step of obtaining difference processing data, comprising:
Extract the mirror image data and rollback data in the upgrading data;
Upgrading storing data is obtained according to the mirror image data;
The rollback data are handled, to obtain backup operation data;
Upgrade storing data according to the backup operation Data Synthesis, to obtain the difference processing data.
5. a kind of edition data processing system, which is characterized in that the system comprises:
EM equipment module handles to obtain differential device information to receive and calculate device file data;
Upgrade file module extracts the ascending series in the device file data to obtain default file demand information accordingly
According to;
Differential data module, to according to the upgrading data acquisition version differential data;
Differential processing module, to calculate the version differential data according to the differential device information, to obtain difference processing
Data simultaneously back up.
6. system according to claim 5, which is characterized in that the EM equipment module, comprising:
End data module, to receive cloud data and terminal data;
Cloud parameter module, to extract the cloud supplemental characteristic in the cloud differential data;
Terminal parameter module, to extract the terminal parameter data in the terminal difference information;
Differential device module, to handle the cloud supplemental characteristic and the terminal parameter data as differential device letter
Breath.
7. system according to claim 5, which is characterized in that the upgrade file module, comprising:
Client information module, to receive cloud package informatin and terminal operation data;
Basic version module, to obtain basic version data according to the cloud package informatin;
Rollback data module, to according to the terminal operation data acquisition rollback data;
Upgrade data module, to handle the basic version data and the rollback data as the upgrading data.
8. system according to claim 5, which is characterized in that the differential processing module, comprising:
Mirror image roll-back module, to extract mirror image data and rollback data in the upgrading data;
Upgrade memory module, to obtain upgrading storing data according to the mirror image data;
Backup module, to handle the rollback data, to obtain backup operation data;
Difference synthesis module, to upgrade storing data according to the backup operation Data Synthesis, to obtain the difference
Handle data.
9. a kind of edition data processing equipment characterized by comprising processor and memory;
The memory is used to execute the computer journey of the memory storage for storing computer program, the processor
Sequence, so that the edition data processing equipment executes the edition data processing method as described in any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910653587.9A CN110389780A (en) | 2019-07-18 | 2019-07-18 | Edition data processing method, system and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910653587.9A CN110389780A (en) | 2019-07-18 | 2019-07-18 | Edition data processing method, system and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110389780A true CN110389780A (en) | 2019-10-29 |
Family
ID=68286800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910653587.9A Pending CN110389780A (en) | 2019-07-18 | 2019-07-18 | Edition data processing method, system and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110389780A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111274066A (en) * | 2020-02-03 | 2020-06-12 | 北京淳中科技股份有限公司 | Data backup method, device and system |
CN113568650A (en) * | 2021-07-21 | 2021-10-29 | 联合汽车电子有限公司 | Method for upgrading ECU through OTA |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250143A (en) * | 2016-07-27 | 2016-12-21 | 杭州联络互动信息科技股份有限公司 | The OTA upgrade method of a kind of wearable device and device |
CN106293793A (en) * | 2015-06-02 | 2017-01-04 | 西安中兴新软件有限责任公司 | The method for upgrading software of a kind of terminal, device and system |
CN109032653A (en) * | 2018-08-29 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Pilotless automobile car-mounted terminal upgrade method, device, equipment and storage medium |
US20190012238A1 (en) * | 2017-07-10 | 2019-01-10 | International Business Machines Corporation | Integrating resources at a backup site |
CN109189464A (en) * | 2018-07-11 | 2019-01-11 | 高新兴科技集团股份有限公司 | A kind of method and apparatus of version management |
-
2019
- 2019-07-18 CN CN201910653587.9A patent/CN110389780A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293793A (en) * | 2015-06-02 | 2017-01-04 | 西安中兴新软件有限责任公司 | The method for upgrading software of a kind of terminal, device and system |
CN106250143A (en) * | 2016-07-27 | 2016-12-21 | 杭州联络互动信息科技股份有限公司 | The OTA upgrade method of a kind of wearable device and device |
US20190012238A1 (en) * | 2017-07-10 | 2019-01-10 | International Business Machines Corporation | Integrating resources at a backup site |
CN109189464A (en) * | 2018-07-11 | 2019-01-11 | 高新兴科技集团股份有限公司 | A kind of method and apparatus of version management |
CN109032653A (en) * | 2018-08-29 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Pilotless automobile car-mounted terminal upgrade method, device, equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111274066A (en) * | 2020-02-03 | 2020-06-12 | 北京淳中科技股份有限公司 | Data backup method, device and system |
CN111274066B (en) * | 2020-02-03 | 2023-04-07 | 北京淳中科技股份有限公司 | Data backup method, device and system |
CN113568650A (en) * | 2021-07-21 | 2021-10-29 | 联合汽车电子有限公司 | Method for upgrading ECU through OTA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109788004B (en) | Analysis method and system for automatically adapting national standard custom protocol of new energy automobile | |
CN101867916A (en) | Method for realizing air update of vehicle terminal | |
CN1953376A (en) | A system and method for updating remote software of wireless terminal equipment | |
CN109783123A (en) | Vehicle-mounted T-BOX terminal and firmware upgrade method | |
CN104714811A (en) | Method and device for manufacturing difference upgrade package and system difference upgrade method and device | |
CN103402194A (en) | Method for recommending software during software update and system for implementing method | |
US20110083128A1 (en) | Method for selecting software and installing same via a telematic module in a motor vehicle | |
CN110290223A (en) | Active upgrade method and system | |
CN112015489A (en) | Management method, device, storage medium and system for vehicle-mounted software | |
CN110389780A (en) | Edition data processing method, system and equipment | |
CN110377308A (en) | Data updating method, system | |
CN110928561B (en) | Vehicle controller software version management method and device, vehicle and storage medium | |
CN107943497B (en) | ETC electronic tags bluetooth upgrade management system | |
CN109189422A (en) | Remote upgrading method and device for electronic control unit | |
CN101146291A (en) | Remote radio upgrade method for onboard GPS terminal | |
CN103347048A (en) | Automatic updating method of urban railway traffic signal system | |
CN113805918A (en) | Data interaction system and method for upgrading TBOX and obtaining TBOX logs | |
CN105760272A (en) | Monitoring background service customization method based on plug-in and system based on method | |
CN113434168A (en) | Vehicle-mounted network architecture self-adaptive upgrading method based on intelligent hardware computing power | |
CN104486393A (en) | Resource configuration and recycling method and resource configuration and recycling system | |
CN107172613B (en) | A kind of remote maintenance system and method for car wireless terminal | |
WO2023241744A2 (en) | Data processing apparatus, method and system for fuel dispenser, and storage medium and electronic device | |
CN105589718A (en) | System updating method and updating apparatus for intelligent device | |
CN104506604A (en) | Vehicle-mounted terminal automatic remote upgrading method | |
CN111400085A (en) | Transaction rollback exception processing method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191029 |