Vehicle remote diagnosis method, script engine and cloud diagnosis platform
By interacting with the cloud-based diagnostic platform through an in-vehicle script engine to execute diagnostic scripts, the problem of limited functionality in existing remote vehicle diagnostic methods is solved. This enables the expansion of complex logic control and diagnostic functions, improving diagnostic efficiency and user satisfaction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING BAIDU NETCOM SCI & TECH CO LTD
- Filing Date
- 2023-07-05
- Publication Date
- 2026-07-14
AI Technical Summary
Existing remote vehicle diagnostic methods are limited in function, unable to perform complex logic control, and have fixed diagnostic commands that cannot be expanded, resulting in low diagnostic efficiency.
It uses a script engine to execute diagnostic scripts inside the vehicle and interacts with the cloud-based diagnostic platform, supporting logic control functions and extending diagnostic functions through interactive script execution.
It improves the efficiency and flexibility of vehicle diagnostics, saves labor costs, expands diagnostic functions, and enhances user satisfaction.
Smart Images

Figure CN116859885B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle technology, and in particular to the field of vehicle diagnostics and vehicle fault detection. Background Technology
[0002] After a vehicle is sold to a customer, if any abnormal issues arise, after-sales service typically needs to intervene manually to troubleshoot the problem. This usually involves using a diagnostic tool to access the vehicle offline and read diagnostic information to diagnose the issue. Remote vehicle diagnostics aims to solve the problem of customers having to go to a physical repair shop for inspection. However, traditional remote diagnostics are limited in functionality, only offering basic Unified Diagnostic Services (UDS) diagnostics, and their capabilities are difficult to expand. Summary of the Invention
[0003] This disclosure provides a method for remote vehicle diagnostics, a script engine, and a cloud-based diagnostic platform.
[0004] According to one aspect of this disclosure, a remote vehicle diagnostic method is provided, applied to a script engine installed inside the vehicle, the method comprising:
[0005] Receive diagnostic scripts from the cloud-based diagnostic platform;
[0006] The diagnostic script is parsed and executed, and the execution results are sent to the cloud-based diagnostic platform during the process; and,
[0007] The system receives input information from the cloud-based diagnostic platform, uses this information as input parameters during the execution process, and continues to execute the diagnostic script.
[0008] According to another aspect of this disclosure, a remote vehicle diagnostic method is provided, applied to a cloud-based diagnostic platform, the method comprising:
[0009] Edit the vehicle's diagnostic script and send it to the script engine, which is set up inside the vehicle;
[0010] Receive the execution results of the diagnostic script during its execution from the script engine;
[0011] Display the execution result and receive input information based on the execution result; and,
[0012] The input information is sent to the script engine and serves as an input parameter for the diagnostic script during execution.
[0013] According to another aspect of this disclosure, a script engine for remote vehicle diagnostics is provided, the script engine being configured within the vehicle, the script engine comprising:
[0014] The receiving unit is used to receive diagnostic scripts from the cloud-based diagnostic platform.
[0015] The parsing and execution unit is used to parse and execute the diagnostic script;
[0016] The first interactive unit is used to send the execution result to the cloud diagnostic platform during the execution process, and to receive input information from the cloud diagnostic platform, using the input information as input parameters during the execution process.
[0017] According to another aspect of this disclosure, a cloud-based diagnostic platform for remote vehicle diagnostics is provided, the cloud-based diagnostic platform comprising:
[0018] The script editor unit is used to edit the vehicle's diagnostic scripts and send the diagnostic scripts to the script engine, which is set up inside the vehicle.
[0019] The second interaction unit is used to receive the execution result of the diagnostic script during the execution process from the script engine; display the execution result and receive input information based on the execution result; and send the input information to the script engine as input parameters of the diagnostic script during the execution process.
[0020] According to another aspect of this disclosure, a system for remote vehicle diagnostics is provided, wherein the system includes:
[0021] Any script engine; and,
[0022] Any cloud-based diagnostic platform.
[0023] According to another aspect of this disclosure, an electronic device is provided, comprising:
[0024] At least one processor; and
[0025] The memory is communicatively connected to the at least one processor; wherein,
[0026] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods of any embodiment of the present disclosure.
[0027] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause the computer to perform a method according to any embodiment of this disclosure.
[0028] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements a method according to any embodiment of this disclosure.
[0029] According to another aspect of this disclosure, a vehicle is provided that includes any script engine.
[0030] The vehicle remote diagnostic method proposed in this disclosure is applied to a script engine installed inside the vehicle. This script engine receives diagnostic scripts from a cloud-based diagnostic platform, parses and executes the scripts, and interacts with the cloud-based diagnostic platform in real time during the diagnostic process. Specifically, during execution, it can send execution results to the cloud-based diagnostic platform and receive input information from the cloud-based diagnostic platform, using this input information as input parameters for subsequent execution processes to continue executing the diagnostic script. By utilizing a script engine for interactive script execution, the diagnostic functions of the vehicle can be expanded.
[0031] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0032] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0033] Figure 1 This is a schematic diagram of the application scenarios disclosed herein;
[0034] Figure 2 This is a schematic diagram of the structure of a vehicle remote diagnostic application system disclosed herein;
[0035] Figure 3 This is a schematic diagram of a vehicle remote diagnostic method according to the present disclosure. Figure 1 ;
[0036] Figure 4 This is a schematic diagram of another application system structure for remote vehicle diagnostics disclosed herein;
[0037] Figure 5 This is a schematic diagram of a vehicle remote diagnostic method according to the present disclosure. Figure 2 ;
[0038] Figure 6A This is a schematic diagram of the structure of a script engine for remote vehicle diagnostics according to an embodiment of the present disclosure;
[0039] Figure 6B This is a schematic diagram of the structure of a script engine for remote vehicle diagnostics according to another embodiment of the present disclosure;
[0040] Figure 7A This is a schematic diagram of the structure of a cloud-based remote diagnostic platform for vehicles according to an embodiment of the present disclosure;
[0041] Figure 7BThis is a schematic diagram of the structure of a cloud-based remote diagnostic platform for vehicles according to another embodiment of the present disclosure;
[0042] Figure 8 This is a schematic diagram of the structure of a vehicle remote diagnostic system 800 according to an embodiment of the present disclosure;
[0043] Figure 9 A schematic block diagram of an example electronic device 900 that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation
[0044] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0045] Vehicle diagnostics refers to the process by which after-sales personnel manually troubleshoot any abnormal problems that arise after a vehicle has been sold to a customer. Vehicle diagnostic methods include the following categories:
[0046] (1) Diagnostic instrument diagnosis: This method allows diagnostic equipment to be connected to the vehicle via the On Board Diagnostics (OBD) interface for diagnosis.
[0047] (2) Remote diagnostics with a vehicle communication interface (VCI) device. This method can connect the VCI device to the vehicle's OBD interface, and then the VCI device can be wirelessly connected to a remote diagnostic instrument, mobile device, or computer. Then, the VCI device can be operated remotely to perform diagnostics.
[0048] (3) Basic Remote Diagnostics: A diagnostic control program is integrated into the telematics control unit (T-BOX), which supports a limited set of diagnostic commands. Diagnostic commands are sent directly from the cloud, executed by the diagnostic control program in the vehicle, and the results are returned. Of the three methods above, methods (1) and (2) require offline connection to a diagnostic tool or VCI, and the diagnosis must be performed through the OBD interface, resulting in fewer diagnostic operations. The disadvantage of method (3) is that the number of diagnostic commands that can be accepted is limited and fixed, and cannot be dynamically expanded; and only a single command can be executed at a time, and the result can be received, making it impossible to execute complex logic.
[0049] Specifically, existing basic remote diagnostic methods do not employ script-based diagnostics; instead, they rely on individual commands, which lack logical control functionality. For example, in current technology, when a remote diagnostic platform needs to acquire data, it sends a data acquisition command to the vehicle. The vehicle acquires the data according to this command and returns it to the remote diagnostic platform. The platform then continues subsequent vehicle diagnostics based on the received data. Similarly, when the remote diagnostic platform needs to control the vehicle to perform operations, it sends operation commands to the vehicle, which executes the corresponding operations and provides feedback. Upon receiving the feedback, the remote diagnostic platform continues the subsequent vehicle diagnostic process. In essence, existing remote vehicle diagnostic methods involve the remote diagnostic platform sending commands to the vehicle one by one, with the vehicle executing each command sequentially. The vehicle can only execute a single command at a time and cannot perform complex logic.
[0050] Figure 1 This is a schematic diagram of one application scenario disclosed herein. For example... Figure 1 As shown, the application scenario includes: cloud diagnostic platform 110 and vehicle 120.
[0051] In some implementations, the cloud diagnostic platform 110 may include user-used electronic devices, such as personal computers, mobile phones, tablets, laptops, and e-book readers, which are computer devices with certain computing capabilities. The cloud diagnostic platform 110 may include independent physical servers, server clusters consisting of multiple physical servers, distributed systems, and a Content Delivery Network (CDN) capable of providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, and security services. In this application scenario, one or more components (e.g., the cloud diagnostic platform 110, the vehicle 120) can be connected via any type of wireless network.
[0052] This disclosure proposes a remote vehicle diagnostic method based on a script engine. Figure 2 This is a schematic diagram of the application system structure for remote vehicle diagnostics according to this disclosure. The remote vehicle diagnostics method proposed in this embodiment can be applied to this application system. Figure 2 As shown, this embodiment of the present disclosure can set up a script engine inside the vehicle and set up a cloud diagnostic platform remotely. The script engine receives diagnostic scripts from the cloud diagnostic platform and performs an interactive script execution process, which can expand the diagnostic functions of the vehicle.
[0053] Figure 3 This is a schematic diagram of a vehicle remote diagnostic method according to the present disclosure. Figure 1This method can be applied to the script engine of a vehicle remote diagnostics application system. This script engine can be set up inside the vehicle, such as... Figure 3 As shown, the method may include at least a portion of the following steps:
[0054] S310, Receive diagnostic scripts from the cloud-based diagnostic platform;
[0055] S320. Parse and execute the diagnostic script, and send the execution results to the cloud diagnostic platform during the execution process;
[0056] S330: Receive input information from the cloud-based diagnostic platform, use this input information as input parameters during the execution process, and continue executing the diagnostic script.
[0057] In this way, the script engine can achieve an interactive script execution process. For example, S320 and S330 can be executed repeatedly until the diagnostic script is fully executed. The core of the diagnostic script is its support for logical control functions, including sequential execution, conditional statements, loop statements, and judgment statements. Because the diagnostic script is executed using a script engine, and the diagnostic script supports logical control functions, it avoids the existing method of receiving and executing instructions one by one for vehicle diagnosis, thus improving the efficiency of vehicle diagnosis and saving labor costs. Furthermore, due to the interactive script execution method, input information is received from the cloud diagnostic platform during script execution and used as input parameters in subsequent script execution processes to control the subsequent diagnostic script execution process. Therefore, it can expand the diagnostic functions of the vehicle and achieve better results, improving customer satisfaction.
[0058] In some implementations, the method may further include sending the diagnostic results to the cloud diagnostic platform after the diagnostic script has been executed, so that the cloud diagnostic platform can display the diagnostic results.
[0059] By sending the diagnostic results to the cloud-based diagnostic platform, the platform can display the results, allowing the diagnostic experts to see them clearly and take appropriate action.
[0060] In some implementations, a diagnostic master control program can be set in the vehicle's T-BOX, and a script engine can be set within this program. The Telematics BOX (T-BOX), also known as the in-vehicle T-BOX, is a component of the vehicle-to-everything (V2X) system. The V2X system comprises four parts: the main unit, the in-vehicle T-BOX, a mobile app, and a backend system. The in-vehicle T-BOX can communicate with the backend system / mobile app, enabling vehicle information display and control via the app. Setting the script engine within the diagnostic master control program of the T-BOX facilitates interaction between the diagnostic engine and a remote cloud-based diagnostic platform.
[0061] Figure 4 This is a schematic diagram of another application system architecture for remote vehicle diagnostics disclosed herein. For example... Figure 4 As shown, a diagnostic master control program is installed in the vehicle's T-BOX, and a script engine is installed within the diagnostic master control program. In some implementations, a cloud-based diagnostic platform (hereinafter referred to as the diagnostic platform) is installed remotely, and the cloud-based diagnostic platform and the vehicle can communicate through a secure communication layer. The cloud-based diagnostic platform can include a script editor unit for editing diagnostic scripts for vehicle fault diagnosis and sending the diagnostic scripts to the vehicle. The script engine in the vehicle can receive the diagnostic script, parse it, and execute it; during execution, the script engine can send the execution results to the cloud-based diagnostic platform. After receiving the execution results, the cloud-based diagnostic platform can display them; based on the execution results, diagnostic experts can input information into the cloud-based diagnostic platform to control subsequent execution processes. After receiving the input information from the diagnostic expert, the cloud-based diagnostic platform sends the input information to the vehicle. The script engine in the vehicle receives this input information and uses it as input parameters for subsequent script execution, thereby continuing to execute the diagnostic script.
[0062] In some implementations, embodiments of this disclosure may place the instructions supported by the diagnostic script in a dynamic link library. This dynamic link library may be an SO library or a DLL library, etc. During the execution of the diagnostic script, the instructions supported by the diagnostic script can be called from the dynamic link library at any time and executed. Figure 4 As shown in the embodiments of this disclosure, the instructions involved can be uploaded by diagnostic experts to a cloud-based diagnostic platform, and the cloud-based diagnostic platform can then send the uploaded instructions to the vehicle, where they are stored. For example, diagnostic experts can upload instructions supported by the diagnostic script to the cloud-based diagnostic platform using an SO library upload method; the cloud-based diagnostic platform sends the uploaded instructions to the T-BOX or central gateway in the form of an SO library; the vehicle stores the received instructions in the form of an SO library, and each SO library may include one or more instructions. Figure 4The diagram illustrates a method for uploading, sending, and saving instructions supported by diagnostic scripts in SO format. In other embodiments of this disclosure, other dynamic link libraries can be used for uploading, sending, and saving instructions, such as DLLs. This disclosure does not limit the specific implementation method.
[0063] In some embodiments, the method proposed in this disclosure may further include: receiving instructions supported by the diagnostic script from a cloud-based diagnostic platform; storing the instructions in multiple dynamic link libraries, with each dynamic link library storing one or more instructions.
[0064] By storing the instructions supported by the diagnostic scripts in their respective dynamic link libraries, the diversity of vehicle diagnostic methods can be improved, facilitating dynamic control of vehicle diagnostics.
[0065] In some implementations, the process of parsing and executing the diagnostic script in the method proposed in this disclosure may include:
[0066] Parse the diagnostic script;
[0067] Execute the diagnostic script and, during execution, determine the instructions supported by the diagnostic script.
[0068] Identify and invoke the instructions supported by the diagnostic script from the dynamic link library;
[0069] Execute the commands supported by this diagnostic script.
[0070] Taking dynamic link libraries, including SO libraries, as an example, when a script engine executes a diagnostic script, if the diagnostic script needs to call instruction A, the script engine can find the SO library containing instruction A, retrieve the code of instruction A from the SO library, execute the code of instruction A, and then continue executing the diagnostic script; when the diagnostic script needs to call instruction B, the script engine can find the SO library containing instruction B, retrieve the code of instruction B from the SO library, and execute the code; ... and so on, until the diagnostic script has been executed.
[0071] By calling the necessary instructions in real time during the execution of the diagnostic script, the flexibility of vehicle diagnosis can be improved, thereby enhancing the overall diagnostic effect and increasing user satisfaction.
[0072] In some implementations, the instructions supported by the diagnostic scripts in these embodiments can be updated in real time. For example, a dynamic link library including an SO library, such as... Figure 4As shown, for example, a diagnostic expert sends an instruction operation command to an instruction on a cloud-based diagnostic platform; the instruction operation command can be used to instruct the operation performed on the instructions supported by the diagnostic script, such as instructing at least one of the following operations: extension operation, modification operation, and deletion operation.
[0073] Accordingly, in some implementations, the script engine can receive instruction operation commands from the cloud diagnostic platform; these instruction operation commands are used to indicate the operation to be performed on the instruction; and the dynamic link library corresponding to the instruction can be updated according to the instruction operation commands.
[0074] By receiving instruction operation commands from the cloud-based diagnostic platform and updating the corresponding dynamic link libraries based on these commands, the instructions supported by the diagnostic script can be dynamically updated, facilitating the updating and upgrading of vehicle diagnostic methods.
[0075] This disclosure also proposes another method for remote vehicle diagnostics, which can be applied to a cloud-based diagnostic platform, such as... Figure 4 The diagnostic platform in the vehicle remote diagnostic application system shown is illustrated. Figure 5 As shown, the method may include at least some of the following steps:
[0076] S510. Edit the vehicle's diagnostic script and send the diagnostic script to the script engine, which is set up inside the vehicle.
[0077] S520: Receive the execution results of the diagnostic script during its execution from the script engine;
[0078] S530. Display the execution result and receive the input information based on the execution result;
[0079] S540. Send the input information to the script engine. The input information serves as the input parameter for the diagnostic script during execution.
[0080] In some implementations, the script engine can be set up inside the vehicle, such as in the diagnostic master program in the vehicle's T-BOX.
[0081] The cloud-based diagnostic platform can receive information input from diagnostic experts and use this information to edit vehicle diagnostic scripts. These scripts support logical control functions, including sequential execution, conditional statements, loops, and conditional statements. The cloud-based platform sends the diagnostic script to a script engine, which parses and executes it. Because the script engine executes the diagnostic script, and the script supports logical control functions, it avoids the need to receive and execute instructions line by line, thus improving diagnostic efficiency and saving labor costs. Furthermore, during script execution, the cloud-based platform can receive the execution results in real time and send the expert's input based on these results back to the script engine for further execution. This interactive script execution method allows the cloud-based platform to effectively control the subsequent execution process, expanding vehicle diagnostic capabilities, achieving better results, and increasing customer satisfaction.
[0082] In some implementations, the vehicle diagnostic method may further include a cloud-based diagnostic platform receiving diagnostic results from a script engine and displaying the diagnostic results.
[0083] By displaying the diagnostic results, the results can be presented intuitively to diagnostic experts, who can then take appropriate action based on them.
[0084] In some implementations, the cloud-based diagnostic platform can update and edit the instructions supported by the script in real time and send the instructions supported by the diagnostic script to the script engine. These instructions are stored in multiple dynamic link libraries, with one or more of the instructions stored in each dynamic link library.
[0085] In some implementations, the method further includes sending an instruction operation command to the script engine; the instruction operation command is used to indicate the operation to be performed on the instruction.
[0086] In some implementations, the instruction operation command is used to instruct at least one of the following operations: expansion operation, modification operation, and deletion operation.
[0087] By editing the instructions supported by the diagnostic scripts and sending these instructions to the vehicle, which then stores the instructions in their corresponding dynamic link libraries, the diversity of vehicle diagnostic methods can be improved, facilitating dynamic control of vehicle diagnostics. Furthermore, the cloud-based diagnostic platform can send and receive instruction operation commands to the vehicle, controlling the vehicle to update the corresponding dynamic link libraries based on these commands. This enables dynamic updates to the instructions supported by the diagnostic scripts, facilitating the updating and upgrading of vehicle diagnostic methods.
[0088] This disclosure also proposes a script engine for remote vehicle diagnostics. Figure 6A This is a schematic diagram of the structure of a script engine for remote vehicle diagnostics according to an embodiment of the present disclosure, including:
[0089] The receiving unit 610 is used to receive diagnostic scripts from the cloud-based diagnostic platform;
[0090] The parsing and execution unit 620 is used to parse and execute the diagnostic script;
[0091] The first interaction unit 630 is used to send the execution result to the cloud diagnostic platform during the execution process, and to receive input information from the cloud diagnostic platform, using the input information as input parameters during the execution process.
[0092] This disclosure also proposes a script engine for remote vehicle diagnostics. Figure 6B This is a schematic diagram of the structure of a script engine for remote vehicle diagnostics according to another embodiment of the present disclosure, as shown below. Figure 6B As shown, the script engine also includes:
[0093] The sending unit 640 is used to send the diagnostic results to the cloud diagnostic platform after the diagnostic script has been executed, so that the cloud diagnostic platform can display the diagnostic results.
[0094] In one implementation, the script engine further includes:
[0095] The instruction maintenance unit 650 is used to receive the instructions supported by the diagnostic script from the cloud diagnostic platform; and to store the instructions in multiple dynamic link libraries, with each dynamic link library storing one or more of the instructions.
[0096] In one implementation, the parsing and execution unit 620 is used for:
[0097] Parse the diagnostic script;
[0098] Execute the diagnostic script and, during execution, determine the instructions supported by the diagnostic script;
[0099] Identify and invoke the instructions supported by the diagnostic script from the dynamic link library;
[0100] Execute the commands supported by this diagnostic script.
[0101] In one implementation, the instruction maintenance unit 650 is used for:
[0102] Receive instruction operation commands from the cloud-based diagnostic platform; these instruction operation commands are used to indicate the operation to be performed on the instruction.
[0103] According to the instruction, update the dynamic link library corresponding to the instruction.
[0104] In one implementation, the instruction operation command is used to instruct at least one of an extension operation, a modification operation, and a deletion operation on the instruction.
[0105] In one implementation, a diagnostic master program is set in the vehicle's T-BOX, and the script engine is set in the diagnostic master program.
[0106] This disclosure also proposes a cloud-based diagnostic platform for remote vehicle diagnostics. Figure 7A This is a schematic diagram of the structure of a cloud-based remote vehicle diagnostic platform according to an embodiment of the present disclosure, including:
[0107] The script editor unit 710 is used to edit the vehicle's diagnostic scripts and send the diagnostic scripts to the script engine, which is set up inside the vehicle.
[0108] The second interaction unit 720 is used to receive the execution result of the diagnostic script during the execution process from the script engine; display the execution result and receive input information based on the execution result; and send the input information to the script engine, whereby the input information serves as the input parameter of the diagnostic script during the execution process.
[0109] This disclosure also proposes a cloud-based diagnostic platform for remote vehicle diagnostics. Figure 7B This is a schematic diagram of the structure of a cloud-based remote vehicle diagnostic platform according to another embodiment of the present disclosure, as shown below. Figure 7B As shown, the cloud-based diagnostic platform also includes:
[0110] Display unit 730 is used to receive diagnostic results from the script engine and display the diagnostic results.
[0111] In one implementation, the cloud-based diagnostic platform further includes:
[0112] The instruction processing unit 740 is used to send instructions supported by the diagnostic script to the script engine. These instructions are stored in multiple dynamic link libraries, with one or more of the instructions stored in each dynamic link library.
[0113] In one embodiment, the instruction processing unit 740 is further configured to send an instruction operation command to the script engine; the instruction operation command is used to indicate the operation to be performed on the instruction.
[0114] In one implementation, the instruction operation command is used to instruct at least one of an extension operation, a modification operation, and a deletion operation on the instruction.
[0115] This disclosure also proposes a system for remote vehicle diagnostics. Figure 8 This is a schematic diagram of the structure of a vehicle remote diagnostic system 800 according to an embodiment of the present disclosure, including: a script engine 810 and a cloud diagnostic platform 820.
[0116] In some implementations, the script engine 810 and the cloud diagnostic platform 820 can be connected wirelessly. The script engine 810 can be installed inside the vehicle, such as in the diagnostic master program in the vehicle's T-BOX.
[0117] The structure and functions of the script engine and cloud diagnostic platform can be referred to in the aforementioned embodiments, and will not be repeated here.
[0118] The specific functions and examples of each module and submodule of the apparatus in this disclosure can be found in the relevant descriptions of the corresponding steps in the above method embodiments, and will not be repeated here.
[0119] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0120] Figure 9 A schematic block diagram of an example electronic device 900 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0121] like Figure 9 As shown, device 900 includes a computing unit 901, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 902 or a computer program loaded from storage unit 908 into random access memory (RAM) 903. RAM 903 may also store various programs and data required for the operation of device 900. The computing unit 901, ROM 902, and RAM 903 are interconnected via bus 904. Input / output (I / O) interface 905 is also connected to bus 904.
[0122] Multiple components in device 900 are connected to I / O interface 905, including: input unit 906, such as keyboard, mouse, etc.; output unit 907, such as various types of monitors, speakers, etc.; storage unit 908, such as disk, optical disk, etc.; and communication unit 909, such as network card, modem, wireless transceiver, etc. Communication unit 909 allows device 900 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0123] The computing unit 901 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 901 performs the various methods and processes described above, such as a vehicle remote diagnostic method. For example, in some embodiments, the vehicle remote diagnostic method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on device 900 via ROM 902 and / or communication unit 909. When the computer program is loaded into RAM 903 and executed by the computing unit 901, one or more steps of the vehicle remote diagnostic method described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the vehicle remote diagnostic method by any other suitable means (e.g., by means of firmware).
[0124] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0125] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0126] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0127] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0128] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0129] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.
[0130] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0131] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A remote vehicle diagnostic method, applied to a script engine installed inside the vehicle, the method comprising: Receive diagnostic scripts from the cloud-based diagnostic platform; Parse the diagnostic script; Execute the diagnostic script, and during execution, determine the instructions supported by the diagnostic script; determine the dynamic link library containing the instructions supported by the diagnostic script; Extract the code of the instructions supported by the diagnostic script from the dynamic link library, and execute the code of the instructions supported by the diagnostic script; During execution, the execution results will be sent to the cloud-based diagnostic platform; and, The system receives input information from the cloud-based diagnostic platform and uses this information as input parameters during the execution process to continue executing the diagnostic script. The input information includes information determined by diagnostic experts based on the execution results.
2. The method according to claim 1, further comprising: After the diagnostic script is executed, the diagnostic results are sent to the cloud diagnostic platform for display.
3. The method according to claim 1 or 2, further comprising: Receive instructions supported by the diagnostic script from the cloud-based diagnostic platform; The instructions are stored in multiple dynamic link libraries, and each dynamic link library stores one or more of the instructions.
4. The method according to claim 1, further comprising: Receive instruction operation commands from the cloud diagnostic platform; the instruction operation commands are used to indicate the operation to be performed on the instruction; Update the dynamic link library corresponding to the instruction according to the instruction operation command.
5. The method according to claim 4, wherein, The instruction operation command is used to instruct at least one of the following operations: extension operation, modification operation, and deletion operation.
6. The method according to claim 1 or 2, wherein, The vehicle's vehicle networking control unit T-BOX is equipped with a diagnostic master control program, and the diagnostic master control program is equipped with the script engine.
7. A method for remote vehicle diagnostics, applied to a cloud-based diagnostic platform, the method comprising: Edit the vehicle's diagnostic script and send the diagnostic script to a script engine located inside the vehicle; Receive the execution results of the diagnostic script during the execution process from the script engine; Display the execution result and receive input information based on the execution result, including information determined by a diagnostic expert based on the execution result; as well as, The input information is sent to the script engine so that the script engine can continue subsequent script execution operations. The input information serves as the input parameters of the diagnostic script during execution.
8. The method according to claim 7, further comprising: Receive diagnostic results from the script engine and display the diagnostic results.
9. The method according to claim 7 or 8, further comprising: Send instructions supported by the diagnostic script to the script engine. These instructions are stored in multiple dynamic link libraries, with one or more of the instructions stored in each dynamic link library.
10. The method of claim 9, further comprising: Send instruction operation commands to the script engine; the instruction operation commands are used to indicate the operation to be performed on the instruction.
11. The method according to claim 10, wherein, The instruction operation command is used to instruct at least one of the following operations: extension operation, modification operation, and deletion operation.
12. A script engine for remote vehicle diagnostics, the script engine being installed inside the vehicle, the script engine comprising: The receiving unit is used to receive diagnostic scripts from the cloud-based diagnostic platform. The parsing and execution unit is used to parse the diagnostic script; Execute the diagnostic script, and during execution, determine the instructions supported by the diagnostic script; determine the dynamic link library containing the instructions supported by the diagnostic script; Extract the code of the instructions supported by the diagnostic script from the dynamic link library, and execute the code of the instructions supported by the diagnostic script; The first interaction unit is used to send the execution result to the cloud diagnostic platform during the execution process, and to receive input information from the cloud diagnostic platform, using the input information as input parameters during the execution process; the input information includes information determined by the diagnostic expert based on the execution result.
13. The script engine of claim 12, further comprising: The sending unit is used to send the diagnostic results to the cloud diagnostic platform after the diagnostic script has been executed, so that the cloud diagnostic platform can display the diagnostic results.
14. The script engine according to claim 12 or 13, further comprising: The instruction maintenance unit is used to receive instructions supported by the diagnostic script from the cloud diagnostic platform; and to store the instructions in multiple dynamic link libraries, with each dynamic link library storing one or more of the instructions.
15. The script engine according to claim 12, wherein, The instruction maintenance unit is also used for: Receive instruction operation commands from the cloud diagnostic platform; the instruction operation commands are used to indicate the operation to be performed on the instruction; Update the dynamic link library corresponding to the instruction according to the instruction operation command.
16. The script engine according to claim 15, wherein, The instruction operation command is used to instruct at least one of the following operations: extension operation, modification operation, and deletion operation.
17. The script engine according to claim 12 or 13, wherein, The vehicle's vehicle networking control unit T-BOX is equipped with a diagnostic master control program, and the diagnostic master control program is equipped with the script engine.
18. A cloud-based diagnostic platform for remote vehicle diagnostics, the cloud-based diagnostic platform comprising: A script editor unit is used to edit the vehicle's diagnostic scripts and send the diagnostic scripts to a script engine located inside the vehicle. The second interaction unit is used to receive the execution results of the diagnostic script during the execution process from the script engine; Display the execution result and receive input information based on the execution result, including information determined by a diagnostic expert based on the execution result; The input information is sent to the script engine so that the script engine can continue subsequent script execution operations. The input information serves as the input parameters of the diagnostic script during execution.
19. The cloud-based diagnostic platform according to claim 18 further includes, The display unit is used to receive diagnostic results from the script engine and display the diagnostic results.
20. The cloud-based diagnostic platform according to claim 18 or 19, further comprising: The instruction processing unit is used to send instructions supported by the diagnostic script to the script engine. The instructions are stored in multiple dynamic link libraries, and each dynamic link library stores one or more of the instructions.
21. The cloud-based diagnostic platform according to claim 20, wherein the instruction processing unit is further configured to send an instruction operation command to the script engine; the instruction operation command is used to indicate the operation to be performed on the instruction.
22. The cloud-based diagnostic platform according to claim 21, wherein, The instruction operation command is used to instruct at least one of the following operations: extension operation, modification operation, and deletion operation.
23. A system for remote vehicle diagnostics, wherein, The system includes: The script engine according to any one of claims 12-17; and, The cloud-based diagnostic platform as described in any one of claims 18-22.
24. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-11.
25. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-11.
26. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-11.
27. A vehicle comprising the script engine described in any one of claims 12-17.