CN116915816A - CAN signal data customized acquisition method and device - Google Patents

CAN signal data customized acquisition method and device Download PDF

Info

Publication number
CN116915816A
CN116915816A CN202310791364.5A CN202310791364A CN116915816A CN 116915816 A CN116915816 A CN 116915816A CN 202310791364 A CN202310791364 A CN 202310791364A CN 116915816 A CN116915816 A CN 116915816A
Authority
CN
China
Prior art keywords
vehicle
acquired
signal
signal data
template
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
CN202310791364.5A
Other languages
Chinese (zh)
Inventor
陈仕强
叶松林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chongqing Seres New Energy Automobile Design Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Seres New Energy Automobile Design Institute Co Ltd filed Critical Chongqing Seres New Energy Automobile Design Institute Co Ltd
Priority to CN202310791364.5A priority Critical patent/CN116915816A/en
Publication of CN116915816A publication Critical patent/CN116915816A/en
Pending legal-status Critical Current

Links

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/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • 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)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application provides a CAN signal data customizing and collecting method and device, wherein the method comprises the following steps: receiving a CAN signal acquisition template issued by a cloud of the Internet of vehicles; determining vehicle configuration information corresponding to each field according to each field contained in a CAN signal acquisition template in a customized manner, wherein the CAN signal data in the customized manner comprises an identification of a vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired and reporting frequency of the vehicle to be acquired; according to the vehicle configuration information corresponding to each field, CAN signal data of the vehicle to be collected is collected in a customized mode, and CAN signal data of the vehicle to be collected is collected in a customized mode by reporting the CAN signal data. According to the technical scheme, the vehicle data CAN be acquired through the self-defined CAN signal acquisition template, so that the CAN signal data acquisition mode has flexibility and pertinence, and the CAN signal data CAN be conveniently analyzed by the cloud of the subsequent Internet of vehicles.

Description

CAN signal data customized acquisition method and device
Technical Field
The application relates to the technical field of CAN signal data acquisition, in particular to a CAN signal data customized acquisition method and device.
Background
The CAN (Controller Area Network) signal is a standard communication protocol for communicating in automobiles and other embedded systems. CAN signals are a way of transmitting data in an automobile for connecting various Electronic Control Units (ECU) inside the vehicle, such as an engine control unit, a brake system control unit, an air conditioner control unit, and the like. It can perform quick and reliable communication between various parts of the vehicle. The information and the state of each part ECU in the vehicle are fed back interactively by CAN signals, and the real-time information of the vehicle is required to be acquired by the cloud of the Internet of vehicles only by the CAN signals uploaded by the vehicle. However, the following problems exist in the CAN signal data uploaded to the internet of vehicles platform by the current vehicles: the CAN signal data acquisition range, the acquisition frequency and the reporting period are configured when the vehicle leaves the factory, and the configuration mode is too fixed and inflexible, so that the uploaded CAN signal data is not targeted, and the background analysis of the CAN signal data is affected.
Disclosure of Invention
In view of the above, the embodiments of the present application provide a method and an apparatus for customizing and collecting CAN signal data, so as to solve the technical problem in the prior art that whether a selected node is in a preheating stage is not considered when a service node is selected.
In a first aspect of the embodiment of the present application, a method for customizing and collecting CAN signal data is provided, including: receiving a CAN signal acquisition template issued by a cloud of the Internet of vehicles; determining vehicle configuration information corresponding to each field according to each field contained in a CAN signal acquisition template in a customized manner, wherein the CAN signal data in the customized manner comprises an identification of a vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired and reporting frequency of the vehicle to be acquired; according to the vehicle configuration information corresponding to each field, CAN signal data of the vehicle to be collected is collected in a customized mode, and CAN signal data of the vehicle to be collected is collected in a customized mode by reporting the CAN signal data.
In a second aspect of the embodiment of the present application, a method for customized acquisition of CAN signal data is provided, including: issuing a CAN signal acquisition template to the vehicle to be acquired, so that the vehicle to be acquired determines vehicle configuration information corresponding to each field according to each field contained in the CAN signal acquisition template, wherein the vehicle configuration information comprises the identification of the vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired, reporting frequency of the vehicle to be acquired, and CAN signal data of the vehicle to be acquired to be reported according to the vehicle configuration information corresponding to each field; and receiving CAN signal data acquired by the vehicle to be acquired according to the CAN signal acquisition template.
In a third aspect of the embodiment of the present application, a device for customizing and collecting CAN signal data is provided, including: the receiving module is used for receiving the CAN signal acquisition template issued by the cloud of the Internet of vehicles; the determining module is used for determining vehicle configuration information corresponding to each field according to each field contained in the CAN signal acquisition template, wherein the vehicle configuration information comprises an identification of a vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired and reporting frequency of the vehicle to be acquired; the acquisition module is used for acquiring CAN signal data of the vehicle to be acquired and reporting the CAN signal data of the vehicle to be acquired according to the vehicle configuration information corresponding to each field.
In a fourth aspect of the embodiment of the present application, a device for customizing and collecting CAN signal data is provided, including: the issuing module is used for issuing a CAN signal acquisition template to the vehicle to be acquired, so that the vehicle to be acquired determines vehicle configuration information corresponding to each field according to each field contained in the CAN signal acquisition template, wherein the vehicle configuration information comprises the identification of the vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired, reporting frequency of the vehicle to be acquired, and CAN signal data of the vehicle to be acquired to be reported according to the vehicle configuration information corresponding to each field; the receiving module is used for receiving CAN signal data acquired by the vehicle to be acquired according to the CAN signal acquisition template.
In a fifth aspect of embodiments of the present application, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as provided in the first aspect or the steps of the method as provided in the second aspect when the computer program is executed.
In a sixth aspect of the embodiments of the present application, there is provided a computer readable storage medium storing a computer program which when executed by a processor implements the steps of the method as provided in the first aspect or the steps of the method as provided in the second aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that: according to the embodiment of the application, the CAN signal acquisition template issued by the cloud of the Internet of vehicles is received, the vehicle configuration information corresponding to each field is determined according to each field contained in the CAN signal acquisition template, the CAN signal data customization acquisition vehicle configuration information comprises the identification of the vehicle to be acquired, the CAN signal data of the vehicle to be acquired, the acquisition frequency of the vehicle to be acquired and the reporting frequency of the vehicle to be acquired, and the CAN signal data of the vehicle to be acquired are acquired in a customization mode according to the vehicle configuration information corresponding to each field, so that the vehicle data CAN be acquired through the customized CAN signal acquisition template, and the CAN signal data acquisition mode has flexibility and pertinence, and is convenient for the cloud of subsequent Internet of vehicles to analyze the CAN signal data.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a CAN signal data customization acquisition system according to an embodiment of the application;
FIG. 2 is a flowchart of a method for customizing CAN signal data applied to a vehicle end according to an embodiment of the application;
fig. 3 is a flowchart of a method for customizing and collecting CAN signal data applied to a cloud of a vehicle networking in an embodiment of the application;
FIG. 4 is a schematic diagram of a cloud interaction between a vehicle end and a vehicle networking in an embodiment of the application;
FIG. 5 is a block diagram of a CAN signal data customizing and collecting device applied to a vehicle end in an embodiment of the application;
fig. 6 is a block diagram of a CAN signal data customizing and collecting device applied to a cloud end of a vehicle networking according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
Fig. 1 is a schematic diagram of a CAN signal data customizing and collecting system according to an embodiment of the present application.
As shown in fig. 1, the system architecture 100 may include a first vehicle end 101, a second vehicle end 102, a third vehicle end 103, a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the first vehicle end 101, the second vehicle end 102, the third vehicle end 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
It should be understood that the number of clients, networks, and servers in fig. 1 is merely illustrative. There may be any number of vehicle ends, networks, and servers, as desired for implementation. For example, the server 105 may be a server cluster formed by a plurality of servers.
The user may interact with the server 105 through the network 104 using the first vehicle end 101, the second vehicle end 102, the third vehicle end 103, to receive or transmit data, etc. The first vehicle end 101, the second vehicle end 102, and the third vehicle end 103 may be various electronic devices having a function of receiving or transmitting data.
The server 105 may be a cloud of internet of vehicles providing various services. For example, the server 105 may receive the CAN signal acquisition template issued by the cloud end of the internet of vehicles (or the second vehicle end 102 or the third vehicle end 103), and determine the vehicle configuration information corresponding to each field according to each field included in the CAN signal acquisition template, where the CAN signal data customization acquisition vehicle configuration information includes the identifier of the vehicle to be acquired, the CAN signal data of the vehicle to be acquired, the acquisition frequency of the vehicle to be acquired, the reporting frequency of the vehicle to be acquired, and according to the vehicle configuration information corresponding to each field, the CAN signal data customization acquisition vehicle to be acquired and the reported CAN signal data customization acquisition vehicle to be acquired, so that the CAN signal data CAN be acquired through the customized CAN signal acquisition template, so that the acquisition of the CAN signal data in this way has flexibility and pertinence, and is convenient for the subsequent internet of vehicles to analyze the CAN signal data.
The following describes in detail a method and a device for customized acquisition of CAN signal data according to an embodiment of the present application with reference to the accompanying drawings.
Fig. 2 is a flowchart of a method for customizing and collecting CAN signal data applied to a vehicle end according to an embodiment of the present application, where the method provided by the embodiment of the present application may be executed by any electronic device having a computer processing capability, for example, the vehicle end shown in fig. 1.
As shown in fig. 2, the method for customizing and collecting CAN signal data applied to a vehicle end includes steps S210 to S230.
In step S210, a CAN signal acquisition template issued by the cloud of the internet of vehicles is received.
In step S220, each field included in the CAN signal acquisition template is customized according to the CAN signal data, and vehicle configuration information corresponding to each field is determined, where the CAN signal data customized acquired vehicle configuration information includes an identifier of a vehicle to be acquired, CAN signal data of the vehicle to be acquired, an acquisition frequency of the vehicle to be acquired, and a reporting frequency of the vehicle to be acquired.
In step S230, according to the vehicle configuration information corresponding to each field, the CAN signal data of the vehicle to be collected is collected in a customized manner, and the CAN signal data of the vehicle to be collected is reported in a customized manner.
The method CAN receive the CAN signal acquisition template issued by the cloud of the Internet of vehicles, and each field contained in the CAN signal acquisition template is customized according to the CAN signal data, so that vehicle configuration information corresponding to each field is determined, the CAN signal data is customized to acquire the vehicle configuration information including the identification of the vehicle to be acquired, the CAN signal data of the vehicle to be acquired, the acquisition frequency of the vehicle to be acquired and the reporting frequency of the vehicle to be acquired, and the CAN signal data of the vehicle to be acquired is acquired according to the vehicle configuration information corresponding to each field, so that the CAN signal data CAN be acquired through the customized CAN signal acquisition template, and the CAN signal data is acquired in a flexible and targeted manner, thereby facilitating the analysis of the CAN signal data by the cloud of the following Internet of vehicles.
In some embodiments, the CAN signal acquisition template may be generated by the internet of vehicles cloud according to vehicle data generated by a vehicle-related scene. For example, for historical CAN signal data generated in different scenes of various vehicle types, various corresponding CAN signal acquisition templates are configured, and in this way, the CAN signal acquisition templates CAN be dynamically configured according to actual requirements.
In some embodiments, the above-mentioned CAN signal data of the vehicle to be collected includes any one or more of: vehicle battery data, vehicle chassis data, vehicle dynamics data, and user driving behavior data.
Based on the foregoing embodiment, the CAN signal acquisition template may be an acquisition template configured based on any one or more of the above-described vehicle battery data, vehicle chassis data, vehicle power data, and user driving behavior data. In this embodiment, the vehicle end and the internet of vehicles cloud communicate through an MQTT protocol.
In some embodiments, before receiving the CAN signal acquisition template issued by the internet of vehicles cloud, the method further comprises: after the vehicle to be collected is started, reporting the collected version information of the current CAN signal collection template of the vehicle to be collected to the cloud end of the vehicle network, so that the cloud end of the vehicle network CAN verify the collected version information of the current CAN signal collection template of the vehicle to be collected; the method comprises the steps of receiving a verification result issued by the cloud end of the Internet of vehicles, determining whether collected version information of a current CAN signal collection template of a vehicle to be collected is effective or not according to the verification result, and therefore, the situation that the collected CAN signal data is not matched with actual demands of the cloud end of the Internet of vehicles after version information of the collection template is updated by the cloud end of the Internet of vehicles is effectively avoided.
Based on the foregoing embodiment, in order to ensure that the customized acquisition version of the vehicle end is up to date, the vehicle end needs to report its corresponding acquisition version in real time when being powered on each time, and the corresponding reporting protocol is as follows:
examples are as follows:
{
"msgHdr":{
"deviceID":"1234567890",
"timestamp":1547013623000,
"transID":"123456789012345678"
},
"data":{
"canCfgVer":2
}
}
in the above example, canCfgVer represents version information of a CAN signal acquisition template of a vehicle to be acquired.
Based on the foregoing embodiment, when the cloud end of the internet of vehicles receives the version information of the CAN signal acquisition template, namely, 2, the version information of the CAN signal acquisition template stored in the cloud end of the internet of vehicles is acquired according to the identification of the vehicle to be acquired, and is compared with the received version information, so as to check whether the version information of the acquisition template at the vehicle end is the latest version information.
In some embodiments, the above method further comprises: when the information of the acquired version of the current CAN signal acquisition template of the vehicle to be acquired is invalid, receiving the CAN signal acquisition template of the latest acquired version issued by the cloud of the Internet of vehicles according to the verification result; and storing a CAN signal acquisition template of the latest acquisition version issued by the cloud end of the Internet of vehicles according to the verification result, wherein the CAN signal acquisition template of the latest acquisition version contains the latest acquisition version information. For example, the invalidity of the acquired version information of the current CAN signal acquisition template of the vehicle may be regarded as that the version information of the acquisition template at the vehicle end is different from the version information of the acquisition template stored in the cloud of the internet of vehicles. The vehicle end CAN receive the CAN signal acquisition template of the latest acquisition version issued by the cloud of the Internet of vehicles according to the verification result, and CAN acquire CAN signal data based on the CAN signal acquisition template of the latest acquisition version.
Fig. 3 is a flowchart of a method for customizing and collecting CAN signal data applied to a cloud end of the internet of vehicles according to an embodiment of the present application, where the method provided by the embodiment of the present application may be executed by any electronic device having a computer processing capability, for example, the cloud end of the internet of vehicles shown in fig. 1.
As shown in fig. 3, the method for customizing and collecting CAN signal data applied to the cloud of the internet of vehicles includes step S310 and step S320.
In step S310, a CAN signal acquisition template is issued to the vehicle to be acquired, so that the vehicle to be acquired determines vehicle configuration information corresponding to each field according to each field included in the CAN signal acquisition template, where the vehicle configuration information includes an identifier of the vehicle to be acquired, CAN signal data of the vehicle to be acquired, an acquisition frequency of the vehicle to be acquired, a reporting frequency of the vehicle to be acquired, and according to the vehicle configuration information corresponding to each field, the CAN signal data of the vehicle to be acquired and the CAN signal data of the vehicle to be acquired are acquired and reported.
In step S320, CAN signal data collected by the vehicle to be collected according to the CAN signal collection template is received.
The CAN signal data customizing and collecting method applied to the cloud end of the Internet of vehicles CAN send the CAN signal collecting template to the vehicle to be collected, so that the vehicle end CAN collect the CAN signal data of the vehicle end based on the CAN signal collecting template, and the cloud end of the Internet of vehicles CAN flexibly and pointedly acquire the CAN signal data matched with the actual demand.
In some embodiments, prior to issuing the CAN signal acquisition template to the vehicle to be acquired, the method further comprises: receiving collected version information of a historical CAN signal collection template reported after a vehicle to be collected is started; verifying the collected version information of the historical CAN signal collection template based on the collected version information of the current CAN signal collection template; when the collected version information of the current CAN signal collection template is different from the collected version information of the historical CAN signal collection template, the current CAN signal collection template is issued to the vehicle to be collected. By the method, the situation that the acquired CAN signal data is not matched with the actual demand of the cloud end of the Internet of vehicles is avoided because the vehicle end still adopts the old version acquisition template to acquire the CAN signal data after the version information of the acquisition template is updated by the cloud end of the Internet of vehicles is effectively avoided.
Based on the foregoing embodiment, if there is a difference between the version of the collection template at the vehicle end and the version of the collection template at the cloud end of the internet of vehicles, it is indicated that the collection template at the vehicle end is not the latest configuration version, and the latest configuration information needs to be issued, and the issued protocol is as follows:
examples are as follows:
in the above example, canCfgVer represents version information of an acquisition template of the internet of vehicles cloud. The data represents CAN signal data acquired by the cloud of the Internet of vehicles according to actual demands.
In some embodiments, prior to issuing the CAN signal acquisition template to the vehicle to be acquired, the method further comprises: acquiring CAN signal data of the historical vehicle according to the identification of the historical vehicle; analyzing and processing the CAN signal data of the historical vehicle to obtain at least one item to be configured of the CAN signal data of the historical vehicle; based on at least one to-be-configured item of the CAN signal data of the historical vehicle and the historical vehicle identification, a CAN signal acquisition template of the CAN signal data of the historical vehicle is generated, or based on at least one to-be-configured item of the CAN signal data of the historical vehicle and the historical vehicle identification, the CAN signal acquisition template of the CAN signal data of the historical vehicle is updated, and the CAN signal acquisition template of the CAN signal data of the historical vehicle comprises the identification of the to-be-acquired vehicle, the CAN signal data of the to-be-acquired vehicle, the acquisition frequency of the to-be-acquired vehicle, the reporting frequency of the to-be-acquired vehicle and the acquisition version information.
Based on the foregoing embodiment, when different CAN signal acquisition templates are configured, the internet of vehicles cloud end may acquire CAN signal data of the historical vehicle according to the identifier of the historical vehicle, analyze and process the CAN signal data of the historical vehicle to obtain at least one item to be configured of the CAN signal data of the historical vehicle, and then generate the CAN signal acquisition template of the CAN signal data of the historical vehicle based on the at least one item to be configured of the CAN signal data of the historical vehicle and the identifier of the historical vehicle. In this embodiment, the CAN signal data is data related to the vehicle battery, and the at least one item to be configured of the CAN signal data may include, but is not limited to, a remaining power of the vehicle battery, whether the vehicle battery needs to be charged, a time of production of the vehicle battery, and the like.
The information in the CAN signal template configured by the method CAN be stored in different configuration tables in a data structure diagram of the cloud of the Internet of vehicles, and particularly the CanCollectConfig: the custom configuration master table is used for storing the entire custom configuration, and the fields include: key fields such as vehicle model (vehicle model), valid time (validStartTime/validEndTime), and reporting period (reporting cycle) are configured correspondingly. The customized configuration VIN table is used to store vehicle VIN code information for a particular customized CAN signal configuration. Cancollelectvin: the VIN table of the relevant configuration is uploaded by the customized configuration, and the VIN table is used for storing the actual customized configuration information of the reported vehicle. CanCollectTemplate: and the customized configuration template table is used for storing the configuration of the scene signal, and when the range of the customized configuration selection signal is newly increased, the configured template can be selected for customizing the scene. Cancollelectmsg: and the customized configuration message table is used for storing specific customized CAN signal message information.
Referring to fig. 4, custom acquisition template management: the cloud of the Internet of vehicles inputs data acquisition configuration of related vehicle scenes in advance, such as inputting signal acquisition contents of scenes of a vehicle battery, a vehicle chassis, vehicle power, user driving behaviors and the like in advance, and the signal acquisition scenes are used as templates for customized configuration. The customized acquisition template management comprises management such as template addition, deletion, modification, inquiry and the like, the acquisition template related data can be stored in a customized configuration template table CanCollectTemplate in a data structure diagram of the cloud of the Internet of vehicles, the CanCollectTemplate comprises specific template names and corresponding vehicle type information, and specific signal information in the templates is stored in CanCollectMsg. Customized acquisition configuration management: based on the customized acquisition configuration related to the acquisition template, the acquisition configuration content comprises specific train and vehicle types, acquisition CAN signal data, acquisition frequency, reporting frequency, version information and the like. The content of the customized acquisition configuration is stored in cancollelectconfig and the corresponding specific vehicle information is stored in cancollelectconfigvin. Reporting the customized acquisition configuration version by the vehicle end: in order to ensure that the customized acquisition version of the vehicle end is up to date, the vehicle end needs to report the corresponding acquisition version in real time when being electrified each time. Verifying the customized acquisition version difference: if the versions of the vehicle end acquisition templates are different from the versions of the vehicle end acquisition templates, the vehicle end is not the latest configuration version, and the configuration information of the latest acquisition template version needs to be issued. Effective customized acquisition configuration: and the vehicle end receives and stores the configuration information of the latest acquisition template version so as to acquire CAN signal data according to the latest acquisition template. Reporting vehicle data based on the customized acquisition configuration: and the vehicle terminal collects vehicle data related to the vehicle terminal according to the latest version of collection template and reports the vehicle data to the cloud end of the Internet of vehicles.
The CAN signal data customizing and collecting method provided by the application realizes dynamic customizing and collecting of vehicle data, CAN flexibly define the collecting range, the collecting frequency and the reporting period of the CAN signal according to actual demands, and provides higher flexibility and customizing capability. The CAN signal acquisition supporting the scenerization CAN be configured in a customized mode according to the requirements of different scenes, for example, the customized signal acquisition is performed aiming at scenes such as a vehicle battery, a vehicle chassis, vehicle power, user driving behaviors and the like, so that the data acquisition is more accurate and targeted. The customized acquisition configuration management is realized, and the acquisition configuration is managed in a templatized mode, so that the configuration management is more convenient and efficient. Acquisition configuration can be newly added, deleted and modified according to actual requirements, and flexibility and maintainability are provided. The latest of the vehicle-end acquisition configuration is ensured, the customized acquisition configuration version is reported through the vehicle-end, and the latest configuration is checked and issued with the cloud of the Internet of vehicles, so that the real-time updating and consistency of the vehicle-end acquisition configuration are ensured.
Fig. 5 is a block diagram of a CAN signal data customizing and collecting device applied to a vehicle end according to an embodiment of the present application.
As shown in fig. 5, the CAN signal data customizing and collecting device 500 applied to a vehicle end includes a receiving module 510, a determining module 520 and a collecting module 530.
Specifically, the receiving module 510 is configured to receive a CAN signal acquisition template issued by the cloud of the internet of vehicles.
The determining module 520 is configured to determine vehicle configuration information corresponding to each field according to each field included in the CAN signal acquisition template, where the vehicle configuration information includes an identifier of a vehicle to be acquired, CAN signal data of the vehicle to be acquired, an acquisition frequency of the vehicle to be acquired, and a reporting frequency of the vehicle to be acquired.
The acquisition module 530 is configured to acquire and report CAN signal data of the vehicle to be acquired according to the vehicle configuration information corresponding to each field.
The CAN signal data customizing and collecting device 500 applied to the vehicle end CAN receive a CAN signal collecting template issued by the cloud end of the vehicle, and according to each field contained in the CAN signal data customizing and collecting CAN signal collecting template, vehicle configuration information corresponding to each field is determined, the CAN signal data customizing and collecting vehicle configuration information comprises the identification of a vehicle to be collected, the CAN signal data of the vehicle to be collected, the collecting frequency of the vehicle to be collected and the reporting frequency of the vehicle to be collected, and according to the vehicle configuration information corresponding to each field, the CAN signal data customizing and collecting the CAN signal data of the vehicle to be collected and the CAN signal data of the reported CAN signal data customizing and collecting the vehicle to be collected, so that the CAN signal data CAN be collected through the customized CAN signal collecting template in this way has flexibility and pertinence, and is convenient for the cloud end of the follow-up vehicle to analyze the CAN signal data.
In some embodiments, the CAN signal data customizing and collecting device 500 applied to the vehicle end is further configured to, before receiving the CAN signal collecting template issued by the cloud of the internet of vehicles: after the vehicle to be collected is started, reporting the collected version information of the current CAN signal collection template of the vehicle to be collected to the cloud end of the vehicle network, so that the cloud end of the vehicle network CAN verify the collected version information of the current CAN signal collection template of the vehicle to be collected; and receiving a verification result issued by the cloud of the Internet of vehicles, and determining whether the acquired version information of the current CAN signal acquisition template of the vehicle to be acquired is effective or not according to the verification result.
In some embodiments, the CAN signal data customizing and collecting device 500 applied to the vehicle end is further configured to: when the information of the acquired version of the current CAN signal acquisition template of the vehicle to be acquired is invalid, receiving the CAN signal acquisition template of the latest acquired version issued by the cloud of the Internet of vehicles according to the verification result; and storing a CAN signal acquisition template of the latest acquisition version issued by the cloud end of the Internet of vehicles according to the verification result, wherein the CAN signal acquisition template of the latest acquisition version contains the latest acquisition version information.
Fig. 6 is a block diagram of a CAN signal data customizing and collecting device applied to a cloud end of an internet of vehicles in an embodiment of the application.
As shown in fig. 6, the CAN signal data customizing and collecting device 600 applied to the cloud of the internet of vehicles includes a transmitting module 610 and a receiving module 620.
Specifically, the issuing module 610 is configured to issue a CAN signal acquisition template to a vehicle to be acquired, so that the vehicle to be acquired determines vehicle configuration information corresponding to each field according to each field included in the CAN signal acquisition template, where the vehicle configuration information includes an identifier of the vehicle to be acquired, CAN signal data of the vehicle to be acquired, an acquisition frequency of the vehicle to be acquired, a reporting frequency of the vehicle to be acquired, and according to the vehicle configuration information corresponding to each field, the CAN signal data of the vehicle to be acquired and the CAN signal data of the vehicle to be acquired are acquired and reported.
The receiving module 620 is configured to receive CAN signal data collected by the vehicle to be collected according to the CAN signal collection template.
The CAN signal data customizing and collecting device 600 applied to the cloud end of the Internet of vehicles CAN send a CAN signal collecting template to a vehicle to be collected, so that the vehicle end CAN collect CAN signal data of the vehicle end based on the CAN signal collecting template, and the cloud end of the Internet of vehicles CAN flexibly and pointedly acquire the CAN signal data matched with actual demands.
In some embodiments, the CAN signal data customization acquisition device 600 applied to the internet of vehicles cloud end is further configured to, prior to issuing the CAN signal acquisition template to the vehicle to be acquired: receiving collected version information of a historical CAN signal collection template reported after a vehicle to be collected is started; verifying the collected version information of the historical CAN signal collection template based on the collected version information of the current CAN signal collection template; when the collected version information of the current CAN signal collection template is different from the collected version information of the historical CAN signal collection template, the current CAN signal collection template is issued to the vehicle to be collected.
In some embodiments, the CAN signal data customization acquisition device 600 applied to the internet of vehicles cloud end is further configured to, prior to issuing the CAN signal acquisition template to the vehicle to be acquired: acquiring CAN signal data of the historical vehicle according to the identification of the historical vehicle; analyzing and processing the CAN signal data of the historical vehicle to obtain at least one item to be configured of the CAN signal data of the historical vehicle; based on at least one to-be-configured item of the CAN signal data of the historical vehicle and the historical vehicle identification, a CAN signal acquisition template of the CAN signal data of the historical vehicle is generated, or based on at least one to-be-configured item of the CAN signal data of the historical vehicle and the historical vehicle identification, the CAN signal acquisition template of the CAN signal data of the historical vehicle is updated, and the CAN signal acquisition template of the CAN signal data of the historical vehicle comprises the identification of the to-be-acquired vehicle, the CAN signal data of the to-be-acquired vehicle, the acquisition frequency of the to-be-acquired vehicle, the reporting frequency of the to-be-acquired vehicle and the acquisition version information.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
As shown in fig. 7, the electronic apparatus 700 of this embodiment includes: a processor 710, a memory 720, and a computer program 730 stored in the memory 720 and executable on the processor 710. The steps of the various method embodiments described above are implemented by processor 710 when executing computer program 730. Alternatively, the processor 710, when executing the computer program 730, performs the functions of the modules in the apparatus embodiments described above.
The electronic device 700 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 700 may include, but is not limited to, a processor 710 and a memory 720. It will be appreciated by those skilled in the art that fig. 7 is merely an example of an electronic device 700 and is not limiting of the electronic device 700 and may include more or fewer components than shown, or different components.
The processor 710 may be a central processing unit (Central Processing Unit, CPU) or other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
The memory 720 may be an internal storage unit of the electronic device 700, for example, a hard disk or a memory of the electronic device 700. The memory 720 may also be an external storage device of the electronic device 700, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the electronic device 700. Memory 720 may also include both internal and external storage units of electronic device 700. The memory 720 is used to store computer programs and other programs and data required by the electronic device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit.
The integrated modules, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. The CAN signal data customizing and collecting method is characterized by comprising the following steps of:
receiving a CAN signal acquisition template issued by a cloud of the Internet of vehicles;
determining vehicle configuration information corresponding to each field according to each field contained in the CAN signal acquisition template, wherein the vehicle configuration information comprises an identification of a vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired and reporting frequency of the vehicle to be acquired;
and acquiring CAN signal data of the vehicle to be acquired and reporting the CAN signal data of the vehicle to be acquired according to the vehicle configuration information corresponding to each field.
2. The method of claim 1, wherein prior to receiving the CAN signal acquisition template issued by the internet of vehicles cloud, the method further comprises:
after the vehicle to be collected is started, reporting the collected version information of the current CAN signal collection template of the vehicle to be collected to the cloud end of the internet of vehicles so that the cloud end of the internet of vehicles CAN verify the collected version information of the current CAN signal collection template of the vehicle to be collected;
and receiving a verification result issued by the cloud of the Internet of vehicles, and determining whether the acquired version information of the current CAN signal acquisition template of the vehicle to be acquired is effective or not according to the verification result.
3. The method according to claim 2, wherein the method further comprises:
when the information of the acquired version of the current CAN signal acquisition template of the vehicle to be acquired is invalid, receiving the CAN signal acquisition template of the latest acquired version issued by the cloud of the Internet of vehicles according to the verification result;
and storing a CAN signal acquisition template of the latest acquisition version issued by the cloud of the Internet of vehicles according to the verification result, wherein the CAN signal acquisition template of the latest acquisition version contains the latest acquisition version information.
4. The method of claim 1, wherein the CAN signal data of the vehicle to be collected comprises any one or more of: vehicle battery data, vehicle chassis data, vehicle dynamics data, and user driving behavior data.
5. The CAN signal data customizing and collecting method is characterized by comprising the following steps of:
issuing a CAN signal acquisition template to a vehicle to be acquired, so that the vehicle to be acquired determines vehicle configuration information corresponding to each field according to each field contained in the CAN signal acquisition template, wherein the vehicle configuration information comprises an identification of the vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired, reporting frequency of the vehicle to be acquired, and acquiring the CAN signal data of the vehicle to be acquired and reporting the CAN signal data of the vehicle to be acquired according to the vehicle configuration information corresponding to each field;
and receiving CAN signal data acquired by the vehicle to be acquired according to the CAN signal acquisition template.
6. The method of claim 5, wherein prior to issuing the CAN signal acquisition template to the vehicle to be acquired, the method further comprises:
receiving the collected version information of the historical CAN signal collection template reported after the vehicle to be collected is started;
verifying the collected version information of the historical CAN signal collection template based on the collected version information of the current CAN signal collection template;
and when the acquired version information of the current CAN signal acquisition template is different from the acquired version information of the history CAN signal acquisition template, issuing the current CAN signal acquisition template to the vehicle to be acquired.
7. The method of claim 5, wherein prior to issuing the CAN signal acquisition template to the vehicle to be acquired, the method further comprises:
acquiring CAN signal data of a historical vehicle according to the identification of the historical vehicle;
analyzing and processing the CAN signal data of the historical vehicle to obtain at least one item to be configured of the CAN signal data of the historical vehicle;
generating a CAN signal acquisition template of the CAN signal data of the historical vehicle based on at least one to-be-configured item of the CAN signal data of the historical vehicle and the historical vehicle identifier, or updating the CAN signal acquisition template of the CAN signal data of the historical vehicle based on at least one to-be-configured item of the CAN signal data of the historical vehicle and the historical vehicle identifier, wherein the CAN signal acquisition template of the CAN signal data of the historical vehicle comprises the identifier of the vehicle to be acquired, the CAN signal data of the vehicle to be acquired, the acquisition frequency of the vehicle to be acquired, the reporting frequency of the vehicle to be acquired and the acquisition version information.
8. The utility model provides a CAN signal data customization collection system which characterized in that includes:
the receiving module is used for receiving the CAN signal acquisition template issued by the cloud of the Internet of vehicles;
the determining module is used for determining vehicle configuration information corresponding to each field according to each field contained in the CAN signal acquisition template, wherein the vehicle configuration information comprises an identification of a vehicle to be acquired, CAN signal data of the vehicle to be acquired, acquisition frequency of the vehicle to be acquired and reporting frequency of the vehicle to be acquired;
the acquisition module is used for acquiring the CAN signal data of the vehicle to be acquired and reporting the CAN signal data of the vehicle to be acquired according to the vehicle configuration information corresponding to each field.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 or the steps of the method according to any one of claims 5 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method of any one of claims 1 to 4 or the steps of the method of any one of claims 5 to 7.
CN202310791364.5A 2023-06-30 2023-06-30 CAN signal data customized acquisition method and device Pending CN116915816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310791364.5A CN116915816A (en) 2023-06-30 2023-06-30 CAN signal data customized acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310791364.5A CN116915816A (en) 2023-06-30 2023-06-30 CAN signal data customized acquisition method and device

Publications (1)

Publication Number Publication Date
CN116915816A true CN116915816A (en) 2023-10-20

Family

ID=88364026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310791364.5A Pending CN116915816A (en) 2023-06-30 2023-06-30 CAN signal data customized acquisition method and device

Country Status (1)

Country Link
CN (1) CN116915816A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117931882A (en) * 2024-03-18 2024-04-26 上海易咖智车科技有限公司 Vehicle condition information acquisition method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117931882A (en) * 2024-03-18 2024-04-26 上海易咖智车科技有限公司 Vehicle condition information acquisition method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110888662A (en) Vehicle remote silent upgrading method and device, vehicle and storage medium
CN116915816A (en) CAN signal data customized acquisition method and device
DE102005021103A1 (en) Method and system for remote updating
CN111031115A (en) Electronic controller version updating system and method based on Internet of vehicles
CN113420195B (en) Method and system for determining fault type of intelligent electric meter
CN113778498A (en) Vehicle data updating method, OTA cloud and vehicle data updating system
CN114793250A (en) Configurable CAN data analysis method
CN111464642A (en) Method and device for pushing messages of vehicle machine
CN114114981A (en) Big data processing method and system of vehicle-mounted domain controller
Shi et al. A vehicle electric control unit over-the-air reprogramming system
CN113032358B (en) Water affair data processing method and device and terminal equipment
CN111291035B (en) Method and device for slicing data and related products
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN116931988A (en) OTA upgrading method and device, electronic equipment and storage medium
CN116155720A (en) CAN data acquisition remote configuration method in T-BOX
CN113407555B (en) Operation data updating method and system of equipment handheld terminal
CN114490713A (en) Fault code management method, device, equipment and readable storage medium
CN108964989B (en) Method and device for connecting with service platform and computer readable storage medium
CN116401146B (en) Data interaction method and device, storage medium, server and vehicle
CN113271320B (en) Terminal authentication method, device, system, medium and equipment
CN110119337A (en) A kind of data analysing method, device and server
CN115959004B (en) Vehicle safety monitoring system and method, vehicle-mounted communication terminal, vehicle and server
CN115914283B (en) Method and device for sending shaft hoof temperature information, terminal equipment and storage medium
CN117579683A (en) Vehicle configuration file generation method and device, electronic equipment and readable storage medium
CN115277522B (en) Service scene availability judging method

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
TA01 Transfer of patent application right

Effective date of registration: 20240115

Address after: No. 13 Xingxiang Road, Zengjia Town, High tech Zone, Shapingba District, Chongqing, 400039

Applicant after: Chongqing Selis Phoenix Intelligent Innovation Technology Co.,Ltd.

Address before: 618 Liangjiang Avenue, Longxing Town, Yubei District, Chongqing

Applicant before: Chongqing Celes New Energy Automobile Design Institute Co.,Ltd.

TA01 Transfer of patent application right