CN114257617A - Data processing method, device, equipment and computer readable storage medium - Google Patents

Data processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114257617A
CN114257617A CN202111497988.3A CN202111497988A CN114257617A CN 114257617 A CN114257617 A CN 114257617A CN 202111497988 A CN202111497988 A CN 202111497988A CN 114257617 A CN114257617 A CN 114257617A
Authority
CN
China
Prior art keywords
area network
local area
network data
controller local
controller
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
CN202111497988.3A
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.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software 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 Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202111497988.3A priority Critical patent/CN114257617A/en
Publication of CN114257617A publication Critical patent/CN114257617A/en
Pending legal-status Critical Current

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/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/04Protocols for data compression, e.g. ROHC
    • 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
    • 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/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present disclosure relates to a data processing method, apparatus, device, and computer-readable storage medium, the method comprising: receiving first controller local area network data sent by a vehicle-mounted gateway; obtaining second controller local area network data based on the database file of the controller local area network; obtaining third controller local area network data based on a preset rule file; and aggregating the third controller local area network data to obtain fourth controller local area network data. According to the method and the device, before the cloud terminal is uploaded, the data of the controller local area network is optimized, useless data and irrelevant physical quantity are filtered, so that the uploaded data quantity is reduced, the occupation of bandwidth in the uploading process is reduced, and network resources are effectively utilized.

Description

Data processing method, device, equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of network communications, and in particular, to a data processing method, apparatus, device, and computer-readable storage medium.
Background
With the application of car networking technology to vehicles, the issue of vehicle network security is also getting more and more concerned. The vehicle data uploading cloud is one of a plurality of safety protection means. The advanced technologies such as a cloud high-performance server, big data and cloud computing are utilized to carry out statistical analysis on network data in the vehicle, leak in the vehicle is excavated, vehicle behaviors are monitored, and the method has the advantages of timely finding problems, backtracking the causes of the problems and the like.
In general, the vehicle-mounted gateway forwards data to a vehicle networking control unit (Tbox), and the Tbox directly uploads collected Controller Area Network (CAN) data to a cloud at intervals, and the data is analyzed and processed by the cloud.
However, a large amount of redundant and useless information exists in the uploaded CAN data, and due to the large data volume, the uploading process occupies resources such as a large network bandwidth.
Disclosure of Invention
In order to solve the above technical problem, the present disclosure provides a data processing method, apparatus, device and computer readable storage medium to reduce the amount of uploaded data, thereby improving the bandwidth utilization.
In a first aspect, an embodiment of the present disclosure provides a data processing method applied to a vehicle-mounted system, where the method includes:
receiving first controller local area network data sent by a vehicle-mounted gateway;
obtaining second controller local area network data based on the database file of the controller local area network;
obtaining third controller local area network data based on a preset rule file;
and aggregating the third controller local area network data to obtain fourth controller local area network data.
In a second aspect, an embodiment of the present disclosure provides a data processing apparatus, including:
the receiving module is used for receiving the first controller local area network data sent by the vehicle-mounted gateway;
the first obtaining module is used for obtaining second controller local area network data based on a database file of the controller local area network;
the second obtaining module is used for obtaining third controller local area network data based on the preset rule file;
and the aggregation processing module is used for aggregating the third controller local area network data to obtain fourth controller local area network data.
In a third aspect, an embodiment of the present disclosure provides an in-vehicle electronic device, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect.
In a fifth aspect, the disclosed embodiments also provide a computer program product comprising a computer program or instructions which, when executed by a processor, implement the data processing method as described above.
According to the data processing method, the data processing device, the data processing equipment and the computer readable storage medium, the first controller area network data sent by the vehicle-mounted gateway are received, and the second controller area network data are obtained based on the database file of the controller area network. Further, third controller local area network data are obtained based on a preset rule file, and then the third controller local area network data are subjected to aggregation processing to obtain fourth controller local area network data. The vehicle-mounted electronic equipment receives the first controller local area network data sent by the vehicle-mounted gateway, filters out undefined bit data according to a database file of the controller local area network, further screens out data needing to be uploaded according to a preset rule file, and then performs aggregation processing on the data to obtain fourth controller local area network data. Before the cloud is uploaded, the data of the controller area network is optimized, useless data and irrelevant physical quantities are filtered, so that the data quantity uploaded is reduced, the occupation of bandwidth in the uploading process is reduced, and network resources are effectively utilized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a data processing method provided by an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an application scenario provided by the embodiment of the present disclosure;
FIG. 3 is a flow chart of a data processing method according to another embodiment of the present disclosure;
FIG. 4 is a flow chart of a data processing method according to another embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an in-vehicle electronic device provided in the embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments. The specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
With the application of car networking technology to vehicles, the issue of vehicle network security is also getting more and more concerned. The vehicle data uploading cloud is one of a plurality of safety protection means. The advanced technologies such as a cloud high-performance server, big data and cloud computing are utilized to carry out statistical analysis on network data in the vehicle, leak in the vehicle is excavated, vehicle behaviors are monitored, and the method has the advantages of timely finding problems, backtracking the causes of the problems and the like.
In general, the vehicle-mounted gateway forwards data to a vehicle networking control unit (Tbox), and the Tbox directly uploads collected Controller Area Network (CAN) data to a cloud at intervals, and the data is analyzed and processed by the cloud.
However, a large amount of redundant and useless information exists in the uploaded CAN data, and due to the large data volume, the uploading process occupies resources such as a large network bandwidth. To solve this problem, embodiments of the present disclosure provide a data processing method, which is described below with reference to specific embodiments.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present disclosure. The method can be applied to the application scenario shown in fig. 2, where the application scenario includes a vehicle-mounted gateway 21, a vehicle-mounted electronic device 22 and a cloud server 23, and the vehicle-mounted electronic device 22 may specifically be a terminal, for example, a smart phone, a palm computer, a tablet computer, a wearable device with a display screen, a desktop computer, a notebook computer, an all-in-one machine, a smart home device, and the like. It can be understood that the data processing method provided by the embodiment of the present disclosure may also be applied in other scenarios.
The following describes the data processing method shown in fig. 1 with reference to the application scenario shown in fig. 2, where the method includes the following specific steps:
s101, receiving first controller area network data sent by the vehicle-mounted gateway.
As shown in fig. 2, the vehicle-mounted gateway 21 sends first controller Area network data to the vehicle-mounted electronic device 22, where the first controller Area network data is can (controller Area network) data, and the vehicle-mounted electronic device 22 receives the first controller Area network data sent by the vehicle-mounted gateway 21.
And S102, obtaining second controller local area network data based on the database file of the controller local area network.
For example, the in-vehicle electronic device 22 stores a database file of a controller area network, where the database file of the controller area network is a dbc (database can) file, and the in-vehicle electronic device 22 processes the first controller area network data according to the database file of the controller area network to obtain the second controller area network data.
Specifically, the DBC file mainly defines what types of CAN messages are included in the CAN bus, what controller area network Identification (ID) number each CAN message has, what physical quantity each CAN message carries, and information such as start bit, length, factor, etc. of each physical quantity, and the DBC file is generally defined by the vehicle manufacturer itself.
For example, a car manufacturer may specify that a controller area network identification number (caidd) is 0x0001 to carry vehicle speed information and 0x0002 to carry door status information. The receiving end of an Electronic Control Unit (ECU) also identifies whether the message is a CAN message sent to itself through the cannid. The CAN message contains a data field, a control field, an arbitration field, and the like. The data field mainly comprises data information, the CAN protocol specifies, and the length of the data field is 0-8 bytes (0-64 bits). When a car manufacturer defines a DBC file, often one CAN message may carry a plurality of physical quantities (the physical quantities may be vehicle speed information, vehicle door state information, etc.), for example, a message with a CAN ID of 0x0011 carries two physical quantities, which are a speed quantity and a pedal angle quantity, respectively, and other bit (bit) bits are not defined. The in-vehicle electronic device 22 may filter out undefined bit data from the DBC file.
And S103, obtaining third controller local area network data based on the preset rule file.
As shown in fig. 2, a preset rule file is stored in the vehicle-mounted electronic device 22, and the vehicle-mounted electronic device 22 processes the second controller local area network data according to the preset rule file to obtain third controller local area network data.
Optionally, the preset rule file is a specification file that the vehicle-mounted electronic device 22 and the cloud server 23 follow together. The preset rule file defines which physical quantities need to be uploaded to the cloud, and each physical quantity corresponds to an ID. Useless physical quantities can be filtered out by utilizing a preset rule file, the physical quantities are classified, and the physical quantities are uploaded in a mode that an ID is used as an identifier and data is used as a list. The vehicle-mounted electronic device 22 may screen out data to be uploaded according to a preset rule file, so as to obtain third controller local area network data.
And S104, aggregating the third controller local area network data to obtain fourth controller local area network data.
The vehicle-mounted electronic device 22 shown in fig. 2 performs aggregation processing on the third controller area network data to obtain fourth controller area network data. For example, the velocity ID is 20, and 20: 12, 13, 14, … ….
According to the embodiment of the disclosure, the data of the local area network of the second controller is obtained by receiving the data of the local area network of the first controller sent by the vehicle-mounted gateway and based on the database file of the local area network of the controller. Further, third controller local area network data are obtained based on a preset rule file, and then the third controller local area network data are subjected to aggregation processing to obtain fourth controller local area network data. The vehicle-mounted electronic equipment receives the first controller local area network data sent by the vehicle-mounted gateway, filters out undefined bit data according to a database file of the controller local area network, further screens out data needing to be uploaded according to a preset rule file, and then performs aggregation processing on the data to obtain fourth controller local area network data. Before the cloud is uploaded, the data of the controller area network is optimized, useless data and irrelevant physical quantities are filtered, so that the data quantity uploaded is reduced, the occupation of bandwidth in the uploading process is reduced, and network resources are effectively utilized.
Fig. 3 is a flowchart of a data processing method according to another embodiment of the disclosure, as shown in fig. 3, the method includes the following steps:
s301, receiving the first controller area network data sent by the vehicle-mounted gateway.
Specifically, the implementation process and principle of S301 and S101 are consistent, and are not described herein again.
S302, based on a database file of a controller local area network, converting the message in the first controller local area network data into a numerical value to be processed.
As shown in fig. 2, the in-vehicle electronic device 22 defines how many controller area network identification numbers (IDs) of each CAN message are based on a database file of the controller area network, which physical quantities each CAN message carries, and information such as start bits, lengths, and factors of each physical quantity, and also defines how the physical quantities in the messages are converted into to-be-processed numerical values. Each physical quantity in the message can be converted into a numerical value to be processed by a corresponding calculation method. For example, one physical quantity is an addition of four bits, and the other physical quantity is an addition of four bits multiplied by ten, respectively.
And S303, filtering the numerical value to be processed to obtain second controller local area network data.
The vehicle-mounted electronic device 22 filters the to-be-processed numerical values, filters out useless numerical values, and obtains second controller local area network data.
And S304, obtaining third controller local area network data based on the preset rule file.
Specifically, the implementation process and principle of S304 and S103 are consistent, and are not described herein again.
S305, aggregating the third controller local area network data to obtain fourth controller local area network data.
Specifically, the implementation process and principle of S305 and S104 are consistent, and are not described herein again.
According to the embodiment of the invention, the message in the first controller local area network data is converted into the numerical value to be processed based on the database file of the controller local area network by receiving the first controller local area network data sent by the vehicle-mounted gateway, and the numerical value to be processed is filtered to obtain the second controller local area network data. Further, third controller local area network data are obtained based on a preset rule file, and the third controller local area network data are subjected to aggregation processing to obtain fourth controller local area network data. The vehicle-mounted electronic equipment receives the first controller local area network data sent by the vehicle-mounted gateway, converts messages in the first controller local area network data into to-be-processed numerical values according to a database file of the controller local area network, filters the to-be-processed numerical values, filters useless numerical values, further screens out data needing to be uploaded according to a preset rule file, and then performs aggregation processing on the data to obtain fourth controller local area network data. Before the cloud is uploaded, the data of the controller local area network is optimized, useless data and irrelevant physical quantities are filtered, so that the data quantity uploaded is reduced, the occupation of bandwidth in the uploading process is reduced, network resources are effectively utilized, and the bandwidth utilization rate is further improved.
Fig. 4 is a flowchart of a data processing method according to another embodiment of the disclosure, as shown in fig. 4, the method includes the following steps:
s401, receiving first controller area network data sent by the vehicle-mounted gateway.
Specifically, the implementation process and principle of S401 and S101 are consistent, and are not described herein again.
S402, based on a database file of a controller local area network, converting the message in the first controller local area network data into a numerical value to be processed.
Specifically, the implementation process and principle of S401 and S302 are consistent, and are not described herein again.
And S403, filtering out a numerical value corresponding to an undefined message in the numerical values to be processed according to the database file of the controller area network to obtain second controller area network data, wherein the database file of the controller area network comprises the definition of the message and the information carried by the message.
As shown in fig. 2, the vehicle-mounted electronic device 22 filters out a value corresponding to an undefined packet in the to-be-processed values according to the database file of the controller area network, where the database file of the controller area network includes definitions of packets and information carried by the packets, so as to obtain second controller area network data.
S404, filtering the second controller local area network data based on a preset rule file to obtain third controller local area network data, wherein the third controller local area network data is the controller local area network data obtained after the second controller local area network data is filtered.
The vehicle-mounted electronic device 22 filters the second controller local area network data based on a preset rule file to obtain third controller local area network data, where the third controller local area network data is the controller local area network data obtained after the second controller local area network data is filtered. The preset rule file defines which physical quantities need to be uploaded to the cloud, and each physical quantity corresponds to an ID. Useless physical quantities can be filtered out by utilizing a preset rule file, the physical quantities are classified, and the physical quantities are uploaded in a mode that an ID is used as an identifier and data is used as a list. The vehicle-mounted electronic device 22 may screen out data to be uploaded according to a preset rule file, so as to obtain third controller local area network data.
S405, aggregating the third controller local area network data to obtain fourth controller local area network data.
Specifically, the implementation process and principle of S405 and S104 are consistent, and are not described herein again.
S406, uploading the fourth controller area network data to a cloud.
After obtaining the fourth controller area network data, the in-vehicle electronic device 22 shown in fig. 2 uploads the fourth controller area network data to the cloud server 23.
According to the embodiment of the invention, the data of the first controller local area network sent by the vehicle-mounted gateway is received, the messages in the data of the first controller local area network are converted into the numerical values to be processed based on the database file of the controller local area network, the numerical values corresponding to the undefined messages in the numerical values to be processed are filtered according to the database file of the controller local area network, and the data of the second controller local area network is obtained, wherein the database file of the controller local area network comprises the definitions of the messages and the information carried by the messages. Further, based on a preset rule file, filtering the second controller local area network data to obtain third controller local area network data, wherein the third controller local area network data is the controller local area network data obtained after the second controller local area network data is filtered. And then, aggregating the third controller local area network data to obtain fourth controller local area network data, and uploading the fourth controller local area network data to a cloud. Before the cloud terminal is uploaded, the controller local area network data is optimized, useless data and irrelevant physical quantities are filtered, the filtered data are aggregated, fourth controller local area network data are obtained, and the fourth controller local area network data are uploaded to the cloud terminal. Redundant CAN IDs, useless data and irrelevant physical quantities in an original CAN data set are filtered through the DBC file and the preset rule file, so that the uploaded CAN data quantity is reduced, the occupation of bandwidth in the uploading process is reduced, and network resources are effectively utilized.
Fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure. The data processing apparatus may be the in-vehicle electronic device described in the above embodiments, or the data processing apparatus may be a component or assembly in the in-vehicle electronic device. The data processing apparatus provided by the embodiment of the present disclosure may execute the processing procedure provided by the embodiment of the data processing method, as shown in fig. 5, the data processing apparatus 50 includes: a receiving module 51, a first obtaining module 52, a second obtaining module 53, and an aggregation processing module 54; the receiving module 51 is configured to receive first controller area network data sent by the vehicle-mounted gateway; the first obtaining module 52 is configured to obtain second controller area network data based on a database file of the controller area network; the second obtaining module 53 is configured to obtain third controller local area network data based on the preset rule file; the aggregation processing module 54 is configured to aggregate the third controller area network data to obtain fourth controller area network data.
Optionally, the first obtaining module 52 includes a converting unit 521 and a filtering unit 522; the conversion unit 521 is configured to convert a packet in the first controller area network data into a to-be-processed numerical value based on a database file of a controller area network; the filtering unit 522 is configured to filter the to-be-processed value to obtain second controller area network data.
Optionally, when the filtering unit 522 is configured to filter the to-be-processed numerical value to obtain the second controller local area network data, specifically: and filtering out the numerical value corresponding to the undefined message in the numerical values to be processed according to the database file of the controller local area network to obtain second controller local area network data, wherein the database file of the controller local area network comprises the definition of the message and the information carried by the message.
Optionally, when the second obtaining module 53 obtains the third controller local area network data based on the preset rule file, it is specifically configured to: and filtering the second controller local area network data based on a preset rule file to obtain third controller local area network data, wherein the third controller local area network data is the controller local area network data obtained after the second controller local area network data is filtered.
Optionally, the data processing apparatus 50 further includes: an upload module 55; the uploading module 55 is configured to upload the fourth controller area network data to the cloud.
The data processing apparatus in the embodiment shown in fig. 5 may be used to implement the technical solutions in the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of an in-vehicle electronic device provided in the embodiment of the present disclosure. The in-vehicle electronic apparatus may be the in-vehicle electronic apparatus described in the above embodiment. The vehicle-mounted electronic device provided in the embodiment of the present disclosure may execute the processing flow provided in the embodiment of the data processing method, as shown in fig. 6, the vehicle-mounted electronic device 60 includes: memory 61, processor 62, computer programs and communication interface 63; wherein the computer program is stored in the memory 61 and is configured to be executed by the processor 62 in a data processing method as described above.
In addition, the embodiment of the present disclosure also provides a computer readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the data processing method described in the above embodiment.
Furthermore, the embodiments of the present disclosure also provide a computer program product, which includes a computer program or instructions, and the computer program or instructions implement the data processing method as described above when executed by a processor.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer-readable medium may be included in the in-vehicle electronic apparatus; or may exist separately without being assembled into the in-vehicle electronic apparatus.
The computer readable medium carries one or more programs which, when executed by the in-vehicle electronic device, cause the in-vehicle electronic device to:
receiving first controller local area network data sent by a vehicle-mounted gateway;
obtaining second controller local area network data based on the database file of the controller local area network;
obtaining third controller local area network data based on a preset rule file;
and aggregating the third controller local area network data to obtain fourth controller local area network data.
In addition, the vehicle-mounted electronic equipment can also execute other steps in the data processing method.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A data processing method is characterized by being applied to a vehicle-mounted system, and comprises the following steps:
receiving first controller local area network data sent by a vehicle-mounted gateway;
obtaining second controller local area network data based on the database file of the controller local area network;
obtaining third controller local area network data based on a preset rule file;
and aggregating the third controller local area network data to obtain fourth controller local area network data.
2. The method of claim 1, wherein obtaining second controller area network data based on the database file of the controller area network comprises:
converting the message in the first controller area network data into a numerical value to be processed based on a database file of a controller area network;
and filtering the numerical value to be processed to obtain second controller local area network data.
3. The method of claim 2, wherein the filtering the to-be-processed value to obtain second controller area network data comprises:
and filtering out the numerical value corresponding to the undefined message in the numerical values to be processed according to the database file of the controller local area network to obtain second controller local area network data, wherein the database file of the controller local area network comprises the definition of the message and the information carried by the message.
4. The method of claim 1, wherein obtaining the third controller area network data based on the predetermined rule file comprises:
and filtering the second controller local area network data based on a preset rule file to obtain third controller local area network data, wherein the third controller local area network data is the controller local area network data obtained after the second controller local area network data is filtered.
5. The method according to any of claims 1-4, wherein after obtaining the fourth controller area network data, further comprising:
and uploading the fourth controller local area network data to a cloud.
6. A data processing apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving the first controller local area network data sent by the vehicle-mounted gateway;
the first obtaining module is used for obtaining second controller local area network data based on a database file of the controller local area network;
the second obtaining module is used for obtaining third controller local area network data based on the preset rule file;
and the aggregation processing module is used for aggregating the third controller local area network data to obtain fourth controller local area network data.
7. The apparatus of claim 6, wherein the first obtaining module comprises a converting unit and a filtering unit;
the conversion unit is used for converting the message in the first controller local area network data into a numerical value to be processed based on a database file of a controller local area network;
and the filtering unit is used for filtering the numerical value to be processed to obtain second controller local area network data.
8. The apparatus according to claim 7, wherein the filtering unit, when the to-be-processed numerical value is filtered to obtain the second controller area network data, is specifically configured to:
and filtering out the numerical value corresponding to the undefined message in the numerical values to be processed according to the database file of the controller local area network to obtain second controller local area network data, wherein the database file of the controller local area network comprises the definition of the message and the information carried by the message.
9. The apparatus of claim 6, wherein the second obtaining module, when obtaining the third controller local area network data based on the preset rule file, is specifically configured to:
and filtering the second controller local area network data based on a preset rule file to obtain third controller local area network data, wherein the third controller local area network data is the controller local area network data obtained after the second controller local area network data is filtered.
10. The apparatus of any of claims 6-9, further comprising:
and the uploading module is used for uploading the fourth controller local area network data to a cloud.
11. An in-vehicle electronic apparatus, characterized by comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202111497988.3A 2021-12-09 2021-12-09 Data processing method, device, equipment and computer readable storage medium Pending CN114257617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111497988.3A CN114257617A (en) 2021-12-09 2021-12-09 Data processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111497988.3A CN114257617A (en) 2021-12-09 2021-12-09 Data processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114257617A true CN114257617A (en) 2022-03-29

Family

ID=80794325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111497988.3A Pending CN114257617A (en) 2021-12-09 2021-12-09 Data processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114257617A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108043A (en) * 2013-01-31 2013-05-15 厦门雅迅网络股份有限公司 Method for application database file self-adaptation electronic control unit (ECU) message collection
CN107132832A (en) * 2016-02-29 2017-09-05 株洲南车时代电气股份有限公司 A kind of DBC document analysis and its Programming Methodology based on CAN communication
US20190258727A1 (en) * 2018-02-22 2019-08-22 Ford Motor Company Method and system for deconstructing and searching binary based vehicular data
CN110266571A (en) * 2019-06-17 2019-09-20 珠海格力电器股份有限公司 Method and device for improving reliability of CAN bus data transmission and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108043A (en) * 2013-01-31 2013-05-15 厦门雅迅网络股份有限公司 Method for application database file self-adaptation electronic control unit (ECU) message collection
CN107132832A (en) * 2016-02-29 2017-09-05 株洲南车时代电气股份有限公司 A kind of DBC document analysis and its Programming Methodology based on CAN communication
US20190258727A1 (en) * 2018-02-22 2019-08-22 Ford Motor Company Method and system for deconstructing and searching binary based vehicular data
CN110266571A (en) * 2019-06-17 2019-09-20 珠海格力电器股份有限公司 Method and device for improving reliability of CAN bus data transmission and computer equipment

Similar Documents

Publication Publication Date Title
CN112367233B (en) Vehicle-mounted network ECU communication method and device based on service-oriented architecture
US10298492B2 (en) System and method for interworking between vehicle controller and external resource
US20170150538A1 (en) Device-to-device communication method, method for assigning device-to-device communication resource, and apparatuses thereof
CN113938531A (en) Data transmission method, device, equipment and medium
CN115871691A (en) Vehicle running control method and device, electronic equipment and computer readable medium
CN111355817B (en) Domain name resolution method, device, security server and medium
CN110971533B (en) Method, server apparatus, client apparatus, and medium for data communication
Jain et al. Data Export and Optimization Technique in Connected Vehicle.
CN114466226A (en) Method, device, equipment and computer readable medium for determining bandwidth duration ratio
CN114257617A (en) Data processing method, device, equipment and computer readable storage medium
CN116708576A (en) Service providing method, device, equipment and computer readable storage medium
CN115167351B (en) Controller function updating method, system, vehicle and server
US20210006567A1 (en) Using crc for sender authentication in a serial network
CN113360348B (en) Abnormal request processing method and device, electronic equipment and storage medium
CN115396494A (en) Real-time monitoring method and system based on stream computing
CN107466018B (en) Data transmission method of terminal equipment and terminal equipment
CN114490718A (en) Data output method, data output device, electronic equipment and computer readable medium
US10638288B2 (en) Embedded device identification information in packetized communications
WO2024016251A1 (en) Log reporting method and apparatus
CN115118727B (en) Data transmission method, device, equipment and storage medium of distributed computing architecture
CN112235195B (en) Method for processing reported data and related equipment
CN112804768B (en) Method and device for processing communication connection, terminal and non-transitory storage medium
CN115632995B (en) Data feature extraction method, equipment and computer medium for industrial control network
US20240340776A1 (en) Apparatus and method for providing user plane function event exposure service in wireless communication system
CN114172946B (en) Request result sending method, device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220329

RJ01 Rejection of invention patent application after publication