A method, system, device and medium for processing vehicle network communication data records

By using the publishing and subscription protocols of processing modules and data recording modules in the Internet of Vehicles communication system for data communication and storage, the problem of fixed recording methods in the prior art is solved, and the cross-device data recording and resource utilization are improved.

CN115695468BActive Publication Date: 2024-11-15CHONGQING CHANGAN TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202211184740.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2024-11-15
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

The existing Internet of Vehicle communication data recording method is difficult to change once the recording program and recording equipment is confirmed, and cross-device communication cannot be realized, resulting in high recording costs and low resource utilization.

Method used

The processing module and the data recording module send or receive data to the communication module in a publishing and subscribing protocol, so that it communicates within the same domain processor, and subscribes the communication module data using the transmission intermediary protocol in the configuration file to complete the data encapsulation Processing and storage, supporting cross-device data recording.

Benefits of technology

It realizes data communication and storage within the same domain processor, reduces CPU memory usage, improves resource utilization, and supports cross-device data recording.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115695468B_ABST
    Figure CN115695468B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data communication technology, and provides a method for processing vehicle network communication data recording, the method comprising: initializing a processing module and a data recording module; inputting the transmission intermediary protocol of the data recording module into the communication module, triggering a callback function in the data recording module; encapsulating the initial communication data on the communication module to obtain intermediate communication data; saving the intermediate communication data to a cache area, and using the data recording thread of the data recording module to read data from the cache area to obtain cache communication data; and saving the cache communication data to a server to complete the storage and recording of communication data. The present invention can support cross-device data recording, and improve the storage memory of the controller and the resource utilization of the central processing unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data communication technology, and specifically to a method, system, device, and medium for processing vehicle network communication data records. Background Art

[0002] With the deepening of automobile intelligence research, the level of autonomous driving technology is constantly improving. However, the existing vehicle network communication data recording method is difficult to change the recording method once the recording program and recording device are confirmed. The data recording program needs to call a separate recording interface on the software to realize the function of data storage or forwarding to other storage modules, and cross-device communication cannot be realized. Summary of the invention

[0003] In view of the above-mentioned shortcomings of the prior art, the present invention provides a method, system, device and medium for processing vehicle network communication data records to solve the above-mentioned technical problems.

[0004] The present invention provides a method for processing vehicle network communication data records, comprising:

[0005] Initialize the processing module and the data recording module;

[0006] Inputting the transmission intermediary protocol of the data recording module into the communication module to trigger the callback function in the data recording module;

[0007] Encapsulating the initial communication data on the communication module to obtain intermediate communication data;

[0008] The intermediate communication data is saved in a buffer area, and the data recording thread of the data recording module is used to read data from the buffer area to obtain the buffer communication data; and

[0009] The cached communication data is saved to the server.

[0010] In one embodiment of the present invention, the initialization process is to unify the domain numbers of the intelligent elastic architecture of the processing module and the data recording module.

[0011] In one embodiment of the present invention, the step of inputting the transmission intermediary protocol of the data recording module into the communication module to trigger the callback function in the data recording module includes:

[0012] Setting a publishing protocol and a receiving protocol in the processing module, and setting the receiving protocol in the data recording module;

[0013] Registering a callback function that needs to subscribe to the receiving protocol in the processing module and the data recording module;

[0014] The processing module and the data recording module respectively receive the initial communication data of the communication module, and send their own output data to the communication module.

[0015] In one embodiment of the present invention, the step of registering a callback function that needs to subscribe to the receiving protocol in the processing module and the data recording module includes:

[0016] Defining the receiving protocol that the data recording module needs to subscribe to, and storing the receiving protocol in a configuration file;

[0017] The data recording module reads the receiving protocol in the configuration file and completes the registration of the callback function in the configuration file.

[0018] In one embodiment of the present invention, the encapsulation process is to add three fields, namely, a frame header, a frame length and a frame tail, to the initial communication data.

[0019] In one embodiment of the present invention, the step of saving the cached communication data to the server includes:

[0020] Determining whether the size of the cached communication data is greater than a preset threshold;

[0021] When the cached communication data is less than or equal to the preset threshold, directly saving the cached communication data to the server;

[0022] When the cache communication data is greater than the preset threshold, the cache communication data is segmented and then saved to the server.

[0023] In one embodiment of the present invention, the processing module includes a perception module, a fusion module, a decision module, a prediction module and a control module.

[0024] The present invention also provides a system for processing vehicle network communication data records, the system comprising:

[0025] An initialization module, used for initializing the processing module and the data recording module;

[0026] A callback function triggering module, used for inputting the transmission intermediary protocol of the data recording module into the communication module to trigger the callback function in the data recording module;

[0027] An encapsulation processing module, used for encapsulating the initial communication data on the communication module to obtain intermediate communication data;

[0028] a data reading module, configured to save the intermediate communication data to a cache area, and use the data recording thread of the data recording module to read data from the cache area to obtain cache communication data; and

[0029] The data storage module is used to store the cached communication data to the server.

[0030] The present invention further provides an electronic device, comprising:

[0031] one or more processors;

[0032] A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the method for processing vehicle network communication data records as described in any one of claims 1 to 7.

[0033] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the method for processing vehicle network communication data records as described in any one of claims 1 to 7.

[0034] Beneficial effects of the present invention: The present invention sends or receives data to the communication module in a publishing and subscription protocol manner through the processing module and the data recording module, so that the processing module and the data recording module can communicate within the same domain processor and output their own data. The data recording module subscribes to the data on the communication module according to the transmission intermediary protocol added in the configuration file, obtains the cached communication data, and finally saves the cached communication data to the server to complete the storage and recording of the communication data, support cross-device data recording, and improve the storage memory of the controller and the resource utilization of the central processing unit.

[0035] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0037] Figure 1 It is a schematic diagram of an implementation environment of a method for processing vehicle network communication data records shown in an exemplary embodiment of the present application;

[0038] Figure 2is a flowchart of a method for processing vehicle network communication data records shown in an exemplary embodiment of the present application;

[0039] Figure 3 yes Figure 2 A schematic diagram of data communication between the processing module and the data recording module in the illustrated embodiment;

[0040] Figure 4 yes Figure 2 Step S220 in the illustrated embodiment is a flow chart in an exemplary embodiment;

[0041] Figure 5 yes Figure 2 The step S220 in the illustrated embodiment is a schematic diagram of the communication data format in an exemplary embodiment;

[0042] Figure 6 yes Figure 4 Step S320 in the illustrated embodiment is a flow chart in an exemplary embodiment;

[0043] Figure 7 yes Figure 2 Step S250 in the illustrated embodiment is a flow chart in an exemplary embodiment;

[0044] Figure 8 It is a structural schematic diagram of a processing system for vehicle network communication data recording shown in an exemplary embodiment of the present application;

[0045] Fig. 9 yes Figure 2 A schematic diagram of a storage data format of step S230 in the illustrated embodiment in an exemplary embodiment;

[0046] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0047] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0048] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0049] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0050] First of all, it should be noted that with the deepening of automobile intelligence research, the level of autonomous driving technology is constantly improving, and the Internet of Vehicles communication data recording technology has become a key technology in autonomous driving technology. If the Internet of Vehicles communication data is recorded, it will help researchers to more conveniently and effectively perform data analysis, problem location, algorithm optimization and improvement of autonomous driving functions. However, once the existing Internet of Vehicles communication data recording method confirms the recording program and recording device, it is difficult to change the recording method. The data recording program needs to call a separate recording interface on the software to realize the function of data storage or forwarding to other storage modules, and cannot realize cross-device communication. The processing method of Internet of Vehicles communication data recording refers to sending or receiving data to the communication module in the form of a publishing and subscription protocol through the processing module and the data recording module, so that the processing module and the data recording module can communicate in the same domain processor and output their own data. The data recording module implements the subscription to the data on the communication module according to the transmission intermediary protocol added in the configuration file, obtains the cached communication data, and finally saves the cached communication data to the server to complete the storage and recording of the communication data. In other application scenarios, the processing method of Internet of Vehicles communication data recording for the object can be set according to the actual situation, and the embodiments of the present application are not limited to this.

[0051] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a method for processing vehicle network communication data records according to an exemplary embodiment of the present application. Figure 1As shown, the processing module and the data recording module can be initialized by the controller installed on the intelligent terminal 110. Then the transmission intermediary protocol of the data recording module is input to the communication module to trigger the callback function in the data recording module. The initial communication data on the communication module is encapsulated to obtain the intermediate communication data, and then the intermediate communication data is saved to the cache area, and the data recording thread of the data recording module is used to read the data in the cache area to obtain the cached communication data, and finally the cached communication data is saved to the server 120 to complete the processing of the Internet of Vehicles communication data record. Among them, Figure 1 The smart terminal 110 shown can be a smart phone, a smart car, a tablet computer, a laptop computer, or any terminal device that supports the installation of a controller and a central processing unit (CPU), etc., but is not limited thereto. Figure 1 The server 120 shown is a server, for example, it can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms, which are not limited here. The intelligent terminal 110 can communicate with the server 120 through wireless networks such as 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), and 5G (fifth generation mobile information technology), which are not limited here. Since the current Internet of Vehicles communication data needs to occupy a separate recording interface on the software when recording, and occupies a large CPU memory, the recording cost of Internet of Vehicles communication data is very high. To solve these problems, the embodiments of the present application respectively propose a processing method for recording Internet of Vehicles communication data, a system for recording Internet of Vehicles communication data, an electronic device, and a computer-readable storage medium, and these embodiments will be described in detail below.

[0052] See also Figure 2 , Figure 2 is a flowchart of a method for processing vehicle network communication data records shown in an exemplary embodiment of the present application, which can be applied to Figure 1 The implementation environment shown is specifically executed by the smart terminal 110 in the implementation environment. It should be understood that the method can also be applied to other exemplary implementation environments and be specifically executed by devices in other implementation environments. This embodiment does not limit the implementation environment to which the method is applicable.

[0053] like Figure 2In an exemplary embodiment, the method for processing vehicle network communication data records includes at least steps S210 to S250, which are described in detail as follows:

[0054] Step S210, initializing the processing module and the data recording module;

[0055] Step S220, inputting the transmission intermediary protocol of the data recording module into the communication module, triggering the callback function in the data recording module;

[0056] Step S230: encapsulate the initial communication data on the communication module to obtain intermediate communication data;

[0057] Step S240, saving the intermediate communication data to the buffer area, and using the data recording thread of the data recording module to read the data from the buffer area to obtain the cache communication data; and

[0058] Step S250: Save the cached communication data to the server.

[0059] like Figure 2 and Figure 3 As shown, in an exemplary embodiment, when step S210 is executed, the processing module and the data recording module are initialized. First of all, it should be noted that the processing module and the data recording module are generated in the intelligent terminal 110, and the initialization process is to unify the domain number of the intelligent resilient framework of the processing module and the data recording module. Specifically, the domain number of the intelligent resilient framework (Intelligent Resilient Framework, IRF) of the processing module and the data recording module is set to 1, so that the processing module and the data recording module are in the same domain, ensuring that the processing module and the data recording module can communicate within the domain, but not limited to this, the domain number of the intelligent resilient framework (Intelligent Resilient Framework, IRF) of the processing module and the data recording module can also be set to 2, and can also be set to other values, as long as the domain number value of the IRF is the same. Among them, the processing module may include a perception module, a fusion module, a decision module, a prediction module and a control module, and may also include other modules.

[0060] like Figure 4 As shown, in an exemplary embodiment, when executing step S220, that is, inputting the transmission intermediary protocol of the data recording module into the communication module and triggering the callback function in the data recording module, it also includes steps S310 to S330, which are described in detail as follows:

[0061] Step S310: setting a publishing protocol and a receiving protocol in the processing module, and setting the receiving protocol in the data recording module;

[0062] Step S320: registering the callback function that needs to subscribe to the receiving protocol in the processing module and the data recording module;

[0063] Step S330: The processing module and the data recording module respectively receive the initial communication data of the communication module, and send their own output data to the communication module.

[0064] In an exemplary embodiment, the publishing protocol and receiving protocol refer to the transmission intermediary protocol (Topic) between the message publisher and the subscriber. The publisher sets the topic to be published, and the data reader subscribes to the topic of interest. The publisher, as a publisher role, includes at least one entity (DataWriter) responsible for actually publishing messages, and is responsible for creating, deleting and managing datawriters. Similarly, as a subscriber, the subscriber is associated with at least one data reader (datareader) and is responsible for publishing data. The data publisher publishes data by calling the write function of the datawriter, but the data will not be sent out immediately. The actual message generation is controlled by the publisher and Qos. The datareader is responsible for subscribing to data, and the subscription method can be asynchronous (listener), synchronous and non-blocking. The callback function refers to a function called through a function pointer, which is used to encapsulate the communication data and complete the function of adding a frame header to the data frame of the communication data and storing the communication data. The communication module refers to the Data Distribution Service (DDS) bus, where the Data Distribution Service (DDS) is a data-centric middleware protocol and application programming interface (API) standard published by the Object Management Group (OMG). It adopts a distributed publish / subscribe architecture and provides communication services in the form of middleware, emphasizing data-centricity. The DDS bus middleware is a software layer that abstracts applications from the details of the operating system, network transmission, and underlying data formats. The same concepts and APIs are provided to different programming languages, allowing applications to exchange information between different operating systems, programming languages, and processing architectures. The underlying details including data transmission format, discovery, connection, reliability, protocol, Quality of Service (QoS) strategy, etc. are managed by the DDS bus middleware. DDS integrates various components in the system to provide low-latency data connections, high reliability, and highly scalable architecture to meet the needs of commercial-grade Internet of Things (IoT) applications. The DDS bus calls all initial communication data the global data space (domain). For applications, the global data space looks like accessing memory through an API. The DDS bus provides a communication layer through a centralized data bus that enables data in motion to flow on demand, a highly scalable, efficient architecture.

[0065] like Figure 5 As shown, in an exemplary embodiment, the self-output data is communication format data, wherein the Topic name module is the name of the transmission intermediary protocol topic sent by the processing module and the data recording module. The Topic name can be set to 128 bytes, but is not limited to this and can also be other bytes. The timestamp module is a complete and verifiable data that can indicate that a piece of data existed before a certain time. The timestamp is a character sequence that uniquely identifies the time of a certain moment and can be 8 bytes. The serialization data module can convert the status information of the self-output data of the processing module and the data recording module into a form that can be stored or transmitted. During serialization, the self-output data of the processing module and the data recording module writes its current state to a temporary or persistent storage area, which is convenient for recreating the object by reading the state of the deserialized object from the storage area. Serialization allows other communication data protocols to view or modify it.

[0066] like Figure 6 As shown, in an exemplary embodiment, when step S320 is executed, the callback function that needs to subscribe to the receiving protocol is registered in the processing module and the data recording module. Specifically, step S320 may include steps S321 to S322, which are described in detail as follows:

[0067] Step S321, define the receiving protocol that the data recording module needs to subscribe to, and store the receiving protocol in a configuration file;

[0068] Step S322: The data recording module reads the receiving protocol in the configuration file and completes the registration of the callback function in the configuration file.

[0069] In an exemplary embodiment, wherein, a configuration file (JSON) is a format for storing structured information. It is mainly used to transmit World Wide Web application data between a server and a client. JSON appears as a string or object in a file with a .json extension or within quotes and is assigned to a variable in other file formats.

[0070] like Figure 2 and Fig. 9In an exemplary embodiment, when step S230 is executed, the initial communication data on the communication module is encapsulated to obtain intermediate communication data. The intermediate communication data is in a storage data format. It should be noted that the encapsulation process is implemented by triggering a callback function in the data recording module, that is, adding three fields, namely, a frame header, a frame length, and a frame tail, to the initial communication data. The frame header, the frame length, and the frame tail can all be constrained to 4 bytes, but are not limited to this. The frame header, the frame length, and the frame tail can also be constrained to other bytes, and the length of the variable-length serialized data is calculated according to the frame length to complete the encapsulation process of the initial communication data.

[0071] like Figure 2 In an exemplary embodiment, when step S240 is executed, the intermediate communication data is saved to the cache area, and the data recording thread of the data recording module is used to read the data in the cache area to obtain the cache communication data. It should be noted that the intermediate communication data is written into the cache queue in the cache area, and the cache communication data is in a storage data format.

[0072] like Figure 7 As shown, in an exemplary embodiment, when step S250 is executed, the cached communication data is saved to the server. Specifically, step S250 may include steps S410 to S430, which are described in detail as follows:

[0073] Step S410, determining whether the size of the cached communication data is greater than a preset threshold;

[0074] Step S420: When the cached communication data is less than or equal to a preset threshold, the cached communication data is directly saved to the server;

[0075] Step S430: When the cached communication data is greater than a preset threshold, the cached communication data is segmented and then saved to the server.

[0076] In an exemplary embodiment, the preset threshold may be 1 Gigabyte (GB), but is not limited thereto and may also be other Gigabytes.

[0077] Figure 8 FIG. 1 is a schematic diagram of a system for processing vehicle network communication data records according to an exemplary embodiment of the present application. The system can be applied in Figure 1 The system is in the implementation environment shown in the figure, and is specifically configured in the intelligent terminal 110. The system can also be applied to other exemplary implementation environments, and be specifically configured in other devices. This embodiment does not limit the implementation environment to which the system is applicable.

[0078] The processing system for Internet of Vehicles communication data records may include an initialization module 610 , a callback function triggering module 620 , an encapsulation processing module 630 , a data reading module 640 and a data storage module 650 .

[0079] In an exemplary embodiment, the initialization module 610 can be used to initialize the processing module and the data recording module. Specifically, the domain number of the intelligent resilient framework (IRF) of the processing module and the data recording module is set to 1, so that the processing module and the data recording module are in the same domain, ensuring that the processing module and the data recording module can communicate within the domain. However, it is not limited to this. The domain number of the intelligent resilient framework (IRF) of the processing module and the data recording module can also be set to 2, and can also be set to other values, as long as the domain number value of the IRF is the same. Among them, the processing module can include a perception module, a fusion module, a decision module, a prediction module, and a control module, and can also include other modules.

[0080] In an exemplary embodiment, the callback function trigger module 620 can be used to input the transmission intermediary protocol of the data recording module into the communication module, triggering the callback function in the data recording module. The callback function refers to a function called by a function pointer, which is used to encapsulate the communication data and complete the function of adding a frame header and communication data storage to the data frame of the communication data. The communication module refers to the Data Distribution Service (DDS) bus, wherein the Data Distribution Service (DDS) is a data-centric middleware protocol and application programming interface (Application Programming Interface, API) standard issued by the Object Management Group (Object Management Group, OMG). A distributed publish / subscribe architecture is adopted to provide communication services in the form of middleware, emphasizing data-centricity. The DDS bus middleware is a software layer that abstracts applications from the details of the operating system, network transmission and underlying data format. The same concepts and APIs are provided to different programming languages, so that applications can exchange information between different operating systems, programming languages ​​and processing architectures. The underlying details including data transmission format, discovery, connection, reliability, protocol, quality of service (Quality of Service, QoS) strategy, etc. are managed by the DDS bus middleware. DDS integrates various components in the system to provide low-latency data connections, high reliability, and highly scalable architecture to meet the needs of commercial-grade Internet of Things (IoT) applications. The DDS bus refers to all initial communication data as the global data space (domain). For applications, the global data space looks like accessing memory through an API.

[0081] In an exemplary embodiment, the encapsulation processing module 630 can be used to encapsulate the initial communication data on the communication module to obtain intermediate communication data. The intermediate communication data is in a storage data format. It should be noted that the encapsulation processing is implemented by triggering the callback function in the data recording module, that is, adding three fields, namely, the frame header, frame length and frame tail, to the initial communication data. The frame header, frame length and frame tail can all be constrained to 4 bytes, but are not limited to this. The frame header, frame length and frame tail can also be constrained to other bytes, and the length of the variable-length serialized data is calculated according to the frame length to complete the encapsulation processing of the initial communication data.

[0082] In an exemplary embodiment, the data reading module 640 can be used to save the intermediate communication data to the buffer area, and use the data recording thread of the data recording module to read the data in the buffer area to obtain the cache communication data. The intermediate communication data is written into the cache queue in the buffer area, and the cache communication data is in a storage data format.

[0083] In an exemplary embodiment, the data storage module 650 can be used to save the cached communication data to the server. In addition, it is necessary to determine whether the size of the cached communication data is greater than a preset threshold. When the cached communication data is less than or equal to the preset threshold, the cached communication data is directly saved to the server. When the cached communication data is greater than the preset threshold, the cached communication data is processed after data segmentation and saved to the server. The preset threshold may be 1 Gigabyte (GB), but is not limited thereto and may also be other Gigabytes.

[0084] It should be noted that the processing system for vehicle network communication data records provided in the above embodiment and the processing method for vehicle network communication data records provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In actual applications, the processing system for vehicle network communication data records provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0085] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the processing method for recording vehicle network communication data provided in the above-mentioned embodiments.

[0086] Fig.10 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Fig.10 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0087] like Fig.10As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703, such as executing the method described in the above embodiment. In the RAM 703, various programs and data required for system operation are also stored. The CPU 701, the ROM 702 and the RAM 703 are connected to each other through the bus 704. The input / output (I / O) interface 705 is also connected to the bus 704.

[0088] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc., a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.

[0089] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, various functions defined in the system of the present application are executed.

[0090] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0091] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0092] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not constitute limitations on the units themselves in some cases.

[0093] Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the above-mentioned method for processing vehicle network communication data records. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0094] Another aspect of the present application further provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method for processing vehicle network communication data records provided in each of the above embodiments.

[0095] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for processing vehicle network communication data records, characterized in that: The method comprises: Initialize the processing module and the data recording module; Setting a publishing protocol and a receiving protocol in the processing module, and setting the receiving protocol in the data recording module; Defining the receiving protocol that the data recording module needs to subscribe to, and storing the defined receiving protocol in a configuration file; The data recording module reads the receiving protocol in the configuration file and completes the registration of the callback function in the configuration file; Inputting the transmission intermediary protocol of the data recording module into the communication module to trigger the callback function in the configuration file; The processing module and the data recording module respectively receive the initial communication data of the communication module, and send their own output data to the communication module; Encapsulating the initial communication data on the communication module to obtain intermediate communication data; The intermediate communication data is saved in a buffer area, and the data recording thread of the data recording module is used to read data from the buffer area to obtain the buffer communication data; and The cached communication data is saved to the server.

2. The method for processing vehicle network communication data records according to claim 1, characterized in that: The initialization process is to unify the domain numbers of the intelligent elastic architecture of the processing module and the data recording module.

3. The method for processing vehicle network communication data records according to claim 1, characterized in that: The encapsulation process is to add three fields, namely, a frame header, a frame length and a frame tail, to the initial communication data.

4. The method for processing vehicle network communication data records according to claim 1, characterized in that: The step of saving the cache communication data to the server includes: Determining whether the size of the cached communication data is greater than a preset threshold; When the cached communication data is less than or equal to the preset threshold, directly saving the cached communication data to the server; When the cache communication data is greater than the preset threshold, the cache communication data is segmented and then saved to the server.

5. The method for processing vehicle network communication data records according to claim 1, characterized in that: The processing module includes a perception module, a fusion module, a decision module, a prediction module and a control module.

6. A processing system for recording vehicle network communication data, characterized in that: The system comprises: An initialization module, used for initializing the processing module and the data recording module; A callback function triggering module is used to set a publishing protocol and a receiving protocol in the processing module, and to set the receiving protocol in the data recording module; define the receiving protocol that the data recording module needs to subscribe to, and store the defined receiving protocol in a configuration file; the data recording module reads the receiving protocol in the configuration file to complete the registration of the callback function in the configuration file; inputs the transmission intermediary protocol of the data recording module into the communication module to trigger the callback function in the configuration file; the processing module and the data recording module respectively receive the initial communication data of the communication module, and send their own output data to the communication module; An encapsulation processing module, used for encapsulating the initial communication data on the communication module to obtain intermediate communication data; a data reading module, configured to save the intermediate communication data to a cache area, and use the data recording thread of the data recording module to read data from the cache area to obtain cache communication data; and The data storage module is used to store the cached communication data to the server.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the method for processing vehicle network communication data records as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method for processing vehicle network communication data records according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Car networking processing system and method

    CN103793787A

  • Efficient communications amongst computing nodes for operating autonomous vehicles

    CN107864694A

  • MCU communication service system of intelligent host

    CN113973088A

  • Input / Output Functions Related To A Portable Device In An Automotive Environment

    US20150192426A1

  • System and method for wireless connected device prioritization in a vehicle

    US20180077066A1