CN110377322A - Data processing method, system and equipment - Google Patents
Data processing method, system and equipment Download PDFInfo
- Publication number
- CN110377322A CN110377322A CN201910653589.8A CN201910653589A CN110377322A CN 110377322 A CN110377322 A CN 110377322A CN 201910653589 A CN201910653589 A CN 201910653589A CN 110377322 A CN110377322 A CN 110377322A
- Authority
- CN
- China
- Prior art keywords
- data
- upgrading
- module
- difference
- primary state
- 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
- 238000004458 analytical method Methods 0.000 claims abstract description 41
- 102000006479 Heterogeneous-Nuclear Ribonucleoproteins Human genes 0.000 claims abstract description 24
- 108010019372 Heterogeneous-Nuclear Ribonucleoproteins Proteins 0.000 claims abstract description 24
- 238000012856 packing Methods 0.000 claims abstract description 24
- 239000000284 extract Substances 0.000 claims abstract description 8
- 238000013459 approach Methods 0.000 claims abstract description 7
- 238000012545 processing Methods 0.000 claims description 21
- 238000000034 method Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 9
- 230000005055 memory storage Effects 0.000 claims description 3
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 16
- 238000004422 calculation algorithm Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000005540 biological transmission 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
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 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
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9014—Indexing; Data structures therefor; Storage structures hash tables
-
- 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
Abstract
A kind of data processing method, system and equipment, comprising: obtain upgrading package informatin, extract the upgrading data in the upgrading package informatin;The directory information in the upgrading data is extracted, the directory information is traversed, to obtain difference analysis result;According to the difference analysis result to acquisite approachs operation information, generates be packaged description information accordingly;The upgrading data are packaged according to the packing description information, to obtain difference packet.The present invention solves the lower technical problem of mobile unit difference upgrade 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 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
The problems such as journey generates upgrade failure during operating.
In conclusion tool software and personnel's progress onboard system software upgrading in dedicated place are relied in traditional technology,
It is low that difference upgrades intelligence degree, causes mobile unit difference to upgrade low efficiency, does not support different automobile types and different configuration of
Upgrading, the mobile unit method for upgrading software in the prior art technical problem poor there are System level gray correlation decilitre grade applicability.
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 data processing method, system and sets
It is standby, it is applied to mobile unit and upgrades, to solve the poor technical problem of System level gray correlation decilitre grade applicability existing in the prior art,
The present invention provides a kind of data processing method, system and equipment, comprising: obtains upgrading package informatin, extracts in upgrading package informatin
Upgrade data;Extract the directory information in upgrading data, traversing directories information, to obtain difference analysis result;According to difference point
Result to acquisite approachs operation information is analysed, generates be packaged description information accordingly;Upgrading data are packaged according to description information is packaged, to obtain
Take difference packet.
In one embodiment of the present invention, upgrading package informatin is obtained, extracts the step of the upgrading data in upgrading package informatin
Suddenly, comprising: extract the packing unpacked data in upgrading package informatin;Obtain upgrading primary state data and upgrading final state data;According to beating
Packet unpacked data processing upgrading primary state data and upgrading final state data are version correlation data;It is obtained and is risen according to version correlation data
Grade data.
In one embodiment of the present invention, obtain difference analysis result the step of, comprising: according to directory information obtain more
New ergodic data and primary state ergodic data;It calculates to update ergodic data and obtain and updates packet hash;According to update packet Hash number
Difference information is updated according to obtaining;Primary state ergodic data is calculated, primary state differential data is obtained;According to new packet hash and primary state
It checks the mark data acquisition difference analysis result.
In one embodiment of the present invention, the step of being packaged description information is obtained, comprising: obtain according to difference analysis result
Take differential path data;Obtain default difference scheme data;It generates to be packaged according to difference scheme data and differential path data and retouch
State information.
In one embodiment of the present invention, a kind of data processing system characterized by comprising upgrading data module,
To obtain upgrading package informatin, the upgrading data in upgrading package informatin are extracted;Difference analysis module, to extract in upgrading data
Directory information, traversing directories information, to obtain difference analysis as a result, difference analysis module with upgrading data module connect;It retouches
Information module is stated, to generate be packaged description information accordingly, despise information according to difference analysis result to acquisite approachs operation information
Module is connect with difference analysis module;Difference packet module, to be packaged upgrading data according to packing description information, to obtain difference
Packet, difference packet module are connect with description information module.
In one embodiment of the present invention, upgrade data module, comprising: bag data module, to extract upgrade package letter
Packing unpacked data in breath;Upgrade node module, to obtain upgrading primary state data and upgrading final state data;Version compares mould
Block, to be version correlation data, version comparison according to being packaged unpacked data processing upgrading primary state data and upgrading final state data
Data module is connect with bag data module, and the connection of version contrast module is connect with upgrade node module;Upgrade data acquisition module,
To obtain upgrading data according to version correlation data, upgrading data acquisition module is connect with version contrast module.
In one embodiment of the present invention, difference analysis module, comprising: traversal parameter module, to be believed according to catalogue
Breath, which obtains, updates ergodic data and primary state ergodic data;Hash calculation module updates packet to calculate to update ergodic data and obtain
Hash, Hash calculation module are connect with traversal parameter module;Difference block is updated, to obtain according to update packet hash
Update difference information is taken, difference block is updated and is connect with Hash calculation module;Primary state difference block, to calculate primary state traversal number
According to acquisition primary state differential data, primary state difference block is connect with traversal parameter module;Object module, to be breathed out according to update packet
Uncommon data and primary state check the mark data acquisition difference analysis as a result, object module connect with difference block is updated, object module and beginning
The connection of state difference block.
In one embodiment of the present invention, description information module, comprising: path data module, to according to difference point
It analyses result and obtains differential path data;Format module, to obtain default difference scheme data, format module and path data mould
Block connection;Packetization module is packaged description information to generate according to difference scheme data and differential path data, packetization module with
The connection of path data module, packetization module are connect with format module.
In one embodiment of the present invention, a kind of computer readable storage medium is stored thereon with computer program, should
Data processing method is realized when program is executed by processor.
In one embodiment of the present invention, a kind of data processing equipment, comprising: processor and memory;Memory is used
In storage computer program, processor is used to execute the computer program of memory storage, so that a kind of data processing equipment is held
A kind of data processing method of row.
As above, a kind of data processing method, system and equipment provided by the invention, have the advantages that the present invention
The present invention improves the applicability of difference upgrade-system by the processing to difference packet.
To sum up, the present invention solves the lower technical problem of difference upgrade-system applicability existing in the prior art.
Detailed description of the invention
Fig. 1 is shown as data processing method steps 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 S3 in one embodiment in Fig. 1.
Fig. 5 is shown as a kind of data processing system module diagram of the invention.
Fig. 6 is shown as upgrading the specific module diagram of data module 1 in one embodiment in Fig. 5.
Fig. 7 is shown as the specific module diagram of difference analysis module 2 in one embodiment in Fig. 5.
Fig. 8 is shown as the specific module diagram of description information module 3 in one embodiment in Fig. 5.
Component label instructions
1 upgrading data module
2 difference analysis modules
3 description information modules
4 difference packet modules
11 bag data modules
12 upgrade node modules
13 version contrast modules
14 upgrading data acquisition modules
21 traversal parameter modules
22 Hash calculation modules
23 update difference block
24 primary state difference blocks
25 object modules
31 path data modules
32 format modules
33 packetization modules
Step numbers explanation
Fig. 1 S1~S4
Fig. 2 S11~S14
Fig. 3 S21~S25
Fig. 4 S31~S33
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. 8, 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 hair
Under bright the effect of can be generated and the purpose that can reach, it should all still fall in what disclosed technology contents can be covered
In range.Meanwhile in this specification it is cited such as " on ", " under ", " left side ", " right side ", " centre " and " one " term, also only
For being illustrated convenient for narration, rather than to limit the scope of the invention, relativeness is altered or modified, in no reality
Under qualitative change more technology contents, when being also considered as the enforceable scope of the present invention.
Referring to Fig. 1, data processing method steps schematic diagram of the invention is shown as, as shown in Figure 1, a kind of data processing
Method, comprising:
S1, upgrading package informatin is obtained, the upgrading data in upgrading package informatin is extracted, in one embodiment, using bsdiff
Catalogue changes the generation that judgement tool carries out difference, for example, in a preset vehicle from vehicle-mounted road by determination in equipment group
In the case that corresponding system version is not highest version, the corresponding system version of preset vehicle can be upgraded to highest version
This;Update the corresponding scalable list of preset vehicle;
S2, the directory information upgraded in data, traversing directories information, to obtain difference analysis as a result, implementing one are extracted
In example, software package is usually made of multiple files, can be packaged into a mirror image, is unfavorable for efficiently generating for difference packet after packing,
Therefore it needs to consider to unpack mirror image before difference, for the file difference one by one of packet the inside, difference is finally pressed into certain rule again
A new packet is then formed, for example, can be using the vehicle (for example, vehicle A) with highest version to one in remaining vehicle
A (for example, vehicle B) is upgraded, latter two right vehicle (vehicle A and vehicle B) again respectively upgrades remaining vehicle, according to
It is secondary to analogize, until all vehicles are upgraded to highest version;
S3, according to difference analysis result to acquisite approachs operation information, generate be packaged description information accordingly, in an embodiment
In, difference generation needs to calculate all father nodes of current version node to the version difference of current version node, terminal device
Such as vehicle system for needing to upgrade etc., it need to be fed back when installing the installation kit that cloud server is sent by network connection really
Information is recognized to cloud, and such as enterprise-level server can be selected in cloud;
S4, according to be packaged description information be packaged upgrading data, to obtain difference packet, in one embodiment, difference generate by
In calculating, the time is long, it may be considered that background task processing, file cannot be confused and encryption, otherwise cannot effectively give birth to
At difference.
Referring to Fig. 2, being shown as step S1 in Fig. 1 is having been carried out the specific steps schematic diagram in example, as shown in Fig. 2, obtaining
Upgrading package informatin is taken, the step S1 of the upgrading data in upgrading package informatin is extracted, comprising:
S11, extract upgrading package informatin in packing unpacked data, in one embodiment, obtain the software it is corresponding be packaged/
Algorithm is unpacked, the old and new's software package is unpacked by packing algorithm, may include such as terminal device example in terminal upgrade daily record data
As the previous all previous upgrading of central control system, control unit and onboard control device such as vehicle system records data;
S12, upgrading primary state data and upgrading final state data are obtained;
S13, primary state data are upgraded according to packing unpacked data processing and upgrade final state data for version correlation data, one
In embodiment, the catalogue and file difference of the old and new's software package are compared from root node;
S14, upgrading data, in one embodiment, interior embedded device three categories type are obtained according to version correlation data
Upgrading mode, such as the corresponding scalable list of preset vehicle may include the information of vehicle for example to be upgraded, vehicle to be upgraded
It is lower than the vehicle of the corresponding system version of preset vehicle by the system version of vehicular applications system in equipment group for vehicle-mounted road.
Referring to Fig. 3, being shown as step S2 in Fig. 1 is having been carried out the specific steps schematic diagram in example, as shown in figure 3, obtaining
Take the step S2 of difference analysis result, comprising:
S21, update ergodic data and primary state ergodic data are obtained according to directory information, in one embodiment, traverses new packet
Each of catalogue and file, if the catalogue or file are not present in old packet, it is meant that be newly-increased file or catalogue
(A), in the present embodiment, catalogue data can be vehicle control syetem such as micro-control unit, unit control unit, full-vehicle control
The upgrade file catalogue data of unit;
S22, update ergodic data acquisition update packet hash is calculated, in one embodiment, if existed in old packet,
And be file, it may include the programming system etc. of for example vehicle-mounted micro-control unit of vehicle-mounted hardware in old packet;
S23, update difference information is obtained according to update packet hash, in one embodiment, if file or catalogue exist
It is not present in new packet, it is meant that it is the file deleted or catalogue (D), if it does, a still catalogue, then recurrence to specific item
Record, for example, starting after Vehicle Controller receives the CAN message that host computer is sent line by line to the institute of CAN message described in buffer records
The data of carrying, until the data receiver of upgrade file is finished;
S24, primary state ergodic data is calculated, obtains primary state differential data, in one embodiment, such as the old and new file hash,
It if existed in old packet, and is catalogue, recurrence to next stage catalogue traverses each of old packet catalogue and file, such as
Upgrade signal order is sent to Vehicle Controller, if Vehicle Controller does not receive in 3S to Vehicle Controller by CAN bus
The upgrade command signal sent to host computer;
S25, data acquisition difference analysis is checked the mark as a result, in one embodiment, such as according to new packet hash and primary state
Fruit hash value is different, then calculates the difference (U) of two files.
Referring to Fig. 4, being shown as step S3 in Fig. 1 is having been carried out the specific steps schematic diagram in example, as shown in figure 4, obtaining
Take the step S3 for being packaged description information, comprising:
S31, difference result is repacked in one embodiment according to difference analysis result acquisition differential path data;
S32, default difference scheme data are obtained, in one embodiment, are packaged format: being packaged description file diff.conf,
Textual form A/U/D filePathl, A/U/D filePath2 ..., if it is A, it is meant that subsequent path is to need newly
It is added in old packet, if it is D, it is meant that subsequent path needs to delete from old packet, if it is U, it is meant that below
Path file be respective file in old packet difference packet;
S33, packing description information, in one embodiment, file are generated according to difference scheme data and differential path data
List File1, File2 ... packing algorithm: are packaged compression to foregoing description file and lists of documents using gzip and form one
The packet of a completion.
Referring to Fig. 5, a kind of data processing system module diagram of the invention is shown as, as shown in figure 5, a kind of data
Processing system, which is characterized in that including upgrading data module 1, difference analysis module 2, description information module 3 and difference packet module
4, upgrade data module 1, to obtain upgrading package informatin, the upgrading data extracted in upgrading package informatin are adopted in one embodiment
The generation of difference is carried out with bsdiff, for example, in the corresponding system of a preset vehicle from vehicle-mounted road by determination in equipment group
In the case that system version is not highest version, the corresponding system version of preset vehicle can be upgraded to highest version;It updates pre-
Determine the corresponding scalable list of vehicle;Difference analysis module 2, to extract the directory information in upgrading data, traversing directories letter
Breath, as a result, for example, can be using the vehicle (for example, vehicle A) with highest version in remaining vehicle to obtain difference analysis
One (for example, vehicle B) upgraded, latter two right vehicle (vehicle A and vehicle B) again respectively rises remaining vehicle
Grade, and so on, until all vehicles are upgraded to highest version, difference analysis module 2 is connect with upgrading data module 1,
In one embodiment, software package is usually made of multiple files, can be packaged into a mirror image, is unfavorable for difference packet after packing
It efficiently generates, it is therefore desirable to consider to unpack mirror image before difference, for the file difference one by one of packet the inside, finally again press difference
Certain rule one new packet of composition;Description information module 3, to according to difference analysis result to acquisite approachs operation information,
It generates accordingly and is packaged description information, despise information module 3 and connect with difference analysis module 2, in one embodiment, difference, which generates, to be needed
All father nodes of current version node are calculated to the version difference of current version node, what terminal device for example needed to upgrade
Vehicle system etc. needs feedback acknowledgment information to cloud when installing the installation kit that cloud server is sent by network connection,
Such as enterprise-level server can be selected in cloud;Difference packet module 4, to be packaged upgrading data according to packing description information, to obtain
Difference packet is taken, difference packet module 4 is connect with description information module 3, and in one embodiment, difference is generated to be compared due to calculating the time
It is long, it may be considered that background task processing, file cannot be confused and encryption, otherwise cannot efficiently generate difference.
Referring to Fig. 6, being shown as upgrading the specific module diagram of data module 1 in one embodiment, such as Fig. 6 in Fig. 5
It is shown, upgrade data module 1, including bag data module 11, upgrade node module 12, version contrast module 13 and upgrading data obtain
Modulus block 14, bag data module 11, to extract the packing unpacked data in upgrading package informatin, in one embodiment, obtaining should
The corresponding packetization/depacketization algorithm of software unpacks the old and new's software package by packing algorithm;Upgrade node module 12, to obtain
Upgrade primary state data and upgrading final state data;Version contrast module 13, to according to packing unpacked data processing upgrading primary state number
According to being version correlation data with upgrading final state data, version correlation data module 13 is connect with bag data module 11, version comparison
Module 13 connection connect with upgrade node module 12, in one embodiment, from root node comparison the old and new's software package catalogue with
File difference;Upgrade data acquisition module 14, to obtain upgrading data according to version correlation data, upgrades data acquisition module
14 connect with version contrast module 13, in one embodiment, the upgrading mode of interior embedded device three categories type, for example, it is predetermined
The corresponding scalable list of vehicle may include the information of vehicle for example to be upgraded, and vehicle to be upgraded is vehicle-mounted road by equipment group
The system version of vehicular applications system is lower than the vehicle of the corresponding system version of preset vehicle.
Referring to Fig. 7, being shown as the specific module diagram of difference analysis module 2 in one embodiment, such as Fig. 7 in Fig. 5
It is shown, difference analysis module 2, including traversal parameter module 21, Hash calculation module 22, update difference block 23, primary state difference
Module 24 and object module 25 traverse parameter module 21, update ergodic data and primary state traversal to obtain according to directory information
Data traverse each of new packet catalogue and file in one embodiment, if the catalogue or file are not deposited in old packet
, it is meant that it is newly-increased file or catalogue (A), in the present embodiment, catalogue data can be vehicle control syetem such as micro-control
Unit processed, unit control unit, full-vehicle control unit upgrade file catalogue data;Hash calculation module 22, to calculate more
New ergodic data, which obtains, updates packet hash, and Hash calculation module 22 is connect with traversal parameter module 21, in one embodiment,
If existed in old packet, and it is file, if existed in old packet, and is file in one embodiment, may include in old packet
The programming system etc. of for example vehicle-mounted micro-control unit of vehicle-mounted hardware;Difference block 23 is updated, to according to update packet hash
It obtains and updates difference information, update difference block 23 and connect with Hash calculation module 22, in one embodiment, if file or mesh
Record is not present in new packet, it is meant that is the file deleted or catalogue (D), if it does, a still catalogue, then recurrence is to sub
Catalogue;Primary state difference block 24 obtains primary state differential data calculating primary state ergodic data, primary state difference block 24 with time
The connection of parameter module 21 is gone through, in one embodiment, such as the old and new file hash, it if existed in old packet, and is catalogue, recurrence
To next stage catalogue, each of old packet catalogue and file are traversed, such as is sent and is upgraded to Vehicle Controller by CAN bus
Signal command is to Vehicle Controller, if Vehicle Controller is not received by the upgrade command signal of host computer transmission in 3S;As a result
Module 25, to check the mark data acquisition difference analysis as a result, object module 25 and update according to update packet hash and primary state
Difference block 23 connects, and object module 25 is connect with primary state difference block 24, in one embodiment, if hash value is different,
Then calculate the difference (U) of two files.
Referring to Fig. 8, being shown as the specific module diagram of description information module 3 in one embodiment, such as Fig. 8 in Fig. 5
It is shown.Description information module 3, including path data module 31, format module 32 and packetization module 33, path data module 31,
Difference result is repacked in one embodiment to obtain differential path data according to difference analysis result;Format module
32, to obtain default difference scheme data, format module 32 is connect with path data module 31, in one embodiment, is packaged
Format: being packaged description file diff.conf, textual form A/U/D filePath1, A/U/D filePath2 ..., if it is
A, it is meant that subsequent path is to need newly to be added in old packet, if it is D, it is meant that subsequent path is needed from old packet
It deletes, if it is U, it is meant that subsequent path file is the difference packet of respective file in old packet;Packetization module 33, to root
It being generated according to difference scheme data and differential path data and is packaged description information, packetization module 33 is connect with path data module 31,
Packetization module 33 is connect with format module 32, and in one embodiment, listed files File1, File2 ... packing algorithm: are adopted
The packet that compression forms a completion is packaged to foregoing description file and lists of documents with gzip.
A kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor
Data processing method, those of ordinary skill in the art will appreciate that: realize all or part of the steps of above-mentioned each method embodiment
It can be completed by the relevant hardware of computer program.Computer program above-mentioned can store in a computer-readable storage
In medium.When being executed, execution includes the steps that above-mentioned each method embodiment to the program;And storage medium above-mentioned includes:
The various media that can store program code such as ROM, RAM, magnetic or disk.
A kind of data processing equipment, comprising: processor and memory;Memory is for storing computer program, processor
For executing the computer program of memory storage, so that data processing equipment configuration for executing data processing, memory may be wrapped
Containing random access memory (RandomAccessMemory, abbreviation RAM), it is also possible to further include nonvolatile memory (non-
Volatilememory), a for example, at least magnetic disk storage.Above-mentioned processor can be general processor, including center
Processor (CentralProcessingUnit, abbreviation CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;
It can also be digital signal processor (DigitalSignalProcessing, abbreviation DSP), specific integrated circuit (Applic
AtionSpecificIntegratedCircuit, 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 data processing method, system and equipment provided by the invention, have the advantages that this
Invention improves the applicability of difference upgrade-system by the processing to difference packet.
To sum up, the present invention solves the lower technical problem of difference upgrade-system applicability existing in the prior art, tool
There are very high commercial value and practicability.
Claims (9)
1. a kind of data processing method, which is characterized in that the described method includes:
Upgrading package informatin is obtained, the upgrading data in the upgrading package informatin are extracted;
The directory information in the upgrading data is extracted, the directory information is traversed, to obtain difference analysis result;
According to the difference analysis result to acquisite approachs operation information, generates be packaged description information accordingly;
The upgrading data are packaged according to the packing description information, to obtain difference packet.
2. extracting the upgrade package letter the method according to claim 1, wherein the acquisition upgrades package informatin
The step of upgrading data in breath, comprising:
Extract the packing unpacked data in the upgrading package informatin;
Obtain upgrading primary state data and upgrading final state data;
The upgrading primary state data are handled according to the packing unpacked data and the upgrading final state data are version correlation data;
The upgrading data are obtained according to version correlation data.
3. the method according to claim 1, wherein the step of obtaining difference analysis result, comprising:
It is obtained according to the directory information and updates ergodic data and primary state ergodic data;
It calculates the update ergodic data and obtains and update packet hash;
It is obtained according to the update packet hash and updates difference information;
The primary state ergodic data is calculated, primary state differential data is obtained;
It is checked the mark difference analysis result described in data acquisition according to described with new packet hash and the primary state.
4. the method according to claim 1, wherein the acquisition is packaged the step of description information, comprising:
Differential path data are obtained according to the difference analysis result;
Obtain default difference scheme data;
The packing description information is generated according to difference scheme data and the differential path data.
5. a kind of data processing system characterized by comprising
Upgrade data module, to obtain upgrading package informatin, extracts the upgrading data in the upgrading package informatin;
Difference analysis module traverses the directory information, to extract the directory information in the upgrading data to obtain difference
Analyze result;
Description information module, to generate be packaged description letter accordingly according to the difference analysis result to acquisite approachs operation information
Breath;
Difference packet module, to be packaged the upgrading data according to the packing description information, to obtain difference packet.
6. system according to claim 5, which is characterized in that the upgrading data module, comprising:
Bag data module, to extract the packing unpacked data in the upgrading package informatin;
Upgrade node module, to obtain upgrading primary state data and upgrading final state data;
Version contrast module, to handle the upgrading primary state data and the upgrading final state number according to the packing unpacked data
According to for version correlation data;
Upgrade data acquisition module, to obtain the upgrading data according to version correlation data.
7. system according to claim 5, which is characterized in that the difference analysis module, comprising:
Parameter module is traversed, updates ergodic data and primary state ergodic data to obtain according to the directory information;
Hash calculation module updates packet hash to calculate the update ergodic data and obtain;
Difference block is updated, updates difference information to obtain according to the update packet hash;
Primary state difference block obtains primary state differential data to calculate the primary state ergodic data;
Object module, to be checked the mark difference analysis knot described in data acquisition according to described with new packet hash and the primary state
Fruit.
8. system according to claim 1, which is characterized in that the description information module, comprising:
Path data module, to obtain differential path data according to the difference analysis result;
Format module, to obtain default difference scheme data;
Packetization module, to generate the packing description information according to difference scheme data and the differential path data.
9. a kind of 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 data processing equipment executes the data processing method as described in any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910653589.8A CN110377322A (en) | 2019-07-18 | 2019-07-18 | Data processing method, system and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910653589.8A CN110377322A (en) | 2019-07-18 | 2019-07-18 | Data processing method, system and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110377322A true CN110377322A (en) | 2019-10-25 |
Family
ID=68254147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910653589.8A Pending CN110377322A (en) | 2019-07-18 | 2019-07-18 | Data processing method, system and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110377322A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104267978A (en) * | 2014-09-16 | 2015-01-07 | 青岛海信移动通信技术股份有限公司 | Method and device for generating differential packet |
CN105468396A (en) * | 2014-09-11 | 2016-04-06 | 深圳Tcl数字技术有限公司 | Generating method for differential package, upgrading method, generating apparatus, and Linux terminal |
WO2016202000A1 (en) * | 2015-06-15 | 2016-12-22 | 中兴通讯股份有限公司 | Differential rollback upgrading method and apparatus |
CN107977215A (en) * | 2016-10-24 | 2018-05-01 | 中兴通讯股份有限公司 | Onboard system upgrade method and device |
-
2019
- 2019-07-18 CN CN201910653589.8A patent/CN110377322A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105468396A (en) * | 2014-09-11 | 2016-04-06 | 深圳Tcl数字技术有限公司 | Generating method for differential package, upgrading method, generating apparatus, and Linux terminal |
CN104267978A (en) * | 2014-09-16 | 2015-01-07 | 青岛海信移动通信技术股份有限公司 | Method and device for generating differential packet |
WO2016202000A1 (en) * | 2015-06-15 | 2016-12-22 | 中兴通讯股份有限公司 | Differential rollback upgrading method and apparatus |
CN107977215A (en) * | 2016-10-24 | 2018-05-01 | 中兴通讯股份有限公司 | Onboard system upgrade method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103189922A (en) | Consolidating metadata relating to duplicate images | |
KR20060052376A (en) | System and method for information handling system image network communication | |
WO2016082649A1 (en) | Method and device for automatically processing static test data of rail transit vehicle | |
CN109284106A (en) | Method for release management, electronic device and the readable storage medium storing program for executing of business rule | |
CN104468811B (en) | Upgrade method and device | |
CN110647318A (en) | Method, device, equipment and medium for creating instance of stateful application | |
CN112860953A (en) | Data importing method, device, equipment and storage medium of graph database | |
CN115277882A (en) | CAN message database establishing method and device, vehicle-mounted electronic equipment and storage medium | |
CN113542451B (en) | Information processing method, device, equipment and storage medium | |
CN102984055B (en) | The soft reboot upgrade method of a kind of ISSU and equipment | |
CN110633074A (en) | Use control method and device of software development kit | |
WO2017045345A1 (en) | Resource management method and apparatus, and multi-mode soft base station unified network management | |
CN106095511A (en) | A kind of server updating method and apparatus | |
CN103646015B (en) | Transmission, the method and system for receiving and transmitting XML message | |
CN107168748A (en) | A kind of method that multinomial upgrading task is realized by a upgrade file bag | |
CN110022287A (en) | A kind of asynchronous distributed document transmission method, terminal device and storage medium | |
CN103314554A (en) | Dynamic host profiles for option modules | |
CN108763127B (en) | Method for realizing Modbus adapter capable of realizing interconversion of source data and target data | |
CN110377322A (en) | Data processing method, system and equipment | |
CN110389780A (en) | Edition data processing method, system and equipment | |
CN116955355A (en) | Block data processing method and device and electronic equipment | |
CN111045928A (en) | Interface data testing method, device, terminal and storage medium | |
CN110377328A (en) | A kind of data capture method, device, equipment and storage medium | |
CN112204527A (en) | Method and system for processing engineering data in a multi-engineering system environment | |
CN115202934A (en) | Data backup method, device, 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 |