Data reading method and device, equipment and storage medium

By using preset loop rules to communicate with the vehicle in the vehicle diagnostic equipment, the data flow items are displayed in real time, which solves the waiting problem caused by the data flow items that are not supported in the vehicle diagnosis, and improves the efficiency of data reading and user experience.

CN118570903APending Publication Date: 2024-08-30LAUNCH TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410789661.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

During the vehicle diagnosis process, low-end models of the same car series may have unsupported data flow items, causing the diagnostic software to wait for a timeout, affecting the user experience, and may cause reading failures or abnormal data.

Method used

By displaying the obtained data values ​​and corresponding data flow items in real time in the client interface, using preset cycle rules to communicate with the vehicle, invalid data flow items are judged and eliminated to ensure the efficiency and effectiveness of data reading.

Benefits of technology

It improves the efficiency and effectiveness of data reading, avoids waiting timeouts and reading failures, provides real-time and accurate data, improves user experience and saves maintenance time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570903A
    Figure CN118570903A
Patent Text Reader

Abstract

The invention discloses a data reading method, device and equipment and a storage medium, relates to the technical field of data processing, is applied to vehicle diagnosis equipment and comprises the steps that a plurality of selected data flow items are determined; communicating with a vehicle-mounted computer of a target vehicle by using the plurality of data flow items based on a preset cycle rule so as to obtain feedback results corresponding to the plurality of data flow items for the data values; and determining a plurality of data values corresponding to the plurality of data flow items according to the feedback result, and displaying the plurality of data values and the corresponding data flow items in a client interface in real time so as to complete a data reading process for the data flow items. In this way, the obtained data values and the corresponding data flow items can be displayed in real time only in the client interface, in this way, the data flow items with abnormal data reading are directly removed, and effective data can be provided for related workers in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data reading method, device, equipment and storage medium. Background Art

[0002] During vehicle diagnosis, the common data reading process is: the manufacturer displays all data streams of the system in the entire vehicle series on the interface, the user selects the data stream to read according to actual needs, the diagnostic software sends instructions to the ECU (Electronic Control Unit) according to the DID (Data identification) of each data stream, and obtains the corresponding value of each data stream by parsing the ECU reply data, and displays it on the diagnostic software interface for users to view in real time. However, there is a problem with this. The same vehicle series has different configurations. Some systems may have some data streams that do not exist or DIDs that are not supported on low-end models. If the user selects an unsupported data stream DID, when the diagnostic software sends instructions to the ECU, the ECU does not respond or responds negatively. During this time, the diagnostic software has been waiting until it times out. This waiting process affects the user experience and is not conducive to users quickly troubleshooting problems; and there may also be reading failures or abnormal data during this process.

[0003] It can be seen that how to improve the efficiency and effectiveness of reading data is a problem to be solved in this field. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a data reading method, device, equipment and storage medium, which can only display the obtained data values ​​and corresponding data flow items in real time in the client interface, so as to directly eliminate the data flow items with abnormal data reading, and provide effective data to relevant staff in real time. The specific scheme is as follows:

[0005] In a first aspect, the present application provides a data reading method, which is applied to a vehicle diagnostic device, comprising:

[0006] Determine a number of selected data flow items;

[0007] Based on a preset loop rule, the plurality of data stream items are used to communicate with an onboard computer of a target vehicle to obtain feedback results for data values ​​corresponding to the plurality of data stream items;

[0008] A number of data values ​​corresponding to the number of data flow items are determined according to the feedback results, and the number of data values ​​and the corresponding data flow items are displayed in real time in the client interface to complete the data reading process for the data flow items.

[0009] Optionally, the determining of the selected data stream items includes:

[0010] Displaying data stream options corresponding to the target vehicle through the client interface to obtain selection instructions input by relevant personnel;

[0011] A number of selected data stream items are determined according to the selection instruction.

[0012] Optionally, the communicating with the onboard computer of the target vehicle by using the plurality of data stream items based on the preset loop rule to obtain feedback results for data values ​​corresponding to the plurality of data stream items includes:

[0013] Generating a corresponding data stream item queue based on the plurality of data stream items, and generating a request frame for relevant data values;

[0014] During a single cycle, the corresponding request frames are sent to the on-board computer of the target vehicle in sequence according to the order of the data flow items in the data flow item queue, so that the on-board computer returns feedback results for the corresponding data values ​​based on the request frames.

[0015] Optionally, determining the data values ​​corresponding to the data stream items according to the feedback result includes:

[0016] In a single cycle, determining whether the feedback result represents that the corresponding data stream item corresponds to a data value;

[0017] If the feedback result indicates that a single data stream item corresponds to a data value, the feedback result is parsed to obtain the data value corresponding to the single data stream item;

[0018] If the feedback result indicates that a single data stream item does not have a corresponding data value, the data value of the single data stream item is marked as empty, and the number of failed requests for the data value of the single data stream item is recorded.

[0019] Optionally, determining the data values ​​corresponding to the data stream items according to the feedback result includes:

[0020] If the preset loop termination condition is currently met, a number of data stream items whose number of data value request failures is not less than a preset threshold are eliminated to obtain the remaining data stream items;

[0021] The remaining data stream items corresponding to the plurality of data values ​​are determined as target data stream items.

[0022] Optionally, completing the data reading process for the data stream item includes:

[0023] If the preset loop termination condition is currently met, the target data stream item and the corresponding data value are displayed in real time through the client interface to complete the data reading process for the data stream item.

[0024] Optionally, the real-time display of the plurality of data values ​​and corresponding data flow items in the client interface includes:

[0025] At the end of each cycle, the data flow items and corresponding data values ​​in the client interface are updated based on the feedback results obtained in this cycle to display the data values ​​and corresponding data flow items in real time.

[0026] In a second aspect, the present application provides a data reading device, which is applied to a vehicle diagnostic device, comprising:

[0027] A data flow item determination module, used to determine a number of selected data flow items;

[0028] A communication module, used to communicate with an onboard computer of a target vehicle using the plurality of data stream items based on a preset loop rule, so as to obtain feedback results for data values ​​corresponding to the plurality of data stream items;

[0029] The data display module is used to determine the data values ​​corresponding to the data flow items according to the feedback results, and to display the data values ​​and the corresponding data flow items in real time in the client interface to complete the data reading process for the data flow items.

[0030] In a third aspect, the present application provides an electronic device, including:

[0031] Memory, used to store computer programs;

[0032] A processor is used to execute the computer program to implement the data reading method as described above.

[0033] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program implements the data reading method as described above when executed by a processor.

[0034] It can be seen that in the present application, the vehicle diagnostic equipment first determines the selected data stream items; then based on the preset loop rules, the data stream items are used to communicate with the on-board computer of the target vehicle to obtain feedback results for the data values ​​corresponding to the data stream items; then the data values ​​corresponding to the data stream items are determined according to the feedback results, and the data values ​​and the corresponding data stream items are displayed in real time in the client interface to complete the data reading process for the data stream items. In this way, the present application can read data from the vehicle according to the selected data stream items in a loop, and can obtain the data values ​​for the data stream items according to the feedback results, and only display the obtained data values ​​and the corresponding data stream items in real time in the client interface, so that the data stream items with abnormal data reading can be directly eliminated, and effective data can be provided to relevant staff in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0036] Figure 1 A flow chart of a data reading method disclosed in this application;

[0037] Figure 2 A schematic diagram of a specific data flow item selection page disclosed in this application;

[0038] Figure 3 A data structure diagram of a specific data flow item disclosed in this application;

[0039] Figure 4 A specific schematic diagram of the first three cycles of communication data disclosed in this application;

[0040] Figure 5 A specific effective data flow item communication data schematic diagram disclosed in this application;

[0041] Figure 6 A schematic diagram of a specific data display page disclosed in this application;

[0042] Figure 7 This is a structural schematic diagram of a data reading device disclosed in this application;

[0043] Figure 8 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] See also Figure 1 As shown, an embodiment of the present invention discloses a data reading method, which is applied to a vehicle diagnostic device, comprising:

[0046] Step S11: Determine a number of selected data stream items.

[0047] In an embodiment of the present application, the vehicle diagnostic device first needs to determine the selected data stream items, that is, the directory information of the data that needs to be communicated with the vehicle. In a specific embodiment, the determination of the selected data stream items may include: displaying the data stream options corresponding to the target vehicle through the client interface to obtain the selection instructions input by the relevant personnel; and determining the selected data stream items according to the selection instructions. Specifically, the vehicle diagnostic device can display the selectable data stream options corresponding to the target vehicle through its own client interface; the relevant personnel can input the corresponding selection instructions, and then the vehicle diagnostic device can determine the selected data stream items according to the selection instructions.

[0048] Step S12: Based on a preset loop rule, the plurality of data stream items are used to communicate with the onboard computer of the target vehicle to obtain feedback results for the data values ​​corresponding to the plurality of data stream items.

[0049] In this embodiment, after determining the data stream items, the vehicle diagnostic device can communicate with the on-board computer of the target vehicle in a loop based on a preset loop rule to obtain feedback results for the data values ​​corresponding to the data stream items returned by the on-board computer. In a specific embodiment, the communication with the on-board computer of the target vehicle using the several data stream items based on the preset loop rule to obtain feedback results for the data values ​​corresponding to the several data stream items can include: generating a corresponding data stream item queue based on the several data stream items, and generating a request frame for the relevant data value; in a single loop process, sending the corresponding request frame to the on-board computer of the target vehicle in sequence according to the order of the data stream items in the data stream item queue, so that the on-board computer returns feedback results for the corresponding data value based on the request frame. Specifically, in the process of the vehicle diagnostic device communicating with the on-board computer of the target vehicle based on the data flow items, the corresponding data flow item queue is first generated based on the data flow items, and the data flow item queue can save information such as the name of the data flow item and the data value corresponding to the data flow item; further, the vehicle diagnostic device can generate a corresponding data value request frame for the data value of each data flow item, and then in a single cycle, the corresponding request frames are sent to the on-board computer of the target vehicle in sequence according to the order of the data flow items in the data flow item queue; in this way, the on-board computer can return feedback information on the data value to the vehicle diagnostic device based on the relevant request frame.

[0050] Step S13: determine a number of data values ​​corresponding to the number of data flow items according to the feedback result, and display the number of data values ​​and the corresponding data flow items in real time in the client interface to complete the data reading process for the data flow items.

[0051] In this embodiment, after the vehicle diagnostic equipment obtains feedback results from the on-board computer, it can obtain several data values ​​of several data flow items from these feedback results; then the data values ​​obtained from the feedback results and the corresponding data flow items can be displayed through the client interface, and the relevant data flow items of the obtained data values ​​can be displayed in real time.

[0052] In a specific embodiment, the determining of the data values ​​corresponding to the data stream items according to the feedback result may include: in a single cycle, judging whether the feedback result represents the corresponding data stream item has a data value; if the feedback result represents the corresponding data stream item has a data value, parsing the feedback result to obtain the data value corresponding to the single data stream item; if the feedback result represents the single data stream item does not have a corresponding data value, marking the data value of the single data stream item as empty, and recording the number of failed data value requests for the single data stream item. Specifically, in a single cycle, the vehicle diagnostic device may determine whether there is a corresponding data value in the feedback data based on the feedback data obtained from the on-board computer, and may determine whether there is a data value corresponding to the data stream item based on the identifier in the feedback data; when the feedback result represents the corresponding data value of the single data stream item, the data value of the relevant data stream item may be parsed from the feedback data; correspondingly, when the identifier in the feedback data represents the data stream item does not have a corresponding data value, the data stream item may be marked, and the data value corresponding to the data stream item may be marked as empty, and the number of markings may be recorded, i.e., the number of failed data value requests for the single data stream item.

[0053] In a specific embodiment, the determining of the data values ​​corresponding to the data stream items according to the feedback results may include: if the preset loop termination condition is currently met, then eliminating the data stream items whose data value request failure times are not less than the preset threshold value to obtain the remaining data stream items; determining the remaining data stream items corresponding to the data values ​​as the target data stream items. Specifically, in the process of cyclically communicating with the on-board computer, the vehicle diagnostic equipment may eliminate the relevant data stream items whose data value request failure times are not less than the preset threshold value based on the preset loop termination condition; the preset loop termination condition here may be reaching the loop number, or all data stream items obtain the corresponding data value. Furthermore, after eliminating some data stream items whose data value request failure times are not less than the preset threshold value from all the data stream items, the remaining data stream items may be obtained; thereafter, the data values ​​obtained from the on-board computer and the corresponding remaining data stream items may be displayed in the client interface.

[0054] In another specific embodiment, the completion of the data reading process for the data stream item may include: if the preset loop termination condition is currently met, the target data stream item and the corresponding data value are displayed in real time through the client interface to complete the data reading process for the data stream item. Specifically, if the preset loop termination condition is currently met, such as when the preset number of loops is reached, the final data value and the corresponding target data stream item can be sorted, and then the target data stream item and the corresponding data value are displayed in real time in the client interface, so that the process of reading data from the on-board computer and displaying it to relevant personnel can be completed, and the data reading process for the data stream item can be completed.

[0055] In another specific embodiment, the real-time display of the several data values ​​and the corresponding data flow items in the client interface may include: at the end of each cycle, the data flow items and the corresponding data values ​​in the client interface are updated based on the feedback results obtained in this cycle, so as to display the data values ​​and the corresponding data flow items in real time. Specifically, the vehicle diagnostic device can update the data flow items and the corresponding data values ​​in the client interface based on the feedback results obtained each time it obtains feedback data from the on-board computer; in other words, the vehicle diagnostic device in the present application can update the data flow items and the corresponding data values ​​in the client according to the feedback data obtained in each (cycle) communication during data communication with the on-board computer, and can display the obtained data in real time.

[0056] It can be seen that the present application can read data from the vehicle in a loop according to the selected data flow items, and can obtain several data values ​​for the data flow items according to the feedback results, and only display the obtained data values ​​and the corresponding data flow items in real time in the client interface. In this way, the data flow items with abnormal data reading can be directly eliminated, and valid data can be provided to relevant staff in real time.

[0057] The following embodiment will introduce in detail the process of communication between the vehicle diagnostic equipment and the vehicle's onboard computer, the transmission of various data during the communication process and the process of cyclic communication, which specifically includes:

[0058] In the embodiment of the present application, when the user needs to read the data stream of a certain ECU of the vehicle, first select the data stream item, such as Figure 2 As shown; then the vehicle diagnostic device can be used to obtain the name strDataStringName, Did, data stream value strValue, and effective counter counter (the initial value can be set to 3) of the selected data stream item, save it as a structure DataStreamItem, and put it into the queue QueueA, as shown Figure 3As shown; then the vehicle diagnostic device can loop from the head of the team to the end of the team to frame the command in turn and communicate with the relevant ECU, calculate the data value corresponding to each data stream item according to the ECU's reply command, that is, according to the feedback data, and store the corresponding data value corresponding to the data stream item in the strValue item of each DataStreamItem. After each cycle, the vehicle diagnostic device can display the data stream value as a whole on the client interface and continue to the next cycle. The first few cycles are used to filter valid data streams. When the valid counter is 3, the first three cycles are as follows Figure 4 As shown; for each data stream item, when the vehicle diagnostic device sends the corresponding request command to the ECU and obtains a positive response, it indicates that this data stream item is a valid data stream. The vehicle diagnostic device then calculates the data value of this data stream item based on the data replied by the ECU and fills it into DataStreamItem->strValue. At this time, the counter value remains unchanged; correspondingly, when the ECU has no reply or a negative response, the counter value in the DataStreamItem of this data stream is subtracted by 1. When the counter value is 0, it indicates that this data stream has not received a positive response from the ECU for 3 times. It is an invalid data stream and can be deleted from the queue QueueA. Furthermore, when the valid counter is 3, the valid data stream item can be determined through three cycles. The subsequent communication process is as follows. Figure 5 As shown, in this way, the subsequent cycle of sending messages can avoid sending invalid data streams and causing waiting blocking. The data stream items and corresponding data values ​​finally displayed on the client interface are as follows Figure 6 After multiple rounds of cyclic screening, the remaining data flow items in queue QueueA are all valid data flow items, and the communication with the ECU will not need to wait for the timeout period, and invalid data flow items are eliminated, which greatly improves the user experience.

[0059] It can be seen that the present application can read data from the vehicle in a loop according to the selected data stream items, and can obtain several data values ​​for the data stream items according to the feedback results, and only display the obtained data values ​​and the corresponding data stream items in real time in the client interface, and can perform probe-like removal of invalid data streams according to the actual response of the vehicle. Without human intervention, the data stream items with abnormal data reading can be directly eliminated, and effective data can be provided to relevant staff in real time, which is conducive to users to quickly troubleshoot problems, greatly saving maintenance time, improving user experience, and saving after-sales costs.

[0060] like Figure 7 As shown, the embodiment of the present application discloses a data reading device, which is applied to vehicle diagnostic equipment, including:

[0061] A data flow item determination module 11, used to determine a number of selected data flow items;

[0062] A communication module 12, configured to communicate with an onboard computer of a target vehicle using the plurality of data stream items based on a preset loop rule, so as to obtain feedback results for data values ​​corresponding to the plurality of data stream items;

[0063] The data display module 13 is used to determine the data values ​​corresponding to the data flow items according to the feedback results, and to display the data values ​​and the corresponding data flow items in real time in the client interface to complete the data reading process for the data flow items.

[0064] It can be seen that the present application can read data from the vehicle in a loop according to the selected data flow items, and can obtain several data values ​​for the data flow items according to the feedback results, and only display the obtained data values ​​and the corresponding data flow items in real time in the client interface. In this way, the data flow items with abnormal data reading can be directly eliminated, and valid data can be provided to relevant staff in real time.

[0065] In a specific embodiment, the data stream item determination module 11 may include:

[0066] A selection instruction acquisition unit, used to display the data stream options corresponding to the target vehicle through the client interface to obtain the selection instruction input by the relevant personnel;

[0067] A data stream item determination unit is used to determine a number of selected data stream items according to the selection instruction.

[0068] In a specific embodiment, the communication module 12 may include:

[0069] A request frame generating unit, configured to generate a corresponding data stream item queue based on the plurality of data stream items, and generate a request frame for a relevant data value;

[0070] The request frame sending module is used to send the corresponding request frames to the on-board computer of the target vehicle in the order of the data flow items in the data flow item queue during a single cycle, so that the on-board computer returns feedback results for the corresponding data values ​​based on the request frames.

[0071] In a specific embodiment, the data display module 13 may include:

[0072] A data value judgment unit, used to judge whether the corresponding data stream item represented by the feedback result corresponds to a data value during a single cycle;

[0073] A feedback result parsing unit, configured to parse the feedback result to obtain the data value corresponding to the single data stream item when the feedback result indicates that the single data stream item corresponds to a data value;

[0074] The data stream item marking unit is used to mark the data value of a single data stream item as empty when the feedback result indicates that there is no corresponding data value for a single data stream item, and record the number of failed requests for the data value of the single data stream item.

[0075] In a specific embodiment, the data display module 13 may include:

[0076] A data stream item elimination unit is used to eliminate a number of data stream items whose number of data value request failures is not less than a preset threshold value when the preset loop termination condition is currently met, so as to obtain remaining data stream items;

[0077] The target data flow item determination unit is used to determine the remaining data flow items corresponding to the several data values ​​as target data flow items.

[0078] In another specific embodiment, the data display module 13 may include:

[0079] The data display unit is used to display the target data stream item and the corresponding data value in real time through the client interface when the preset loop termination condition is currently met, so as to complete the data reading process for the data stream item.

[0080] In a specific embodiment, the data display module 13 may include:

[0081] The data value updating unit is used to update the data flow items and corresponding data values ​​in the client interface based on the feedback results obtained in this cycle at the end of each cycle, so as to display the data values ​​and corresponding data flow items in real time.

[0082] Furthermore, the present application also discloses an electronic device. Figure 8 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0083] Figure 8The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic 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 to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the data reading method disclosed in any of the above embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0084] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0085] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0086] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the data reading method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0087] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned disclosed data reading method. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, and no further description will be given here.

[0088] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0089] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0090] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0091] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0092] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data reading method, characterized in that: Used in vehicle diagnostic equipment, including: Determine a number of selected data flow items; Based on a preset loop rule, the plurality of data stream items are used to communicate with an onboard computer of a target vehicle to obtain feedback results for data values ​​corresponding to the plurality of data stream items; A number of data values ​​corresponding to the number of data stream items are determined according to the feedback results, and the number of data values ​​and the corresponding data stream items are displayed in real time in the client interface to complete the data reading process for the data stream items.

2. The data reading method according to claim 1, characterized in that: The determining of the selected data stream items comprises: Displaying data stream options corresponding to the target vehicle through the client interface to obtain selection instructions input by relevant personnel; A number of selected data stream items are determined according to the selection instruction.

3. The data reading method according to claim 1, characterized in that: The method of using the plurality of data stream items to communicate with the onboard computer of the target vehicle based on the preset loop rule to obtain feedback results for data values ​​corresponding to the plurality of data stream items includes: Generating a corresponding data stream item queue based on the plurality of data stream items, and generating a request frame for relevant data values; During a single cycle, the corresponding request frames are sent to the on-board computer of the target vehicle in sequence according to the order of the data flow items in the data flow item queue, so that the on-board computer returns feedback results for the corresponding data values ​​based on the request frames.

4. The data reading method according to claim 1, characterized in that: The determining, according to the feedback result, a number of data values ​​corresponding to the number of data stream items comprises: In a single cycle, determining whether the feedback result represents that the corresponding data stream item corresponds to a data value; If the feedback result indicates that a single data stream item corresponds to a data value, the feedback result is parsed to obtain the data value corresponding to the single data stream item; If the feedback result indicates that a single data stream item does not have a corresponding data value, the data value of the single data stream item is marked as empty, and the number of failed requests for the data value of the single data stream item is recorded.

5. The data reading method according to claim 4, characterized in that: The determining, according to the feedback result, a number of data values ​​corresponding to the number of data stream items comprises: If the preset loop termination condition is currently met, a number of data stream items whose number of data value request failures is not less than a preset threshold are eliminated to obtain the remaining data stream items; The remaining data stream items corresponding to the plurality of data values ​​are determined as target data stream items.

6. The data reading method according to claim 5, characterized in that: The process of completing the data reading process for the data stream item includes: If the preset loop termination condition is currently met, the target data stream item and the corresponding data value are displayed in real time through the client interface to complete the data reading process for the data stream item.

7. The data reading method according to any one of claims 1 to 6, characterized in that: The real-time display of the plurality of data values ​​and corresponding data flow items in the client interface includes: At the end of each cycle, the data flow items and corresponding data values ​​in the client interface are updated based on the feedback results obtained in this cycle to display the data values ​​and corresponding data flow items in real time.

8. A data reading device, characterized in that: Used in vehicle diagnostic equipment, including: A data flow item determination module, used to determine a number of selected data flow items; A communication module, used to communicate with an onboard computer of a target vehicle using the plurality of data stream items based on a preset loop rule, so as to obtain feedback results for data values ​​corresponding to the plurality of data stream items; The data display module is used to determine the data values ​​corresponding to the data flow items according to the feedback results, and to display the data values ​​and the corresponding data flow items in real time in the client interface to complete the data reading process for the data flow items.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the data reading method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the data reading method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Car data stream obtaining method and system and computer readable memory medium

    CN106993056A

  • Data processing method and device, terminal and storage medium

    CN111833478A

  • Vehicle offline diagnosis method and device, and computer storage medium

    CN112255997A

  • Vehicle data stream processing method and device, electronic device and electronic control unit

    CN112991578A

  • File downloading method and device and medium

    CN115396428A