CN114120482A - Vehicle data acquisition method and device, vehicle and computer readable storage medium - Google Patents

Vehicle data acquisition method and device, vehicle and computer readable storage medium Download PDF

Info

Publication number
CN114120482A
CN114120482A CN202111446828.6A CN202111446828A CN114120482A CN 114120482 A CN114120482 A CN 114120482A CN 202111446828 A CN202111446828 A CN 202111446828A CN 114120482 A CN114120482 A CN 114120482A
Authority
CN
China
Prior art keywords
vehicle
data acquisition
protocol
data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111446828.6A
Other languages
Chinese (zh)
Inventor
韦通明
张亮
谭倚靖
陈鹏飞
苏德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAIC GM Wuling Automobile Co Ltd
Original Assignee
SAIC GM Wuling Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SAIC GM Wuling Automobile Co Ltd filed Critical SAIC GM Wuling Automobile Co Ltd
Priority to CN202111446828.6A priority Critical patent/CN114120482A/en
Publication of CN114120482A publication Critical patent/CN114120482A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a vehicle data acquisition method and device, a vehicle and a computer readable storage medium, and belongs to the technical field of communication. According to the method, a target data acquisition protocol is determined to obtain a behavior standard for vehicle data acquisition, and then vehicle data acquisition is carried out based on the target data acquisition protocol to obtain vehicle data; whether abnormal information of the vehicle exists or not is monitored in real time in the vehicle data acquisition process, whether the vehicle is abnormal or not is determined, when the vehicle is determined to be abnormal, a change instruction is determined according to the abnormal information of the vehicle, emergency situations can be flexibly dealt with through the change instruction, the flexibility of data acquisition is improved, vehicle data acquisition is carried out based on the change instruction and a target data acquisition protocol, omission of effective data under the abnormal condition of the vehicle is avoided, vehicle data acquisition is effectively carried out, data analysis basis is provided for abnormal behaviors, and the fact that functional services are normal when the vehicle operates is ensured.

Description

Vehicle data acquisition method and device, vehicle and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a vehicle data collection method and apparatus, a vehicle, and a computer-readable storage medium.
Background
With the continuous development of scientific technology, the vehicle-mounted equipment on the vehicle can effectively utilize all vehicle dynamic information in the information network platform through a wireless communication technology, provide different functional services in the running process of the vehicle, and bring good driving experience for users. However, as the degree of intelligence of the automobile is continuously increased, the number of CAN (Controller Area Network) data to be collected from the automobile is also continuously increased, and a large number of CAN data items are generated at the vehicle terminal and collected at the cloud, so that the complexity of data collection is also continuously increased. If data change is caused by abnormal vehicle operation in the data acquisition process, due to the limitation of the data acquisition mode, emergency situations cannot be flexibly coped with, and effective information is likely to be omitted, so that the analysis of the vehicle data is influenced, abnormal situations cannot be timely found and processed, and the abnormal functional service in the vehicle operation is caused.
Disclosure of Invention
The invention mainly aims to provide a vehicle data acquisition method, a vehicle data acquisition device, a vehicle and a computer readable storage medium, and aims to solve the technical problem of improving the flexibility of data acquisition.
In order to achieve the above object, the present invention provides a vehicle data acquisition method, comprising the steps of:
determining a target data acquisition protocol, and acquiring vehicle data based on the target data acquisition protocol;
monitoring whether vehicle abnormal information exists in real time in the vehicle data acquisition process;
if yes, determining a change instruction according to the vehicle abnormal information, and continuing to acquire vehicle data based on the change instruction and the target data acquisition protocol.
Optionally, the step of determining a target data acquisition protocol includes:
acquiring time information and version information of a current data acquisition protocol of a vehicle;
monitoring whether the current data acquisition protocol has a corresponding acquisition protocol upgrading version or not according to the time information and the version information;
and if the acquisition protocol upgrading version exists, taking the acquisition protocol upgrading version as a target data acquisition protocol.
Optionally, the step of continuing to collect vehicle data based on the change instruction and the target data collection protocol includes:
changing the transmission rate, the acquisition frequency and the signal items preset in the target data acquisition protocol according to the change instruction;
and continuing to acquire the vehicle data based on the changed target data acquisition protocol.
Optionally, before the step of determining the target data acquisition protocol, the method further includes:
acquiring vehicle information;
judging whether the vehicle information is matched with preset vehicle information in a preset database;
and if the vehicle information is matched with the preset vehicle information, executing a step of determining a target data acquisition protocol.
Optionally, before the step of obtaining the vehicle information, the method further includes:
acquiring a cluster domain name resolution request sent by a vehicle;
performing domain name resolution according to the cluster domain name resolution request, and returning a domain name resolution result;
and executing the step of obtaining the vehicle information based on the domain name resolution result.
Optionally, the step of monitoring whether vehicle abnormal information exists in real time in the vehicle data acquisition process includes:
acquiring acquired data which is encrypted and uploaded after vehicle data acquisition is carried out in real time;
and determining whether the vehicle abnormal information exists according to whether the acquired data is abnormal.
Optionally, the vehicle data acquisition method further includes:
determining the data volume corresponding to the acquired data acquired by the vehicle data and the storage capacity corresponding to all the storage servers;
determining a data storage server from each storage server based on the data volume and the storage capacity;
and storing the acquired data into the data storage server.
In addition, to achieve the above object, the present invention also provides a vehicle data acquisition apparatus, including:
the protocol determining module is used for determining a target data acquisition protocol and acquiring vehicle data based on the target data acquisition protocol;
the abnormality judgment module is used for monitoring whether vehicle abnormal information exists in real time in the vehicle data acquisition process;
and the instruction determining module is used for determining a change instruction according to the vehicle abnormal information if the vehicle abnormal information exists, and continuously acquiring the vehicle data based on the change instruction and the target data acquisition protocol.
In addition, to achieve the above object, the present invention further provides a vehicle including a memory, a processor, and a vehicle data collection program stored on the memory and operable on the processor, wherein: the vehicle data collection program when executed by the processor implements the steps of the vehicle data collection method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a vehicle data acquisition program which, when executed by a processor, implements the steps of the vehicle data acquisition method as described above.
The invention provides a vehicle data acquisition method, a vehicle data acquisition device, a vehicle and a computer-readable storage medium, wherein a target data acquisition protocol is determined to obtain a behavior standard for vehicle data acquisition, and then vehicle data acquisition is carried out based on the target data acquisition protocol to obtain vehicle data; whether abnormal information of the vehicle exists or not is monitored in real time in the vehicle data acquisition process, whether the vehicle is abnormal or not is determined, when the vehicle is determined to be abnormal, a change instruction is determined according to the abnormal information of the vehicle, emergency situations can be flexibly dealt with through the change instruction, the flexibility of data acquisition is improved, vehicle data acquisition is carried out based on the change instruction and a target data acquisition protocol, omission of effective data under the abnormal condition of the vehicle is avoided, vehicle data acquisition is effectively carried out, data analysis basis is provided for abnormal behaviors, and the fact that functional services are normal when the vehicle operates is ensured.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a first embodiment of a vehicle data collection method of the present invention;
FIG. 3 is a schematic flow chart of an embodiment of the present invention;
FIG. 4 is a schematic diagram of a vehicle data device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The apparatus may comprise a vehicle, which may comprise, as shown in fig. 1: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is one type of computer-readable storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a vehicle data collection program.
In the device shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the device of the present invention may be provided in the device, and the device calls the vehicle data collection program stored in the memory 1005 through the processor 1001 and executes the vehicle data collection method provided by the embodiment of the present invention.
An embodiment of the present invention provides a vehicle data acquisition method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the vehicle data acquisition method according to the present invention.
In this embodiment, the vehicle data collection method includes:
step S100, determining a target data acquisition protocol, and acquiring vehicle data based on the target data acquisition protocol;
in this embodiment, it should be noted that the data collection protocol refers to a protocol standard for collecting data on a vehicle. The collection behavior when vehicle data collection is performed may be defined based on the data collection protocol. In this embodiment, vehicle data collection performed by storing data collected from a vehicle end to a cloud end is taken as an example. The vehicle end carries out vehicle data acquisition by predefining a data acquisition protocol and uploads the acquired data to the cloud. The data acquisition protocol is self-defined and can be adaptively adjusted according to actual application and specific values. In a data acquisition protocol, a Controller Area Network (CAN) baud rate, a terminal transmission rate, a vehicle acquisition frequency, a signal item, an association relation between the signal item and a data frame ID and the like are predefined to carry out related limitations of vehicle data acquisition. And acquiring vehicle data based on a predefined data acquisition protocol. The data acquisition protocol is changeable according to practical application, namely before vehicle data acquisition, the data acquisition protocol corresponding to the current vehicle data acquisition behavior needs to be determined, and the protocol is a target data acquisition protocol. Specifically, after the vehicle end determines the target data acquisition protocol, the vehicle end acquires the vehicle data based on the target data acquisition protocol.
Step S200, monitoring whether vehicle abnormal information exists in real time in the vehicle data acquisition process;
in this embodiment, it should be noted that, when vehicle data is collected based on the data collection protocol, if the vehicle is abnormal, the cause of the vehicle abnormality, the position of the vehicle abnormality, and other relevant information need to be determined. For example, when an airbag on a vehicle is exploded, the related information is changed to generate vehicle abnormality information. Whether the abnormal information of the vehicle exists or not is monitored in real time, whether the data acquisition behavior of the vehicle needs to be changed or not is determined in time, and therefore specific analysis is conducted on abnormal occurrence points. Specifically, the cloud analyzes the collected data uploaded by the computer vehicle end in real time to determine whether vehicle abnormal information exists.
And step S300, if yes, determining a change instruction according to the vehicle abnormal information, and continuing to acquire vehicle data based on the change instruction and the target data acquisition protocol.
In this embodiment, the change instruction is an instruction for limiting the vehicle data collection behavior, and is an instruction for changing some limits in the data collection protocol based on the data collection protocol. The vehicle data acquisition behaviors are limited based on the data acquisition protocol, when the vehicle has an emergency, certain limit values in the data acquisition protocol can be temporarily changed through the change instruction, the vehicle data acquisition behaviors are temporarily limited through the change instruction, and the data acquisition behaviors under the emergency of the vehicle are pertinently adjusted. For example, when vehicle abnormal information occurs, the transmission rate of the terminal is changed by changing the instruction, the vehicle acquisition frequency is increased, and the number of signal items is increased, so that more vehicle data can be acquired within a certain time, and the vehicle abnormal information can be accurately analyzed. Specifically, if vehicle abnormal information is monitored, a change instruction is determined for the vehicle abnormal information, and a target data acquisition protocol is changed based on the change instruction, so that vehicle data acquisition is continued based on the changed data acquisition protocol after the vehicle abnormal information is monitored.
In the embodiment of the invention, a target data acquisition protocol is determined to obtain a behavior standard for vehicle data acquisition, and then vehicle data acquisition is carried out based on the target data acquisition protocol to obtain vehicle data; whether abnormal information of the vehicle exists or not is monitored in real time in the vehicle data acquisition process, whether the vehicle is abnormal or not is determined, when the vehicle is determined to be abnormal, a change instruction is determined according to the abnormal information of the vehicle, emergency situations can be flexibly dealt with through the change instruction, the flexibility of data acquisition is improved, vehicle data acquisition is carried out based on the change instruction and a target data acquisition protocol, omission of effective data under the abnormal condition of the vehicle is avoided, vehicle data acquisition is effectively carried out, data analysis basis is provided for abnormal behaviors, and the fact that functional services are normal when the vehicle operates is ensured.
Further, based on the first embodiment of the vehicle data acquisition method of the present invention, a second embodiment of the vehicle data acquisition method of the present invention is provided, where in the step S100, a target data acquisition protocol is determined, and the step of acquiring the vehicle data based on the target data acquisition protocol includes:
step a, acquiring time information and version information of a current data acquisition protocol of a vehicle;
b, monitoring whether the current data acquisition protocol has a corresponding acquisition protocol upgrading version according to the time information and the version information;
and c, if the acquisition protocol upgrading version exists, taking the acquisition protocol upgrading version as a target data acquisition protocol, and acquiring vehicle data based on the target data acquisition protocol.
In this embodiment, it should be noted that the data acquisition protocol is defined before vehicle data acquisition, and the data acquisition protocol is customized by an administrator, and may be adaptively adjusted according to a specific value in actual application to upgrade the version of the data acquisition protocol. Before vehicle data acquisition is carried out, whether a corresponding data acquisition protocol upgrading version exists in the current vehicle data acquisition behavior or not needs to be determined, if the data acquisition protocol upgrading version exists, the version upgrading of the data acquisition protocol needs to be carried out, and vehicle data acquisition is carried out based on the data acquisition protocol after the version upgrading. The acquisition protocol upgrade version refers to a data acquisition protocol in which some values in the data acquisition protocol are changed according to actual requirements. For example, when the signal item in the current data acquisition protocol is 50, according to the actual requirement, the administrator changes the signal item in the data acquisition protocol to 100, and generates a new data acquisition protocol, that is, an updated version of the acquisition protocol. The data acquisition protocol carries the time and version number generated by the data acquisition protocol.
Specifically, before data acquisition, the vehicle end sends a data acquisition protocol request to the cloud acquisition module, the cloud acquisition module forwards the data acquisition protocol request to the management control module, and the management control module acquires time information and version information in a currently downloaded data acquisition protocol of the vehicle end through the data acquisition protocol request to determine generation time and version number of the downloaded data acquisition protocol. And determining whether there is an acquisition protocol upgrade version closer to the current time than the generation time of the downloaded data acquisition protocol and/or an acquisition protocol upgrade version having a higher version number than the version number of the downloaded data acquisition protocol, according to the time information and the version information. If the target data collection protocol exists, the cloud management control module takes the updated collection protocol version as the target data collection protocol and returns the updated collection protocol version to the collection module, the collection module forwards the target data protocol to the vehicle end, the vehicle end downloads the returned target data collection protocol, and vehicle data collection is carried out based on the target data collection protocol. And if not, taking the original downloaded data acquisition protocol as a target data acquisition protocol.
In the embodiment, the latest data acquisition protocol is acquired by downloading the upgrade version of the acquisition protocol to acquire the vehicle data, so that the actual application requirements are met, and the applicability of the data acquisition protocol is improved.
Further, the step of continuing vehicle data collection based on the change instruction and the target data collection protocol includes:
d, changing the transmission rate, the acquisition frequency and the signal item preset in the target data acquisition protocol according to the change instruction;
and e, continuing to acquire the vehicle data based on the changed target data acquisition protocol.
In this embodiment, it should be noted that, when an emergency occurs in a vehicle, some limit values in a target data collection protocol in the vehicle may be temporarily changed through a change instruction, a vehicle data collection behavior is temporarily limited through the change instruction, and a data collection behavior in the vehicle emergency is specifically adjusted. The change instruction is an instruction issued only aiming at the current emergency, and after the sudden abnormality of the vehicle is determined to be finished, the target data acquisition protocol before the change instruction is recovered continues to acquire the vehicle data. The change instruction can comprise a transmission rate change instruction, a collection frequency change instruction and a signal item change instruction, the transmission rate, the collection frequency and the signal item limited in the target data collection protocol are changed through the change instruction to obtain a changed target data collection protocol, and vehicle data collection is carried out through the changed target data collection protocol after vehicle abnormal information is monitored. For example, the storage calculation module corresponding to the cloud calculates and analyzes to obtain the abnormality of the vehicle airbag explosion, and obtains more vehicle information in the same time by changing the transmission rate, increasing the vehicle data acquisition frequency and increasing the vehicle data acquisition signal item.
The vehicle data acquisition method flexibly deals with vehicle emergencies through the change instruction, vehicle data acquisition is carried out aiming at the emergencies, and after the abnormity is determined to be finished, the target data acquisition protocol before change is recovered to continue acquisition, so that system resources are saved, performance requirements are lowered, and the applicability of the data acquisition protocol is improved.
Further, before the step of determining the target data acquisition protocol, the method further comprises:
step f, vehicle information is obtained;
step g, judging whether the vehicle information is matched with preset vehicle information in a preset database;
and h, if the vehicle information is matched with the preset vehicle information, executing a step of determining a target data acquisition protocol.
In this embodiment, it should be noted that before vehicle data acquisition, the cloud end needs to determine whether the current vehicle is a legal device, and the identity of the vehicle is verified through vehicle information to determine whether the vehicle is legal. The preset vehicle information refers to the relevant information of the legal vehicle stored in the preset database, for example, the vehicle relevant information such as the terminal barcode and the terminal number. And finally, verifying the identity of the vehicle if the relevant information corresponding to the verified vehicle is matched with the preset vehicle information. Specifically, when an acquisition module corresponding to the cloud end is connected with a vehicle end, vehicle information corresponding to the vehicle end is acquired, the acquisition module forwards the vehicle information to a management control module for vehicle identity verification, the management control module compares the vehicle information with preset vehicle information in a preset database, and if the comparison is passed, the vehicle information is considered to be matched with the preset vehicle information, and the authentication is passed; if the comparison fails, the vehicle information is not matched with the preset vehicle information, and the authentication fails. The management control module returns an authentication result to the acquisition module, the acquisition module forwards the authentication result to the vehicle end, and after the vehicle end receives the authentication result, if the vehicle end determines that the authentication is passed, the vehicle end requests the acquisition module at the cloud end for a data acquisition protocol. If the authentication is not passed, the vehicle will not be able to request a data collection protocol.
In the embodiment, the legality of the identity of the vehicle is verified, so that the vehicle data acquisition object is ensured to be a legal terminal, and the data acquisition safety is improved.
Further, before the step of obtaining the vehicle information, the method further includes:
step i, acquiring a cluster domain name resolution request sent by a vehicle;
step j, performing domain name resolution according to the cluster domain name resolution request, and returning a domain name resolution result;
and k, executing the step of acquiring the vehicle information based on the domain name resolution result.
In this embodiment, it should be noted that the cloud includes a plurality of clusters, and the cluster for data storage after data acquisition needs to be determined when vehicle data acquisition is performed. The cluster domain name resolution request comprises a cluster domain name request, the cloud domain name resolution module can perform domain name resolution through the cluster domain name to obtain a cluster IP, and the vehicle end can determine a corresponding data storage cluster according to the cluster IP. Specifically, the vehicle end sends a cluster domain name resolution request to the cloud end, and a domain name resolution module of the cloud end performs domain name resolution on the cluster domain name in the cluster domain name resolution request to obtain a cluster IP and returns the cluster IP to the vehicle end.
In the embodiment, the data storage cluster is determined through the cluster domain name resolution request, so that the effective management of vehicle data is realized, the data storage position is determined in advance, and the data acquisition efficiency is improved.
Referring to fig. 3, in fig. 3, the car end sends a cluster domain name resolution request to the cloud domain name resolution module, and the cloud domain name resolution module performs domain name resolution on the cluster domain name in the cluster domain name resolution request to obtain a cluster IP, and returns the cluster IP to the car end. The vehicle end carries vehicle information and is connected with an acquisition module of the cloud end, the acquisition module forwards the vehicle information to the management control module for vehicle identity verification, the management control module returns an authentication result to the acquisition module, and the acquisition module forwards the authentication result to the vehicle end. After the vehicle end passes the identity verification, a data acquisition protocol request is sent to the acquisition end of the cloud end, the acquisition module of the cloud end forwards the data acquisition protocol request to the management control module, the management control module returns a target data acquisition protocol to the acquisition module, and the acquisition module forwards the target data protocol to the vehicle end. The vehicle end collects data based on a target data forwarding protocol, encrypts the collected data and uploads the encrypted data to the collection module at the cloud end, the collection module forwards the encrypted collected data to the storage and calculation module, the storage and calculation module performs real-time calculation and storage, early warning is triggered when abnormal information of a vehicle is detected, a change instruction is sent to the collection end, and the collection end forwards the change instruction to the vehicle end. So that the vehicle data acquisition is carried out by the vehicle end based on the change instruction and the target data acquisition protocol.
Further, the step of monitoring whether the vehicle abnormal information exists in real time in the vehicle data acquisition process comprises the following steps:
step l, acquiring the acquired data which is encrypted and uploaded after vehicle data acquisition is carried out in real time;
and m, determining whether the vehicle abnormal information exists according to whether the acquired data is abnormal.
In this embodiment, it should be noted that, after the vehicle data is collected, the vehicle end encrypts the collected data, and uploads the encrypted collected data to the cloud end. The collected data further comprises vehicle state information, the vehicle end collects the data and then uploads the data to a collection module corresponding to the cloud end, the collection module in the cloud end forwards the collected data to a storage calculation module in the cloud end, the storage calculation module judges whether the vehicle is abnormal at present according to the vehicle state information in the collected data, and if the vehicle is determined to be abnormal, the vehicle abnormal information is considered to exist in the collected data. And if the abnormality does not exist, the current vehicle is considered to be normal in operation. When abnormal information of the vehicle is monitored, the storage and calculation module triggers early warning and sends a change instruction.
In this embodiment, it should be noted that whether vehicle abnormal information exists in the collected data is monitored in real time, the vehicle running state is judged in real time, the abnormality is timely handled, and normal running of the functional service of vehicle running is ensured.
Further, the vehicle data acquisition method further comprises:
n, determining the data volume corresponding to the acquired data acquired by the vehicle data and the storage capacity corresponding to all the storage servers;
step o, determining a data storage server from each storage server based on the data volume and the storage capacity;
and step p, storing the acquired data into the data storage server.
In this embodiment, it should be noted that, after acquiring the collected data uploaded by the vehicle end, the cloud end needs to store the collected data, and the servers for storing the collected data are not limited to the same server, so that distributed storage of the collected data is realized, and storage resources of the servers are reasonably utilized. The data volume corresponding to the acquired data is the volume of the acquired data written in when the cloud acquires the acquired data. The storage capacity refers to a capacity for storing the collected data corresponding to a server for storing the collected data in the cluster. The data storage server is a server which is determined by the cloud for storing the acquired data after judgment. Specifically, after acquiring the acquired data of the vehicle data, determining the data volume corresponding to the acquired data, acquiring the current storage capacity of all servers capable of storing the data, and performing data distribution storage based on the current data volume and the storage capacity of the servers, so that the load of each storage server tends to be balanced as much as possible. Specifically, a data volume corresponding to the acquired data and a storage capacity corresponding to the storage server are acquired, the data storage server is determined based on the data volume and the storage capacity, the acquired data is stored in the data storage server, and the data is balanced in each storage server. It can be understood that the number of the data storage servers for storing the collected data may be one or more, and when the number of the data storage servers is multiple, the same batch of collected data stored in different data storage servers is identified by data identification such as pointers, so as to implement association before the collected data.
In this embodiment, the collected data is automatically stored in a balanced manner according to the load condition of the server, so that the data is hashed in the cluster, the cluster performance is fully utilized, storage capacity expansion is relatively performed, and the data storage capacity is improved.
In addition, referring to fig. 4, the present invention further provides a vehicle data acquisition device, which is characterized in that the vehicle door collision avoidance device includes a protocol determination module 2001, an abnormality determination module 2002, and a command determination module 2003, wherein:
a protocol determination module 2001, configured to determine a target data acquisition protocol, and perform vehicle data acquisition based on the target data acquisition protocol;
an anomaly determination module 2002, configured to monitor whether vehicle anomaly information exists in real time in the vehicle data acquisition process;
and the instruction determining module 2003 is used for determining a change instruction according to the vehicle abnormal information if the vehicle abnormal information exists, and continuing to acquire the vehicle data based on the change instruction and the target data acquisition protocol.
Optionally, the protocol determining module 2001 is further configured to:
acquiring time information and version information of a current data acquisition protocol of a vehicle;
monitoring whether the current data acquisition protocol has a corresponding acquisition protocol upgrading version or not according to the time information and the version information;
and if the acquisition protocol upgrading version exists, taking the acquisition protocol upgrading version as a target data acquisition protocol.
Optionally, the protocol determining module 2001 is further configured to:
acquiring vehicle information;
judging whether the vehicle information is matched with preset vehicle information in a preset database;
and if the vehicle information is matched with the preset vehicle information, executing a step of determining a target data acquisition protocol.
Optionally, the protocol determining module 2001 is further configured to:
acquiring a cluster domain name resolution request sent by a vehicle;
performing domain name resolution according to the cluster domain name resolution request, and returning a domain name resolution result;
and executing the step of obtaining the vehicle information based on the domain name resolution result.
Optionally, the abnormality determining module 2002 is further configured to:
acquiring acquired data which is encrypted and uploaded after vehicle data acquisition is carried out in real time;
and determining whether the vehicle abnormal information exists according to whether the acquired data is abnormal.
Optionally, the instruction determining module 2003 is further configured to:
changing the transmission rate, the acquisition frequency and the signal items preset in the target data acquisition protocol according to the change instruction;
and continuing to acquire the vehicle data based on the changed target data acquisition protocol.
Optionally, the instruction determining module 2003 is further configured to:
determining the data volume corresponding to the acquired data acquired by the vehicle data and the storage capacity corresponding to all the storage servers;
determining a data storage server from each storage server based on the data volume and the storage capacity;
and storing the acquired data into the data storage server.
The specific implementation of the vehicle data acquisition device of the present invention is substantially the same as that of each embodiment of the vehicle data acquisition method, and is not described herein again.
In addition, the present invention provides a vehicle, which includes a memory, a processor, and a vehicle data collection program stored in the memory and operable on the processor, wherein: the vehicle data acquisition program, when executed by the processor, implements the vehicle data acquisition method of various embodiments of the present invention.
In addition, the invention also provides a computer readable storage medium, wherein the vehicle data acquisition program is stored on the computer readable storage medium. The computer-readable storage medium may be the Memory 20 in the terminal of fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several instructions for causing a vehicle with a processor to execute the vehicle data collection method according to the embodiments of the present invention.
It is to be understood that throughout the description of the present specification, reference to the term "one embodiment", "another embodiment", "other embodiments", or "first through nth embodiments", etc., is intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A vehicle data acquisition method, characterized by comprising the steps of:
determining a target data acquisition protocol, and acquiring vehicle data based on the target data acquisition protocol;
monitoring whether vehicle abnormal information exists in real time in the vehicle data acquisition process;
if yes, determining a change instruction according to the vehicle abnormal information, and continuing to acquire vehicle data based on the change instruction and the target data acquisition protocol.
2. The vehicle data collection method of claim 1, wherein the step of determining a target data collection protocol comprises:
acquiring time information and version information of a current data acquisition protocol of a vehicle;
monitoring whether the current data acquisition protocol has a corresponding acquisition protocol upgrading version or not according to the time information and the version information;
and if the acquisition protocol upgrading version exists, taking the acquisition protocol upgrading version as a target data acquisition protocol.
3. The vehicle data collection method of claim 1, wherein the step of continuing vehicle data collection based on the change instruction and the target data collection protocol comprises:
changing the transmission rate, the acquisition frequency and the signal items preset in the target data acquisition protocol according to the change instruction;
and continuing to acquire the vehicle data based on the changed target data acquisition protocol.
4. The vehicle data collection method of claim 1, wherein said step of determining a target data collection protocol is preceded by the further step of:
acquiring vehicle information;
judging whether the vehicle information is matched with preset vehicle information in a preset database;
and if the vehicle information is matched with the preset vehicle information, executing a step of determining a target data acquisition protocol.
5. The vehicle data collection method according to claim 4, wherein the step of obtaining vehicle information is preceded by:
acquiring a cluster domain name resolution request sent by a vehicle;
performing domain name resolution according to the cluster domain name resolution request, and returning a domain name resolution result;
and executing the step of obtaining the vehicle information based on the domain name resolution result.
6. The vehicle data collection method according to claim 1, wherein the step of monitoring whether vehicle abnormality information exists in real time during the vehicle data collection process comprises:
acquiring acquired data which is encrypted and uploaded after vehicle data acquisition is carried out in real time;
and determining whether the vehicle abnormal information exists according to whether the acquired data is abnormal.
7. The vehicle data collection method according to claim 1, further comprising:
determining the data volume corresponding to the acquired data acquired by the vehicle data and the storage capacity corresponding to all the storage servers;
determining a data storage server from each storage server based on the data volume and the storage capacity;
and storing the acquired data into the data storage server.
8. A vehicle data collection device, the device comprising:
the protocol determining module is used for determining a target data acquisition protocol and acquiring vehicle data based on the target data acquisition protocol;
the abnormality judgment module is used for monitoring whether vehicle abnormal information exists in real time in the vehicle data acquisition process;
and the instruction determining module is used for determining a change instruction according to the vehicle abnormal information if the vehicle abnormal information exists, and continuously acquiring the vehicle data based on the change instruction and the target data acquisition protocol.
9. A vehicle, characterized in that the vehicle comprises: a memory, a processor and a vehicle data collection program stored on the memory and executable on the processor, the vehicle data collection program configured to implement the steps of the vehicle data collection method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a vehicle data acquisition program is stored thereon, which when executed by a processor implements the steps of the vehicle data acquisition method according to any one of claims 1 to 7.
CN202111446828.6A 2021-11-30 2021-11-30 Vehicle data acquisition method and device, vehicle and computer readable storage medium Pending CN114120482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111446828.6A CN114120482A (en) 2021-11-30 2021-11-30 Vehicle data acquisition method and device, vehicle and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111446828.6A CN114120482A (en) 2021-11-30 2021-11-30 Vehicle data acquisition method and device, vehicle and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114120482A true CN114120482A (en) 2022-03-01

Family

ID=80368720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111446828.6A Pending CN114120482A (en) 2021-11-30 2021-11-30 Vehicle data acquisition method and device, vehicle and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114120482A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180197358A1 (en) * 2017-01-12 2018-07-12 Innova Electronics Corporation Adaptive vehicle monitoring system
CN110213827A (en) * 2019-05-24 2019-09-06 南京理工大学 Vehicle data collection frequency dynamic adjusting method based on deeply study
CN110533794A (en) * 2019-08-30 2019-12-03 珠海小可乐科技有限公司 Vehicle risk management method, computer installation and computer readable storage medium
CN111447128A (en) * 2020-03-24 2020-07-24 重庆长安汽车股份有限公司 Vehicle data acquisition and uploading method capable of being remotely and dynamically configured and storage medium
CN112712609A (en) * 2020-12-28 2021-04-27 潍柴动力股份有限公司 Data acquisition method, device, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180197358A1 (en) * 2017-01-12 2018-07-12 Innova Electronics Corporation Adaptive vehicle monitoring system
CN110213827A (en) * 2019-05-24 2019-09-06 南京理工大学 Vehicle data collection frequency dynamic adjusting method based on deeply study
CN110533794A (en) * 2019-08-30 2019-12-03 珠海小可乐科技有限公司 Vehicle risk management method, computer installation and computer readable storage medium
CN111447128A (en) * 2020-03-24 2020-07-24 重庆长安汽车股份有限公司 Vehicle data acquisition and uploading method capable of being remotely and dynamically configured and storage medium
CN112712609A (en) * 2020-12-28 2021-04-27 潍柴动力股份有限公司 Data acquisition method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109672580B (en) Full link monitoring method, device, terminal equipment and storage medium
CN107844634B (en) Modeling method of multivariate general model platform, electronic equipment and computer readable storage medium
CN110995836A (en) Log management method, device, storage medium and device based on Internet of vehicles platform
US9813449B1 (en) Systems and methods for providing a security information and event management system in a distributed architecture
CN113342371B (en) Internet of things equipment upgrading system
US20090070425A1 (en) Data processing system, method of updating a configuration file and computer program product
CN109495547B (en) Vehicle signal acquisition method and device, cloud server and vehicle
CN111464567A (en) Configuration method and device of attack and defense shooting range system and storage medium
CN113544649A (en) Data storage method and device, computer equipment and computer readable storage medium
CN110830491A (en) Internet of vehicles information acquisition method and device
CN111737023A (en) Vehicle-mounted event processing method, cloud server and computer-readable storage medium
CN112862507A (en) Method, device, equipment, medium and product for preventing network appointment vehicle driver and passenger disputes
CN114115866A (en) Cross-domain-based vehicle-mounted scene self-defining method, device, equipment and storage medium
CN114371855A (en) Upgrading method, system and device of vehicle automatic driving system and electronic equipment
CN114120482A (en) Vehicle data acquisition method and device, vehicle and computer readable storage medium
WO2016156433A1 (en) Network operation
WO2000035221A1 (en) Troubleshooting method and apparatus
CN114650218B (en) Data acquisition method, device, system and storage medium
CN115514665A (en) Service expansion method and device, electronic equipment and storage medium
CN114625603A (en) Abnormality prompting method, electronic device, and computer-readable storage medium
CN115208914A (en) Industrial data acquisition and analysis system and method
CN112416385A (en) Acquisition component management method and system
CN113791802A (en) Vehicle upgrading method, device, equipment and storage medium
CN113329107A (en) Method and device for coping with influence of operating system change on equipment fingerprint calculation
JP3920681B2 (en) Security information management 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