CN115459976A - MQTT-based vehicle information monitoring and management method and system - Google Patents

MQTT-based vehicle information monitoring and management method and system Download PDF

Info

Publication number
CN115459976A
CN115459976A CN202211051650.XA CN202211051650A CN115459976A CN 115459976 A CN115459976 A CN 115459976A CN 202211051650 A CN202211051650 A CN 202211051650A CN 115459976 A CN115459976 A CN 115459976A
Authority
CN
China
Prior art keywords
vehicle
data
cloud system
mqtt
mounted terminal
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
Application number
CN202211051650.XA
Other languages
Chinese (zh)
Inventor
高方泽
王宇扬
阳雨
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211051650.XA priority Critical patent/CN115459976A/en
Publication of CN115459976A publication Critical patent/CN115459976A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a vehicle information monitoring and management method and system based on MQTT, wherein the method comprises the following steps: the vehicle-mounted terminal establishes communication connection with the cloud system by adopting an MQTT transmission protocol; the vehicle-mounted terminal collects vehicle data and uploads the vehicle data to a cloud system; and after the cloud system acquires the vehicle data, dividing different data, and storing the divided data into a corresponding database or folder for a developer to acquire in real time. According to the invention, the communication connection between the vehicle-mounted terminal and the cloud system is established by adopting the MQTT transmission protocol, so that compared with the TCP/IP transmission protocol adopted in the prior art, the data transmission efficiency is effectively improved, the message reliability is ensured, and the vehicle safety is further improved. On the other hand, the acquired vehicle data is divided by the cloud system and is acquired and used by the developer in real time, so that the developer can conveniently monitor and manage the vehicle information, and the safety and the reliability of the vehicle are further improved.

Description

MQTT-based vehicle information monitoring and management method and system
Technical Field
The invention belongs to the field of automobile data transmission, and particularly relates to a vehicle information monitoring and management method and system based on MQTT.
Background
With the high-speed development of science and technology, the development and the gradual acceleration of pure electric vehicles, new energy vehicles and unmanned driving technologies in China also emerge endlessly. The development and use of these new automotive technologies is not without strong data support behind them, and therefore there are a large number of sensors in the body and vehicle interior for collecting data. The acquired data can be used by subsequent developers or application programs only by being uploaded in time, and the existing vehicle acquisition system generally adopts a TCP/IP protocol for uploading. However, the bandwidth and performance of the vehicle-mounted terminal are very limited, so that the transmission efficiency is not very high, and the reliability of the message cannot be guaranteed.
Disclosure of Invention
The purpose of the invention is: the MQTT-based vehicle information monitoring and management method and system can improve the vehicle-mounted data transmission efficiency and improve the message reliability.
In order to achieve the purpose, the invention adopts the following technical scheme: a vehicle information monitoring and management method based on MQTT is characterized by comprising the following steps:
the vehicle-mounted terminal establishes communication connection with the cloud system by adopting an MQTT transmission protocol;
the vehicle-mounted terminal collects vehicle data and uploads the vehicle data to a cloud system;
and after the cloud system acquires the vehicle data, dividing different data, and storing the divided data into a corresponding database or folder for a developer to acquire in real time.
Further, the method comprises:
each of the vehicles has a uniquely assigned subject name;
and the cloud system identifies and bidirectionally authenticates the vehicle-mounted terminal through the subject name.
Further, after the cloud system acquires the vehicle data, the method comprises the following steps:
the cloud system performs visual processing on the vehicle data;
the visualization process includes:
according to the requirements, the maximum value, the minimum value, the mean square error and the standard deviation of various data can be counted to obtain different data of the same vehicle;
and counting the same type of data of different vehicles, and dynamically presenting the counted data in a graph mode.
Further, the method comprises:
and if dirty data or incomplete data exist, the cloud system requests the vehicle-mounted terminal to resend the data.
Further, the method comprises:
after receiving the complete data, the cloud system locally prints a log and records the log into a database.
A vehicle information monitoring management system based on MQTT adopts the vehicle information monitoring management method, and the system comprises:
the vehicle-mounted terminal: for collecting vehicle data; the vehicle data are sent to a cloud system;
cloud system: the vehicle data processing device is used for receiving the vehicle data and processing the vehicle data;
and the vehicle-mounted terminal establishes communication connection with the cloud system through an MQTT transmission protocol.
Further, the system comprises:
the vehicle-mounted terminal is internally provided with an acquisition module T-box; the acquisition module T-box acquires automobile bus data.
Further, the system comprises:
the cloud system is provided with a terminal interface for subscribing data transmission service of the vehicle-mounted terminal.
Further, the system comprises:
the cloud system is provided with data ports for developers and users to use data.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, the communication connection between the vehicle-mounted terminal and the cloud system is established by adopting the MQTT transmission protocol, so that compared with the TCP/IP transmission protocol adopted in the prior art, the data transmission efficiency is effectively improved, the message reliability is ensured, and the vehicle safety is further improved. On the other hand, the acquired vehicle data is divided by the cloud system and is acquired and used by the developer in real time, so that the developer can conveniently monitor and manage the vehicle information, and the safety and the reliability of the vehicle are further improved.
Drawings
The invention is further illustrated by the non-limiting examples given in the accompanying drawings;
FIG. 1 is a construction diagram of a vehicle information monitoring and management system based on MQTT of the present invention;
FIG. 2 is a flow chart of a vehicle information monitoring and management method based on MQTT of the present invention;
FIG. 3 is a flow chart of data processing of a cloud-end system in the MQTT-based vehicle information monitoring and management method of the present invention;
Detailed Description
The present invention will be described in detail with reference to the drawings and specific embodiments, wherein like reference numerals are used for similar or identical parts in the drawings or the description, and implementations not shown or described in the drawings are known to those of ordinary skill in the art.
Referring to fig. 1-3, the invention provides a vehicle information monitoring and management method based on MQTT, which comprises the following steps:
the vehicle-mounted terminal establishes communication connection with the cloud system by adopting an MQTT transmission protocol;
the vehicle-mounted terminal collects vehicle data and uploads the vehicle data to a cloud system;
and after the cloud system acquires the vehicle data, dividing different data, and storing the divided data into a corresponding database or folder for a developer to acquire in real time.
According to the invention, the communication connection between the vehicle-mounted terminal and the cloud system is established by adopting the MQTT transmission protocol, so that compared with the TCP/IP transmission protocol adopted in the prior art, the data transmission efficiency is effectively improved, the message reliability is ensured, and the vehicle safety is further improved. On the other hand, the acquired vehicle data is divided by the cloud system and is acquired and used by the developer in real time, so that the developer can conveniently monitor and manage the vehicle information, and the safety and the reliability of the vehicle are further improved.
In some embodiments, the method comprises:
each of the vehicles has a uniquely assigned subject name;
and the cloud system identifies and bidirectionally authenticates the vehicle-mounted terminal through the subject name.
Because each vehicle has the uniquely-assigned subject name, before the vehicle-mounted terminal is in communication connection with the cloud system, the cloud system can formally communicate with the vehicle-mounted terminal after confirming that the vehicle-mounted terminal is correct by performing two-way identification on the uniquely-assigned subject name of the vehicle, so that the safety and the reliability of vehicle-mounted data transmission are further improved. The system identifies through specific characters or specified subject names, which is the prior art and is not described herein.
In some embodiments, after the cloud system obtains the vehicle data, the method includes:
the cloud system performs visual processing on the vehicle data;
the visualization process includes:
according to the requirements, the maximum value, the minimum value, the mean square error and the standard deviation of various data can be counted to obtain different data of the same vehicle;
and counting the same type of data of different vehicles, and dynamically presenting the counted data in a graphic mode.
Since the vehicle data is finally used by the developer or the user, in the embodiment, the cloud system clearly and effectively displays relatively complex and non-intuitive data by using a chart and a graphical means, so that the data interpretation threshold is reduced, and the use of the developer or the user is facilitated.
In some embodiments, the method comprises:
and if dirty data or incomplete data exist, the cloud system requests the vehicle-mounted terminal to resend the data.
After the cloud system acquires the vehicle data, data detection is performed firstly, so that whether dirty data or incomplete data exist in the data is judged, if yes, the acquired data is different from real data, and if data analysis is performed directly, the obtained result is deviated from the actual situation. Therefore, at the moment, the cloud system can request the vehicle-mounted terminal to resend the data, so that the obtained data analysis result is closer to the actual situation, and the reliability of vehicle-mounted data transmission is further improved.
In some embodiments, the method comprises:
after receiving the complete data, the cloud system locally prints a log and records the log into a database.
Here, the effect of log is that all received complete vehicle data of record, prevents that the database fault from taking place the back, can in time resume the database, has further promoted on-vehicle data transmission's reliability and security, makes things convenient for follow-up development to maintain.
The invention also provides a vehicle information monitoring and management system based on MQTT, which adopts the vehicle information monitoring and management method, and the system comprises the following steps:
the vehicle-mounted terminal: for collecting vehicle data; the vehicle data are sent to a cloud system;
cloud system: the vehicle data processing device is used for receiving the vehicle data and processing the vehicle data;
and the vehicle-mounted terminal establishes communication connection with the cloud system through an MQTT transmission protocol.
Wherein, MQTT: MQTT (Message Queuing Telemetry Transport), a Message queue Telemetry Transport protocol, is a lightweight protocol based on publish/subscribe mode, which is built on top of TCP/IP protocol, and has the greatest advantage of providing real-time and reliable Message service for connected devices with very few codes and limited bandwidth.
The vehicle-mounted terminal is mainly responsible for collecting the relative bus data of the vehicle buses Dcan, kcan and PTcan and the reverse control of a private protocol, providing vehicle condition reports, driving reports, fuel consumption statistics and other vehicle-related data and uploading the data to the cloud platform through an MQTT protocol.
Cloud system: the vehicle information data uploaded by the vehicle-mounted terminal is received, the processing capacity of the information data is provided, the visualized embodiment of the data information can be realized, and the collected data is conveniently stored and transmitted to other users and developers.
In some embodiments, the system comprises:
the vehicle-mounted terminal is internally provided with an acquisition module T-box; the acquisition module T-box acquires automobile bus data.
In some embodiments, the system comprises:
the cloud system is provided with a terminal interface for subscribing data transmission service of the vehicle-mounted terminal.
In some embodiments, the system comprises:
the cloud system is provided with data ports for developers and users to use data.
When the vehicle data analysis system is used, a developer and a user can use the data port to quickly obtain vehicle data, and the developer and the user can conveniently analyze the vehicle data.
The vehicle information monitoring and management method and system based on the MQTT provided by the invention are described in detail above. The description of the specific embodiments is only intended to facilitate an understanding of the method of the invention and its core ideas. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (9)

1. A vehicle information monitoring and management method based on MQTT is characterized by comprising the following steps:
the vehicle-mounted terminal establishes communication connection with a cloud system by adopting an MQTT transmission protocol;
the vehicle-mounted terminal collects vehicle data and uploads the vehicle data to a cloud system;
and after the cloud system acquires the vehicle data, dividing different data, and storing the divided data into a corresponding database or folder for a developer to acquire in real time.
2. The MQTT-based vehicle information monitoring and management method according to claim 1, wherein the method comprises the following steps:
each of the vehicles has a uniquely assigned subject name;
and the cloud system identifies and bidirectionally authenticates the vehicle-mounted terminal through the subject name.
3. The MQTT-based vehicle information monitoring and management method of claim 2, wherein after the cloud system acquires the vehicle data, the method comprises the following steps:
the cloud system performs visual processing on the vehicle data;
the visualization process includes:
according to the requirements, the maximum value, the minimum value, the mean square error and the standard deviation of various data can be counted to obtain different data of the same vehicle;
and counting the same type of data of different vehicles, and dynamically presenting the counted data in a graphic mode.
4. The MQTT-based vehicle information monitoring and management method according to claim 1, wherein the method comprises the following steps:
and if dirty data or incomplete data exist, the cloud system requests the vehicle-mounted terminal to resend the data.
5. The MQTT-based vehicle information monitoring and management method according to claim 4, wherein the method comprises the following steps:
after receiving the complete data, the cloud system locally prints a log and records the log into a database.
6. An MQTT-based vehicle information monitoring and management system adopting the vehicle information monitoring and management method of any one of the claims 1-5, which is characterized by comprising the following steps:
the vehicle-mounted terminal: for collecting vehicle data; the vehicle data are sent to a cloud system;
cloud system: the vehicle data processing device is used for receiving the vehicle data and processing the vehicle data;
and the vehicle-mounted terminal establishes communication connection with the cloud system through an MQTT transmission protocol.
7. The MQTT-based vehicle information monitoring and management system of claim 6, wherein the system comprises:
an acquisition module T-box (explained in the embodiment) is arranged in the vehicle-mounted terminal; the acquisition module T-box acquires automobile bus data.
8. The MQTT-based vehicle information monitoring and management system of claim 4, wherein the system comprises:
the cloud system is provided with a terminal interface for subscribing data transmission service of the vehicle-mounted terminal.
9. The MQTT-based vehicle information monitoring and management system of claim 6, wherein the system comprises:
the cloud system is provided with data ports for developers and users to use data.
CN202211051650.XA 2022-08-31 2022-08-31 MQTT-based vehicle information monitoring and management method and system Pending CN115459976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211051650.XA CN115459976A (en) 2022-08-31 2022-08-31 MQTT-based vehicle information monitoring and management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211051650.XA CN115459976A (en) 2022-08-31 2022-08-31 MQTT-based vehicle information monitoring and management method and system

Publications (1)

Publication Number Publication Date
CN115459976A true CN115459976A (en) 2022-12-09

Family

ID=84299942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211051650.XA Pending CN115459976A (en) 2022-08-31 2022-08-31 MQTT-based vehicle information monitoring and management method and system

Country Status (1)

Country Link
CN (1) CN115459976A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116828347A (en) * 2023-08-31 2023-09-29 北京智芯微电子科技有限公司 Remote monitoring device, testing system and method for chip reliability test

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936585A (en) * 2017-12-15 2019-06-25 蔚来汽车有限公司 The method for remotely controlling vehicle based on smart machine
JP3224059U (en) * 2019-08-15 2019-11-21 アイ・キャン・コントロール・テック・カンパニー・リミテッド IoT system for artificial intelligence industry
US20190371180A1 (en) * 2016-11-30 2019-12-05 Mitsubishi Heavy Industries Machinery Systems, Ltd. Communication system, on-board unit, and communication method
CN111917862A (en) * 2020-07-28 2020-11-10 深圳市道通科技股份有限公司 Automobile rear service management system and method based on cloud platform
CN113407522A (en) * 2021-06-18 2021-09-17 上海市第十人民医院 Data processing method and device, computer equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190371180A1 (en) * 2016-11-30 2019-12-05 Mitsubishi Heavy Industries Machinery Systems, Ltd. Communication system, on-board unit, and communication method
CN109936585A (en) * 2017-12-15 2019-06-25 蔚来汽车有限公司 The method for remotely controlling vehicle based on smart machine
JP3224059U (en) * 2019-08-15 2019-11-21 アイ・キャン・コントロール・テック・カンパニー・リミテッド IoT system for artificial intelligence industry
CN111917862A (en) * 2020-07-28 2020-11-10 深圳市道通科技股份有限公司 Automobile rear service management system and method based on cloud platform
CN113407522A (en) * 2021-06-18 2021-09-17 上海市第十人民医院 Data processing method and device, computer equipment and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
苗中华;马晨晖;吴海华;何创新;: "基于互联网+的移动作业车辆综合监控系统设计", 工业控制计算机, no. 11, 25 November 2018 (2018-11-25) *
陈伟;王亮;李伟;吕卫民;: "特种车辆液压装置综合诊断与健康管理系统设计", 液压与气动, no. 01, 15 January 2013 (2013-01-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116828347A (en) * 2023-08-31 2023-09-29 北京智芯微电子科技有限公司 Remote monitoring device, testing system and method for chip reliability test

Similar Documents

Publication Publication Date Title
EP3559625B1 (en) Device and method for managing an electric vehicle
RU2693266C2 (en) Effective telematic data unloading
CN109270565B (en) Processing device for vehicle-mounted GPS big data
CN108011904B (en) Information sending method, receiving method, device and information receiving and sending system
CN110912998A (en) Vehicle problem troubleshooting system and method based on remote equipment terminal
CN108377266A (en) A kind of Real-time Data Transfer Method and system based on car networking
CN111552277B (en) Vehicle fault diagnosis method based on Internet of things
CN101408758B (en) Automobile tail gas monitoring system
KR101611547B1 (en) Real-time integrated vehicles management system and method thereof
CN102120441A (en) Smart diagnosis system for passenger vehicles
CN110971567A (en) Vehicle, cloud server, vehicle equipment, media device and data integration method
WO2022011638A1 (en) Method and device for data transmission
CN115459976A (en) MQTT-based vehicle information monitoring and management method and system
CN110926481A (en) Vehicle positioning navigation method and device thereof
DE10329871B4 (en) Method and system for the telemetric diagnosis of electronic equipment of a vehicle
CN112199266A (en) Log transmission method and system for vehicle-mounted machine system, vehicle and storage medium
EP4270335A1 (en) Systems and methods for diagnostic tool detection in a telematics device
CN204537209U (en) Based on the vehicle data overall analysis system of cloud platform
CN110060372A (en) A kind of automatic Pilot record system and its working method
CN110971745A (en) Vehicle, vehicle-mounted support and handheld terminal voice control mode triggering method thereof
KR101498367B1 (en) Maintenance system of car digital tachograph and method of the same
CN112653726A (en) Vehicle-mounted terminal, operation method thereof, computer-readable storage medium, and processor
CN209265217U (en) A kind of mounted remote monitoring system of electric car
CN111885540A (en) Intelligent transportation vehicle diagnosis monitoring and cloud data service platform system based on NB-IOT
CN213705413U (en) Automobile monitoring system based on 5G communication

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