CN112995249A - Internet of vehicles data processing method, device and system - Google Patents
Internet of vehicles data processing method, device and system Download PDFInfo
- Publication number
- CN112995249A CN112995249A CN201911275390.2A CN201911275390A CN112995249A CN 112995249 A CN112995249 A CN 112995249A CN 201911275390 A CN201911275390 A CN 201911275390A CN 112995249 A CN112995249 A CN 112995249A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- event type
- data
- type signal
- communication 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.)
- Granted
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/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- 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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication 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)
- Traffic Control Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a vehicle networking data processing method, device and system, wherein the method is applied to a vehicle-mounted communication terminal in the vehicle networking, and the vehicle networking also comprises a vehicle networking server. According to the invention, the vehicle-mounted communication terminal is arranged to only send the periodic signal to the vehicle networking server and send the first event type signal and the second event type signal which is not matched with the first event type signal, so that a large number of second event type signals matched with the first event type signal are not sent to the vehicle networking server, and the data communication flow between the vehicle-mounted communication terminal and the vehicle networking server can be greatly reduced on the premise of ensuring that the stored data content of the vehicle networking server is unchanged and the effective data is not reduced.
Description
Technical Field
The invention relates to the technical field of automobiles, in particular to a method, a device and a system for processing data of an internet of vehicles.
Background
Currently, the development of communication technology provides a foundation for the establishment of the internet of vehicles. In the internet of vehicles, data interaction needs to be performed between vehicles and a server, such as vehicle real-time position information, driver behavior, vehicle running state, power battery working voltage, charging and discharging current, temperature and the like, so that the vehicles and the internet as well as the vehicles and the vehicles are connected to form a network to realize data intercommunication.
With the perfection of the internet of vehicles and the extension of vehicle functions, the data volume and data receiving and sending frequency requirements of the internet of vehicles service for interaction between vehicles and servers are continuously increased, which not only brings difficulties to data acquisition, sending and storage, but also causes the cost of data communication flow and the development cost of hardware such as vehicle-mounted communication terminals (Telematics BOX, TBOX) to be continuously increased.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, and a system for processing data in an internet of vehicles, so as to solve the problems of communication congestion and high communication cost caused by a huge amount of data interaction between vehicles and a server in the existing internet of vehicles.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a vehicle networking data processing method is applied to a vehicle-mounted communication terminal in a vehicle networking, the vehicle networking further comprises a vehicle networking server, wherein the method comprises the following steps:
when a first preset timing task is reached, acquiring a periodic signal of a vehicle, and uploading data of the periodic signal to the Internet of vehicles server for storage;
when a first event type signal of a vehicle is acquired, uploading data of the first event type signal to the internet of vehicles server for storage;
under the condition that a second event type signal of the vehicle is acquired by the vehicle-mounted communication terminal and is matched with a first event type signal acquired last time, ignoring the second event type signal;
and under the condition that the vehicle-mounted communication terminal acquires a second event type signal and the second event type signal is not matched with the first event type signal acquired last time, uploading data of the second event type signal to the vehicle networking server for storage.
Further, in the method for processing data in the internet of vehicles, when a first preset task is reached, the vehicle-mounted communication terminal acquires a periodic signal of a vehicle, and before uploading data of the periodic signal to the internet of vehicles server for storage, the method further includes:
and receiving a configuration file issued by the Internet of vehicles server, wherein the configuration file comprises the identification information of the periodic signal and the first preset timing task.
Further, in the data processing method for the internet of vehicles, the data of the first event type signal includes a first timestamp for acquiring the first event type signal, and the data of the second event type signal includes a second timestamp for acquiring the second event type signal; the data of the periodic signal comprises a third timestamp for acquiring the periodic signal;
the method further comprises the following steps:
when the vehicle-mounted communication terminal receives a first supplementary transmission instruction of the vehicle networking server, the vehicle-mounted communication terminal uploads data of periodic signals corresponding to timestamp information included in the first supplementary transmission instruction to the vehicle networking server, and the first supplementary transmission instruction includes timestamp information of periodic signals which are not successfully received.
Further, in the data processing method for the internet of vehicles, the data of the first event type signal includes a first data packet sequence number, and the data of the second event type signal includes a second data packet sequence number;
the method further comprises the following steps:
and when a second supplementary transmission instruction issued by the Internet of vehicles server is received, uploading the data of the event type signal corresponding to the data packet sequence number included in the second supplementary transmission instruction to the Internet of vehicles server, wherein the second supplementary transmission instruction includes the data packet sequence number of the event type signal which is not successfully received.
Another objective of the present invention is to provide a device for processing data of a vehicle networking, which is applied to a vehicle-mounted communication terminal in the vehicle networking, and the vehicle networking further includes a vehicle networking server and a vehicle having the vehicle-mounted communication terminal, wherein the device includes:
the first control module is used for acquiring a periodic signal when a first preset timing task is reached, and uploading data of the periodic signal to the Internet of vehicles server for storage;
the second control module is used for uploading data of a first event type signal to the internet of vehicles server for storage when the vehicle-mounted communication terminal acquires the first event type signal;
the third control module is used for neglecting a second event type signal when the vehicle-mounted communication terminal acquires the second event type signal and the second event type signal is matched with the first event type signal acquired last time;
and the fourth control module is used for uploading data of a second event type signal to the internet of vehicles server for storage under the condition that the vehicle-mounted communication terminal acquires the second event type signal and the second event type signal is not matched with the first event type signal acquired last time.
Compared with the prior art, the vehicle networking data processing method and device provided by the invention have the following advantages:
the vehicle-mounted communication terminal is set to only send periodic signals to the vehicle networking server and send first event type signals and second event type signals unmatched with the first event type signals, a large number of second event type signals matched with the first event type signals are omitted from being sent to the vehicle networking server, and data communication flow between the vehicle-mounted communication terminal and the vehicle networking server can be greatly reduced on the premise that stored data content of the vehicle networking server is unchanged and effective data are not reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
The invention also provides another vehicle networking data processing method, which is applied to a vehicle networking server in the vehicle networking, wherein the vehicle networking further comprises a vehicle-mounted communication terminal, and the method comprises the following steps:
receiving and storing data of the periodic signals uploaded by the vehicle-mounted communication terminal;
receiving and storing data of a first event type signal uploaded by the vehicle-mounted communication terminal;
receiving and storing data of a second event type signal uploaded by the vehicle-mounted communication terminal, wherein the second event type signal is not matched with a first event type signal received last time;
and when an inquiry instruction sent by the inquiry terminal is received, adding a periodic signal or a first event signal or a second event signal corresponding to the inquiry instruction into a response aiming at the inquiry instruction.
Further, before receiving and storing the data of the periodic signal uploaded by the vehicle-mounted communication terminal, the vehicle networking data processing method further includes:
and issuing a configuration file to the vehicle-mounted communication terminal, wherein the configuration file comprises identification information of the periodic signal and a first preset timing task, and the configuration file is used for controlling the vehicle-mounted communication terminal to acquire the periodic signal when the first preset timing task is reached.
Further, in the data processing method for the internet of vehicles, the data of the first event type signal includes a first timestamp for acquiring the first event type signal, and the data of the second event type signal includes a second timestamp for acquiring the second event type signal; the data of the periodic signal comprises a third timestamp for acquiring the periodic signal;
receiving data of a first event type signal uploaded by the vehicle-mounted communication terminal, and storing the first event type signal according to a first timestamp in the data of the first event type signal, wherein the first timestamp is a timestamp for acquiring the first event type signal;
the receiving and storing the data of the first event type signal uploaded by the vehicle-mounted communication terminal comprises the following steps:
the vehicle-mounted communication terminal receives data of a second event type signal uploaded by the vehicle-mounted communication terminal, and stores the second event type signal according to a second timestamp in the data of the second event type signal, wherein the second timestamp is a timestamp for acquiring the second event type signal;
the receiving and storing the data of the periodic signal uploaded by the vehicle-mounted communication terminal comprises the following steps:
and receiving data of the periodic signals uploaded by the vehicle-mounted communication terminal, and storing the periodic signals according to a third timestamp in the data of the periodic signals, wherein the third timestamp is a timestamp for acquiring the periodic signals.
Further, in the vehicle networking data processing method, after receiving and storing the data of the second event type signal uploaded by the vehicle-mounted communication terminal, the method further includes:
and after receiving the data of the previous second event type signal and before receiving the data of the next second event type signal, if a second preset timing task is reached, storing the previous second event type signal according to the current time.
Further, in the data processing method for the internet of vehicles, after the data of the last second event type signal is received and before the data of the next second event type signal is received, if a second preset timing task is reached, after the last second event type signal is stored according to the current time, the method further includes:
and after receiving the data of the previous second event type signal, if the data of the next second event type signal is not received after a preset number of second preset timing tasks, stopping the operation of storing the previous second event type signal according to the current time.
Another objective of the present invention is to provide another data processing device for internet of vehicles, which is applied to a server in the internet of vehicles, where the internet of vehicles further includes a vehicle-mounted communication terminal, where the device includes:
the first processing module is used for receiving and storing the data of the periodic signals uploaded by the vehicle-mounted communication terminal;
the second processing module is used for receiving and storing the data of the first event type signal uploaded by the vehicle-mounted communication terminal;
the third processing module is used for receiving and storing data of a second event type signal uploaded by the vehicle-mounted communication terminal, wherein the second event type signal is not matched with the first event type signal received last time;
and the fourth processing module is used for adding the periodic signal or the event signal corresponding to the query instruction into a response aiming at the query instruction when receiving the query instruction sent by the query terminal.
The invention also provides a vehicle networking data processing system, which is applied to the vehicle networking and comprises a vehicle networking server and a vehicle-mounted communication terminal, wherein,
when a first preset task is reached, the vehicle-mounted communication terminal acquires a periodic signal of a vehicle and uploads data of the periodic signal to the internet-of-vehicles server for storage;
the vehicle networking server receives and stores data of the periodic signals uploaded by the vehicle-mounted communication terminal;
when the vehicle-mounted communication terminal acquires a first event type signal of a vehicle, the vehicle-mounted communication terminal uploads the data of the first event type signal to the internet-of-vehicles server for storage;
the vehicle networking server receives and stores data of a first event type signal uploaded by the vehicle communication terminal;
the vehicle-mounted communication terminal ignores a second event type signal when the second event type signal is matched with a first event type signal acquired last time;
the vehicle-mounted communication terminal acquires a second event type signal of the vehicle, and uploads the data of the second event type signal to the vehicle networking server for storage under the condition that the second event type signal is not matched with the first event type signal acquired last time;
the vehicle networking server receives and stores data of a second event type signal uploaded by the vehicle-mounted communication terminal;
and when the Internet of vehicles server receives the query instruction sent by the query terminal, the periodic signal or the event signal corresponding to the query instruction is added to the response aiming at the query instruction.
It is a further object of the present invention to provide a vehicle, wherein the vehicle comprises the internet of vehicles data processing system.
Compared with the prior art, the system and the vehicle have the same advantages as the vehicle networking data processing method and the vehicle networking data processing device, and are not described herein again.
Compared with the prior art, the method, the device and the system for processing the internet of vehicles have the following advantages:
because the vehicle-mounted networking server only needs to receive the periodic signal sent by the vehicle-mounted communication terminal, the first event type signal and the second event type signal unmatched with the first event type signal, a large amount of second event type signals matched with the first event type signal on the vehicle-mounted communication terminal side are omitted, and the data communication flow between the vehicle-mounted communication terminal and the vehicle-mounted networking server can be greatly reduced on the premise that the stored data content of the vehicle-mounted networking server is unchanged and the effective data is not reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of a data processing method for internet of vehicles according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a data processing method for internet of vehicles according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating interaction steps of a method for processing Internet of vehicles data according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data processing apparatus in a car networking according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data processing device in a car networking system according to another embodiment of the present invention.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are illustrated in the accompanying drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, a schematic flow chart of a data processing method of a vehicle networking system according to an embodiment of the present invention is shown, and the data processing method is applied to a vehicle-mounted communication terminal in the vehicle networking system, where the vehicle networking system further includes a vehicle networking server, and the method includes steps S100 to S400.
In the embodiment of the present invention, a Controller Area Network (CAN) signal definition needs to be first performed, and a total CAN Network signal of a vehicle is divided into a periodic signal and an event signal according to a service requirement of an internet of vehicles and an actual change situation of the signal. The full CAN network signal covers various vehicle condition signals of the vehicle. The periodic signal is a high-frequency and periodically-varying signal, and specifically, the periodic signal may be defined as a vehicle speed, a Global Positioning System (GPS) position, an accelerator pedal depth, a steering wheel angle, and the like; the event-type signal is a signal with a low variation frequency and an event trigger type, such as a door switch state, a lamp switch state, a battery remaining charge state of charge, and the like, and can be defined as an event-type signal.
The vehicle-mounted communication terminal is internally provided with the 4G communication module, CAN interact with a vehicle CAN bus and a vehicle networking server, and CAN deeply read the data of the vehicle CAN bus and a private protocol.
In the embodiment of the invention, the event type signal currently acquired by the vehicle-mounted communication terminal is defined as the second event type signal, and the event type signal acquired last time by the vehicle-mounted communication terminal is defined as the first event type signal.
S100, when a first preset timing task is achieved, obtaining periodic signals of the vehicle, and uploading data of the periodic signals to the Internet of vehicles server for storage.
In step S100, the first preset timing task is a timing task preset on the vehicle-mounted communication terminal, and when the first preset timing task reaches the first trigger condition, the vehicle-mounted communication terminal may be triggered to acquire a periodic signal corresponding to the vehicle. In practical application, the first preset time task can be set on a mobile phone application program which establishes communication connection with the vehicle-mounted communication terminal; and the first trigger condition may be a predetermined time, that is, when the current time reaches the predetermined time, the first preset timing task may be triggered.
In actual use, when a task is triggered at the first preset time, the vehicle-mounted communication terminal acquires a periodic signal corresponding to a vehicle through the CAN bus, and uploads data of the periodic signal to the Internet of vehicles server for storage. Optionally, the data of the periodic signal includes a third timestamp for acquiring the periodic signal, so that the vehicle networking server stores the periodic signal in real time according to the third timestamp.
And S200, when the vehicle-mounted communication terminal acquires a first event type signal of a vehicle, uploading data of the first event type signal to the internet of vehicles server for storage.
In the step S200, the vehicle-mounted communication terminal acquires and records the data of the first event-type signal through the CAN bus for the first time, and uploads the data of the first event-type signal to the internet-of-vehicle server for storage.
In practical application, when the vehicle-mounted communication terminal logs on the internet-of-vehicles server and establishes connection for all event type signals for the first time, the vehicle-mounted communication terminal reads and records all event type signal data in the CAN bus, marks an initial state, and uploads the data to the internet-of-vehicles server.
Optionally, in the step S200, the data of the first event type signal includes a first timestamp for acquiring the first event type signal. When uploading the data of the first event type signal to the Internet of vehicles server, the first timestamp of the first event type signal is uploaded to the Internet of vehicles server at the same time, so that the Internet of vehicles server stores the first event type signal in real time according to the first timestamp.
Step S300, under the condition that a second event type signal of the vehicle is acquired by the vehicle-mounted communication terminal and is matched with the first event type signal acquired last time, ignoring the second event type signal.
In the step S300, after the vehicle-mounted communication terminal uploads the data of the first event-type signal to the internet-of-vehicles server for storage, the vehicle-mounted communication terminal continues to acquire a second event-type signal of the vehicle; when the vehicle-mounted communication terminal acquires a second event-type signal of the vehicle, if the matching degree of the second event-type signal and a first event-type signal acquired last time reaches a preset matching degree threshold value, the second event-type signal is matched with the first event-type signal acquired last time, that is, the current second event-type signal is considered to be the same as the first low-frequency event-type information acquired last time, so that the second event-type signal is ignored, that is, the second event-type signal is not uploaded to the internet-of-vehicles server, and therefore the situation that data the same as the first event-type signal is uploaded is avoided.
And step S400, when the vehicle-mounted communication terminal acquires a second event type signal and the second event type signal is not matched with the first event type signal acquired last time, uploading data of the second event type signal to the Internet of vehicles server for storage.
In the step S400, after the vehicle-mounted communication terminal uploads the data of the first event-type signal to the internet-of-vehicles server for storage, the vehicle-mounted communication terminal continues to acquire a second event-type signal of the vehicle; when the vehicle-mounted communication terminal acquires a second event-type signal of the vehicle, if the matching degree of the second event-type signal and a first event-type signal acquired last time does not reach a preset matching degree threshold value, it indicates that the second event-type signal is not matched with the first event-type signal acquired last time, that is, the current second event-type signal is different from the first low-frequency event-type information acquired last time, and therefore the second event-type signal needs to be uploaded to the internet-of-vehicles server, so that the internet-of-vehicles server can store the second event-type signal of the vehicle immediately.
Optionally, in the step S400, the data of the second event type signal includes a second timestamp for acquiring the second event type signal. That is, when the data of the second event type signal is uploaded to the internet of vehicles server, the second timestamp of the second event type signal is uploaded to the internet of vehicles server, so that the internet of vehicles server can store the second event type signal in real time according to the second timestamp.
In practical applications, in the steps S200 to S400, the first event-type signal and the second event-type signal are the same target event-type signal at two time points before and after, and the signal values of the first event-type signal and the second event-type signal may be different or the same; if the first event type signal and the second event type signal acquired last time are the same, the state of the target event type signal is not changed, and therefore the second event type signal is ignored, namely is not uploaded to the Internet of vehicles server; if the first event type signal and the second event type signal acquired last time are different, which indicates that the state of the target event type signal is changed, the changed data of the target event type signal needs to be uploaded to the internet of vehicles server, so that the data of the second event type signal is uploaded to the internet of vehicles server for storage.
Optionally, the vehicle-mounted communication terminal further includes a third preset timing task, and in steps S300 to S400, when the third preset timing is reached, the second event-type signal of the vehicle is acquired. In actual use, when a third preset timing task is triggered, the vehicle-mounted communication terminal acquires a current event type signal of a vehicle through the CAN bus, and uploads data of the current acquired event type signal to the Internet of vehicles server for storage when the current acquired low-frequency event type information is not matched with the last acquired event type signal, namely uploads data of the current acquired second event type signal to the Internet of vehicles server for storage when the current acquired second event type signal is not matched with the last acquired first event type signal.
Compared with the prior art, the vehicle networking data processing method has the following advantages:
the vehicle-mounted communication terminal is set to only send periodic signals to the vehicle networking server and send first event type signals and second event type signals unmatched with the first event type signals, a large number of second event type signals matched with the first event type signals are omitted from being sent to the vehicle networking server, and data communication flow between the vehicle-mounted communication terminal and the vehicle networking server can be greatly reduced on the premise that stored data content of the vehicle networking server is unchanged and effective data are not reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
Optionally, before step S100 in this embodiment of the present invention, the method further includes:
step S101, receiving a configuration file issued by the Internet of vehicles server, wherein the configuration file comprises the identification information of the periodic signal and the first preset timing task.
In the step S101, the identification information of the periodic signal and the corresponding first preset timing task are sent to the vehicle-mounted communication terminal through the vehicle networking server, so that when the vehicle-mounted communication terminal reaches the first preset timing task, the data of the periodic signal is acquired and uploaded to the vehicle networking server for storage.
In practical application, according to the difference between a service and an actual requirement, the periods/frequencies of data acquisition and data uploading corresponding to different periodic signals are different, so that the periods/frequencies of different data acquisition and data uploading need to be defined for different periodic signals, a configuration file is formed, the configuration file is issued to the vehicle-mounted communication terminal through the vehicle-mounted networking server, after the vehicle-mounted communication terminal receives the configuration file, the vehicle-mounted communication terminal acquires signal data of different periodic signals according to the corresponding periods and uploads the signal data to the vehicle-mounted networking server according to the requirements of the configuration file, and meanwhile, the vehicle-mounted networking server stores the actually received data in real time.
Further, in one embodiment, the data of the first event type signal includes a first timestamp for acquiring the first event type signal, and the data of the second event type signal includes a second timestamp for acquiring the second event type signal; the data of the periodic signal comprises a third timestamp for acquiring the periodic signal;
the method further comprises step S500:
step S500, when the vehicle-mounted communication terminal receives a first supplementary transmission instruction of the vehicle networking server, the vehicle-mounted communication terminal uploads data of periodic signals corresponding to timestamp information included in the first supplementary transmission instruction to the vehicle networking server, and the first supplementary transmission instruction includes timestamp information of periodic signals which are not successfully received.
In this embodiment, after the car networking server parses the received data of the periodic signal, the car networking server parses the data of the periodic signal, determines a difference between a current third timestamp included in the data of the current periodic signal and a previous third timestamp included in the data of the previous periodic signal, and determines whether the difference matches a time threshold in a first preset timing task, if the difference does not match the time threshold, it indicates that the data of the middle periodic signal is missing, and in order to ensure that the data of the periodic signal is complete, the car networking server issues a first supplementary transmission instruction to the car communication terminal to control the car communication terminal to upload the data of the periodic signal between the current third timestamp and the previous third timestamp to the car networking server. In practical application, the vehicle-mounted communication terminal buffers the latest data of a plurality of periodic signals.
In another embodiment, in an embodiment of the present invention, the data of the first event type signal includes a first packet sequence number, and the data of the second event type signal includes a second packet sequence number;
the method further comprises step S600:
step S600, when a second supplementary transmission instruction issued by the internet of vehicles server is received, uploading data of the event type signal corresponding to the data packet sequence number included in the second supplementary transmission instruction to the internet of vehicles server, where the second supplementary transmission instruction includes the data packet sequence number of the event type signal which is not successfully received.
In this embodiment, after the car networking server parses the received data of the second event type signal, the car networking server parses the data of the second event type signal, determines whether a second packet number included in the data of the current second event type signal and a first packet number included in the data of the last first event type signal are consecutive, and if not, indicates that the data of the second event type signal between the first packet number and the second packet number are missing. In practical application, the vehicle-mounted communication terminal buffers data of a plurality of second event type signals which are latest.
In the embodiment of the invention, before the data of the periodic signal is uploaded to the internet of vehicles server for storage, the data of the periodic signal is packaged; before uploading the data of the first event type signal to the Internet of vehicles server for storage, packaging the data of the first event type signal; and packaging the data of the second event type signal before uploading the data of the second event type signal to the Internet of vehicles server for storage.
The data packets obtained after the packaging processing are composed of start symbols, command identifiers, response identifiers, VINs, data unit encryption modes, data unit lengths, data units and check codes, and the visual structures of the data packets are shown in Table 1. Wherein, the command identifier is used for distinguishing the event type signal data packet from the periodic type signal data packet. The packet obtained by the above-described packetization processing may specifically adopt the architecture specified in GB/T32960-2016.3.
TABLE 1
Referring to fig. 2, a schematic flow chart of another data processing method for the internet of vehicles according to the embodiment of the present invention is shown, where the another data processing method for the internet of vehicles according to the embodiment of the present invention is applied to a server for the internet of vehicles in the internet of vehicles, and the internet of vehicles further includes a vehicle-mounted communication terminal, where the method includes steps S201 to S204.
In the embodiment of the invention, the event type signal currently acquired by the vehicle-mounted communication terminal is defined as the second event type signal, and the event type signal acquired last time by the vehicle-mounted communication terminal is defined as the first event type signal.
And step S201, receiving and storing the data of the periodic signal uploaded by the vehicle-mounted communication terminal.
In the step S201, the car networking server stores the data of the periodic signal uploaded by the vehicle-mounted communication terminal in real time according to actual reception, so that other devices can query the periodic signal of the vehicle in real time through the car networking server, and the effect of periodic signal interaction is achieved.
And step S202, receiving and storing the data of the first event type signal uploaded by the vehicle-mounted communication terminal.
In the step S202, the car networking server stores the data of the first event type signal uploaded by the vehicle-mounted communication terminal in real time according to actual reception, so that other devices can query the first event type signal of the vehicle in real time through the car networking server, and an effect of interaction of the first event type signal is achieved.
And step S203, receiving and storing data of a second event type signal uploaded by the vehicle-mounted communication terminal, wherein the second event type signal is not matched with the first event type signal received last time.
In step S203, when the vehicle networking server actually receives the data of the second event type signal that is uploaded by the vehicle-mounted communication terminal and is not matched with the last received first event type signal, the data is stored in real time, so that other devices can query the second event type signal of the vehicle in real time through the vehicle networking server, and an effect of second event type signal interaction is achieved.
Step S204, when receiving the query instruction sent by the query terminal, adding the periodic signal or the first event signal or the second event signal corresponding to the query instruction into the response aiming at the query instruction.
In step S204, when the query terminal is to query a target signal of a vehicle, it sends a query instruction to the internet of vehicles server, where the query instruction includes identification information of the target signal, and the target signal may be a periodic signal or a first event type signal or a second event type signal; when the internet of vehicles server receives the query instruction, the corresponding periodic signal or the first event signal or the second event signal is added to the response aiming at the query instruction according to the identification information of the target signal, and then the target signal can be sent to the query terminal.
Compared with the prior art, the control method of the vehicle lamp has the following advantages:
because the vehicle-mounted networking server only needs to receive the periodic signal sent by the vehicle-mounted communication terminal, the first event type signal and the second event type signal unmatched with the first event type signal, a large amount of second event type signals matched with the first event type signal on the vehicle-mounted communication terminal side are omitted, and the data communication flow between the vehicle-mounted communication terminal and the vehicle-mounted networking server can be greatly reduced on the premise that the stored data content of the vehicle-mounted networking server is unchanged and the effective data is not reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
In a preferred embodiment, the data processing method for the internet of vehicles provided by the present invention is applied to a server of the internet of vehicles in the internet of vehicles, and the internet of vehicles further includes a vehicle-mounted communication terminal, wherein the method includes steps S301 to S307.
Step S301, a configuration file is issued to the vehicle-mounted communication terminal, wherein the configuration file comprises identification information of periodic signals and a first preset timing task, and the periodic signals are acquired when the vehicle-mounted communication terminal is controlled to reach the first preset timing task through the configuration file.
For the above step S301, in practical application, according to the difference between the service and the actual requirement, the periods/frequencies of data acquisition and data uploading corresponding to different periodic signals are different, so that it is necessary to define the periods/frequencies of data acquisition and data uploading for different periodic signals, form a configuration file, and then send the configuration file to the vehicle-mounted communication terminal through the vehicle-mounted communication server, after receiving the configuration file, the vehicle-mounted communication terminal acquires signal data of different periodic signals according to the corresponding periods and uploads the signal data to the vehicle-mounted communication server according to the requirements of the configuration file, and at the same time, the vehicle-mounted communication server stores the actually received data in real time.
Step S302, receiving data of the periodic signals uploaded by the vehicle-mounted communication terminal, and storing the periodic signals according to a third timestamp in the data of the periodic signals, wherein the third timestamp is a timestamp for acquiring the periodic signals.
In the step S302, when uploading the data of the periodic signal, the vehicle-mounted communication terminal uploads the third timestamp of the acquired periodic signal together, so that the vehicle networking server stores the periodic signal in real time according to the third timestamp.
Step S303, if the time difference between the current third timestamp and the last third timestamp is not matched with the time threshold value in the first preset time task, a first supplementary transmission instruction is issued to the vehicle-mounted communication terminal so as to control the vehicle-mounted communication terminal to upload the data of the periodic signals between the current third timestamp and the last third timestamp to the vehicle networking server.
In step S304, since the vehicle-mounted communication terminal acquires the periodic signal of the vehicle according to the first preset time task and uploads the data of the periodic signal to the internet of vehicles server, theoretically, the time difference between the current third timestamp received by the internet of vehicles server and the last third timestamp should match the time threshold in the first preset time task. The current third timestamp is a third timestamp in the data of the currently received periodic signal, and the last third timestamp is a third timestamp in the data of the last received periodic signal.
In the step S304, if the time difference between the current third timestamp and the last third timestamp should not match the time threshold in the first preset time task, it indicates that there is data loss of the periodic signal between the current third timestamp and the last third timestamp. In order to ensure the integrity of the data of the periodic signal, the vehicle networking server issues a first supplementary transmission instruction to the vehicle communication terminal to control the vehicle communication terminal to upload the data of the periodic signal between the current third timestamp and the last third timestamp to the vehicle networking server again. In practical application, the vehicle-mounted communication terminal buffers the latest data of a plurality of periodic signals.
Optionally, when the vehicle networking server receives data of the periodic signal between the current third timestamp and the last third timestamp, the periodic signal between the current third timestamp and the last third timestamp is stored according to the third timestamp in the data.
Step S304, receiving data of a first event type signal uploaded by the vehicle-mounted communication terminal, and storing the first event type signal according to a first timestamp in the data of the first event type signal, where the first timestamp is a timestamp for acquiring the first event type signal.
In the step S304, when the vehicle-mounted communication terminal uploads the data of the first event-type signal, the vehicle-mounted communication terminal uploads the first timestamp of the acquired first event-type signal together, so that the vehicle networking server stores the periodic signal in real time according to the first timestamp.
Step S305, receiving data of a second event type signal uploaded by the vehicle-mounted communication terminal, and storing the second event type signal according to a second timestamp in the data of the second event type signal, where the second event type signal is not matched with a last received first event type signal, and the second timestamp is a timestamp for acquiring the second event type signal.
In the step S305, when uploading data of a second event-type signal that is not matched with the last acquired first event-type signal, the vehicle-mounted communication terminal uploads a second timestamp of the acquired second event-type signal together, so that the vehicle networking server stores the periodic signal in real time according to the second timestamp.
Step S306, if the currently received second packet sequence number is not consecutive to the last received first packet sequence number, issuing a second retransmission instruction to the vehicle-mounted communication terminal to control the vehicle-mounted communication terminal to upload data of a second event type signal that has not been successfully received to the vehicle-mounted networking server, where the second event type signal that has not been successfully received is a second event type signal corresponding to a packet sequence number between the currently received second packet sequence number and the last received first packet sequence number, the currently received second packet sequence number is a packet sequence number in the data of the currently received second event type signal, and the last received first packet sequence number is a packet sequence number in the data of the last received first event type signal.
When the vehicle-mounted communication terminal is used for data of the first event type signal, a first data packet serial number is marked to the data of the first event type signal; and when the vehicle-mounted communication terminal is used for the data of the second event type signal, a second data packet sequence number is marked to the data of the second event type signal, and the second data packet sequence number is continuous with the first data packet sequence number. If the uploaded data of the first event type signal and the uploaded data of the second event type signal are not lost, the sequence number of the second data packet currently received by the internet of vehicles server is continuous with the sequence number of the last first data packet received by the internet of vehicles server. If the second data packet sequence number is not continuous with the first data packet sequence number, the fact that the second event type signal data between the first data packet sequence number received last time and the currently received second data packet sequence number is missing is indicated, and in order to guarantee the integrity of the second event type signal data, the vehicle networking server sends a second supplementary transmission instruction to the vehicle communication terminal so as to control the vehicle communication terminal to upload the second low-frequency event type signal data between the first data packet sequence number received last time and the currently received second data packet sequence number to the vehicle networking server. In practical application, the vehicle-mounted communication terminal buffers data of a plurality of second event type signals which are latest.
Optionally, when the vehicle networking server receives the data of the second event type signal which is not successfully received, the second event type signal which is not successfully received is stored according to the time stamp in the data of the second event type signal which is not successfully received.
Step S307, when receiving the query instruction sent by the query terminal, adding the periodic signal or the first event signal or the second event signal corresponding to the query instruction to the response to the query instruction.
The above step S307 can refer to the description of step S204, and is not described herein again.
Optionally, the method for processing data in the internet of vehicles according to the embodiment of the present invention further includes step S308:
step S308, after receiving the data of the previous second event type signal and before receiving the data of the next second event type signal, if the second preset timing task is reached, storing the previous second event type signal according to the current time.
In step S308, since the car networking server needs to store the second event type signals at different times, and after receiving the data of the previous second event type signal and before receiving the data of the next second event type signal, it indicates that the target event type signal is not changed, and the state matching the first event type signal is maintained, so that the second preset timing task can be achieved, and the previous second event type signal is stored according to the current time.
Optionally, in the method for processing data in the internet of vehicles according to the embodiment of the present invention, after step S308, step S309 is further included:
step S309, after receiving the data of the previous second event type signal, if the data of the next second event type signal has not been received after a preset number of second preset timing tasks have passed, stopping the operation of storing the previous second event type signal according to the current time.
In step S309, if the data of the next second event type signal is not received after the predetermined number of second predetermined timing tasks have elapsed after the data of the previous second event type signal is received, it is determined that the vehicle is in the sleep state, and the signal does not change in a short time, so that the operation of storing the previous second event type signal at the current time may be stopped.
Compared with the prior art, the control method of the vehicle lamp has the following advantages:
the vehicle networking server only needs to receive the periodic signal sent by the vehicle communication terminal, the first event type signal and the second event type signal which is not matched with the first event type signal, so that a large number of second event type signals matched with the first event type signal on the vehicle communication terminal side are omitted, and the data communication flow between the vehicle communication terminal and the vehicle networking server can be greatly reduced on the premise that the stored data content of the vehicle networking server is not changed and the effective data is not reduced; meanwhile, whether a periodic signal is lost is determined by judging whether the time difference between the current third timestamp and the last third timestamp is matched with a time threshold value in the first preset timing task, and a first supplementary transmission instruction is issued to the vehicle-mounted communication terminal when the periodic signal is lost so as to control the vehicle-mounted communication terminal to upload data of the periodic signal between the current third timestamp and the last third timestamp to the vehicle networking server; and whether a second event type signal is lost is continuously determined through the currently received second data packet sequence number and the last received first data packet sequence number, and a second supplementary transmission instruction is issued to the vehicle-mounted communication terminal when the second event type signal is determined to be lost, so that the vehicle-mounted communication terminal is controlled to upload the data of the second event type signal which is not successfully received to the vehicle networking server. Therefore, the problems that communication congestion is caused easily, communication cost is overhigh and supplementary transmission cannot be carried out after signals are lost due to the fact that massive data interaction needs to be carried out between vehicles and a server in the existing vehicle networking are solved.
Fig. 3 shows a flowchart of interaction steps of a method for processing data in a vehicle networking system, which is applied to a vehicle networking system, where the vehicle networking system includes a vehicle networking server and a vehicle communication terminal, and the method includes steps S401 to S410:
step S401, the vehicle networking server issues a configuration file to the vehicle-mounted communication terminal, wherein the configuration file comprises identification information of the periodic signal and a first preset timing task.
The above step S401 can refer to the description of step S301, and is not described herein again.
Step S402, the vehicle-mounted communication terminal receives a configuration file issued by the Internet of vehicles server, wherein the configuration file comprises the identification information of the periodic signal and the first preset timing task.
The above step S402 can refer to the description of step S101, and is not described herein again.
Step S403, when the first preset time task is reached, the vehicle-mounted communication terminal acquires a periodic signal of the vehicle and uploads data of the periodic signal to the Internet of vehicles server for storage.
The above step S403 can refer to the description of step S100, and is not described herein again.
S404, the vehicle networking server receives and stores the data of the periodic signals uploaded by the vehicle-mounted communication terminal.
The above step S403 can refer to the description of step S201, and is not described herein again.
S405, when the vehicle-mounted communication terminal acquires a first event type signal of a vehicle, uploading data of the first event type signal to the internet of vehicles server for storage.
The above step S405 can refer to the description of step S200, and is not described herein again.
And S406, the Internet of vehicles server receives and stores the data of the first event type signal uploaded by the vehicle-mounted communication terminal.
The above step S406 can refer to the description of step S202, and is not described herein again.
Step S407, the vehicle-mounted communication terminal ignores a second event type signal when the second event type signal is acquired by the vehicle-mounted communication terminal and the second event type signal is matched with the first event type signal acquired last time.
The above step S407 can refer to the description of step S300, and is not described herein again.
Step S408, the vehicle-mounted communication terminal acquires a second event type signal, and when the second event type signal is not matched with the first event type signal acquired last time, data of the second event type signal is uploaded to the Internet of vehicles server to be stored.
The above step S408 can refer to the description of step S400, and is not described herein again.
And step S409, the Internet of vehicles server receives and stores the data of the second event type signal uploaded by the vehicle-mounted communication terminal, wherein the second event type signal is not matched with the first event type signal received last time.
The above step S409 can refer to the description of step S203, and is not described herein again.
Step S410, when receiving the query instruction sent by the query terminal, adding the periodic signal or the first frequency event type signal or the second event type signal corresponding to the query instruction to the response for the query instruction.
The above step S410 can refer to the description of step S204, and is not described herein again.
Compared with the prior art, the vehicle networking data processing method provided by the embodiment of the invention has the following advantages:
the configuration file is issued to the vehicle-mounted communication terminal through the vehicle networking server, after the vehicle-mounted communication terminal receives the configuration file, the vehicle-mounted communication terminal is set to only send periodic signals to the vehicle networking server and send first event type signals and second event type signals unmatched with the first event type signals, a large number of second event type signals matched with the first event type signals are sent to the vehicle networking server, and on the premise that the stored data content of the vehicle networking server is unchanged and effective data are not reduced, the data communication flow between the vehicle-mounted communication terminal and the vehicle networking server is greatly reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
Another objective of the present invention is to provide a data processing device for internet of vehicles, which is applied to a vehicle-mounted communication terminal in the internet of vehicles, where the internet of vehicles further includes a vehicle-mounted network server and a vehicle with the vehicle-mounted communication terminal, and please refer to fig. 4, fig. 4 shows a schematic structural diagram of the data processing device for internet of vehicles according to an embodiment of the present invention, and the device includes:
the first control module 11 is configured to, when a first preset timing task is reached, acquire a periodic signal and upload data of the periodic signal to the internet-of-vehicles server for storage;
the second control module 21 is configured to upload data of a first event type signal to the internet of vehicles server for storage when the vehicle-mounted communication terminal acquires the first event type signal;
a third control module 31, configured to ignore a second event type signal obtained by the vehicle-mounted communication terminal when the second event type signal matches the first event type signal obtained last time;
and the fourth control module 41 is configured to, when the vehicle-mounted communication terminal acquires a second event-type signal and the second event-type signal is not matched with the first event-type signal acquired last time, upload data of the second event-type signal to the internet of vehicles server for storage.
In the device according to the embodiment of the present invention, the vehicle-mounted communication terminal is set to send the periodic signal to the internet-of-vehicle server through the first control module 11, send the first event-type signal to the internet-of-vehicle server through the second control module 21, and send the second event-type signal unmatched with the first event-type signal to the internet-of-vehicle server through the fourth control module 41, so that a large number of second event-type signals matched with the first event-type signal are sent to the internet-of-vehicle server, and on the premise of ensuring that the content of data stored in the internet-of-vehicle server is unchanged and the effective data is not reduced, the data communication flow between the vehicle-mounted communication terminal and the internet-of-vehicle server is greatly reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
Optionally, the car networking data processing apparatus further includes:
and the configuration file receiving module is used for receiving a configuration file issued by the Internet of vehicles server, wherein the configuration file comprises the identification information of the periodic signal and the first preset timing task.
Optionally, in the internet of vehicles data processing apparatus, the data of the first event type signal includes a first timestamp for acquiring the first event type signal, and the data of the second event type signal includes a second timestamp for acquiring the second event type signal; the data of the periodic signal comprises a third timestamp for acquiring the periodic signal;
the car networking data processing apparatus still includes:
the first supplementary transmission module is used for uploading data of periodic signals corresponding to timestamp information included by the first supplementary transmission instruction to the Internet of vehicles server when the vehicle-mounted communication terminal receives the first supplementary transmission instruction of the Internet of vehicles server, and the first supplementary transmission instruction includes timestamp information of the periodic signals which are not successfully received.
Optionally, in the data processing apparatus of the internet of vehicles, the data of the first event type signal includes a first data packet serial number, and the data of the second event type signal includes a second data packet serial number;
the car networking data processing apparatus still includes:
and the second supplementary transmission module is used for uploading the data of the event type signal corresponding to the data packet sequence number included in the second supplementary transmission instruction to the Internet of vehicles server when the second supplementary transmission instruction issued by the Internet of vehicles server is received, wherein the second supplementary transmission instruction includes the data packet sequence number of the event type signal which is not successfully received.
Another objective of the present invention is to provide a data processing device for a car networking, which is applied to a car networking server in a car networking, where the car networking further includes a vehicle-mounted communication terminal, and referring to fig. 5, fig. 5 shows a schematic structural diagram of the data processing device for a car networking according to an embodiment of the present invention, where the data processing device for a car networking includes:
the first processing module 12 is configured to receive and store data of the periodic signal uploaded by the vehicle-mounted communication terminal;
the second processing module 22 is used for receiving and storing the data of the first event type signal uploaded by the vehicle-mounted communication terminal;
a third processing module 32, configured to receive and store data of a second event-type signal uploaded by the vehicle-mounted communication terminal, where the second event-type signal is not matched with the first event-type signal received last time;
the fourth processing module 42 is configured to, when receiving an inquiry instruction sent by the inquiry terminal, add a periodic signal or an event signal corresponding to the inquiry instruction to a response to the inquiry instruction.
In the device according to the embodiment of the present invention, the car networking server is configured to receive only the periodic signal sent by the car communication terminal through the first processing module 12, the first event type signal sent by the car communication terminal through the second processing module 22, and the second event type signal sent by the car communication terminal and unmatched with the first event type signal through the third processing module 32, so that a large number of second event type signals matched with the first event type signal on the side of the car communication terminal are omitted, and on the premise of ensuring that the data content stored in the car networking server is not changed and the effective data is not reduced, the data communication flow between the car communication terminal and the car networking server is greatly reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
Optionally, the car networking data processing apparatus further includes:
and the configuration file issuing module is used for issuing a configuration file to the vehicle-mounted communication terminal, wherein the configuration file comprises identification information of the periodic signal and a first preset timing task, so that the vehicle-mounted communication terminal is controlled by the configuration file to acquire the periodic signal when the first preset timing task is reached.
Optionally, in the data processing device of the internet of vehicles,
the first processing module 12 is specifically configured to receive data of a periodic signal uploaded by the vehicle-mounted communication terminal, and store the periodic signal according to a third timestamp in the data of the periodic signal, where the third timestamp is a timestamp for acquiring the periodic signal;
the second processing module 22 is specifically configured to receive data of a first event-type signal uploaded by the vehicle-mounted communication terminal, and store the first event-type signal according to a first timestamp in the data of the first event-type signal, where the first timestamp is a timestamp for acquiring the first event-type signal;
the third processing module 32 is specifically configured to receive data of a second event-type signal uploaded by the vehicle-mounted communication terminal, and store the second event-type signal according to a second timestamp in the data of the second event-type signal, where the second timestamp is a timestamp for acquiring the second event-type signal;
optionally, the internet of vehicles data processing apparatus further includes:
and the first command module is used for issuing a first supplementary transmission instruction to the vehicle-mounted communication terminal if the time difference between the current third timestamp and the last third timestamp is not matched with the time threshold value in the first preset time task so as to control the vehicle-mounted communication terminal to upload the data of the periodic signals between the current third timestamp and the last third timestamp to the vehicle networking server.
Optionally, the internet of vehicles data processing apparatus further includes:
and the updating storage module is used for storing the previous second event type signal according to the current time if a second preset timing task is reached after the data of the previous second event type signal is received and before the data of the next second event type signal is received.
Optionally, the internet of vehicles data processing apparatus further includes:
and the termination module is used for stopping the operation of storing the previous second event type signal according to the current time after receiving the data of the previous second event type signal and if the data of the next second event type signal is not received after a preset number of second preset timing tasks.
Another objective of the present invention is to provide a data processing system for car networking, which is applied to car networking, where the car networking includes a car networking server and a car communication terminal, and the system includes:
when a first preset task is reached, the vehicle-mounted communication terminal acquires a periodic signal of a vehicle and uploads data of the periodic signal to the internet-of-vehicles server for storage;
the vehicle networking server receives and stores data of the periodic signals uploaded by the vehicle-mounted communication terminal;
when the vehicle-mounted communication terminal acquires a first event type signal of a vehicle, the vehicle-mounted communication terminal uploads the data of the first event type signal to the internet-of-vehicles server for storage;
the vehicle networking server receives and stores data of a first event type signal uploaded by the vehicle communication terminal;
the vehicle-mounted communication terminal ignores a second event type signal when the second event type signal is matched with a first event type signal acquired last time;
the vehicle-mounted communication terminal acquires a second event type signal of the vehicle, and uploads the data of the second event type signal to the vehicle networking server for storage under the condition that the second event type signal is not matched with the first event type signal acquired last time;
the vehicle networking server receives and stores data of a second event type signal uploaded by the vehicle-mounted communication terminal;
and when the Internet of vehicles server receives the query instruction sent by the query terminal, the periodic signal or the first event signal or the second event signal corresponding to the query instruction is added to the response aiming at the query instruction.
It is a further object of the present invention to provide a vehicle, wherein the vehicle comprises the internet of vehicles data processing system.
The advantages of the vehicle networking data processing system, the vehicle and the vehicle networking data processing method and device compared with the prior art are the same, and are not repeated herein
Technical details and benefits regarding the above-described system and vehicle have been set forth in the above-described method and will not be described in detail herein.
In summary, the method, the device, the system and the vehicle for processing the vehicle networking data provided by the application set the vehicle communication terminal to only send the periodic signal to the vehicle networking server and send the first event type signal and the second event type signal unmatched with the first event type signal, so that the situation that a large amount of second event type signals matched with the first event type signals are sent to the vehicle networking server is eliminated, and the data communication flow between the vehicle communication terminal and the vehicle networking server is greatly reduced on the premise that the stored data content of the vehicle networking server is unchanged and the effective data is not reduced. Therefore, the problems that communication congestion and overhigh communication cost are easily caused by massive data interaction between vehicles and a server in the existing vehicle networking are solved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (13)
1. A data processing method of the Internet of vehicles is applied to a vehicle-mounted communication terminal in the Internet of vehicles, the Internet of vehicles further comprises an Internet of vehicles server, and the method is characterized by comprising the following steps:
when a first preset timing task is reached, acquiring a periodic signal of a vehicle, and uploading data of the periodic signal to the Internet of vehicles server for storage;
when a first event type signal of a vehicle is acquired, uploading data of the first event type signal to the internet of vehicles server for storage;
when a second event type signal of the vehicle is acquired and the second event type signal is matched with a first event type signal acquired last time, ignoring the second event type signal;
and uploading data of a second event type signal to the Internet of vehicles server for storage under the condition that the second event type signal is acquired and is not matched with the first event type signal acquired last time.
2. The vehicle networking data processing method according to claim 1, wherein when a first preset time task is reached, before the vehicle-mounted communication terminal acquires a periodic signal of a vehicle and uploads data of the periodic signal to the vehicle networking server for storage, the method further comprises:
and receiving a configuration file issued by the Internet of vehicles server, wherein the configuration file comprises the identification information of the periodic signal and the first preset timing task.
3. The internet of vehicles data processing method of claim 1, wherein the data of the first event type signal includes a first timestamp of the acquisition of the first event type signal and the data of the second event type signal includes a second timestamp of the acquisition of the second event type signal; the data of the periodic signal comprises a third timestamp for acquiring the periodic signal;
the method further comprises the following steps:
when the vehicle-mounted communication terminal receives a first supplementary transmission instruction of the vehicle networking server, the vehicle-mounted communication terminal uploads data of periodic signals corresponding to timestamps included in the first supplementary transmission instruction to the vehicle networking server, and the first supplementary transmission instruction includes timestamps of periodic signals which are not successfully received.
4. The internet-of-vehicles data processing method of claim 1, wherein the data of the first event type signal comprises a first data packet sequence number and the data of the second event type signal comprises a second data packet sequence number;
the method further comprises the following steps:
and when a second supplementary transmission instruction issued by the Internet of vehicles server is received, uploading the data of the event type signal corresponding to the data packet sequence number included in the second supplementary transmission instruction to the Internet of vehicles server, wherein the second supplementary transmission instruction includes the data packet sequence number of the event type signal which is not successfully received.
5. A vehicle networking data processing method is applied to a vehicle networking server in a vehicle networking, the vehicle networking further comprises a vehicle-mounted communication terminal, and the method is characterized by comprising the following steps:
receiving and storing data of the periodic signals uploaded by the vehicle-mounted communication terminal;
receiving and storing data of a first event type signal uploaded by the vehicle-mounted communication terminal;
receiving and storing data of a second event type signal uploaded by the vehicle-mounted communication terminal, wherein the second event type signal is not matched with a first event type signal received last time;
and when an inquiry instruction sent by the inquiry terminal is received, adding a periodic signal or a first event signal or a second event signal corresponding to the inquiry instruction into a response aiming at the inquiry instruction.
6. The vehicle networking data processing method according to claim 5, further comprising, before receiving and storing the data of the periodic signal uploaded by the vehicle-mounted communication terminal:
and issuing a configuration file to the vehicle-mounted communication terminal, wherein the configuration file comprises identification information of the periodic signal and a first preset timing task, and the configuration file is used for controlling the vehicle-mounted communication terminal to acquire the periodic signal when the first preset timing task is reached.
7. The Internet of vehicles data processing method of claim 6, wherein the receiving and storing the data of the first event type signal uploaded by the vehicle-mounted communication terminal comprises:
receiving data of a first event type signal uploaded by the vehicle-mounted communication terminal, and storing the first event type signal according to a first timestamp in the data of the first event type signal, wherein the first timestamp is a timestamp for acquiring the first event type signal;
the receiving and storing the data of the first event type signal uploaded by the vehicle-mounted communication terminal comprises the following steps:
the vehicle-mounted communication terminal receives data of a second event type signal uploaded by the vehicle-mounted communication terminal, and stores the second event type signal according to a second timestamp in the data of the second event type signal, wherein the second timestamp is a timestamp for acquiring the second event type signal;
the receiving and storing the data of the periodic signal uploaded by the vehicle-mounted communication terminal comprises the following steps:
and receiving data of the periodic signals uploaded by the vehicle-mounted communication terminal, and storing the periodic signals according to a third timestamp in the data of the periodic signals, wherein the third timestamp is a timestamp for acquiring the periodic signals.
8. The vehicle networking data processing method according to claim 7, further comprising, after the receiving and storing the data of the periodic signal uploaded by the vehicle-mounted communication terminal:
and if the time difference between the current third timestamp and the last third timestamp is not matched with the time threshold value in the first preset time task, issuing a first supplementary transmission instruction to the vehicle-mounted communication terminal to control the vehicle-mounted communication terminal to upload the data of the periodic signals between the current third timestamp and the last third timestamp to the vehicle networking server.
9. The vehicle networking data processing method according to claim 5, wherein after receiving and storing the data of the second event type signal uploaded by the vehicle-mounted communication terminal, the method further comprises:
and after receiving the data of the previous second event type signal and before receiving the data of the next second event type signal, if a second preset timing task is reached, storing the previous second event type signal according to the current time.
10. The internet-of-vehicles data processing method of claim 9, wherein after receiving the data of the last second event type signal and before receiving the data of the next second event type signal, if the second preset timing task is reached, after storing the last second event type signal according to the current time, further comprising:
and after receiving the data of the previous second event type signal, if the data of the next second event type signal is not received after a preset number of second preset timing tasks, stopping the operation of storing the previous second event type signal according to the current time.
11. The utility model provides a car networking data processing apparatus, is applied to the vehicle communication terminal in the car networking, the car networking still includes car networking server and has the vehicle of vehicle communication terminal, its characterized in that, the device includes:
the first control module is used for acquiring a periodic signal when a first preset timing task is reached, and uploading data of the periodic signal to the Internet of vehicles server for storage;
the second control module is used for uploading data of a first event type signal to the Internet of vehicles server for storage when the first event type signal is acquired;
the third control module is used for acquiring a second event type signal, and neglecting the second event type signal under the condition that the second event type signal is matched with the first event type signal acquired last time;
and the fourth control module is used for uploading data of a second event type signal to the internet of vehicles server for storage under the condition that the vehicle-mounted communication terminal acquires the second event type signal and the second event type signal is not matched with the first event type signal acquired last time.
12. The utility model provides a car networking data processing apparatus, is applied to the car networking server in the car networking, the car networking still includes on-vehicle communication terminal, its characterized in that, the device includes:
the first processing module is used for receiving and storing the data of the periodic signals uploaded by the vehicle-mounted communication terminal;
the second processing module is used for receiving and storing the data of the first event type signal uploaded by the vehicle-mounted communication terminal;
the third processing module is used for receiving and storing data of a second event type signal uploaded by the vehicle-mounted communication terminal, wherein the second event type signal is not matched with the first event type signal received last time;
and the fourth processing module is used for adding the periodic signal or the event signal corresponding to the query instruction into a response aiming at the query instruction when receiving the query instruction sent by the query terminal.
13. A data processing system of the Internet of vehicles is applied to the Internet of vehicles, the Internet of vehicles comprises an Internet of vehicles server and a vehicle-mounted communication terminal,
when a first preset task is reached, the vehicle-mounted communication terminal acquires a periodic signal of a vehicle and uploads data of the periodic signal to the internet-of-vehicles server for storage;
the vehicle networking server receives and stores data of the periodic signals uploaded by the vehicle-mounted communication terminal;
when the vehicle-mounted communication terminal acquires a first event type signal of a vehicle, the vehicle-mounted communication terminal uploads the data of the first event type signal to the internet-of-vehicles server for storage;
the vehicle networking server receives and stores data of a first event type signal uploaded by the vehicle communication terminal;
the vehicle-mounted communication terminal ignores a second event type signal when the second event type signal is matched with a first event type signal acquired last time;
the vehicle-mounted communication terminal acquires a second event type signal of the vehicle, and uploads the data of the second event type signal to the vehicle networking server for storage under the condition that the second event type signal is not matched with the first event type signal acquired last time;
the vehicle networking server receives and stores data of a second event type signal uploaded by the vehicle-mounted communication terminal;
and when the Internet of vehicles server receives the query instruction sent by the query terminal, the periodic signal or the first event signal or the second event signal corresponding to the query instruction is added to the response aiming at the query instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911275390.2A CN112995249B (en) | 2019-12-12 | 2019-12-12 | Internet of vehicles data processing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911275390.2A CN112995249B (en) | 2019-12-12 | 2019-12-12 | Internet of vehicles data processing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112995249A true CN112995249A (en) | 2021-06-18 |
CN112995249B CN112995249B (en) | 2022-05-17 |
Family
ID=76331624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911275390.2A Active CN112995249B (en) | 2019-12-12 | 2019-12-12 | Internet of vehicles data processing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112995249B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114500597A (en) * | 2022-01-19 | 2022-05-13 | 云控智行科技有限公司 | Vehicle data processing method and device |
CN114866484A (en) * | 2022-04-29 | 2022-08-05 | 广州小鹏汽车科技有限公司 | Vehicle, data transparent transmission method thereof and computer readable storage medium |
CN117670172A (en) * | 2023-10-27 | 2024-03-08 | 广东省电子口岸管理有限公司 | Foreign trade data processing method and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1565008A (en) * | 2001-10-04 | 2005-01-12 | 欧姆龙株式会社 | Sensor management apparatus, sensor management apparatus control program, computer-readable recording medium containing the program, and sensor management apparatus control method |
CN101992736A (en) * | 2010-11-15 | 2011-03-30 | 埃泰克汽车电子(芜湖)有限公司 | Car communication system and communication method thereof |
CN201898522U (en) * | 2010-11-15 | 2011-07-13 | 埃泰克汽车电子(芜湖)有限公司 | Car communication system |
CN104050555A (en) * | 2014-07-06 | 2014-09-17 | 山东天海科技股份有限公司 | Beidou car networking logistics information service platform |
US20170111183A1 (en) * | 2015-10-20 | 2017-04-20 | Toyota Jidosha Kabushiki Kaisha | In-vehicle recording system and in-vehicle control apparatus |
CN107026799A (en) * | 2017-03-01 | 2017-08-08 | 杭州伯坦科技工程有限公司 | The flow control methods of new-energy automobile car networking system onboard terminal |
CN108377266A (en) * | 2018-02-07 | 2018-08-07 | 安徽星网软件技术有限公司 | A kind of Real-time Data Transfer Method and system based on car networking |
CN109862106A (en) * | 2019-03-04 | 2019-06-07 | 知轮(杭州)科技有限公司 | The processing method and system of online monitoring data |
-
2019
- 2019-12-12 CN CN201911275390.2A patent/CN112995249B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1565008A (en) * | 2001-10-04 | 2005-01-12 | 欧姆龙株式会社 | Sensor management apparatus, sensor management apparatus control program, computer-readable recording medium containing the program, and sensor management apparatus control method |
CN101992736A (en) * | 2010-11-15 | 2011-03-30 | 埃泰克汽车电子(芜湖)有限公司 | Car communication system and communication method thereof |
CN201898522U (en) * | 2010-11-15 | 2011-07-13 | 埃泰克汽车电子(芜湖)有限公司 | Car communication system |
CN104050555A (en) * | 2014-07-06 | 2014-09-17 | 山东天海科技股份有限公司 | Beidou car networking logistics information service platform |
US20170111183A1 (en) * | 2015-10-20 | 2017-04-20 | Toyota Jidosha Kabushiki Kaisha | In-vehicle recording system and in-vehicle control apparatus |
CN107026799A (en) * | 2017-03-01 | 2017-08-08 | 杭州伯坦科技工程有限公司 | The flow control methods of new-energy automobile car networking system onboard terminal |
CN108377266A (en) * | 2018-02-07 | 2018-08-07 | 安徽星网软件技术有限公司 | A kind of Real-time Data Transfer Method and system based on car networking |
CN109862106A (en) * | 2019-03-04 | 2019-06-07 | 知轮(杭州)科技有限公司 | The processing method and system of online monitoring data |
Non-Patent Citations (1)
Title |
---|
殷源: "纯电动汽车FlexRay网络优化设计", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技II辑(月刊)》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114500597A (en) * | 2022-01-19 | 2022-05-13 | 云控智行科技有限公司 | Vehicle data processing method and device |
CN114500597B (en) * | 2022-01-19 | 2024-03-08 | 云控智行科技有限公司 | Vehicle data processing method and device |
CN114866484A (en) * | 2022-04-29 | 2022-08-05 | 广州小鹏汽车科技有限公司 | Vehicle, data transparent transmission method thereof and computer readable storage medium |
CN114866484B (en) * | 2022-04-29 | 2024-04-30 | 广州小鹏汽车科技有限公司 | Vehicle, data transparent transmission method thereof and computer readable storage medium |
CN117670172A (en) * | 2023-10-27 | 2024-03-08 | 广东省电子口岸管理有限公司 | Foreign trade data processing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN112995249B (en) | 2022-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112995249B (en) | Internet of vehicles data processing method, device and system | |
US20210291847A1 (en) | Performing actions associated with a connected vehicle | |
EP3651016B1 (en) | Software update device | |
CN100350387C (en) | Method and system for remote reflash | |
CN112804661B (en) | Map data transmission method, system, edge server and storage medium | |
CN104796924B (en) | It is directly connected to using wireless device management legacy WI-FI and WI-FI | |
CN108944339B (en) | Remote control system, method and server for automobile air conditioner | |
US9313661B2 (en) | Method of establishing communication between devices in a vehicle | |
CN110266572B (en) | Remote vehicle control method and system | |
CN102571886B (en) | The presence detection method of car-mounted terminal and system | |
US11159644B2 (en) | Named-data networks for vehicle-to-infrastructure communication | |
JP2000090395A (en) | Transmission equipment and method for inter-vehicle communication | |
KR20100122759A (en) | Method for transferring data between a car and portable terminal, and interface device thereof | |
CN106162806A (en) | A kind of car networked system network-building method, device and car networked system | |
CN106209972A (en) | A kind of charger long distance control system and monitoring method thereof | |
CN111093185A (en) | Vehicle, vehicle equipment, OTA file server and upgrading method thereof | |
CN108173925B (en) | Internet of vehicles multi-gateway control system and method | |
CN115567496A (en) | OTA (over the air) upgrading method and system | |
CN107172613B (en) | A kind of remote maintenance system and method for car wireless terminal | |
WO2019184000A1 (en) | Data transmission method, apparatus, and vehicle-mounted device | |
CN115955669A (en) | Vehicle data upgrading method and device based on OTA and vehicle-mounted terminal | |
Elhadeedy et al. | 60 GHz Wi-Fi as a Tractor-Trailer Wireless Harness | |
WO2012121815A1 (en) | System and method for minimizing the power drain on a battery of a vehicle | |
CN215344632U (en) | Vehicle-mounted FOTA remote upgrading system | |
CN115550350A (en) | Intelligent driving automobile data uploading method and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |