CN115297099A - 4G/5G remote monitoring terminal T-Box monitoring server system and method - Google Patents
4G/5G remote monitoring terminal T-Box monitoring server system and method Download PDFInfo
- Publication number
- CN115297099A CN115297099A CN202210693194.2A CN202210693194A CN115297099A CN 115297099 A CN115297099 A CN 115297099A CN 202210693194 A CN202210693194 A CN 202210693194A CN 115297099 A CN115297099 A CN 115297099A
- Authority
- CN
- China
- Prior art keywords
- data
- box
- server
- module
- database
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Selective Calling Equipment (AREA)
Abstract
The T-Box is a hardware device connected to the vehicle, reads and analyzes vehicle-mounted data through a CAN interface, uploads a platform, is analyzed and processed by the platform, and is stored in a database for later analysis. Based on the problems that the number of terminals is large, the acquired data is huge, the database storage is slow, the system cannot respond directly in serious cases, and the service cannot be provided for users, the invention provides a 4G/5G remote monitoring terminal T-Box monitoring server, system and method.
Description
Technical Field
The invention relates to the technical field of multi-level cache, in particular to a T-Box monitoring server, a system and a method for a 4G/5G remote monitoring terminal.
Background
The T-BOX serves as a wireless gateway, provides a remote communication interface for the whole vehicle through functions of 4G remote wireless communication, GPS satellite positioning, acceleration sensing, CAN communication and the like, and provides services including vehicle data acquisition, vehicle track recording, vehicle fault monitoring, vehicle remote inquiry and control (locking and unlocking, air conditioner control, vehicle window control, transmitter torque limitation, engine starting and stopping), driving behavior analysis, 4G wireless hotspot sharing and the like.
The T-Box is a hardware device connected to the vehicle, reads and analyzes vehicle-mounted data through a CAN interface, uploads the vehicle-mounted data to the platform, is analyzed and processed by the platform, and is stored in a database for later analysis. Based on the problems that the number of terminals is large, the acquired data is huge, the storage of a database is slow, the system cannot respond directly in severe cases, and the service cannot be provided for users, the invention provides the 4G/5G remote monitoring terminal T-Box monitoring server, the system and the method.
Disclosure of Invention
In order to overcome the technical problem, the invention provides a 4G/5G remote monitoring terminal T-Box monitoring server, a system and a method.
The T-Box is a hardware device connected to the vehicle, reads and analyzes vehicle-mounted data through a CAN interface, uploads a platform, is analyzed and processed by the platform, and is stored in a database for later analysis. Based on the problems that the number of terminals is large, the acquired data is huge, the database storage is slow, the system cannot respond directly in serious cases, and the service cannot be provided for users, the invention provides a 4G/5G remote monitoring terminal T-Box monitoring server, system and method.
The invention provides a 4G/5G remote monitoring terminal T-Box monitoring server, a system and a method, comprising a data storage module, a cache database and a database, wherein the data storage module, the cache database and the database are electrically connected with each other;
the message server is an ActiveMQ message server;
a multi-level caching technique is applied.
Preferably, the system comprises a communication gateway module, wherein the communication gateway module uses 4G or 5G network communication, and the communication gateway module is electrically connected with the message server.
Preferably, a data analysis module is included.
Preferably, the system comprises a management background module and a front-end interaction display module.
Preferably, the method comprises the following steps:
step S10: beginning at the T-BOX terminal;
step S11: the T-BOX collects vehicle data;
step S12: the T-BOX packs the data according to a designed protocol format and sends the data to the T-Box monitoring server of the 4G/5G remote monitoring terminal in a 4G/5G form;
step S13: the communication gateway module analyzes the protocol message, acquires data and verifies whether the data needs to be processed, if the data needs to be processed, the data is transmitted to the message server for distribution, and if the data does not need to be processed, the data is discarded;
step S14: the message server sends data to the data analysis module;
step S15: the data analysis module judges whether the analysis triggers an alarm or not;
step S151: if the data triggers the alarm, generating an alarm message and sending the alarm message to the message server, and enabling the message server to distribute to other required services;
step S152: if the data does not trigger the alarm, sending the obtained result data to the data storage module, and storing the data into the cache database by the data storage module;
step S16: and the data storage module reads and stores the data in the cache database to the database according to rules.
Preferably, the method further comprises the following steps:
step S20: starting a user side;
step S21: the front end initiates an interface request;
step S22: the management background module judges whether the user has the authority, and if the user does not have the authority, the operation is finished; if the user has the authority, calling a service processing module;
step S23: calling a data query processing module to acquire related data from the cache database and the database;
step S24: and returning the data to the front end for displaying.
Compared with the prior art, the T-Box monitoring server, the system and the method for the 4G/5G remote monitoring terminal have the following advantages:
after receiving and analyzing terminal data, the communication gateway module sends the data object to the message server, the data storage module receives the data object from the message server, caches the dynamic data by using a cache database, and archives the data object by taking the terminal number + hour as a unit; meanwhile, the data storage service has a storage timing task, whether a cache exceeding 3 hours exists in the cache database is checked every 10 minutes, if yes, the cache database is read out from the cache database, a batch storage script is generated, the database is called in batches for storage, the connection and access frequency of the database are reduced through a batch storage mode, the database pressure is reduced, and the aim of normal operation of the system can be achieved.
Drawings
FIG. 1 is a system schematic flow chart of a 4G/5G remote monitoring terminal T-Box monitoring server, system and method provided by the invention;
fig. 2 is a flowchart illustrating the operation principle of the user side of the 4G/5G remote monitoring terminal T-Box monitoring server, system and method provided by the present invention.
Description of reference numerals:
1. a communication gateway module; 2. a message server; 3. a data analysis module; 4. a data storage module; 5. caching a database; 6. a database; 7. a management background module; 8. a front-end interactive display module; 9. A T-BOX terminal; 91. T-BOX terminal display screen; 10. a user side; 11. a service processing module; 12. And a data query processing module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for purposes of illustration only.
Referring to fig. 1 to 2 in an integrated manner, the invention provides a 4G/5G remote monitoring terminal T-Box monitoring server, a system and a method, which includes a communication gateway module (1), a message server (2), a data analysis module (3), a data storage module (4), a cache database (5), a database (6), a management background module (7), a front-end interaction display module (8), a T-Box terminal (9), a T-Box terminal display screen (91), a user side (10), a service processing module (11) and a data query processing module (12).
Furthermore, the T-BOX terminal (9) starts to work to collect vehicle data, the T-BOX terminal (9) is connected to the CAN bus through an interface to collect vehicle information, vehicle controller information, motor controller information, battery management system BMS, vehicle-mounted charger and other data and display the data on the T-BOX terminal display screen (91), and a user has a uniform control interface and information feedback, so that the user experience CAN be improved practically.
Further, after the T-BOX terminal (9) finishes the data acquisition of the whole vehicle, the data is packed according to a designed protocol format and is sent to a receiving terminal of the communication gateway module (1) of the 4G/5G remote monitoring terminal T-Box monitoring server through a 4G/5G network.
Further, the protocol format of data packed and sent from the T-BOX terminal (9) corresponds to the format analyzed by the receiving end of the communication gateway module (1).
Further, after receiving the data, the communication gateway module (1) analyzes the protocol message for the data, verifies whether the data needs to be processed, transmits the data to the message server (2) for distribution if the data needs to be processed, and discards the data if the data does not need to be processed.
Further, the message server (2) sends data to the data analysis module (3), the data analysis module (3) judges whether the data triggers an alarm or not, if the data triggers the alarm, an alarm message is generated and sent to the message server (3), the message server (3) is enabled to distribute to other required services, if the data does not trigger the alarm, the obtained result data is sent to the data storage module (4), and the data storage module (4) stores the data in the cache database (5) firstly.
Further, the Message server (2) adopts ActiveMQ which can well run on any JVM, not just integrated into JBoss application server, and supports a large number of cross-language clients, different protocol types and advanced functions such as Message Groups, exclusive Consumer and Composite Destinations.
Further, the data storage module (3) receives data objects from a message server, the cache database (5) is used for caching dynamic data, the dynamic data are filed in a unit of 'terminal number + hour', meanwhile, the data storage service has a storage timing task, for example, whether a cache exceeding 3 hours exists in the cache database is checked every 10 minutes, if the cache exists, the data storage module (4) reads the data objects from the cache database (5), a batch storage script is generated, the data objects are called to the database (6) in a batch mode for storage, the connection and access frequency of the database (6) are reduced through a multi-level cache mode of time division and multiple batch, the pressure of the database (6) is reduced, and the aim of normal operation of a system can be achieved.
Further, the database (6) is MySQL, which implements the SQL function library via a highly optimized class library and supports aggregated functions as fast as they can, mixing tables from different databases in the same query.
Furthermore, the cache database (5) is Redis, the Redis supports various data types, and the cache database has good persistent storage and read-write performance.
Further, a user CAN realize remote inquiry and control of a vehicle through a mobile phone APP, for example, oil does not exist in a vehicle oil tank, a vehicle window and a vehicle door are not firmly closed, the battery power is not enough, the vehicle CAN run for a long time and the like, a vehicle door switch, a whistle flashing lamp, an air conditioner, an engine is started, vehicle positioning and the like CAN be controlled, the user sends an instruction through the APP, the management background module (7) verifies and judges whether the user has permission, if the user does not have permission, the operation is finished, if the user has permission, the service processing module (11) is called, the data inquiry processing module (12) is called to obtain relevant data or relevant operation instructions from the database (6), and the T-BOX terminal (9) sends a control message through a CAN bus and realizes inquiry and control of the vehicle, and finally feeds back an operation result to the mobile phone APP of the user.
Further, the 4G/5G remote monitoring terminal T-Box monitoring server method comprises the following steps:
step S10: -said T-BOX terminal (9) starts;
step S11: the T-BOX terminal (9) collects vehicle data;
step S12: the T-BOX terminal (9) packs data according to a designed protocol format and sends the data to the 4G/5G remote monitoring terminal T-Box monitoring server in a 4G/5G form;
step S13: the communication gateway module (1) analyzes the protocol message, acquires data and verifies whether the data needs to be processed, if the data needs to be processed, the data is transmitted to the message server (2) for distribution, and if the data does not need to be processed, the data is discarded;
step S14: the message server (2) sends data to the data analysis module (3);
step S15: the data analysis module (3) judges whether the analysis triggers the alarm or not;
step S151: if the data triggers the alarm, generating an alarm message and sending the alarm message to the message server (3) so that the message server (3) distributes the alarm message to other required services;
step S152: if the data does not trigger the alarm, sending the obtained result data to the data storage module (4), and storing the data into the cache database (5) by the data storage module (4);
step S16: and the data storage module (4) reads the data in the cache database (5) and stores the data in the database (6) according to rules.
Further, the 4G/5G remote monitoring terminal T-Box monitoring server method further comprises the following steps:
step S20: starting a user side;
step S21: the front end initiates an interface request;
step S22: the management background module (7) judges whether the user has the authority, and if the user does not have the authority, the operation is finished; if the user has the authority, calling the service processing module (11);
step S23: calling the data query processing module (12) to acquire related data from the cache database (5) and the database (6);
step S24: and returning the data to the front end for displaying.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents and improvements made within the spirit of the present invention should be included in the scope of the present invention.
Claims (6)
1. A4G/5G remote monitoring terminal T-Box monitoring server, system and method are characterized in that: the system comprises a data storage module, a cache database and a database, wherein the data storage module, the cache database and the database are electrically connected with each other;
the message server is an ActiveMQ message server;
a multi-level caching technique is applied.
2. The server, the system and the method for monitoring the T-Box of the 4G/5G remote monitoring terminal according to claim 1 are characterized in that: the communication gateway module uses 4G or 5G network communication and is electrically connected with the message server.
3. The server, the system and the method for monitoring the T-Box of the 4G/5G remote monitoring terminal according to claim 1 are characterized in that: including a data analysis module.
4. The server, the system and the method for monitoring the T-Box of the 4G/5G remote monitoring terminal according to claim 1 are characterized in that: the system comprises a management background module and a front-end interactive display module.
5. The server, the system and the method for monitoring the T-Box of the 4G/5G remote monitoring terminal according to claim 1 are characterized in that: the method comprises the following steps:
step S10: beginning at the T-BOX terminal;
step S11: the T-BOX collects vehicle data;
step S12: the T-BOX packs the data according to a designed protocol format and sends the data to the T-Box monitoring server of the 4G/5G remote monitoring terminal in a 4G/5G form;
step S13: the communication gateway module analyzes the protocol message, acquires data and verifies whether the data needs to be processed, if the data needs to be processed, the data is transmitted to the message server for distribution, and if the data does not need to be processed, the data is discarded;
step S14: the message server sends data to the data analysis module;
step S15: the data analysis module judges whether the analysis triggers an alarm or not;
step S151: if the data triggers the alarm, generating an alarm message and sending the alarm message to the message server, and enabling the message server to distribute to other required services;
step S152: if the data does not trigger the alarm, sending the obtained result data to the data storage module, and storing the data into the cache database by the data storage module;
step S16: and the data storage module reads and stores the data in the cache database to the database according to rules.
6. The server, the system and the method for monitoring the T-Box of the 4G/5G remote monitoring terminal according to claim 1 are characterized in that: further comprising the steps of:
step S20: starting a user side;
step S21: the front end initiates an interface request;
step S22: the management background module judges whether the user has the authority, and if the user does not have the authority, the operation is finished; if the user has the authority, calling a service processing module;
step S23: calling a data query processing module to acquire related data from the cache database and the database;
step S24: and returning the data to the front end for displaying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210693194.2A CN115297099A (en) | 2022-06-17 | 2022-06-17 | 4G/5G remote monitoring terminal T-Box monitoring server system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210693194.2A CN115297099A (en) | 2022-06-17 | 2022-06-17 | 4G/5G remote monitoring terminal T-Box monitoring server system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115297099A true CN115297099A (en) | 2022-11-04 |
Family
ID=83820573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210693194.2A Pending CN115297099A (en) | 2022-06-17 | 2022-06-17 | 4G/5G remote monitoring terminal T-Box monitoring server system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115297099A (en) |
-
2022
- 2022-06-17 CN CN202210693194.2A patent/CN115297099A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108279383B (en) | Battery life prediction method, battery data server and battery data processing system | |
CN108011904B (en) | Information sending method, receiving method, device and information receiving and sending system | |
US11800332B2 (en) | System and method for managing a fleet of vehicles including electric vehicles | |
US20050131595A1 (en) | Enhanced vehicle event information | |
CN102915374B (en) | A kind of method, Apparatus and system of resource access of controlling database | |
US20040054444A1 (en) | Method of uploading data from a vehicle | |
US10298492B2 (en) | System and method for interworking between vehicle controller and external resource | |
US20060247833A1 (en) | System and method for remote acquisition of automotive data from a vehicle | |
WO2004017646A2 (en) | Wireless area network device positioning | |
EP3680831A1 (en) | Method for collecting and managing event data of a vehicle | |
CN203870689U (en) | Monitoring system on basis of Beidou positioning system for internet of vehicles | |
US20060217935A1 (en) | Vehicle component usage monitor | |
KR20110071788A (en) | Method for vehicle information transmission | |
CN105096645A (en) | Vehicle-mounted positioning system | |
EP4346187A1 (en) | Ota upgrade method and device, and computer-readable storage medium | |
CN112100510A (en) | Mass data query method and device based on Internet of vehicles platform | |
CN108924222B (en) | Cloud server in Internet of vehicles and communication method | |
CN110535892A (en) | Rail transportation vehicle-mounted data high speed dump system, method and state monitoring method | |
CN103685411A (en) | Data sharing method and device in heterogeneous network | |
CN113645287A (en) | Automobile message storage method and device and automobile message storage system | |
CN115297099A (en) | 4G/5G remote monitoring terminal T-Box monitoring server system and method | |
CN106331111B (en) | Vehicle is in way method for managing and monitoring | |
CN111209054A (en) | Configuration method of terminal equipment, terminal management equipment and electronic equipment | |
CN113452793B (en) | Diagnostic service processing method and device, vehicle-mounted terminal and medium | |
KR101853478B1 (en) | SYSTEM FOR CONTROLLING ENGINE STOP AND GO BASED ON IoT DEVICE |
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 |