5G Internet of Vehicles cloud diagnosis service system, method and equipment
By using the Mysql database and MQTT protocol message subscription and publishing method in the 5G vehicle network cloud diagnostic service system, the problem that traditional systems cannot diagnose multiple devices at the same time is solved, and low-latency, high concurrency and high-reliability information transmission is achieved. Applicable to fault diagnosis and operation management for large fleets, reducing costs.
Patent Information
- Application Number
- CN202411047700.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-26
AI Technical Summary
Traditional Internet of Vehicle Diagnostic Systems cannot diagnose multiple devices at the same time, and there is uncertainty in resource use under multi-tenant management in the cloud environment, making it difficult to meet the low-latency, high concurrency, and high-reliability information transmission needs, and the cost is high. .
A 5G vehicle network cloud diagnostic service system was designed, including client, WEB server, micro server, middleware server and lower computer. It adopts Mysql database, MQTT message forwarding module and KAFKA protocol, and uses microservice calls and message subscription release methods. It realizes efficient transmission of diagnostic instructions and results, supports structured storage and flexible diagnostic instructions management.
It realizes simultaneous diagnosis of multiple devices, improves diagnosis speed and system scalability and shrinkability, reduces usage costs, and is suitable for fault diagnosis and operation management of large fleets.
Smart Images

Figure CN119028044A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automobile operation and maintenance technology, and specifically relates to a 5G vehicle network cloud diagnosis service system, method and equipment. Background Art
[0002] 5G Internet of Vehicles is expected to solve various problems caused by the rapid growth of vehicles and improve the transportation efficiency, safety, intelligence and environmental protection level of the road traffic network. Cloud-based automotive diagnostic business has now become the development direction of the entire industry, and its target customers are automotive terminal users.
[0003] At present, many external fault diagnosis devices have been developed for offline diagnosis technology at home and abroad. KT770 diesel vehicle diagnostic equipment produced by Bosc in Germany. OTC-DK80 gasoline vehicle diagnostic equipment produced by SPX in the United States. New models developed by major domestic automobile manufacturers are already equipped with OBDII systems, and most manufacturers have completed OBDII certification experiments. The X431 diagnostic instrument under China Yuanzheng Company is a tablet-like device that is suitable for various models, with strong diagnostic functions and accurate test data. The MX808IM diagnostic instrument of Daotong Company is equipped with a quad-core processor, which is responsive, simple to operate, and has the function of rapid diagnosis. Fka uses commercial vehicle diagnostic technology, especially integrated urea pump exhaust after-treatment and flashing technology, and uses cloud data management technology and intelligent diagnostic technology to perform intelligent real-time online diagnosis of vehicles and improve the accuracy of diagnosis, so that diagnosis is no longer completely dependent on the level of maintenance personnel.
[0004] Traditional car networking diagnosis can be performed remotely by running subprograms on Android, which can only be done one-to-one remote diagnosis, and cannot diagnose multiple devices at the same time. At present, there are many ways to build cloud diagnosis service system architectures, which are mainly selected based on the number of cloud customers and the amount of data, considering both diagnostic performance and operating costs.
[0005] The traditional diagnostic service model will evaluate the total usage and subsequent expansion, and can guarantee the usage needs in the following years after the initial construction, which involves more single tenants. However, in the cloud environment, involving multi-tenant management, resource usage and increase will be more uncertain, and a certain amount of idle available resources need to be maintained. This requires the cloud service system to be not only scalable but also flexible, that is, it should be able to automatically expand and search according to actual service needs, thereby improving server usage efficiency and usage costs. Summary of the invention
[0006] The purpose of the present invention is to provide a 5G vehicle network cloud diagnosis service system, method and equipment to address the deficiencies in the prior art, which can meet the requirements of low latency, high concurrency and high reliability of information transmission, fast diagnosis speed, strong scalability and scalability, and take into account the cost of use, and is suitable for fault diagnosis and operation management of large fleets.
[0007] Specifically, the present invention is implemented by adopting the following technical solutions.
[0008] On the one hand, the present invention provides a 5G vehicle networking cloud diagnosis service system, including: a client, a WEB server, a micro server, a middleware server, an MQTT message forwarding module and a lower computer;
[0009] The client includes diagnostic APP / WEB;
[0010] The WEB server includes diagnostic WEB services;
[0011] The microserver includes a diagnostic protocol microservice cluster and a Mysql database;
[0012] The middleware server includes KAFKA, protocol packaging and expression parsing components, and MQTT client microservices;
[0013] The lower computer includes multiple VCI boxes, each of which is connected to the ECU system of a car;
[0014] Among them, the Mysq1 database is used to store diagnostic data structures and instructions, and the Mysql database adopts structured storage;
[0015] The diagnostic WEB service is used to receive diagnostic instructions from the diagnostic APP / WEB, and then send the diagnostic instructions to the diagnostic protocol microservice cluster, as well as receive diagnostic results from the diagnostic protocol microservice cluster, and then send the diagnostic results to the diagnostic APP / WEB;
[0016] The diagnostic protocol microservice cluster is used to read the diagnostic data structure and instructions of the ECU system corresponding to the diagnostic instruction from the Mysq1 database according to the content of the diagnostic instruction, and then use the protocol packaging and expression parsing components to package the diagnostic instruction and the corresponding diagnostic data structure and instruction and generate parsing expressions, and then send the parsing expressions to the MQTT client microservice; the diagnostic protocol microservice cluster is also used to read the diagnostic results from KAFKA and send the diagnostic results to the diagnostic WEB service;
[0017] The MQTT client microservice is used to send the parsed expression to the corresponding VCI box in the lower computer through the MQTT message forwarding module;
[0018] The VCI box is used to send the analytical expression to the ECU system connected to it, receive the diagnostic results fed back by the ECU system, and then send the diagnostic results to KAFKA through the MQTT message forwarding module;
[0019] KAFKA is used to receive the diagnostic results sent by the VCI box through the MQTT message forwarding module and send the diagnostic results to the diagnostic protocol microservice cluster.
[0020] Preferably, the client also includes a management WEB client;
[0021] The WEB server also includes management system WEB services;
[0022] Microservers also include microservices;
[0023] The management system WEB service is used to receive management instructions from the management WEB client and manage the diagnostic data structure and instructions in the Mysql database through the microservice according to the management instructions, and feed back the management results to the management WEB client. Preferably, the middleware server also includes a redis cluster cache;
[0024] The redis cluster cache is used to store intermediate data in the process of protocol packaging and generating parsing expressions, and as an intermediate cache in the process of the diagnostic protocol microservice cluster sending parsing expressions to the MQTT client microservice.
[0025] Preferably, the form of the diagnostic APP / WEB includes a mobile phone APP or a WEB browser; the form of the management WEB client includes a WEB browser.
[0026] Preferably, the specific process of the MQTT client microservice sending the parsing expression to the corresponding VCI box in the lower computer is:
[0027] 1) The MQTT message forwarding module creates a topic for each VCI box;
[0028] 2) The MQTT client microservice publishes the parsed expression in the form of a message to the topic corresponding to the corresponding VIC box;
[0029] 3) Each VCI box receives the parsed expression in the form of a subscription message from its corresponding topic;
[0030] The specific process of the VCI box sending diagnostic results to KAFKA is as follows:
[0031] 1) The MQTT message forwarding module creates a diagnosis result topic;
[0032] 2) All VCI boxes publish the diagnosis results to the diagnosis result topic in the form of messages;
[0033] 3) KAFKA, as a subscriber to the diagnosis result topic, receives the diagnosis results in the form of subscription messages.
[0034] On the other hand, the present invention also provides a 5G vehicle network cloud diagnosis method, including two parts: diagnosis command query and diagnosis result return.
[0035] The steps of the diagnostic command query include:
[0036] 1) The diagnostic APP / WEB sends diagnostic instructions to the diagnostic WEB service;
[0037] 2) The diagnostic WEB service sends the diagnostic instructions to the diagnostic protocol microservice cluster;
[0038] 3) The diagnostic protocol microservice cluster reads the diagnostic data structure and instructions of the ECU system corresponding to the diagnostic instruction from the Mysql database according to the content of the diagnostic instruction, and then packages the diagnostic instruction and the corresponding diagnostic data structure and instruction through the protocol packaging and expression parsing components and generates parsing expressions, and then sends the parsing expressions to the MQTT client microservice;
[0039] 4) The MQTT client microservice sends the parsed expression to the corresponding VCI box in the lower computer through the MQTT message forwarding module;
[0040] 5) The VCI box sends the analytical expression to the ECU system connected to it;
[0041] The steps for returning the diagnostic results include:
[0042] 1) The VCI box receives the diagnostic results of the ECU system;
[0043] 2) The VCI box sends the diagnosis results to KAFKA through the MQTT message forwarding module;
[0044] 3) KAFKA sends the diagnostic results to the diagnostic protocol microservice cluster in a subscription manner;
[0045] 4) The diagnostic protocol microservice cluster sends the diagnostic results to the diagnostic WEB service;
[0046] 5) The diagnostic WEB service sends the diagnostic results to the client's diagnostic APP / WEB.
[0047] Preferably, the transmission method between the diagnostic APP / WEB and the diagnostic WEB service is socket websocket.
[0048] On the other hand, the present invention also provides a 5G vehicle network cloud diagnostic device, which includes a memory and a processor; the memory stores a computer program, and the processor executes the computer program to implement the steps of the above method.
[0049] In yet another aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0050] The beneficial effects of the 5G vehicle networking cloud diagnosis service system, method and device of the present invention are as follows:
[0051] The cloud diagnosis mode of the present invention satisfies the requirement of diagnosing multiple devices at the same time, and can be opened to other customers for simultaneous use through user authority control.
[0052] The data structure of the vehicle diagnostic instruction storage in the present invention adopts structured storage using the MySQL database. Compared with some traditional XML files, the advantage is that the data is structured and convenient for modification and maintenance. Each diagnostic function can be executed separately and independently. If there is a problem with the diagnostic instruction and it needs to be adjusted, it can be modified in the instruction management and maintenance module. After the modification, it can take effect immediately without changing the program code. This makes the demand for concurrent diagnosis feasible.
[0053] Since there are many commercial vehicle models, their ECU systems are complex. Different years of the same vehicle model have different engines and engine ECUs. The present invention consists of a diagnostic protocol microservice cluster and a microservice calling the Mysq1 database, and the data structure stores the logic and judgment related to the diagnostic process. The cloud diagnostic service program loads the relevant diagnostic instruction data of the ECU, and sends instructions and processes results according to the data logic. This makes the diagnostic instruction storage more reasonable and the call more flexible and efficient, and the logic processing covers the basic automobile diagnostic process.
[0054] The present invention adopts Mysq1 database with structured storage, and uses the MQTT protocol to communicate between the server and the lower computer in the form of publishing and subscribing messages, which can meet the requirements of low latency, high concurrency and high reliability of information transmission; the database is called by microservices, which has the characteristics of fast system diagnosis speed, strong scalability and scalability, and takes into account the use cost, and is suitable for fault diagnosis and operation management of large fleets. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a schematic diagram of the system application architecture of the present invention.
[0056] Figure 2 It is a schematic diagram of the cloud diagnosis data structure of the present invention. DETAILED DESCRIPTION
[0057] The present invention is further described in detail below in conjunction with embodiments and with reference to the accompanying drawings.
[0058] like Figure 1 As shown, a 5G vehicle network cloud diagnosis service system includes a client, a WEB server, a microserver, a middleware server, an MQTT message forwarding module and a lower computer, which realizes the diagnosis service and management service of the ECU system of each vehicle model.
[0059] The client includes diagnostic APP / WEB and management WEB client. The diagnostic APP / WEB can be in the form of mobile APP or WEB browser; the management WEB client can be in the form of WEB browser;
[0060] The WEB server includes diagnostic WEB services and management system WEB services;
[0061] The microserver includes the diagnostic protocol microservice cluster, microservices, and Mysq1 database;
[0062] The middleware server includes KAFKA, protocol packaging and expression parsing components, MQTT client microservices, and redis cluster cache;
[0063] KAFKA is a distributed streaming computing platform that forwards messages by subscribing and publishing messages. It has good concurrency performance and a mechanism to ensure that messages are not lost.
[0064] The lower computer includes multiple VCI boxes, each of which is connected to the ECU system of a car through an OBDII interface;
[0065] Among them, the MySQL database is used to store diagnostic data structures and instructions. The MySQL database adopts structured storage, such as Figure 2 As shown, in a possible implementation, the database structure directory of the Mysql database includes: diagnostic ECU, diagnostic menu, diagnostic instruction group, diagnostic instruction, parsing rules and result branch processing, wherein the diagnostic ECU is the root directory, and the parsing rules include result parsing rules, fault code parsing rules and data flow parsing rules.
[0066] The diagnostic WEB service is used to receive diagnostic instructions from the diagnostic APP / WEB, and then send the diagnostic instructions to the diagnostic protocol microservice cluster, as well as receive diagnostic results from the diagnostic protocol microservice cluster, and then send the diagnostic results to the diagnostic APP / WEB; the management system WEB service is used to receive management instructions from the management WEB client and manage the diagnostic data structure and instructions in the Mysql database through the microservice according to the management instructions, and feed back the management results to the management WEB client;
[0067] The diagnostic protocol microservice cluster is used to read the diagnostic data structure and instructions of the ECU system corresponding to the diagnostic instruction from the Mysql database according to the content of the diagnostic instruction, and then use the protocol packaging and expression parsing components to package the diagnostic instruction and the corresponding diagnostic data structure and instruction and generate parsing expressions, and then send the parsing expressions to the MQTT client microservice; the diagnostic protocol microservice cluster is also used to read the diagnostic results from KAFKA by subscription and send the diagnostic results to the diagnostic WEB service;
[0068] The redis cluster cache is used to store intermediate data in the process of protocol packaging and generating parsing expressions. The storage method adopts the key-value method, and it is used as an intermediate cache in the process of the diagnostic protocol microservice cluster sending parsing expressions to the MQTT client microservice;
[0069] The MQTT client microservice is used to send the parsed expression to the corresponding VCI box in the lower computer through the MQTT message forwarding module;
[0070] The VCI box is used to send analytical expressions to the ECU system connected to it and receive the diagnostic results fed back by the ECU system;
[0071] KAFKA is used to receive the diagnostic results sent by the VCI box through the MQTT message forwarding module and send the diagnostic results to the diagnostic protocol microservice cluster.
[0072] Specifically, the specific process of the MQTT client microservice sending the parsing expression to the corresponding VCI box in the lower computer is:
[0073] 1) The MQTT message forwarding module creates a topic for each VCI box;
[0074] 2) The MQTT client microservice publishes the parsed expression in the form of a message to the topic corresponding to the corresponding VIC box;
[0075] 3) Each VCI box receives the parsed expression in the form of a subscription message from its corresponding topic;
[0076] The specific process of the VCI box sending diagnostic results to KAFKA is as follows:
[0077] 1) The MQTT message forwarding module creates a diagnosis result topic;
[0078] 2) All VCI boxes publish the diagnosis results to the diagnosis result topic in the form of messages;
[0079] 3) KAFKA, as a subscriber to the diagnosis result topic, receives the diagnosis results in the form of subscription messages.
[0080] A 5G vehicle network cloud diagnosis method, based on the above 5G vehicle network cloud diagnosis service system, the method includes two parts: diagnosis command query and diagnosis result return.
[0081] The steps of the diagnostic command query include:
[0082] 1) The diagnostic APP / WEB sends diagnostic instructions to the diagnostic WEB service through the socket websocket;
[0083] 2) The diagnostic WEB service sends the diagnostic instructions to the diagnostic protocol microservice cluster;
[0084] 3) The diagnostic protocol microservice cluster reads the diagnostic data structure and instructions of the ECU system corresponding to the diagnostic instruction from the Mysql database according to the content of the diagnostic instruction, and then packages the diagnostic instruction and the corresponding diagnostic data structure and instruction through the protocol packaging and expression parsing components and generates parsing expressions, and then sends the parsing expressions to the MQTT client microservice;
[0085] In the process of protocol packaging and generating parsing expressions, redis cluster cache is used to store intermediate data; in the process of sending parsing expressions from the diagnostic protocol microservice cluster to the MQTT client microservice, redis cluster cache is used as an intermediate cache;
[0086] 4) The MQTT client microservice sends the parsed expression to the corresponding VCI box in the lower computer through the MQTT message forwarding module;
[0087] 5) The VCI box sends the analytical expression to the ECU system connected to it;
[0088] The steps for returning the diagnostic results include:
[0089] 1) The VCI box receives the diagnostic results of the ECU system;
[0090] 2) The VCI box sends the diagnosis results to KAFKA through the MQTT message forwarding module;
[0091] 3) KAFKA sends the diagnostic results to the diagnostic protocol microservice cluster in a subscription manner;
[0092] 4) The diagnostic protocol microservice cluster sends the diagnostic results to the diagnostic WEB service;
[0093] 5) The diagnostic WEB service sends the diagnostic results to the client's diagnostic APP / WEB through the socket websocket.
[0094] In this embodiment, the WEB server, microserver, middleware server and Mysql database are implemented using a rented cloud server. The operating system of the cloud server is linux cenos7.6. Spring Cloud2.X is used for microservice architecture. The cloud diagnostic service software development language and environment of the server is Java, using JDK1.8 version, and eclipse is used as the development tool. Mysq1 database uses MySQL7.6, the data model design software uses power desginer, and the unit test component is junit.
[0095] In the present invention, the MQTT protocol is used to communicate by publishing and subscribing messages. Each VCI box has its own subscription topic and can process the information sent to it separately. The diagnostic results sent to KAFKA by all VCI boxes use the same diagnostic result topic and are sent in the form of published messages. Each message has a corresponding VCI box number. The communication delay is reduced by improving the performance of the hardware and software of the MOTT message forwarding module.
[0096] Vehicle development engineers input the diagnostic data structure and instructions related to the ECU system into the Mysql database through the management WEB client according to the specific ECU system. The instructions include automatic scanning of ECU, initialization of 10 and ECU, DPF regeneration instructions, reading fault codes, clearing fault codes, reading data streams, etc.
[0097] In the 5G vehicle networking cloud diagnosis service system, method and device of the present invention, the cloud diagnosis mode satisfies the need to diagnose multiple devices at the same time, and can be opened to other customers for simultaneous use through user authority control.
[0098] In the present invention, the diagnostic data structure and instructions are stored in a Mysql database, which uses structured storage. Compared with some traditional XML files, the advantage is that the data is structured, which is convenient for modification and maintenance. Each diagnostic function can be separated and executed independently. If there is a problem with the diagnostic instruction and it needs to be adjusted, it can be modified through the management WEB client, and the modification can take effect immediately without changing the program code. This makes the demand for concurrent diagnosis feasible.
[0099] Since there are many commercial vehicle models, their ECU systems are complex. Different years of the same vehicle model have different engines and engine ECUs. The present invention consists of a diagnostic protocol microservice cluster and a microservice calling a Mysql database, and the data structure stores the logic and judgment related to the diagnostic process. The cloud diagnostic service program loads the relevant diagnostic instruction data of the ECU, and sends instructions and processes results according to the data logic. This makes the diagnostic instruction storage more reasonable and the call more flexible and efficient, and the logic processing covers the basic automotive diagnostic process.
[0100] The present invention adopts Mysql database for structured storage and communicates through the MQTT protocol in the form of publishing and subscribing messages, which can meet the requirements of low latency, high concurrency and high reliability of information transmission. The database is called by microservices, which has the characteristics of fast system diagnosis speed, strong scalability and scalability, and takes into account the cost of use, and is suitable for fault diagnosis and operation management of large fleets.
[0101] In some embodiments, certain aspects of the above-mentioned techniques may be implemented by one or more processors of a processing system executing software. The software includes one or more executable instruction sets stored or otherwise tangibly implemented on a non-transitory computer-readable storage medium. The software may include instructions and certain data that manipulate one or more processors to perform one or more aspects of the above-mentioned techniques when executed by one or more processors. Non-transitory computer-readable storage media may include, for example, magnetic or optical disk storage devices, solid-state storage devices such as flash memory, cache, random access memory (RAM), or other non-volatile memory devices. The executable instructions stored on the non-transitory computer-readable storage medium may be source code, assembly language code, object code, or other instruction formats interpreted or otherwise executed by one or more processors.
[0102] Computer-readable storage media may include any storage medium or combination of storage media that can be accessed by a computer system during use to provide instructions and / or data to the computer system. Such storage media may include, but are not limited to, optical media (e.g., compact disks (CDs), digital versatile disks (DVDs), Blu-ray disks), magnetic media (e.g., floppy disks, tapes, or magnetic hard drives), volatile memory (e.g., random access memory (RAM) or cache), non-volatile memory (e.g., read-only memory (ROM) or flash memory), or micro-electromechanical system (MEMS)-based storage media. Computer-readable storage media may be embedded in a computing system (e.g., system RAM or ROM), fixedly attached to a computing system (e.g., a magnetic hard drive), removably attached to a computing system (e.g., an optical disk or a universal serial bus (USB)-based flash memory), or coupled to a computer system via a wired or wireless network (e.g., network accessible storage (NAS)).
[0103] Please note that not all activities or elements in the general description above are required, that a portion of a particular activity or device may not be required, and that one or more further activities or included elements may be performed in addition to those described. Further, the order in which the activities are listed is not necessarily the order in which they are performed. Moreover, these concepts have been described with reference to specific embodiments. However, those of ordinary skill in the art recognize that various modifications and changes may be made without departing from the scope of the present disclosure as set forth in the following claims. Therefore, the specification and drawings are to be regarded as illustrative rather than restrictive, and all such modifications are included within the scope of the present disclosure.
[0104] Benefits, other advantages, and solutions to problems have been described above with respect to specific embodiments. However, benefits, advantages, solutions to problems, and any features that may cause any benefit, advantage, or solution to occur or become more apparent should not be construed as key, essential, or essential features of any or all claims in any or other respects. In addition, the specific embodiments disclosed above are merely illustrative, as the disclosed subject matter may be modified and implemented in different but equivalent ways that are apparent to those skilled in the art having the benefit of the teachings herein. There is no intention to limit the details of construction or design shown herein, except as described in the claims. It is therefore apparent that the specific embodiments disclosed above may be altered or modified, and all such variations are considered to be within the scope of the disclosed subject matter.
Claims
1. A 5G Internet of Vehicles cloud diagnostic service system, characterized in that: Including client, WEB server, micro server, middleware server, MQTT message forwarding module and lower computer; The client includes diagnostic APP / WEB; The WEB server includes diagnostic WEB services; The microserver includes a diagnostic protocol microservice cluster and a Mysql database; The middleware server includes KAFKA, protocol packaging and expression parsing components, and MQTT client microservices; The lower computer includes multiple VCI boxes, each of which is connected to the ECU system of a car; Among them, the MySQL database is used to store diagnostic data structures and instructions, and the MySQL database adopts structured storage; The diagnostic WEB service is used to receive diagnostic instructions from the diagnostic APP / WEB, and then send the diagnostic instructions to the diagnostic protocol microservice cluster, as well as receive diagnostic results from the diagnostic protocol microservice cluster, and then send the diagnostic results to the diagnostic APP / WEB; The diagnostic protocol microservice cluster is used to read the diagnostic data structure and instructions of the ECU system corresponding to the diagnostic instruction from the Mysql database according to the content of the diagnostic instruction, and then use the protocol packaging and expression parsing components to package the diagnostic instruction and the corresponding diagnostic data structure and instruction and generate parsing expressions, and then send the parsing expressions to the MQTT client microservice; the diagnostic protocol microservice cluster is also used to read the diagnostic results from KAFKA and send the diagnostic results to the diagnostic WEB service; The MQTT client microservice is used to send the parsed expression to the corresponding VCI box in the lower computer through the MQTT message forwarding module; The VCI box is used to send the analytical expression to the ECU system connected to it, receive the diagnostic results fed back by the ECU system, and then send the diagnostic results to KAFKA through the MQTT message forwarding module; KAFKA is used to receive the diagnostic results sent by the VCI box through the MQTT message forwarding module and send the diagnostic results to the diagnostic protocol microservice cluster.
2. A 5G vehicle networking cloud diagnostic service system according to claim 1, characterized in that: The client also includes the management WEB client; The WEB server also includes management system WEB services; Microservers also include microservices; The management system WEB service is used to receive management instructions from the management WEB client and manage the diagnostic data structure and instructions in the Mysq1 database through microservices according to the management instructions, and feed back the management results to the management WEB client.
3. A 5G vehicle networking cloud diagnostic service system according to claim 1, characterized in that: The middleware server also includes redis cluster cache; The redis cluster cache is used to store intermediate data in the process of protocol packaging and generating parsing expressions, and as an intermediate cache in the process of the diagnostic protocol microservice cluster sending parsing expressions to the MQTT client microservice.
4. A 5G vehicle networking cloud diagnostic service system according to claim 1, characterized in that: The forms of diagnostic APP / WEB include mobile APP or WEB browser; the forms of managing WEB client include WEB browser.
5. A 5G vehicle networking cloud diagnostic service system according to claim 1, characterized in that: The specific process of the MQTT client microservice sending the parsed expression to the corresponding VCI box in the lower computer is as follows: 1) The MQTT message forwarding module creates a topic for each VCI box; 2) The MQTT client microservice publishes the parsed expression in the form of a message to the topic corresponding to the corresponding VIC box; 3) Each VCI box receives the parsed expression in the form of a subscription message from its corresponding topic; The specific process of the VC box sending diagnostic results to KAFKA is as follows: 1) The MQTT message forwarding module creates a diagnosis result topic; 2) All VCI boxes publish the diagnosis results to the diagnosis result topic in the form of messages; 3) KAFKA, as a subscriber to the diagnosis result topic, receives the diagnosis results in the form of subscription messages.
6. A 5G vehicle network cloud diagnosis method, based on the 5G vehicle network cloud diagnosis service system according to any one of claims 1 to 5, characterized in that: It includes two parts: diagnostic command query and diagnostic result return. The steps of the diagnostic command query include: 1) The diagnostic APP / WEB sends diagnostic instructions to the diagnostic WEB service; 2) The diagnostic WEB service sends the diagnostic instructions to the diagnostic protocol microservice cluster; 3) The diagnostic protocol microservice cluster reads the diagnostic data structure and instructions of the ECU system corresponding to the diagnostic instruction from the Mysql database according to the content of the diagnostic instruction, and then packages the diagnostic instruction and the corresponding diagnostic data structure and instruction through the protocol packaging and expression parsing components and generates parsing expressions, and then sends the parsing expressions to the MQTT client microservice; 4) The MQTT client microservice sends the parsed expression to the corresponding VCI box in the lower computer through the MQTT message forwarding module; 5) The VCI box sends the analytical expression to the ECU system connected to it; The steps for returning the diagnostic results include: 1) The VCI box receives the diagnostic results of the ECU system; 2) The VCI box sends the diagnosis results to KAFKA through the MQTT message forwarding module; 3) KAFKA sends the diagnostic results to the diagnostic protocol microservice cluster in a subscription manner; 4) The diagnostic protocol microservice cluster sends the diagnostic results to the diagnostic WEB service; 5) The diagnostic WEB service sends the diagnostic results to the client's diagnostic APP / WEB.
7. A 5G vehicle networking cloud diagnosis method according to claim 6, characterized in that: The transmission method between the diagnostic APP / WEB and the diagnostic WEB service is socket websocket.
8. A 5G Internet of Vehicles cloud diagnostic device, characterized in that: The device comprises a memory and a processor; the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 6 or 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 6 or 7 is implemented.
