CN112256375A - Vehicle information interaction method, device, equipment and medium - Google Patents

Vehicle information interaction method, device, equipment and medium Download PDF

Info

Publication number
CN112256375A
CN112256375A CN202011139714.2A CN202011139714A CN112256375A CN 112256375 A CN112256375 A CN 112256375A CN 202011139714 A CN202011139714 A CN 202011139714A CN 112256375 A CN112256375 A CN 112256375A
Authority
CN
China
Prior art keywords
input
data packet
input frame
vehicle
data
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
Application number
CN202011139714.2A
Other languages
Chinese (zh)
Inventor
刘均
樊球
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202011139714.2A priority Critical patent/CN112256375A/en
Publication of CN112256375A publication Critical patent/CN112256375A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Abstract

The application discloses a vehicle information interaction method, a device, equipment and a medium, wherein the method comprises the following steps: acquiring an open type test sequence source file of a target vehicle through a vehicle diagnosis process, generating an input frame data packet based on the open type test sequence source file, and transmitting the input frame data packet to an interactive display process; displaying an input frame corresponding to the input frame data packet on a local electronic screen through an interactive display process, acquiring input data through the input frame, and transmitting the input data to a vehicle diagnosis process; input data is detected by a vehicle diagnostic process to diagnose a target vehicle. According to the method and the device, the vehicle diagnosis process is utilized, the corresponding input frame data packet is generated based on the acquired open type test sequence source file, then the input frame corresponding to the input frame data packet is displayed through the interactive display process, the corresponding input frame can be displayed quickly and accurately, interaction with a user is achieved, and the target vehicle is diagnosed according to input data input by the user through the input frame.

Description

Vehicle information interaction method, device, equipment and medium
Technical Field
The invention relates to the field of automobile diagnosis, in particular to a vehicle information interaction method, device, equipment and medium.
Background
With the continuous development of the automobile industry, the automobile functions are continuously increased, the corresponding diagnosis special functions are also more and more, the technology of the OTX (Open Test sequence eXchange format) is also more and more emphasized by the automobile industry, the OTX is taken as the ISO standard and has become the preferred choice for manufacturing the special functions by a plurality of host factories, but the interaction between a user and a diagnosis program is needed in the special function flow, the vehicle needs to be diagnosed by inputting related data information by the user, the accuracy requirement of the diagnosis program on the data information input by the user is higher, and the diagnosis program needs to accord with the OTX standard; in addition, different processes such as a client display program, diagnostic software, a communication abstraction layer and the like are involved in the interaction process with the user, so that how to quickly and accurately display a corresponding input box and transmit data information input by the user to the diagnostic program is a problem which is urgently needed to be solved at present.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, a device and a medium for vehicle information interaction, which can solve the implementation problem of an input dialog box in a process of making a special function of vehicle diagnosis by using OTX, and a specific scheme of the method is as follows:
in a first aspect, the application discloses a vehicle information interaction method, which includes:
acquiring an open type test sequence source file of a target vehicle through a vehicle diagnosis process, then generating an input frame data packet based on the open type test sequence source file, and transmitting the input frame data packet to an interactive display process;
displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame, and transmitting the input data to the vehicle diagnosis process;
detecting, by the vehicle diagnostic process, the input data to diagnose the target vehicle.
Optionally, the generating an input box data packet based on the open test sequence source file includes:
analyzing the open type test sequence source file to obtain analyzed data;
and determining configuration parameters corresponding to a preset data packet format from the analyzed data, and generating the input frame data packet based on the configuration parameters and according to the data packet format.
Optionally, the transmitting the input box data packet to an interactive display process includes:
storing the input frame data packet into a shared internal memory so that the interactive display process can acquire the input frame data packet from the shared internal memory; wherein the shared internal memory is an internal memory shared by the vehicle diagnostic process and the interactive display process.
Optionally, the data packet format includes a packet header and a data segment; the packet header comprises a packet header length and a data type, the data section comprises an input box header, prompt information, an initial value identifier, an initial value, a regular expression identifier and a regular expression, and interval identifiers are contained between every two fields.
Optionally, the displaying, by the interactive display process, the input frame corresponding to the input frame data packet on the local electronic screen includes:
parsing the header of the input box data packet by the interactive display process to determine the data type;
and acquiring the title of the input box and the prompt information and displaying the title of the input box and the prompt information on the electronic screen through the interactive display process and based on the interval identification in the data section of the input box data packet.
Optionally, the displaying, by the interactive display process, the input frame corresponding to the input frame data packet on the local electronic screen includes:
inquiring the initial value identification in the input frame data packet through the interactive display process to judge whether the initial value exists in the input frame data packet or not;
and if so, acquiring the initial value and displaying the initial value on the electronic screen.
Optionally, the transmitting the input data to the vehicle diagnostic process includes:
inquiring the regular expression identification and the regular expression through the interactive display process to judge whether the input data conforms to a preset rule or not;
and if so, transmitting the input data to the vehicle diagnosis process.
In a second aspect, the present application discloses a vehicle information interaction device, comprising:
the system comprises an acquisition module, an interactive display process and a display module, wherein the acquisition module is used for acquiring an open type test sequence source file of a target vehicle through the vehicle diagnosis process, then generating an input frame data packet based on the open type test sequence source file, and transmitting the input frame data packet to the interactive display process;
the display module is used for displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame and transmitting the input data to the vehicle diagnosis process;
a diagnostic module to detect the input data through the vehicle diagnostic process to diagnose the target vehicle.
In a third aspect, the present application discloses a diagnostic device comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the vehicle information interaction method.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by the processor implements the aforementioned vehicle information interaction method.
In this way, the open test sequence source file of the target vehicle is acquired through the vehicle diagnosis process, then the input frame data packet is generated based on the open test sequence source file, and the input frame data packet is transmitted to the interactive display process; displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame, and transmitting the input data to the vehicle diagnosis process; finally, the input data is detected by the vehicle diagnostic process to diagnose the target vehicle. In this way, the vehicle diagnosis process generates a corresponding input frame data packet according to the open test sequence source file of the target vehicle, and the interactive display process displays the corresponding input frame on the electronic screen based on the input frame data packet, so that the input frame corresponding to the data in the open test sequence source file of the target vehicle can be generated, a user can input corresponding data information through the input frame, and finally the target vehicle is diagnosed through the data input by the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a vehicle information interaction method provided by the present application;
FIG. 2 is a flowchart of a specific vehicle information interaction method provided herein;
FIG. 3 is a diagram illustrating a packet format provided herein;
FIG. 4 is a schematic diagram of the procedure of the input box provided in the present application in the OTX standard;
FIG. 5 is a schematic diagram of an electronic screen of an interactive display process provided herein;
FIG. 6 is a schematic diagram of an input box provided herein;
FIG. 7 is a flow diagram illustrating an implementation of an input box of an interactive display process according to the present application;
FIG. 8 is a schematic structural diagram of a vehicle information interaction device according to the present application;
fig. 9 is a structural diagram of a diagnostic apparatus provided in the present application.
Detailed Description
The embodiment of the application discloses a vehicle information interaction method, and as shown in fig. 1, the method can comprise the following steps:
step S11: the method comprises the steps of obtaining an open type test sequence source file of a target vehicle through a vehicle diagnosis process, then generating an input frame data packet based on the open type test sequence source file, and transmitting the input frame data packet to an interactive display process.
In this embodiment, an open test sequence source file, that is, an OTX source file, of a target vehicle is first obtained through a vehicle diagnosis process, and specifically, the target vehicle and the vehicle diagnosis process may be connected through a data line and a vehicle diagnosis communication device, so that the vehicle diagnosis process obtains vehicle information such as a vehicle model of the target vehicle, and obtains the open test sequence source file corresponding to the target vehicle, which is published by a manufacturer, through a network based on the vehicle information. And then generating a corresponding input box data packet through the acquired open test sequence source file, wherein it can be understood that the input box displayed on the electronic screen contains partial data information acquired from the open test sequence source file, such as a title and prompt information, so that a user can input corresponding data according to the prompt information in the input box.
Step S12: and displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame, and transmitting the input data to the vehicle diagnosis process.
In this embodiment, after the interactive display process obtains the input frame data packet, a corresponding input frame is displayed on a local electronic screen based on the input frame data packet, and it can be understood that the input frame contains partial information, such as a title and prompt information, corresponding to the open test sequence source file; and then the interactive display process can acquire data input by the user through the input box according to the related prompts in the input box through the input box to obtain the input data and send the input data to the vehicle diagnosis process. Moreover, it is understood that the vehicle diagnosis process and the interactive display process may be two modules disposed in the same terminal.
Step S13: detecting, by the vehicle diagnostic process, the input data to diagnose the target vehicle.
In this embodiment, after the vehicle diagnosis process obtains the input data that is sent by the interactive display process and is input by the input box, whether the target vehicle has a corresponding fault problem is diagnosed by detecting the input data.
As can be seen from the above, in the embodiment, an open test sequence source file of a target vehicle is acquired through a vehicle diagnosis process, then an input frame data packet is generated based on the open test sequence source file, and the input frame data packet is transmitted to an interactive display process; displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame, and transmitting the input data to the vehicle diagnosis process; finally, the input data is detected by the vehicle diagnostic process to diagnose the target vehicle. In this way, the vehicle diagnosis process generates a corresponding input frame data packet according to the open test sequence source file of the target vehicle, and the interactive display process displays the corresponding input frame on the electronic screen based on the input frame data packet, so that the input frame corresponding to the data in the open test sequence source file of the target vehicle can be generated, a user can input corresponding data information through the input frame, and finally the target vehicle is diagnosed through the data input by the user.
The embodiment of the application discloses a specific vehicle information interaction method, and as shown in fig. 2, the method may include the following steps:
step S21: and acquiring an open test sequence source file of the target vehicle through a vehicle diagnosis process.
Step S22: and analyzing the open type test sequence source file to obtain analyzed data.
Step S23: and determining configuration parameters corresponding to a preset data packet format from the analyzed data, and generating the input frame data packet based on the configuration parameters and according to the data packet format.
In this embodiment, after the vehicle diagnosis process obtains the open test sequence source file, the open test sequence source file is analyzed by the vehicle diagnosis process, so as to obtain analyzed data, then configuration parameters corresponding to a preset data packet format are determined from the analyzed data, and then the configuration parameters are assembled into the input box data packet according to the data packet format.
In this embodiment, the data packet format includes a packet header and a data segment; the packet header comprises a packet header length and a data type, the data section comprises an input box header, prompt information, an initial value identifier, an initial value, a regular expression identifier and a regular expression, and interval identifiers are contained between every two fields. Specifically, as shown in fig. 3, the packet header length and the data type are defined according to the analyzed data, then the data segments are assembled according to the configuration parameters, the assembled data segments sequentially include an input frame header, prompt information, an initial value identifier of the input frame, an initial value, a regular expression identifier of the input frame, and a content of the regular expression, and an interval identifier is provided between each field in the data segments to assemble the input frame data packet, in this embodiment, the interval identifier may be "/0". For example, the definition of the input box data packet shown in fig. 4 in the OTX standard, where dialog represents the input box, title represents the input box title, and message represents the prompt information, it may be understood that each displayed input box displays the corresponding input box title and prompt information, the initial value is selectively displayed through an initial value identifier, and whether corresponding rule judgment needs to be performed on the data input by the user through the input box is judged according to the regular expression identifier; it may be set that there is no initial value represented when the above initial value flag is set to "0 x 00", and there is an initial value represented when the above initial value flag is set to "0 x 01"; it may be set that a regular expression rule is characterized to be absent when the regular expression flag is set to "0 x 00", and to be present when the regular expression flag is set to "0 x 01". The regular expression is used for judging whether the input data conform to the regular expression rule or not by using the regular expression after the interactive display process acquires the input data input by the user.
Step S24: storing the input frame data packet into a shared internal memory so that the interactive display process can acquire the input frame data packet from the shared internal memory; wherein the shared internal memory is an internal memory shared by the vehicle diagnostic process and the interactive display process.
In this embodiment, the input frame data packet is transmitted by a shared memory, and after the input frame data packet is assembled, the vehicle diagnosis process stores the input frame data packet in an internal memory shared with the interactive display process, and sends a reception prompt message to the interactive display process, so that the interactive display process obtains the input frame data packet from the internal memory after receiving the reception prompt message; then based on the above input box data packet, displaying the corresponding input box on the local electronic screen, so that the user can input the corresponding input data by the title and prompt information in the above input box and input box
Step S25: parsing the header of the input box data packet by the interactive display process to determine the data type; and acquiring the title of the input box and the prompt information and displaying the title of the input box and the prompt information on the electronic screen through the interactive display process and based on the interval identification in the data section of the input box data packet.
In this embodiment, after the interactive display process obtains the input box data packet from the shared memory, the packet header of the input box data packet is analyzed to determine the data type, and then data such as the title of the input box and the prompt information may be extracted according to the interval identifier "\ 0". For example, the effect diagrams of the input box in the special function operation shown in fig. 5 and 6 are provided, the input box is entitled "write GPF related value", the hint information is "DID 09C1 value", the input value needs to be of 4-bit String type, and the actual value is Bytefield ".
Step S26: inquiring the initial value identification in the input frame data packet through the interactive display process to judge whether the initial value exists in the input frame data packet or not; and if so, acquiring the initial value and displaying the initial value on the electronic screen.
In the embodiment, whether an initial value exists in an input frame data packet is judged by inquiring an initial value identifier, and if so, the initial value is obtained and displayed on an input frame of the electronic screen; for example, when it is found that the initial value flag is set to "0 x 00" to indicate that there is no initial value, and when it is found that the initial value flag is set to "0 x 01" to indicate that there is an initial value, the initial value is read and displayed in the input box.
Step S27: inquiring the regular expression identification and the regular expression through the interactive display process to judge whether the input data conforms to a preset rule or not; and if so, transmitting the input data to the vehicle diagnosis process.
In the embodiment, after the interactive display process acquires the input data input by the user, the regular expression identifier in the input box data packet is inquired, and whether a corresponding regular expression for checking the rule of the input data exists is judged according to the regular expression identifier; for example, when the regular expression flag is set to "0 x 00", it is determined that no regular expression rule exists, and when the regular expression flag is set to "0 x 01", it is determined that the regular expression rule exists, whether the input data meets a preset rule is determined by using the regular expression rule, and if so, the input data is transmitted to a vehicle diagnosis process. It can be understood that, since the data detected by the vehicle diagnostic process is high, for example, the data needs to meet the OTX standard, the above input data can be effectively judged through the regular expression.
The specific process of the input frame display in this embodiment may be as shown in fig. 7, where after receiving the input frame data packet, the interactive display process parses the input frame data packet and obtains the data type of the data packet according to the packet header therein, then intercepts a plurality of fields through an interval flag "\ 0" to obtain an input frame title, prompt information, an initial value identifier, an initial value, a regular expression identifier, and a regular expression, then displays the input frame title and the prompt information in the input frame, and determines whether the initial value identifier is "0 x 00", and if so, obtains the initial value and displays the initial value in the input frame; and then judging whether the regular expression mark is '0 x 00', if so, judging input data input by a user by using the regular expression, and if so, storing the input data into a shared memory so as to be convenient for the vehicle diagnosis process to obtain. Therefore, the accuracy and the efficiency of automobile diagnosis can be improved.
In addition, regarding the step S21, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated herein.
As can be seen from the above, in this embodiment, the open test sequence source file obtained through analysis by the vehicle diagnosis process obtains analyzed data, determines configuration parameters corresponding to a preset data packet format from the analyzed data, generates an input frame data packet according to the data packet format based on the configuration parameters, and stores the input frame data packet in an internal memory shared with the interactive display process, so that the interactive display process obtains the input frame data packet through the internal memory and generates a corresponding input frame on the electronic screen; therefore, a corresponding input data packet is generated according to the configuration parameters corresponding to the preset data packet format in the analyzed open type test sequence source file, so that the interactive display process can display an input frame containing corresponding prompt information based on the input frame data packet, and a user can input corresponding input data according to the prompt information; and the data can be efficiently transmitted between the vehicle diagnosis process and the interactive display process, so that the diagnosis efficiency is improved.
Correspondingly, the embodiment of the present application further discloses a vehicle information interaction device, which is applied to a diagnosis device, and as shown in fig. 8, the device includes:
the acquisition module 11 is configured to acquire an open test sequence source file of a target vehicle through a vehicle diagnosis process, generate an input frame data packet based on the open test sequence source file, and transmit the input frame data packet to an interactive display process;
the display module 12 is configured to display an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquire input data through the input frame, and transmit the input data to the vehicle diagnosis process;
a diagnostic module 13 for detecting the input data to diagnose the target vehicle through the vehicle diagnostic process.
As can be seen from the above, an open test sequence source file of a target vehicle is obtained through a vehicle diagnosis process, then an input frame data packet is generated based on the open test sequence source file, and the input frame data packet is transmitted to an interactive display process; displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame, and transmitting the input data to the vehicle diagnosis process; finally, the input data is detected by the vehicle diagnostic process to diagnose the target vehicle. In this way, the vehicle diagnosis process generates a corresponding input frame data packet according to the open test sequence source file of the target vehicle, and the interactive display process displays the corresponding input frame on the electronic screen based on the input frame data packet, so that the input frame corresponding to the data in the open test sequence source file of the target vehicle can be generated, a user can input corresponding data information through the input frame, and finally the target vehicle is diagnosed through the data input by the user.
In some specific embodiments, the obtaining module 11 may specifically include:
the analysis unit is used for analyzing the open type test sequence source file to obtain analyzed data;
the assembling unit is used for determining configuration parameters corresponding to a preset data packet format from the analyzed data and generating the input frame data packet based on the configuration parameters and according to the data packet format;
a transmission unit, configured to store the input frame data packet in a shared internal memory, so that the interactive display process obtains the input frame data packet from the shared internal memory; wherein the shared internal memory is an internal memory shared by the vehicle diagnostic process and the interactive display process.
In some specific embodiments, the display module 12 may specifically include:
the first display unit is used for analyzing the packet header of the input frame data packet through the interactive display process so as to determine the data type; acquiring the title of the input box and the prompt information and displaying the title of the input box and the prompt information on the electronic screen through the interactive display process and based on the interval identification in the data section of the input box data packet;
the second display unit is used for inquiring the initial value identification in the input box data packet through the interactive display process so as to judge whether the initial value exists in the input box data packet or not; and if so, acquiring the initial value and displaying the initial value on the electronic screen.
The third display unit is used for inquiring the regular expression identification and the regular expression through the interactive display process so as to judge whether the input data conforms to a preset rule or not; and if so, transmitting the input data to the vehicle diagnosis process.
Further, the embodiment of the present application also discloses a diagnostic device, which is shown in fig. 9, and the content in the figure should not be considered as any limitation to the scope of the application.
Fig. 9 is a schematic structural diagram of a diagnostic apparatus 20 according to an embodiment of the present application. The diagnostic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the vehicle information interaction method disclosed in any one of the foregoing embodiments.
In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the diagnostic device 20; the communication interface 24 can create a data transmission channel between the diagnostic device 20 and an external device, and the communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the memory 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like, where the stored resources include an operating system 221, a computer program 222, data 223 including an open test sequence source file, and the like, and the storage manner may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the diagnostic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, and may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the vehicle information interaction method performed by the diagnosis device 20 disclosed in any of the foregoing embodiments.
Further, an embodiment of the present application further discloses a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and when the computer-executable instructions are loaded and executed by a processor, the steps of the vehicle information interaction method disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The vehicle information interaction method, device, equipment and medium provided by the invention are described in detail, specific examples are applied in the description to explain the principle and the implementation mode of the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A vehicle information interaction method is applied to a diagnosis device and comprises the following steps:
acquiring an open type test sequence source file of a target vehicle through a vehicle diagnosis process, then generating an input frame data packet based on the open type test sequence source file, and transmitting the input frame data packet to an interactive display process;
displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame, and transmitting the input data to the vehicle diagnosis process;
detecting, by the vehicle diagnostic process, the input data to diagnose the target vehicle.
2. The vehicle information interaction method according to claim 1, wherein the generating an input box data packet based on the open test sequence source file comprises:
analyzing the open type test sequence source file to obtain analyzed data;
and determining configuration parameters corresponding to a preset data packet format from the analyzed data, and generating the input frame data packet based on the configuration parameters and according to the data packet format.
3. The vehicle information interaction method according to claim 2, wherein the transmitting the input box data packet to an interactive display process comprises:
storing the input frame data packet into a shared internal memory so that the interactive display process can acquire the input frame data packet from the shared internal memory; wherein the shared internal memory is an internal memory shared by the vehicle diagnostic process and the interactive display process.
4. The vehicle information interaction method according to claim 2, wherein the data packet format comprises a packet header and a data segment; the packet header comprises a packet header length and a data type, the data section comprises an input box header, prompt information, an initial value identifier, an initial value, a regular expression identifier and a regular expression, and interval identifiers are contained between every two fields.
5. The vehicle information interaction method according to claim 4, wherein the displaying an input box corresponding to the input box data packet on a local electronic screen through the interaction display process comprises:
parsing the header of the input box data packet by the interactive display process to determine the data type;
and acquiring the title of the input box and the prompt information and displaying the title of the input box and the prompt information on the electronic screen through the interactive display process and based on the interval identification in the data section of the input box data packet.
6. The vehicle information interaction method according to claim 5, wherein the displaying an input box corresponding to the input box data packet on a local electronic screen through the interaction display process comprises:
inquiring the initial value identification in the input frame data packet through the interactive display process to judge whether the initial value exists in the input frame data packet or not;
and if so, acquiring the initial value and displaying the initial value on the electronic screen.
7. The vehicle information interaction method of claim 6, wherein the transmitting the input data to the vehicle diagnostic process comprises:
inquiring the regular expression identification and the regular expression through the interactive display process to judge whether the input data conforms to a preset rule or not;
and if so, transmitting the input data to the vehicle diagnosis process.
8. A vehicle information interaction device, comprising:
the system comprises an acquisition module, an interactive display process and a display module, wherein the acquisition module is used for acquiring an open type test sequence source file of a target vehicle through the vehicle diagnosis process, then generating an input frame data packet based on the open type test sequence source file, and transmitting the input frame data packet to the interactive display process;
the display module is used for displaying an input frame corresponding to the input frame data packet on a local electronic screen through the interactive display process, acquiring input data through the input frame and transmitting the input data to the vehicle diagnosis process;
a diagnostic module to detect the input data through the vehicle diagnostic process to diagnose the target vehicle.
9. A diagnostic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the vehicle information interaction method according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program, when executed by the processor, implements the vehicle information interaction method of any one of claims 1 to 7.
CN202011139714.2A 2020-10-22 2020-10-22 Vehicle information interaction method, device, equipment and medium Pending CN112256375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011139714.2A CN112256375A (en) 2020-10-22 2020-10-22 Vehicle information interaction method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011139714.2A CN112256375A (en) 2020-10-22 2020-10-22 Vehicle information interaction method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112256375A true CN112256375A (en) 2021-01-22

Family

ID=74264127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011139714.2A Pending CN112256375A (en) 2020-10-22 2020-10-22 Vehicle information interaction method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112256375A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050187680A1 (en) * 2004-02-25 2005-08-25 General Motors Corporation Method and system for providing automated vehicle diagnostic function utilizing a telematics unit
CN108227675A (en) * 2017-12-27 2018-06-29 深圳市元征软件开发有限公司 Vehicular diagnostic method, device, terminal and computer readable storage medium
CN110197538A (en) * 2019-04-19 2019-09-03 深圳市元征科技股份有限公司 A kind of Vehicular diagnostic method, device and electronic equipment, storage medium
CN111026096A (en) * 2019-12-30 2020-04-17 华人运通(江苏)技术有限公司 Vehicle diagnosis method, apparatus, system, device and computer readable storage medium
CN111474923A (en) * 2020-05-27 2020-07-31 深圳市元征科技股份有限公司 Vehicle diagnosis method, device and equipment
CN111782117A (en) * 2020-06-30 2020-10-16 京东数字科技控股有限公司 Interface display method and device, storage medium and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050187680A1 (en) * 2004-02-25 2005-08-25 General Motors Corporation Method and system for providing automated vehicle diagnostic function utilizing a telematics unit
CN108227675A (en) * 2017-12-27 2018-06-29 深圳市元征软件开发有限公司 Vehicular diagnostic method, device, terminal and computer readable storage medium
CN110197538A (en) * 2019-04-19 2019-09-03 深圳市元征科技股份有限公司 A kind of Vehicular diagnostic method, device and electronic equipment, storage medium
CN111026096A (en) * 2019-12-30 2020-04-17 华人运通(江苏)技术有限公司 Vehicle diagnosis method, apparatus, system, device and computer readable storage medium
CN111474923A (en) * 2020-05-27 2020-07-31 深圳市元征科技股份有限公司 Vehicle diagnosis method, device and equipment
CN111782117A (en) * 2020-06-30 2020-10-16 京东数字科技控股有限公司 Interface display method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
CN107844421B (en) Interface testing method and device, computer equipment and storage medium
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN111026645B (en) User interface automatic test method and device, storage medium and electronic equipment
CN107241229B (en) Service monitoring method and device based on interface testing tool
CN106330483B (en) Information acquisition method, client device and server device
EP2144162A1 (en) Image forming apparatus, information processing method, and image forming system
CN110727572A (en) Buried point data processing method, device, equipment and storage medium
CN108694120B (en) Method and device for testing service component
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
CN112256375A (en) Vehicle information interaction method, device, equipment and medium
CN107483294B (en) Method and device for monitoring network request
CN110213310B (en) Method, device and storage medium for acquiring path of network service
CN113572826B (en) Device information binding method and system and electronic device
CN112468358B (en) Protocol detection method, system, equipment and computer readable storage medium
CN110855782A (en) Service calling system, method, electronic equipment and readable storage medium
CN111107080A (en) Error information pushing method, device, equipment and readable storage medium
EP4266171A1 (en) System to identify and characterize code changes
CN114374635B (en) Route detection method, device, equipment and storage medium
CN117675968A (en) Method, device, system and storage medium for analyzing vehicle diagnosis message
CN112379926A (en) Business system diagnosis method, system and related product
US20230198954A1 (en) Method for analyzing services of nodes of a network
CN108536620B (en) Bus equipment analysis method, system, device and readable storage medium
CN116841274A (en) Data acquisition method and device, electronic equipment and storage medium
GB2395087A (en) Probing a server

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: 20210122