CN115225699A - Vehicle data acquisition method, vehicle-mounted telematics processor, and storage medium - Google Patents

Vehicle data acquisition method, vehicle-mounted telematics processor, and storage medium Download PDF

Info

Publication number
CN115225699A
CN115225699A CN202111360091.6A CN202111360091A CN115225699A CN 115225699 A CN115225699 A CN 115225699A CN 202111360091 A CN202111360091 A CN 202111360091A CN 115225699 A CN115225699 A CN 115225699A
Authority
CN
China
Prior art keywords
vehicle
file
data
information
message
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
Application number
CN202111360091.6A
Other languages
Chinese (zh)
Other versions
CN115225699B (en
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.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group 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 Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN202111360091.6A priority Critical patent/CN115225699B/en
Publication of CN115225699A publication Critical patent/CN115225699A/en
Application granted granted Critical
Publication of CN115225699B publication Critical patent/CN115225699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a vehicle data acquisition method, a vehicle-mounted remote information processor and a storage medium, wherein the method part comprises the following steps: determining configuration information of a preset configuration file in the vehicle-mounted remote information processor, wherein the preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements; collecting bus message data on the vehicle according to the configuration information to obtain real-time vehicle message data; sending the vehicle message data to a remote server so that the remote server analyzes the vehicle message data to obtain vehicle data; according to the invention, the vehicle-mounted remote information processor can flexibly configure the vehicle monitoring data through the preset configuration file which is dynamically updated according to the monitoring requirement, and the updating cost required by frequent change of the software code of the vehicle-mounted remote information processor is reduced, so that different data monitoring requirements can be quickly met at low cost.

Description

Vehicle data acquisition method, vehicle-mounted telematics processor, and storage medium
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a vehicle data acquisition method, a vehicle-mounted telematics processor, and a storage medium.
Background
The existing vehicle data monitoring scheme generally monitors a specific signal value of a vehicle, and solidifies a software development code of a vehicle-mounted remote information processor (T-BOX) according to a monitoring logic and a monitoring requirement of a preset monitoring signal value; and then, in the running process of the vehicle, the T-BOX collects a preset vehicle signal value according to software design and then sends the vehicle signal value as vehicle data to a vehicle remote service provider (TSP) server to realize real-time monitoring of the vehicle data so as to analyze the vehicle data by a vehicle factory to continuously optimize the vehicle function and provide better service for a user.
However, with the application of vehicle big data analysis, the monitoring signal list of the vehicle is frequently updated, and the T-BOX with the solidified codes needs to frequently update the software codes in order to deal with the updated monitoring signal list, so that the updating time is long and the labor cost is high, which results in that the monitoring requirements of different vehicle data cannot be quickly and inexpensively met.
Disclosure of Invention
The invention provides a vehicle data acquisition method, a vehicle-mounted telematics processor and a storage medium, which are used for solving the problem that in the prior art, a T-BOX with a solidified code needs to be frequently updated with a software code, so that the monitoring requirements of different vehicle data cannot be met quickly and at low cost.
Provided is a vehicle data acquisition method including:
determining configuration information of a preset configuration file in the vehicle-mounted telematics processor, wherein the preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements;
collecting bus message data on the vehicle according to the configuration information to obtain real-time vehicle message data;
and sending the vehicle message data to a remote server so that the remote server analyzes the vehicle message data to obtain the vehicle data.
Further, collecting bus message data on the vehicle according to the configuration information to obtain real-time vehicle message data, comprising:
determining target message information to be acquired, acquisition frequency and acquisition conditions of the target message information through the configuration information;
determining whether the vehicle meets an acquisition condition;
and if the vehicle meets the acquisition condition, acquiring and storing the target message information on the vehicle at the acquisition frequency to obtain vehicle message data.
Further, the sending the vehicle message data to a remote server so that the remote server parses the vehicle message data to obtain the vehicle data includes:
determining data sending frequency and a bus data communication matrix through configuration information;
and transmitting the vehicle message data to the remote server at a data transmission frequency so that the remote server analyzes the vehicle message data according to the bus data communication matrix to obtain the vehicle data.
Further, before collecting bus message data on the vehicle according to the configuration information, the method further comprises:
determining whether the preset configuration file needs to be subjected to version updating;
and if the version needs to be updated, acquiring a target update file, and updating the preset configuration file according to the target update file.
Further, determining whether the preset configuration file needs to be version-updated includes:
determining version information of a preset configuration file, and sending a version matching request to a remote server according to the version information;
acquiring a reply message returned by the remote server in response to the version matching request;
determining whether the reply message contains file downloading information;
and if the reply message contains the file downloading information, determining that the preset configuration file needs to be subjected to version updating.
Further, acquiring a target update file, and updating the preset configuration file according to the target update file, including:
acquiring a downloaded file compression package according to file downloading information returned by the remote server, and decrypting the downloaded file compression package to obtain an initial update file;
verifying the configuration information in the initial update file, and taking the initial update file passing the verification as a target update file;
and deleting the original preset configuration file, and updating the target update file into the vehicle-mounted remote information processor.
Further, acquiring a compressed package of the downloaded file according to the file downloading information returned by the remote server, and decrypting the compressed package of the downloaded file to obtain an initial update file, including:
determining a download address, a private key, a public key and an encrypted signature ciphertext of a download file compression packet according to file download information returned by a remote server;
extracting a download file compression package according to the download address, and decrypting the download file compression package by using a private key to obtain a decrypted file;
carrying out validity verification on the decrypted file according to the public key and the encrypted signature ciphertext to determine whether the decrypted file passes the validity verification;
and if the decrypted file passes the validity verification, taking the decrypted piece as an initial update file.
There is provided an in-vehicle telematics processor including:
the system comprises a determining module, a data monitoring module and a data processing module, wherein the determining module is used for determining configuration information of a preset configuration file in the vehicle-mounted remote information processor, and the preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements;
the acquisition module is used for acquiring bus message data on the vehicle according to the configuration information so as to acquire real-time vehicle message data;
and the sending module is used for sending the vehicle message data to the remote server so that the remote server analyzes the vehicle message data to obtain the vehicle data.
An in-vehicle telematics processor is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the steps of the vehicle data acquisition method being implemented when the computer program is executed by the processor.
There is provided a readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described vehicle data acquisition method.
In one scheme provided by the vehicle data acquisition method, the vehicle-mounted telematics processor and the storage medium, the configuration information of a preset configuration file in the vehicle-mounted telematics processor is determined, the preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements, then bus message data on a vehicle are collected according to the configuration information to acquire real-time vehicle message data, and then the vehicle message data are sent to a remote server to enable the remote server to analyze the vehicle message data to acquire the vehicle data; according to the invention, the flexible configuration of the vehicle monitoring data by the vehicle-mounted remote information processor can be realized through the preset configuration file which is dynamically updated according to the monitoring requirement, and the updating cost required by frequent change of the software code of the vehicle-mounted remote information processor is reduced, so that different data monitoring requirements can be quickly met at low cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a schematic view of a vehicle data acquisition system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a vehicle data acquisition method according to an embodiment of the invention;
FIG. 3 is another schematic flow chart diagram of a vehicle data acquisition method in accordance with an embodiment of the present invention;
fig. 4 is a signaling interaction diagram of step S11 in fig. 3;
FIG. 5 is a schematic diagram of an in-vehicle telematics processor in accordance with one embodiment of the present invention;
FIG. 6 is a schematic diagram of another configuration of an in-vehicle telematics processor in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The vehicle data acquisition method provided by the embodiment of the invention can be applied to a vehicle data acquisition system shown in figure 1, wherein the vehicle data acquisition system comprises a vehicle, a vehicle-mounted remote information processor and a remote server. The vehicle-mounted remote information processor is used for storing and executing a preset configuration file, and the preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements. The remote server is used for providing different versions of vehicle data monitoring configuration files for the vehicle-mounted telematics processor. The in-vehicle telematics processor communicates with a remote server over a network.
The vehicle-mounted remote information processor acquires bus message data on a vehicle by determining configuration information of a preset configuration file in the vehicle-mounted remote information processor according to the configuration information to acquire real-time vehicle message data, and then transmits the vehicle message data to the remote server so that the remote server analyzes the vehicle message data to acquire the vehicle data; the vehicle-mounted remote information processor can flexibly configure the vehicle monitoring data through the preset configuration file which is dynamically updated according to the monitoring requirement, the updating cost required by frequent change of the software code of the vehicle-mounted remote information processor is reduced, and therefore different data monitoring requirements can be met quickly and at low cost.
In this embodiment, the vehicle data acquisition system includes a vehicle, a vehicle-mounted telematics processor, and a remote server, which are only exemplary illustrations, and in other embodiments, the vehicle data acquisition system may further include other devices, which are not described herein again.
The remote server in this embodiment is described by taking a vehicle remote service provider (TSP) server as an example, and in other embodiments, the remote server may also be another remote server, which is not described herein again. The TSP server may be implemented as an independent server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a vehicle data acquisition method is provided, which is described by taking the vehicle telematics processor in fig. 1 as an example, and includes the following steps:
s10: configuration information of a preset configuration file in the vehicle-mounted telematics processor is determined.
After an onboard telematics processor (onboard T-BOX) on the vehicle is activated, the onboard T-BOX determines configuration information for a preset configuration file in the onboard T-BOX. The preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements, and when the vehicle data monitoring requirements are changed, relevant personnel can change configuration information of the preset configuration file and update the changed preset configuration file to the vehicle-mounted T-BOX, so that new vehicle data monitoring requirements can be met.
In this embodiment, the data is stored in a preset memory in the vehicle-mounted T-BOX, the preset memory is a nonvolatile memory, and the data stored in the preset memory is not lost even if power is lost, so as to ensure the security of the preset configuration file.
In this embodiment, the configuration information of the preset configuration file includes version information (such as a version number) of the preset configuration file, a bus data communication matrix (DBC) version number, a data acquisition and upload rule, and the like, where the data acquisition and upload rule includes target packet information to be collected, acquisition frequency and acquisition condition of the target packet information, and transmission frequency and transmission data format of the target packet information. The target message information includes a target message ID, a target message type, an effective serial number, and the like. The target message information in this embodiment is bus message data information on the vehicle.
In order to facilitate dynamic configuration according to the data monitoring requirement, the preset configuration file in this embodiment may be a configuration file in JSON format, or may be a configuration file in other flexibly configurable file format, such as a configuration file in hoc (Human-Optimized configuration Object notification) format.
The vehicle data monitoring requirements are updated to the vehicle-mounted T-BOX in a preset configuration file form, and monitoring data configurability is realized, wherein the monitoring data configurability comprises target message information configurability, acquisition/uploading rule configurability, acquisition frequency (period) configurability, uploading frequency configurability and the like.
S20: and collecting bus message data on the vehicle according to the configuration information to obtain real-time vehicle message data.
After the configuration information of the configuration file preset in the vehicle-mounted T-BOX is determined, bus message data on the vehicle can be collected according to the configuration information in the driving process of the vehicle, the collected bus message data (target message information) is stored as real-time vehicle message data, and then the vehicle message data is sent to a remote server.
S30: and sending the vehicle message data to a remote server so that the remote server analyzes the vehicle message data to obtain the vehicle data.
After bus message data on the vehicle are collected according to the configuration information to obtain real-time vehicle message data, the vehicle message data are sent to the remote server, so that the remote server analyzes the vehicle message data according to the corresponding analysis logic to obtain the vehicle data, and real-time monitoring on the vehicle data is achieved.
In the embodiment, the vehicle-mounted T-BOX is used for collecting the bus message data on the vehicle to obtain the target message information (vehicle message data), then the target message information analysis link is placed in a remote server (such as a TSP end), the vehicle-mounted T-BOX only collects the uploaded vehicle message data, and the remote server analyzes the message data to obtain the vehicle data, so that the possibility of vehicle data leakage caused by illegal interception of the vehicle-mounted T-BOX data is avoided, and the safety of the vehicle data of a user is improved.
In the embodiment, the configuration information of the preset configuration file in the vehicle-mounted T-BOX is determined, then the bus message data on the vehicle is acquired according to the configuration information to obtain the real-time vehicle message data, and then the vehicle message data is sent to the remote server, so that the remote server analyzes the vehicle message data to obtain the vehicle data; the vehicle data monitoring requirements are updated to the vehicle-mounted T-BOX in a preset configuration file form, the vehicle data can be configured, the vehicle data acquisition information of the vehicle-mounted T-BOX can be flexibly configured, the updating cost required by frequent change of software codes of the vehicle-mounted remote information processor is reduced, and therefore different data monitoring requirements can be met quickly and at low cost.
Meanwhile, the configurable vehicle data can make up the problem that the vehicle data monitoring requirement is not considered before the vehicle-mounted T-BOX is developed, and meanwhile, the continuous monitoring of unnecessary vehicle monitoring data can be avoided, the load of a remote server is reduced, and the operation cost is reduced; and when the adaptive development of the vehicle-mounted T-BOX of different vehicle types can be dealt with, the heavy development workload caused by the difference of vehicle type data monitoring requirements is reduced, the functional platform development is realized, the product development period is shortened, and the development labor cost is reduced.
In addition, the vehicle-mounted T-BOX only collects uploaded vehicle message data, and the remote server analyzes the message data to obtain the vehicle data, so that the possibility of vehicle data leakage caused by illegal interception of the vehicle-mounted T-BOX data is avoided, and the safety of the vehicle data of a user is improved.
In an embodiment, in step S20, that is, collecting bus message data on the vehicle according to the configuration information to obtain real-time vehicle message data, the method specifically includes the following steps:
s21: and determining target message information to be acquired, acquisition frequency and acquisition conditions of the target message information through the configuration information.
After configuration information of a preset configuration file in the vehicle-mounted T-BOX is determined, target message information needing to be collected, and collection frequency and collection conditions of the target message information are determined through the configuration information.
Different message acquisition information, such as target message information, acquisition frequency and acquisition conditions of the target message information and the like, can be determined through corresponding parameters in a preset configuration file, and the method is convenient and rapid and high in flexibility.
Taking the configuration file with the preset configuration file in the JSON format as an example, the parameters in the JSON configuration file (preset configuration file) include the following parameters:
config _ version, which represents the version number of the JSON configuration file and is used for matching the version of the configuration file between the vehicle-mounted T-BOX and the TSP server;
DBC _ version, representing a bus data communication matrix (DBC) version number;
the DataUploadrules represent data acquisition and uploading rules, and the data acquisition and uploading rules define target message information to be collected and the acquisition and uploading rules thereof, and include the contents of vehicle _ status _ id, msg and the like.
The vehicle _ status _ id, msg are defined as follows:
the term _ status _ id represents a rule for collecting and uploading target packet information (a collection condition of the target packet information). According to actual requirements, various rules can be preset, for example, different vehicle working conditions can be preset as acquisition conditions, and if the values of vehicle _ status _ id are 1,2 and 3 respectively, the rules can sequentially correspond to the power-on, charging and flameout working conditions of the vehicle.
The msg represents target message information required to be collected, multiple pieces of target message information can be contained in the msg block, and each piece of target message information comprises uploadfrequncy, msgCycleTime, msgId, msgType, num and the like.
The parameters of uploadFrequnce, msgCycleTime, msgId, msgType, num, etc. are defined as follows:
and the uploadfrequncce represents the sending frequency of the target message information, namely the frequency of sending the vehicle message data to the remote server, and the unit is ms, and when the value of the uploadfrequncce is 0, the uploadfrequncce represents that the sending function of the vehicle message data is closed.
And msgCycleTime represents the acquisition frequency of the target message information and is unit ms.
msgId, which represents the target packet ID, for example, the target packet ID may be 0x181.
msgType represents a target message type, and the target message type comprises a Single state and a Multiple state; single represents a Single frame message, and Multiple represents a multi-frame multiplex message.
num represents which sequence number message data in the multi-frame multiplexing message need to be collected, for example, num is "1,2,4,7", that is, the sequence number message data in the multi-frame multiplexing message need to be collected as 1,2,4, 7. When the parameter msgType is Multiple, the parameter num is valid.
The target message information which needs to be collected specifically can be determined through the parameters msgId, msgType, num and the like, the collection condition of the target message information can be determined through the parameter vehicle _ status _ id, the collection frequency and the like of the target message information can be determined through the parameter msgCycleTime, the vehicle message data monitoring requirement can be determined simply and quickly, and the vehicle data monitoring requirement can be determined simply and quickly.
S22: it is determined whether the vehicle satisfies the collection condition.
After the acquisition condition of the target message information is determined, the vehicle-mounted T-BOX determines whether the vehicle working condition meets the acquisition condition according to the actual state of the vehicle.
For example, a value of a parameter vehicle _ status _ id in the preset configuration file is 1, which indicates that the acquisition condition of the target message information is a vehicle power-on working condition, and if the vehicle working condition is determined to be in the power-on working condition according to the state of the vehicle, the vehicle is determined to meet the acquisition condition of the target message information; and if the working condition of the vehicle is determined not to be the power-on working condition (such as the working conditions of flameout, charging and the like) according to the state of the vehicle, determining that the vehicle does not meet the acquisition condition of the target message information.
In this embodiment, the value of the parameter vehicle _ status _ id in the preset configuration file being 1 is only an exemplary description, the value of the vehicle _ status _ id being 1 indicates that the acquisition condition of the target packet information is the vehicle power-on working condition and is only an exemplary description, in other embodiments, the value of the vehicle _ status _ id being 1 may also indicate other meanings, the value of the vehicle _ status _ id may also be other, and the acquisition condition of the target packet information may also be indicated by other manners, which is not described herein again.
S23: and if the vehicle meets the acquisition condition, acquiring and storing the target message information on the vehicle at the acquisition frequency to obtain vehicle message data.
After determining whether the vehicle meets the acquisition condition, if the vehicle meets the acquisition condition, acquiring target message information on the vehicle by the vehicle-mounted T-BOX at an acquisition frequency to obtain vehicle message data; and if the vehicle does not meet the acquisition condition, not acquiring the target message information, and acquiring the target message information after the vehicle meets the acquisition condition.
For example, the preset configuration file is a configuration file in a JSON format, after the JSON configuration file is read by the vehicle-mounted T-BOX, the target message information needing to be collected, the collection frequency and the collection condition of the target message information are determined, and in the using process of the vehicle, the vehicle-mounted T-BOX determines whether the working condition of the vehicle meets the collection condition or not according to the vehicle _ status _ id parameter (the collection condition of the target message information) in the JSON configuration file; when the vehicle working condition meets the condition set in vehicle _ status _ id, bus message data corresponding to the vehicle is periodically acquired according to a frequency value set by msgcystlesleetime (acquisition frequency of target message information), and the vehicle message data is sent to a remote server in a preset message format. And when the vehicle working condition does not meet the condition set by the vehicle _ status _ id, the relevant bus message data is not collected and stored.
The preset message format may be a table format, and the contents of the table format may be as shown in table 1 below:
TABLE 1
Length (byte) Description of the invention Remarks to note
2 Target message ID
1 Bus message data length Unit: byte
n Bus message data
……
2 Target message ID
1 Bus message data length Unit: byte
n Bus message data
In this embodiment, the table format of the preset message is only an exemplary description, the table content is only an exemplary description as shown in table 1, in other embodiments, the table content may also be other intra-day data, and the format of the preset message may also be other formats, which is not described herein again.
In the embodiment, target message information to be acquired, acquisition frequency and acquisition conditions of the target message information are determined through configuration information; determining whether the vehicle meets the acquisition condition; if the vehicle meets the acquisition condition, the target message information on the vehicle is acquired and stored at the acquisition frequency to obtain vehicle message data, the concrete steps of acquiring bus message data on the vehicle according to the configuration information to obtain real-time vehicle message data are defined, the acquisition data, the acquisition frequency, the acquisition condition and the like are flexibly configured through a preset configuration file, the method is convenient and rapid, the flexibility is high, the acquisition of corresponding data can be carried out only when the acquisition condition is met, and the waste caused by frequent acquisition of the vehicle-mounted T-BOX can be reduced.
In an embodiment, a certain size of space may be allocated in a memory (a preset memory) where power failure data is not lost, as an area to be uploaded of vehicle message data. When the vehicle state meets the acquisition condition of vehicle _ status _ id, vehicle message data are acquired and sent to the remote server, if it is determined that the vehicle-mounted T-BOX and the remote server (such as TSP) are disconnected due to network abnormality and the like, the acquired vehicle message data can be stored in the region to be uploaded of the vehicle-mounted T-BOX in a preset message format, and after the vehicle-mounted T-BOX and the remote server are restored to be connected, the vehicle message data stored in the region to be uploaded are sent to the remote server again, so that the function of reissuing the vehicle message data is realized, and the possibility of vehicle message data loss caused by network failure is reduced. When the storage space of the area to be uploaded is insufficient, the vehicle-mounted T-BOX can delete the oldest vehicle message data to store the newly generated vehicle message data according to the sequence of the storage time, so as to ensure the timeliness and the accuracy of the vehicle message data.
In an embodiment, in step S30, that is, the vehicle message data is sent to the remote server, so that the remote server parses the vehicle message data to obtain the vehicle data, which specifically includes the following steps:
s31: and determining the data transmission frequency and the bus data communication matrix through the configuration information.
After the vehicle message data is acquired, the vehicle-mounted T-BOX needs to determine the data transmission frequency and the version number of the bus data communication matrix through corresponding parameter data in the configuration information.
S32: and sending the vehicle message data to a remote server at a data sending frequency so that the remote server analyzes the vehicle message data according to the bus data communication matrix to obtain the vehicle data.
After determining the data transmission frequency and the bus data communication matrix through the configuration information, the vehicle-mounted T-BOX needs to transmit vehicle message data in a preset message format to the remote server at the data transmission frequency and transmit the version number of the bus data communication matrix to the remote server. The remote server receives the vehicle message data and the version number of the bus data communication matrix, determines the corresponding bus data communication matrix according to the version number of the bus data communication matrix, and then analyzes the vehicle message data by adopting the bus data communication matrix to obtain the vehicle data, so that the real-time monitoring of the vehicle data is realized.
For example, the vehicle-mounted T-BOX regularly packages vehicle message data collected and stored in an area to be uploaded into a sending data format by adopting a specified compression algorithm (which can be determined by configuration information of a preset configuration file) according to a time interval defined by an uploadsequence parameter (data sending frequency) in a JSON configuration file, specifies a service request through a communication protocol of the vehicle-mounted T-BOX and a TSP server, and uploads the packaged vehicle message data to the TSP server; and after receiving the vehicle message data, the TSP server analyzes the vehicle message data by using the corresponding bus communication matrix database to obtain vehicle state data, so that the vehicle data is monitored.
In the embodiment, the data sending frequency and the bus data communication matrix are determined through the configuration information, the vehicle message data are sent to the remote server at the data sending frequency, so that the remote server analyzes the vehicle message data according to the bus data communication matrix to obtain the vehicle data, the vehicle message data are definitely sent to the remote server, so that the remote server analyzes the vehicle message data to obtain the vehicle data, and the safety of the vehicle data is guaranteed.
In an embodiment, as shown in fig. 3, before step S20, that is, before collecting bus message data on a vehicle according to configuration information, the method further includes the following steps:
s11: and determining whether the preset configuration file needs to be subjected to version updating.
After the vehicle-mounted T-BOX is powered on and started, before bus message data on a vehicle are collected according to configuration information, the vehicle-mounted T-BOX needs to determine whether a preset configuration file stored in a self preset memory needs to be subjected to version updating.
For example, the vehicle-mounted T-BOX needs to determine whether the version number of the preset configuration file is the latest version number, and if the version number of the preset configuration file is the latest version number, it is determined that the version update of the preset configuration file is not needed; and if the version number of the preset configuration file is not the latest version number, determining that the version of the preset configuration file needs to be updated. When the preset configuration file is not temporarily stored in the vehicle-mounted T-BOX, the fact that the version of the preset configuration file needs to be updated is determined.
In this embodiment, determining whether the preset configuration file needs to be subjected to version update according to the version number of the preset configuration file is only an exemplary illustration, and in other embodiments, determining whether the preset configuration file needs to be subjected to version update may also be performed in other manners, which is not described herein again.
S12: and if the version needs to be updated, acquiring a target update file, and updating the preset configuration file according to the target update file.
After determining whether the preset configuration file needs to be subjected to version updating, if determining that the preset configuration file needs to be subjected to version updating, the vehicle-mounted T-BOX acquires a target updating file from a remote server, updates the preset configuration file according to the target updating file, so as to store the updated preset configuration file in a preset memory, and simultaneously deletes the original preset configuration file in the preset memory. After the preset configuration file is updated according to the target update file, the vehicle-mounted T-BOX can execute the updated preset configuration file, namely, the configuration information of the preset configuration file with the latest version can be read, and then bus message data on the vehicle is collected according to the configuration information with the latest version so as to obtain vehicle message data.
In one embodiment, after determining whether the preset configuration file needs to be subjected to version updating and acquiring a target updating file, the preset configuration file of the existing version is still executed in the current ignition cycle, and when the next ignition cycle of the vehicle starts, the preset configuration file is updated according to the target updating file, that is, the preset configuration file of the latest version is executed at the next ignition cycle of the vehicle, so that vehicle message data is acquired according to configuration information of the preset configuration file of the latest version, and the preset configuration file of the existing version is deleted at the same time, so that the updating time of the preset configuration file is reduced, and the timeliness and the integrity of vehicle data acquisition are ensured.
S13: and if the version updating is not needed, directly acquiring the bus message data on the vehicle according to the configuration information to obtain the vehicle message data.
After determining whether the version of the preset configuration file needs to be updated, if determining that the version of the preset configuration file does not need to be updated, directly acquiring relevant bus message data according to the configuration information of the preset configuration file acquired before so as to acquire vehicle message data.
In the embodiment, before bus message data on a vehicle is acquired according to configuration information, whether a preset configuration file needs to be subjected to version updating is determined, if so, a target updating file is obtained, the preset configuration file is updated according to the target updating file, and if not, the bus message data on the vehicle is directly acquired according to the configuration information to obtain the vehicle message data; the configuration information of the latest version of the preset configuration file in the vehicle-mounted remote information processor is ensured, so that the vehicle data can be collected in time according to the latest vehicle data monitoring requirement, and the vehicle data monitoring requirement can be quickly realized at low cost.
In an embodiment, taking a remote server as a TSP server as an example for explanation, as shown in fig. 4, in step S11, determining whether the preset configuration file needs to be version-updated specifically includes the following steps:
s111: and the vehicle-mounted T-BOX determines the version information of the preset configuration file and sends a version matching request to the TSP server according to the version information.
Before bus message data on a vehicle are collected according to configuration information, the vehicle-mounted T-BOX determines version information of a preset configuration file and sends the version information and a version matching request to a remote server so that the remote server can perform version matching according to the version information and the version information of the latest version of the preset configuration file.
S112: and the TSP server receives the version matching request, performs version matching on the version information in the version matching request and the latest version preset configuration file, and sends a reply message to the vehicle-mounted T-BOX according to the version matching result.
And after receiving the version matching request, the TSP server performs version matching on the version information in the version matching request and the version information of the latest version preset configuration file, and then sends a reply message to the vehicle-mounted T-BOX according to the version matching result. And if the version matching result is not matched, generating a reply message according to the unmatched version matching result. When the version matching result is that the configuration files are not matched, the reply message may further include file downloading information (such as a downloading address) of the latest version preset configuration file. And if the version matching result is matching, generating a reply message according to the matching version matching result. When the preset configuration file is not stored in the vehicle-mounted T-BOX temporarily, the version number of the preset configuration file is determined to be 0, and the version number 0 of the preset configuration file is sent to the remote server so that the remote server can carry out version matching.
In this embodiment, to obtain the version information quickly, the version information of the preset configuration file may be a version number in the configuration information of the preset configuration file, and in other embodiments, the version information of the preset configuration file may also be other information identifying the version of the preset configuration file, which is not described herein again.
S113: and the vehicle-mounted T-BOX acquires a reply message returned by the TSP server responding to the version matching request.
After sending the version matching request to the remote server according to the version information, the vehicle-mounted T-BOX acquires a reply message returned by the remote server in response to the version matching request.
S114: the onboard T-BOX determines whether file download information is present in the reply message.
And after acquiring a reply message returned by the remote server according to the version matching request, the vehicle-mounted T-BOX determines whether the reply message contains file downloading information or not. The file downloading information at least comprises a downloading address of the latest version of the preset configuration file package.
For example, when the reply message includes a download address of the latest version of the preset configuration file package, it is determined that file download information exists in the reply message, which indicates that the version matching result is unmatched, and the preset configuration file in the vehicle-mounted T-BOX is not the latest version, and the latest version of the preset configuration file needs to be downloaded according to the file download information, so as to update the version of the preset configuration file; when the reply message does not include the download address of the latest version of the preset configuration file package, determining that no file download information exists in the reply message, indicating that the version matching result is matching, and the preset configuration file in the vehicle-mounted T-BOX is the latest version, so that the version of the preset configuration file is updated without downloading the latest version of the preset configuration file according to the file download information.
In this embodiment, the file download information may further include encryption verification information of the latest version of the preset configuration file package, where the encryption verification information includes parameter information such as a private key, a public key, and an encryption signature ciphertext. When the reply message comprises information such as a download address, a private key, a public key, an encrypted signature ciphertext and the like, determining that the reply message contains file download information; and when the reply message does not comprise information such as the download address, the private key, the public key, the encrypted signature ciphertext and the like, determining that the file download information does not exist in the reply message.
In other embodiments, in order to facilitate the quick generation of the reply message, reduce the data processing amount of the remote server, and solidify the parameter format of the reply message, that is, whether the version matching result is matched or not, the reply message returned by the remote server includes parameters such as a download address, a private key, a public key, and an encrypted signature ciphertext, and the difference is that, when the version matching result is matched, the data corresponding to the parameters such as the download address, the private key, the public key, and the encrypted signature ciphertext is the actual data of the corresponding parameters, and the data corresponding to the download address is the actual download address of the latest version preset configuration file package, and the parameters such as the private key, the public key, and the encrypted signature ciphertext correspond to the actual encrypted information value; and when the version matching result is unmatched, the data corresponding to the parameters such as the download address, the private key, the public key, the encrypted signature ciphertext and the like are null values. The format of the explicit reply message in a fixed parameter form is convenient for the remote server to directly generate the reply message, so that the data volume can be reduced, meanwhile, when the vehicle-mounted T-BOX acquires the reply message returned by the remote server according to the version matching request, whether the corresponding parameter in the reply message is a null value or not can be directly read, and if the corresponding parameter is the null value, the file downloading information does not exist in the reply message; if the reply message is not null, determining that the file downloading information exists in the reply message, so that the version updating of the preset configuration file is determined to be needed directly according to the file downloading information, and the target updating file is obtained directly according to the file downloading information.
S115: and if the reply message contains file downloading information, the vehicle-mounted T-BOX determines that the version of the preset configuration file needs to be updated.
After determining whether the reply message contains the file downloading information or not, if the reply message contains the file downloading information, the vehicle-mounted T-BOX determines that the version of the preset configuration file needs to be updated; and if the reply message does not contain the file downloading information, the vehicle-mounted T-BOX determines that the version of the preset configuration file does not need to be updated.
In the embodiment, by determining the version information of the preset configuration file, sending the version matching request to the remote server according to the version information, then obtaining the reply message returned by the remote server in response to the version matching request, then determining whether the reply message contains the file downloading information, and if the reply message contains the file downloading information, determining that the preset configuration file needs to be subjected to version updating, the specific process of determining whether the preset configuration file needs to be subjected to version updating is clarified, and determining whether the preset configuration file needs to be subjected to version updating through the reply message of the remote server, the possibility that the preset configuration file cannot be updated in time due to the fact that the version of the preset configuration file is updated and the vehicle-mounted T-BOX is not known in time is reduced, and the accuracy of the determination result is ensured.
In an embodiment, in step S12, obtaining the target update file, and updating the preset configuration file according to the target update file specifically includes the following steps:
s121: and acquiring a downloaded file compression package according to the file downloading information returned by the remote server, and decrypting the downloaded file compression package to obtain the initial update file.
And after determining that the version of the preset configuration file needs to be updated according to the file downloading information in the reply message, the vehicle-mounted T-BOX acquires a downloaded file compression package according to the file downloading information returned by the remote server, and decrypts the downloaded file compression package to acquire an initial update file.
For example, the file download information includes a download address and a private key, after the vehicle-mounted T-BOX obtains the download address and the private key, it will download a download file compression package pre-stored in the download address according to the download address, then decrypt the download file compression package obtained by downloading with the private key in the file download information, if the private key can decrypt the download file compression package, indicating that the download file compression package is correct, then use the decrypted file as an initial update file; if the private key can not decrypt the compressed package of the download file, the compressed package of the download file can be replaced. The file downloading information is acquired from the remote server, so that the initial update file is downloaded and decrypted according to the file downloading information, the time waste caused by the transmission of the initial update file through a remote network is reduced, and meanwhile, the possibility that the initial update file is leaked and replaced in the file transmission process when the initial update file is directly acquired from the remote server is reduced, and the safety of the initial update file is ensured.
S122: and checking the configuration information in the initial update file, and taking the initial update file passing the checking as a target update file.
After the initial update file is obtained through decryption, the vehicle-mounted T-BOX verifies the configuration information in the initial update file, and the initial update file passing the verification is used as a target update file.
The configuration information in the initial update file is checked, including but not limited to: checking whether the target message ID in the configuration information in the initial update file is in the bus definition of the vehicle, namely determining whether the vehicle is in the target message ID in the configuration information in the initial update file; whether the total number of the collected target message information is within the support range of the vehicle-mounted T-BOX or not. If the ID of the target message in the configuration information in the initial update file is in the bus definition of the vehicle and the total number of the acquired target message information is in the support range of the T-BOX of the vehicle, the initial update file passes the verification; and if the target message ID in the configuration information in the initial update file is not in the bus definition of the vehicle or the total number of the acquired target message information is not in the support range of the vehicle-mounted T-BOX, the initial update file is not verified.
After the initial update file is updated to the vehicle-mounted T-BOX, if the configuration information of the initial update file is not matched with the vehicle or the vehicle-mounted T-BOX, the initial update file cannot be executed by the vehicle-mounted T-BOX, and vehicle message data cannot be obtained, so that the vehicle data cannot be monitored.
S123: and deleting the original preset configuration file, and updating the target update file into the vehicle-mounted remote information processor.
And after the initial update file passing the verification is taken as a target update file, deleting the original preset configuration file in the preset memory of the vehicle-mounted T-BOX, updating the target update file into the vehicle-mounted remote information processor and saving the target update file as a new preset configuration file, so that the vehicle-mounted T-BOX executes the updated preset configuration file to acquire corresponding bus message data.
In the embodiment, the download file compressed package is obtained according to the file download information returned by the remote server, the download file compressed package is decrypted to obtain the initial update file, the configuration information in the initial update file is checked, the initial update file passing the checking is used as the target update file, the original preset configuration file is deleted, the target update file is updated to the vehicle-mounted remote information processor, the specific process of obtaining the target update file is refined, the configuration information in the initial update file is checked according to the specific process of updating the preset configuration file by the target update file, the possibility that the vehicle-mounted T-BOX cannot execute due to the fact that the target update file is inapplicable and the vehicle-mounted T-BOX is updated to the vehicle-mounted T-BOX is reduced, the vehicle-mounted T-BOX can normally obtain bus message data, and therefore the vehicle data can be normally and timely obtained.
In an embodiment, in step S121, obtaining a compressed package of the downloaded file according to the file downloading information returned by the remote server, and decrypting the compressed package of the downloaded file to obtain the initial updated file specifically includes the following steps:
s1211: and determining a download address, a private key, a public key and an encrypted signature ciphertext of the downloaded file compressed package according to file download information returned by the remote server.
After determining that the version of the preset configuration file needs to be updated according to the file downloading information in the reply message, the vehicle-mounted T-BOX determines a downloading address, a private key, a public key and an encrypted signature ciphertext of the downloaded file compressed packet according to the file downloading information returned by the remote server.
S1212: and extracting the download file compression package according to the download address, and decrypting the download file compression package by using a private key to obtain a decrypted file.
After determining the download address, the private key, the public key and the encrypted signature ciphertext of the download file compressed package, the vehicle-mounted T-BOX extracts the download file compressed package according to the download address and decrypts the download file compressed package by using the private key to obtain a decrypted file.
S1213: and carrying out validity verification on the decrypted file according to the public key and the encrypted signature ciphertext to determine whether the decrypted file passes the validity verification.
And after the decrypted file is obtained, carrying out validity verification on the decrypted file according to the public key and the encrypted signature ciphertext to determine whether the decrypted file passes the validity verification.
The validity verification of the decrypted file is carried out according to the public key and the encrypted signature ciphertext, and the method specifically comprises the following steps: the vehicle-mounted T-BOX decrypts the encrypted signature ciphertext by adopting a public key to obtain a decryption digest value; then, encrypting the digest of the decrypted file by using a private key to obtain a calculated digest value; determining whether the decryption digest value is completely consistent with the calculation digest value; if the decryption abstract value is completely consistent with the calculation abstract value, the decryption file is not tampered, and the decryption file is determined to pass validity verification; and if the decryption abstract value is not completely consistent with the calculation abstract value and indicates that the decryption file is tampered, determining that the decryption file does not pass the validity verification. By carrying out validity verification on the decrypted file, the possibility of tampering the decrypted file is reduced, and the security of the compressed package of the downloaded file is further improved, so that the data security of the initial updated file and the vehicle-mounted T-BOX is improved.
S1214: and if the decrypted file passes the validity verification, taking the decrypted file as an initial update file.
After the validity of the decrypted file is verified according to the public key and the encrypted signature ciphertext to determine whether the decrypted file passes the validity verification, if the decrypted file passes the validity verification, the decrypted file is used as an initial update file; if the decrypted file does not pass the validity verification, the decrypted piece is used as an initial updated file to indicate that the decrypted file is tampered, all data in the decrypted file and the reply message of the remote server at this time are deleted, and a prompt that the file is tampered is sent to the remote server, so that related personnel can know and execute remedial measures in time.
In the embodiment, according to file downloading information returned by a remote server, a downloading address, a private key, a public key and an encrypted signature ciphertext of a downloaded file compressed package are determined, then the downloaded file compressed package is extracted according to the downloading address, the downloaded file compressed package is decrypted by the private key to obtain a decrypted file, then validity verification is carried out on the decrypted file according to the public key and the encrypted signature ciphertext to determine whether the decrypted file passes the validity verification or not, if the decrypted file passes the validity verification, a decrypted piece is used as an initial updating file, the fact that the downloaded file compressed package is obtained according to the file downloading information returned by the remote server is determined, the downloaded file compressed package is decrypted to obtain the initial updating file is determined, the specific process of carrying out the validity verification on the initial updating file which needs to be downloaded is carried out, validity of the initial updating file is ensured, the initial updating file is prevented from being replaced and tampered, and safety of a vehicle-mounted T-BOX is ensured.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by functions and internal logic of the process, and should not limit the implementation process of the embodiments of the present invention in any way.
In one embodiment, an in-vehicle telematics processor is provided, which corresponds one-to-one to the vehicle data acquisition method in the above-described embodiments. As shown in FIG. 5, the in-vehicle telematics processor includes an A module, a B module, a C module, and a D module. The functional modules are explained in detail as follows:
a determining module 501, configured to determine configuration information of a preset configuration file in the vehicle-mounted telematics processor, where the preset configuration file is a vehicle data monitoring configuration file capable of performing dynamic configuration according to data monitoring requirements;
the acquisition module 502 is configured to acquire bus message data on a vehicle according to configuration information to obtain real-time vehicle message data;
the sending module 503 is configured to send the vehicle message data to the remote server, so that the remote server parses the vehicle message data to obtain the vehicle data.
Further, the acquisition module 502 is specifically configured to:
determining target message information to be acquired, and acquisition frequency and acquisition conditions of the target message information through configuration information;
determining whether the vehicle meets an acquisition condition;
and if the vehicle meets the acquisition condition, acquiring and storing the target message information on the vehicle at the acquisition frequency to obtain vehicle message data.
Further, the sending module 503 is specifically configured to:
determining data sending frequency and a bus data communication matrix through configuration information;
and transmitting the vehicle message data to the remote server at a data transmission frequency so that the remote server analyzes the vehicle message data according to the bus data communication matrix to obtain the vehicle data.
Further, the vehicle telematics processor further includes an update module 504, and before collecting the bus message data on the vehicle according to the configuration information, the update module 504 has functions of:
determining whether the preset configuration file needs to be subjected to version updating;
and if the version needs to be updated, acquiring a target update file, and updating the preset configuration file according to the target update file.
Further, the update module 504 is specifically further configured to:
determining version information of a preset configuration file, and sending a version matching request to a remote server according to the version information;
acquiring a reply message returned by the remote server in response to the version matching request;
determining whether the reply message contains file downloading information;
and if the reply message contains the file downloading information, determining that the preset configuration file needs to be subjected to version updating.
Further, the update module 504 is specifically further configured to:
acquiring a downloaded file compression package according to file downloading information returned by the remote server, and decrypting the downloaded file compression package to obtain an initial update file;
checking the configuration information in the initial update file, and taking the initial update file passing the checking as a target update file;
and deleting the original preset configuration file, and updating the target update file into the vehicle-mounted remote information processor.
Further, the update module 504 is specifically further configured to:
determining a download address, a private key, a public key and an encrypted signature ciphertext of a download file compression packet according to file download information returned by a remote server;
extracting a download file compression package according to the download address, and decrypting the download file compression package by using a private key to obtain a decrypted file;
carrying out validity verification on the decrypted file according to the public key and the encrypted signature ciphertext to determine whether the decrypted file passes the validity verification;
and if the decrypted file passes the validity verification, taking the decrypted file as an initial update file.
Specific limitations on the on-board telematics processor can be found in the above limitations on the vehicle data acquisition method, and will not be described in detail here. The various modules in the onboard telematics processor described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an in-vehicle telematics processor is provided that includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the in-vehicle telematics processor is configured to provide computing and control capabilities. The memory of the onboard telematics processor includes a storage medium, an internal memory. The storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and computer programs in the storage medium to run. The network interface of the onboard telematics processor is used to communicate with an external remote server via a network connection. The computer program is executed by a processor to implement a vehicle data acquisition method.
In one embodiment, a remote server is provided that includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the remote server is configured to provide computing and control capabilities. The memory of the remote server comprises a storage medium and an internal memory. The storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and computer programs in the storage medium to run. The database of the remote server is used for storing vehicle message data of different vehicles, vehicle data of different vehicles and different bus data communication matrixes. The network interface of the remote server is used for connecting and communicating with an external vehicle-mounted telematics processor through a network. The computer program is executed by a processor to implement a vehicle data acquisition method.
In one embodiment, as shown in fig. 6, an in-vehicle telematics processor is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the steps of the vehicle data acquisition method described above being implemented when the computer program is executed by the processor.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the functionality of the in-vehicle telematics processor and/or remote server described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A vehicle data acquisition method, characterized by comprising:
determining configuration information of a preset configuration file in a vehicle-mounted remote information processor, wherein the preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements;
collecting bus message data on the vehicle according to the configuration information to obtain real-time vehicle message data;
and sending the vehicle message data to a remote server so that the remote server analyzes the vehicle message data to obtain the vehicle data.
2. The vehicle data acquisition method according to claim 1, wherein the acquiring bus message data on the vehicle according to the configuration information to acquire real-time vehicle message data comprises:
determining target message information to be acquired, and acquisition frequency and acquisition conditions of the target message information according to the configuration information;
determining whether the vehicle satisfies the acquisition condition;
and if the vehicle meets the acquisition condition, acquiring and storing target message information on the vehicle at the acquisition frequency to obtain the vehicle message data.
3. The vehicle data acquisition method of claim 1, wherein the sending the vehicle message data to a remote server to cause the remote server to parse the vehicle message data to obtain vehicle data comprises:
determining data sending frequency and a bus data communication matrix according to the configuration information;
and sending the vehicle message data to the remote server at the data sending frequency so that the remote server analyzes the vehicle message data according to the bus data communication matrix to obtain the vehicle data.
4. The vehicle data acquisition method according to any one of claims 1 to 3, wherein before collecting bus message data on a vehicle according to the configuration information, the method further comprises:
determining whether the preset configuration file needs to be subjected to version updating;
and if the version needs to be updated, acquiring a target update file, and updating the preset configuration file according to the target update file.
5. The vehicle data acquisition method according to claim 4, wherein the determining whether the preset configuration file requires a version update includes:
determining version information of the preset configuration file, and sending a version matching request to the remote server according to the version information;
acquiring a reply message returned by the remote server in response to the version matching request;
determining whether file downloading information exists in the reply message;
and if the file downloading information exists in the reply message, determining that the preset configuration file needs to be subjected to version updating.
6. The vehicle data acquisition method according to claim 4, wherein the acquiring a target update file and updating the preset configuration file according to the target update file includes:
acquiring a download file compression package according to the file download information returned by the remote server, and decrypting the download file compression package to acquire an initial update file;
checking the configuration information in the initial update file, and taking the initial update file passing the checking as the target update file;
and deleting the original preset configuration file, and updating the target update file into the vehicle-mounted remote information processor.
7. The vehicle data acquisition method according to claim 6, wherein the acquiring a compressed package of the downloaded file according to the file download information returned by the remote server and decrypting the compressed package of the downloaded file to obtain an initial update file comprises:
determining a download address, a private key, a public key and an encrypted signature ciphertext of the download file compression packet according to file download information returned by the remote server;
extracting the download file compression package according to the download address, and decrypting the download file compression package by using the private key to obtain a decrypted file;
carrying out validity verification on the decrypted file according to the public key and the encrypted signature ciphertext to determine whether the decrypted file passes the validity verification;
and if the decrypted file passes the validity verification, taking the decrypted piece as the initial update file.
8. An in-vehicle telematics processor, comprising:
the system comprises a determining module, a data processing module and a data processing module, wherein the determining module is used for determining configuration information of a preset configuration file in a vehicle-mounted remote information processor, and the preset configuration file is a vehicle data monitoring configuration file capable of being dynamically configured according to data monitoring requirements;
the acquisition module is used for acquiring bus message data on the vehicle according to the configuration information so as to acquire real-time vehicle message data;
and the sending module is used for sending the vehicle message data to a remote server so that the remote server analyzes the vehicle message data to obtain the vehicle data.
9. An in-vehicle telematics processor comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor realizes the steps of the vehicle data acquisition method according to any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the vehicle data acquisition method according to any one of claims 1 to 7.
CN202111360091.6A 2021-11-17 2021-11-17 Vehicle data acquisition method, vehicle-mounted remote information processor and storage medium Active CN115225699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111360091.6A CN115225699B (en) 2021-11-17 2021-11-17 Vehicle data acquisition method, vehicle-mounted remote information processor and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111360091.6A CN115225699B (en) 2021-11-17 2021-11-17 Vehicle data acquisition method, vehicle-mounted remote information processor and storage medium

Publications (2)

Publication Number Publication Date
CN115225699A true CN115225699A (en) 2022-10-21
CN115225699B CN115225699B (en) 2023-10-20

Family

ID=83606809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111360091.6A Active CN115225699B (en) 2021-11-17 2021-11-17 Vehicle data acquisition method, vehicle-mounted remote information processor and storage medium

Country Status (1)

Country Link
CN (1) CN115225699B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095072A (en) * 2023-02-01 2023-05-09 成都赛力斯科技有限公司 Communication matrix management method and device, electronic equipment and storage medium
CN117201304A (en) * 2023-08-30 2023-12-08 赛力斯汽车有限公司 Communication matrix updating method, device, computer equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347101A (en) * 2016-08-19 2017-11-14 武汉英泰斯特电子技术有限公司 A kind of car networking CAN collecting methods
CN109391662A (en) * 2017-08-10 2019-02-26 比亚迪股份有限公司 Onboard program update method, terminal, monitoring system server and system
CN111447128A (en) * 2020-03-24 2020-07-24 重庆长安汽车股份有限公司 Vehicle data acquisition and uploading method capable of being remotely and dynamically configured and storage medium
CN111510485A (en) * 2020-04-10 2020-08-07 东风小康汽车有限公司重庆分公司 OTA upgrade package downloading method, device, vehicle end and server
CN112562114A (en) * 2020-12-18 2021-03-26 北京百度网讯科技有限公司 Data acquisition method and device
CN113312072A (en) * 2021-06-11 2021-08-27 北京百度网讯科技有限公司 Configuration file updating method and device, electronic equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347101A (en) * 2016-08-19 2017-11-14 武汉英泰斯特电子技术有限公司 A kind of car networking CAN collecting methods
CN109391662A (en) * 2017-08-10 2019-02-26 比亚迪股份有限公司 Onboard program update method, terminal, monitoring system server and system
CN111447128A (en) * 2020-03-24 2020-07-24 重庆长安汽车股份有限公司 Vehicle data acquisition and uploading method capable of being remotely and dynamically configured and storage medium
CN111510485A (en) * 2020-04-10 2020-08-07 东风小康汽车有限公司重庆分公司 OTA upgrade package downloading method, device, vehicle end and server
CN112562114A (en) * 2020-12-18 2021-03-26 北京百度网讯科技有限公司 Data acquisition method and device
CN113312072A (en) * 2021-06-11 2021-08-27 北京百度网讯科技有限公司 Configuration file updating method and device, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095072A (en) * 2023-02-01 2023-05-09 成都赛力斯科技有限公司 Communication matrix management method and device, electronic equipment and storage medium
CN117201304A (en) * 2023-08-30 2023-12-08 赛力斯汽车有限公司 Communication matrix updating method, device, computer equipment and medium

Also Published As

Publication number Publication date
CN115225699B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN115225699B (en) Vehicle data acquisition method, vehicle-mounted remote information processor and storage medium
US20200264864A1 (en) Vehicle-mounted device upgrade method and related device
CN109561118B (en) Software upgrading method, device, system, storage medium, electronic equipment and vehicle
CN110378123B (en) Software upgrading method and system for vehicle-mounted terminal
US10291583B2 (en) Vehicle communication system based on controller-area network bus firewall
CN107438025B (en) Communication gateway, unmanned aerial vehicle communication device, unmanned aerial vehicle ground monitoring system and method
US20220276855A1 (en) Method and apparatus for processing upgrade package of vehicle
CN109787774B (en) Upgrade downloading method and device based on digital signature verification, server and terminal
US11356425B2 (en) Techniques for improving security of encrypted vehicle software updates
CN111510485A (en) OTA upgrade package downloading method, device, vehicle end and server
CN110708164B (en) Control method and device for Internet of things equipment, storage medium and electronic device
CN114637987B (en) Security chip firmware downloading method and system based on platform verification
CN113872940B (en) Access control method, device and equipment based on NC-Link
CN115664691B (en) Communication security car networking system
CN111324912A (en) File checking method, system and computer readable storage medium
CN115220989B (en) Payment software monitoring method, device and system
CN112543439A (en) Internet of vehicles location information encryption cloud platform, terminal, system and method
CN110830243A (en) Symmetric key distribution method, device, vehicle and storage medium
CN111490880A (en) File receiving method and device
CN116962472A (en) Vehicle signal processing method and related device
US20240061671A1 (en) Software updating device, in-vehicle terminal, and software updating system
JP7494944B2 (en) Software update device, in-vehicle terminal device and software update system
US20230179667A1 (en) Method and system for transmitting software artifacts from a source network to a target network
CN116401146B (en) Data interaction method and device, storage medium, server and vehicle
CN115333937B (en) Data downloading method and device and electronic equipment

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