A monitoring system

By simulating the Internet of Vehicles business in the cloud monitoring system and automatically detecting and analyzing abnormal problems, the problem of service anomalies and microservice downtime caused by the complexity of the Internet of Vehicles cloud platform has been solved, and the user experience and brand quality have been improved.

CN112559289BActive Publication Date: 2024-09-13CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011454572.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-10
Publication Date
2024-09-13
Estimated Expiration
2040-12-10

AI Technical Summary

Technical Problem

The complexity of the Internet of Vehicles cloud platform makes it difficult to detect and handle service abnormalities and microservice downtime issues in a timely manner, affecting user experience and damaging brand quality.

Method used

Provide a monitoring system, including a vehicle communication unit simulation tool module, a vehicle control APP simulation and interface call simulation tool module, an instruction execution sequence visual editing tool module, an analysis module and an alarm module, to automate high-frequency operations in the cloud by simulating the Internet of Vehicles business Run, identify the execution results and automatically analyze the reasons for abnormal operation, and quickly respond to problems from the user's perspective.

Benefits of technology

It realizes automated high-frequency simulation of Internet of Vehicles business in the cloud, quickly discovers and handles abnormal problems, improves user experience, reduces operation and maintenance costs, and improves brand quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112559289B
    Figure CN112559289B
Patent Text Reader

Abstract

This invention discloses a monitoring system. The system includes: an in-vehicle communication unit simulation tool module, a vehicle control APP simulation and interface call simulation tool module, an instruction execution sequence visualization and editing tool module, an analysis module, and an alarm module. The in-vehicle communication unit simulation tool module includes: a vehicle condition data simulation configuration unit, a vehicle-to-cloud protocol encapsulation and parsing unit, an uplink / downlink message timing configuration unit, and a cloud connection communication unit. The vehicle condition data simulation configuration unit is used to simulate vehicle condition message configuration, setting vehicle operating status information at various time points according to timing and frequency. The vehicle-to-cloud protocol encapsulation and parsing unit is used to encapsulate vehicle condition messages, cloud request messages, and cloud instruction reply messages into messages according to the vehicle-to-cloud communication protocol, realizing the parsing of protocol messages sent from the cloud.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to vehicle technology, and in particular to a monitoring system. Background Art

[0002] The Internet of Vehicles system has gradually become a must-have configuration for mainstream car models. Through the Internet of Vehicles cloud platform, vehicle-mounted communication terminals, and user mobile phone apps, functions such as remote vehicle control, vehicle condition query, and information viewing can be realized. With the continuous development of technology and the complexity of business needs, the service architecture of the Internet of Vehicles cloud platform is becoming more and more complex, usually consisting of hundreds of cloud microservices. Since the Internet of Vehicles is a new business and new technology, the testing methods and standards are not yet very sound, and often all problems cannot be solved 100% in the development stage. In addition, the cloud system is very complex. When multiple microservices are running in large-scale concurrency and mutual calls, various problems are likely to occur, including service exceptions and middleware downtime. If these problems are not discovered and handled in a timely manner, they can easily affect the user's use of functions, cause complaints, and thus damage the brand quality. Summary of the invention

[0003] The embodiment of the present invention provides a monitoring system to realize automatic and high-frequency simulation operation of various Internet of Vehicles services in the cloud, determine the execution results, automatically analyze the causes of abnormal operation according to the execution results, discover problems from the user's perspective and respond quickly.

[0004] In a first aspect, an embodiment of the present invention provides a monitoring system, including:

[0005] The vehicle communication unit simulation tool module, the vehicle control APP simulation and interface call simulation tool module, the instruction execution sequence visualization editing tool module, the analysis module and the alarm module, the vehicle communication unit simulation tool module includes: a vehicle condition data simulation configuration unit, a vehicle cloud protocol encapsulation and parsing unit, an uplink and downlink message timing configuration unit and a cloud connection communication unit;

[0006] Wherein, the vehicle condition data simulation configuration unit is used to simulate the vehicle condition message configuration and set the vehicle running status information at each time point according to the timing and frequency;

[0007] The vehicle-cloud protocol encapsulation and parsing unit is used to encapsulate the vehicle condition, cloud request message and cloud command reply message into a message according to the vehicle-cloud communication protocol, and implement the protocol message parsing sent from the cloud;

[0008] The uplink and downlink message timing configuration unit is used to simulate the vehicle-cloud protocol uplink message, and set the vehicle-cloud protocol uplink message active reporting and downlink message reply at each time point and time period according to the timing and frequency;

[0009] The cloud connection communication unit is used to simulate the vehicle communication terminal to establish a connection with the cloud vehicle network gateway according to the vehicle-cloud protocol, configuration connection address and authentication information.

[0010] Furthermore, the vehicle communication unit simulation tool module further includes: a first external API interface unit;

[0011] The first external API interface unit is used to receive a cloud request message and send a response message to the cloud.

[0012] Furthermore, the vehicle control APP simulation and interface call simulation tool module includes: an interface information configuration unit, an APP simulation login unit, an interface call timing configuration unit and a simulation connection communication unit;

[0013] Wherein, the interface information configuration unit is used to enter the calling interface into the tool for simulation calling;

[0014] The APP simulation login unit is used to implement APP simulation login by configuring user identity information and obtain authentication information for interface calling;

[0015] The interface call timing configuration unit is used to design the APP interface call timing of each function and configure the information in the call interface;

[0016] The simulated connection communication unit is used to configure the cloud connection address, APP authentication information and simulated mobile terminal information.

[0017] Furthermore, the vehicle control APP simulation and interface call emulation tool module further includes: a second external API interface unit;

[0018] The second external API interface unit is used to receive a cloud request message and send a response message to the cloud.

[0019] Furthermore, the instruction execution sequence visual editing tool module includes: a function scenario library unit, a sequence instruction editing unit, an execution plan setting unit, an execution status monitoring unit and an execution result output unit;

[0020] The functional scenario library unit is used to establish a functional scenario library according to the Internet of Vehicles business scenarios and user operation habits. The functional scenario library includes: remote vehicle control, vehicle condition query, user login, production line system, actual sales system and full-function scripts, and records the cloud microservices, databases and middleware names related to each functional cloud link;

[0021] The sequence instruction editing unit is used to edit each functional scenario script, simulate each node of the vehicle networking function execution link, and make execution instruction interactions according to a predetermined timing during function execution;

[0022] The execution plan setting unit is used to design execution plans for simulations of various functional scenarios;

[0023] The execution status monitoring unit is used to monitor the execution status of each plan;

[0024] The execution result output unit is used to output the execution result.

[0025] Furthermore, the execution status includes: executing, not executed, completed and failed.

[0026] Further, the analysis module includes: an execution result pulling unit, a related microservice working status analysis unit, a related middleware working status analysis unit, a related database working status analysis unit and an interface analysis unit;

[0027] The execution result extraction unit is used to compare the execution result extracted from the execution plan with the expected execution result and output an execution report;

[0028] The related microservice working status analysis unit is used to query the microservice status associated with the functional scenario in the functional scenario library in the Internet of Vehicles platform, and output a list of microservices with operating problems and error log information;

[0029] The related middleware working status analysis unit is used to query the middleware status associated with the functional scenario in the functional scenario library in the Internet of Vehicles platform, and output the list of middleware with running problems and error log information;

[0030] The relevant database working status analysis unit is used to query the database status associated with the functional scenarios in the functional scenario library in the Internet of Vehicles platform, and output a list of databases with operating problems and error log information;

[0031] The interface analysis unit is used to analyze the interface call results related to the functional scenarios in the functional scenario library, and output a list of interfaces with running problems and error log information.

[0032] Furthermore, the execution report includes at least one of: the execution is consistent with the expected result, the execution is inconsistent with the expected result, and the network is abnormal.

[0033] Further, the alarm module includes: a function-related personnel configuration unit, an execution result report parsing unit, and an alarm notification issuing unit;

[0034] The function-related personnel configuration unit is used to configure the contact information of the specific responsible personnel of the microservices, middleware, database and business lines related to each functional scenario;

[0035] The execution result report parsing unit is used to match the problem service with the associated personnel by analyzing the execution report in a standard format;

[0036] The alarm notification sending unit is used to push the execution analysis problem report to relevant personnel.

[0037] Furthermore, the vehicle operating status information includes at least one of vehicle speed, positioning and gear position.

[0038] The control system provided by the embodiment of the present invention includes: an on-board communication unit simulation tool module, a vehicle control APP simulation and interface call simulation tool module, an instruction execution sequence visualization editing tool module, an analysis module and an alarm module. The on-board communication unit simulation tool module includes: a vehicle condition data simulation configuration unit, a vehicle-cloud protocol encapsulation and parsing unit, an uplink and downlink message timing configuration unit and a cloud connection communication unit; wherein, the vehicle condition data simulation configuration unit is used to simulate the vehicle condition message configuration, and set the vehicle operation status information at each time point according to the timing and frequency; the vehicle-cloud protocol encapsulation and parsing unit is used to send the vehicle condition, cloud request message and cloud instruction back to the cloud. The complex message is encapsulated into a message according to the vehicle-cloud communication protocol to realize the parsing of the protocol message sent from the cloud; the uplink and downlink message timing configuration unit is used to simulate the vehicle-cloud protocol uplink message, and set the active reporting of the vehicle-cloud protocol uplink message and the downlink message reply at each time point and time period according to the timing and frequency; the cloud connection communication unit is used to simulate the establishment of a connection between the vehicle-mounted communication terminal and the cloud vehicle network gateway according to the vehicle-cloud protocol, configure the connection address and authentication information, so as to realize the automatic and high-frequency simulation operation of various vehicle network services in the cloud, and judge the execution results, automatically analyze the reasons for the abnormal operation according to the execution results, discover problems from the user's perspective and respond quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 It is a structural schematic diagram of a monitoring system in Embodiment 1 of the present invention;

[0041] Figure 1a This is a schematic diagram of the implementation principle of the Internet of Vehicles function in the first embodiment of the present invention;

[0042] Figure 1b is a schematic diagram of the structure of another monitoring system in Embodiment 1 of the present invention;

[0043] Figure 1c is a structural diagram of a vehicle communication unit simulation tool module in the first embodiment of the present invention;

[0044] Figure 1d It is a structural diagram of the vehicle control APP simulation and interface call simulation tool module in the first embodiment of the present invention;

[0045] Figure 1e is a schematic diagram of the structure of the instruction execution sequence visual editing tool module in the first embodiment of the present invention;

[0046] Figure 1f is a schematic diagram of the structure of an analysis module in Embodiment 1 of the present invention;

[0047] Figure 1g It is a structural diagram of an alarm module in the first embodiment of the present invention. DETAILED DESCRIPTION

[0048] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0049] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0050] Embodiment 1

[0051] Figure 1 FIG. 1 is a schematic diagram of a monitoring system provided in Embodiment 1 of the present invention. This embodiment is applicable to monitoring situations such as Figure 1 As shown, the monitoring system specifically includes: an on-board communication unit simulation tool module 11, a vehicle control APP simulation and interface call simulation tool module 12, an instruction execution sequence visualization editing tool module 13, an analysis module 14 and an alarm module 15, and the on-board communication unit simulation tool module 11 includes: a vehicle condition data simulation configuration unit 110, a vehicle-cloud protocol encapsulation and parsing unit 111, an uplink and downlink message timing configuration unit 112 and a cloud connection communication unit 113;

[0052] Wherein, the vehicle condition data simulation configuration unit is used to simulate the vehicle condition message configuration and set the vehicle running status information at each time point according to the timing and frequency;

[0053] The vehicle-cloud protocol encapsulation and parsing unit is used to encapsulate the vehicle condition, cloud request message and cloud command reply message into a message according to the vehicle-cloud communication protocol, and implement the protocol message parsing sent from the cloud;

[0054] The uplink and downlink message timing configuration unit is used to simulate the vehicle-cloud protocol uplink message, and set the vehicle-cloud protocol uplink message active reporting and downlink message reply at each time point and time period according to the timing and frequency;

[0055] The cloud connection communication unit is used to simulate the vehicle communication terminal to establish a connection with the cloud vehicle network gateway according to the vehicle-cloud protocol, configuration connection address and authentication information.

[0056] Optionally, the vehicle communication unit simulation tool module further includes: a first external API interface unit;

[0057] The first external API interface unit is used to receive a cloud request message and send a response message to the cloud.

[0058] Optionally, the vehicle control APP simulation and interface call simulation tool module includes: an interface information configuration unit, an APP simulation login unit, an interface call timing configuration unit and a simulated connection communication unit;

[0059] Wherein, the interface information configuration unit is used to enter the calling interface into the tool for simulation calling;

[0060] The APP simulation login unit is used to implement APP simulation login by configuring user identity information and obtain authentication information for interface calling;

[0061] The interface call timing configuration unit is used to design the APP interface call timing of each function and configure the information in the call interface;

[0062] The simulated connection communication unit is used to configure the cloud connection address, APP authentication information and simulated mobile terminal information.

[0063] Optionally, the vehicle control APP simulation and interface call emulation tool module further includes: a second external API interface unit;

[0064] The second external API interface unit is used to receive a cloud request message and send a response message to the cloud.

[0065] Optionally, the instruction execution sequence visual editing tool module includes: a function scenario library unit, a sequence instruction editing unit, an execution plan setting unit, an execution status monitoring unit and an execution result output unit;

[0066] The functional scenario library unit is used to establish a functional scenario library according to the Internet of Vehicles business scenarios and user operation habits. The functional scenario library includes: remote vehicle control, vehicle condition query, user login, production line system, actual sales system and full-function scripts, and records the cloud microservices, databases and middleware names related to each functional cloud link;

[0067] The sequence instruction editing unit is used to edit each functional scenario script, simulate each node of the vehicle networking function execution link, and make execution instruction interactions according to a predetermined timing during function execution;

[0068] The execution plan setting unit is used to design execution plans for simulations of various functional scenarios;

[0069] The execution status monitoring unit is used to monitor the execution status of each plan;

[0070] The execution result output unit is used to output the execution result.

[0071] Optionally, the execution status includes: executing, not executed, execution completed and execution failed.

[0072] Optionally, the analysis module includes: an execution result pulling unit, a related microservice working status analysis unit, a related middleware working status analysis unit, a related database working status analysis unit and an interface analysis unit;

[0073] The execution result extraction unit is used to compare the execution result extracted from the execution plan with the expected execution result and output an execution report;

[0074] The related microservice working status analysis unit is used to query the microservice status associated with the functional scenario in the functional scenario library in the Internet of Vehicles platform, and output a list of microservices with operating problems and error log information;

[0075] The related middleware working status analysis unit is used to query the middleware status associated with the functional scenario in the functional scenario library in the Internet of Vehicles platform, and output the list of middleware with running problems and error log information;

[0076] The relevant database working status analysis unit is used to query the database status associated with the functional scenarios in the functional scenario library in the Internet of Vehicles platform, and output a list of databases with operating problems and error log information;

[0077] The interface analysis unit is used to analyze the interface call results related to the functional scenarios in the functional scenario library, and output a list of interfaces with running problems and error log information.

[0078] Optionally, the execution report includes at least one of: the execution is consistent with the expected result, the execution is inconsistent with the expected result, and the network is abnormal.

[0079] Optionally, the alarm module includes: a function-related personnel configuration unit, an execution result report parsing unit, and an alarm notification issuing unit;

[0080] The function-related personnel configuration unit is used to configure the contact information of the specific responsible personnel of the microservices, middleware, database and business lines related to each functional scenario;

[0081] The execution result report parsing unit is used to match the problem service with the associated personnel by analyzing the execution report in a standard format;

[0082] The alarm notification sending unit is used to push the execution analysis problem report to relevant personnel.

[0083] Optionally, the vehicle operating status information includes at least one of vehicle speed, positioning and gear position.

[0084] For example, Figure 1a As shown, the Internet of Vehicles includes: an on-board control unit, an Internet of Vehicles cloud platform, user mobile phones, and an operation and maintenance management website.

[0085] Example 1: A user uses a mobile phone APP to remotely lock the car. Each end is connected in series through protocols and interfaces.

[0086] a) Select the vehicle on the mobile app, click the remote lock button, call the cloud interface, and send the command to the cloud;

[0087] b) The cloud converts the APP's instructions into protocol data that can be recognized by the car and sends it to the car through the Internet of Vehicles gateway;

[0088] c) The vehicle communication terminal receives the command sent from the cloud and forwards it to the in-vehicle controller;

[0089] d) After the in-vehicle controller executes the instruction, it returns the execution result to the in-vehicle communication terminal;

[0090] e) The vehicle communication terminal forwards the execution result to the Internet of Vehicles cloud platform;

[0091] f) The Internet of Vehicles cloud platform forwards the execution results to the user's mobile phone APP, and the mobile phone APP displays the execution results to the user.

[0092] Example 2: The factory system synchronizes vehicle information from the production line to the Internet of Vehicles cloud platform.

[0093] Example 3: On the operation and maintenance website, call the interface provided by the Internet of Vehicles cloud platform to complete the real-name registration.

[0094] like Figure 1b As shown, the monitoring system provided by the embodiment of the present invention is composed of the following sub-functions: vehicle communication unit simulation tool module, vehicle control APP simulation and interface call simulation tool module, instruction execution sequence visual editing tool module, analysis module and alarm module;

[0095] Advantage 1: The system does not rely on hardware equipment and is easy to operate. As long as the developed program is deployed to the cloud, the test system can be built. Based on the daily usage scenarios of users, the operation and maintenance personnel continuously iterate the test scripts according to the new functions, which can effectively save the test manpower cost, the test bench hardware construction cost, and the actual vehicle testing cost. It is not restricted by the actual vehicle site and is more convenient to use.

[0096] Advantage 2: Traditional interface testing and microservice monitoring systems can only monitor the connectivity of interfaces and whether microservices are running. As for the logic behind microservices and the connectivity of each called middleware, they cannot be judged well. Through the full-link simulation of the vehicle network, the vehicle communication terminal, user mobile phone APP, cloud microservices, management website, etc. are connected end-to-end. Each function simulation is full-link, which restores the user's daily usage scenario to the greatest extent. The test starts from the user's perspective, simulates the user's operation behavior, and prioritizes the functions that the user can access. The simulation runs continuously 24 hours a day to detect problems and alarm at the first time;

[0097] Advantage 3: It also has good use value in the development process of new models. The cloud service of the Internet of Vehicles, the mobile APP and the various controller software on the vehicle side are developed in parallel. If the development status of the vehicle-side controller and actuator lags behind or the test vehicle status is not satisfied, it will delay the development progress of the cloud service of the Internet of Vehicles. This system can simulate the functions of the vehicle side, based on the universal protocol of the vehicle model cloud, simulate the data interaction process between the vehicle and the cloud, and verify the cloud functions without a real vehicle and mobile APP.

[0098] In a specific example, Figure 1c As shown, the vehicle communication unit simulation tool module includes: a vehicle condition data simulation configuration unit, a vehicle-cloud protocol encapsulation and parsing unit, an uplink and downlink message timing configuration unit, a cloud connection communication unit and a first external API interface unit;

[0099] Among them, the vehicle condition data simulation configuration unit: can realize the simulation of vehicle condition message configuration, and set the vehicle running status information such as vehicle speed, positioning, gear position, etc. at each time point according to the timing and frequency;

[0100] Vehicle-cloud protocol encapsulation and parsing unit: encapsulates vehicle status, cloud request messages, and cloud command reply messages into messages according to the vehicle-cloud communication protocol; implements parsing of protocol messages sent from the cloud;

[0101] Uplink and downlink message timing configuration unit: it can simulate the vehicle-cloud protocol uplink, set the vehicle-cloud protocol uplink message active reporting and downlink message reply at each time point and time period according to the timing and frequency;

[0102] Cloud connection communication unit: According to the vehicle-cloud protocol, configure the connection address and authentication information, and simulate the vehicle communication terminal to establish a connection with the cloud vehicle network gateway;

[0103] The first external API interface unit: an API interface that exposes the above functions to the outside world and is used for vehicle-side simulation of the overall system.

[0104] like Figure 1d As shown, the vehicle control APP simulation and interface call simulation tool module includes: an interface information configuration unit, an APP simulation login unit, an interface call timing configuration unit, a simulation connection communication unit and a second external API interface unit;

[0105] Among them, the interface information configuration unit: enter all the call interfaces involved in the APP end, operation and maintenance operation website, etc. into the tool for simulation calling;

[0106] APP simulation login unit: implement APP simulation login by configuring user name, password and other information, and obtain authentication information for interface call;

[0107] Interface call timing configuration unit: can design the APP interface call timing of each function and configure the information in the call interface;

[0108] Simulation connection communication unit: configure cloud connection address, APP authentication information, simulation mobile phone information, etc.;

[0109] The second external API interface unit is used to receive a cloud request message and send a response message to the cloud.

[0110] like Figure 1e As shown, the instruction execution sequence visual editing tool module includes: a function scenario library unit, a sequence instruction editing unit, an execution plan setting unit, an execution status monitoring unit and an execution result output unit;

[0111] Among them, the functional scenario library unit: establishes a vehicle network functional scenario library based on the business scenarios of the Internet of Vehicles and user operating habits, covering full-link and full-function scripts such as remote vehicle control, vehicle condition inquiry, user login, production line system, and actual sales system; records the names of cloud microservices, databases, middleware, etc. related to each functional cloud link.

[0112] Sequence instruction editing unit: Detailed editing of each functional scenario script, simulating various nodes of the IoV function execution chain such as vehicles, user APP operations, and operation and maintenance website operations, and making various execution instruction interactions according to the predetermined timing during function execution;

[0113] Execution plan setting unit: design execution plans for simulation of various functional scenarios;

[0114] Execution status monitoring unit: monitors the execution status of each plan, including being executed, not executed, completed, and failed;

[0115] Execution result output unit: outputs the execution result.

[0116] like Figure 1f As shown, the analysis module includes: an execution result pulling unit, a related microservice working status analysis unit, a related middleware working status analysis unit, a related database working status analysis unit and an interface analysis unit;

[0117] Among them, the execution result pulling unit: pulls the execution result from the previous function module according to the execution plan, compares it with the expected execution result, and outputs the execution report, such as: the execution is consistent with the expected result, the execution is inconsistent with the expected result, the network is abnormal, and other specific reasons;

[0118] Related microservice working status analysis unit: query the microservice status associated with this functional scenario in the "functional scenario library" in the Internet of Vehicles platform, and output the list of microservices with running problems and error log information;

[0119] Related middleware working status analysis unit: query the middleware status associated with this function scenario in the "Function Scenario Library" in the Internet of Vehicles platform, and output the list of middleware with running problems and error log information;

[0120] Related database working status analysis unit: query the database status associated with this function scenario in the "function scenario library" in the Internet of Vehicles platform, and output the list of databases with running problems and error log information;

[0121] Interface analysis unit: Analyzes the interface call results related to this functional scenario in the "Functional Scenario Library", and outputs a list of interfaces with running problems and error log information.

[0122] The analysis module also includes: an output analysis overall report unit;

[0123] Wherein, the output analysis overall report unit is used for outputting the analysis overall report.

[0124] like Figure 1gAs shown, the alarm module includes: a function-related personnel configuration unit, an execution result report parsing unit, and an alarm notification issuing unit;

[0125] Among them, the function-related personnel configuration unit: configures the contact information of the specific responsible personnel of the microservices, middleware, database, and business lines related to each functional scenario;

[0126] Execution result report parsing unit: matches problem services to related personnel by analyzing execution reports in standard formats;

[0127] Alarm notification issuing unit: Push the execution analysis problem report to relevant personnel via email, SMS, phone, and instant messaging software.

[0128] In another specific example, the remote unlocking vehicle function monitoring process:

[0129] The testers sorted out the process of remote air conditioning start function, which is as follows: the user clicks the remote air conditioning start button through the mobile phone APP to call the remote air conditioning start interface provided by the cloud; the cloud-related microservices, middleware, and database process the instructions, encapsulate the instructions into a car-cloud communication protocol that can be recognized by the vehicle communication terminal, and send it to the car; the vehicle communication terminal sends the received control command to the in-vehicle controller, the in-vehicle controller executes the instruction, and feeds back the execution result to the cloud through the vehicle communication terminal; the cloud feeds back the execution result to the user's mobile phone APP for result display;

[0130] Based on the above process, a functional scenario library is established. According to the interface call relationship and message sending timing, the "instruction execution sequence visual editing tool" is used to complete the full-link editing of the function. For example: configure the microservices, middleware, and database list related to the full-link of remote air-conditioning cloud startup; 8:30: Set up the "vehicle control APP simulation and interface call simulation tool" to issue a simulation of remote air-conditioning startup; 8:30-8:31: Set up the "vehicle communication unit simulation tool" to reply "execution successful" when receiving the remote air-conditioning control command; set the standard answer for this test case to "execution successful"; 8:31: Set up the "vehicle control APP simulation and interface call simulation tool" to issue a simulation of remote air-conditioning startup; 8:31-8:32: Set up the "vehicle communication unit simulation tool" to issue a simulation of remote air-conditioning startup; 8:32: Set the "Vehicle Control APP Simulation and Interface Call Simulation Tool" to send a simulation of remote air conditioning start; 8:32-8:33: Set the "Vehicle Communication Unit Simulation Tool" to not reply when receiving a remote air conditioning control command; set the standard answer to this test case to "Execution Timeout"; 8:33: Set the "Vehicle Control APP Simulation and Interface Call Simulation Tool" to send a simulation of remote air conditioning start; 8:33-8:34: Set the "Vehicle Communication Unit Simulation Tool" to disconnect from the cloud during this time period; set the standard answer to this test case to "Vehicle is not online";

[0131] Arrival of scheduled time to start execution:

[0132] Execute the test instructions in sequence and compare the execution results with the standard answers. If they are consistent, the test case passes. If the execution results are inconsistent with the standard answers, the operation and maintenance interface of the Internet of Vehicles cloud platform is automatically called to query the working status of related microservices, middleware, databases, and simulation tools, and find error log information; sort out the list of problematic nodes and generate a cause analysis report; and automatically alarm and notify the operation and maintenance personnel of related services;

[0133] The embodiments of the present invention transfer all the complex Internet of Vehicles link testing work that originally required a test bench, a real vehicle, a cloud application, and a mobile phone APP to cloud simulation, thereby improving efficiency and reducing costs. The Internet of Vehicles full-link functional simulation stability monitoring based on user usage scenarios can better discover problems in Internet of Vehicles cloud applications compared to the traditional one that can only perform interface connectivity and microservice operating status. The error causes of the execution results of simulated user operation behaviors are automatically associated with the operating status of microservices, middleware, databases, etc., to facilitate operation and maintenance personnel to quickly locate problems.

[0134] The technical solution of this embodiment is that the monitoring system includes: an on-board communication unit simulation tool module, a vehicle control APP simulation and interface call simulation tool module, an instruction execution sequence visualization editing tool module, an analysis module and an alarm module. The on-board communication unit simulation tool module includes: a vehicle condition data simulation configuration unit, a vehicle-cloud protocol encapsulation and parsing unit, an uplink and downlink message timing configuration unit and a cloud connection communication unit; wherein, the vehicle condition data simulation configuration unit is used to simulate the vehicle condition message configuration, and set the vehicle operation status information at each time point according to the timing and frequency; the vehicle-cloud protocol encapsulation and parsing unit is used to send the vehicle condition, cloud request message and cloud instruction back to the cloud. The complex message is encapsulated into a message according to the vehicle-cloud communication protocol to realize the parsing of the protocol message sent from the cloud; the uplink and downlink message timing configuration unit is used to simulate the vehicle-cloud protocol uplink message, and set the active reporting of the vehicle-cloud protocol uplink message and the downlink message reply at each time point and time period according to the timing and frequency; the cloud connection communication unit is used to simulate the establishment of a connection between the vehicle-mounted communication terminal and the cloud vehicle network gateway according to the vehicle-cloud protocol, configure the connection address and authentication information, so as to realize the automatic and high-frequency simulation operation of various vehicle network services in the cloud, and judge the execution results, automatically analyze the reasons for the abnormal operation according to the execution results, discover problems from the user's perspective and respond quickly.

Claims

1. A monitoring system, characterized in that: include: The vehicle communication unit simulation tool module, vehicle control APP simulation and interface call simulation tool module, instruction execution sequence visual editing tool module, analysis module and alarm module are included in the vehicle communication unit simulation tool module, which includes: vehicle condition data simulation configuration unit, vehicle-cloud protocol encapsulation and parsing unit, uplink and downlink message timing configuration unit and cloud connection communication unit; The vehicle condition data simulation configuration unit is used to simulate the vehicle condition message configuration and set the vehicle operation status information at each time point according to the timing and frequency; The vehicle-cloud protocol encapsulation and parsing unit is used to encapsulate the vehicle status, cloud request message and cloud command reply message into a message according to the vehicle-cloud communication protocol, and implement the protocol message parsing sent from the cloud; The uplink and downlink message timing configuration unit is used to simulate the uplink message of the vehicle-cloud protocol, and set the active reporting of the uplink message and the downlink message reply of the vehicle-cloud protocol at each time point and time period according to the timing and frequency; The cloud connection communication unit is used to simulate the vehicle communication terminal to establish a connection with the cloud vehicle network gateway according to the vehicle-cloud protocol, configuration connection address and authentication information; Among them, the vehicle control APP simulation and interface call simulation tool module includes: an interface information configuration unit, an APP simulation login unit, an interface call timing configuration unit and a simulation connection communication unit; Wherein, the interface information configuration unit is used to enter the calling interface into the tool for simulation calling; The APP simulated login unit is used to implement APP simulated login by configuring user identity information and obtain authentication information for interface call; The interface call timing configuration unit is used to design the APP interface call timing of each function and configure the information in the call interface; The simulated connection communication unit is used to configure the cloud connection address, APP authentication information and simulated mobile terminal information; The instruction execution sequence visual editing tool module includes: a function scenario library unit, a sequence instruction editing unit, an execution plan setting unit, an execution status monitoring unit and an execution result output unit; The functional scenario library unit is used to establish a functional scenario library based on the business scenarios of the Internet of Vehicles and user operating habits. The functional scenario library includes: remote vehicle control, vehicle status query, user login, production line system, actual sales system and full-function scripts, and records the cloud microservices, databases and middleware names related to each functional cloud link; The sequence instruction editing unit is used to edit each functional scenario script, simulate each node of the vehicle network function execution link, and make execution instruction interactions according to a predetermined time sequence during function execution; The execution plan setting unit is used to design an execution plan for each functional scenario simulation; The execution status monitoring unit is used to monitor the execution status of each plan; The execution result output unit is used to output the execution result.

2. The system according to claim 1, wherein: The vehicle communication unit simulation tool module further includes: a first external API interface unit; The first external API interface unit is used to receive a request message from the cloud and send a response message to the cloud.

3. The system according to claim 1, wherein: The vehicle control APP simulation and interface call simulation tool module also includes: a second external API interface unit; The second external API interface unit is used to receive a request message from the cloud and send a response message to the cloud.

4. The system according to claim 1, wherein: The execution status includes: executing, not executed, completed and failed.

5. The system according to claim 1, wherein: The analysis module includes: an execution result pulling unit, a related microservice working status analysis unit, a related middleware working status analysis unit, a related database working status analysis unit, and an interface analysis unit; The execution result pulling unit is used to compare the execution result pulled from the execution plan with the expected execution result and output an execution report; The relevant microservice working status analysis unit is used to query the microservice status associated with the functional scenario in the functional scenario library in the Internet of Vehicles platform, and output a list of microservices with operating problems and error log information; The related middleware working status analysis unit is used to query the middleware status associated with the functional scenarios in the functional scenario library in the Internet of Vehicles platform, and output a list of middleware with operating problems and error log information; The relevant database working status analysis unit is used to query the database status associated with the functional scenarios in the functional scenario library in the Internet of Vehicles platform, and output a list of databases with operating problems and error log information; The interface analysis unit is used to analyze the interface call results related to the functional scenarios in the functional scenario library, and output a list of interfaces with running problems and error log information.

6. The system according to claim 5, characterized in that The execution report includes at least one of: execution being consistent with expected results, execution not being consistent with expected results, and network anomaly.

7. The system according to claim 1, wherein: The alarm module includes: function-related personnel configuration unit, execution result report parsing unit and alarm notification issuing unit; The function-related personnel configuration unit is used to configure the contact information of the specific responsible personnel of the microservices, middleware, database and business lines related to each functional scenario; The execution result report parsing unit is used to match the problem service with the associated personnel by analyzing the execution report in a standard format; The alarm notification sending unit is used to push the execution analysis problem report to relevant personnel.

8. The system according to claim 1, wherein: The vehicle operating status information includes at least one of vehicle speed, location and gear position.