An alarm method and system based on real-time monitoring of Internet of Vehicles services
By adopting a combination of business script module, timing scheduling module, message notification module and monitoring management module in the Internet of Vehicles system, real-time monitoring and alarm of Internet of Vehicles services is achieved, and the problem of business abnormalities affecting user experience is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202210668576.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2042-06-14
AI Technical Summary
The existing Internet of Vehicles system cannot effectively monitor and alarm in real time when business abnormalities occur, affecting the user experience.
Real-time monitoring and alarm methods based on Internet of Vehicles are adopted, including business script module, timing scheduling module, message notification module and monitoring management module, to simulate the user's real business process, monitor key business indicators in real time, and notify operation and maintenance personnel to deal with exceptions in the first time through instant communication tools.
Go deep into the Internet of Vehicles business layer, collect key business indicators in real time, alarm and solve abnormal problems as soon as possible, avoid user perception, and thus improve user experience.
Smart Images

Figure CN115102984B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle networking operation and maintenance technology, and in particular to an alarm method and system based on real-time monitoring of vehicle networking services. Background Art
[0002] The connotation of the Internet of Vehicles mainly refers to: the on-board equipment on the vehicle effectively utilizes all vehicle dynamic information in the information network platform through wireless communication technology, and provides different functional services during vehicle operation. It can be found that the Internet of Vehicles has the following characteristics: the Internet of Vehicles can provide protection for the distance between vehicles and reduce the probability of vehicle collision accidents; the Internet of Vehicles can help car owners navigate in real time, and improve the efficiency of traffic operation through communication with other vehicles and network systems.
[0003] The concept of Internet of Vehicles originates from the Internet of Things, namely the Internet of Vehicles. It takes moving vehicles as information perception objects and uses the new generation of information and communication technologies to achieve network connection between vehicles and X (i.e. vehicles, people, roads, and service platforms), improve the overall intelligent driving level of vehicles, and provide users with safe, comfortable, intelligent, and efficient driving experience and transportation services. At the same time, it improves traffic operation efficiency and enhances the intelligence level of social transportation services.
[0004] Through the new generation of information and communication technology, the Internet of Vehicles realizes all-round network connection between vehicles and cloud platforms, vehicles and vehicles, vehicles and roads, vehicles and people, and vehicles, mainly realizing the "three-network integration", that is, integrating the in-vehicle network, inter-vehicle network and in-vehicle mobile Internet. The Internet of Vehicles uses sensor technology to perceive the status information of vehicles, and uses wireless communication networks and modern intelligent information processing technologies to realize intelligent management of traffic, intelligent decision-making of traffic information services and intelligent control of vehicles.
[0005] The Internet of Vehicles business includes but is not limited to vehicle production, vehicle sales, operation support, and end-user support. Common problems currently include network fluctuations, limited bandwidth, insufficient resources, unstable middleware, abnormal virtual machines and containers, and business problems. Business problems include end-user login failures, user information acquisition failures, remote vehicle control failures, driving behavior data abnormalities, and remote charging failures.
[0006] The Internet of Vehicles system consists of the hardware layer, network layer, middleware layer, and application layer. At present, conventional monitoring tools mainly focus on software and hardware resources and system-level monitoring. When network fluctuations, insufficient resources, middleware restarts, and other problems occur, they can be captured and processed by monitoring network parameters, system resources, port status, etc. The application layer uses a microservice architecture, which uses a group of small services to build a function. Each function interacts through a lightweight API (such as the RESTFUL interface. RESTFUL is a design style and development method for network applications. It is based on HTTP and can be defined in XML format or JSON format. RESTFUL is suitable for scenarios where mobile Internet manufacturers use it as a business interface to realize the function of third-party OTT calling mobile network resources. The action type is to add, change, and delete the called resources). The interface parameters depend on the actual business, so general monitoring tools cannot cover the business level. Summary of the invention
[0007] The first object of the present invention is to provide an alarm method based on real-time monitoring of Internet of Vehicles services to solve the technical problem that occasional abnormalities in services affect user experience.
[0008] The first object of the present invention is achieved by adopting the following technical solution: an alarm method based on real-time monitoring of Internet of Vehicles services, comprising the following steps:
[0009] Establishing a business script module, wherein the business script module simulates the user's real business process according to the user's actual usage;
[0010] Establish a timing scheduling module, which configures the monitoring cycle according to the usage frequency of different services, realizes real-time monitoring of core services and periodic monitoring of key services;
[0011] Establish a message notification module, which is connected to the instant messaging tool. When a business abnormality occurs, the instant messaging tool is notified immediately, and the operation and maintenance personnel handle the business abnormality after receiving the message;
[0012] A monitoring management module is established, which integrates a business script module, a timing scheduling module and a message notification module to complete real-time monitoring based on the Internet of Vehicles business.
[0013] Furthermore, a business script module is established through an API interface testing tool, and the business script module simulates the user's real business process and includes the following steps:
[0014] S11: Login script, simulates input of user name, password, signature verification calculation, and sets assertion information;
[0015] S12: Obtain authentication credentials and user information, and save them to global variables;
[0016] S13: Read the global variable authentication credential information and user information, and after identity authentication, query the owner's license plate number, mobile phone number and vehicle location information, and check the availability of the API for obtaining the owner's information;
[0017] S14: Similarly, the business script module is used to simulate the user's real business operation functions, which include running remote control, message push and booking a ride, and evaluate the availability of related functions.
[0018] Furthermore, the assertion information includes response error and response timeout.
[0019] Furthermore, a timing scheduling module is established through continuous integration tools and timer plug-ins, including the following steps:
[0020] S21: The continuous integration tool configures the timer plug-in. After the configuration is successful, the continuous integration tool can choose the build mode when creating a task;
[0021] S22: Select scheduled build and configure the scheduled time.
[0022] Furthermore, the construction methods include remote construction method, post-project construction method, timed trigger construction method and rotation training SCM4 construction method.
[0023] Furthermore, a message notification module is established through a continuous integration tool and a message notification plug-in, including the following steps:
[0024] S31: Create a message notification template to display the message name, preview information, problem overview, success rate, request time, assertion result, request address, request data, and response data;
[0025] S32: Open the instant messaging tool and configure the communication method, authentication and security setting method;
[0026] S33: Select the monitoring report address link to enable preview of the report in the instant messaging tool;
[0027] S34: Configure operation and maintenance personnel to ensure that messages are delivered;
[0028] S35: Select a notification method to notify the operation and maintenance personnel.
[0029] Furthermore, the notification method includes a success notification method and an abnormal notification method.
[0030] Furthermore, a monitoring management module is established through a continuous integration tool, including the following steps:
[0031] S41: Create a monitoring task, including the task name and construction method;
[0032] S42: Create a trigger mode and select scheduled build;
[0033] S43: Select a business script and a business simulation script;
[0034] S44: Select notification report and set report analysis and notification rules;
[0035] S45: Configure instant messaging, select notification method and notification personnel;
[0036] S46: Run the monitoring task.
[0037] The second object of the present invention is to provide an alarm system based on real-time monitoring of Internet of Vehicles services to solve the technical problem of user experience being affected by occasional abnormalities in services.
[0038] The second object of the present invention is achieved through the following technical means: an alarm system based on real-time monitoring of Internet of Vehicles services, including a business script module, a timing scheduling module, a message notification module and a monitoring management module. The business script module simulates the user's real business process according to the user's actual usage. The timing scheduling module configures the monitoring cycle according to the usage frequency of different services to achieve real-time monitoring of core services and periodic monitoring of key services. The message notification module connects to instant messaging tools. When a business abnormality occurs, the instant messaging tool is notified at the first time. The operation and maintenance personnel handle the business abnormality after receiving the message. The monitoring management module integrates the business script module, the timing scheduling module and the message notification module to complete real-time monitoring based on Internet of Vehicles services.
[0039] The beneficial effects of the present invention are: going deep into the business layer of the Internet of Vehicles, simulating the user's actual usage process in real time, collecting key business indicators, and connecting instant messaging tools. When business abnormalities occur, the alarm can be issued and resolved in the first time to avoid user perception, thereby improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0041] Figure 1 It is a flow chart of the present invention;
[0042] Figure 2 is a system block diagram of the present invention;
[0043] Figure 3 It is the alarm flow chart of the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0046] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0047] Embodiment 1:
[0048] See also Figure 1 , an alarm method based on real-time monitoring of Internet of Vehicles services, comprising the following steps:
[0049] Establishing a business script module, wherein the business script module simulates the user's real business process according to the user's actual usage;
[0050] Establish a timing scheduling module, which configures the monitoring cycle according to the usage frequency of different services, realizes real-time monitoring of core services and periodic monitoring of key services;
[0051] Establish a message notification module, which is connected to the instant messaging tool. When a business abnormality occurs, the instant messaging tool is notified immediately, and the operation and maintenance personnel handle the business abnormality after receiving the message;
[0052] A monitoring management module is established, which integrates a business script module, a timing scheduling module and a message notification module to complete real-time monitoring based on the Internet of Vehicles business.
[0053] Furthermore, a business script module is established through an API interface testing tool, and the business script module simulates the user's real business process and includes the following steps:
[0054] S11: Login script. Write a login script based on the login API, simulate the input of user name, password, signature verification calculation, and set assertion information.
[0055] S12: After the login script is successfully executed, user-related information and authentication information will be returned. A script is written to obtain the authentication credentials and user information and save them to global variables.
[0056] S13: Write a script to obtain the owner information, read the global variable authentication credential information and user information, and after identity authentication, query the owner's license plate number, mobile phone number and vehicle location information, and check the availability of the API for obtaining the owner information;
[0057] S14: Similarly, the business script module is used to simulate the user's real business operation functions, which include running remote control, message push and booking a ride, and evaluate the availability of related functions.
[0058] In this embodiment, the assertion information includes response error and response timeout; further, the user's real business operation function, namely the Internet of Vehicles business, includes user management, user information, message center, vehicle center, safety protection, push service, ecological resources, driving behavior, remote vehicle control, car maintenance, appointment for boarding and violation inquiry, etc.
[0059] A script is an executable file written in a certain format using a specific descriptive language. Scripting language, also known as an extended language or a dynamic language, is a programming language used to control software applications. Scripts are usually saved as text (ASCII) and are only interpreted or compiled when called. When a script is executed, the computer performs a series of operations. These operations may only involve Illustrator, or they may involve other applications such as word processing, spreadsheets, and data management programs. Illustrator supports a variety of scripting environments (for example, Microsoft Visual Basic, AppleScript, and JavaScript, etc.), and contains standard script combinations. Users can also use their own scripts and add them to the "Script" submenu.
[0060] API (Application Programming Interface), also known as application programming interface, is the agreement for connecting different components of a software system. As the scale of software has become increasingly large in recent years, it is often necessary to divide complex systems into small components, and the design of programming interfaces is very important. In the practice of programming, the design of programming interfaces must first ensure that the responsibilities of the software system are reasonably divided. Good interface design can reduce the mutual dependence of various parts of the system, improve the cohesion of the components, and reduce the degree of coupling between the components, thereby improving the maintainability and scalability of the system.
[0061] In this embodiment, a timing scheduling module is established through a continuous integration tool and a timer plug-in, including the following steps:
[0062] S21: The continuous integration tool configures the timer plug-in. After the configuration is successful, the continuous integration tool can choose the build mode when creating a task;
[0063] S22: Select scheduled build and configure the scheduled time.
[0064] In this embodiment, the construction methods include remote construction method, post-project construction method, timed trigger construction method and polling SCM4 construction method.
[0065] In this embodiment, a message notification module is established through a continuous integration tool and a message notification plug-in, including the following steps:
[0066] S31: Write a script and create a message notification template to display the message name, preview information, problem overview, success rate, request time, assertion result, request address, request data, and response data;
[0067] S32: Open the instant messaging tool and configure the communication method, authentication and security setting method;
[0068] S33: Select the monitoring report address link to enable preview of the report in the instant messaging tool;
[0069] S34: Configure operation and maintenance personnel to ensure that messages are delivered;
[0070] S35: Select a notification method to notify the operation and maintenance personnel.
[0071] In this embodiment, the notification method includes a success notification method and an abnormality notification method.
[0072] In this embodiment, the monitoring management module is established through the continuous integration tool, including the following steps:
[0073] S41: Create a monitoring task, including the task name and construction method;
[0074] S42: Create a trigger mode and select scheduled build;
[0075] S43: Select a business script and a business simulation script;
[0076] S44: Select notification report and set report analysis and notification rules;
[0077] S45: Configure instant messaging, select notification method and notification personnel;
[0078] S46: Run the monitoring task.
[0079] Furthermore, the continuous integration tool used in the present invention can use Jenkins, which has the following features: supports massive node expansion and equally distributes workloads among nodes; can be easily updated on all platforms such as various versions of Linux, Mac OS or Windows; provides a simple installation package in WAR format, which can be imported into a JEE container to run the installation; can easily set up and configure Jenkins through a Web interface; can be easily distributed across machines. The continuous integration tool used in the present invention can also use Buddy, which has the following features: clear configuration, friendly interaction, 15-minute fast configuration; fast deployment based on changesets; supports all popular languages, frameworks and task managers; integrates with AWS, Google, DigitalOcean, Azure, Shopify, WordPress, etc.; supports parallel and YAML configuration. The continuous integration tool used in the present invention can also use Travis CI. Travis CI is a popular CI tool that can be used for open source projects for free. When hosted, it does not have to rely on any platform. This CI tool provides support for many build configurations and languages, such as Node, PHP, Python, Java, Perl, etc.; Travis CI has the following features: Travis uses virtual machines to build applications; can be notified through Slack, HipChat, email, etc.; allows parallel testing; supports Linux, Mac and iOS; powerful API and command line tools. The present invention preferably uses Travis CI.
[0080] See also Figure 2 An alarm system based on real-time monitoring of Internet of Vehicles services includes a business script module, a timing scheduling module, a message notification module and a monitoring management module. The business script module simulates the user's real business process according to the user's actual usage. The timing scheduling module configures the monitoring cycle according to the usage frequency of different services to achieve real-time monitoring of core services and periodic monitoring of key services. The message notification module connects to instant messaging tools. When a business abnormality occurs, the instant messaging tool is notified at the first time. After receiving the message, the operation and maintenance personnel handle the business abnormality problem. The monitoring management module integrates the business script module, the timing scheduling module and the message notification module to complete real-time monitoring of Internet of Vehicles services.
[0081] Furthermore, the business script module is used to obtain the Internet of Vehicles business of the contact users, and the contact users include B-end users and C-end users. The business script module also has basic capabilities: covering terminal user business and basic configuration, logs, microservices, databases, middleware and other Internet of Vehicles platforms.
[0082] See also Figure 3 The alarm process of the present invention is as follows: when an abnormality occurs in the Internet of Vehicles business (including user management, user information, message center, vehicle center, safety protection, push service, ecological resources, driving behavior, remote vehicle control, car maintenance, appointment boarding and violation inquiry, etc.), it is uploaded to the alarm system through the API interface. The alarm system simulates the user's actual usage process in real time, collects key business indicators, and connects instant messaging tools. When an abnormality occurs in the business, the alarm can be triggered and resolved in the first time to avoid user perception, thereby improving the user experience.
[0083] It should be noted that, for the above embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the present application.
[0084] The above embodiments describe the basic principles and main features of the present invention and the advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the changes and modifications made by those skilled in the art shall be within the scope of protection of the appended claims of the present invention without departing from the spirit and scope of the present invention.
Claims
1. An alarm method based on real-time monitoring of Internet of Vehicles services, characterized in that: The steps include: Establishing a business script module, wherein the business script module simulates the user's real business process according to the user's actual usage; establishing a business script module through an API interface testing tool, wherein the business script module simulates the user's real business process includes the following steps: S11: Login script, simulates input of user name, password, signature verification calculation, and sets assertion information; S12: Obtain authentication credentials and user information, and save them to global variables; S13: Read the global variable authentication credential information and user information, and after identity authentication, query the owner's license plate number, mobile phone number and vehicle location information, and check the availability of the API for obtaining the owner's information; S14: Similarly, the business script module is used to simulate the user's real business operation functions, where the user's real business operation functions include remote control, message push, and car booking, and the availability of related functions is evaluated; Establish a timing scheduling module, which configures the monitoring cycle according to the usage frequency of different services, realizes real-time monitoring of core services and periodic monitoring of key services; establishes the timing scheduling module through continuous integration tools and timer plug-ins, including the following steps: S21: The continuous integration tool configures the timer plug-in. After the configuration is successful, the continuous integration tool can choose the build mode when creating a task; S22: Select scheduled build and configure the scheduled time; Establish a message notification module, which is connected to the instant messaging tool. When a business abnormality occurs, the instant messaging tool is notified immediately. After receiving the message, the operation and maintenance personnel handle the business abnormality problem. Establishing the message notification module through the continuous integration tool and the message notification plug-in includes the following steps: S31: Create a message notification template to display the message name, preview information, problem overview, success rate, request time, assertion result, request address, request data, and response data; S32: Open the instant messaging tool and configure the communication method, authentication and security setting method; S33: Select the monitoring report address link to enable preview of the report in the instant messaging tool; S34: Configure operation and maintenance personnel to ensure that messages are delivered; S35: Select a notification method to notify the operation and maintenance personnel; Establish a monitoring management module, which integrates the business script module, the timing scheduling module and the message notification module to complete the real-time monitoring of the Internet of Vehicles business; establish the monitoring management module through the continuous integration tool, including the following steps: S41: Create a monitoring task, including the task name and construction method; S42: Create a trigger mode and select scheduled build; S43: Select a business script and a business simulation script; S44: Select notification report and set report analysis and notification rules; S45: Configure instant messaging, select notification method and notification personnel; S46: Run the monitoring task.
2. The alarm method based on real-time monitoring of Internet of Vehicles services as claimed in claim 1, characterized in that: The assertion information includes response error and response timeout.
3. The alarm method based on real-time monitoring of Internet of Vehicles services as claimed in claim 1, characterized in that: The construction methods include remote construction method, post-project construction method, timed trigger construction method and rotation training SCM4 construction method.
4. The alarm method based on real-time monitoring of Internet of Vehicles services as claimed in claim 1, characterized in that: The notification method includes a success notification method and an abnormal notification method.
5. An alarm system based on real-time monitoring of Internet of Vehicles services, used to implement an alarm method based on real-time monitoring of Internet of Vehicles services as described in any one of claims 1 to 4, characterized in that: It includes a business script module, a timing scheduling module, a message notification module and a monitoring management module. The business script module simulates the user's real business process according to the user's actual usage. The timing scheduling module configures the monitoring cycle according to the usage frequency of different businesses to achieve real-time monitoring of core businesses and periodic monitoring of key businesses. The message notification module connects to instant messaging tools. When business abnormalities occur, the instant messaging tools are notified at the first time. The operation and maintenance personnel handle the business abnormalities after receiving the message. The monitoring management module integrates the business script module, the timing scheduling module and the message notification module to complete real-time monitoring of Internet of Vehicles-based businesses.
Citation Information
Patent Citations
Monitoring system
CN112559289A