CN110362361A - The method and device of documenting - Google Patents
The method and device of documenting Download PDFInfo
- Publication number
- CN110362361A CN110362361A CN201910657420.XA CN201910657420A CN110362361A CN 110362361 A CN110362361 A CN 110362361A CN 201910657420 A CN201910657420 A CN 201910657420A CN 110362361 A CN110362361 A CN 110362361A
- Authority
- CN
- China
- Prior art keywords
- variable
- file
- target
- acquisition
- information
- 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
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000004519 manufacturing process Methods 0.000 claims abstract description 22
- 238000003860 storage Methods 0.000 claims description 21
- 230000015654 memory Effects 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 12
- 230000008676 import Effects 0.000 claims description 11
- 238000012163 sequencing technique Methods 0.000 claims description 7
- 230000008859 change Effects 0.000 claims description 4
- 230000005055 memory storage Effects 0.000 claims description 3
- 230000000875 corresponding effect Effects 0.000 description 73
- 238000013461 design Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 7
- 230000006855 networking Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000002596 correlated effect Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- 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
- G06F9/4451—User profiles; Roaming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the present application provides a kind of method and device of documenting, this method comprises: obtaining the A2L file and target acquisition variable that data acquisition party in request provides;The corresponding variable information of the target acquisition variable is obtained from the A2L file;Target acquisition configuration rule is determined according to the A2L file;The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, makes acquisition configuration file.Method provided by the embodiments of the present application can quickly and accurately obtain variable information and acquisition configuration rule;Without relying on manpower, acquisition configuration documenting efficiency and accuracy rate is improved, and production acquisition configuration file can be visualized, meet plurality of application scenes needs.
Description
Technical field
The invention relates to technical field of data processing more particularly to a kind of method and devices of documenting.
Background technique
With the development of the social economy, people's living standard is continuously improved, vehicle is more more and more universal, and function is more and more complete,
Have become a kind of important vehicles of people's trip.Acquisition configuration file is used to refer to guide-car's mounted terminal and electronic control is single
The document of agreement of the communication interactive process of first (Electronic Control Unit, write a Chinese character in simplified form ECU), such as instruct car-mounted terminal
Where remove ECU, take what variable, how long takes primary.
Traditional acquisition configuration file is made using artificial by the way of, for example, acquisition correlated variables information, right
Variable is ranked up and requires by manpower with splitting etc..
Therefore, the process of above-mentioned configuration file production is time-consuming and laborious, and efficiency is lower, and not can guarantee the accuracy of data.
Summary of the invention
The embodiment of the present application provides a kind of method and device of documenting, to solve the production of traditional configuration file
Journey is time-consuming and laborious, and efficiency is lower, and the problem of not can guarantee the accuracy of data.
In a first aspect, the embodiment of the present application provides a kind of method of documenting, comprising:
Obtain the A2L file and target acquisition variable that data acquisition party in request provides;
The corresponding variable information of the target acquisition variable is obtained from the A2L file;
Target acquisition configuration rule is determined according to the A2L file;
The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, makes acquisition configuration
File.
It is described that the corresponding variable of the target acquisition variable is obtained from the A2L file in a kind of possible design
Information, comprising:
The A2L file is imported into matlab software, parses the variable information of all variables in the A2L file;
The corresponding variable letter of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Breath.
In a kind of possible design, the target acquisition variable carries marking variable;
The corresponding variable of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Information, comprising:
According to the marking variable, the target acquisition is inquired in the variable information of all variables in the A2L file
The corresponding variable information of variable.
In a kind of possible design, the target acquires the corresponding variable information of variable, comprising:
At least one of variable initial address, varying byte, varying byte sequence and variable offset bit.
It is described that target acquisition configuration rule is determined according to the A2L file in a kind of possible design, comprising:
Obtain the ECU mark of the A2L file;
According to the corresponding relationship of default ECU mark and acquisition configuration rule, determine that the ECU mark of the A2L file corresponds to
Target acquisition configuration rule.
In a kind of possible design, the corresponding variable information of variable and the target are acquired according to the target described
Acquisition configuration is regular, before production acquisition configuration file, further includes:
The target is acquired into the corresponding variable information of variable and the target acquisition configuration rule imports matlab software.
It is described to be adopted according to the target acquisition corresponding variable information of variable and the target in a kind of possible design
Collect configuration rule, make acquisition configuration file, comprising:
The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, acquisition configuration is set
File name, variable channel, variable frequency acquisition and variable acquire sequencing;
Acquisition configuration file is made according to the information of setting.
Second aspect, the embodiment of the present application provide a kind of device of documenting, comprising:
Module is obtained, for obtaining the A2L file and target acquisition variable that data acquisition party in request provides;
Processing module, for obtaining the corresponding variable information of the target acquisition variable from the A2L file;
Determining module, for determining target acquisition configuration rule according to the A2L file;
Module is made, for acquiring the corresponding variable information of variable and target acquisition configuration rule according to the target
Then, acquisition configuration file is made.
In a kind of possible design, the processing module is specifically used for:
The A2L file is imported into matlab software, parses the variable information of all variables in the A2L file;
The corresponding variable letter of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Breath.
In a kind of possible design, the target acquisition variable carries marking variable;
The corresponding variable of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Information, comprising:
According to the marking variable, the target acquisition is inquired in the variable information of all variables in the A2L file
The corresponding variable information of variable.
In a kind of possible design, the target acquires the corresponding variable information of variable, comprising:
At least one of variable initial address, varying byte, varying byte sequence and variable offset bit.
In a kind of possible design, the determining module is specifically used for:
Obtain the ECU mark of the A2L file;
According to the corresponding relationship of default ECU mark and acquisition configuration rule, determine that the ECU mark of the A2L file corresponds to
Target acquisition configuration rule.
In a kind of possible design, further includes: import modul, for described corresponding according to target acquisition variable
Variable information and target acquisition configuration rule, it is before making acquisition configuration file, target acquisition variable is corresponding
Variable information and the target acquisition configuration rule import matlab software.
In a kind of possible design, the production module is specifically used for:
The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, acquisition configuration is set
File name, variable channel, variable frequency acquisition and variable acquire sequencing;
Acquisition configuration file is made according to the information of setting.
The third aspect, the embodiment of the present application provide a kind of device of documenting, comprising: at least one processor and storage
Device;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one
The method that processor executes documenting described in the various possible designs of first aspect and first aspect as above.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage medium
Computer executed instructions are stored in matter, when processor execute the computer executed instructions when, realize first aspect as above with
And the method for documenting described in the various possible designs of first aspect.
The method and device of documenting provided in this embodiment, this method is by obtaining corresponding A2L file and target
Variable is acquired, the corresponding variable information of target acquisition variable is obtained from A2L file, and determine that target acquires according to A2L file
Configuration rule can quickly and accurately obtain variable information and acquisition configuration rule;And it is corresponding according to target acquisition variable
Variable information and target acquisition configuration rule, make acquisition configuration file, without relying on manpower, improve acquisition configuration documenting
Efficiency and accuracy rate, and production acquisition configuration file can be visualized, meet plurality of application scenes needs.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this Shen
Some embodiments please for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the configuration diagram of the system of documenting provided by the embodiments of the present application;
Fig. 2 is the flow diagram one of the method for documenting provided by the embodiments of the present application;
Fig. 3 is the flow diagram two of the method for documenting provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram one of the device of documenting provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram two of the device of documenting provided by the embodiments of the present application;
Fig. 6 is the hardware structural diagram of the device of documenting provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, belongs to the range of the protection of the application.
Acquisition configuration file is used to refer to the document of agreement of guide-car's mounted terminal and the communication interactive process of ECU, such as instructs
Where car-mounted terminal removes ECU, takes what variable, how long takes primary.Traditional acquisition configuration file is mostly using artificial
Mode made, for example, obtaining correlated variables information, being ranked up to variable and require by manpower with splitting etc..This
Sample, the process for causing configuration file to make is time-consuming and laborious, and efficiency is lower, and not can guarantee the accuracy of data.
Accordingly, it is considered to arrive the above problem, the present embodiment provides a kind of methods of documenting, this method comprises: obtaining number
The A2L file and target provided according to acquisition party in request acquires variable;The target acquisition variable pair is obtained from the A2L file
The variable information answered;Target acquisition configuration rule is determined according to the A2L file;The corresponding change of variable is acquired according to the target
Information and target acquisition configuration rule are measured, acquisition configuration file is made.Method provided in this embodiment is corresponding by obtaining
A2L file and target acquire variable, the corresponding variable information of target acquisition variable is obtained from A2L file, and according to A2L text
Part determines target acquisition configuration rule, can quickly and accurately obtain variable information and acquisition configuration rule;And according to target
The corresponding variable information of variable and target acquisition configuration rule are acquired, makes acquisition configuration file, without relying on manpower, raising is adopted
Collect configuration file producing efficiency and accuracy rate, and production acquisition configuration file can be visualized, meets plurality of application scenes need
It wants.
The present embodiment provides a kind of method of documenting, what this method can be adapted for documenting shown in FIG. 1 is
The configuration diagram of system, as shown in Figure 1, system provided in this embodiment includes car networking platform 101 and data acquisition party in request.
The available data of car networking platform 101 acquire the A2L file that party in request provides and target acquires variable;It can also be from described
The corresponding variable information of the target acquisition variable is obtained in A2L file;Also target acquisition configuration is determined according to the A2L file
Rule;The corresponding variable information of variable and target acquisition configuration rule can be acquired according to the target simultaneously, production is adopted
Collect configuration file.The present embodiment car networking platform 101 can acquire party in request with data and carry out information exchange, and data acquire demand
Can be with for terminal, such as car-mounted terminal.
How the technical solution of the application and the technical solution of the application are solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
Fig. 2 is the flow diagram one of the method for documenting provided by the embodiments of the present application, the execution master of the present embodiment
Body can be the car networking platform 101 in embodiment illustrated in fig. 1, or terminal, such as car-mounted terminal.The present embodiment is herein
It is not particularly limited.As shown in Fig. 2, this method may include:
S201: the A2L file and target acquisition variable that data acquisition party in request provides are obtained.
Wherein, the content that A2L file mainly includes, comprising: the corresponding ECU software information of A2L file, ECU system information,
And the agreement of car-mounted terminal and ECU communication mode.Each A2L file corresponds to a kind of agreement communication modes, that is, corresponding one
Kind acquisition configuration rule.
Target acquisition variable is one or more acquisition variable needed for data acquisition party in request.
Optionally, believe to obtain the corresponding variable of the target acquisition variable in subsequent step from the A2L file
The accuracy of breath, the target acquisition variable carry marking variable.
Wherein, marking variable can uniquely identify variable.Such as: marking variable can be the title of variable.
S202: the corresponding variable information of the target acquisition variable is obtained from the A2L file.
Optionally, for the accuracy of subsequent production acquisition configuration file, the target acquires the corresponding variable letter of variable
Breath, including but not limited to:
At least one of variable initial address, varying byte, varying byte sequence and variable offset bit.
Illustratively, variable initial address refers to the initial address of the address of variable.For example, the address of a variable is
1200-1203, initial address 1200.
Varying byte refers to the byte quantity of variable.
Varying byte sequence refers to the joining method of variable initial address.Illustratively, varying byte sequence includes big syllable sequence
And little-endian.When variable initial address is 1200, and varying byte sequence is big syllable sequence, variable initial address is stored as 12
00;When varying byte sequence is little-endian, variable initial address is stored as 00 12.
Variable offset bit refers to the substitution value of variable information.One message could must completely be sent, when a variable is believed
When breath can not be read, this variable information is just abandoned, which is replaced using variable offset bit, to guarantee the normal of message
It sends.
S203: target acquisition configuration rule is determined according to the A2L file.
Wherein, acquisition configuration rule refers to the agreement of car-mounted terminal Yu ECU communication mode.Each A2L file has and it
Corresponding acquisition configuration rule.
Optionally, target acquisition configuration rule is determined according to the A2L file, it is including but not limited to real in the following way
It is existing:
Obtain the ECU mark of the A2L file;
According to the corresponding relationship of default ECU mark and acquisition configuration rule, determine that the ECU mark of the A2L file corresponds to
Target acquisition configuration rule.Wherein, above-mentioned default ECU mark can be according to practical feelings with the corresponding relationship of acquisition configuration rule
Condition setting.
S204: the corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, production is adopted
Collect configuration file.
It is optionally, described that the corresponding variable information of variable and target acquisition configuration rule are acquired according to the target,
Acquisition configuration file is made, can be realized through but not limited to such as under type:
The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, acquisition configuration is set
File name, variable channel, variable frequency acquisition and variable acquire sequencing;
Acquisition configuration file is made according to the information of setting.
Illustratively, the acquisition variable can be ranked up according to the variable initial address of acquisition variable;According to adopting
The varying byte of collection variable splits the acquisition variable;Spliced according to varying byte ordered pair variable initial address;
The substitution value of variable information is obtained according to variable offset bit.Thus the file name of setting acquisition configuration, variable channel, variable are adopted
Collect the information such as frequency and variable acquisition sequencing, makes acquisition configuration file according to above- mentioned information.
The method of documenting provided in this embodiment acquires variable by obtaining corresponding A2L file and target, from
The corresponding variable information of target acquisition variable is obtained in A2L file, and target acquisition configuration rule, energy are determined according to A2L file
It is enough quickly and accurately to obtain variable information and acquisition configuration rule;And according to target acquire the corresponding variable information of variable and
Target acquisition configuration rule, makes acquisition configuration file, without relying on manpower, improves acquisition configuration documenting efficiency and accurate
Rate, and production acquisition configuration file can be visualized, meet plurality of application scenes needs.
Fig. 3 is the flow diagram two of the method for documenting provided by the embodiments of the present application, the execution master of the present embodiment
Body can be the car networking platform 101 in embodiment illustrated in fig. 1, or terminal, such as car-mounted terminal.As shown in figure 3, should
Method includes:
S301: the A2L file and target acquisition variable that data acquisition party in request provides are obtained.
Step S301 is identical as the implementation of above-mentioned steps S201, and details are not described herein again.
S302: the corresponding variable information of the target acquisition variable is obtained from the A2L file.
Optionally, described that the corresponding variable information of the target acquisition variable is obtained from the A2L file, it can pass through
But it is not limited to such as under type:
S3021: importing matlab software for the A2L file, parses the variable letter of all variables in the A2L file
Breath.
S3022: the corresponding change of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Measure information.
The corresponding variable information of the target acquisition variable is obtained from the A2L file through the above way, it can be fast
Speed accurately obtains the corresponding variable information of target acquisition variable.
Optionally, the A2L file is imported into matlab software, parses the variable of all variables in the A2L file
Information, including but not limited to: the A2L file being imported into matlab software, the A2L file is parsed by regular expression
In all variables variable information.
By the way that the A2L file is imported matlab software, is parsed in the A2L file and owned by regular expression
The variable information of variable ensure that the accuracy of the variable information parsing of all variables in A2L file.
Optionally, the target acquisition variable pair is inquired in the variable information of all variables in the A2L file
The variable information answered, including but not limited to: according to the marking variable, the variable information of all variables in the A2L file
The middle inquiry target acquires the corresponding variable information of variable.
By inquiring the target in the variable information of all variables in the A2L file according to the marking variable
The corresponding variable information of variable is acquired, guarantees the accuracy of the corresponding variable information of target acquisition variable of inquiry.
S303: target acquisition configuration rule is determined according to the A2L file.
Step S303 is identical as the implementation of above-mentioned steps S203, and details are not described herein again.
S304: the target is acquired into the corresponding variable information of variable and the target acquisition configuration rule imports matlab
Software.
The target is acquired into the corresponding variable information of variable and the target acquisition configuration rule imports matlab software,
Step S305 is executed by matlab software, without relying on manpower, improves acquisition configuration documenting efficiency and accuracy rate.
S305: the corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, production is adopted
Collect configuration file.
Step S305 is identical as the implementation of above-mentioned steps S204, and details are not described herein again.
The method of documenting provided in this embodiment acquires variable by obtaining corresponding A2L file and target, from
The corresponding variable information of target acquisition variable is obtained in A2L file, and target acquisition configuration rule, energy are determined according to A2L file
It is enough quickly and accurately to obtain variable information and acquisition configuration rule;And according to target acquire the corresponding variable information of variable and
Target acquisition configuration rule, makes acquisition configuration file, without relying on manpower, improves acquisition configuration documenting efficiency and accurate
Rate, and production acquisition configuration file can be visualized, meet plurality of application scenes needs.The present embodiment is some optional simultaneously
Mode can quickly and accurately obtain the corresponding variable information of target acquisition variable;Guarantee the change of all variables in A2L file
Measure the accuracy of information parsing;Guarantee the accuracy of the corresponding variable information of target acquisition variable of inquiry;Improve acquisition configuration
Documenting efficiency and accuracy rate.
The method of documenting corresponding to foregoing embodiments, Fig. 4 are the dress of documenting provided by the embodiments of the present application
The structural schematic diagram one set.For ease of description, part relevant to the embodiment of the present application is illustrated only.As shown in figure 4, this article
The device 40 of part production includes: to obtain module 401, processing module 402, determining module 403 and production module 404.
Wherein, module 401 is obtained, for obtaining the A2L file and target acquisition variable that data acquisition party in request provides.
Processing module 402, for obtaining the corresponding variable information of the target acquisition variable from the A2L file.
Determining module 403, for determining target acquisition configuration rule according to the A2L file.
Module 404 is made, for acquiring the corresponding variable information of variable and the target acquisition configuration according to the target
Rule makes acquisition configuration file.
Device provided by the embodiments of the present application can be used for executing the technical solution of above method embodiment, realization principle
Similar with technical effect, details are not described herein again for the present embodiment.
Fig. 5 is the structural schematic diagram two of the device of documenting provided by the embodiments of the present application.As shown in figure 5, this document
The device 50 of production is on the basis of fig. 4, further includes: import modul 405.
Optionally, the processing module 402 is specifically used for:
The A2L file is imported into matlab software, parses the variable information of all variables in the A2L file;
The corresponding variable letter of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Breath.
Optionally, the target acquisition variable carries marking variable;
The corresponding variable of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Information, comprising:
According to the marking variable, the target acquisition is inquired in the variable information of all variables in the A2L file
The corresponding variable information of variable.
Optionally, the corresponding variable information of the target acquisition variable, comprising:
At least one of variable initial address, varying byte, varying byte sequence and variable offset bit.
Optionally, the determining module 403 is specifically used for:
Obtain the ECU mark of the A2L file;
According to the corresponding relationship of default ECU mark and acquisition configuration rule, determine that the ECU mark of the A2L file corresponds to
Target acquisition configuration rule.
Optionally, import modul 405, for described according to the corresponding variable information of target acquisition variable and described
Target acquisition configuration rule, before making acquisition configuration file, by the corresponding variable information of target acquisition variable and described
Target acquisition configuration rule imports matlab software.
Optionally, the production module 404, is specifically used for:
The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, acquisition configuration is set
File name, variable channel, variable frequency acquisition and variable acquire sequencing;
Acquisition configuration file is made according to the information of setting.
Device provided by the embodiments of the present application can be used for executing the technical solution of above method embodiment, realization principle
Similar with technical effect, details are not described herein again for the embodiment of the present application.
Fig. 6 is the hardware structural diagram of the device of documenting provided by the embodiments of the present application.As shown in fig. 6, this reality
The device 60 for applying the documenting of example includes: processor 601 and memory 602;Wherein
Memory 602, for storing computer executed instructions;
Processor 601, for executing the computer executed instructions of memory storage, to realize file system in above-described embodiment
Each step of the method for documenting performed by the device of work.The correlation that specifically may refer in preceding method embodiment is retouched
It states.
Optionally, memory 602 can also be integrated with processor 601 either independent.
When memory 602 is independently arranged, the device of this document production further includes bus 603, for connecting the storage
Device 602 and processor 601.
The embodiment of the present application also provides a kind of computer readable storage medium, stores in the computer readable storage medium
There are computer executed instructions, when processor executes the computer executed instructions, realizes the side of documenting as described above
Method.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the Installation practice of documenting described above is only schematical, for example, the mould
The division of block, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple modules can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, the INDIRECT COUPLING of device or module
Or communication connection, it can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of the modules therein can be selected to realize this embodiment scheme according to the actual needs.
It, can also be in addition, each functional module in each embodiment of the application can integrate in one processing unit
It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned module at
Unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated module realized in the form of software function module, can store and computer-readable deposit at one
In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor execute described in each embodiment of the application
The part steps of the method for documenting.
It should be understood that above-mentioned processor can be central processing unit (Central Processing Unit, abbreviation CPU),
It can also be other general processors, digital signal processor (Digital Signal Processor, abbreviation DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC) etc..General processor can be
Microprocessor or the processor are also possible to any conventional processor etc..In conjunction with the side of documenting disclosed in the present application
The step of method, can be embodied directly in hardware processor and execute completion, or in processor hardware and software module combination hold
Row is completed.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one
Magnetic disk storage can also be USB flash disk, mobile hard disk, read-only memory, disk or CD etc..
It is total that bus can be industry standard architecture (Industry Standard Architecture, abbreviation ISA)
Line, external equipment interconnection (Peripheral Component Interconnect, abbreviation PCI) bus or extension industrial standard
Architecture (Extended Industry Standard Architecture, abbreviation EISA) bus etc..Bus can be divided into
Address bus, data/address bus, control bus etc..For convenient for indicating, the bus in illustrations does not limit only one always
Line or a type of bus.
Above-mentioned storage medium can be by any kind of volatibility or non-volatile memory device or their combination
It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable
Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory,
Disk or CD.Storage medium can be any usable medium that general or specialized computer can access.
A kind of illustrative storage medium is coupled to processor, believes to enable a processor to read from the storage medium
Breath, and information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.It processor and deposits
Storage media can be located at specific integrated circuit (Application Specific Integrated Circuits, abbreviation ASIC)
In.Certainly, pocessor and storage media can also be used as discrete assembly and be present in electronic equipment or main control device.
Those of ordinary skill in the art will appreciate that: realize all or part of the embodiment of the method for above-mentioned each documenting
This can be accomplished by hardware associated with program instructions for step.Program above-mentioned can store to be situated between in a computer-readable storage
In matter.The program when being executed, executes the embodiment of the method for including the steps that above-mentioned each documenting;And storage medium above-mentioned
It include: the various media that can store program code such as ROM, RAM, magnetic or disk.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent
Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (16)
1. a kind of method of documenting characterized by comprising
Obtain the A2L file and target acquisition variable that data acquisition party in request provides;
The corresponding variable information of the target acquisition variable is obtained from the A2L file;
Target acquisition configuration rule is determined according to the A2L file;
The corresponding variable information of variable and target acquisition configuration rule, production acquisition configuration text are acquired according to the target
Part.
2. the method according to claim 1, wherein described obtain the target acquisition from the A2L file
The corresponding variable information of variable, comprising:
The A2L file is imported into matlab software, parses the variable information of all variables in the A2L file;
The corresponding variable information of the target acquisition variable is inquired in the variable information of all variables in the A2L file.
3. according to the method described in claim 2, it is characterized in that, target acquisition variable carries marking variable;
The corresponding variable letter of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Breath, comprising:
According to the marking variable, the target acquisition variable is inquired in the variable information of all variables in the A2L file
Corresponding variable information.
4. according to the method in any one of claims 1 to 3, which is characterized in that the target acquires the corresponding change of variable
Measure information, comprising:
At least one of variable initial address, varying byte, varying byte sequence and variable offset bit.
5. the method according to claim 1, wherein described determine target acquisition configuration according to the A2L file
Rule, comprising:
Obtain the ECU mark of the A2L file;
According to the corresponding relationship of default ECU mark and acquisition configuration rule, determine that the ECU of the A2L file identifies corresponding mesh
Mark acquisition configuration rule.
6. the method according to claim 1, wherein acquiring the corresponding variable of variable according to the target described
Information and the target acquisition configuration are regular, before production acquisition configuration file, further includes:
The target is acquired into the corresponding variable information of variable and the target acquisition configuration rule imports matlab software.
7. the method according to claim 1, wherein described acquire the corresponding variable letter of variable according to the target
Breath and target acquisition configuration rule, make acquisition configuration file, comprising:
The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, acquisition configuration file is set
Title, variable channel, variable frequency acquisition and variable acquire sequencing;
Acquisition configuration file is made according to the information of setting.
8. a kind of device of documenting characterized by comprising
Module is obtained, for obtaining the A2L file and target acquisition variable that data acquisition party in request provides;
Processing module, for obtaining the corresponding variable information of the target acquisition variable from the A2L file;
Determining module, for determining target acquisition configuration rule according to the A2L file;
Module is made, for acquiring the corresponding variable information of variable and target acquisition configuration rule, system according to the target
Make acquisition configuration file.
9. device according to claim 8, which is characterized in that the processing module is specifically used for:
The A2L file is imported into matlab software, parses the variable information of all variables in the A2L file;
The corresponding variable information of the target acquisition variable is inquired in the variable information of all variables in the A2L file.
10. device according to claim 9, which is characterized in that the target acquisition variable carries marking variable;
The corresponding variable letter of the target acquisition variable is inquired in the variable information of all variables in the A2L file
Breath, comprising:
According to the marking variable, the target acquisition variable is inquired in the variable information of all variables in the A2L file
Corresponding variable information.
11. the device according to any one of claim 8 to 10, which is characterized in that the target acquisition variable is corresponding
Variable information, comprising:
At least one of variable initial address, varying byte, varying byte sequence and variable offset bit.
12. device according to claim 8, which is characterized in that the determining module is specifically used for:
Obtain the ECU mark of the A2L file;
According to the corresponding relationship of default ECU mark and acquisition configuration rule, determine that the ECU of the A2L file identifies corresponding mesh
Mark acquisition configuration rule.
13. device according to claim 8, which is characterized in that further include: import modul is used for described according to
Target acquires the corresponding variable information of variable and target acquisition configuration rule, will be described before making acquisition configuration file
Target acquires the corresponding variable information of variable and the target acquisition configuration rule imports matlab software.
14. device according to claim 8, which is characterized in that the production module is specifically used for:
The corresponding variable information of variable and target acquisition configuration rule are acquired according to the target, acquisition configuration file is set
Title, variable channel, variable frequency acquisition and variable acquire sequencing;
Acquisition configuration file is made according to the information of setting.
15. a kind of device of documenting characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that at least one described processing
The method that device executes documenting as described in any one of claim 1 to 7.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
It executes instruction, when processor executes the computer executed instructions, realizes file as described in any one of claim 1 to 7
The method of production.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910657420.XA CN110362361A (en) | 2019-07-19 | 2019-07-19 | The method and device of documenting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910657420.XA CN110362361A (en) | 2019-07-19 | 2019-07-19 | The method and device of documenting |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110362361A true CN110362361A (en) | 2019-10-22 |
Family
ID=68221439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910657420.XA Pending CN110362361A (en) | 2019-07-19 | 2019-07-19 | The method and device of documenting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110362361A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111159980A (en) * | 2019-12-30 | 2020-05-15 | 潍柴动力股份有限公司 | Data conversion method and device |
CN113254479A (en) * | 2020-02-12 | 2021-08-13 | 彩虹无线(北京)新技术有限公司 | Data measuring method and device for electronic control unit |
CN114780326A (en) * | 2022-04-27 | 2022-07-22 | 镁佳(北京)科技有限公司 | Cross-platform calibration test method, device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2682865A1 (en) * | 2012-07-05 | 2014-01-08 | Vector Informatik GmbH | Method for communicating with a control programme of a control device and application modules for same |
CN104954405A (en) * | 2014-03-28 | 2015-09-30 | 厦门雅迅网络股份有限公司 | Method and system for collecting and processing electronic injection signal of vehicle |
CN107347101A (en) * | 2016-08-19 | 2017-11-14 | 武汉英泰斯特电子技术有限公司 | A kind of car networking CAN collecting methods |
CN109765875A (en) * | 2018-11-30 | 2019-05-17 | 联合汽车电子有限公司 | Whole vehicle functions module automatic calibration system and method |
-
2019
- 2019-07-19 CN CN201910657420.XA patent/CN110362361A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2682865A1 (en) * | 2012-07-05 | 2014-01-08 | Vector Informatik GmbH | Method for communicating with a control programme of a control device and application modules for same |
CN104954405A (en) * | 2014-03-28 | 2015-09-30 | 厦门雅迅网络股份有限公司 | Method and system for collecting and processing electronic injection signal of vehicle |
CN107347101A (en) * | 2016-08-19 | 2017-11-14 | 武汉英泰斯特电子技术有限公司 | A kind of car networking CAN collecting methods |
CN109765875A (en) * | 2018-11-30 | 2019-05-17 | 联合汽车电子有限公司 | Whole vehicle functions module automatic calibration system and method |
Non-Patent Citations (1)
Title |
---|
余彬彬: "基于CCP协议的电控柴油机数据采集***设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111159980A (en) * | 2019-12-30 | 2020-05-15 | 潍柴动力股份有限公司 | Data conversion method and device |
CN111159980B (en) * | 2019-12-30 | 2023-11-17 | 潍柴动力股份有限公司 | Data conversion method and device |
CN113254479A (en) * | 2020-02-12 | 2021-08-13 | 彩虹无线(北京)新技术有限公司 | Data measuring method and device for electronic control unit |
CN113254479B (en) * | 2020-02-12 | 2024-03-19 | 彩虹无线(北京)新技术有限公司 | Data measurement method and device for electronic control unit |
CN114780326A (en) * | 2022-04-27 | 2022-07-22 | 镁佳(北京)科技有限公司 | Cross-platform calibration test method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110362361A (en) | The method and device of documenting | |
CN108491529B (en) | Information recommendation method and device | |
CN106371954B (en) | I2C bus verification method and system based on 10-bit slave address | |
CN112597153B (en) | Block chain-based data storage method, device and storage medium | |
CN109324813A (en) | Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media | |
CN110543404A (en) | Server, hard disk lighting method and system and computer readable storage medium | |
CN110244604A (en) | Data transmission method, device, electronic equipment and storage medium | |
CN110347545A (en) | A kind of test method and device of business platform cache policy | |
CN111460098B (en) | Text matching method and device and terminal equipment | |
CN104598161B (en) | Digital independent, wiring method and device and data store organisation | |
CN109656797B (en) | Log data association method and device | |
CN108259637A (en) | A kind of NAT device recognition methods and device based on decision tree | |
CN107770299A (en) | A kind of MAC Address writes with a brush dipped in Chinese ink method, system, device and storage medium | |
CN114818594A (en) | Automatic wiring and naming method, device, equipment and medium | |
CN109783589A (en) | The method, apparatus and storage medium of electronic map parsing address | |
CN105681199A (en) | Method and device for processing message data in vehicular bus | |
CN111292809A (en) | Method, electronic device, and computer storage medium for detecting RNA level gene fusion | |
CN106156173A (en) | Cheating identification method and device and terminal | |
CN110209605A (en) | The register reading/writing method and calculating equipment of PCIE Cardbus NIC Cardbus | |
CN110572278B (en) | Method and device for positioning information of three-layer gateway of metropolitan area network | |
CN111049717A (en) | Variable acquisition method and equipment | |
CN104615564A (en) | Data transmission method based on QPI bus and computer system | |
CN114783472A (en) | Data processing system, method and device based on storage equipment | |
WO2019019456A1 (en) | Claim settlement data processing method and apparatus, computer device and storage medium | |
CN114637551A (en) | Device driving method, system 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191022 |
|
RJ01 | Rejection of invention patent application after publication |