CN112559289A - Monitoring system - Google Patents
Monitoring system Download PDFInfo
- Publication number
- CN112559289A CN112559289A CN202011454572.9A CN202011454572A CN112559289A CN 112559289 A CN112559289 A CN 112559289A CN 202011454572 A CN202011454572 A CN 202011454572A CN 112559289 A CN112559289 A CN 112559289A
- Authority
- CN
- China
- Prior art keywords
- unit
- vehicle
- cloud
- execution
- simulation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 29
- 238000004088 simulation Methods 0.000 claims abstract description 105
- 238000004458 analytical method Methods 0.000 claims abstract description 73
- 238000004891 communication Methods 0.000 claims abstract description 67
- 238000005538 encapsulation Methods 0.000 claims abstract description 14
- 230000000007 visual effect Effects 0.000 claims abstract description 8
- 230000006855 networking Effects 0.000 claims description 28
- 238000013515 script Methods 0.000 claims description 9
- 238000004573 interface analysis Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 7
- 230000003993 interaction Effects 0.000 claims description 5
- 238000004519 manufacturing process Methods 0.000 claims description 5
- 238000012800 visualization Methods 0.000 claims description 5
- 238000012360 testing method Methods 0.000 description 16
- 238000000034 method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000012423 maintenance Methods 0.000 description 8
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a monitoring system. The system comprises: on-vehicle communication unit simulation tool module, vehicle accuse APP simulation and interface call simulation tool module, the visual editing tool module of instruction execution sequence, analysis module and alarm module, on-vehicle communication unit simulation tool module includes: the system comprises a vehicle condition data simulation configuration unit, a vehicle cloud protocol encapsulation and analysis unit, an uplink and downlink message time sequence configuration unit and a cloud connection communication unit; the vehicle condition data simulation configuration unit is used for simulating vehicle condition message configuration and setting vehicle running state information of each time point according to time sequence and frequency; the vehicle cloud protocol encapsulation and analysis unit is used for encapsulating the vehicle condition, the cloud request message and the cloud instruction reply message into messages according to a vehicle cloud communication protocol, and realizing protocol message analysis issued by the cloud.
Description
Technical Field
The embodiment of the invention relates to a vehicle technology, in particular to a monitoring system.
Background
The car networking system has gradually become the indispensable configuration of present mainstream motorcycle type, realizes functions such as remote control vehicle, vehicle condition inquiry, information look over through car networking cloud platform, on-vehicle communication terminal, user's cell-phone APP. With the continuous development of the technology and the complication of business requirements, the service architecture of the existing car networking cloud platform is more complex and generally consists of hundreds of cloud micro-services. Because the internet of vehicles is a new service and a new technology, the testing means and the standard are not very sound, and all problems can not be solved completely in the development stage. And the cloud system is very complicated, various problems such as abnormal service and downtime of middleware easily occur to various micro services in the operation of large-scale concurrency and mutual calling, and if the problems cannot be found and processed in time, the functional use of users is easily influenced, complaints are caused, and the brand quality is damaged.
Disclosure of Invention
The embodiment of the invention provides a monitoring system, which is used for realizing automatic high-frequency simulation operation of various services of an internet of vehicles at the cloud, judging an execution result, automatically analyzing the reason of abnormal operation according to the execution result, finding problems from the perspective of a user and rapidly coping with the problems.
In a first aspect, an embodiment of the present invention provides a monitoring system, including:
on-vehicle communication unit simulation tool module, vehicle accuse APP simulation and interface call simulation tool module, the visual editing tool module of instruction execution sequence, analysis module and alarm module, on-vehicle communication unit simulation tool module includes: the system comprises a vehicle condition data simulation configuration unit, a vehicle cloud protocol encapsulation and analysis unit, an uplink and downlink message time sequence configuration unit and a cloud connection communication unit;
the vehicle condition data simulation configuration unit is used for simulating vehicle condition message configuration and setting vehicle running state information of each time point according to time sequence and frequency;
the vehicle cloud protocol encapsulation and analysis unit is used for encapsulating vehicle conditions, cloud request messages and cloud instruction reply messages into messages according to a vehicle cloud communication protocol and realizing protocol message analysis issued by a cloud end;
the uplink and downlink message time sequence configuration unit is used for simulating a vehicle cloud protocol uplink message, and setting vehicle cloud protocol uplink message active reporting and downlink message reply of each time point and each time period according to time sequence and frequency;
the cloud connection communication unit is used for simulating the connection establishment between the vehicle-mounted communication terminal and the cloud vehicle networking gateway according to the vehicle cloud protocol, the configuration connection address and the authentication information.
Further, the vehicle-mounted communication unit simulation tool module further comprises: a first external API interface unit;
the first external API interface unit is used for receiving a cloud request message and sending a response message to the cloud.
Further, the simulation tool module is called to car accuse APP simulation and interface includes: the device comprises an interface information configuration unit, an APP simulation login unit, an interface calling time sequence configuration unit and a simulation connection communication unit;
the interface information configuration unit is used for inputting a calling interface into a tool for simulation calling;
the APP analog login unit is used for realizing APP analog login by configuring user identity information and acquiring authentication information for interface calling;
the interface calling time sequence configuration unit is used for designing the APP interface calling time sequence of each function and configuring information in the calling interface;
the simulation connection communication unit is used for configuring a cloud connection address, APP authentication information and simulation mobile terminal information.
Further, simulation tool module is called to car accuse APP simulation and interface still includes: a second external API interface unit;
the second external API interface unit is used for receiving a cloud request message and sending a response message to the cloud.
Further, the instruction execution sequence visualization editing tool module comprises: the system comprises a functional scene library unit, a sequence instruction editing unit, an execution plan setting unit, an execution state monitoring unit and an execution result output unit;
the function scene library unit is used for establishing a function scene library according to a car networking service scene and a user operation habit, and the function scene library comprises: remote vehicle control, vehicle condition query, user login, production line system, real sale system and full function script, and cloud micro service, database and middleware names related to each functional cloud link are recorded;
the sequence instruction editing unit is used for editing each function scene script, simulating each node of a car networking function execution link, and performing execution instruction interaction according to a preset time sequence in function execution;
the execution plan setting unit is used for designing an execution plan for simulating each functional scene;
the execution state monitoring unit is used for monitoring the execution condition of each plan;
the execution result output unit is used for outputting an execution result.
Further, the execution case includes: in execution, not executed, execution completed, and execution failed.
Further, the analysis module comprises: the system comprises an execution result pulling unit, a related micro-service working state analysis unit, a related middleware working state analysis unit, a related database working state analysis unit and an interface analysis unit;
the execution result pulling unit is used for comparing an execution plan pulling execution result with an expected execution result and outputting an execution report;
the related micro-service working state analysis unit is used for inquiring the micro-service state related to the functional scene in the functional scene library in the vehicle networking platform and outputting a micro-service list with problematic operation and error log information;
the related middleware working state analysis unit is used for inquiring the middleware state related to the functional scene in the functional scene library in the Internet of vehicles platform and outputting a middleware list with problematic operation and error log information;
the relevant database working state analysis unit is used for inquiring the database state related to the functional scene in the functional scene library in the Internet of vehicles platform and outputting a database list with operation problems and error log information;
the interface analysis unit is used for analyzing interface calling results related to the functional scenes in the functional scene library and outputting an interface list with operation problems and error log information.
Further, the execution report includes: the execution is at least one of consistent with the expected result, inconsistent with the expected result, and network anomaly.
Further, the alarm module comprises: the system comprises a function-associated personnel configuration unit, an execution result report analysis unit and an alarm notification issuing unit;
the function-related personnel configuration unit is used for configuring the contact ways of the micro-services, the middleware, the database and the specific responsible personnel of the service line related to each function scene;
the execution result report analysis unit is used for matching problem service with associated personnel by analyzing an execution report in a standard format;
the alarm notification issuing unit is used for pushing the problem report of analysis execution to related personnel.
Further, the vehicle running state information includes: at least one of vehicle speed, position, and gear.
The control system provided by the embodiment of the invention comprises: on-vehicle communication unit simulation tool module, vehicle accuse APP simulation and interface call simulation tool module, the visual editing tool module of instruction execution sequence, analysis module and alarm module, on-vehicle communication unit simulation tool module includes: the system comprises a vehicle condition data simulation configuration unit, a vehicle cloud protocol encapsulation and analysis unit, an uplink and downlink message time sequence configuration unit and a cloud connection communication unit; the vehicle condition data simulation configuration unit is used for simulating vehicle condition message configuration and setting vehicle running state information of each time point according to time sequence and frequency; the vehicle cloud protocol encapsulation and analysis unit is used for encapsulating vehicle conditions, cloud request messages and cloud instruction reply messages into messages according to a vehicle cloud communication protocol and realizing protocol message analysis issued by a cloud end; the uplink and downlink message time sequence configuration unit is used for simulating a vehicle cloud protocol uplink message, and setting vehicle cloud protocol uplink message active reporting and downlink message reply of each time point and each time period according to time sequence and frequency; the cloud connection communication unit is used for simulating the vehicle-mounted communication terminal to establish connection with the cloud vehicle networking gateway according to a vehicle cloud protocol, a configuration connection address and authentication information so as to realize automatic high-frequency operation of each service of the vehicle networking at the cloud, judge an execution result, automatically analyze the reason of abnormal operation according to the execution result, find problems from the perspective of a user and quickly deal with the problems.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a monitoring system according to a first embodiment of the present invention;
fig. 1a is a schematic diagram of a car networking function implementation in a first embodiment of the present invention;
FIG. 1b is a schematic diagram of another monitoring system according to one embodiment of the present invention;
FIG. 1c is a schematic structural diagram of a simulation tool module of a vehicle-mounted communication unit according to a first embodiment of the present invention;
fig. 1d is a schematic structural diagram of a vehicle control APP simulation and interface call simulation tool module in the first embodiment of the present invention;
FIG. 1e is a schematic structural diagram of an instruction execution sequence visualization editing tool module according to a first embodiment of the present invention;
FIG. 1f is a schematic structural diagram of an analysis module according to a first embodiment of the present invention;
fig. 1g is a schematic structural diagram of an alarm module in the first embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example one
Fig. 1 is a schematic structural diagram of a monitoring system according to an embodiment of the present invention, where the embodiment is applicable to a monitoring situation, as shown in fig. 1, the monitoring system specifically includes: on-vehicle communication unit simulation tool module 11, vehicle accuse APP simulation and interface call simulation tool module 12, the visual editing tool module of instruction execution sequence 13, analysis module 14 and alarm module 15, on-vehicle communication unit simulation tool module 11 includes: the system comprises a vehicle condition data simulation configuration unit 110, a vehicle cloud protocol encapsulation and analysis unit 111, an uplink and downlink message time sequence configuration unit 112 and a cloud connection communication unit 113;
the vehicle condition data simulation configuration unit is used for simulating vehicle condition message configuration and setting vehicle running state information of each time point according to time sequence and frequency;
the vehicle cloud protocol encapsulation and analysis unit is used for encapsulating vehicle conditions, cloud request messages and cloud instruction reply messages into messages according to a vehicle cloud communication protocol and realizing protocol message analysis issued by a cloud end;
the uplink and downlink message time sequence configuration unit is used for simulating a vehicle cloud protocol uplink message, and setting vehicle cloud protocol uplink message active reporting and downlink message reply of each time point and each time period according to time sequence and frequency;
the cloud connection communication unit is used for simulating the connection establishment between the vehicle-mounted communication terminal and the cloud vehicle networking gateway according to the vehicle cloud protocol, the configuration connection address and the authentication information.
Optionally, the vehicle-mounted communication unit simulation tool module further includes: a first external API interface unit;
the first external API interface unit is used for receiving a cloud request message and sending a response message to the cloud.
Optionally, the simulation tool module is called to car accuse APP simulation and interface includes: the device comprises an interface information configuration unit, an APP simulation login unit, an interface calling time sequence configuration unit and a simulation connection communication unit;
the interface information configuration unit is used for inputting a calling interface into a tool for simulation calling;
the APP analog login unit is used for realizing APP analog login by configuring user identity information and acquiring authentication information for interface calling;
the interface calling time sequence configuration unit is used for designing the APP interface calling time sequence of each function and configuring information in the calling interface;
the simulation connection communication unit is used for configuring a cloud connection address, APP authentication information and simulation mobile terminal information.
Optionally, the simulation tool module is called to car accuse APP simulation and interface still includes: a second external API interface unit;
the second external API interface unit is used for receiving a cloud request message and sending a response message to the cloud.
Optionally, the instruction execution sequence visualization editing tool module includes: the system comprises a functional scene library unit, a sequence instruction editing unit, an execution plan setting unit, an execution state monitoring unit and an execution result output unit;
the function scene library unit is used for establishing a function scene library according to a car networking service scene and a user operation habit, and the function scene library comprises: remote vehicle control, vehicle condition query, user login, production line system, real sale system and full function script, and cloud micro service, database and middleware names related to each functional cloud link are recorded;
the sequence instruction editing unit is used for editing each function scene script, simulating each node of a car networking function execution link, and performing execution instruction interaction according to a preset time sequence in function execution;
the execution plan setting unit is used for designing an execution plan for simulating each functional scene;
the execution state monitoring unit is used for monitoring the execution condition of each plan;
the execution result output unit is used for outputting an execution result.
Optionally, the executing case includes: in execution, not executed, execution completed, and execution failed.
Optionally, the analysis module includes: the system comprises an execution result pulling unit, a related micro-service working state analysis unit, a related middleware working state analysis unit, a related database working state analysis unit and an interface analysis unit;
the execution result pulling unit is used for comparing an execution plan pulling execution result with an expected execution result and outputting an execution report;
the related micro-service working state analysis unit is used for inquiring the micro-service state related to the functional scene in the functional scene library in the vehicle networking platform and outputting a micro-service list with problematic operation and error log information;
the related middleware working state analysis unit is used for inquiring the middleware state related to the functional scene in the functional scene library in the Internet of vehicles platform and outputting a middleware list with problematic operation and error log information;
the relevant database working state analysis unit is used for inquiring the database state related to the functional scene in the functional scene library in the Internet of vehicles platform and outputting a database list with operation problems and error log information;
the interface analysis unit is used for analyzing interface calling results related to the functional scenes in the functional scene library and outputting an interface list with operation problems and error log information.
Optionally, the execution report includes: the execution is at least one of consistent with the expected result, inconsistent with the expected result, and network anomaly.
Optionally, the alarm module includes: the system comprises a function-associated personnel configuration unit, an execution result report analysis unit and an alarm notification issuing unit;
the function-related personnel configuration unit is used for configuring the contact ways of the micro-services, the middleware, the database and the specific responsible personnel of the service line related to each function scene;
the execution result report analysis unit is used for matching problem service with associated personnel by analyzing an execution report in a standard format;
the alarm notification issuing unit is used for pushing the problem report of analysis execution to related personnel.
Optionally, the vehicle operating state information includes: at least one of vehicle speed, position, and gear.
Illustratively, as shown in fig. 1a, the internet of vehicles includes: the system comprises a vehicle-mounted control unit, a vehicle networking cloud platform, a user mobile phone and an operation and maintenance operation management website.
Example one: the user uses the mobile phone APP to remotely unlock the vehicle lock, and all the terminals are mutually connected in series through the protocol and the interface
a) Selecting a vehicle on a mobile phone APP, clicking a remote unlocking button, calling a cloud interface, and issuing a command to a cloud;
b) the cloud end converts the APP instruction into protocol data which can be identified in the vehicle, and the protocol data is transmitted to the vehicle through the Internet of vehicles gateway;
c) the vehicle-mounted communication terminal receives the command sent by the cloud and forwards the command to the in-vehicle controller;
d) after the in-vehicle controller executes the instruction, returning an execution result to the vehicle-mounted communication terminal;
e) the vehicle-mounted communication terminal forwards the execution result to the Internet of vehicles cloud platform;
f) and the vehicle networking cloud platform forwards the execution result to a user mobile phone APP, and the mobile phone APP displays the execution result for the user.
Example two: and the factory system synchronizes the vehicle information of the production line to the Internet of vehicles cloud platform.
Example three: and calling an interface provided by the Internet of vehicles cloud platform on the operation and maintenance website to finish the real-name system.
As shown in fig. 1b, the monitoring system provided in the embodiment of the present invention is composed of the following sub-functions: the system comprises a vehicle-mounted communication unit simulation tool module, a vehicle control APP simulation and interface calling simulation tool module, an instruction execution sequence visual editing tool module, an analysis module and an alarm module;
the method has the advantages that: the system does not depend on hardware equipment, is simple to operate, and can complete the construction of the test system as long as the developed program is deployed to the cloud. The operation and maintenance personnel continuously iterate the test script according to the new functions based on the daily use scene of the user, so that the test labor cost, the test bench hardware building cost and the real vehicle test cost can be effectively saved, the limitation of a real vehicle field is avoided, and the use is more convenient;
the method has the advantages that: the traditional interface test and micro-service monitoring system can only monitor the connectivity of the interface and whether the micro-service is running, and the logic behind the micro-service and the connectivity of each called middleware can not be judged well. Through vehicle network full-link simulation, the vehicle-mounted communication terminal, the user mobile phone APP, the cloud micro-service, the management website and the like are connected in series end to end, each function simulation is full-link, and the daily use scene of a user is restored to the maximum extent. From the perspective of a user, the test simulates the operation behavior of the user, the priority of functions which can be touched by the user is improved, the simulation operation is continuously carried out 24 hours a day, and the problem is found and an alarm is given at the first time;
the method has the advantages that: the method has good use value in the development process of a new vehicle type, the cloud service of the vehicle networking, the mobile phone APP and the software of each controller of the vehicle end are developed in parallel, and if the development states of the controller and the actuator of the vehicle end are delayed or the test vehicle state is not satisfied, the development progress of the cloud service of the vehicle networking is delayed. The system can simulate the function of a vehicle end, simulate the vehicle-cloud data interaction process based on the vehicle type cloud universal protocol, and verify the cloud function under the condition of no real vehicle or mobile phone APP.
In a specific example, as shown in fig. 1c, the vehicle-mounted communication unit simulation tool module includes: the system comprises a vehicle condition data simulation configuration unit, a vehicle cloud protocol encapsulation and analysis unit, an uplink and downlink message time sequence configuration unit, a cloud connection communication unit and a first external API interface unit;
wherein, vehicle condition data simulation configuration unit: the configuration of the message simulating the vehicle condition can be realized, and the vehicle running state information such as the vehicle speed, the positioning, the gear and the like at each time point is set according to the time sequence and the frequency;
the car cloud protocol encapsulation and analysis unit: packaging the vehicle condition, the cloud request message and the cloud instruction reply message into messages according to a vehicle cloud communication protocol; realizing protocol message analysis issued by a cloud end;
an uplink and downlink message time sequence configuration unit: the method can realize the simulation of the vehicle cloud protocol uplink, and set the vehicle cloud protocol uplink message active report and downlink message reply of each time point and time period according to the time sequence and frequency;
the cloud end is connected with the communication unit: configuring a connection address and authentication information according to a vehicle cloud protocol, and simulating the vehicle-mounted communication terminal to establish connection with a cloud vehicle networking gateway;
first external API interface unit: and the API interface with the functions is exposed to the outside and is used for vehicle-end simulation of the whole system.
As shown in fig. 1d, the simulation tool module for vehicle control APP simulation and interface call includes: the system comprises an interface information configuration unit, an APP simulation login unit, an interface calling time sequence configuration unit, a simulation connection communication unit and a second external API interface unit;
wherein, the interface information configuration unit: inputting all related calling interfaces of an APP terminal, an operation and maintenance operation website and the like into a tool for simulating calling;
APP analog login unit: the method comprises the steps that APP analog login is achieved through configuration of information such as a user name and a password, and authentication information used for interface calling is obtained;
an interface calls a time sequence configuration unit: the calling time sequence of the APP interface of each function can be designed, and the information in the calling interface can be configured;
analog connection communication unit: configuring a cloud connection address, APP authentication information, simulated mobile phone information and the like;
the second external API interface unit is used for receiving a cloud request message and sending a response message to the cloud.
As shown in fig. 1e, the instruction execution sequence visualization editing tool module includes: the system comprises a functional scene library unit, a sequence instruction editing unit, an execution plan setting unit, an execution state monitoring unit and an execution result output unit;
wherein, the function scene library unit: according to the service scene of the Internet of vehicles and the operation habits of users, a functional scene library of the Internet of vehicles is established, and full-link and full-function scripts such as remote vehicle control, vehicle condition query, user login, a production line system, a real sale system and the like are covered; and recording names of cloud micro-services, databases, middleware and the like related to each functional cloud link.
A sequence instruction editing unit: editing each function scene script in detail, simulating each node of a vehicle networking function execution link such as a vehicle, user APP operation, operation and maintenance website operation and the like, and performing various execution instruction interaction according to a preset time sequence in function execution;
an execution plan setting unit: designing an execution plan for simulating each functional scene;
an execution status monitoring unit: monitoring the execution conditions of each plan, including execution, non-execution, execution completion and execution failure;
an execution result output unit: and outputting the execution result.
As shown in fig. 1f, the analysis module comprises: the system comprises an execution result pulling unit, a related micro-service working state analysis unit, a related middleware working state analysis unit, a related database working state analysis unit and an interface analysis unit;
wherein, the execution result pulling unit: from the last functional module, the execution result is pulled according to the execution plan, compared with the expected execution result, and an execution report is output, for example: the execution is consistent with the expected result, the execution is not consistent with the expected result, the network is abnormal and other specific reasons;
the related micro-service working state analysis unit: inquiring the micro service state associated with the function scene in the function scene library in the vehicle networking platform, and outputting a micro service list with problematic operation and error reporting log information;
the related middleware working state analysis unit: the middleware state related to the function scene in the function scene library is inquired in the Internet of vehicles platform, and a middleware list with problematic operation and error log information are output;
the relevant database working state analysis unit: inquiring the database state associated with the function scene in the function scene library in the Internet of vehicles platform, and outputting a database list with problematic operation and error log information;
an interface analysis unit: and analyzing the interface calling result related to the function scene in the function scene library, and outputting an interface list with operation problems and error report log information.
The analysis module further comprises: outputting an analysis overall report unit;
wherein, the output analysis overall report unit is used for outputting an analysis overall report.
As shown in fig. 1g, the alarm module comprises: the system comprises a function-associated personnel configuration unit, an execution result report analysis unit and an alarm notification issuing unit;
wherein, the function-related personnel configuration unit: configuring the contact way of the specific responsible personnel of the microservices, the middleware, the database and the service lines related to each functional scene;
an execution result report parsing unit: matching problem services with associated personnel by analyzing the execution report in the standard format;
an alarm notification issuing unit: and pushing the problem report of the execution analysis to related personnel through mails, short messages, telephones and instant messaging software.
In another specific example, the remote unlock vehicle function monitoring process:
the process of the tester combing the air conditioner function in a remote starting mode comprises the following steps: a user clicks a remote air conditioner starting button through a mobile phone APP, and a remote air conditioner starting interface provided by a cloud terminal is called; processing the command by the cloud-related micro service, the middleware and the database, packaging the command into a vehicle cloud communication protocol which can be identified by the vehicle-mounted communication terminal, and sending the vehicle cloud communication protocol into a vehicle; the vehicle-mounted communication terminal sends the received control command to the in-vehicle controller, the in-vehicle controller executes the command, and feeds back an execution result to the cloud end through the vehicle-mounted communication terminal; the cloud feeds the execution result back to the user mobile phone APP for result display;
establishing a functional scene library based on the above procedures, and implementing editing of the full link by applying a 'visual editing tool of instruction execution sequence' according to an interface calling relationship and a message sending time sequence, for example: configuring micro-services, middleware and database lists related to a full link of a remote start air conditioner cloud; 8:30: setting a vehicle control APP simulation and interface calling simulation tool to issue a simulation of a remote start air conditioner; 8:30-8:31: setting a vehicle-mounted communication unit simulation tool, and replying that the execution is successful when a remote air conditioner control instruction is received; setting the standard answer of the test case as 'execution success'; 8:31: setting a vehicle control APP simulation and interface calling simulation tool to issue a simulation of a remote start air conditioner; 8:31-8:32: setting a vehicle-mounted communication unit simulation tool, and replying execution failure when receiving a remote air conditioner control instruction; setting the standard answer of the test case as 'execution failure'; 8:32: setting a vehicle control APP simulation and interface calling simulation tool to issue a simulation of a remote start air conditioner; 8:32-8:33: setting a vehicle-mounted communication unit simulation tool, and not replying when receiving a remote air conditioner control instruction; setting the standard answer of the test case as 'execution overtime'; 8:33: setting a vehicle control APP simulation and interface calling simulation tool to issue a simulation of a remote start air conditioner; 8:33-8:34: setting a vehicle-mounted communication unit simulation tool, and disconnecting the vehicle-mounted communication unit simulation tool from the cloud in the time period; setting the standard answer of the test case as 'vehicle is not on-line';
and when the preset time is reached, the execution is started:
executing the test instructions in sequence to compare the execution result with the standard answer, and if the execution result is consistent with the standard answer, the test case passes; if the execution result is inconsistent with the standard answer, automatically calling an operation and maintenance interface of the Internet of vehicles cloud platform, inquiring the working states of related micro-services, middleware, a database and a simulation tool, and searching error-reporting log information; sorting out a node list of problems and generating a reason analysis report; automatically alarming and informing operation and maintenance personnel of related services;
according to the embodiment of the invention, the complicated car networking link test work originally requiring a rack, a real car, a cloud application and a mobile phone APP is completely transferred to the cloud simulation, so that the efficiency is improved, and the cost is reduced; the stability monitoring is simulated based on the full-link function of the Internet of vehicles in a user use scene, and compared with the traditional method which only can carry out interface connectivity and micro-service operation state, the problem of Internet of vehicles cloud application can be better found; the error reason of the execution result of the simulation user operation behavior is automatically associated with the running states of the microservice, the middleware, the database and the like, so that the problem can be quickly positioned by operation and maintenance personnel.
In the technical solution of this embodiment, the monitoring system includes: on-vehicle communication unit simulation tool module, vehicle accuse APP simulation and interface call simulation tool module, the visual editing tool module of instruction execution sequence, analysis module and alarm module, on-vehicle communication unit simulation tool module includes: the system comprises a vehicle condition data simulation configuration unit, a vehicle cloud protocol encapsulation and analysis unit, an uplink and downlink message time sequence configuration unit and a cloud connection communication unit; the vehicle condition data simulation configuration unit is used for simulating vehicle condition message configuration and setting vehicle running state information of each time point according to time sequence and frequency; the vehicle cloud protocol encapsulation and analysis unit is used for encapsulating vehicle conditions, cloud request messages and cloud instruction reply messages into messages according to a vehicle cloud communication protocol and realizing protocol message analysis issued by a cloud end; the uplink and downlink message time sequence configuration unit is used for simulating a vehicle cloud protocol uplink message, and setting vehicle cloud protocol uplink message active reporting and downlink message reply of each time point and each time period according to time sequence and frequency; the cloud connection communication unit is used for simulating the vehicle-mounted communication terminal to establish connection with the cloud vehicle networking gateway according to a vehicle cloud protocol, a configuration connection address and authentication information so as to realize automatic high-frequency operation of each service of the vehicle networking at the cloud, judge an execution result, automatically analyze the reason of abnormal operation according to the execution result, find problems from the perspective of a user and quickly deal with the problems.
Claims (10)
1. A monitoring system, comprising: on-vehicle communication unit simulation tool module, vehicle accuse APP simulation and interface call simulation tool module, the visual editing tool module of instruction execution sequence, analysis module and alarm module, on-vehicle communication unit simulation tool module includes: the system comprises a vehicle condition data simulation configuration unit, a vehicle cloud protocol encapsulation and analysis unit, an uplink and downlink message time sequence configuration unit and a cloud connection communication unit;
the vehicle condition data simulation configuration unit is used for simulating vehicle condition message configuration and setting vehicle running state information of each time point according to time sequence and frequency;
the vehicle cloud protocol encapsulation and analysis unit is used for encapsulating vehicle conditions, cloud request messages and cloud instruction reply messages into messages according to a vehicle cloud communication protocol and realizing protocol message analysis issued by a cloud end;
the uplink and downlink message time sequence configuration unit is used for simulating a vehicle cloud protocol uplink message, and setting vehicle cloud protocol uplink message active reporting and downlink message reply of each time point and each time period according to time sequence and frequency;
the cloud connection communication unit is used for simulating the connection establishment between the vehicle-mounted communication terminal and the cloud vehicle networking gateway according to the vehicle cloud protocol, the configuration connection address and the authentication information.
2. The system of claim 1, wherein the on-board communications unit simulation tool module further comprises: a first external API interface unit;
the first external API interface unit is used for receiving a cloud request message and sending a response message to the cloud.
3. The system of claim 1, wherein the vehicle control APP simulation and interface call simulation tool module comprises: the device comprises an interface information configuration unit, an APP simulation login unit, an interface calling time sequence configuration unit and a simulation connection communication unit;
the interface information configuration unit is used for inputting a calling interface into a tool for simulation calling;
the APP analog login unit is used for realizing APP analog login by configuring user identity information and acquiring authentication information for interface calling;
the interface calling time sequence configuration unit is used for designing the APP interface calling time sequence of each function and configuring information in the calling interface;
the simulation connection communication unit is used for configuring a cloud connection address, APP authentication information and simulation mobile terminal information.
4. The system of claim 3, wherein the vehicle control APP simulation and interface call simulation tool module further comprises: a second external API interface unit;
the second external API interface unit is used for receiving a cloud request message and sending a response message to the cloud.
5. The system of claim 1, wherein the instruction execution sequence visualization editing tool module comprises: the system comprises a functional scene library unit, a sequence instruction editing unit, an execution plan setting unit, an execution state monitoring unit and an execution result output unit;
the function scene library unit is used for establishing a function scene library according to a car networking service scene and a user operation habit, and the function scene library comprises: remote vehicle control, vehicle condition query, user login, production line system, real sale system and full function script, and cloud micro service, database and middleware names related to each functional cloud link are recorded;
the sequence instruction editing unit is used for editing each function scene script, simulating each node of a car networking function execution link, and performing execution instruction interaction according to a preset time sequence in function execution;
the execution plan setting unit is used for designing an execution plan for simulating each functional scene;
the execution state monitoring unit is used for monitoring the execution condition of each plan;
the execution result output unit is used for outputting an execution result.
6. The system of claim 5, wherein the execution scenario comprises: in execution, not executed, execution completed, and execution failed.
7. The system of claim 1, wherein the analysis module comprises: the system comprises an execution result pulling unit, a related micro-service working state analysis unit, a related middleware working state analysis unit, a related database working state analysis unit and an interface analysis unit;
the execution result pulling unit is used for comparing an execution plan pulling execution result with an expected execution result and outputting an execution report;
the related micro-service working state analysis unit is used for inquiring the micro-service state related to the functional scene in the functional scene library in the vehicle networking platform and outputting a micro-service list with problematic operation and error log information;
the related middleware working state analysis unit is used for inquiring the middleware state related to the functional scene in the functional scene library in the Internet of vehicles platform and outputting a middleware list with problematic operation and error log information;
the relevant database working state analysis unit is used for inquiring the database state related to the functional scene in the functional scene library in the Internet of vehicles platform and outputting a database list with operation problems and error log information;
the interface analysis unit is used for analyzing interface calling results related to the functional scenes in the functional scene library and outputting an interface list with operation problems and error log information.
8. The system of claim 7, wherein the performing reporting comprises: the execution is at least one of consistent with the expected result, inconsistent with the expected result, and network anomaly.
9. The system of claim 1, wherein the alarm module comprises: the system comprises a function-associated personnel configuration unit, an execution result report analysis unit and an alarm notification issuing unit;
the function-related personnel configuration unit is used for configuring the contact ways of the micro-services, the middleware, the database and the specific responsible personnel of the service line related to each function scene;
the execution result report analysis unit is used for matching problem service with associated personnel by analyzing an execution report in a standard format;
the alarm notification issuing unit is used for pushing the problem report of analysis execution to related personnel.
10. The system of claim 1, wherein the vehicle operating state information comprises: at least one of vehicle speed, position, and gear.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011454572.9A CN112559289A (en) | 2020-12-10 | 2020-12-10 | Monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011454572.9A CN112559289A (en) | 2020-12-10 | 2020-12-10 | Monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112559289A true CN112559289A (en) | 2021-03-26 |
Family
ID=75061839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011454572.9A Pending CN112559289A (en) | 2020-12-10 | 2020-12-10 | Monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112559289A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115442767A (en) * | 2022-11-08 | 2022-12-06 | 上海银基信息安全技术股份有限公司 | Vehicle control event correlation method, device, system and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3002649A2 (en) * | 2014-10-01 | 2016-04-06 | Rockwell Automation Technologies, Inc. | Industrial simulation using redirected i/o module configurations |
CN108259253A (en) * | 2016-12-28 | 2018-07-06 | 深圳市蓝希领地科技有限公司 | A kind of test method, simulation car-mounted terminal and test system |
CN109740222A (en) * | 2018-12-25 | 2019-05-10 | 国汽(北京)智能网联汽车研究院有限公司 | A kind of test device and system for grid motor connectionization scene |
WO2019114732A1 (en) * | 2017-12-15 | 2019-06-20 | 蔚来汽车有限公司 | Method for remotely controlling vehicle on the basis of smart apparatus |
CN110189517A (en) * | 2019-05-14 | 2019-08-30 | 浙江大学 | A kind of Simulation Experimental Platform towards car networking secret protection research |
CN110618910A (en) * | 2019-08-27 | 2019-12-27 | 中国第一汽车股份有限公司 | Test system and method |
CN112019401A (en) * | 2020-08-13 | 2020-12-01 | 上海帆一尚行科技有限公司 | Internet of vehicles application safety testing method, device and system and electronic equipment |
-
2020
- 2020-12-10 CN CN202011454572.9A patent/CN112559289A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3002649A2 (en) * | 2014-10-01 | 2016-04-06 | Rockwell Automation Technologies, Inc. | Industrial simulation using redirected i/o module configurations |
CN108259253A (en) * | 2016-12-28 | 2018-07-06 | 深圳市蓝希领地科技有限公司 | A kind of test method, simulation car-mounted terminal and test system |
WO2019114732A1 (en) * | 2017-12-15 | 2019-06-20 | 蔚来汽车有限公司 | Method for remotely controlling vehicle on the basis of smart apparatus |
CN109740222A (en) * | 2018-12-25 | 2019-05-10 | 国汽(北京)智能网联汽车研究院有限公司 | A kind of test device and system for grid motor connectionization scene |
CN110189517A (en) * | 2019-05-14 | 2019-08-30 | 浙江大学 | A kind of Simulation Experimental Platform towards car networking secret protection research |
CN110618910A (en) * | 2019-08-27 | 2019-12-27 | 中国第一汽车股份有限公司 | Test system and method |
CN112019401A (en) * | 2020-08-13 | 2020-12-01 | 上海帆一尚行科技有限公司 | Internet of vehicles application safety testing method, device and system and electronic equipment |
Non-Patent Citations (3)
Title |
---|
DEUN-SOL CHO: "Autonomous Driving System Verfication Framework with FMI Co-Simulation based on OMG DDS", 《2020 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS》, 23 March 2020 (2020-03-23) * |
王维;徐中伟;: "一种BEPT仿真***的设计与实现", 计算机仿真, no. 02, 15 February 2008 (2008-02-15) * |
郑家波: "基于云平台的智能网联汽车软件测试技术研究", 《汽车电器》, 31 December 2018 (2018-12-31) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115442767A (en) * | 2022-11-08 | 2022-12-06 | 上海银基信息安全技术股份有限公司 | Vehicle control event correlation method, device, system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110928774B (en) | Automatic test system based on node type | |
US8737980B2 (en) | End to end application automatic testing | |
CN111190812B (en) | Automatic test framework system based on embedded equipment | |
US9075716B2 (en) | Remote issue logging and reporting of mobile station issues and diagnostic information to manufacturer | |
CN105867837A (en) | Method, equipment and system for updating configurations of clients in distributed high-speed cache systems | |
CN109324975B (en) | Continuous integration method based on mobile cloud measurement platform | |
US20060264241A1 (en) | Base station log collection device, method for collecting logs of base station and computer program product | |
CN110708216B (en) | Switch LLDP protocol test method and test system | |
CN113259409A (en) | T-box simulation test system applied to scene test of Internet of vehicles | |
CN113760730A (en) | Automatic testing method and device | |
CN115150377A (en) | Method and device for calling and processing simulation interface | |
CN113794602B (en) | Equipment testing method and device, terminal equipment and storage medium | |
CN112559289A (en) | Monitoring system | |
CN114257470A (en) | Vehicle Bluetooth function test system and test method | |
CN111224828A (en) | Network management method of intelligent CPE (customer premise equipment) | |
CN113285849B (en) | Equipment testing method and device based on micro-service | |
CN112118600B (en) | Flow traction system under 5G independent networking SA architecture | |
CN106161409A (en) | A kind of agent framework service system including local component and method | |
US7020249B1 (en) | Voice interface unit for line conditioner control | |
CN113377682A (en) | Service testing method and device | |
CN107872493A (en) | A kind of information processing method, terminal and server | |
CN114756478B (en) | SOA service automatic test method | |
CN111459752A (en) | Operation and maintenance method and device for working equipment, server and operation terminal | |
CN114374999B (en) | Test method, test device, electronic equipment and storage medium | |
CN113691593B (en) | Internet of things monitoring equipment and Internet of things monitoring method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |