Vehicle-mounted diagnosis system, diagnosis method, electronic device and automobile
By connecting mobile devices to the in-vehicle diagnostic service module, the system can diagnose internal and external vehicle components, solving the problems of large equipment size, high cost, and limited diagnostic range in existing technologies. Users can instantly understand detailed fault conditions.
Patent Information
- Application Number
- CN202311053724.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-21
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-08-21
AI Technical Summary
Existing automotive fault diagnosis equipment is bulky, expensive, and cannot be carried in the vehicle. The OBD system cannot diagnose in-vehicle devices, and users cannot immediately understand the detailed fault situation.
The diagnostic application module on the mobile device connects with the diagnostic service module in the vehicle to obtain data information and send diagnostic requests. The diagnostic service module responds and executes diagnostic instructions to diagnose the internal and external components of the vehicle.
Users can instantly access detailed fault information on their mobile devices without the need for specialized equipment, enabling the diagnosis of both internal and external vehicle components and overcoming the space and hardware constraints of existing technologies.
Smart Images

Figure CN116909254B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of automobile electronic control, and particularly relates to an on-vehicle diagnosis system, a diagnosis method, an electronic device and an automobile BACKGROUND
[0002] The common methods for diagnosing faults of automobile parts in the prior art are using an automobile fault decoder for diagnosis and using an automobile diagnosis code reading card for diagnosis. The automobile fault code reading device is usually located at an automobile maintenance station or a 4S store, has a large volume, has high diagnosis cost, and must be used in a specific space and cannot be carried along with the vehicle. The automobile diagnosis code reading card is a small device, and due to its own structural design, cannot display relatively detailed automobile diagnosis information, and users cannot immediately know detailed automobile fault conditions.
[0003] In addition, in the prior art, diagnosis devices usually diagnose vehicle body devices in an OBD mode, and the OBD system cannot diagnose in-vehicle devices. When an in-vehicle device fails, an additional in-vehicle device diagnosis tool needs to be used for diagnosis. SUMMARY
[0004] In view of the above technical problems, the application provides an on-vehicle diagnosis system, a diagnosis method, an electronic device and an automobile. After a diagnosis application module on a mobile device is successfully connected with a diagnosis service module located in a vehicle, data information of the diagnosis service module is acquired, and a diagnosis request is sent to the diagnosis service module according to the data information; the diagnosis service module responds to the diagnosis request, sends a diagnosis instruction to a corresponding diagnosis execution module according to a diagnosis identifier to execute the diagnosis instruction; and the diagnosis execution module returns a diagnosis result to the diagnosis application module through the diagnosis service module.
[0005] Specifically, the application provides an on-vehicle diagnosis system, which comprises a diagnosis service module and a diagnosis application module used in cooperation with each other; wherein the diagnosis service module is further connected with a third-party diagnosis service module;
[0006] After the diagnosis application module is successfully connected with the diagnosis service module, data information of the diagnosis service module is acquired, and a diagnosis request is sent to the diagnosis service module according to the data information; wherein the diagnosis request carries a diagnosis identifier and a diagnosis instruction; and the data information comprises screen projection information and log information of the diagnosis service module;
[0007] The diagnosis service module responds to the diagnosis request, sends the diagnosis instruction to the corresponding diagnosis execution module according to the diagnosis identifier to execute the diagnosis instruction; wherein the diagnosis execution module comprises a first execution module arranged at the diagnosis service module end, and a second execution module arranged at the third-party diagnosis service module;
[0008] The diagnostic execution module returns the diagnostic result to the diagnostic application module through the diagnostic service module.
[0009] The application connects the diagnostic application module on the mobile device with the diagnostic service module in the vehicle, and the diagnostic application module acquires data information of the diagnostic service module and sends a diagnostic request to the diagnostic service module; the diagnostic service module sends a diagnostic instruction in the diagnostic request to a corresponding diagnostic execution module to perform according to a diagnostic identifier in the diagnostic request, and after the performance, the diagnostic execution module returns the diagnostic result to the diagnostic application module through the diagnostic service module, so that the vehicle components and the body components are diagnosed through the mobile device, and a special diagnostic device is not needed.
[0010] Before the diagnostic application module is connected with the diagnostic service module successfully, the application further comprises the following steps:
[0011] When the diagnostic application module detects that the diagnostic service module exists in a preset range, a connection request is sent to the diagnostic service module;
[0012] After the diagnostic service module agrees to the connection request, a verification request is sent to the diagnostic application module; the diagnostic application module sends corresponding verification information to the diagnostic service module according to the verification request;
[0013] When the diagnostic service module is successfully paired with the verification information, the connection with the diagnostic application module is completed.
[0014] In the application, when the diagnostic application module detects that the mobile device is located in the vehicle, a connection request is sent to the diagnostic service module; after the diagnostic service module agrees to the connection request, a verification request is sent to the diagnostic application module; the diagnostic application module inputs verification information according to the verification request; after the diagnostic service module confirms that the verification information is correct, the connection with the diagnostic application module is completed, so that the connection of the diagnostic application module and the diagnostic service module is realized.
[0015] The diagnostic application module acquires data information of the diagnostic service module, and sends a diagnostic request to the diagnostic service module according to the data information, specifically as follows:
[0016] The diagnostic interface of the diagnostic service module is loaded according to the screen projection information;
[0017] A diagnostic matter is selected in the diagnostic interface according to the log information;
[0018] The diagnostic request corresponding to the diagnostic matter is sent to the first control module at the diagnostic service module end through the communication mode between the diagnostic application module and the diagnostic service module.
[0019] In the application, a user can select a diagnosis matter on a diagnosis interface projected on a mobile device to send a diagnosis request to the diagnosis service module.
[0020] The diagnosis instruction is sent to the corresponding diagnosis execution module according to the diagnosis identifier to execute the diagnosis instruction, specifically as follows.
[0021] The diagnosis request is analyzed to obtain a diagnosis identifier and a diagnosis instruction; the diagnosis identifier is used to determine a first execution module or a second execution module corresponding to the diagnosis instruction;
[0022] When the diagnosis identifier is a first identifier, the first execution module is controlled by the first control module to execute the diagnosis instruction;
[0023] When the diagnosis identifier is a second identifier, the first control module sends the diagnosis instruction to a second control module of a third-party diagnosis service module, and the second execution module is controlled by the second control module to execute the diagnosis instruction.
[0024] In the application, the first control module sends the diagnosis instruction to the corresponding execution module according to the diagnosis identifier to execute the diagnosis instruction, thereby realizing separate diagnosis of the vehicle interior parts and the vehicle body parts.
[0025] The diagnosis execution module returns the diagnosis result to the diagnosis application module through the diagnosis service module, specifically as follows.
[0026] When the first execution module executes the diagnosis instruction, the first execution module returns the diagnosis result to the diagnosis application module through the first control module;
[0027] When the second execution module executes the diagnosis instruction, the second execution module sends the diagnosis result to the first control module through the second control module, and then the first control module returns the diagnosis result to the diagnosis application module.
[0028] In the application, the diagnosis execution module returns the diagnosis result to the diagnosis application module through the diagnosis service module, so that the diagnosis application module displays and saves the diagnosis result.
[0029] Specifically, the application further provides a vehicle-mounted diagnosis method, comprising:
[0030] S1: The diagnosis service module receives a diagnosis request from the diagnosis application module; wherein the diagnosis request carries a diagnosis identifier and a diagnosis instruction;
[0031] S2: The diagnostic instruction is sent to the corresponding diagnostic execution module to execute the diagnostic instruction according to the diagnostic identifier; when the diagnostic identifier is a first identifier, the first control module controls the first execution module to execute the diagnostic instruction; when the diagnostic identifier is a second identifier, the first control module sends the diagnostic instruction to the second control module of the third-party diagnostic service module, and the second control module controls the second execution module to execute the diagnostic instruction.
[0032] S3: The diagnostic service module returns the diagnostic results to the diagnostic application module.
[0033] The procedure before step S1 includes:
[0034] When the diagnostic application module detects that the diagnostic service module exists within a preset range, it sends a connection request to the diagnostic service module.
[0035] After the diagnostic service module agrees to the connection request, it sends a verification request to the diagnostic application module; the diagnostic application module then sends corresponding verification information to the diagnostic service module based on the verification request.
[0036] Once the diagnostic service module is successfully paired with the verification information, the connection with the diagnostic service module is completed.
[0037] Step S1 further includes:
[0038] The diagnostic interface of the diagnostic service module is loaded based on the screen projection information;
[0039] Select diagnostic items based on the log information in the diagnostic interface;
[0040] The diagnostic request corresponding to the diagnostic item is sent to the first control module of the diagnostic service module through the communication method between the diagnostic application module and the diagnostic service module.
[0041] Specifically, this application also discloses an electronic device, which is a type of mobile device, characterized in that the electronic device includes a diagnostic application module, which is a diagnostic application module in the vehicle diagnostic system.
[0042] Specifically, this application also discloses a vehicle that includes a diagnostic service module for implementing the on-board diagnostic method.
[0043] In summary, the application establishes a connection between the diagnostic application module on the mobile device and the diagnostic service module in the vehicle, sends diagnostic information to the mobile device, and at the same time, projects the diagnostic interface of the diagnostic service module in the vehicle to the mobile device through the diagnostic application module, so that the user can select a diagnostic matter according to the log information on the mobile device, send a corresponding diagnostic request to the diagnostic service module, and the diagnostic service module sends the diagnostic instruction to the corresponding diagnostic execution module according to the diagnostic identifier to execute the diagnostic instruction; when the diagnostic identifier is the first identifier, the first execution module configured at the diagnostic service module end is controlled by the first control module to execute the diagnostic instruction; when the diagnostic identifier is the second identifier, the second control module is sent by the first control module, and the second execution module configured at the third-party diagnostic service module is controlled by the second control module to execute the diagnostic instruction; after the execution is completed, the diagnostic service module returns the diagnostic result to the diagnostic application module.
[0044] Compared with the prior art, the application has at least the following beneficial effects:
[0045] The application realizes that the diagnostic data information of the in-vehicle module is sent to any mobile device within a preset range, the user can complete the diagnosis by operating the mobile device, the user can immediately understand the detailed automobile fault condition, and is not restricted by space and hardware.
[0046] In addition, the application realizes the diagnosis of in-vehicle equipment and vehicle body equipment by using the same system, does not need an additional in-vehicle equipment diagnosis tool, and solves the technical problem that the OBD system cannot diagnose in-vehicle equipment in the prior art. BRIEF DESCRIPTION OF DRAWINGS
[0047] Figure 1 is a vehicle-mounted diagnostic system structure schematic diagram shown by an embodiment of the application.
[0048] Figure 2 is a vehicle-mounted diagnostic system layered architecture schematic diagram shown by an embodiment of the application.
[0049] Figure 3 is a diagnostic service module and diagnostic application module connection process schematic diagram shown by an embodiment of the application.
[0050] Figure 4 is a vehicle-mounted diagnostic method flowchart schematic diagram shown by an embodiment of the application. DETAILED DESCRIPTION
[0051] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments of the present application, all the other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application. Embodiment one:
[0052] With reference to Figure 1 FIG. 1 is a schematic diagram of an on-board diagnostic system according to an embodiment of the present application.
[0053] Specifically, the present application provides an on-board diagnostic system, which comprises a diagnostic service module and a diagnostic application module used in cooperation; wherein the diagnostic service module is further connected to a third-party diagnostic service module.
[0054] After the diagnostic application module is successfully connected to the diagnostic service module, the diagnostic application module acquires data information of the diagnostic service module, and sends a diagnostic request to the diagnostic service module according to the data information; wherein the diagnostic request carries a diagnostic identifier and a diagnostic instruction; the data information comprises screen projection information and log information of the diagnostic service module.
[0055] The diagnostic service module responds to the diagnostic request, and sends the diagnostic instruction to a corresponding diagnostic execution module according to the diagnostic identifier to execute the diagnostic instruction; wherein the diagnostic execution module comprises a first execution module configured at the diagnostic service module, and a second execution module configured at the third-party diagnostic service module.
[0056] The diagnostic execution module returns a diagnostic result to the diagnostic application module through the diagnostic service module.
[0057] The diagnostic application module is used to acquire data information of the diagnostic service module, and send a diagnostic request carrying a diagnostic identifier and a diagnostic instruction to the diagnostic service module according to the data information; the functions of the diagnostic application module include but are not limited to serving as a sink end of the on-board diagnostic system, displaying images and videos, decoding and playing sounds, images and videos, acquiring diagnostic logs, and providing discovery, pairing and connection establishment of mobile devices and diagnostic service modules.
[0058] Further, the diagnostic application module can further save the received data information locally or upload the data information to a cloud server for storage.
[0059] Specifically, the diagnostic application module is a specific diagnostic app on a mobile device; the mobile device is a portable electronic device capable of communicating and connecting through a wireless network or a mobile network, including but not limited to a smart phone and a tablet computer.
[0060] The diagnostic service module is configured to provide diagnostic services; the diagnostic service module comprises a processing module, a first control module and a first execution module. The functions of the processing module include, but are not limited to, parsing audio and video, keys, debugging and diagnosis, file acquisition and other protocols, transmitting data information to the diagnostic application module as a source of the vehicle diagnostic system, and receiving diagnostic requests sent by the diagnostic application module.
[0061] Specifically, the diagnostic service module can be a near-field diagnostic service related module integrated on a vehicle intelligent cockpit.
[0062] The first control module is configured to control the corresponding execution module to execute diagnostic instructions according to diagnostic identifiers.
[0063] The third-party diagnostic service module is connected with the diagnostic service module; the third-party diagnostic service module comprises a second control module and a second execution module; the second control module is configured to control the second execution module.
[0064] Specifically, the second control module is an electronic device for managing and controlling vehicle functions and systems, which can be a micro control chip.
[0065] The first execution module and the second execution module are configured to execute diagnostic instructions and return diagnostic results.
[0066] Reference Figure 2 is a schematic diagram of a layered architecture of a vehicle diagnostic system according to an embodiment of the present application.
[0067] The vehicle diagnostic system comprises a diagnostic service module and a diagnostic application module, wherein the diagnostic service module and the diagnostic application module both comprise a link layer 201, a protocol layer 202, a service layer 203 and a business layer 204; the diagnostic service module comprises a comprehensive service module 207, an authentication service module 209 and a discovery service module 210 on the service layer; the diagnostic application module comprises a comprehensive service module 208, an authentication service module 211 and a scanning service module 212 on the service layer; the diagnostic service module further comprises a comprehensive business module 205 on the business layer, and the diagnostic application module further comprises a comprehensive business module 206 on the business layer.
[0068] The link layer 201 is composed of relevant near-field communication links and can support USB, NFC, Bluetooth, WIFI and UWB.
[0069] The protocol layer 202 comprises a plurality of communication protocols, including RTSP, RTP, Websocket, TCP / UDP, AOA and GATT, for supporting data transmission.
[0070] The service layer 203 is a core server layer, wherein the integrated service module 207 includes media services, shell services, key / touch services, diagnostic command services, file transmission services; is used for copying, analyzing and packaging related service instructions, the service instructions include media, audio, control, diagnosis and file transmission; the authentication service module 209 is used for sending authentication requests, receiving authentication information, and completing authentication operations; the discovery service module 210 is used for discovering diagnostic application modules to be paired; the integrated service module 208 includes decoding services, shell services, key / touch services, diagnostic sending / receiving services and file transmission services; the authentication service module 211 is used for receiving authentication requests, sending authentication information, and completing authentication operations; the scanning service module 212 is used for providing a service of scanning a diagnostic two-dimensional code to establish a connection.
[0071] Further, the diagnostic service module sends data information to the diagnostic application module and receives a diagnostic request of the diagnostic application module on the service layer 203.
[0072] The service layer 204 is used for implementing specific business logic; the integrated service module 205 includes diagnostic modules, file sending modules, starting modules, connection management, configuration modules, anti-control modules, screen recording modules, and audio recording modules; the integrated service module 206 includes scanning modules, file sending modules, diagnostic function interaction modules, file uploading modules, code scanning modules, screen viewing modules, remote shell interaction modules and configuration issuing modules.
[0073] The application connects the diagnostic application module on the mobile device with the diagnostic service module located in the vehicle, the diagnostic application module obtains data information of the diagnostic service module and sends a diagnostic request to the diagnostic service module; the diagnostic service module sends diagnostic instructions in the diagnostic request to a corresponding diagnostic execution module according to a diagnostic identifier in the diagnostic request to perform, after the execution is completed, the diagnostic execution module returns a diagnostic result to the diagnostic application module through the diagnostic service module, thereby realizing diagnosis of vehicle components and body components through the mobile device, without the need for a special diagnostic device.
[0074] The diagnostic application module and the diagnostic service module are connected successfully, and before the connection, the method further includes:
[0075] When the diagnostic application module detects that the diagnostic service module exists in a preset range, a connection request is sent to the diagnostic service module;
[0076] After the diagnostic service module agrees to the connection request, an authentication request is sent to the diagnostic application module; the diagnostic application module sends corresponding authentication information to the diagnostic service module according to the authentication request;
[0077] The diagnostic application module is connected with the diagnostic service module after the diagnostic service module is successfully paired with the verification information.
[0078] The connection mode of the diagnostic application module and the diagnostic service module includes, but is not limited to, USB wired connection, Bluetooth BLE, WIFI, UWB, NFC contact, and scanning of a two-dimensional code of an in-vehicle diagnostic system.
[0079] Reference Figure 3 Fig. 1 is a schematic diagram of a connection process of a diagnostic service module and a diagnostic application module according to an embodiment of the present application. The diagnostic service module is an information entertainment system (In-Vehicle Infotainment, IVI) of a smart cockpit, and the diagnostic application module is any mobile device, including but not limited to a smart phone and a tablet computer.
[0080] When a user holds a mobile device provided with the diagnostic application module, the diagnostic application module can trigger pairing detection of the diagnostic application module and the diagnostic service module in any of the following modes: USB insertion, opening of a Bluetooth of the mobile device, opening of a WIFI of the mobile device, opening of a UWB of the mobile device, NFC contact, and scanning of a two-dimensional code of an in-vehicle diagnostic system.
[0081] The diagnostic application module prompts the user to find a diagnosable device and provides a connection option. When the user selects the connection on an interactive interface, the diagnostic application module sends a connection request to the diagnostic service module.
[0082] After the diagnostic service module agrees to the connection request, the diagnostic service module sends a verification request to the diagnostic application module. The diagnostic application module sends corresponding verification information to the diagnostic service module according to the verification request. The diagnostic service module judges whether the verification information is consistent with the pre-stored verification information. If the verification information is consistent with the pre-stored verification information, the verification is passed, the authentication operation is completed, and the connection is successful. If the verification information is not consistent with the pre-stored verification information, the verification is not passed, the diagnostic service module returns verification failure information and a reason to the diagnostic application module, the authentication operation fails, and the connection fails.
[0083] The corresponding verification information includes, but is not limited to, user identity credentials such as a username and a password, a token, or a certificate. The diagnostic service module compares the verification information provided by the diagnostic application module with the pre-stored verification information to verify the user identity. Once the authentication operation is completed, the diagnostic service module grants the user the permission to perform a specific operation and access a specific resource, such as sending a diagnostic request to the diagnostic service module by selecting a diagnostic item and accessing diagnostic logs and historical fault records.
[0084] After the connection is successful, the diagnostic service module can send diagnostic log information and audio and video information to the diagnostic application module and receive diagnostic commands and information sent by the diagnostic application module. The user can trigger a key event by clicking an option on the mobile device diagnostic interface, thereby sending a diagnostic request to the diagnostic service module on the IVI.
[0085] In the present application, the diagnostic application module sends a connection request to the diagnostic service module when it detects that the mobile device is located in the car. After the diagnostic service module agrees to the connection request, it sends a verification request to the diagnostic application module. The diagnostic application module inputs verification information according to the verification request. The diagnostic service module completes the connection with the diagnostic application module after confirming that the verification information is correct, thereby realizing the connection between the diagnostic application module and the diagnostic service module.
[0086] The data information of the diagnostic service module is acquired, and a diagnostic request is sent to the diagnostic service module according to the data information, specifically as follows:
[0087] The diagnostic interface of the diagnostic service module is loaded according to the screen projection information;
[0088] A diagnostic matter is selected in the diagnostic interface according to the log information;
[0089] The diagnostic request corresponding to the diagnostic matter is sent to the first control module of the diagnostic service module end through the communication mode between the diagnostic application module and the diagnostic service module.
[0090] In the present application, the user can select a diagnostic matter in the diagnostic interface projected on the mobile device and send a diagnostic request to the diagnostic service module.
[0091] The diagnostic instruction is sent to the corresponding diagnostic execution module to execute the diagnostic instruction according to the diagnostic identifier, specifically as follows:
[0092] The diagnostic request is analyzed to obtain a diagnostic identifier and a diagnostic instruction. The diagnostic identifier is used to determine the first execution module or the second execution module corresponding to the diagnostic instruction;
[0093] When the diagnostic identifier is a first identifier, the first execution module is controlled by the first control module to execute the diagnostic instruction;
[0094] When the diagnostic identifier is a second identifier, the first control module sends the diagnostic instruction to the second control module of the third-party diagnostic service module, and the second execution module is controlled by the second control module to execute the diagnostic instruction.
[0095] In the present application, the first control module sends the diagnostic instruction to the corresponding execution module to execute the diagnostic instruction according to the diagnostic identifier, thereby realizing the separate diagnosis of the car interior parts and the car body parts.
[0096] The diagnostic execution module returns the diagnostic result to the diagnostic application module through the diagnostic service module, and specifically:
[0097] When the first execution module executes the diagnostic instruction, the first execution module returns the diagnostic result to the diagnostic application module through the first control module;
[0098] When the second execution module executes the diagnostic instruction, the second execution module sends the diagnostic result to the first control module through the second control module, and then returns the diagnostic result to the diagnostic application module through the first control module.
[0099] In the present application, the diagnostic execution module returns the diagnostic result to the diagnostic application module through the diagnostic service module, so that the diagnostic application module displays and saves the diagnostic result. Embodiment two:
[0100] Referring to Figure 4 is a flowchart of a vehicle diagnostic method according to an embodiment of the present application.
[0101] Specifically, the present application further provides a vehicle diagnostic method, comprising:
[0102] S1: The diagnostic service module receives a diagnostic request from the diagnostic application module; wherein the diagnostic request carries a diagnostic identifier and a diagnostic instruction;
[0103] S2: According to the diagnostic identifier, the diagnostic instruction is sent to the corresponding diagnostic execution module to execute the diagnostic instruction; when the diagnostic identifier is a first identifier, the first execution module is controlled by the first control module to execute the diagnostic instruction; when the diagnostic identifier is a second identifier, the diagnostic instruction is sent to the second control module of the third-party diagnostic service module by the first control module, and the second execution module is controlled by the second control module to execute the diagnostic instruction;
[0104] S3: The diagnostic service module returns the diagnostic result to the diagnostic application module.
[0105] Before the step S1, the method further comprises:
[0106] When the diagnostic application module detects that the diagnostic service module exists within a preset range, a connection request is sent to the diagnostic service module;
[0107] After the diagnostic service module agrees to the connection request, a verification request is sent to the diagnostic application module; the diagnostic application module sends corresponding verification information to the diagnostic service module according to the verification request;
[0108] When the diagnostic service module is successfully paired with the verification information, the connection with the diagnostic service module is completed.
[0109] The step S1 further comprises:
[0110] According to the screen projection information, a diagnostic interface of the diagnostic service module is loaded.
[0111] In the diagnostic interface, a diagnostic matter is selected according to the log information.
[0112] The diagnostic matter is sent to a first control module at the diagnostic service module end through a communication mode between the diagnostic application module and the diagnostic service module. Embodiment three:
[0113] Specifically, the application further discloses an electronic device, which is one of mobile devices, and the electronic device comprises a diagnostic application module, which is a diagnostic application module in the on-board diagnostic system. The electronic device comprises at least one processor, a memory, and a computer program stored in the memory and capable of running on the at least one processor.
[0114] The electronic device can be a smart phone, a tablet computer, a desktop computer, a cloud server or other computing devices. The diagnostic application module is installed on the computer device.
[0115] The processor can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0116] The memory can be an internal storage unit of the electronic device, such as a hard disk or a memory, in some embodiments. The memory can also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device, in other embodiments. Further, the memory can include both the internal storage unit and the external storage device of the electronic device. The memory is used to store an operating system, an application program, a BootLoader, data, and other programs, such as program codes of the computer program, etc. The memory can also be used to temporarily store data that has been output or will be output. Embodiment Four
[0117] In particular, the application also discloses an automobile, wherein a diagnostic service module is included, and the diagnostic service module is used to implement the vehicle-mounted diagnosis method.
[0118] In several embodiments provided in the present application, it can be understood that each block in the flowchart or block diagram can represent a module, a program segment or a part of code, and the module, the program segment or the part of code include one or more executable instructions for implementing a specified logic function. It should also be noted that, in some alternative implementation manners, the functions annotated in the blocks can also occur in an order different from that annotated in the drawings. For example, two continuous blocks can actually be executed substantially in parallel, and they can also be executed in reverse order in some cases, depending on the functions involved.
[0119] If the functions are implemented in the form of software function modules and sold or used as independent products, the functions can be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the present application can essentially or say the parts of the prior art that make contributions or parts of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions for causing a vehicle-mounted display device to execute all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0120] The above-described specific embodiments, purposes, technical solutions and beneficial effects of the present application are further described in detail, and it should be understood that the above-described is only a specific embodiment of the present application and is not used to limit the protection scope of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An on-board diagnostic system characterized by, The system comprises a diagnostic service module and a diagnostic application module which are used in cooperation; wherein the diagnostic service module is further connected with a third-party diagnostic service module; After the diagnostic application module is successfully connected with the diagnostic service module, data information of the diagnostic service module is acquired, and a diagnostic request is sent to the diagnostic service module according to the data information; The diagnostic request carries a diagnostic identifier and a diagnostic instruction; the data information comprises screen projection information and log information of the diagnostic service module; The diagnostic service module responds to the diagnostic request, and sends the diagnostic instruction to a corresponding diagnostic execution module according to the diagnostic identifier to execute the diagnostic instruction; wherein the diagnostic execution module comprises a first execution module arranged at the diagnostic service module and a second execution module arranged at the third-party diagnostic service module; The diagnostic execution module returns a diagnostic result to the diagnostic application module through the diagnostic service module; The diagnostic instruction is sent to the corresponding diagnostic execution module according to the diagnostic identifier to execute the diagnostic instruction, specifically as follows: The diagnostic request is analyzed to obtain the diagnostic identifier and the diagnostic instruction; the diagnostic identifier is used to determine the first execution module or the second execution module corresponding to the diagnostic instruction; When the diagnostic identifier is a first identifier, the first execution module is controlled by a first control module to execute the diagnostic instruction; When the diagnostic identifier is a second identifier, the first control module sends the diagnostic instruction to a second control module of the third-party diagnostic service module, and the second execution module is controlled by the second control module to execute the diagnostic instruction; The diagnostic execution module returns a diagnostic result to the diagnostic application module through the diagnostic service module, specifically as follows: When the first execution module executes the diagnostic instruction, the first execution module returns the diagnostic result to the diagnostic application module through the first control module; When the second execution module executes the diagnostic instruction, the second execution module sends the diagnostic result to the first control module through the second control module, and then the first control module returns the diagnostic result to the diagnostic application module.
2. The on-board diagnostic system according to claim 1, wherein Before the diagnostic application module is successfully connected with the diagnostic service module, the following steps are further included: When the diagnostic application module detects that the diagnostic service module exists within a preset range, a connection request is sent to the diagnostic service module; After the diagnostic service module agrees to the connection request, a verification request is sent to the diagnostic application module; the diagnostic application module sends corresponding verification information to the diagnostic service module according to the verification request; When the diagnostic service module is successfully paired with the verification information, the connection with the diagnostic application module is completed.
3. An on-board diagnostic system according to claim 2, wherein The data information of the diagnostic service module is acquired, and a diagnostic request is sent to the diagnostic service module according to the data information, specifically as follows: A diagnostic interface of the diagnostic service module is loaded according to the screen projection information; In the diagnostic interface, a diagnostic matter is selected according to the log information; The diagnostic request corresponding to the diagnostic matter is sent to the first control module at the diagnostic service module end through a communication mode between the diagnostic application module and the diagnostic service module.
4. A diagnosis method of an on-vehicle diagnosis system according to any one of claims 1 to 3, characterized in that, The method comprises: S1: The diagnostic service module receives a diagnostic request from the diagnostic application module; wherein the diagnostic request carries a diagnostic identifier and a diagnostic instruction; S2: The diagnostic instruction is sent to a corresponding diagnostic execution module according to the diagnostic identifier to execute the diagnostic instruction; when the diagnostic identifier is a first identifier, the diagnostic instruction is executed by the first execution module controlled by the first control module; when the diagnostic identifier is a second identifier, the diagnostic instruction is sent to the second control module of the third-party diagnostic service module by the first control module, and the second execution module is controlled by the second control module to execute the diagnostic instruction; S3: The diagnostic service module returns a diagnostic result to the diagnostic application module.
5. The diagnostic method according to claim 4, characterized in that, Before the step S1, the method further comprises: When the diagnostic application module detects that the diagnostic service module exists within a preset range, a connection request is sent to the diagnostic service module; After the diagnostic service module agrees to the connection request, a verification request is sent to the diagnostic application module; the diagnostic application module sends corresponding verification information to the diagnostic service module according to the verification request; When the diagnostic service module and the verification information are successfully paired, the connection with the diagnostic service module is completed.
6. The diagnostic method according to claim 5, characterized in that, The step S1 further comprises: The diagnostic interface of the diagnostic service module is loaded according to the screen projection information; The diagnostic matter is selected in the diagnostic interface according to the log information; The diagnostic request corresponding to the diagnostic matter is sent to the first control module at the diagnostic service module end through a communication mode between the diagnostic application module and the diagnostic service module.
7. An electronic device, which is one of mobile devices, characterized by comprising: The electronic device comprises a diagnostic application module, and the diagnostic application module is the diagnostic application module in the vehicle-mounted diagnostic system according to any one of claims 1-3.
8. An automobile characterized by comprising: The automobile comprises a diagnostic service module, and the diagnostic service module is used to implement the vehicle-mounted diagnostic method according to any one of claims 4-6.
Citation Information
Patent Citations
Fault simulation and test system
CN104483959A
Intelligent early-warning and service system for on-board faults
CN106200628A
Vehicle fault diagnosis method, device and equipment and readable storage medium
CN114879630A