CN109782736A - Vehicle data read method, device, mobile unit - Google Patents
Vehicle data read method, device, mobile unit Download PDFInfo
- Publication number
- CN109782736A CN109782736A CN201910074520.XA CN201910074520A CN109782736A CN 109782736 A CN109782736 A CN 109782736A CN 201910074520 A CN201910074520 A CN 201910074520A CN 109782736 A CN109782736 A CN 109782736A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- data flow
- reading
- vehicle
- instruction
- 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
Abstract
This application discloses a kind of vehicle data read methods, and the configuration file of vehicle data is read by judging whether there is, and the entry instruction of specified data flow correspondence system is incorporated into the configuration file and reads the reading instruction of specified data flow;If configuration file exists, is entered in the specified corresponding system of data flow according to the entry instruction in configuration file, specified data flow is read out.The application directly can specify data flow according to configuration file circle collection at the time of reading, it does not need to carry out multiple information exchange again, greatly reduce the inquiry time required for reading data flow, improve the efficiency of vehicle data reading, realize vehicle data it is real-time, rapidly read, the user experience is improved.In addition, the application also provides a kind of vehicle data reading device, mobile unit and computer readable storage medium having above-mentioned technique effect.
Description
Technical field
This application involves technical field of vehicle control, more particularly to a kind of vehicle data read method, device, vehicle-mounted set
Standby and computer readable storage medium.
Background technique
OBD (On-Board Diagnostic, onboard diagnostic system) can monitor the operation conditions and tail of engine at any time
The working condition of gas after-treatment system can issue warning once discovery is possible to cause to discharge exceeded situation at once.Work as system
When failure, trouble light (MIL) or inspection engine (Check Engine) emergency warning lamp are bright, while OBD system can be by failure
Information is stored in memory, and relevant information can be read in the form of error code the diagnostic instrments of standard and diagnosis interface.Root
According to the prompt of error code, maintenance personal can quickly and accurately determine property and the position of failure.
In the prior art when being diagnosed each time, require by terminal by being inserted in the OBD interface of detected vehicle
It first carries out inquiry and reads the data flow under the system to enter each system of vehicle, then by the OBD interface, select
The specified data flow for needing to read.As it can be seen that it is existing when being diagnosed to detected vehicle, it is required each time by being inserted in vehicle
On OBD interface inquiry after, the data flow in vehicle can be read.The more of terminal and detected vehicle are run past in this way
Secondary interaction can just obtain the data flow of vehicle.And sometimes the time of reading data flow is also longer than the time of inquiry, causing cannot
Enough data flows for quickly reading vehicle.
Summary of the invention
The purpose of the application is to provide a kind of vehicle data read method, device, mobile unit and computer-readable deposits
Storage media, to solve the problems, such as that the data flow that can not achieve vehicle in the prior art is quickly read.
In order to solve the above technical problems, the application provides a kind of vehicle data read method, which comprises
The configuration file for reading vehicle data is judged whether there is, is incorporated into specified data flow pair in the configuration file
It answers the entry instruction of system and reads the reading instruction of the specified data flow;
If the configuration file exists, the specified data flow pair is entered according to the entry instruction in the configuration file
In the system answered, the specified data flow is read out.
Optionally, after the configuration file for judging whether there is reading vehicle data further include:
If the configuration file is not present, the configuration file is obtained from the server end for establishing communication connection, and hold
The subsequent entry instruction according in the configuration file of row enters in the corresponding system of the specified data flow, to the specified number
The step of being read out according to stream.
Optionally, described to include: from the server end acquisition configuration file for establishing communication connection
The identification information of vehicle is sent to the server end, so that the server end is looked into according to the identification information
It looks for the presence or absence of corresponding configuration file;
If the server end is searched there are corresponding configuration file, corresponding configuration text is downloaded from the server end
Part.
Optionally, the identification information of the vehicle is the VIN code of vehicle.
Optionally, the identification information of vehicle is sent to the server end described so that the server end according to
The identification information searches whether that there are after corresponding configuration file further include:
If the server end, which is searched, is not present corresponding configuration file, to the entry instruction for entering each system and
The reading instruction for reading the data flow in each system is acquired;
Collected entry instruction and reading instruction are sent to the server end, so that the server end is therefrom
The entry instruction for entering the corresponding system of the specified data flow and the reading instruction for reading the specified data flow are filtered out,
Generate configuration file, and storage corresponding with the identification information of current detection vehicle;
The configuration file is downloaded from the server end.
Optionally, the generating process of the configuration file further include: the reading of the data flow under same system will be subordinated to
Instruction is configured in blocks in same command block.
Optionally, the configuration file for judging whether there is reading vehicle data includes:
The data flow acquisition instructions that terminal is sent are received, the configuration file for reading vehicle data is judged whether there is.
Optionally, after the configuration file for judging whether there is reading vehicle data further include:
If it exists when multiple configuration files, the selection instruction of the first configuration file of selection of input is received, according to described
Entry instruction in one configuration file enters in the corresponding system of the specified data flow, reads the specified data flow
It takes.
Present invention also provides a kind of vehicle data reading device, described device includes:
Judgment module, for judging whether there is the configuration file for reading vehicle data, in the configuration file comprising into
Enter the entry instruction of specified data flow correspondence system and reads the reading instruction of specified data flow;
Read module enters institute according to the entry instruction in the configuration file if existing for the configuration file
It states in the corresponding system of specified data flow, the specified data flow is read out.
Optionally, further includes:
Module is obtained, if being not present for the configuration file, described in the server end acquisition from foundation communication connection
Configuration file, and execute the subsequent entry instruction according in the configuration file and enter the corresponding system of the specified data flow
In, the step of being read out to the specified data flow.
Optionally, the acquisition module is specifically used for the identification information of vehicle being sent to the server end, so that institute
It states server end and searches whether that there are corresponding configuration files according to the identification information;If the server end searches presence pair
The configuration file answered then downloads corresponding configuration file from the server end.
Optionally, the acquisition module further include:
Corresponding configuration file is not present if searching for the server end in acquisition unit, to each system of entrance
Entry instruction and read the reading instruction of the data flow in each system and be acquired;
Generation unit, for collected entry instruction and reading instruction to be sent to the server end, so that institute
Server end is stated to be screened out from it the entry instruction for entering the corresponding system of the specified data flow and read the specified number
It is instructed according to the reading of stream, generates configuration file, and storage corresponding with the identification information of current detection vehicle;
Download unit, for downloading the configuration file from the server end.
Optionally, the reading instruction for the data flow that the generation unit is also used to be subordinated under same system is single with block
Position configuration is in same command block.
Optionally, the judgment module is also used to receive the data flow acquisition instructions of terminal transmission, judges whether there is reading
Take the configuration file of vehicle data.
Optionally, further includes:
Selecting module, when for multiple configuration files if it exists, the selection for receiving the first configuration file of selection of input refers to
It enables, is entered in the corresponding system of the specified data flow according to the entry instruction in first configuration file, to described specified
Data flow is read out.
Present invention also provides a kind of mobile units, comprising:
Memory, for storing computer program;
Processor performs the steps of when for executing the computer program
The configuration file for reading vehicle data is judged whether there is, is incorporated into specified data flow pair in the configuration file
It answers the entry instruction of system and reads the reading instruction of the specified data flow;
If the configuration file exists, the specified data flow pair is entered according to the entry instruction in the configuration file
In the system answered, the specified data flow is read out.
Optionally, following steps can be implemented when the computer program is executed by processor:
If the configuration file is not present, the configuration file is obtained from the server end for establishing communication connection, and hold
The subsequent entry instruction according in the configuration file of row enters in the corresponding system of the specified data flow, to the specified number
The step of being read out according to stream.
Optionally, following steps can be implemented when the computer program is executed by processor: by the mark of vehicle
Information is sent to the server end, so that the server end searches whether that there are corresponding configurations according to the identification information
File;If the server end is searched there are corresponding configuration file, corresponding configuration file is downloaded from the server end.
Optionally, following steps can be implemented when the computer program is executed by processor: if the server
End, which is searched, is not present corresponding configuration file, then to the data in the entry instruction and each system of reading for entering each system
The reading instruction of stream is acquired;Collected entry instruction and reading instruction are sent to the server end, so that institute
Server end is stated to be screened out from it the entry instruction for entering the corresponding system of the specified data flow and read the specified number
It is instructed according to the reading of stream, generates configuration file, and storage corresponding with the identification information of current detection vehicle;From the server end
Download the configuration file.
Optionally, following steps can be implemented when the computer program is executed by processor: will be subordinated to same
The reading instruction of data flow under system is configured in blocks in same command block.
Optionally, following steps can be implemented when the computer program is executed by processor: being received terminal and sent
Data flow acquisition instructions, judge whether there is read vehicle data configuration file.
Optionally, following steps can be implemented when the computer program is executed by processor: multiple if it exists to match
When setting file, the selection instruction of the first configuration file of selection of input is received, is referred to according to the entrance in first configuration file
It enables and entering in the corresponding system of the specified data flow, the specified data flow is read out.
Present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program, the computer program perform the steps of when being executed by processor
The configuration file for reading vehicle data is judged whether there is, is incorporated into specified data flow pair in the configuration file
It answers the entry instruction of system and reads the reading instruction of the specified data flow;
If the configuration file exists, the specified data flow pair is entered according to the entry instruction in the configuration file
In the system answered, the specified data flow is read out.
Vehicle data read method provided herein reads the configuration text of vehicle data by judging whether there is
Part, the entry instruction of specified data flow correspondence system is incorporated into the configuration file and reads the reading of specified data flow refers to
It enables;If configuration file exists, entered in the specified corresponding system of data flow according to the entry instruction in configuration file, to specified
Data flow is read out.The application by the entry instruction for being incorporated into specified data flow correspondence system and reads specified number in advance
Configuration file is generated according to the reading instruction of stream to be stored in OBD, can directly be referred at the time of reading according to configuration file circle collection
Determine data flow, does not need to carry out multiple information exchange again, greatly reduce the inquiry time required for reading data flow, mention
The efficiency that high vehicle data is read, realize vehicle data it is real-time, rapidly read, the user experience is improved.In addition, this
Application also provides a kind of vehicle data reading device, mobile unit and computer-readable storage medium having above-mentioned technique effect
Matter.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present application or the prior art
Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this Shen
Some embodiments please for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of specific embodiment of vehicle data read method provided herein;
Fig. 2 is the process flow diagram flow chart that the application obtains configuration file from server end;
Fig. 3 is the schematic diagram of another specific embodiment of vehicle data read method provided herein;
Fig. 4 is the structural block diagram of vehicle data reading device provided by the embodiments of the present application;
Fig. 5 is the structural block diagram of mobile unit provided herein.
Specific embodiment
It is existing when being diagnosed to detected vehicle, require each time by the OBD interface inquiry that is inserted on vehicle it
Afterwards, the data flow in vehicle can be read.Vehicle can just be obtained with repeatedly interacting for detected vehicle by running past terminal in this way
Data flow.And sometimes the time of reading data flow is also longer than the time of inquiry, causes quickly read vehicle
Data flow.The core of the application is to provide a kind of vehicle data read method, device, mobile unit and computer-readable storage
Medium, to solve the above technical problems.
In order to make those skilled in the art more fully understand application scheme, with reference to the accompanying drawings and detailed description
The application is described in further detail.Obviously, described embodiments are only a part of embodiments of the present application, rather than
Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall in the protection scope of this application.
A kind of flow chart of specific embodiment of vehicle data read method provided herein was as shown in Figure 1, should
Method is applied particularly to mobile unit, and the mobile unit includes the interior data such as onboard diagnostic system OBD connector, car running computer
Interaction acquisition device;The described method includes:
Step S101: the configuration file for reading vehicle data is judged whether there is, is incorporated into finger in the configuration file
Determine the entry instruction of data flow correspondence system and reads the reading instruction of the specified data flow;
As a kind of specific embodiment, mobile unit can receive terminal transmission data flow acquisition instructions it
Afterwards, step S101 is triggered.The data flow acquisition instructions can receive the instruction of user's input for terminal.Certainly it can also pass through it
His mode triggers step S101, such as when terminal is inserted into mobile unit, automatically generates the data flow acquisition instructions, this is
The realization of the application is not influenced.
Configuration file be it is pre-stored, the entrance into specified data flow correspondence system is at least stored in configuration file
Instruct and read the reading instruction of the specified data flow.By executing the configuration file, can be entered according to entry instruction
In the specified corresponding system of data flow, circulation reading is carried out to the specified data flow.
Step S102: if the configuration file exists, the finger is entered according to the entry instruction in the configuration file
Determine in the corresponding system of data flow, the specified data flow is read out.
In the presence of mobile unit judges configuration file, specified data flow pair is entered according to the entry instruction in configuration file
In the system answered, data flow is specified to be read out this.Configuration file can be one, or multiple.Work as configuration file
When being multiple, one of them can be selected to execute from multiple configuration files.It can specifically be executed according to default sequence, it can also
To be selected from multiple configuration files by user.For example, receiving the selection instruction of the first configuration file of selection of input, root
Enter in the corresponding system of the specified data flow according to the entry instruction in first configuration file, to the specified data flow
It is read out.
Vehicle data read method provided herein leads to below for being applied to onboard diagnostic system OBD connector
The configuration file for judging whether there is and reading vehicle data is crossed, is incorporated into specified data flow correspondence system in the configuration file
Entry instruction and the reading instruction for reading specified data flow;If configuration file exists, referred to according to the entrance in configuration file
It enables and entering in the specified corresponding system of data flow, specified data flow is read out.The application will be incorporated into specified number in advance
Configuration file is generated according to the reading instruction of the specified data flow of entry instruction and reading of stream correspondence system to be stored in OBD,
Data flow directly can be specified according to configuration file circle collection when reading, not need to carry out multiple information exchange again, greatly
Reduce the inquiry time required for reading data flow greatly, improves the efficiency of vehicle data reading, realize vehicle data
In real time, it rapidly reads, the user experience is improved.
On the basis of the above embodiments, vehicle data read method provided herein is judging whether there is reading
After the configuration file of vehicle data further include: if the configuration file is not present, from the server end for establishing communication connection
The configuration file is obtained, and it is corresponding into the specified data flow to execute the subsequent entry instruction according in the configuration file
System in, the step of being read out to the specified data flow.
When configuration file being not present in onboard diagnostic system OBD connector, need to connect from current onboard diagnostic system OBD
The server end that head establishes communication connection obtains configuration file, and the configuration file that will acquire is stored, according to configuration text
Entry instruction in part enters in the corresponding system of the specified data flow, is read out to the specified data flow.
Specifically, referring to Fig. 2 the application from the process flow diagram flow chart of server end acquisition configuration file, the embodiment of the present application
Obtaining the process of the configuration file from the server end for establishing communication connection may include:
Step S201: being sent to the server end for the identification information of vehicle, so that the server end is according to
Identification information searches whether that there are corresponding configuration files;
The identification information of vehicle is the information of unique identification vehicle, can be specially the VIN code of vehicle, can also be certainly
Other forms, it is not limited here.Server end is previously stored with the identification information of vehicle and the corresponding relationship of configuration file, leads to
The identification information for crossing reception vehicle can search configuration file corresponding with the identification information from configuration file.
Step S202: if the server end is searched there are corresponding configuration file, from server end downloading pair
The configuration file answered.
In server end there are when the configuration file of current vehicle, onboard diagnostic system OBD connector is downloaded from server end
The configuration file.Specifically can be using forms such as communications, such as bluetooth, this does not influence the realization of the application.
Step S203: if the server end search be not present corresponding configuration file, to enter each system into
The reading instruction for entering instruction and reading the data flow in each system is acquired;
Step S204: collected entry instruction and reading instruction are sent to the server end, so that the clothes
Business device end is screened out from it the entry instruction for entering the corresponding system of the specified data flow and reads the specified data flow
Reading instruction, generate configuration file, and it is corresponding with the identification information of current detection vehicle store;
After server end collects entry instruction and reads instruction, it is screened out from it into the corresponding system of specified data flow
The entry instruction of system and the reading instruction for reading specified data flow, generate configuration file, and by the configuration file and current inspection
The identification information of measuring car carries out corresponding storage.When collecting order, by all systems of this detection vehicle and the data flow of system
Order is all collected into server end, generates configuration file using server end, onboard diagnostic system OBD connector is according to configuration file
Reading order, being capable of more convenient extension and the specified data flow of adjustment.
The generating process of configuration file can also include: that will be subordinated under same system as a preferred implementation manner,
Data flow reading instruction configured in same command block in blocks.Pass through the data flow that will be subordinated under same system
Reading instruction configured in same command block in blocks, can after entering same system it is unified to the system under to
The data flow of reading is read out, and avoids repeating to bring waste of time and the consumption to system into same system, into one
Step improves the efficiency that vehicle data is read.
Step S205: the configuration file is downloaded from the server end.
The schematic diagram of another specific embodiment of vehicle data read method provided herein as shown in figure 3,
This method specifically includes:
Whether log-on data stream collecting flowchart judges literary comprising reading the configuration of data on onboard diagnostic system OBD connector
Part reads vehicle data if it is present directly recycling according to configuration file.
If not having to read the configuration file of data on onboard diagnostic system OBD connector, the VIN code of vehicle is read, to
Server end requests the configuration file of the VIN code Corresponding matching, if server end there are the configuration file of Corresponding matching, from
Configuration file is written onboard diagnostic system OBD connector, restarts data flow collecting flowchart by server end download configuration file,
It recycles and reads according to configuration file, vehicle data is acquired.
If server end also not with the specified matched configuration file of VIN code, then it represents that need collect generate read refers to
Determine the configuration file of data flow.By each system of server end inquiry, collection is each to enter order, Yi Jijin into system
Enter the order that each system reads all data flows later.The order data being collected into successively is uploaded to server.Wait collect
On the complete vehicle after the systematic order data of institute, server end is chosen according to the data being collected into specified data flow
Institute is systematic to enter order, and reads the reading order of specified data flow.Server end generates configuration file, with this detection vehicle
VIN match storage, for onboard diagnostic system OBD connector according to VIN code downloading.
Onboard diagnostic system OBD connector requests the configuration file of the VIN code Corresponding matching to server, above and below server
Configuration file is carried, onboard diagnostic system OBD connector is written into configuration file, restarts data flow collecting flowchart, according to configuration text
Part circulation is read, and carries out vehicle data collection.
Vehicle data read method provided herein is further elaborated on a specific example below, it should
In embodiment, it is assumed that need quickly to read data flow a, b in system A;The data in data flow c, d and system C in system B
Flow e.
Order into system A is sys_cmdA, and the order of reading data flow a, b are respectively ds_cmd_a, ds_cmd_b;
Order into system B is sys_cmdB, and the order of reading data flow c, d are respectively ds_cmd_c, ds_cmd_d;Into system
The order of C is sys_cmdC, and the order of reading data flow e is ds_cmd_e.
Profile command data are as follows:
The application by the entry instruction for being incorporated into specified data flow correspondence system and reads specified data flow in advance
It reads instruction generation configuration file to be stored in OBD, data directly can be specified according to configuration file circle collection at the time of reading
Stream does not need to carry out multiple information exchange again, greatly reduces the inquiry time required for reading data flow, improve vehicle
The efficiency of reading data, realize vehicle data it is real-time, rapidly read, the user experience is improved.
Vehicle data reading device provided by the embodiments of the present application is introduced below, vehicle data described below is read
Take device that can correspond to each other reference with above-described vehicle data read method.
Fig. 4 is the structural block diagram of vehicle data reading device provided by the embodiments of the present application, is read referring to Fig. 4 vehicle data
Device may include:
Judgment module 100 includes for judging whether there is the configuration file for reading vehicle data, in the configuration file
Into the reading instruction of the specified data flow of entry instruction and reading of specified data flow correspondence system;
Read module 200 enters if existing for the configuration file according to the entry instruction in the configuration file
In the corresponding system of the specified data flow, the specified data flow is read out.
Optionally, further includes:
Module is obtained, if being not present for the configuration file, described in the server end acquisition from foundation communication connection
Configuration file, and execute the subsequent entry instruction according in the configuration file and enter the corresponding system of the specified data flow
In, the step of being read out to the specified data flow.
Optionally, the acquisition module is specifically used for the identification information of vehicle being sent to the server end, so that institute
It states server end and searches whether that there are corresponding configuration files according to the identification information;If the server end searches presence pair
The configuration file answered then downloads corresponding configuration file from the server end.
Optionally, the acquisition module further include:
Corresponding configuration file is not present if searching for the server end in acquisition unit, to each system of entrance
Entry instruction and read the reading instruction of the data flow in each system and be acquired;
Generation unit, for collected entry instruction and reading instruction to be sent to the server end, so that institute
Server end is stated to be screened out from it the entry instruction for entering the corresponding system of the specified data flow and read the specified number
It is instructed according to the reading of stream, generates configuration file, and storage corresponding with the identification information of current detection vehicle;
Download unit, for downloading the configuration file from the server end.
Optionally, the reading instruction for the data flow that the generation unit is also used to be subordinated under same system is single with block
Position configuration is in same command block.
Optionally, the judgment module is also used to receive the data flow acquisition instructions of terminal transmission, judges whether there is reading
Take the configuration file of vehicle data.
Optionally, further includes:
Selecting module, when for multiple configuration files if it exists, the selection for receiving the first configuration file of selection of input refers to
It enables, is entered in the corresponding system of the specified data flow according to the entry instruction in first configuration file, to described specified
Data flow is read out.
The vehicle data reading device of the present embodiment is for realizing vehicle data read method above-mentioned, therefore vehicle data
The embodiment part of the visible vehicle data read method hereinbefore of specific embodiment in reading device, for example, judging mould
Block 100, read module 200 are respectively used to realize step S101, S102 in above-mentioned vehicle data read method, so, it is specific
Embodiment is referred to the description of corresponding various pieces embodiment, and details are not described herein.
In addition, present invention also provides a kind of mobile units, as shown in figure 5, the equipment includes:
Memory 11, for storing computer program;
Processor 12, performs the steps of when for executing the computer program
The configuration file for reading vehicle data is judged whether there is, is incorporated into specified data flow pair in the configuration file
It answers the entry instruction of system and reads the reading instruction of the specified data flow;
If the configuration file exists, the specified data flow pair is entered according to the entry instruction in the configuration file
In the system answered, the specified data flow is read out.
Optionally, following steps can be implemented when the computer program is executed by processor 12:
If the configuration file is not present, the configuration file is obtained from the server end for establishing communication connection, and hold
The subsequent entry instruction according in the configuration file of row enters in the corresponding system of the specified data flow, to the specified number
The step of being read out according to stream.
Optionally, following steps can be implemented when the computer program is executed by processor 12: by the mark of vehicle
Know information and be sent to the server end, so that the server end searches whether to match there are corresponding according to the identification information
Set file;If the server end is searched there are corresponding configuration file, corresponding configuration text is downloaded from the server end
Part.
Optionally, following steps can be implemented when the computer program is executed by processor 12: if the service
Device end, which is searched, is not present corresponding configuration file, then to the number in the entry instruction and each system of reading for entering each system
It is acquired according to the reading instruction of stream;Collected entry instruction and reading instruction are sent to the server end, so that
The server end is screened out from it the entry instruction for entering the corresponding system of the specified data flow and reads described specified
The reading of data flow instructs, and generates configuration file, and storage corresponding with the identification information of current detection vehicle;From the server
Download the configuration file in end.
Optionally, following steps can be implemented when the computer program is executed by processor 12: will be subordinated to same
The reading instruction of data flow under one system is configured in blocks in same command block.
Optionally, following steps can be implemented when the computer program is executed by processor 12: receiving terminal hair
The data flow acquisition instructions sent judge whether there is the configuration file for reading vehicle data.
Optionally, following steps can be implemented when the computer program is executed by processor 12: multiple if it exists
When configuration file, the selection instruction of the first configuration file of selection of input is received, according to the entrance in first configuration file
Instruction enters in the corresponding system of the specified data flow, is read out to the specified data flow.
In addition, being deposited on the computer readable storage medium present invention also provides a kind of computer readable storage medium
Computer program is contained, the computer program performs the steps of when being executed by processor
The configuration file for reading vehicle data is judged whether there is, is incorporated into specified data flow pair in the configuration file
It answers the entry instruction of system and reads the reading instruction of the specified data flow;
If the configuration file exists, the specified data flow pair is entered according to the entry instruction in the configuration file
In the system answered, the specified data flow is read out.
The application by the entry instruction for being incorporated into specified data flow correspondence system and reads specified data flow in advance
It reads instruction generation configuration file to be stored in OBD, data directly can be specified according to configuration file circle collection at the time of reading
Stream does not need to carry out multiple information exchange again, greatly reduces the inquiry time required for reading data flow, improve vehicle
The efficiency of reading data, realize vehicle data it is real-time, rapidly read, the user experience is improved.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part
Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Above to vehicle data read method provided herein, device, mobile unit and computer-readable storage
Medium is described in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, with
The explanation of upper embodiment is merely used to help understand the present processes and its core concept.It should be pointed out that being led for this technology
For the those of ordinary skill in domain, under the premise of not departing from the application principle, can also to the application carry out it is several improvement and
Modification, these improvement and modification are also fallen into the protection scope of the claim of this application.
Claims (10)
1. a kind of vehicle data read method, which is characterized in that the described method includes:
The configuration file for reading vehicle data is judged whether there is, the corresponding system of specified data flow is incorporated into the configuration file
The entry instruction of system and the reading instruction for reading the specified data flow;
If the configuration file exists, it is corresponding that the specified data flow is entered according to the entry instruction in the configuration file
In system, the specified data flow is read out.
2. vehicle data read method as described in claim 1, which is characterized in that judge whether there is reading vehicle described
After the configuration file of data further include:
If the configuration file is not present, the configuration file is obtained from the server end for establishing communication connection, and after execution
It is continuous to be entered in the corresponding system of the specified data flow according to the entry instruction in the configuration file, to the specified data flow
The step of being read out.
3. vehicle data read method as claimed in claim 2, which is characterized in that described from the server for establishing communication connection
End obtains the configuration file
The identification information of vehicle is sent to the server end, so that the server end is according to identification information lookup
It is no that there are corresponding configuration files;
If the server end is searched there are corresponding configuration file, corresponding configuration file is downloaded from the server end.
4. vehicle data read method as claimed in claim 3, which is characterized in that the identification information of the vehicle is vehicle
VIN code.
5. vehicle data read method as claimed in claim 3, which is characterized in that sent in the identification information by vehicle
To the server end, so that the server end searches whether that there are after corresponding configuration file according to the identification information
Further include:
If the server end, which is searched, is not present corresponding configuration file, the entry instruction and reading to each system is entered
The reading instruction of data flow in each system is acquired;
Collected entry instruction and reading instruction are sent to the server end, so that the server end therefrom screens
Enter the entry instruction of the corresponding system of the specified data flow out and read the reading instruction of the specified data flow, generates
Configuration file, and storage corresponding with the identification information of current detection vehicle;
The configuration file is downloaded from the server end.
6. vehicle data read method as claimed in claim 5, which is characterized in that the generating process of the configuration file is also wrapped
It includes: the reading instruction for the data flow being subordinated under same system is configured in blocks in same command block.
7. such as vehicle data read method as claimed in any one of claims 1 to 6, which is characterized in that described to judge whether there is
Read vehicle data configuration file include:
The data flow acquisition instructions that terminal is sent are received, the configuration file for reading vehicle data is judged whether there is.
8. vehicle data read method as claimed in claim 7, which is characterized in that judge whether there is reading vehicle described
After the configuration file of data further include:
If it exists when multiple configuration files, the selection instruction of the first configuration file of selection of input is received, is matched according to described first
It sets the entry instruction in file to enter in the corresponding system of the specified data flow, the specified data flow is read out.
9. a kind of vehicle data reading device, which is characterized in that described device includes:
Judgment module is incorporated into finger in the configuration file for judging whether there is the configuration file for reading vehicle data
Determine the entry instruction of data flow correspondence system and reads the reading instruction of specified data flow;
Read module enters the finger according to the entry instruction in the configuration file if existing for the configuration file
Determine in the corresponding system of data flow, the specified data flow is read out.
10. a kind of mobile unit characterized by comprising
Memory, for storing computer program;
Processor realizes the vehicle data reading side as described in any one of claim 1 to 8 when for executing the computer program
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910074520.XA CN109782736A (en) | 2019-01-25 | 2019-01-25 | Vehicle data read method, device, mobile unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910074520.XA CN109782736A (en) | 2019-01-25 | 2019-01-25 | Vehicle data read method, device, mobile unit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109782736A true CN109782736A (en) | 2019-05-21 |
Family
ID=66501367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910074520.XA Pending CN109782736A (en) | 2019-01-25 | 2019-01-25 | Vehicle data read method, device, mobile unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109782736A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111731207A (en) * | 2020-06-18 | 2020-10-02 | 北京百度网讯科技有限公司 | Method, device and equipment for acquiring vehicle configuration information and storage medium |
CN112363925A (en) * | 2020-11-10 | 2021-02-12 | 湖北亿咖通科技有限公司 | Method for acquiring vehicle-mounted machine basic information, electronic equipment and computer storage medium |
CN113031561A (en) * | 2021-03-05 | 2021-06-25 | 深圳市元征科技股份有限公司 | Vehicle data acquisition method, transmission method, electronic device and storage medium |
CN116346888A (en) * | 2023-01-04 | 2023-06-27 | 深圳市元征科技股份有限公司 | Configuration file generation method, device and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014021781A (en) * | 2012-07-19 | 2014-02-03 | Hitachi Ltd | Portable information terminal device, server device and apparatus monitoring method |
CN103576668A (en) * | 2012-07-26 | 2014-02-12 | 博世汽车检测设备(深圳)有限公司 | Method and device for vehicle diagnosis |
CN104484197A (en) * | 2014-12-04 | 2015-04-01 | 深圳长城开发科技股份有限公司 | Management method, management device and management system based on configuration file |
CN107222545A (en) * | 2017-06-20 | 2017-09-29 | 北京全域医疗技术有限公司 | A kind of data transmission method and device |
CN108196861A (en) * | 2017-12-29 | 2018-06-22 | 深圳市元征科技股份有限公司 | A kind of data updating method and its diagnostic device |
-
2019
- 2019-01-25 CN CN201910074520.XA patent/CN109782736A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014021781A (en) * | 2012-07-19 | 2014-02-03 | Hitachi Ltd | Portable information terminal device, server device and apparatus monitoring method |
CN103576668A (en) * | 2012-07-26 | 2014-02-12 | 博世汽车检测设备(深圳)有限公司 | Method and device for vehicle diagnosis |
CN104484197A (en) * | 2014-12-04 | 2015-04-01 | 深圳长城开发科技股份有限公司 | Management method, management device and management system based on configuration file |
CN107222545A (en) * | 2017-06-20 | 2017-09-29 | 北京全域医疗技术有限公司 | A kind of data transmission method and device |
CN108196861A (en) * | 2017-12-29 | 2018-06-22 | 深圳市元征科技股份有限公司 | A kind of data updating method and its diagnostic device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111731207A (en) * | 2020-06-18 | 2020-10-02 | 北京百度网讯科技有限公司 | Method, device and equipment for acquiring vehicle configuration information and storage medium |
CN112363925A (en) * | 2020-11-10 | 2021-02-12 | 湖北亿咖通科技有限公司 | Method for acquiring vehicle-mounted machine basic information, electronic equipment and computer storage medium |
CN113031561A (en) * | 2021-03-05 | 2021-06-25 | 深圳市元征科技股份有限公司 | Vehicle data acquisition method, transmission method, electronic device and storage medium |
CN116346888A (en) * | 2023-01-04 | 2023-06-27 | 深圳市元征科技股份有限公司 | Configuration file generation method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109782736A (en) | Vehicle data read method, device, mobile unit | |
CN102752360B (en) | Automobile failure detection system based on cloud calculation | |
WO2018112646A1 (en) | System and method for managing a fleet of vehicles including electric vehicles | |
CN107809471A (en) | Intelligent vehicle-mounted system data handling system | |
CN104678990A (en) | Method and device for vehicle self-diagnosis and vehicle self-diagnosis system | |
CN111158718A (en) | Local communication server, OTA (over the air) upgrading method thereof and cloud server | |
CN102880162A (en) | Automobile diagnostic method, system, diagnostic terminal and backstage server | |
CN109635857A (en) | People's wheel paths method for monitoring and analyzing, device, equipment and storage medium | |
CN109766217B (en) | Vehicle machine system fault repairing method and device | |
CN108877188B (en) | Environment-friendly data concurrent acquisition and multi-network publishing method and device | |
CN107590490A (en) | Unanimous vote face information acquisition method, device and the computer-readable recording medium of invoice | |
CN109597634A (en) | The method, apparatus and vehicle of more new vehicle ECU | |
CN109492406A (en) | Monitor the methods, devices and systems of kernel loophole attack | |
CN109895713A (en) | Vehicle failure monitors terminal, method and computer storage medium | |
CN107566518A (en) | The method and apparatus of management equipment information during installation file | |
CN107911410A (en) | Distributed Services process resource consumes statistical method and device | |
CN104331948B (en) | Tachographs upgrade information sending method, method of reseptance, apparatus and system | |
JP2009051345A (en) | Vehicle information collection system and its method | |
CN109600242A (en) | For the management method of household electrical appliances distribution, household electrical appliances, client and system | |
CN107943007A (en) | A kind of decoding method of different automobile types engine data | |
CN109445721A (en) | A kind of method and device of canonical log information printing | |
CN114650211A (en) | Fault repairing method, device, electronic equipment and computer readable storage medium | |
CN109558220A (en) | A kind of management method and equipment of fault car | |
CN112256574A (en) | Vehicle diagnosis method and system and related equipment | |
CN106339797A (en) | Point inspection data processing method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190521 |