Vehicle data forwarding method and device, storage medium and electronic equipment

By configured data forwarding strategies on the configuration interface of the vehicle management platform, the problem of fixed data forwarding strategies in the existing technologies and insufficient adaptability have been solved, and flexible and efficient data forwarding has been achieved.

CN119383204AActive Publication Date: 2025-01-28JIANGXI GEELY NEW ENERGY COMMERCIAL VEHICLE CO LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing vehicle data forwarding methods are mostly preset fixed strategies, which cannot adapt to forwarding of multiple needs, resulting in insufficient adaptability.

Method used

Configure data forwarding strategies on the configuration interface of the vehicle management platform, including the target address information, data forwarding methods and data screening conditions of the data receiving end, and processed and forwarded the receiving data data based on these strategies.

Benefits of technology

The flexible configuration data forwarding strategy is implemented, which is suitable for multiple reposting needs, and improves the adaptability and flexibility of data forwarding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383204A_ABST
    Figure CN119383204A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle data forwarding method and device, a storage medium and electronic equipment. The vehicle data forwarding method comprises the following steps: 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 comprises target address information of a data receiving end, a data forwarding mode and a data screening condition; receiving message data uploaded by the target vehicle; processing the message data according to the data forwarding mode and the data screening 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 that the efficiency of forwarding the dynamic data of the vehicle is not high at present is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present 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 Art

[0002] With the rapid development of the Internet and the level of vehicle intelligence, auto parts suppliers need to collect different vehicle data to study related technologies. For example, vehicle battery suppliers need to obtain vehicle battery specifications, size, capacity, energy density, charge and discharge performance, life and other parameters; as well as the battery's power consumption in different environments and working conditions. With these data, battery suppliers can evaluate the performance and safety of batteries. At present, the forwarding of vehicle data is mostly pre-set fixed strategies, and the forwarding form is relatively simple and cannot be applied to the forwarding of multiple needs. Therefore, a more adaptable data forwarding method is urgently needed to solve the above problems. Summary of the invention

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

[0004] The present application embodiment provides a vehicle data forwarding method, which is applied to a vehicle management platform, and the method includes:

[0005] Configuring a data forwarding strategy on the 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 a data receiving end, a data forwarding method and a data screening condition;

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

[0007] Processing the message data according to the data forwarding mode and the data screening condition to obtain 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 a forwarding data item; the forwarding data item is constructed according to a data transmission protocol of the Internet of Vehicles; the data forwarding mode includes a first mode; the message data is processed according to the data forwarding mode and the data screening condition to obtain target forwarding data, including:

[0010] In the first mode, the message data is parsed, and the numerical values ​​corresponding to the various data items in the parsing results are stored in the corresponding forwarding data items on the vehicle management platform; the target forwarding data items are filtered out from the configuration interface according to the data filtering conditions; and the target forwarding data items are used as the target forwarding data.

[0011] In some embodiments, the data forwarding mode includes a second mode; the processing of the message data according to the data forwarding mode and the data screening condition to obtain target forwarding data includes:

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

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

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

[0015] According to the encapsulation format, orderly calculations are performed starting from the starting byte of the message data. When it is calculated that the indicator 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 the position is replaced by a preset value, and the values ​​corresponding to the data items at other positions in the message data remain unchanged, so as to form the target message data.

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

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

[0018] Encapsulate the forwarding result, the forwarding time, the vehicle identification code corresponding to the target vehicle, and the reporting time of the message data 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 retransmission priority; the higher the data retransmission priority, the earlier the data is retransmitted; the method further includes:

[0021] When the target forwarding data fails to be forwarded, 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 a retransmission queue for retransmission at a set time interval.

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

[0023] When the corresponding data resending priority is less than or equal to the set threshold, generating information to be resent according to the target forwarding data; storing the information to be resent in a third data table, wherein the information to be resent at least includes: 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, according to the data retransmission priority, the target forwarding data corresponding to the information to be retransmitted in the third data table are retransmitted one by one.

[0025] The embodiment of the present application also provides a vehicle data forwarding device, which is applied to a vehicle management platform, and the device includes:

[0026] A configuration module, used to configure a data forwarding strategy on the configuration interface of the vehicle management platform and to add a target vehicle on the configuration interface; the data forwarding strategy includes target address information of a data receiving end, a data forwarding method and a data screening condition;

[0027] A receiving module, used for receiving the message data uploaded by the target vehicle;

[0028] A processing module, used for processing the message data according to the data forwarding mode and the data screening condition to obtain target forwarding data;

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

[0030] An embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, any of the methods described above is implemented.

[0031] An embodiment of the present 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 implements any of the aforementioned methods when executing the program.

[0032] The embodiment of the present application provides a vehicle data forwarding method, device, storage medium and electronic device. The vehicle data forwarding method is applied to a vehicle management platform, and the method includes: configuring a data forwarding strategy on the configuration interface of the vehicle management platform and adding a target vehicle on the configuration interface; the data forwarding strategy includes the target address information, data forwarding mode and data screening conditions of the data receiving end; receiving the message data uploaded by the target vehicle; processing the message data according to the data forwarding mode and the data screening conditions to obtain the target forwarding data; forwarding the target forwarding data to the data receiving end according to the target address information. The vehicle data forwarding method provided by the embodiment of the present application develops a configuration interface on the vehicle management platform, and configures a data forwarding strategy on the configuration interface, and then forwards the data uploaded by the target vehicle to the data receiving end according to the data forwarding mode and data screening conditions contained in the configured data forwarding strategy. In the above manner, the data forwarding strategy can be flexibly configured through the configuration interface, and a variety of forwarding can be performed. Suitable for a variety of different needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The figure is a flow chart of a vehicle data forwarding method provided in an embodiment of the present application;

[0034] Figure 2 Shown is an exemplary schematic diagram of a configuration interface provided in an embodiment of the present application;

[0035] Figure 3 Another exemplary schematic diagram of a configuration interface provided in an embodiment of the present application is shown;

[0036] Figure 4 The figure is a schematic diagram of the structure of the vehicle data forwarding device provided in the embodiment of the present application;

[0037] Figure 5 Shown is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0039] like Figure 1 As shown, it shows a flow chart of a vehicle data forwarding method provided in an embodiment of the present application. The vehicle data forwarding method is applied to a vehicle management platform, and the method may include:

[0040] Step 101: configuring a data forwarding strategy on the 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 a data receiving end, a data forwarding method and a data screening condition;

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

[0042] Step 103: Processing the message data according to the data forwarding mode and the data screening condition to obtain target forwarding data;

[0043] Step 104: forwarding 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 above may refer to the vehicle management platform of the vehicle production plant. The vehicle management platform and the vehicles produced by the vehicle production plant can communicate through certain communication technologies (such as dedicated short-range communication technology (DSRC), vehicle network communication technology based on cellular technology (C-V2X), and vehicle Ethernet) to transmit data to each other. As mentioned above, with the rapid development of the Internet and the level of vehicle intelligence, suppliers of auto parts need to collect different vehicle data to study related technologies, such as the specifications, size, capacity and other parameters of vehicle batteries required by the aforementioned battery suppliers to evaluate the performance of batteries. For another example, engine suppliers need to obtain relevant parameters of vehicle engines, such as fuel consumption, mileage, driving speed and other data. Among them, the so-called vehicle data can include two parts: basic vehicle data and real-time dynamic vehicle data, wherein the basic data may include static data such as vehicle model, power, engine displacement, etc.; the dynamic data may refer to data that changes in real time such as vehicle location information, speed, driving status, etc.

[0045] In actual application, these vehicle data can be forwarded to the corresponding auto parts supplier through the vehicle management platform. In some embodiments, the vehicle management platform is provided with corresponding forwarding strategies to realize the forwarding of these vehicle data. At present, these forwarding strategies are all preset and cannot be flexibly changed according to actual conditions.

[0046] Based on this, the embodiment of the present application provides a vehicle data forwarding method, in which a configuration interface is provided on the vehicle management platform, and a data forwarding strategy is flexibly configured on the configuration interface; then, the real-time received message data is processed according to the configured data forwarding mode and the data screening conditions, and the target forwarding data is obtained, and then the target forwarding data is forwarded to the data receiving end pointed to by the configured target address information. In this way, the forwarding strategy can be flexibly changed according to the needs, which is suitable for more forwarding scenarios.

[0047] The configuration interface described above is mainly used to configure the target forwarding platform, data forwarding mode and data items to be forwarded. The target forwarding platform may refer to the service platform maintained by the aforementioned vehicle parts supplier, that is, the data receiving end. The configuration may refer to the following: Figure 2 As shown, in Figure 2 It shows some configurations for the data receiving end in the configuration interface, such as the configuration of the communication protocol between the vehicle management platform and the data receiving end, the configuration of the target address information of the data receiving end, the configuration of the namespace or port of the data receiving end, etc. The data forwarding method includes a first mode and a second mode, wherein, in the first mode, the forwarding data items on the configuration interface are screened as data items to be forwarded, and are directly forwarded to the data receiving end in the form of data items; in the second mode, the original message data is processed to cover up some data items that cannot be sent to the data receiving end, form new message data, and forward it to the data receiving end in the form of new message data. The forwarding data items or data items can be constructed (or obtained) based on the national standard protocol.

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

[0049] In some embodiments, Figure 2 As shown, the configuration interface can also configure whether the forwarded data is encrypted, the priority of data retransmission, whether the vehicle identification code of the vehicle is desensitized, the user name and password of the vehicle on the vehicle management platform, etc.

[0050] That is to say, in the embodiment of the present application, a configuration interface is specially set up on the vehicle management platform. On the configuration interface, data items to be forwarded can be selected, the address and port for receiving data can be configured, and information such as whether the forwarded data is encrypted can be configured.

[0051] At the same time, you can add a target vehicle on this configuration interface. The target vehicle can refer to the vehicle that reports the message data. For details, see Figure 2 On the configuration interface, you can select query and import query. The selected query can add the target vehicle by adding the vehicle failure code (VIN, Vehicle Identification Number) or the license plate number. The imported query can query all the vehicles in the Excel table by importing an Excel table. These vehicles can be added to the configuration interface at one time, or some vehicles can be selected to be added. In other words, the target vehicle mentioned in the embodiment of the present application can be one or more vehicles. Among them, VIN is used to uniquely identify the vehicle, and contains information such as the vehicle's manufacturer, year, model, body type and code, engine code, and assembly location.

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

[0053] In some embodiments, the message data reported by the target vehicle received 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 through Kafka or netty. Kafka is a distributed streaming platform, which is similar to a message queue or enterprise messaging system in an enterprise, storing record streams and real-time record streams in a fault-tolerant manner. Netty is a high-performance Java network programming framework that provides rich protocol support and allows developers to customize protocols. Netty can be used to implement Internet of Vehicles protocols, such as JT808, which is a protocol commonly used for vehicle monitoring and data transmission. With Netty, a high-performance vehicle gateway can be built to handle a large number of concurrent data streams.

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

[0055] It should be noted that the forwarding data items have been described in detail above. After receiving the message data, the vehicle management platform needs to process the message data through the aforementioned configured data forwarding method and the data screening conditions to obtain the target forwarding data that needs to be forwarded in the end. Specifically, when the data forwarding method includes the first mode, it is configured to forward data according to the first mode. Specifically, in the first mode, the vehicle management platform will parse the message data corresponding to the target vehicle to obtain the parsing result; the parsing result includes each data item encapsulated according to the data transmission protocol of the vehicle network. Afterwards, the data corresponding to each data item contained in the parsing result is stored in the corresponding forwarding data item respectively; then, the target forwarding data item is filtered out from the configuration interface according to the configured data screening conditions, and the target forwarding data item is used as the target forwarding data. That is, the required data items can be directly forwarded.

[0056] In some embodiments, the data forwarding mode may include a second mode; the processing of the message data according to the data forwarding mode and the data screening conditions to obtain target forwarding data includes: in the second mode, determining the data items in the message data that do not need to be forwarded according to the data screening conditions; setting the data items that do not need to be forwarded at the corresponding positions in the message data to blank to form target message data; the target message data is the target forwarding data.

[0057] That is, the data forwarding method is configured as the second mode. In the second mode, the data items that do not need to be forwarded are determined according to the data screening conditions; then, the data items that do not need to be forwarded at the corresponding positions in the message data are blanked to form the target message data, that is, the target forwarding data. That is, new message data is formed for forwarding. Here, the data items that do not need to be forwarded may refer to data that cannot be actually given to the parts supplier. In other words, the data screening conditions here screen out data items that cannot be forwarded. The blanking may refer to covering up (or replacing) the original data so that others cannot see it.

[0058] An exemplary implementation method may include: setting the data items that do not need to be forwarded at corresponding positions in the message data to zero to form target message data, and may include: determining the encapsulation format of the message data; performing orderly calculations starting from the starting byte of the message data according to the encapsulation format, and when it is calculated that the indicator parameter at a certain position in the message data is the same as the data item that does not need to be forwarded, replacing the value at the position with a preset value, and keeping the values ​​corresponding to the data items at other positions in the message data unchanged to form the target message data.

[0059] It should be noted that the encapsulation format may refer to the format of the message data that can be used for transmission encapsulated according to the data transmission protocol of the Internet of Vehicles. Exemplarily, as shown in Table 1, it shows the encapsulation format of the message data whose transmission protocol is BG / T32960. In Table 1, a completed message element is composed of a start symbol, a data encryption method, a data unit length, and a check code. Since the encapsulation format is fixed, the number of bytes at the corresponding position is also fixed. Therefore, the above-mentioned data items that do not need to be forwarded at the corresponding position in the message data are set to null, and the specific steps of forming the target message data may be: starting from the starting byte of the data item, an orderly calculation is performed, and after calculating to the position of the specific data item (that is, the data item that does not need to be forwarded), the value of the corresponding position of the specific data item in the message data is set to F (that is, set to null). For example, the normal message data is: 232302FE4C4D5047324B4D42314D433030303334350101D41605100D3727010. Among them, the speed is at the 20th position according to the provisions of the BG / T32960 protocol. Assuming that the original value of this position is 17, 17 is set to FF (that is, set to blank).

[0060] Table 1

[0061]

[0062]

[0063]

[0064] Note: A data unit is also referred to as a data item in the embodiments of this application.

[0065] In general, the vehicle data forwarding method provided in the embodiment of the present application may include two modes, the first mode and the second mode, and 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 set to blank, and the rest remain unchanged, forming new message data (that is, target message data) and forwarding in the form of a message. Moreover, whether it is the first mode or the second mode, it can be flexibly configured on the configuration interface, and the data that needs 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 method may be to forward the target forwarding data through netty.

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

[0068] In some embodiments, the target forwarding data may 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 in the encapsulation format shown in Table 2.

[0069] Table 2

[0070]

[0071]

[0072] The target forwarding data is encapsulated in the above encapsulation format. Because the above encapsulation format starts with 2424 and the length of the data item described in the encapsulation format is good, each packet data can be distinguished relatively well, and the influence of half-packet sticking in the data forwarding process can be well solved.

[0073] In some embodiments, the method may also include: obtaining the forwarding result and forwarding time of the target forwarding data; encapsulating the forwarding result, the forwarding time, the vehicle identification code 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 the result data of successful data forwarding; and the second data table is used to record the result data of failed data forwarding.

[0074] It should be noted that after the aforementioned target forwarding data is forwarded, it should include two forwarding results: forwarding success or forwarding failure. 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, and then the forwarding result, forwarding time, VIN of the target vehicle and the reporting time of the aforementioned message elements are encapsulated together to form result data, and the result data is stored in the first data table (also referred to as the success table) or the second data table (also referred to as the failure 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. That is to say, 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 retransmission priority; the higher the priority of the data retransmission priority, the earlier the data is retransmitted; the method also includes: when the target forwarding data fails to be forwarded, determining the data retransmission priority corresponding to the target forwarding data; when the corresponding data retransmission priority is greater than a set threshold, writing the target forwarding data into a retransmission queue for retransmission at 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 information to be retransmitted according to the target forwarding data; storing the information to be retransmitted in a third data table, wherein the information to be retransmitted 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 retransmission priority corresponding to the target forwarding data; at the set time, according to the data retransmission priority, retransmitting the target forwarding data corresponding to the information to be retransmitted in the third data table one by one.

[0077] It should be noted that if Figure 2 As shown, the aforementioned configuration interface is still provided with an option for configuring data supplement priority, that is, the data retransmission priority of the target forwarding data of the target vehicle can be configured through the configuration interface, wherein the higher the priority of the data retransmission priority, the earlier the data will be retransmitted.

[0078] In the actual application process, an exemplary reissue method can be as follows: when the target forwarding data fails to be forwarded, the vehicle management platform determines the data reissue priority corresponding to the target forwarding data, and when the corresponding data reissue priority is greater than the set threshold, the target forwarding data is written into the reissue queue for reissue according to the set time interval. When the corresponding data reissue priority is less than or equal to the set threshold, the information to be reissued is generated, and the information to be reissued is stored in the third data table, wherein the information to be reissued at least includes: 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 reissue priority corresponding to the target forwarding data. In fact, the vehicle management platform finds the corresponding target forwarding data according to the VIN and upload time in the information to be reissued; then, at the set time, according to the data reissue priority, the target forwarding data corresponding to the information to be reissued in the third data table are reissued one by one. Here, the set time interval can refer to a time interval within the same day, such as 10 minutes (min) after the target forwarding data fails to upload, etc. The set time may refer to a certain time point, such as midnight of the next day after the target forwarding data fails to be forwarded, etc. The preset threshold may be set according to actual conditions.

[0079] That is to say, after the target forwarding data fails to be forwarded, there are two different retransmission methods, one is to forward after a set time interval; the other is to forward at a specified time point. And the time difference between the specified time point and the forwarding failure time point is greater than the set time interval. In the first retransmission method, the target forwarding data that needs to be retransmitted is directly written into the retransmission queue and waits for forwarding. In the second retransmission method, the information to be retransmitted related to the target forwarding data is first generated, and the information to be retransmitted is stored in the third data table, and at the set time, according to the data forwarding priority, the target forwarding data corresponding to the information to be retransmitted is forwarded one by one. Among them, the target forwarding data that needs to be retransmitted can be obtained according to the corresponding information to be retransmitted. In other words, the retransmission priority can be configured through the configuration interface, and the data items with priority priority are retransmitted first (waiting for retransmission after the set time interval), otherwise, they are retransmitted at the set time (such as retransmission in the early morning of the next day). The data that needs to be retransmitted refers to the target forwarding data that failed to be forwarded.

[0080] In general, after forwarding the target forwarding data, the vehicle management platform constructs the forwarding result, forwarding time, VIN and the reporting time of the message data into result data and forwards it to Kafka, and opens another service to receive the result data, and writes the result data to the first data table or the second data table. In addition, according to the data retransmission priority, the target forwarding data that failed to be forwarded is written into the retransmission queue or the information to be retransmitted is written into the third data table.

[0081] The vehicle data forwarding method provided in the embodiment of the present application is provided with a configuration interface on the vehicle management platform, and the data forwarding strategy is flexibly configured on the configuration interface; then, the real-time received message data is processed according to the configured data forwarding mode and the data screening conditions to obtain the target forwarding data, and then the target forwarding data is forwarded to the data receiving end pointed to by the configured target address information. In this way, the forwarding strategy can be flexibly changed according to the needs, which is suitable for more forwarding scenarios. It has the following advantages: 1. Adopting multi-service division of labor processing; 2. Constructing zset for data retransmission, and supporting multiple styles of data retransmission selection at the same time; 3. Constructing a high-security forwarding mechanism.

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

[0083] Configuration module 401, used to configure data forwarding strategy in the configuration interface of the vehicle management platform and add target vehicles on the configuration interface; the data forwarding strategy includes target address information of the data receiving end, data forwarding mode and data screening conditions;

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

[0085] The processing module 403 is used to process the message data according to the data forwarding mode and the data screening condition 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 also used to: in the first mode, parse the message data, and store the numerical values ​​corresponding to each data item in the parsing result to the corresponding forwarding data items on the vehicle management platform; filter out 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.

[0088] In some embodiments, the data forwarding mode includes a second mode; the processing module 403 is also used to: in the second mode, determine the data items in the message data that do not need to be forwarded according to the data screening conditions; clear the data items that do not need to be forwarded at the corresponding positions in the message data to form target message data; the target message data is the target forwarding data.

[0089] In some embodiments, the processing module 403 is also used to: determine the encapsulation format of the message data; perform orderly calculations starting from the starting byte of the message data according to the encapsulation format, and when it is calculated that the indicator 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 the position with a preset value, and keep the values ​​corresponding to the data items at other positions in the message data unchanged, so as to form the target message data.

[0090] In some embodiments, the processing module 403 is also used to: obtain the forwarding result and forwarding time of the target forwarding data; encapsulate the forwarding result, the forwarding time, the vehicle identification code 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 the result data of successful data forwarding; and the second data table is used to record the result data of failed data forwarding.

[0091] In some embodiments, the configuration interface is configured with a data retransmission priority; the higher the data retransmission priority, the earlier the data is retransmitted; the processing module 403 is also used to: when the target forwarding data fails to be forwarded, determine the data retransmission priority corresponding to the target forwarding data; when the corresponding data retransmission priority is greater than a set threshold, write the target forwarding data into the retransmission queue for retransmission at a set time interval.

[0092] In some embodiments, the processing module 403 is also used to: generate information to be reissued according to the target forwarding data when the corresponding data reissue priority is less than or equal to the set threshold; store the information to be reissued in a third data table, wherein the information to be reissued 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 reissue priority corresponding to the target forwarding data; and at the set time, reissue the target forwarding data corresponding to the information to be reissued in the third data table one by one according to the data reissue priority.

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

[0094] On one hand, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the methods described above is implemented.

[0095] On one hand, the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the above is implemented.

[0096] Figure 5 It is a schematic block diagram of a device 500 according to an embodiment of the present 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, the processor 502 and the communication interface 503 are connected to each other through the bus 504.

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

[0098] The processor 502 can adopt 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 relevant programs to implement the method of the method embodiment of the present application.

[0099] The processor 502 may also be an integrated circuit chip with signal processing capability. In the implementation process, each step of the method of the embodiment of the present application may be completed by hardware integrated logic circuits in the processor 1202 and / or software instructions.

[0100] The processor 502 may also be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit, a field programmable gate array (FPGA), and / or other programmable logic devices, discrete gates and / or transistor logic devices, and discrete hardware components. The disclosed methods, steps, and logic block diagrams in the embodiments of the present application may be implemented and / or executed. The general purpose processor may be a microprocessor and / or the processor may also be any conventional processor, etc.

[0101] The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, and / or being executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory and / or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 501, and the processor 502 reads the information in the memory 501, and combines its hardware to complete the functions required to be executed by the units included in the embodiments of the present application, and / or execute the methods of the various method embodiments in the present application, for example, it can execute Figure 1 etc. The various steps / functions of the embodiments shown.

[0102] The communication interface 503 may use, but is not limited to, a transceiver or other transceiver device to implement communication between the device 500 and other devices or a communication network.

[0103] The bus 504 may include a path for transmitting information between various components of the device 500 (eg, the memory 501 , the processor 1202 , and the communication interface 503 ).

[0104] It should be understood that the device 500 shown in the embodiment of the present application may be a processor or a chip for executing the method described in the embodiment of the present application.

[0105] It should be understood that in the embodiment of the present application, the processor may be a graphics processing unit (GPU), and the processor may also 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 may be a microprocessor and / or the processor may also be any conventional processor, etc.

[0106] It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0107] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0108] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean 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 the present application.

[0109] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined and / or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0111] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0112] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware and / or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of 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, the process or function described in the embodiment of the present application is generated in whole or in part. 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 computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL, Digital Subscriber Line)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. 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, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disk (DVD)) and / or a semiconductor medium (e.g., a solid state disk (SSD)), etc. The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A vehicle data forwarding method, characterized in that: Applied to a vehicle management platform, the method comprises: Configuring a data forwarding strategy on the 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 a data receiving end, a data forwarding method and a data screening condition; Receiving message data uploaded by the target vehicle; Processing the message data according to the data forwarding mode and the data screening condition to obtain 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 is configured with a forwarding data item; the forwarding data item is constructed according to the data transmission protocol of the Internet of Vehicles; the data forwarding mode includes a first mode; the message data is processed according to the data forwarding mode and the data screening condition to obtain the target forwarding data, including: In the first mode, the message data is parsed, and the numerical values ​​corresponding to the various data items in the parsing results are stored in the corresponding forwarding data items on the vehicle management platform; the target forwarding data items are filtered out from the configuration interface according to the data filtering conditions; and the target forwarding data items are used as the target forwarding data.

3. The method according to claim 1, characterized in that The data forwarding mode includes a second mode; the processing of the message data according to the data forwarding mode and the data screening condition to obtain target forwarding data includes: In the second mode, data items in the message data that do not need to be forwarded are determined according to the data screening conditions; the data items in the corresponding positions in the message data that do not need to be forwarded are cleared 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 performing a blanking process on the data items that do not need to be forwarded at corresponding positions in the message data to form target message data includes: Determining the encapsulation format of the message data; According to the encapsulation format, orderly calculations are performed starting from the starting byte of the message data. When it is calculated that the indicator 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 the position is replaced by a preset value, and the values ​​corresponding to the data items at other positions in the message data remain unchanged, so as to form the target message data.

5. The method according to claim 1, characterized in that The method further comprises: Obtaining the forwarding result and forwarding time of the target forwarding data; Encapsulate the forwarding result, the forwarding time, the vehicle identification code corresponding to the target vehicle, and the reporting time of the message data 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 is configured with a data retransmission priority; the higher the data retransmission priority, the earlier the data is retransmitted; the method further includes: When the target forwarding data fails to be forwarded, 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 a retransmission queue for retransmission at a set time interval.

7. The method according to claim 6, characterized in that The method further comprises: When the corresponding data resending priority is less than or equal to the set threshold, generating information to be resent according to the target forwarding data; storing the information to be resent in a third data table, wherein the information to be resent at least includes: 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, according to the data retransmission priority, the target forwarding data corresponding to the information to be retransmitted in the third data table are retransmitted one by one.

8. A vehicle data forwarding device, characterized in that: Applied to a vehicle management platform, the device comprises: A configuration module, used to configure a data forwarding strategy on the configuration interface of the vehicle management platform and to add a target vehicle on the configuration interface; the data forwarding strategy includes target address information of a data receiving end, a data forwarding method and a data screening condition; A receiving module, used for receiving the message data uploaded by the target vehicle; A processing module, used for processing the message data according to the data forwarding mode and the data screening condition to obtain target forwarding data; A 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, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

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

  • Data transmission method and device

    CN118283812A

  • Packet forwarding method and device, and computer readable storage medium

    US20240056393A1