A vehicle data forwarding method, device, storage medium and electronic equipment

By configuring data forwarding strategies and filtering conditions on the configuration interface of the vehicle management platform, the problem of the single data forwarding strategy in the existing technology is solved, and flexible data forwarding is realized to adapt to various needs, thereby improving the adaptability and flexibility of data forwarding.

CN119383204BActive Publication Date: 2025-11-18JIANGXI GEELY NEW ENERGY COMMERCIAL VEHICLE CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411521576.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-11-18
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

Existing vehicle data forwarding methods lack flexibility and cannot adapt to various needs, resulting in a single data forwarding strategy that fails to meet the diverse requirements of different automotive parts suppliers.

Method used

Configure the data forwarding strategy on the configuration interface of the vehicle management platform, including the target address information of the data receiver, the data forwarding method and the data filtering conditions. Receive the message data uploaded by the target vehicle, process it according to the data forwarding method and filtering conditions, and then forward the data to the data receiver. Two modes are supported: directly forwarding data items and setting data items to empty so that they do not need to be forwarded.

Benefits of technology

It enables flexible changes to forwarding strategies based on requirements, is applicable to various forwarding scenarios, improves the flexibility and adaptability of data forwarding, and supports diverse data forwarding needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383204B_ABST
    Figure CN119383204B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a vehicle data forwarding method and device, a storage medium and an electronic device. The vehicle data forwarding method comprises: configuring a data forwarding strategy in a configuration interface of a vehicle management platform and adding a target vehicle in the configuration interface; the data forwarding strategy comprises target address information of a data receiving end, a data forwarding mode and a data filtering condition; receiving message data uploaded by the target vehicle; processing the message data according to the data forwarding mode and the data filtering condition to obtain target forwarding data; and forwarding the target forwarding data to the data receiving end according to the target address information. The problem of low efficiency of dynamic data forwarding of the vehicle is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle networking technology, and in particular to a vehicle data forwarding method, device, storage medium and electronic device. Background Technology

[0002] With the rapid development of the internet and vehicle intelligence, automotive parts suppliers need to collect various vehicle data to research related technologies. For example, vehicle battery suppliers need to obtain parameters such as battery specifications, dimensions, capacity, energy density, charge / discharge performance, and lifespan, as well as battery power consumption under different environments and operating conditions. Through this data, battery suppliers can evaluate battery performance and safety. Currently, the forwarding of vehicle data mostly relies on pre-set, fixed strategies, resulting in a relatively simple forwarding method that cannot meet diverse needs. Therefore, a more adaptable data forwarding method is urgently needed to solve these problems. Summary of the Invention

[0003] In view of this, the embodiments of this application aim to provide a vehicle data forwarding method, apparatus, storage medium, and electronic device to solve the above-mentioned technical problems.

[0004] This application provides a vehicle data forwarding method, applied to a vehicle management platform, the method comprising:

[0005] Configure data forwarding strategies and add target vehicles on the configuration interface of the vehicle management platform; the data forwarding strategy includes the target address information of the data receiving end, the data forwarding method, and the data filtering conditions.

[0006] Receive message data uploaded by the target vehicle;

[0007] The message data is processed according to the data forwarding method and the data filtering conditions to obtain the target forwarding data;

[0008] The target forwarding data is forwarded to the data receiving end according to the target address information.

[0009] In some embodiments, the configuration interface is configured with forwarding data items; the forwarding data items are constructed according to the data transmission protocol of the Internet of Vehicles; the data forwarding method includes a first mode; the step of processing the packet data according to the data forwarding method and the data filtering conditions to obtain target forwarding data includes:

[0010] In the first mode, the message data is parsed, and the values ​​corresponding to each data item in the parsing result are stored in the corresponding forwarding data item on the vehicle management platform; the target forwarding data item is selected from the configuration interface according to the data filtering conditions; the target forwarding data item is used as the target forwarding data.

[0011] In some embodiments, the data forwarding mode includes a second mode; the step of processing the packet data according to the data forwarding method and the data filtering conditions to obtain target forwarding data includes:

[0012] In the second mode, data items that do not need to be forwarded in the message data are determined according to the data filtering conditions; the data items that do not need to be forwarded at the corresponding positions in the message data are set to empty to form target message data; the target message data is the target forwarding data.

[0013] In some embodiments, the step of setting the data items that do not need to be forwarded at corresponding positions in the message data to form target message data includes:

[0014] Determine the encapsulation format of the message data;

[0015] According to the encapsulation format, ordered calculations are performed starting from the first byte of the message data. When the calculated index parameter at a certain position in the message data is the same as the data item that does not need to be forwarded, the value at that position is replaced with a preset value, and the values ​​corresponding to the data items at other positions in the message data remain unchanged, thus forming the target message data.

[0016] In some embodiments, the method further includes:

[0017] Obtain the forwarding result and forwarding time of the target forwarding data;

[0018] The forwarding result, the forwarding time, the vehicle identification number corresponding to the target vehicle, and the reporting time of the message data are encapsulated together to form result data;

[0019] The result data is stored in a first data table or a second data table, wherein the first data table is used to record the result data of successful data forwarding; and the second data table is used to record the result data of failed data forwarding.

[0020] In some embodiments, the configuration interface is configured with a data resending priority; the higher the priority of the data resending priority, the earlier the data is resent; the method further includes:

[0021] When the target forwarding data fails to forward, the data retransmission priority corresponding to the target forwarding data is determined; when the corresponding data retransmission priority is greater than a set threshold, the target forwarding data is written into the retransmission queue for retransmission at a set time interval.

[0022] In some embodiments, the method further includes:

[0023] When the corresponding data resending priority is less than or equal to the set threshold, resending information is generated based on the target forwarding data; the resending information is stored in a third data table, wherein the resending information includes at least: the target address information corresponding to the target forwarding data, the vehicle identification code corresponding to the target vehicle, the upload time corresponding to the message data, and the data resending priority corresponding to the target forwarding data;

[0024] At a set time, based on the data resending priority, the target forwarding data corresponding to the information to be resent in the third data table is resent one by one.

[0025] This application embodiment also provides a vehicle data forwarding device, applied to a vehicle management platform, the device comprising:

[0026] The configuration module is used to configure data forwarding strategies and add target vehicles on the configuration interface of the vehicle management platform; the data forwarding strategy includes the target address information of the data receiving end, the data forwarding method, and the data filtering conditions.

[0027] A receiving module is used to receive message data uploaded by the target vehicle;

[0028] The processing module is used to process the message data according to the data forwarding method and the data filtering conditions to obtain the target forwarding data;

[0029] The forwarding module is used to forward the target forwarding data to the data receiving end according to the target address information.

[0030] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any of the preceding claims.

[0031] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in any of the foregoing embodiments.

[0032] This application provides a vehicle data forwarding method, apparatus, storage medium, and electronic device. The vehicle data forwarding method, applied to a vehicle management platform, includes: configuring a data forwarding strategy on a configuration interface of the vehicle management platform and adding a target vehicle on the configuration interface; the data forwarding strategy includes target address information of the data receiving end, a data forwarding method, and data filtering conditions; receiving message data uploaded by the target vehicle; processing the message data according to the data forwarding method and the data filtering conditions to obtain target forwarding data; and forwarding the target forwarding data to the data receiving end according to the target address information. The vehicle data forwarding method provided in this application develops a configuration interface on the vehicle management platform and configures a data forwarding strategy on the configuration interface. Then, it forwards the data uploaded by the target vehicle to the data receiving end according to the data forwarding method and data filtering conditions included in the configured data forwarding strategy. Through the above method, the data forwarding strategy can be flexibly configured through the configuration interface, enabling diverse forwarding methods and suitable for various needs. Attached Figure Description

[0033] Figure 1 The diagram shown is a flowchart illustrating the vehicle data forwarding method provided in an embodiment of this application.

[0034] Figure 2 The diagram shown is an exemplary schematic of a configuration interface provided in an embodiment of this application;

[0035] Figure 3 The diagram shown is another exemplary schematic of the configuration interface provided in an embodiment of this application;

[0036] Figure 4 The diagram shown is a structural schematic of the vehicle data forwarding device provided in an embodiment of this application.

[0037] Figure 5 The diagram shown is a structural schematic of an electronic device provided in an embodiment of this application. Detailed Implementation

[0038] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0039] like Figure 1 The diagram illustrates a flowchart of a vehicle data forwarding method provided in an embodiment of this application. This vehicle data forwarding method is applied to a vehicle management platform and may include:

[0040] Step 101: Configure the data forwarding strategy and add the target vehicle on the configuration interface of the vehicle management platform; the data forwarding strategy includes the target address information of the data receiving end, the data forwarding method and the data filtering conditions;

[0041] Step 102: Receive the message data uploaded by the target vehicle;

[0042] Step 103: Process the message data according to the data forwarding method and the data filtering conditions to obtain the target forwarding data;

[0043] Step 104: Forward the target forwarding data to the data receiving end according to the target address information.

[0044] It should be noted that the vehicle management platform mentioned can refer to the vehicle management platform of the vehicle manufacturer. This platform can communicate with the vehicles produced by the manufacturer using certain communication technologies (such as Dedicated Short Range Communication (DSRC), C-V2X-based vehicle network communication technology, and in-vehicle Ethernet) to transmit data. As mentioned earlier, with the rapid development of the internet and vehicle intelligence, automotive parts suppliers need to collect various vehicle data to study related technologies. For example, battery suppliers need parameters such as the specifications, dimensions, and capacity of vehicle batteries to evaluate battery performance. Similarly, engine suppliers need to obtain relevant parameters of vehicle engines, such as fuel consumption, mileage, and speed. Vehicle data can include two parts: basic vehicle data and real-time dynamic data. Basic data can include static data such as vehicle model, power, and engine displacement; dynamic data refers to real-time changes in vehicle location, speed, and driving status.

[0045] In practical applications, this vehicle data can be forwarded to the corresponding automotive parts suppliers through the vehicle management platform. In some embodiments, the vehicle management platform is configured with corresponding forwarding strategies to achieve the forwarding of this vehicle data. Currently, these forwarding strategies are all pre-defined and cannot be flexibly changed according to actual circumstances.

[0046] Based on this, this application provides a vehicle data forwarding method. The vehicle management platform has a configuration interface where data forwarding strategies can be flexibly configured. Then, the received real-time message data is processed according to the configured data forwarding method and the data filtering conditions to obtain target forwarding data, which is then forwarded to the data receiving end pointed to by the configured target address information. This allows for flexible modification of the forwarding strategy as needed, making it suitable for a wide range of forwarding scenarios.

[0047] The configuration interface described above is mainly used to configure the target forwarding platform, data forwarding method, and data items to be forwarded. The target forwarding platform can refer to the service platform maintained by the aforementioned vehicle parts supplier, i.e., the data receiving end. Its configuration can be referenced as follows: Figure 2 As shown, in Figure 2 The document showcases configuration options for the data receiver in the configuration interface. These include the communication protocol between the vehicle management platform and the data receiver, the target address information of the data receiver, and the namespace or port configuration of the data receiver. The data forwarding methods include a first mode and a second mode. In the first mode, forwarding data items on the configuration interface are selected as data items to be forwarded and directly forwarded to the data receiver. In the second mode, the original message data is processed, masking some data items that cannot be sent to the data receiver, forming new message data, which is then forwarded to the data receiver. The forwarding data items or data items mentioned can be constructed (or obtained) based on national standard protocols.

[0048] For example, GB / T 32960 is used as an example for illustration. According to GB / T 32960, such as Figure 3 As shown, the forwarding data items on the configuration interface can include: enterprise standards, real-time reported information, vehicle speed, brake pedal status, insulation resistance, and other dynamic or static data.

[0049] In some embodiments, such as Figure 2 As shown, the configuration interface can also configure whether the forwarded data is encrypted, the priority of data resending, whether the vehicle identification number is desensitized, the username and password of the vehicle on the vehicle management platform, etc.

[0050] In other words, in this embodiment of the application, a dedicated configuration interface is set up on the vehicle management platform. On this configuration interface, users can select the data items to be forwarded, configure the address and port for receiving data, and configure information such as whether the forwarded data is encrypted.

[0051] Additionally, target vehicles can be added on this configuration interface. The target vehicle can refer to the vehicle that reported the message data. See details below. Figure 2 On the configuration interface, users can select to query and import queries. The selection query allows adding target vehicles using either the Vehicle Identification Number (VIN) or the license plate number. The import query allows importing an Excel spreadsheet to query all vehicles in the spreadsheet. These vehicles can be added to the configuration interface all at once, or selected individually. In other words, the target vehicle in this embodiment can be one or multiple vehicles. The VIN uniquely identifies the vehicle and includes information such as the manufacturer, year, model, body style and code, engine code, and assembly location.

[0052] That is, step 101 may include: configuring the data forwarding strategy (including the target address information of the data receiving end, the data forwarding method, the data filtering conditions, etc.) on the configuration interface, and adding target vehicles by selecting query and import query.

[0053] In some embodiments, receiving the message data reported by the target vehicle in step 102 may refer to the message uploaded to the vehicle management platform by the target vehicle and received by the vehicle management platform via Kafka or Netty. Kafka is a distributed streaming platform, similar to a message queue or enterprise messaging system, storing record streams in a fault-tolerant manner, providing real-time recording streams. Netty is a high-performance Java network programming framework that offers rich protocol support and allows developers to define custom protocols. Netty can be used to implement vehicle networking protocols, such as JT808, a protocol commonly used for vehicle monitoring and data transmission. With Netty, a high-performance vehicle gateway can be built to handle large volumes of concurrent data streams.

[0054] After receiving message data, in some embodiments, the configuration interface is configured with forwarding data items; the forwarding data items are constructed according to the data transmission protocol of the Internet of Vehicles; the data forwarding method includes a first mode; the step of processing the message data according to the data forwarding method and the data filtering conditions to obtain target forwarding data may include: in the first mode, parsing the message data and storing the values ​​corresponding to each data item in the parsing result into the corresponding forwarding data items on the vehicle management platform; filtering the target forwarding data items from the configuration interface according to the data filtering conditions; the target forwarding data items are used as the target forwarding data.

[0055] It should be noted that the forwarding data items have already been described in detail above. After receiving the message data, the vehicle management platform needs to process the message data according to the aforementioned configured data forwarding method and data filtering conditions to obtain the final target forwarding data. Specifically, if the data forwarding method includes a first mode, it is configured to forward data according to the first mode. Specifically, in the first mode, the vehicle management platform parses the message data corresponding to the target vehicle to obtain the parsing result; this parsing result includes various data items encapsulated according to the vehicle network data transmission protocol. Then, the data corresponding to each data item in the parsing result is stored in the corresponding forwarding data item; then, the target forwarding data item is filtered from the configuration interface according to the configured data filtering conditions, and this target forwarding data item is used as the target forwarding data. That is, the required data items are directly forwarded.

[0056] In some embodiments, the data forwarding mode may include a second mode; the step of processing the packet data according to the data forwarding method and the data filtering conditions to obtain target forwarding data includes: in the second mode, determining data items in the packet data that do not need to be forwarded according to the data filtering conditions; setting the data items that do not need to be forwarded at the corresponding positions in the packet data to empty, thereby forming target packet data; the target packet data is the target forwarding data.

[0057] In other words, the data forwarding method is configured as the second mode. In this second mode, data items that do not need to be forwarded are determined based on data filtering conditions. Then, the corresponding data items in the message data that do not need to be forwarded are cleared, forming the target message data, i.e., the target forwarding data. That is, new message data is formed and forwarded. Here, the data items that do not need to be forwarded can refer to data that cannot actually be given to the parts supplier. In other words, the data filtering conditions here filter out data items that cannot be forwarded. Clearing the data can mean masking (or replacing) the original data so that it cannot be seen by others.

[0058] An exemplary implementation may include: setting the non-forwardable data items at corresponding positions in the message data to empty to form target message data, which may include: determining the encapsulation format of the message data; performing ordered calculations starting from the first byte of the message data according to the encapsulation format; when the calculated index parameter at a certain position in the message data is the same as the non-forwardable data item, replacing the value at that position with a preset value, and keeping the values ​​corresponding to the data items at other positions in the message data unchanged, thereby forming the target message data.

[0059] It should be noted that the encapsulation format mentioned refers to the format of message data encapsulated according to the data transmission protocol of the Internet of Vehicles (IoV) that can be used for transmission. For example, as shown in Table 1, it illustrates the encapsulation format of message data with the transmission protocol BG / T32960. In Table 1, a complete message element consists of a start character, data encryption method, data unit length, and checksum. Since the encapsulation format is fixed, the number of bytes at the corresponding position is also fixed. Therefore, the specific steps for setting the non-forwarded data items at the corresponding positions in the message data to empty to form the target message data can be as follows: starting from the starting byte of the data item, perform ordered calculations. After calculating to the position of the specific data item (i.e., the non-forwarded data item), set the value at the corresponding position of the specific data item in the message data to F (i.e., empty). For example, a normal message might look like this: 232302FE4C4D5047324B4D42314D433030303334350101D41605100D3727010. Here, the speed, according to the BG / T32960 protocol, is located at position 20. Assuming the original value at this position is 17, then 17 is set to FF (i.e., empty).

[0060] Table 1

[0061]

[0062]

[0063]

[0064] Note: The data unit is the data item mentioned in the embodiments of this application.

[0065] In summary, the vehicle data forwarding method provided in this application embodiment can include two modes: a first mode and a second mode. In the first mode, the selected specific data items are directly forwarded. In the second mode, the data items that do not need to be forwarded in the message data are cleared, while the rest remain unchanged, forming new message data (i.e., target message data), which is then forwarded in message form. Furthermore, both the first and second modes can be flexibly configured on the configuration interface, and the data to be forwarded can also be flexibly configured on the configuration interface.

[0066] In some embodiments, after obtaining the target forwarding data, for step 104, an exemplary implementation may be to forward the target forwarding data via Netty.

[0067] It should be noted that, in order to improve the security of forwarding, both the Netty client (such as the data receiver) and the server (such as the vehicle management platform) will use certificates for verification.

[0068] In some embodiments, the target forwarding data can be encapsulated in the encapsulation format shown in Table 2. That is, the data receiving end and the vehicle management platform encapsulate the data to be transmitted according to the encapsulation format shown in Table 2.

[0069] Table 2

[0070]

[0071]

[0072] The target forwarding data is encapsulated using the above encapsulation format. Because the above encapsulation format starts with 2424 and the length of the data items described in the encapsulation format is relatively long, each packet of data can be distinguished relatively well, which can effectively solve the impact of half-packet and packet merging in the data forwarding process.

[0073] In some embodiments, the method may further include: obtaining the forwarding result and forwarding time of the target forwarding data; encapsulating the forwarding result, the forwarding time, the vehicle identification number corresponding to the target vehicle, and the reporting time of the message data together to form result data; storing the result data in a first data table or a second data table, wherein the first data table is used to record result data of successful data forwarding; and the second data table is used to record result data of failed data forwarding.

[0074] It should be noted that after the aforementioned target forwarding data is forwarded, there should be two forwarding results: forwarding successful or forwarding failed. Here, after the target forwarding data is forwarded, its forwarding result and forwarding time (which is the forwarding time of the target forwarding data) are obtained. Then, the forwarding result, forwarding time, target vehicle's VIN, and the aforementioned message element's reporting time are encapsulated together to form result data. This result data is stored in either a first data table (also called a success table) or a second data table (also called a failure table). The first data table records successful forwarding results, and the second data table records failed forwarding results. In other words, after the target forwarding data is forwarded, if the forwarding is successful, the result data is stored in the first data table; if the forwarding fails, the result data is stored in the second data table.

[0075] In some embodiments, the configuration interface is configured with a data resending priority; the higher the data resending priority, the earlier the data is resent; the method further includes: when the target forwarding data fails to forward, determining the data resending priority corresponding to the target forwarding data; when the corresponding data resending priority is greater than a set threshold, writing the target forwarding data into the resending queue for resending according to a set time interval.

[0076] In some embodiments, the method may further include: when the corresponding data retransmission priority is less than or equal to the set threshold, generating retransmission information based on the target forwarding data; storing the retransmission information in a third data table, wherein the retransmission information includes at least: the target address information corresponding to the target forwarding data, the vehicle identification number corresponding to the target vehicle, the upload time corresponding to the message data, and the data retransmission priority corresponding to the target forwarding data; and retransmitting the target forwarding data corresponding to the retransmission information in the third data table one by one at a set time according to the data retransmission priority.

[0077] It should be noted that, as Figure 2 As shown, the configuration interface still has an option to configure the data replenishment priority. That is, the data replenishment priority of the target vehicle's forwarding data can be configured through the configuration interface. The higher the data replenishment priority, the earlier the data will be replenished.

[0078] In practical applications, an exemplary resending method can be as follows: When the target forwarding data fails to forward, the vehicle management platform determines the data resending priority corresponding to the target forwarding data. If the corresponding data resending priority is greater than a set threshold, the target forwarding data is written into the resending queue for resending at set time intervals. When the corresponding data resending priority is less than or equal to the set threshold, resending information is generated and stored in a third data table. This resending information includes at least: the target address information corresponding to the target forwarding data, the vehicle identification number (VIN) corresponding to the target vehicle, the upload time corresponding to the message data, and the data resending priority corresponding to the target forwarding data. In practice, the vehicle management platform finds the corresponding target forwarding data based on the VIN and upload time in the resending information. Then, at set time intervals, according to the data resending priority, the target forwarding data corresponding to the resending information in the third data table is resent one by one. Here, the set time interval can refer to a time interval within the same day, such as 10 minutes after the target forwarding data upload fails. The set time mentioned can refer to a specific point in time, such as midnight on the day after the target forwarding data fails to be forwarded. The preset threshold mentioned can be set according to the actual situation.

[0079] In other words, after a target forwarding data fails to forward, there are two different resend methods: one is to forward it after a set time interval; the other is to forward it at a specified time point. Furthermore, the time difference between the specified time point and the time of forwarding failure must be greater than the set time interval. In the first resend method, the target forwarding data that needs to be resent is directly written into the resend queue to await forwarding. In the second resend method, firstly, information related to the target forwarding data to be resent is generated and stored in a third data table. Then, at a set time, the target forwarding data corresponding to the information to be resent is forwarded one by one according to the data forwarding priority. The target forwarding data that needs to be resent can be obtained from the corresponding information to be resent. That is, the resend priority can be configured through the configuration interface. Data items with higher priority are resent first (after waiting for the set time interval), and vice versa, resent at the set time (such as resentting at midnight the next day). The data that needs to be resent refers to the target forwarding data that failed to forward.

[0080] In summary, after forwarding the aforementioned target forwarding data, the vehicle management platform constructs result data by including the forwarding result, forwarding time, VIN, and message data reporting time, and forwards it to Kafka. A separate service receives this result data and writes it to either the first or second data table. Furthermore, based on data resending priority, failed forwarding target data is written to a resending queue, or pending resending information is written to a third data table.

[0081] The vehicle data forwarding method provided in this application embodiment has a configuration interface on the vehicle management platform, on which data forwarding strategies can be flexibly configured. Then, the received real-time packet data is processed according to the configured data forwarding method and the data filtering conditions to obtain target forwarding data, and then the target forwarding data is forwarded to the data receiving end pointed to by the configured target address information. Thus, the forwarding strategy can be flexibly changed according to needs, making it suitable for a wide range of forwarding scenarios. It has the following advantages: 1. It adopts multi-service division of labor; 2. It constructs a zset for data retransmission, and the retransmission data supports multiple style selections; 3. It constructs a high-security forwarding mechanism.

[0082] like Figure 4 As shown in the diagram, this application also provides a structural schematic of a vehicle data forwarding device. This vehicle data forwarding device 400 is applied to a vehicle management platform, and the device 400 may include:

[0083] The configuration module 401 is used to configure a data forwarding strategy and add a target vehicle on the configuration interface of the vehicle management platform; the data forwarding strategy includes the target address information of the data receiving end, the data forwarding method, and the data filtering conditions.

[0084] The receiving module 402 is used to receive the message data uploaded by the target vehicle;

[0085] Processing module 403 is used to process the message data according to the data forwarding method and the data filtering conditions to obtain target forwarding data;

[0086] The forwarding module 404 is used to forward the target forwarding data to the data receiving end according to the target address information.

[0087] In some embodiments, the configuration interface is configured with forwarding data items; the forwarding data items are constructed according to the data transmission protocol of the Internet of Vehicles; the data forwarding method includes a first mode; the processing module 403 is further configured to: in the first mode, parse the message data, and store the values ​​corresponding to each data item in the parsing result into the corresponding forwarding data items on the vehicle management platform; filter out target forwarding data items from the configuration interface according to the data filtering conditions; the target forwarding data items are used as the target forwarding data.

[0088] In some embodiments, the data forwarding mode includes a second mode; the processing module 403 is further configured to: in the second mode, determine data items in the packet data that do not need to be forwarded according to the data filtering conditions; set the data items that do not need to be forwarded at the corresponding positions in the packet data to empty, thereby forming target packet data; the target packet data is the target forwarding data.

[0089] In some embodiments, the processing module 403 is further configured to: determine the encapsulation format of the message data; perform ordered calculations starting from the beginning byte of the message data according to the encapsulation format; when the calculated index parameter at a certain position in the message data is the same as the data item that does not need to be forwarded, replace the value at that position with a preset value, and keep the values ​​corresponding to the data items at other positions in the message data unchanged, thereby forming the target message data.

[0090] In some embodiments, the processing module 403 is further configured to: obtain the forwarding result and forwarding time of the target forwarding data; encapsulate the forwarding result, the forwarding time, the vehicle identification number corresponding to the target vehicle, and the reporting time of the message data together to form result data; and store the result data in a first data table or a second data table, wherein the first data table is used to record result data of successful data forwarding; and the second data table is used to record result data of failed data forwarding.

[0091] In some embodiments, the configuration interface is configured with a data resending priority; the higher the priority of the data resending priority, the earlier the data is resent; the processing module 403 is further configured to: when the target forwarding data fails to forward, determine the data resending priority corresponding to the target forwarding data; when the corresponding data resending priority is greater than a set threshold, write the target forwarding data into the resending queue for resending according to a set time interval.

[0092] In some embodiments, the processing module 403 is further configured to: generate resend information based on the target forwarding data when the corresponding data resend priority is less than or equal to the set threshold; store the resend information in a third data table, wherein the resend information includes at least: the target address information corresponding to the target forwarding data, the vehicle identification code corresponding to the target vehicle, the upload time corresponding to the message data, and the data resend priority corresponding to the target forwarding data; and resend the target forwarding data corresponding to the resend information in the third data table one by one at a set time according to the data resend priority.

[0093] It should be noted that the vehicle data forwarding device provided in this application embodiment belongs to the same inventive concept as the aforementioned vehicle data forwarding method. Therefore, the technical terms mentioned here have been described in detail above and will not be repeated here.

[0094] This application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method as described in any of the foregoing claims.

[0095] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in any of the preceding claims.

[0096] Figure 5 This is a schematic block diagram of a device 500 according to one embodiment of this application. Figure 5 The device 500 shown includes a memory 501, a processor 502, a communication interface 503, and a bus 504. The memory 501, processor 502, and communication interface 503 are interconnected via the bus 504.

[0097] The memory 501 may be a graphics processing unit (GPU) storage system, read-only memory (ROM), static storage device, dynamic storage device, and / or random access memory (RAM). The memory 501 may store programs. When the program stored in the memory 501 is executed by the processor 502, the processor 502 performs various steps of the method described in this application embodiment. For example, it may perform the aforementioned... Figure 1 The various steps of the embodiments shown.

[0098] The processor 502 may employ a graphics processing unit (GPU), a neural network processing unit (NPU), a microprocessor, an application-specific integrated circuit (ASIC), and / or one or more integrated circuits to execute related programs to implement the methods of the embodiments of this application.

[0099] The processor 502 can also be an integrated circuit chip with signal processing capabilities. In implementation, each step of the method in this embodiment can be accomplished through integrated logic circuits in the processor 1202 and / or instructions in software form.

[0100] The processor 502 described above can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), and / or other programmable logic devices, discrete gate and / or transistor logic devices, or discrete hardware components. It can implement and / or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor and / or any conventional processor, etc.

[0101] The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, and / or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in mature storage media in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, and / or electrically erasable programmable memory, registers, etc. This storage medium is located in memory 501. The processor 502 reads information from memory 501 and, in conjunction with its hardware, performs the functions required by the units included in the various devices in the embodiments of this application, and / or executes the methods of the various method embodiments in this application. For example, it can execute... Figure 1 The various steps / functions of the embodiments shown.

[0102] The communication interface 503 can use, but is not limited to, transceivers to enable communication between the device 500 and other devices or communication networks.

[0103] Bus 504 may include a pathway for transmitting information between various components of device 500 (e.g., memory 501, processor 1202, communication interface 503).

[0104] It should be understood that the device 500 shown in the embodiments of this application may be a processor or a chip for performing the methods described in the embodiments of this application.

[0105] It should be understood that in the embodiments of this application, the processor can be a graphics processing unit (GPU), or it can be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) and / or other programmable logic devices, discrete component gate circuits and / or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor and / or any conventional processor, etc.

[0106] It should be understood that in the embodiments of this application, "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean that B is determined solely based on A; B can also be determined based on A and / or other information.

[0107] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0108] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0109] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined and / or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0110] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0111] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0112] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, and / or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, and / or other programmable devices. The computer instructions can be stored in a computer-readable storage medium and / or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can read and / or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., Digital Universal Discs (DVDs)), and / or semiconductor media (e.g., Solid State Disks (SSDs)). The above description is merely a preferred embodiment of this application and is not intended to limit the application. Any modifications or equivalent substitutions made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A vehicle data forwarding method, characterized in that, Applied to a vehicle management platform, the method includes: Configure a data forwarding strategy and add target vehicles on the configuration interface of the vehicle management platform. The data forwarding strategy includes the target address information of the data receiving end, the data forwarding method, and the data filtering conditions. The data forwarding method includes a first mode and a second mode. In the first mode, the forwarding data items on the configuration interface are selected as data items to be forwarded and directly forwarded to the data receiving end in the form of data items. In the second mode, data items that cannot be sent to the data receiving end are masked to form new message data and forwarded to the data receiving end in the form of new message data. Receive message data uploaded by the target vehicle; The message data is processed according to the data forwarding method and the data filtering conditions to obtain the target forwarding data; The target forwarding data is forwarded to the data receiving end according to the target address information.

2. The method according to claim 1, characterized in that, The configuration interface includes forwarding data items; these forwarding data items are constructed according to the vehicle-to-everything (V2X) data transmission protocol; the data forwarding method includes a first mode; the process of processing the message data according to the data forwarding method and the data filtering conditions to obtain the target forwarding data includes: In the first mode, the message data is parsed, and the values ​​corresponding to each data item in the parsing result are stored in the corresponding forwarding data item on the vehicle management platform; the target forwarding data item is selected from the configuration interface according to the data filtering conditions; the target forwarding data item is used as the target forwarding data.

3. The method according to claim 1, characterized in that, The data forwarding method includes a second mode; the step of processing the packet data according to the data forwarding method and the data filtering conditions to obtain the target forwarding data includes: In the second mode, data items that do not need to be forwarded in the message data are determined according to the data filtering conditions; the data items that do not need to be forwarded at the corresponding positions in the message data are set to empty to form target message data; the target message data is the target forwarding data.

4. The method according to claim 3, characterized in that, The step of setting the data items that do not need to be forwarded to null at the corresponding positions in the message data to form the target message data includes: Determine the encapsulation format of the message data; According to the encapsulation format, ordered calculations are performed starting from the first byte of the message data. When the calculated index parameter at a certain position in the message data is the same as the data item that does not need to be forwarded, the value at that position is replaced with a preset value, and the values ​​corresponding to the data items at other positions in the message data remain unchanged, thus forming the target message data.

5. The method according to claim 1, characterized in that, The method further includes: Obtain the forwarding result and forwarding time of the target forwarding data; The forwarding result, the forwarding time, the vehicle identification number corresponding to the target vehicle, and the reporting time of the message data are encapsulated together to form result data; The result data is stored in a first data table or a second data table, wherein the first data table is used to record the result data of successful data forwarding; and the second data table is used to record the result data of failed data forwarding.

6. The method according to claim 1, characterized in that, The configuration interface configures data resending priority; the higher the data resending priority, the earlier the data is resent; the method also includes: When the target forwarding data fails to forward, the data retransmission priority corresponding to the target forwarding data is determined; when the corresponding data retransmission priority is greater than a set threshold, the target forwarding data is written into the retransmission queue for retransmission at a set time interval.

7. The method according to claim 6, characterized in that, The method further includes: When the corresponding data resending priority is less than or equal to the set threshold, resending information is generated based on the target forwarding data; the resending information is stored in a third data table, wherein the resending information includes at least: the target address information corresponding to the target forwarding data, the vehicle identification code corresponding to the target vehicle, the upload time corresponding to the message data, and the data resending priority corresponding to the target forwarding data; At a set time, based on the data resending priority, the target forwarding data corresponding to the information to be resent in the third data table is resent one by one.

8. A vehicle data forwarding device, characterized in that, The device, used in a vehicle management platform, includes: The configuration module is used to configure data forwarding strategies and add target vehicles on the configuration interface of the vehicle management platform. The data forwarding strategy includes the target address information of the data receiving end, the data forwarding method, and the data filtering conditions. The data forwarding method includes a first mode and a second mode. In the first mode, the forwarding data items on the configuration interface are selected as data items to be forwarded and directly forwarded to the data receiving end in the form of data items. In the second mode, data items that cannot be sent to the data receiving end are masked to form new message data and forwarded to the data receiving end in the form of new message data. A receiving module is used to receive message data uploaded by the target vehicle; The processing module is used to process the message data according to the data forwarding method and the data filtering conditions to obtain the target forwarding data; The forwarding module is used to forward the target forwarding data to the data receiving end according to the target address information.

9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 1 to 7.

10. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Vehicle data processing method, processing platform and readable storage medium

    CN113472757A

  • Data configuration method and system, storage medium and equipment

    CN114299631A