Vehicle remote diagnosis method, device, equipment, storage medium and program product

By matching the vehicle diagnostic instructions and the cache instruction table, replying locally on the diagnostic end, solving the problem of slow vehicle remote diagnosis communication speed and significantly improving diagnostic efficiency.

CN119916776APending Publication Date: 2025-05-02深圳市易新亿意软件开发有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510012916.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing remote diagnosis methods for vehicles are low in diagnosis efficiency due to slow communication speed, and general repair shops are unwilling to replace high-cost broadband packages for remote diagnosis, so the solution to reduce diagnostic distance is unrealistic.

Method used

By obtaining vehicle diagnostic instructions and matching them with the preset cached instruction list, the command matching results are obtained, the diagnostic instruction reply value is obtained based on the matching results, the vehicle diagnosis is performed, and the vehicle remote diagnosis results are obtained. This method responds locally on the diagnostic end, significantly improving the response speed.

Benefits of technology

Through this method, the problem of low diagnostic efficiency caused by slow remote diagnosis communication speed of vehicle is solved, and the efficiency of remote diagnosis is improved without affecting the diagnostic function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119916776A_ABST
    Figure CN119916776A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle remote diagnosis method, device and equipment, a storage medium and a program product, and relates to the technical field of vehicle diagnos.The vehicle remote diagnosis method comprises the steps that a vehicle diagnosis instruction is obtained; according to the vehicle diagnosis instruction, matching with a preset cache instruction list to obtain an instruction matching result; according to the instruction matching result, a diagnosis instruction reply value is obtained, vehicle diagnosis is conducted according to the diagnosis instruction reply value, and a vehicle remote diagnosis result is obtained. According to the method and the device, the vehicle diagnosis instruction is matched with the cache instruction list, so that the local reply at the diagnosis end is realized, and the response speed is greatly improved without influencing the diagnosis function. Therefore, the technical problem of low diagnosis efficiency caused by low communication speed of an existing vehicle remote diagnosis method is solved, and the remote diagnosis efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle diagnosis technology, and in particular to a vehicle remote diagnosis method, device, equipment, storage medium and program product. Background Art

[0002] During the remote diagnosis of automobile diagnosis, end-to-end commands are transmitted through the network. Network latency becomes the biggest shortcoming. The actual communication speed often depends only on the network latency, resulting in unsatisfactory communication speed. The existing solutions to improve the speed of remote diagnosis are often only to replace the network with a higher rate or to reduce the distance of remote diagnosis. For the former, general repair shops generally do not deliberately replace the higher-cost broadband packages for remote diagnosis, and often just use ordinary networks or mobile hotspots. The latter is completely unrealistic.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present application is to provide a vehicle remote diagnosis method, device, equipment, storage medium and program product, aiming to solve the technical problem of low diagnosis efficiency caused by slow communication speed of existing vehicle remote diagnosis methods.

[0005] To achieve the above objectives, the present application proposes a vehicle remote diagnosis method, the method comprising:

[0006] Get vehicle diagnostic instructions;

[0007] According to the vehicle diagnostic instruction, matching is performed with a preset cache instruction table to obtain an instruction matching result;

[0008] According to the command matching result, a diagnosis command reply value is obtained, and a vehicle diagnosis is performed according to the diagnosis command reply value to obtain a vehicle remote diagnosis result.

[0009] In one embodiment, before the step of matching the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result, the method further includes:

[0010] Download the original vehicle diagnostic command and the corresponding command reply value through the server;

[0011] Generating a command-response mapping relationship according to the original vehicle diagnostic command and the corresponding command reply value;

[0012] The cache instruction table is constructed according to the mapping relationship between the original vehicle diagnostic instructions and the instruction replies.

[0013] In one embodiment, the step of obtaining a diagnostic instruction reply value according to the instruction matching result, and performing vehicle diagnosis according to the diagnostic instruction reply value to obtain a vehicle remote diagnosis result includes:

[0014] When the command matching result is expressed as the cached command table containing the same vehicle original diagnostic command as the vehicle diagnostic command, obtaining a corresponding command reply value according to the vehicle original diagnostic command;

[0015] Using the command reply value as the diagnosis command reply value;

[0016] The vehicle is diagnosed according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

[0017] In one embodiment, the step of obtaining a diagnostic instruction reply value according to the instruction matching result, and performing vehicle diagnosis according to the diagnostic instruction reply value, and obtaining a vehicle remote diagnosis result further includes:

[0018] When the command matching result indicates that the cached command table does not contain the same vehicle original diagnostic command as the vehicle diagnostic command, sending the vehicle diagnostic command to a preset vehicle-side diagnostic device;

[0019] Receiving a diagnostic command reply value sent by the vehicle-side diagnostic device;

[0020] The vehicle is diagnosed according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

[0021] In addition, to achieve the above purpose, the present application also proposes a vehicle remote diagnosis method, which is applied to a vehicle-side diagnostic device, and the method includes:

[0022] Obtain basic vehicle configuration information and download remote diagnostic cache command configuration data through the server;

[0023] Obtaining a vehicle original diagnostic command and a corresponding command reply value according to the vehicle basic configuration information and the remote diagnostic cache command configuration data;

[0024] The original vehicle diagnostic command and the corresponding command reply value are uploaded to the server for downloading by the preset diagnostic terminal diagnostic device and building a cache command table.

[0025] In one embodiment, the step of obtaining the vehicle original diagnostic command and the corresponding command reply value according to the vehicle basic configuration information and the remote diagnostic cache command configuration data includes:

[0026] Performing a background scan on the electronic control unit in the vehicle according to the basic configuration information of the vehicle to obtain the original diagnostic instruction of the vehicle;

[0027] According to the original vehicle diagnostic instruction, the remote diagnostic cache command configuration data is screened to obtain the corresponding instruction reply value.

[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle remote diagnosis device, the vehicle remote diagnosis device comprising:

[0029] An instruction acquisition module, used for acquiring vehicle diagnostic instructions;

[0030] An instruction matching module, used to match the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result;

[0031] The vehicle diagnosis module is used to obtain a diagnosis instruction reply value according to the instruction matching result, and perform vehicle diagnosis according to the diagnosis instruction reply value to obtain a vehicle remote diagnosis result.

[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle remote diagnosis device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle remote diagnosis method described above.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle remote diagnosis method described above are implemented.

[0034] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle remote diagnosis method described above are implemented.

[0035] The present application provides a vehicle remote diagnosis method, which obtains a vehicle diagnostic instruction; matches the vehicle diagnostic instruction with a preset cache instruction table according to the vehicle diagnostic instruction to obtain an instruction matching result; obtains a diagnostic instruction reply value according to the instruction matching result, and performs vehicle diagnosis according to the diagnostic instruction reply value to obtain a vehicle remote diagnosis result. By matching the vehicle diagnostic instruction with the cache instruction table, a reply is made locally at the diagnosis end, greatly improving the response speed without affecting the diagnostic function. Thus, the technical problem of low diagnostic efficiency caused by slow communication speed in the existing vehicle remote diagnosis method is solved, and the efficiency of remote diagnosis is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 A flowchart of the first embodiment of the vehicle remote diagnosis method of the present application is provided;

[0039] Figure 2 A flow chart of the second embodiment of the vehicle remote diagnosis method of the present application;

[0040] Figure 3 A flowchart of the third embodiment of the vehicle remote diagnosis method of the present application is provided;

[0041] Figure 4 This is a schematic diagram of the module structure of a vehicle remote diagnostic device according to an embodiment of the present application;

[0042] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the vehicle remote diagnosis method in the embodiment of the present application.

[0043] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0045] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0046] The main solutions of the embodiments of this application are:

[0047] Get vehicle diagnostic instructions;

[0048] According to the vehicle diagnostic instruction, matching is performed with a preset cache instruction table to obtain an instruction matching result;

[0049] According to the command matching result, a diagnosis command reply value is obtained, and a vehicle diagnosis is performed according to the diagnosis command reply value to obtain a vehicle remote diagnosis result.

[0050] In the prior art, during the remote diagnosis of automobile diagnosis, end-to-end commands are transmitted through the network, and network latency becomes the biggest shortcoming. The actual communication speed often depends only on the network latency, resulting in unsatisfactory communication speed. The existing solutions to improve the speed of remote diagnosis can only be achieved by replacing the network with a higher rate or reducing the distance of remote diagnosis. For general repair shops, the former generally does not specifically replace the higher-cost broadband package for remote diagnosis, and often just uses ordinary networks or mobile hotspots. The latter is completely unrealistic.

[0051] The present application provides a solution, which includes obtaining a vehicle diagnostic instruction; matching the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result; obtaining a diagnostic instruction reply value based on the instruction matching result, and performing vehicle diagnosis based on the diagnostic instruction reply value to obtain a vehicle remote diagnosis result. By matching the vehicle diagnostic instruction with the cache instruction table, a reply can be made locally at the diagnosis end, greatly improving the response speed without affecting the diagnostic function. Thus, the technical problem of low diagnostic efficiency caused by slow communication speed in existing vehicle remote diagnosis methods is solved, and the efficiency of remote diagnosis is improved.

[0052] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle remote diagnosis system, etc. The following takes the vehicle remote diagnosis system as an example, and the vehicle remote diagnosis system includes a diagnosis end diagnosis device, a vehicle end diagnosis device and a server to illustrate this embodiment and the following embodiments.

[0053] Based on this, the present application embodiment provides a vehicle remote diagnosis method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle remote diagnosis method of the present application.

[0054] In this embodiment, the vehicle remote diagnosis method is applied to a diagnosis end diagnostic device, and the method includes steps S10 to S30:

[0055] Step S10, obtaining vehicle diagnostic instructions;

[0056] The diagnostic device at the diagnostic end obtains the vehicle diagnostic instruction.

[0057] It should be noted that vehicle diagnostic commands are used to check the status of specific components or systems of the vehicle. These commands can be to check engine performance, battery status, sensor readings, etc.

[0058] Step S20, matching the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result;

[0059] The diagnostic device at the diagnostic end matches the received vehicle diagnostic command with a preset cache command table. The cache command table contains a series of predefined commands corresponding to various diagnostic operations that the vehicle may need to perform.

[0060] Exemplarily, in step S20, matching the vehicle diagnostic instruction with a preset cache instruction table involves searching the cache instruction table for an entry that matches the received vehicle diagnostic instruction, which can generally be accomplished through the following technical steps:

[0061] 1. Data structure selection.

[0062] Choosing a suitable data structure to store the cache instruction table is the key to achieving fast search. Commonly used data structures include:

[0063] Hash table: By storing key-value pairs, fast searches can be achieved with an average time complexity of O(1).

[0064] Binary search tree (or other balanced tree structure): can keep elements sorted, suitable for range query and ordered traversal, and the search time complexity is O(logn).

[0065] Database indexes: If your data is stored in a database, you can create indexes to speed up queries.

[0066] 2. Build search logic.

[0067] According to the selected data structure, build the corresponding search logic:

[0068] Hash table lookup: Use the diagnostic instruction as the key to find the corresponding value (instruction reply value) in the hash table.

[0069] Binary search tree search: Traverse the tree structure and find the node that matches the diagnostic instruction.

[0070] Database query: Execute SQL query and retrieve the corresponding instruction reply value in the database according to the diagnostic instruction.

[0071] 3. Matching algorithm.

[0072] Implement the specific matching algorithm, which may include:

[0073] Exact match: Directly search for entries that exactly match the diagnostic instruction.

[0074] Fuzzy matching: If the diagnostic instruction does not match exactly, a fuzzy matching algorithm is used to find the closest entry.

[0075] Prefix matching: In the case where directives have a common prefix, find entries that begin with a specific prefix.

[0076] 4. Process the search results.

[0077] Process the search results, which includes:

[0078] Find the matching entry: extract the corresponding command reply value and continue the subsequent diagnosis process.

[0079] No matching entry found: If no match is found, you may want to log the event, trigger an error handling process, or request additional data.

[0080] 5.Performance optimization.

[0081] To improve search efficiency, you may need to implement some performance optimization measures:

[0082] Cache optimization: Use memory cache for frequently accessed data to reduce access to disk or database.

[0083] Query optimization: Optimize database queries, such as using more efficient indexing strategies.

[0084] Parallel processing: When processing a large number of diagnostic instructions, parallel processing technology is used to speed up the search process.

[0085] 6. Security and consistency.

[0086] Ensure data security and consistency during the search process:

[0087] Data verification: Verify query results to ensure data integrity and correctness.

[0088] Synchronization mechanism: If the cache instruction table is stored in a distributed manner, data synchronization and consistency must be ensured.

[0089] Through the above steps, step S20 can efficiently and accurately search for entries matching the received instructions in the cache instruction table, thereby supporting the smooth progress of vehicle remote diagnosis.

[0090] Through the above steps, step S20 can efficiently and accurately search for entries matching the received instructions in the cache instruction table, thereby supporting the smooth progress of vehicle remote diagnosis.

[0091] In a feasible implementation manner, before step S20, steps S401 to S403 may also be included:

[0092] Step S401, downloading the original vehicle diagnostic command and the corresponding command reply value through the server;

[0093] Step S402, generating a command-response mapping relationship according to the original vehicle diagnostic command and the corresponding command-response value;

[0094] Step S403: construct the cache instruction table according to the mapping relationship between the original vehicle diagnostic instruction and the instruction reply.

[0095] The diagnostic device at the diagnostic end downloads the vehicle's original diagnostic instructions and corresponding instruction reply values ​​through a network connection with the server. These data are usually stored on the server and may include specific diagnostic information for different vehicle models and system versions. The vehicle's original diagnostic instructions are then associated with the corresponding instruction reply values ​​to create a mapping relationship, namely, an instruction reply mapping relationship. This mapping relationship is usually stored in a database or data structure for rapid retrieval during the diagnostic process. The mapping relationship is established based on the correspondence between the vehicle's original diagnostic instructions and their reply values. Finally, a cache instruction table is constructed based on the vehicle's original diagnostic instructions and the instruction reply mapping relationship.

[0096] It should be noted that the vehicle original diagnostic instructions are provided by the vehicle manufacturer and are a basic set of instructions for checking the status of the vehicle's systems and components; the instruction reply value is the data returned by the vehicle system after receiving and executing the diagnostic instructions, which is used to analyze the vehicle's current status and identify potential problems; the instruction reply mapping relationship is a data structure that associates each diagnostic instruction with its expected reply value for easy quick access and retrieval.

[0097] In this implementation, downloading the latest diagnostic data from the server regularly or on demand solves the problem of outdated diagnostic data and ensures that the diagnosis is based on the latest information; by establishing a command reply mapping relationship and a cache command table, the diagnostic response speed is significantly improved and the waiting time is reduced; the cache command table reduces the dependence on the network, and effective diagnosis can be performed even when the network is unstable or unavailable; the unified command reply mapping relationship and cache command table ensure the consistency of diagnosis between different diagnostic terminal devices and avoid diagnostic errors caused by inconsistent data; the latest changes in vehicle technology can be quickly integrated, so that the diagnostic system can be updated in time, avoiding the problem of lagging technology updates; by building a local cache command table, the delay problem when retrieving specific command reply values ​​in a large amount of data is solved, and the data retrieval efficiency is improved. As a result, not only the accuracy and efficiency of remote diagnosis are improved, but also the use of network resources is optimized, the scalability and flexibility of the system are improved, and multiple technical problems and defects are solved at the same time, making the system more robust and reliable.

[0098] Step S30, obtaining a diagnosis instruction reply value according to the instruction matching result, and performing vehicle diagnosis according to the diagnosis instruction reply value to obtain a vehicle remote diagnosis result.

[0099] The diagnostic device at the diagnostic end obtains a diagnostic command reply value according to the command matching result, and performs vehicle diagnosis according to the diagnostic command reply value to obtain a remote vehicle diagnosis result.

[0100] This embodiment provides a vehicle remote diagnosis method, which obtains a vehicle diagnostic instruction; matches the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result; obtains a diagnostic instruction reply value according to the instruction matching result, and performs vehicle diagnosis according to the diagnostic instruction reply value to obtain a vehicle remote diagnosis result. By matching the vehicle diagnostic instruction with the cache instruction table, a reply is made locally at the diagnosis end, greatly improving the response speed without affecting the diagnostic function. As a result, the technical problem of low diagnostic efficiency caused by slow communication speed in the existing vehicle remote diagnosis method is solved, and the efficiency of remote diagnosis is improved.

[0101] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , step S30 may include steps S3011 to S3013:

[0102] Step S3011, when the instruction matching result is expressed as the cache instruction table contains the vehicle original diagnostic instruction that is the same as the vehicle diagnostic instruction, obtaining a corresponding instruction reply value according to the vehicle original diagnostic instruction;

[0103] Step S30112, using the command reply value as the diagnosis command reply value;

[0104] Step S30113, diagnose the vehicle according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

[0105] When the instruction matching result is expressed as a cache instruction table containing an original vehicle diagnostic instruction that is identical to the vehicle diagnostic instruction, the diagnostic device at the diagnostic end obtains the corresponding instruction reply value based on the original vehicle diagnostic instruction, in order to verify whether the received vehicle diagnostic instruction is valid and whether the corresponding expected reply value can be found, which is essential to ensuring the accuracy and effectiveness of the diagnostic process. The instruction reply value is then used as the diagnostic instruction reply value, and finally the vehicle is diagnosed based on the diagnostic instruction reply value, which involves sending diagnostic requests to various systems or components of the vehicle, and analyzing the returned data to determine the technical status and potential problems of the vehicle, and obtaining the vehicle remote diagnosis results, which can help technicians or systems understand the current condition of the vehicle and take corresponding maintenance or repair measures.

[0106] In a feasible implementation manner, step S30 may further include steps S3021 to S3023:

[0107] Step S3021, when the instruction matching result indicates that the cache instruction table does not contain the original vehicle diagnostic instruction that is the same as the vehicle diagnostic instruction, the vehicle diagnostic instruction is sent to a preset vehicle-side diagnostic device;

[0108] Step S3022, receiving a diagnostic instruction reply value sent by the vehicle-side diagnostic device;

[0109] Step S3023, diagnose the vehicle according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

[0110] When the instruction matching result is expressed as the cache instruction table does not contain the vehicle original diagnostic instruction that is the same as the vehicle diagnostic instruction, the diagnostic end diagnostic device sends the vehicle diagnostic instruction to the preset vehicle-end diagnostic device. This step relies on the vehicle communication network (such as CAN, LIN, MOST, etc.) to realize the transmission of the instruction, and then receives the diagnostic instruction reply value from the vehicle-end diagnostic device. This step is based on the vehicle communication network, such as OBD-II, CAN bus, etc., to receive the data returned by the vehicle-end device. Finally, according to the diagnostic instruction reply value, the vehicle is diagnosed, which usually involves the interpretation, analysis and evaluation of the reply value to determine the health status of the vehicle and identify potential problems. Obtaining the vehicle remote diagnosis results can help technicians or systems understand the current condition of the vehicle and take corresponding maintenance or repair measures.

[0111] In this embodiment, when the corresponding diagnostic instructions are missing in the local cache, the system can actively request data from the vehicle-side diagnostic device, thereby obtaining a real-time diagnostic instruction reply value, so that the system can flexibly process diagnostic instructions that are not in the cache instruction table, thereby improving the responsiveness and flexibility of the diagnosis; by sending the diagnostic instructions to the vehicle-side diagnostic device and receiving the reply value, it can be ensured that the diagnostic system uses data based on the real-time vehicle status, thereby improving the real-time and accuracy of the diagnosis; it supports on-demand calling of diagnostic services instead of loading all possible services when the system starts. This on-demand calling ensures efficient use of system resources and flexibility of services; it allows the system to adjust diagnostic strategies and services according to actual conditions. For example, under different driving conditions or vehicle conditions, the system can adaptively select appropriate diagnostic services and strategies, thereby improving the system's adaptability.

[0112] In this embodiment, the cache instruction table is checked to ensure that the next operation is executed only when there is an original diagnostic instruction matching the vehicle diagnostic instruction in the cache instruction table, which improves the accuracy of the execution of the diagnostic instruction; the acquired instruction reply value is directly used as the diagnostic instruction reply value, which simplifies the data flow and reduces the complexity of data processing; by using the correct instruction reply value for diagnosis, the reliability of the diagnostic result is improved and the problem of unreliable diagnostic result is solved; by optimizing the diagnostic process, the response time is reduced, so that the diagnostic system can respond to changes in the vehicle status more quickly; because the cache instruction table can be updated regularly, it ensures that the diagnostic system can adapt to the latest changes in vehicle technology in a timely manner, solving the problem of lagging technology updates.

[0113] Based on this, the present application embodiment provides a vehicle remote diagnosis method, referring to Figure 3 , Figure 3 This is a flow chart of the third embodiment of the vehicle remote diagnosis method of the present application.

[0114] In this embodiment, the vehicle remote diagnosis method is applied to a vehicle-side diagnostic device, and the method includes steps S50 to S70:

[0115] Step S50, obtaining basic vehicle configuration information, and downloading remote diagnosis cache command configuration data through a server;

[0116] The vehicle-side diagnostic device reads basic configuration information from the preset vehicle and downloads remote diagnostic cache command configuration data through the server. This step uses the vehicle's communication interface (such as the OBD-II port) to access vehicle data and access diagnostic data stored on the server through a network connection. The purpose is to collect necessary vehicle information and remote diagnostic data so that accurate diagnostic instructions and response values ​​can be generated later.

[0117] Step S60, obtaining the vehicle original diagnosis instruction and the corresponding instruction reply value according to the vehicle basic configuration information and the remote diagnosis cache command configuration data;

[0118] The vehicle-side diagnostic device generates the vehicle's original diagnostic instructions and their corresponding command response values ​​based on the vehicle's basic configuration information and the remote diagnostic cache command configuration data downloaded from the server. This step usually involves parsing and matching vehicle-specific parameters to ensure that the generated diagnostic instructions are applicable to the specific vehicle configuration. The purpose is to create a set of specific diagnostic instructions and expected response values ​​that can accurately reflect the vehicle's current status and be used for subsequent diagnostic analysis.

[0119] In a feasible implementation, step S60 may include steps S601 to S602:

[0120] Step S601, performing background scanning on the electronic control unit in the vehicle according to the basic configuration information of the vehicle to obtain the original diagnostic instruction of the vehicle;

[0121] Step S602 : screening the remote diagnosis cache command configuration data according to the original vehicle diagnosis instruction to obtain the corresponding instruction reply value.

[0122] The vehicle-side diagnostic device performs a background scan of the electronic control unit in the vehicle based on the basic vehicle configuration information to obtain the original vehicle diagnostic instructions. This process usually involves interaction with the vehicle communication protocol (such as OBD-II, CAN, UDS, etc.) to obtain the original vehicle diagnostic instructions that can be used for remote diagnosis. These instructions are the basis for vehicle status inspection and fault diagnosis. Among them, the basic vehicle configuration information may include the vehicle identification number (VIN), vehicle model, engine type, etc., and then the remote diagnostic cache command configuration data is filtered according to the original vehicle diagnostic instructions to obtain the corresponding instruction reply value. This step relies on the matching logic between the original vehicle diagnostic instructions and the remote diagnostic data. Usually a database or data structure is required to store and retrieve this data. The purpose is to accurately filter out the reply value that matches the original vehicle diagnostic instructions from a large amount of remote diagnostic cache command configuration data to ensure the accuracy and effectiveness of the diagnostic process.

[0123] Exemplarily, an implementation of steps S601 to S602 is as follows:

[0124] Step S601: Scan the electronic control unit in the background to obtain the original vehicle diagnostic instructions

[0125] Implementation:

[0126] 1. Identify the voltage of the vehicle diagnostic socket:

[0127] First, the vehicle diagnostic instrument is connected to the vehicle diagnostic socket, intelligently identifies the voltage condition of the vehicle diagnostic socket, and transmits this information to the host computer.

[0128] The host computer determines the communication mode of each pin according to the voltage condition, such as CAN communication, and identifies the baud rate of CAN communication.

[0129] 2. Send the read version command:

[0130] The host computer sends a read version command based on the identified communication pins and baud rate. For example, if the vehicle is identified as 6,14 pins with a baud rate of 250k, the host computer only sends data at a baud rate of 250k on pins 6,14.

[0131] 3. Get the original vehicle diagnostic instructions:

[0132] The host computer summarizes the communication methods and baud rates corresponding to each version of each electronic control manufacturer, as well as the method of reading the version. According to the version information replied by the vehicle, it intelligently matches with the mark of the diagnostic resource. After the match is successful, it displays the name and version of the vehicle's electronic control system and performs diagnosis.

[0133] Step S602: Filter the remote diagnosis cache command configuration data to obtain a corresponding command reply value.

[0134] Implementation:

[0135] 1. Establish command-reply mapping relationship:

[0136] Based on the original vehicle diagnostic instructions, the host computer establishes a mapping relationship on the server to associate each original vehicle diagnostic instruction with its corresponding instruction reply value. This usually involves the use of a database or hash table to achieve fast retrieval.

[0137] 2. Filter remote diagnostic cache command configuration data:

[0138] Using the original vehicle diagnostic command as a keyword, filter out the corresponding command reply value in the remote diagnostic cache command configuration data. This step can be implemented by querying the database or by looking up the hash table in memory.

[0139] 3. Get the corresponding command reply value:

[0140] Once a matching instruction is found, the host computer can obtain the corresponding instruction reply value, which will be used in the subsequent diagnosis process.

[0141] In this implementation, modular design and virtualization technology are used to simplify system upgrades and functional expansion, improve hardware utilization, reduce resource waste, and optimize costs; through isolation of security level differences and system stability assurance, multi-function coexistence and task isolation are achieved to meet the rapid response requirements of high real-time tasks; the development team can complete the development and testing of the underlying software when the hardware is unavailable, accelerate the product development process, and support rapid verification of complex architecture designs and functions; with the help of logs and debugging tools, software defects and system bottlenecks can be quickly located to reduce problem solving time; virtual prototypes are used to replace some hardware prototype requirements, significantly reducing hardware costs and resource consumption, and providing higher flexibility and maintainability; combined with big data technology, a vehicle precision diagnosis system with a one-to-one correspondence between vehicle problem phenomena and problem troubleshooting processes is gradually established or developed to achieve rapid and accurate positioning of vehicle problems; through the establishment of a remote diagnosis system, data on the entire life cycle of the vehicle can be completely collected and saved, a pre-diagnosis model for the entire vehicle is established, and effective warnings of failures in various vehicle systems are issued.

[0142] Step S70, uploading the original vehicle diagnostic command and the corresponding command reply value to the server for downloading by the preset diagnostic terminal diagnostic device and constructing a cache command table.

[0143] The vehicle-side diagnostic device transmits the original vehicle diagnostic instructions and their corresponding instruction reply values ​​from the vehicle-side diagnostic device to the server. This step is usually implemented through network communication, ensuring the centralized management and sharing of diagnostic data. The purpose is to update and store the latest diagnostic instructions and reply values ​​on the server, so that the preset diagnostic end device can download this data and build or update its cache instruction table.

[0144] Exemplarily, an implementation of the vehicle remote diagnosis method of the present application is as follows, wherein the vehicle-side diagnostic device is the B-end and the diagnostic-side diagnostic device is the C-end as an example:

[0145] First, configure the unchanged command database of all vehicle models on the server, such as the reply of each ECU to read the VIN code, hardware number, version information, etc., and then process the remote diagnosis as follows:

[0146] 1) Preparation for remote diagnosis on the C-end:

[0147] The C-end connector prompts the customer to plug in the connector first, and then the C-end background reads the vehicle information. If the reading is successful, it goes to the server to download the remote diagnostic cache command configuration of the vehicle. Then the C-end starts to scan all ECUs in the background, obtains the corresponding commands of the ECU, and stores the command sending and reply values, and finally packages and uploads them to the server.

[0148] For example, the following BCM (body system) version information command will store the request (Req) and reply (Ans) data, for example:

[0149] Req:08C4 00 02 21E5 00 00 00 00 00;

[0150] Ans:08A0 80 06 61E5 0C 21 06 02 07.

[0151] 2) Preparation for remote diagnosis on the B side:

[0152] After the command data on the C side is successfully uploaded, the B side downloads the data from the server, and then caches the sending and reply values ​​of each command locally.

[0153] 3) Formal remote diagnosis:

[0154] After waiting for both ends B and C to complete successfully and start remote diagnosis, after the B-side device receives any command, it first goes to the local cache of the B-side to obtain whether there is a matching command. If there is, the command reply is directly returned from the cache to the diagnostic device of the B-side, skipping the step of remotely requesting the C-side.

[0155] For example, after the command stored in 1) and cached in 2) is sent by the B-end device as Req:08C4 00 02 21E500 00 00 0000 command, the B-end connector will directly match Ans:08A0 80 06 61E5 0C 21 06 02 07 in the cache and return it directly to the B-end device without requesting the actual vehicle model of the C-end through the network.

[0156] Through the above steps, in the actual remote diagnosis process, some fixed commands can be directly replied to locally on the B side by caching and skipping the network, thereby improving the speed of remote diagnosis.

[0157] This embodiment provides a vehicle remote diagnosis method, which realizes remote vehicle fault diagnosis and repair through vehicle-side diagnostic equipment, thereby reducing the vehicle maintenance cost; by establishing communication between the vehicle and the cloud, the distance problem between the target vehicle and the technician is solved, and the flexibility of the diagnostic service is improved; the data of the target vehicle is selectively collected and stored in real time, which effectively assists in the troubleshooting of problems and provides a data basis for improving the quality of vehicle research and development; with the help of big data technology, combined with a remote diagnosis system, a set of vehicle accurate diagnosis systems with one-to-one correspondence between vehicle problem phenomena and problem troubleshooting processes are gradually established or developed to achieve rapid and accurate positioning of vehicle problems; through the establishment of a remote diagnosis system, data of the vehicle's entire life cycle can be completely collected and saved, providing data support for the vehicle's pre-diagnosis model; with the popularization of cloud platform technology, future vehicle remote diagnosis systems can realize cross-brand and cross-model diagnosis, improving the coverage and convenience of diagnostic services; based on cloud platform big data analysis and user portrait technology, more personalized services are provided, such as recommending personalized maintenance and care plans based on users' driving habits, vehicle usage and fault history.

[0158] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the vehicle remote diagnosis method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0159] This application also provides a vehicle remote diagnosis device, please refer to Figure 4 , the vehicle remote diagnosis device comprises:

[0160] The instruction acquisition module 10 is used to acquire vehicle diagnostic instructions;

[0161] The instruction matching module 20 is used to match the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result;

[0162] The vehicle diagnosis module 30 is used to obtain a diagnosis instruction reply value according to the instruction matching result, and perform vehicle diagnosis according to the diagnosis instruction reply value to obtain a vehicle remote diagnosis result.

[0163] Optionally, the instruction matching module 20 is further used for:

[0164] Download the original vehicle diagnostic command and the corresponding command reply value through the server;

[0165] Generating a command-response mapping relationship according to the original vehicle diagnostic command and the corresponding command reply value;

[0166] The cache instruction table is constructed according to the mapping relationship between the original vehicle diagnostic instructions and the instruction replies.

[0167] Optionally, the vehicle diagnostic module 30 is further used for:

[0168] When the command matching result is expressed as the cached command table containing the same vehicle original diagnostic command as the vehicle diagnostic command, obtaining a corresponding command reply value according to the vehicle original diagnostic command;

[0169] Using the command reply value as the diagnosis command reply value;

[0170] The vehicle is diagnosed according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

[0171] Optionally, the vehicle diagnostic module 30 is further used for:

[0172] When the command matching result indicates that the cached command table does not contain the same vehicle original diagnostic command as the vehicle diagnostic command, sending the vehicle diagnostic command to a preset vehicle-side diagnostic device;

[0173] Receiving a diagnostic command reply value sent by the vehicle-side diagnostic device;

[0174] The vehicle is diagnosed according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

[0175] In addition, to achieve the above-mentioned purpose, the present application also provides a vehicle remote diagnosis device, the vehicle remote diagnosis device comprising:

[0176] A first acquisition module is used to acquire basic vehicle configuration information and download remote diagnosis cache command configuration data through a server;

[0177] A second acquisition module, configured to obtain a vehicle original diagnosis instruction and a corresponding instruction reply value according to the vehicle basic configuration information and the remote diagnosis cache command configuration data;

[0178] The uploading module is used to upload the original vehicle diagnostic instruction and the corresponding instruction reply value to the server so that the preset diagnostic terminal diagnostic device can download and build a cache instruction table.

[0179] Optionally, the second acquisition module is further used for:

[0180] Performing a background scan on the electronic control unit in the vehicle according to the basic configuration information of the vehicle to obtain the original diagnostic instruction of the vehicle;

[0181] According to the original vehicle diagnostic instruction, the remote diagnostic cache command configuration data is screened to obtain the corresponding instruction reply value.

[0182] The vehicle remote diagnosis device provided by the present application adopts the vehicle remote diagnosis method in the above embodiment, which can solve the technical problem of low diagnosis efficiency caused by slow communication speed of the existing vehicle remote diagnosis method. Compared with the prior art, the beneficial effects of the vehicle remote diagnosis device provided by the present application are the same as the beneficial effects of the vehicle remote diagnosis method provided by the above embodiment, and other technical features in the vehicle remote diagnosis device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0183] The present application provides a vehicle remote diagnostic device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle remote diagnostic method in the above-mentioned embodiment one.

[0184] Reference below Figure 5 , which shows a schematic diagram of the structure of a vehicle remote diagnosis device suitable for implementing an embodiment of the present application. The vehicle remote diagnosis device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The vehicle remote diagnostic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0185] like Figure 5 As shown, the vehicle remote diagnosis device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle remote diagnosis device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle remote diagnostic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle remote diagnostic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0186] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0187] The vehicle remote diagnosis device provided by the present application adopts the vehicle remote diagnosis method in the above embodiment, which can solve the technical problem that the existing vehicle remote diagnosis method has low communication speed and low diagnosis efficiency. Compared with the prior art, the beneficial effects of the vehicle remote diagnosis device provided by the present application are the same as the beneficial effects of the vehicle remote diagnosis method provided by the above embodiment, and the other technical features in the vehicle remote diagnosis device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0188] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0189] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0190] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle remote diagnosis method in the above-mentioned embodiment.

[0191] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0192] The computer-readable storage medium may be included in the vehicle remote diagnosis device; or may exist independently without being assembled into the vehicle remote diagnosis device.

[0193] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the vehicle remote diagnosis device, the vehicle remote diagnosis device:

[0194] Get vehicle diagnostic instructions;

[0195] According to the vehicle diagnostic instruction, matching is performed with a preset cache instruction table to obtain an instruction matching result;

[0196] According to the command matching result, a diagnosis command reply value is obtained, and a vehicle diagnosis is performed according to the diagnosis command reply value to obtain a vehicle remote diagnosis result.

[0197] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0198] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0199] The modules involved in the embodiments of the present application may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0200] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle remote diagnosis method, and can solve the technical problem of low diagnostic efficiency caused by slow communication speed of the existing vehicle remote diagnosis method. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle remote diagnosis method provided by the above-mentioned embodiment, and will not be repeated here.

[0201] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the vehicle remote diagnosis method as described above are implemented.

[0202] The computer program product provided by the present application can solve the technical problem that the existing vehicle remote diagnosis method has low communication speed and low diagnosis efficiency. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle remote diagnosis method provided by the above embodiment, which will not be described in detail here.

[0203] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A vehicle remote diagnosis method, characterized in that: The method is applied to a diagnostic end diagnostic device, and the method comprises: Get vehicle diagnostic instructions; According to the vehicle diagnostic instruction, matching is performed with a preset cache instruction table to obtain an instruction matching result; According to the command matching result, a diagnosis command reply value is obtained, and a vehicle diagnosis is performed according to the diagnosis command reply value to obtain a vehicle remote diagnosis result.

2. The method according to claim 1, characterized in that Before the step of matching the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result, the method further includes: Download the original vehicle diagnostic command and the corresponding command reply value through the server; Generating a command-response mapping relationship according to the original vehicle diagnostic command and the corresponding command reply value; The cache instruction table is constructed according to the mapping relationship between the original vehicle diagnostic instructions and the instruction replies.

3. The method according to claim 1, characterized in that The step of obtaining a diagnostic instruction reply value according to the instruction matching result, and performing vehicle diagnosis according to the diagnostic instruction reply value to obtain a vehicle remote diagnosis result includes: When the command matching result is expressed as the cached command table containing the same vehicle original diagnostic command as the vehicle diagnostic command, obtaining a corresponding command reply value according to the vehicle original diagnostic command; Using the command reply value as the diagnosis command reply value; The vehicle is diagnosed according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

4. The method according to claim 1, characterized in that The step of obtaining a diagnostic instruction reply value according to the instruction matching result, and performing vehicle diagnosis according to the diagnostic instruction reply value to obtain a vehicle remote diagnosis result further includes: When the command matching result indicates that the cached command table does not contain the same vehicle original diagnostic command as the vehicle diagnostic command, sending the vehicle diagnostic command to a preset vehicle-side diagnostic device; Receiving a diagnostic command reply value sent by the vehicle-side diagnostic device; The vehicle is diagnosed according to the diagnosis instruction reply value to obtain the vehicle remote diagnosis result.

5. A vehicle remote diagnosis method, characterized in that: The method is applied to a vehicle-side diagnostic device, and the method comprises: Obtain basic vehicle configuration information and download remote diagnostic cache command configuration data through the server; Obtaining a vehicle original diagnostic command and a corresponding command reply value according to the vehicle basic configuration information and the remote diagnostic cache command configuration data; The original vehicle diagnostic command and the corresponding command reply value are uploaded to the server for downloading by the preset diagnostic terminal diagnostic device and building a cache command table.

6. The method according to claim 5, characterized in that The step of obtaining the vehicle original diagnostic command and the corresponding command reply value according to the vehicle basic configuration information and the remote diagnostic cache command configuration data comprises: Performing a background scan on the electronic control unit in the vehicle according to the basic configuration information of the vehicle to obtain the original diagnostic instruction of the vehicle; According to the original vehicle diagnostic instruction, the remote diagnostic cache command configuration data is screened to obtain the corresponding instruction reply value.

7. A vehicle remote diagnostic device, characterized in that: The device comprises: An instruction acquisition module, used for acquiring vehicle diagnostic instructions; An instruction matching module, used to match the vehicle diagnostic instruction with a preset cache instruction table to obtain an instruction matching result; The vehicle diagnosis module is used to obtain a diagnosis instruction reply value according to the instruction matching result, and perform vehicle diagnosis according to the diagnosis instruction reply value to obtain a vehicle remote diagnosis result.

8. A vehicle remote diagnostic device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle remote diagnosis method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle remote diagnosis method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the vehicle remote diagnosis method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Risk prompting method and device of vehicle diagnostic equipment and computer readable storage medium

    CN122511068A