CN109801399A - New energy vehicle failure Realtime Alerts method and system - Google Patents
New energy vehicle failure Realtime Alerts method and system Download PDFInfo
- Publication number
- CN109801399A CN109801399A CN201811633215.1A CN201811633215A CN109801399A CN 109801399 A CN109801399 A CN 109801399A CN 201811633215 A CN201811633215 A CN 201811633215A CN 109801399 A CN109801399 A CN 109801399A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- data
- vehicle data
- message queue
- alert
- 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
Landscapes
- Alarm Systems (AREA)
Abstract
The invention discloses a kind of new energy vehicle failure Realtime Alerts method and system, this method includes acquisition raw vehicle data, and is sent to front end processor;Front end processor carries out data parsing and filtering to raw vehicle data, and the vehicle data after parsing is buffered into the first Kafka message queue;The vehicle data in the first Kafka message queue is consumed using real-time Computational frame, whether detection vehicle breaks down, when vehicle breaks down, alert data is buffered into the 2nd Kafka message queue;It will be in the alert data write-in database in the 2nd Kafka message queue using KafkaService component;Alert data in Web server reading database is simultaneously shown on the display page, while being alarmed.The present invention realizes high real-time, efficient vehicle trouble Realtime Alerts.
Description
Technical field
The present invention relates to technical field of vehicle detection, more particularly to a kind of new energy vehicle failure Realtime Alerts method and
System.
Background technique
Prior art is usually the frame for utilizing message queue and java component, is alarmed vehicle trouble.Specific side
Method are as follows:
Vehicle termination, which collects, first passes through 4G network after data and is sent to front end processor, and front end processor is filtered data
And parsing, data are parsed into the format for meeting internal agreement, are sent in message queue ActiveMQ.
Java processing component judges the data in message queue, if it is determined that faulty alarm, then generate one
Fault alarm information, is put into MySql database.
The alert data that the end Web is read in MySql database is shown on the page.
Existing fault alarm process flow does not use real-time Computational frame, and existing major defect is for magnanimity number
According to processing exist delay, the processing method of the guarantees thread-safe built in java be using lock by the way of, but using add
The mode of lock will lead to system processing speed and substantially reduce.And since java processing component is directly interacted with database, disk
IO can also reduce the processing speed of java component.
Summary of the invention
High efficiency, Gao Shi are realized using real-time Computational frame and buffering queue Kafka the object of the present invention is to provide a kind of
The new energy vehicle failure Realtime Alerts method and system of when property.
To achieve the above object, the present invention provides a kind of new energy vehicle failure Realtime Alerts method, the method packets
It includes:
Raw vehicle data is acquired, and is sent to front end processor;
The front end processor carries out data parsing and filtering to the raw vehicle data, and the vehicle data after parsing is delayed
It is stored in the first Kafka message queue;
The vehicle data in the first Kafka message queue is consumed using real-time Computational frame, whether detection vehicle is sent out
Raw failure buffers into alert data in the 2nd Kafka message queue when vehicle breaks down;
Database is written into the alert data in the 2nd Kafka message queue using KafkaService component
In;
Web server reads the alert data in the database and is shown on the display page, while alarming.
Optionally, the acquisition raw vehicle data, and it is sent to front end processor, it specifically includes:
Raw vehicle data is acquired using the vehicle termination being arranged on vehicle, the raw vehicle data is international agreement
Defined in vehicle data, the raw vehicle data includes that vehicle is logined, vehicle is published, platform is logined, platform is published and real
When vehicle data message;
The raw vehicle data is sent to the front end processor by 4G network by the vehicle termination.
Optionally, the front end processor carries out data parsing and filtering to the raw vehicle data, and by the vehicle after parsing
Data buffer storage enters in the first Kafka message queue, specifically includes:
The raw vehicle data of the byte stream mode transmission encoded with base64 is parsed, parsing vehicle is obtained
Data;
The parsing vehicle data is stored in Json character string according to data interchange format, in the Json character string
The key of each data item is vehicle data classification, and value is vehicle data value corresponding with the vehicle data classification;
Invalid data in the parsing vehicle data is filtered out, target vehicle data is obtained;The invalid data includes missing
The vehicle data of information of vehicles file and vehicle data beyond acquisition time;
The interface for accessing the first Kafka message queue in c++ class libraries is called, the target vehicle data is buffered into described
First Kafka message queue.
Optionally, whether the detection vehicle breaks down, and specifically includes:
The vehicle data in the first Kafka message queue is identified according to the general-purpose vehicle Reflector in international agreement
Whether break down;
And/or vehicle in the first Kafka message queue is identified according to the customized vehicle trouble alarm rule of user
Whether data break down;
And/or whether detection vehicle occurs too low remaining capacity, no data communication, without location information or long-term offline event
Barrier.
Optionally, it is described using KafkaService component by the alarm number in the 2nd Kafka message queue
According in write-in database, specifically include:
When in the alert data of the KafkaService component consumption to one article of the 2nd Kafka message queue
Alarm when starting message, check whether corresponding vehicle is in alarm condition in the database, if so, abandoning the alarm
Data;If it is not, the database is written in the warning message;
When in the alert data of the KafkaService component consumption to one article of the 2nd Kafka message queue
Alarm ending message when, check in the database whether corresponding vehicle has alarm to start message, if so, by the alarm number
It is ended processing according to alarm is carried out, and the alert data is put into alarm statistics table;If nothing, the alarm number is abandoned
According to.
Optionally, the real-time Computational frame is the real-time Computational frame of Storm or the real-time calculation block of SparkStreaming
Frame.
Optionally, the mode of the alarm is that sound-light alarm and/or page pop-up are alarmed.
The present invention also provides a kind of new energy vehicle failure real-time alarm system, the system comprises:
Vehicle termination for acquiring raw vehicle data, and sends the raw vehicle data;
Front end processor, for carrying out data parsing and filtering to the raw vehicle data, and by the vehicle data after parsing
It buffers into the first Kafka message queue;
Real-time Computational frame, for consuming the vehicle data in the first Kafka message queue, whether detection vehicle is sent out
Raw failure buffers into alert data in the 2nd Kafka message queue when vehicle breaks down;
KafkaService component, for data to be written in the alert data in the 2nd Kafka message queue
In library;
Web server for reading the alert data in the database and being shown to the display page, while being reported
It is alert.
Optionally, the raw vehicle data is vehicle data defined in international agreement, the raw vehicle data packet
Include that vehicle is logined, vehicle is published, platform is logined, platform is published and real-time vehicle data message;The vehicle termination passes through 4G net
The raw vehicle data is sent to the front end processor by network.
Optionally, the front end processor is specifically used for:
The raw vehicle data of the byte stream mode transmission encoded with base64 is parsed, parsing vehicle is obtained
Data;
The parsing vehicle data is stored in Json character string according to data interchange format, in the Json character string
The key of each data item is vehicle data classification, and value is vehicle data value corresponding with the vehicle data classification;
Invalid data in the parsing vehicle data is filtered out, target vehicle data is obtained;The invalid data includes missing
The vehicle data of information of vehicles file and vehicle data beyond acquisition time;
The interface for accessing the first Kafka message queue in c++ class libraries is called, the target vehicle data is buffered into described
First Kafka message queue.
The specific embodiment provided according to the present invention, the invention discloses following technical effects: the present invention is for existing big
The problem of data system can not accomplish high real-time, efficient alarm for magnanimity vehicle data, provide a kind of high efficiency,
High real-time new energy vehicle failure Realtime Alerts method and system, the present invention utilize real-time Computational frame and Kafka message team
The process flow that the caching effect of column combines realizes vehicle trouble alarm, due to real-time Computational frame bottom layer treatment thread-safe
Way be using CAS mechanism and cache lines filling technique so that the speed of the data of Computational frame processing in real time have it is high in real time
Property;It is used as buffering additionally by the caching work of Kafka message queue, can prevents upstream and downstream from coupling with real-time Computational frame, into
One step accelerates the processing speed of real-time Computational frame, realizes high real-time, efficient vehicle trouble Realtime Alerts.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of new energy vehicle failure Realtime Alerts method provided in an embodiment of the present invention;
Fig. 2 is the too low overhaul flow chart of the remaining capacity of vehicle in the embodiment of the present invention;
Fig. 3 is the overhaul flow chart of the no data communication of vehicle in the embodiment of the present invention;
Fig. 4 is the overhaul flow chart without location information of vehicle in the embodiment of the present invention;
Fig. 5 is the overhaul flow chart of the long-term offline of vehicle in the embodiment of the present invention;
Fig. 6 is the structural block diagram of new energy vehicle failure real-time alarm system provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
High efficiency, Gao Shi are realized using real-time Computational frame and buffering queue Kafka the object of the present invention is to provide a kind of
When property new energy vehicle failure Realtime Alerts method and system.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
As shown in Figure 1, new energy vehicle failure Realtime Alerts method provided in this embodiment includes:
Step 101: acquisition raw vehicle data, and it is sent to front end processor.
The step 101 can specifically include:
Raw vehicle data is acquired using the vehicle termination being arranged on vehicle, the raw vehicle data is international agreement
Defined in vehicle data, the raw vehicle data includes that vehicle is logined, vehicle is published, platform is logined, platform is published and real
When vehicle data message;
The raw vehicle data is sent to the front end processor by 4G network by the vehicle termination.Specifically, can be with
Raw vehicle data is sent to the front end processor by the way of the byte stream of base64 coding.
Here vehicle termination includes multiple, one vehicle termination of setting on each detected vehicle, or utilizes a vehicle
Terminal detects the raw vehicle data of multiple vehicles respectively.The raw vehicle data is the vehicle number for meeting national standard protocol definition
According to, including the messages such as vehicle is logined, vehicle is published, platform is logined, platform is published, real-time vehicle data, specific original vehicle number
According to " electric car remote service and management system technical specification " third portion: institute in communication protocol and data format can be referred to
All vehicle datas being related to.
Step 102: the front end processor carries out data parsing and filtering to the raw vehicle data, and by the vehicle after parsing
Data buffer storage enters in the first Kafka message queue.
The step 102 specifically includes:
The raw vehicle data of the byte stream mode transmission encoded with base64 is parsed, parsing vehicle is obtained
Data.
The parsing vehicle data is stored in Json character string according to data interchange format, in the Json character string
The key of each data item is vehicle data classification, and value is vehicle data value corresponding with the vehicle data classification;Than
Such as 1808:100, expression speed is 100km/h, illustrates that 1808 indicate speed in the definition of internal agreement.
Invalid data in the parsing vehicle data is filtered out, target vehicle data is obtained;The invalid data includes missing
The vehicle data of information of vehicles file and vehicle data beyond acquisition time.
The interface for accessing the first Kafka message queue in c++ class libraries is called, the target vehicle data is buffered into described
First Kafka message queue.
Step 103: consuming the vehicle data in the first Kafka message queue using real-time Computational frame, detect vehicle
Whether break down, when vehicle breaks down, alert data is buffered into the 2nd Kafka message queue;
Whether the detection vehicle in the step 103, which breaks down, can specifically include:
A, the vehicle number in the first Kafka message queue is identified according to the general-purpose vehicle Reflector in international agreement
According to whether breaking down.
General-purpose vehicle failure in international agreement includes 19, such as the following table 1
Table 1
Position | Definition | Processing spec |
0 | 1: temperature difference alarm: 0: normal | Mark maintains to alert if to release. |
1 | 1: battery high-temperature alarm: 0: normal | Mark maintains to alert if to release. |
2 | 1: vehicle-mounted energy storage device type over voltage alarm: 0: normal | Mark maintains to alert if to release. |
3 | 1: vehicle-mounted energy storage device type undervoltage warning: 0: normal | Mark maintains to alert if to release. |
4 | The low alarm of 1:SOC: 0: normal | Mark maintains to alert if to release. |
5 | 1: single battery over voltage alarm: 0: normal | Mark maintains to alert if to release. |
6 | 1: single battery undervoltage warning: 0: normal | Mark maintains to alert if to release. |
7 | The excessively high alarm of 1:SOC: 0: normal | Mark maintains to alert if to release. |
8 | 1:SOC jump alarm: 0: normal | Mark maintains to alert if to release. |
9 | 1: chargeable energy-storage system, which mismatches, alarms: 0: normal | Mark maintains to alert if to release. |
10 | 1: battery cell consistency difference alarming: 0: normal | Mark maintains to alert if to release. |
11 | 1: insulation alarm: 0: normal | Mark maintains to alert if to release. |
12 | 1:DC-DC temperature alarming: 0: normal | Mark maintains to alert if to release. |
13 | 1: braking system alarm: 0: normal | Mark maintains to alert if to release. |
14 | 1:DC-DC status alert: 0: normal | Mark maintains to alert if to release. |
15 | 1: drive motor controller temperature alarming: 0: normal | Mark maintains to alert if to release. |
16 | 1: high-voltage interlocking status alert: 0: normal | Mark maintains to alert if to release. |
17 | 1: driving motor temperature alarming: 0: normal | Mark maintains to alert if to release. |
18 | 1: vehicle-mounted energy storage device type overcharges: 0: normal | Mark maintains to alert if to release. |
19~31 | It is reserved | Mark maintains to alert if to release. |
B, the vehicle data in the first Kafka message queue is identified according to the customized vehicle trouble alarm rule of user
Whether break down.
User can be with customized vehicle trouble alarm rule such as table 2.
Table 2
Alarm classification | Alert if |
Monomer voltage is excessively high | Cell batteries voltage value list (V) [this] > 5 |
Temperature is excessively high | Single battery temperature probe list [this] > 90 |
Electric machine controller temperature is excessively high | Drive motor controller temperature (DEG C) [this] > 180 |
Motor temperature is excessively high | Driving motor temperature (DEG C) [this] > 180 |
Battery electrode column high temperature alarm | Maximum temperature value (DEG C) [this]-lowest temperature angle value (DEG C) [this] > 30 |
The low alarm of SOC: SOC < 30% | Terrestrial reference-SOC [this] < 30 |
Power accumulator packet undervoltage warning: total voltage is between 350V and 388V | 350 <=total voltage (V) [this] <=388 |
Power accumulator packet undervoltage warning: between total voltage 350V and 388V | 350 <=total voltage (V) [this] <=388 |
Power warns battery pack undervoltage warning: total voltage is in 350V and 388V | 350 <=total voltage (V) [this] <=388 |
Output power is excessively high | Peak power output (W) [this] > 1000 |
Output torque is excessively high | Maximum output torque (Nm) [this] > 5000 |
Motor bus current is excessively high | Electric machine controller DC bus current (A) [this] > 20 |
Total voltage is excessively high | Total voltage (V) [this] > 400 |
Total current is excessively high | Total current (A) [this] > 10000 |
Power accumulator packet over voltage alarm | Total voltage (V) [this] > 200 |
Temperature difference alarm: maximum temperature -5 DEG C of minimum temperature > (early warning) | Maximum temperature value (C) [this]-lowest temperature angle value (DEG C) [this] > 5 |
Battery electrode column high temperature alarm: temperature is between 40 DEG C and 45 DEG C | 40 <=maximum temperature value (DEG C) [this] <=45 |
C, whether detection vehicle occurs too low remaining capacity, no data communication, without location information or long-term offline failure.
Wherein, the too low overhaul flow chart of remaining capacity is as shown in Figure 2;Overhaul flow chart such as Fig. 3 institute of no data communication
Show;Overhaul flow chart without location information is as shown in Figure 4;The overhaul flow chart of long-term offline is as shown in Figure 5.
Step 104: being write the alert data in the 2nd Kafka message queue using KafkaService component
Enter in database.
The step 104 can specifically include:
When in the alert data of the KafkaService component consumption to one article of the 2nd Kafka message queue
Alarm when starting message, check whether corresponding vehicle is in alarm condition in the database, if so, abandoning the alarm
Data;If it is not, the database is written in the warning message;
When in the alert data of the KafkaService component consumption to one article of the 2nd Kafka message queue
Alarm ending message when, check in the database whether corresponding vehicle has alarm to start message, if so, by the alarm number
It is ended processing according to alarm is carried out, and the alert data is put into alarm statistics table;If nothing, the alarm number is abandoned
According to.
After each fault alarm can have beginning and end, alarm to start, even if kafkaservice receives alarm again and opens
Beginning message, the beginning message that this will not be alarmed are placed again into database.If be put into, it is same that same vehicle can occur
Alarm has the case where a plurality of alarm exists simultaneously.It only after alarm, then receives alarm and starts, alarm can just be started
Message is reentered into database.
Step 105:Web server reads the alert data in the database and is shown on the display page, while into
Row alarm.The mode of the alarm is that sound-light alarm and/or page pop-up are alarmed.
It should be noted that real-time Computational frame employed in the present invention be the real-time Computational frame of Storm or
The real-time Computational frame of SparkStreaming.Using the real-time Computational frame of Storm in the present embodiment, it is made of the frame
New energy vehicle failure real-time alarm system is as shown in Figure 6.
The present embodiment provides new energy vehicle failure real-time alarm systems corresponding with the above method as shown in fig. 6, described
System includes:
Vehicle termination 1 for acquiring raw vehicle data, and sends the raw vehicle data;The original vehicle number
According to for vehicle data defined in international agreement, the raw vehicle data include vehicle is logined, vehicle is published, platform is logined,
Platform is published and real-time vehicle data message;The raw vehicle data is sent to described by the vehicle termination by 4G network
Front end processor.
Front end processor 2, for carrying out data parsing and filtering to the raw vehicle data, and by the vehicle data after parsing
It buffers into the first Kafka message queue 3.The front end processor is specifically used for:
The raw vehicle data of the byte stream mode transmission encoded with base64 is parsed, parsing vehicle is obtained
Data;
The parsing vehicle data is stored in Json character string according to data interchange format, in the Json character string
The key of each data item is vehicle data classification, and value is vehicle data value corresponding with the vehicle data classification;
Invalid data in the parsing vehicle data is filtered out, target vehicle data is obtained;The invalid data includes missing
The vehicle data of information of vehicles file and vehicle data beyond acquisition time;
The interface for accessing the first Kafka message queue in c++ class libraries is called, the target vehicle data is buffered into described
First Kafka message queue.
Real-time Computational frame 4, for consuming the vehicle data in the first Kafka message queue 3, whether detection vehicle
It breaks down, when vehicle breaks down, alert data is buffered into the 2nd Kafka message queue 5;
KafkaService component 6, for number to be written in the alert data in the 2nd Kafka message queue 5
According in library 7;
Web server 8 carries out simultaneously for reading the alert data in the database 7 and being shown to the display page
Alarm.
For the system disclosed in the embodiment, since it is corresponded to the methods disclosed in the examples, so the ratio of description
Relatively simple, reference may be made to the description of the method.
Herein presented explanation of technical terms is as follows:
Vehicle termination: the equipment for acquiring and sending associated vehicle data.
Front end processor: the component for sending data for receiving vehicle termination and being parsed.
Kafka message queue: Kafka message queue is distributed, a high-throughput, enhanced scalability message queue
Service is widely used in log collection, monitoring data polymerization, stream data processing, online and offline analysis etc..
Storm:ApacheStorm is the distributed real time computation system of a free open source
KafkaService: for by the java component of the data persistence in kafka message queue.
Redis:redis is a kind of storage system for supporting the plurality of data structures such as Key-Value.It can be used for caching, thing
The scenes such as part publication or subscription, high-speed queue.The database is write using ANSI C, supports network, provides character string, breathes out
Uncommon, list, queue, collecting structure are directly accessed, based on memory, can persistence.
ES:ElasticSearch is the search server based on Lucene.It provides a distributed multi-user
The full-text search engine of ability is based on restfulweb interface.
Hbase:HBase is built upon the distributed database towards column on Hadoop file system.
MySql: being a kind of Relational DBMS
The end Web: being responsible for and the Website page of user's interaction.
ActiveMQ: being message-oriented middleware, is one kind medium of the application program so as to transmitting message in a distributed system
SparkStreaming: being streaming (real-time) Computational frame of a batch processing.The basic principle is that input data
It can be used to handle real-time stream when batch processing interval shortens to second grade with the processing of some time interval batch.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation
Thought of the invention, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not
It is interpreted as limitation of the present invention.
Claims (10)
1. a kind of new energy vehicle failure Realtime Alerts method, which is characterized in that the described method includes:
Raw vehicle data is acquired, and is sent to front end processor;
The front end processor carries out data parsing and filtering to the raw vehicle data, and the vehicle data after parsing is buffered into
In first Kafka message queue;
The vehicle data in the first Kafka message queue is consumed using real-time Computational frame, whether detection vehicle occurs event
Barrier, when vehicle breaks down, alert data is buffered into the 2nd Kafka message queue;
It will be in the alert data write-in database in the 2nd Kafka message queue using KafkaService component;
Web server reads the alert data in the database and is shown on the display page, while alarming.
2. new energy vehicle failure Realtime Alerts method according to claim 1, which is characterized in that the acquisition original car
Data, and it is sent to front end processor, it specifically includes:
Raw vehicle data is acquired using the vehicle termination being arranged on vehicle, the raw vehicle data is fixed in international agreement
The vehicle data of justice, the raw vehicle data includes that vehicle is logined, vehicle is published, platform is logined, platform is published and real-time vehicle
Data message;
The raw vehicle data is sent to the front end processor by 4G network by the vehicle termination.
3. new energy vehicle failure Realtime Alerts method according to claim 1, which is characterized in that the front end processor is to institute
It states raw vehicle data and carries out data parsing and filtering, and the vehicle data after parsing is buffered into the first Kafka message queue
In, it specifically includes:
The raw vehicle data of the byte stream mode transmission encoded with base64 is parsed, parsing vehicle number is obtained
According to;
The parsing vehicle data is stored in Json character string according to data interchange format, each of described Json character string
The key of data item is vehicle data classification, and value is vehicle data value corresponding with the vehicle data classification;
Invalid data in the parsing vehicle data is filtered out, target vehicle data is obtained;The invalid data includes missing vehicle
The vehicle data of message file and vehicle data beyond acquisition time;
The interface for accessing the first Kafka message queue in c++ class libraries is called, the target vehicle data is buffered into described first
Kafka message queue.
4. new energy vehicle failure Realtime Alerts method according to claim 1, which is characterized in that the detection vehicle is
It is no to break down, it specifically includes:
Whether the vehicle data in the first Kafka message queue is identified according to the general-purpose vehicle Reflector in international agreement
It breaks down;
And/or vehicle data in the first Kafka message queue is identified according to the customized vehicle trouble alarm rule of user
Whether break down;
And/or whether detection vehicle occurs too low remaining capacity, no data communication, without location information or long-term offline failure.
5. new energy vehicle failure Realtime Alerts method according to claim 1, which is characterized in that the utilization
KafkaService component is specifically included in the alert data write-in database in the 2nd Kafka message queue:
Report in the alert data of the KafkaService component consumption to one article of the 2nd Kafka message queue
When alert beginning message, check whether corresponding vehicle is in alarm condition in the database, if so, abandoning the alarm number
According to;If it is not, the database is written in the warning message;
Report in the alert data of the KafkaService component consumption to one article of the 2nd Kafka message queue
When alert ending message, check whether corresponding vehicle has alarm to start message in the database, if so, by the alert data into
Row alarm ends processing, and the alert data is put into alarm statistics table;If nothing, the alert data is abandoned.
6. new energy vehicle failure Realtime Alerts method according to claim 1, which is characterized in that the real-time calculation block
Frame is the real-time Computational frame of Storm or the real-time Computational frame of SparkStreaming.
7. new energy vehicle failure Realtime Alerts method according to claim 1, which is characterized in that the mode of the alarm
It alarms for sound-light alarm and/or page pop-up.
8. a kind of new energy vehicle failure real-time alarm system, which is characterized in that the system comprises:
Vehicle termination for acquiring raw vehicle data, and sends the raw vehicle data;
Front end processor for carrying out data parsing and filtering to the raw vehicle data, and the vehicle data after parsing is cached
Enter in the first Kafka message queue;
Real-time Computational frame, for consuming the vehicle data in the first Kafka message queue, whether detection vehicle occurs event
Barrier, when vehicle breaks down, alert data is buffered into the 2nd Kafka message queue;
KafkaService component, for the alert data in the 2nd Kafka message queue to be written in database;
Web server for reading the alert data in the database and being shown to the display page, while being alarmed.
9. new energy vehicle failure real-time alarm system according to claim 8, which is characterized in that the original vehicle number
According to for vehicle data defined in international agreement, the raw vehicle data include vehicle is logined, vehicle is published, platform is logined,
Platform is published and real-time vehicle data message;The raw vehicle data is sent to described by the vehicle termination by 4G network
Front end processor.
10. new energy vehicle failure real-time alarm system according to claim 8, which is characterized in that the preposition equipment
Body is used for:
The raw vehicle data of the byte stream mode transmission encoded with base64 is parsed, parsing vehicle number is obtained
According to;
The parsing vehicle data is stored in Json character string according to data interchange format, each of described Json character string
The key of data item is vehicle data classification, and value is vehicle data value corresponding with the vehicle data classification;
Invalid data in the parsing vehicle data is filtered out, target vehicle data is obtained;The invalid data includes missing vehicle
The vehicle data of message file and vehicle data beyond acquisition time;
The interface for accessing the first Kafka message queue in c++ class libraries is called, the target vehicle data is buffered into described first
Kafka message queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811633215.1A CN109801399A (en) | 2018-12-29 | 2018-12-29 | New energy vehicle failure Realtime Alerts method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811633215.1A CN109801399A (en) | 2018-12-29 | 2018-12-29 | New energy vehicle failure Realtime Alerts method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109801399A true CN109801399A (en) | 2019-05-24 |
Family
ID=66558027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811633215.1A Pending CN109801399A (en) | 2018-12-29 | 2018-12-29 | New energy vehicle failure Realtime Alerts method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109801399A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625583A (en) * | 2020-05-21 | 2020-09-04 | 广西电网有限责任公司 | Service data processing method and device, computer equipment and storage medium |
CN111740952A (en) * | 2020-05-13 | 2020-10-02 | 南斗六星系统集成有限公司 | Vehicle supervision platform data management method and system |
CN111741063A (en) * | 2020-05-13 | 2020-10-02 | 南斗六星系统集成有限公司 | Data access processing method and system for vehicle supervision platform |
CN111740953A (en) * | 2020-05-13 | 2020-10-02 | 南斗六星系统集成有限公司 | Data access forwarding method and system for vehicle supervision platform |
CN111884831A (en) * | 2020-06-24 | 2020-11-03 | 江西江铃集团新能源汽车有限公司 | Vehicle network alarm risk control method and system |
CN113452486A (en) * | 2021-08-31 | 2021-09-28 | 腾讯科技(深圳)有限公司 | Vehicle information uploading method, device, equipment and storage medium |
WO2021217624A1 (en) * | 2020-04-30 | 2021-11-04 | 上海华东汽车信息技术有限公司 | Vehicle data processing method and system |
US20220153140A1 (en) * | 2020-11-13 | 2022-05-19 | Nio Technology (Anhui) Co., Ltd | Remote monitoring and alarm system and method of vehicle traction battery fault |
CN115118754A (en) * | 2022-08-29 | 2022-09-27 | 中国汽车技术研究中心有限公司 | Remote monitoring test system and monitoring test method for electric vehicle |
CN117009105A (en) * | 2023-07-25 | 2023-11-07 | 南京南瑞智慧交通科技有限公司 | Method for pre-alarming state of subway vehicle-mounted equipment based on storm flow calculation in real time |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763665A (en) * | 2008-12-26 | 2010-06-30 | 厦门雅迅网络股份有限公司 | Method for remotely monitoring real-time working condition of engineering mechanical vehicles |
WO2013100275A1 (en) * | 2011-12-27 | 2013-07-04 | Korea Electronics Technology Institute | Freight transport safety system and terminal thereof |
CN104156850A (en) * | 2014-07-16 | 2014-11-19 | 通联支付网络服务股份有限公司 | Real-time transaction monitoring system |
CN104519059A (en) * | 2014-12-16 | 2015-04-15 | 北京中交兴路车联网科技有限公司 | Vehicular real-time alarm processing system and method |
CN104944240A (en) * | 2015-05-19 | 2015-09-30 | 重庆大学 | Elevator equipment state monitoring system based on large data technology |
CN104994601A (en) * | 2015-06-01 | 2015-10-21 | 南京邮电大学 | 4G vehicle smart terminal system |
CN106292618A (en) * | 2015-06-08 | 2017-01-04 | 上海通用汽车有限公司 | Vehicle trouble quick positioning analysis system and the quick method for positioning analyzing of vehicle trouble |
CN106330533A (en) * | 2016-01-21 | 2017-01-11 | 华南师范大学 | Real-time topology establishment method of large-scale network alarms |
-
2018
- 2018-12-29 CN CN201811633215.1A patent/CN109801399A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763665A (en) * | 2008-12-26 | 2010-06-30 | 厦门雅迅网络股份有限公司 | Method for remotely monitoring real-time working condition of engineering mechanical vehicles |
WO2013100275A1 (en) * | 2011-12-27 | 2013-07-04 | Korea Electronics Technology Institute | Freight transport safety system and terminal thereof |
CN104156850A (en) * | 2014-07-16 | 2014-11-19 | 通联支付网络服务股份有限公司 | Real-time transaction monitoring system |
CN104519059A (en) * | 2014-12-16 | 2015-04-15 | 北京中交兴路车联网科技有限公司 | Vehicular real-time alarm processing system and method |
CN104944240A (en) * | 2015-05-19 | 2015-09-30 | 重庆大学 | Elevator equipment state monitoring system based on large data technology |
CN104994601A (en) * | 2015-06-01 | 2015-10-21 | 南京邮电大学 | 4G vehicle smart terminal system |
CN106292618A (en) * | 2015-06-08 | 2017-01-04 | 上海通用汽车有限公司 | Vehicle trouble quick positioning analysis system and the quick method for positioning analyzing of vehicle trouble |
CN106330533A (en) * | 2016-01-21 | 2017-01-11 | 华南师范大学 | Real-time topology establishment method of large-scale network alarms |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021217624A1 (en) * | 2020-04-30 | 2021-11-04 | 上海华东汽车信息技术有限公司 | Vehicle data processing method and system |
CN111740953A (en) * | 2020-05-13 | 2020-10-02 | 南斗六星系统集成有限公司 | Data access forwarding method and system for vehicle supervision platform |
CN111741063A (en) * | 2020-05-13 | 2020-10-02 | 南斗六星系统集成有限公司 | Data access processing method and system for vehicle supervision platform |
CN111740952A (en) * | 2020-05-13 | 2020-10-02 | 南斗六星系统集成有限公司 | Vehicle supervision platform data management method and system |
CN111625583A (en) * | 2020-05-21 | 2020-09-04 | 广西电网有限责任公司 | Service data processing method and device, computer equipment and storage medium |
CN111625583B (en) * | 2020-05-21 | 2022-07-29 | 广西电网有限责任公司 | Business data processing method and device, computer equipment and storage medium |
CN111884831A (en) * | 2020-06-24 | 2020-11-03 | 江西江铃集团新能源汽车有限公司 | Vehicle network alarm risk control method and system |
US20220153140A1 (en) * | 2020-11-13 | 2022-05-19 | Nio Technology (Anhui) Co., Ltd | Remote monitoring and alarm system and method of vehicle traction battery fault |
EP4000986A1 (en) * | 2020-11-13 | 2022-05-25 | Nio Technology (Anhui) Co., Ltd | Remote monitoring and alarm system and method of vehicle traction battery fault |
CN113452486A (en) * | 2021-08-31 | 2021-09-28 | 腾讯科技(深圳)有限公司 | Vehicle information uploading method, device, equipment and storage medium |
CN115118754A (en) * | 2022-08-29 | 2022-09-27 | 中国汽车技术研究中心有限公司 | Remote monitoring test system and monitoring test method for electric vehicle |
CN117009105A (en) * | 2023-07-25 | 2023-11-07 | 南京南瑞智慧交通科技有限公司 | Method for pre-alarming state of subway vehicle-mounted equipment based on storm flow calculation in real time |
CN117009105B (en) * | 2023-07-25 | 2024-07-02 | 南京南瑞智慧交通科技有限公司 | Method for pre-alarming state of subway vehicle-mounted equipment based on storm flow calculation in real time |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109801399A (en) | New energy vehicle failure Realtime Alerts method and system | |
CN107453889B (en) | A kind of method for uploading and device of journal file | |
CN104362757B (en) | Transformer substation on-line monitoring system based on IEC61850 | |
CN108444727A (en) | Vehicular remote monitoring method, monitoring device and monitoring system | |
CN103529761A (en) | New energy vehicle fault data acquisition method and device | |
CN101656013A (en) | Vehicle-mounted monitoring alarm terminal, system and alarm method | |
CN108347352B (en) | Method for diagnosing performance of information system and equipment in power system | |
CN109462490B (en) | Video monitoring system and fault analysis method | |
CN110806960B (en) | Information processing method and device and terminal equipment | |
CN106528649A (en) | Massive data storage and retrieval system and massive data storage and retrieval methods for new energy vehicles | |
CN114356499A (en) | Kubernetes cluster alarm root cause analysis method and device | |
CN104122508A (en) | Online monitoring method for backup power supply system of intelligent power distribution terminal | |
CN115361312B (en) | Link flow based method and device for monitoring link state between ring network nodes | |
CN114325411A (en) | Battery charging safety early warning method, electronic equipment and storage medium | |
CN113009212A (en) | System and method for intelligently monitoring state of lightning arrester of power distribution network based on Internet of things | |
CN105138278B (en) | A kind of the naked of intelligent substation network message takes inventory method for storing | |
CN109586967A (en) | A kind of active alarm formula safety monitoring system | |
CN101937615B (en) | Monitoring device and method based on floating car data processing system | |
CN109032119A (en) | Train rigid line control circuit monitoring method and device | |
CN111815449B (en) | Abnormality detection method and system of multi-host quotation system based on stream computing | |
CN110225070B (en) | Real-time data processing method and gateway based on new energy vehicle | |
CN112072191A (en) | Motor train unit battery management method and device and storage medium | |
CN108595367B (en) | Server system based on computer cluster in local area network | |
CN116743791B (en) | Cloud edge synchronization method, device and equipment for subway cloud platform and storage medium | |
CN117009105B (en) | Method for pre-alarming state of subway vehicle-mounted equipment based on storm flow calculation in real time |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190524 |