CN105677387B - Benchmark program write-in variation and device based on hardware identifier difference - Google Patents
Benchmark program write-in variation and device based on hardware identifier difference Download PDFInfo
- Publication number
- CN105677387B CN105677387B CN201511009003.2A CN201511009003A CN105677387B CN 105677387 B CN105677387 B CN 105677387B CN 201511009003 A CN201511009003 A CN 201511009003A CN 105677387 B CN105677387 B CN 105677387B
- Authority
- CN
- China
- Prior art keywords
- program file
- device end
- benchmark program
- benchmark
- unique identification
- 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.)
- Active
Links
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
A kind of benchmark program write-in variation and device based on hardware identifier difference, for solving operation program in write device, user cannot be efficiently and accurately according to distinct device come the problem of changing write-in program, have technical point that the device obtains the unique identification in device end managing detailed catalogue, and recombinate the obtained unique identification and benchmark program file data, device end is sent to as the benchmark program file with identification information.Effect is: guaranteeing the independence that control and data are shown, simplifies the complicated movement in workflow, reduces cost simultaneously improving working efficiency and accuracy.
Description
Technical field
The invention belongs to hardware benchmark programs, and field is written, and be related to a kind of benchmark program write-in variation and device.
Background technique
At present in automobile electronics, one or more equipment are in function operational process in same item of hardware equipment, control
It is variant that system and data reflection require each equipment to be intended to, and guarantees to operate or show that mutually data have area between same category of device
Point, this kind of means show the control of automobile electronics and data particularly important.
Summary of the invention
In order to solve operation program in write device, user cannot be efficient and be accurately write according to distinct device to change
The problem of entering program, the present invention use following technical solution:
A kind of benchmark program write-in variation based on hardware identifier difference, has and obtains in device end managing detailed catalogue
Unique identification the step of, and unique identification obtained in the step and benchmark program file data are recombinated, as having
The benchmark program file of identification information is sent to device end.
Further, the step of obtaining benchmark program file data is:
S1. device end operation waits request connection, when device end receives connection signal, from waiting connection status
It is transferred to program write-in operating mode;
S2. the basic information for reading device end one by one from device end, from the basis letter of numerous device ends of reading
Device end managing detailed catalogue needed for choosing conversion in breath;
S3. the benchmark program text under corresponding address catalogue is searched using the device end managing detailed catalogue of selection as reference data
Part reads the benchmark program file under address directory and is converted into benchmark program file data, saves the benchmark program number of files
According to.
Further, the step of unique identification obtains with processing are as follows:
S4. the unique identification in device end managing detailed catalogue, the basis from the device end managing detailed catalogue of reading are obtained
Equipment uniqueness identity property filters out information needed, carries out letter as primary data using the vehicle unique identification information filtered out
Breath compiling, forms the uniqueness key assignments for being directed to device end information, the key message as conversion program later.
Further, the step of unique identification recombinates with benchmark program file data is:
S5. the benchmark program file data of preservation is taken out, uniqueness key assignments and benchmark program file data is recombinated, shape
It is stored in after the write-in program of Cheng Xin in write-in data queue.
Further, the benchmark program file data after recombination is read, the benchmark program file data after recombination is sent
To device end, device end parses benchmark program file data after the recombination, judges that unique identification therein is
No consistent with the unique identification of this terminal device, only in the case where being determined as unanimous circumstances, terminal device executes the benchmark program.
Further, verification is added in sending the benchmark program file data after recombination, device end verification data are given
It responds out.
A kind of device of the benchmark program write-in change based on hardware identifier difference, obtains in device end managing detailed catalogue
Unique identification, and the obtained unique identification and benchmark program file data are recombinated, as the benchmark for having identification information
Program file is sent to device end.
Further, described device includes
Basic information reading unit reads the basic information of device end from device end one by one, and numerous from reading set
Device end managing detailed catalogue needed for choosing conversion in the basic information of standby terminal;
Benchmark program file data generation unit is searched using the device end managing detailed catalogue of selection as reference data and is corresponded to
Benchmark program file under address directory reads the benchmark program file under address directory and is converted into benchmark program number of files
According to saving the benchmark program file data.
Unique identification's acquiring unit obtains the unique identification in device end managing detailed catalogue, whole from the equipment of reading
Information needed is filtered out according to equipment uniqueness identity property in the managing detailed catalogue of end, is made with the vehicle unique identification information filtered out
Information compiling is carried out for primary data, forms the uniqueness key assignments for being directed to device end information, the pass as conversion program later
Key information;
Recomposition unit is taken out the benchmark program file data of preservation, by uniqueness key assignments and benchmark program file data
Recombination is stored in write-in data queue after forming new write-in program;
Resolution unit, the benchmark program file data after reading recombination, the benchmark program file data after recombination is sent
To device end, device end parses benchmark program file data after the recombination, judges that unique identification therein is
No consistent with the unique identification of this terminal device, only in the case where being determined as unanimous circumstances, terminal device executes the benchmark program.
The utility model has the advantages that the present invention is automatically read using benchmark program file as configuration file using facility information as parameter
It takes, changes information when needing to modify fast, and generate the uniqueness program for being directed to device end according to equipment unique identification,
Guarantee the independence that control and data are shown, simplifies the complicated movement in workflow, it is same in raising working efficiency and accuracy
When reduce cost.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for embodiment 1;
Fig. 2 is the structural block diagram of the device of embodiment 3.
Specific embodiment
Embodiment 1:
A kind of benchmark program write-in variation based on hardware identifier difference, includes the following steps:
S1. device end operation waits request connection, when device end receives connection signal, from waiting connection status
It is transferred to program write-in operating mode;
S2. it reads the basic information of device end one by one from device end, and needs to set from the numerous of reading according to program
Device end managing detailed catalogue needed for choosing conversion in the basic information of standby terminal, which includes car category, version
Number etc..
S3. the benchmark program text under corresponding address catalogue is searched using the device end managing detailed catalogue of selection as reference data
Part reads the benchmark program file under address directory and is converted into benchmark program file data, saves the benchmark program number of files
According to.
S4. the unique identification in device end managing detailed catalogue, the basis from the device end managing detailed catalogue of reading are obtained
Equipment uniqueness identity property filters out information needed, carries out letter as primary data using the vehicle unique identification information filtered out
Breath compiling, forms the uniqueness key assignments for being directed to device end information, the key message as conversion program later.Unique identification
Attribute selection go out information needed include chassis number, vehicle ID number etc. can be to the information that terminal device is uniquely determined.
S5. the benchmark program file data of preservation is taken out, uniqueness key assignments and benchmark program file data is recombinated, shape
It is stored in after the write-in program of Cheng Xin in write-in data queue.
S6. the benchmark program file data after recombination is read, sends equipment for the benchmark program file data after recombination
Terminal, device end parse benchmark program file data after the recombination, judge unique identification therein whether with this
The unique identification of terminal device is consistent, and only in the case where being determined as unanimous circumstances, terminal device executes the benchmark program.
Verification is added in sending the benchmark program file data after recombination, device end verification data provide response, right
It is verified in the correctness of transmission data.
Compared with prior art, in the technical solution of the present embodiment, have and obtain in device end managing detailed catalogue only
The step of one mark, and unique identification obtained in the step and benchmark program file data are recombinated, as with identification
The benchmark program file of information is sent to device end, and different mark contents is added in the function program of equipment write-in, makes
The program of each equipment individual will be distinguished, the prior art by reaching the purpose to each modification of program, however,
The efficiency of this kind of operational means is very low, in addition, user is distinguished by control write-in difference program to realize, to a certain extent
The uniqueness of write-in program is not ensured that, for example, user can not guarantee that the difference program of each equipment is centainly deposited very well
In difference, it is also possible to will appear the case where difference program that user assert is recycled and reused for same equipment.And in benchmark program file
It is recombinated in data with unique identification, can not only obtain otherness program file in batches, efficiently, fast, it is also possible that respectively
A device end can identify unique identification, to judge whether the program file is that this terminal device needs to be implemented
Program.
Embodiment 2:
A kind of device of the benchmark program write-in change based on hardware identifier difference, obtains in device end managing detailed catalogue
Unique identification, and the obtained unique identification and benchmark program file data are recombinated, as the benchmark for having identification information
Program file is sent to device end.The equipment includes:
Basic information reading unit reads the basic information of device end from device end one by one, and numerous from reading set
Device end managing detailed catalogue needed for choosing conversion in the basic information of standby terminal;
Benchmark program file data generation unit is searched using the device end managing detailed catalogue of selection as reference data and is corresponded to
Benchmark program file under address directory reads the benchmark program file under address directory and is converted into benchmark program number of files
According to saving the benchmark program file data.
Unique identification's acquiring unit obtains the unique identification in device end managing detailed catalogue, whole from the equipment of reading
Information needed is filtered out according to equipment uniqueness identity property in the managing detailed catalogue of end, is made with the vehicle unique identification information filtered out
Information compiling is carried out for primary data, forms the uniqueness key assignments for being directed to device end information, the pass as conversion program later
Key information;
Recomposition unit is taken out the benchmark program file data of preservation, by uniqueness key assignments and benchmark program file data
Recombination is stored in write-in data queue after forming new write-in program;
Resolution unit, the benchmark program file data after reading recombination, the benchmark program file data after recombination is sent
To device end, device end parses benchmark program file data after the recombination, judges that unique identification therein is
No consistent with the unique identification of this terminal device, only in the case where being determined as unanimous circumstances, terminal device executes the benchmark program.
Embodiment 3:
The present embodiment describes the device of another benchmark program write-in change based on hardware identifier difference, including operation
Module: the various logic executed between system and device end is handled.Information reading module: read requests are sent and obtain equipment end
Essential information in end and being stored in is read in queue.Program transformation module: equipment unique identification and benchmark program file are directed to
Conversion logic processing comprising: memory module, conversion module etc..Memory module: after the device data and the conversion that store reading
Program file data.Conversion module: equipment unique identification and benchmark program file in queue will be read and fallen according to protocol segmentation
Combination.Program writing module: it reads queuing message and sends and verify one by one.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art within the technical scope of the present disclosure, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.
Claims (2)
1. variation is written in a kind of benchmark program based on hardware identifier difference, which is characterized in that have and obtain device end
The step of unique identification in managing detailed catalogue, and by unique identification obtained in the step and benchmark program file data weight
Group is sent to device end as the benchmark program file data with identification information, adds in the function program of equipment write-in
Enter different mark contents, distinguish the program of each equipment individual will, in benchmark program file data and uniquely
Property mark recombination, otherness program file is obtained in batches, so that each device end identifies unique identification, to sentence
Whether the program file that breaks is program that this terminal device needs to be implemented;Different marks is added in the function program of equipment write-in
Know content, distinguish the program of each equipment individual will,
The step of obtaining benchmark program file data is:
S1. device end operation waits request connection, when device end receives connection signal, is transferred to from waiting connection status
Operating mode is written in program;
S2. the basic information for reading device end one by one from device end, chooses from the basic information of the device end of reading
Device end managing detailed catalogue needed for conversion;
S3. the benchmark program file under corresponding address catalogue is searched using the device end managing detailed catalogue of selection as reference data,
It reads the benchmark program file under address directory and is converted into benchmark program file data, save the benchmark program file data;
The unique identification obtains the step of with processing are as follows:
S4. the unique identification in device end managing detailed catalogue is obtained, according to equipment from the device end managing detailed catalogue of reading
Unique identification's attribute selection goes out information needed, carries out information volume as primary data using the vehicle unique identification information filtered out
It translates, forms the uniqueness key assignments for being directed to device end information, the key message as conversion program later;
The step of unique identification recombinates with benchmark program file data is:
S5. the benchmark program file data of preservation is taken out, uniqueness key assignments and benchmark program file data is recombinated, formed new
Write-in program after be stored in write-in data queue in;
Benchmark program file data after reading recombination, sends device end for the benchmark program file data after recombination, if
Standby terminal parses benchmark program file data after the recombination, judge unique identification therein whether with this terminal device
Unique identification it is consistent, only in the case where being determined as unanimous circumstances, terminal device executes the benchmark program.
2. variation is written in the benchmark program based on hardware identifier difference as described in claim 1, which is characterized in that sending out
Verification is added in benchmark program file data after sending recombination, device end verification data provide response.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511009003.2A CN105677387B (en) | 2015-12-29 | 2015-12-29 | Benchmark program write-in variation and device based on hardware identifier difference |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511009003.2A CN105677387B (en) | 2015-12-29 | 2015-12-29 | Benchmark program write-in variation and device based on hardware identifier difference |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677387A CN105677387A (en) | 2016-06-15 |
CN105677387B true CN105677387B (en) | 2019-07-19 |
Family
ID=56297871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511009003.2A Active CN105677387B (en) | 2015-12-29 | 2015-12-29 | Benchmark program write-in variation and device based on hardware identifier difference |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677387B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572221A (en) * | 2015-01-30 | 2015-04-29 | 重庆邮电大学 | Vehicle-mounted ECU (electronic control unit) online updating system and method |
CN105094901A (en) * | 2015-07-14 | 2015-11-25 | 广州橙行智动汽车科技有限公司 | Remote after-service on-line ECU refresh method and diagnosis apparatus |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7693612B2 (en) * | 2005-06-23 | 2010-04-06 | International Business Machines Corporation | Method and system for updating code embedded in a vehicle |
CN101203000B (en) * | 2007-05-24 | 2012-05-23 | 深圳市德诺通讯技术有限公司 | Method and system for downloading mobile terminal applied software |
CN102930230B (en) * | 2012-10-18 | 2015-09-30 | 北京奇虎科技有限公司 | Computing equipment identification method and device |
CN103955383A (en) * | 2014-04-15 | 2014-07-30 | 深圳市道通科技有限公司 | Method and system for rapidly positioning automobile diagnosis application program |
CN104599079B (en) * | 2015-02-04 | 2018-08-03 | 佛山市康维能源科技有限公司 | A kind of intelligent electric automobile charging management system |
-
2015
- 2015-12-29 CN CN201511009003.2A patent/CN105677387B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572221A (en) * | 2015-01-30 | 2015-04-29 | 重庆邮电大学 | Vehicle-mounted ECU (electronic control unit) online updating system and method |
CN105094901A (en) * | 2015-07-14 | 2015-11-25 | 广州橙行智动汽车科技有限公司 | Remote after-service on-line ECU refresh method and diagnosis apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105677387A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2799995A1 (en) | Information interaction test device and method based on automatic generation of associated test cases | |
CN111966868B (en) | Data management method based on identification analysis and related equipment | |
CN106293554A (en) | A kind of cloud print system and cloud printer | |
CN103428080A (en) | Data unpacking and data packing method | |
CN103559175A (en) | Spam mail filtering system and method based on clusters | |
CN105956410B (en) | A kind of Universal-purpose quick detection method of IEC61850 full models | |
CN107292395A (en) | Method for building up, device and the computer-readable storage medium of automotive electronics health account | |
CN111143410A (en) | Accommodation public security management method, device and system | |
CN105677387B (en) | Benchmark program write-in variation and device based on hardware identifier difference | |
CN107958121B (en) | The product processing method and system bored based on five faces | |
CN109041033A (en) | Smart machine distribution method and system based on RFID | |
CN110298112B (en) | Joint synchronous error correction method for assertion state machine and waveform diagram, storage medium and terminal | |
CN103530353B (en) | Self-identification method of GPS user data format | |
CN111027093A (en) | Access right control method and device, electronic equipment and storage medium | |
CN109660627A (en) | A kind of integrated management control platform of internet of things equipment | |
CN106156069B (en) | Log system and log recording method | |
US20160012179A1 (en) | Method for managing data relative to motor vehicles with a view to the subsequent graphic generation of electrical diagrams of electrical systems | |
CN105512337B (en) | A kind of data managing method and storage device | |
CN108319565B (en) | Bus-based instrument address searching method and device | |
CN112256574A (en) | Vehicle diagnosis method and system and related equipment | |
CN101882354B (en) | Device and method for dynamically calculating physical quantity of sensor | |
CN106548088A (en) | A kind of kept secure area reading and control method thereof and mobile terminal based on mobile terminal | |
KR20130039851A (en) | Epcds(electronic product code discovery service) system using cloud, method for storing and inquiring data using the same system | |
CN106600176A (en) | Information input processing method and device | |
CN110244952A (en) | The management method and computer readable storage medium of application programming interface document |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |