Data transmission method and data transmission device for vehicle
By determining the priority and reliability level of data transmission in autonomous driving vehicles, optimizing the transmission sequence and number of retransmissions, the reliability and real-time problems in data transmission of autonomous driving vehicles are solved, and the efficiency and stability of data transmission are improved.
Patent Information
- Application Number
- CN202211124262.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-15
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2042-09-15
AI Technical Summary
There are problems with data transmission reliability and real-time nature of autonomous vehicles during data transmission, and the prior art has failed to effectively consider the priority, reliability and quality requirements of data transmission.
By obtaining the data to be transmitted by the vehicle and its related information, the data transmission priority and reliability level of the data are determined, and the transmission sequence and number of retransmissions are determined based on these indicators, and the data transmission process is optimized.
It improves the real-time and reliability of data transmission, meets the quality requirements of different data types, and thus improves the efficiency and stability of data transmission.
Smart Images

Figure CN115459886B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a data transmission method and a data transmission device for a vehicle, a computer device, a vehicle, a computer-readable storage medium, and a computer program product. Background Art
[0002] In today's society, vehicles have become an indispensable means of transportation for people to travel. At present, the automotive industry is in an era of change, and autonomous driving related technologies are also developing in full swing. Autonomous driving has entered a data-driven stage. In other words, in the process of vehicle autonomous driving, a large amount of diversified, multi-dimensional and self-driving and related data will be generated. How to improve the reliability and real-time performance of data upload and meet the quality requirements of different data types are the current key issues. Summary of the invention
[0003] It would be advantageous to provide a mechanism that alleviates, mitigates, or even eliminates one or more of the above-mentioned problems.
[0004] According to one aspect of the present disclosure, a data transmission method for a vehicle is provided. The data transmission method comprises: obtaining at least one data to be transmitted of the vehicle and data information related to each of the at least one data to be transmitted; for each data to be transmitted, determining the transmission priority and transmission reliability level of the data to be transmitted according to the data information related to the data to be transmitted; determining the transmission order of the at least one data to be transmitted based on the transmission priority of each of the at least one data to be transmitted; for each data to be transmitted, determining at least the number of retransmissions of the data to be transmitted based on the transmission reliability level of the data to be transmitted; and transmitting data of the at least one data to be transmitted at least according to the transmission order and the number of retransmissions of the at least one data to be transmitted.
[0005] According to another aspect of the present disclosure, a data transmission device for a vehicle is provided. The data transmission device includes: an acquisition module, the acquisition module is configured to acquire at least one data to be transmitted of the vehicle and data information related to each of the at least one data to be transmitted; a first determination module, the first determination module is configured to determine the transmission priority and transmission reliability level of the data to be transmitted for each data to be transmitted according to the data information related to the data to be transmitted; a second determination module, the second determination module is configured to determine the transmission order of the at least one data to be transmitted based on the transmission priority of each of the at least one data to be transmitted; a third determination module, the third determination module is configured to determine at least the number of retransmissions of the data to be transmitted for each data to be transmitted based on the transmission reliability level of the data to be transmitted; and a data transmission module, the data transmission module is configured to transmit data to the at least one data to be transmitted according to at least the transmission order and the number of retransmissions of the at least one data to be transmitted.
[0006] According to yet another aspect of the present disclosure, a computer device is provided, comprising: at least one processor; and at least one memory on which a computer program is stored, wherein when the computer program is executed by the at least one processor, the at least one processor executes the data transmission method according to the present disclosure.
[0007] According to still another aspect of the present disclosure, a vehicle is provided, comprising the data transmission device according to the present disclosure or the computer equipment according to the present disclosure.
[0008] According to yet another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor is caused to execute the data transmission method according to the present disclosure.
[0009] According to yet another aspect of the present disclosure, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the processor is caused to execute the data transmission method according to the present disclosure.
[0010] According to some embodiments of the present disclosure, by determining the transmission priority of the data to be transmitted and determining the transmission order of the data to be transmitted based on this, as well as determining the reliability level of the data to be transmitted and determining the number of retransmissions of the data to be transmitted based on this, the real-time and reliability of data transmission can be improved and the quality requirements of different data transmissions can be met, thereby improving the efficiency and stability of data transmission.
[0011] These and other aspects of the disclosure will be apparent from and elucidated with reference to the embodiments described hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:
[0013] Figure 1 is a schematic diagram illustrating an example system in which the various methods described herein may be implemented according to an exemplary embodiment;
[0014] Figure 2 is a flow chart illustrating a data transmission method according to some exemplary embodiments;
[0015] Figure 3 is a flow chart illustrating a data transmission method according to some other exemplary embodiments;
[0016] Figure 4 is a schematic block diagram illustrating a data transmission device according to an exemplary embodiment; and
[0017] Figure 5 is a block diagram illustrating an exemplary computer device that can be applied to the exemplary embodiments. DETAILED DESCRIPTION
[0018] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.
[0019] The terms used in the description of various examples described in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. As used herein, the term "plurality" means two or more, and the term "based on" should be interpreted as "based at least in part on". In addition, the terms "and / or" and "at least one of..." cover any one of the listed items and all possible combinations.
[0020] The applicant has found through research that the data collected during the operation of the vehicle is diverse, involves many dimensions, and the amount of data is relatively large. In addition, the mechanisms for triggering data recording and uploading are also diverse, and each triggering mechanism involves different data recording and uploading content. Since there are many reasons for triggering data upload, the corresponding recorded data content is also diverse, so there will be different data importance, different reliability, and network signal influences and other problems that affect data transmission. The current online data transmission method for autonomous driving is relatively simple in design. It simply sends the data to be uploaded to the cloud, and does not consider factors such as data transmission reliability, priority, and transmission quality in detail.
[0021] In view of this, the present invention determines the transmission priority of the data to be transmitted and determines the transmission order of the data to be transmitted based on this, as well as determines the reliability level of the data to be transmitted and determines the number of retransmissions of the data to be transmitted based on this, thereby improving the real-time and reliability of data transmission and meeting the quality requirements of different data transmissions, thereby improving the efficiency and stability of data transmission.
[0022] Exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0023] Figure 1 is a schematic diagram illustrating an example system 100 in which the various methods described herein may be implemented, according to an example embodiment.
[0024] refer to Figure 1 The system 100 includes an in-vehicle system 110, a server 120, and a network 130 that communicatively couples the in-vehicle system 110 and the server 120.
[0025] The vehicle-mounted system 110 includes a display 114 and an application (APP) 112 that can be displayed via the display 114. The application 112 can be an application installed by default in the vehicle-mounted system 110 or downloaded and installed by the user 102, or a small program as a lightweight application. In the case where the application 112 is a small program, the user 102 can directly run the application 112 on the vehicle-mounted system 110 by searching for the application 112 in the host application (for example, by the name of the application 112, etc.) or scanning the graphic code of the application 112 (for example, a bar code, a QR code, etc.), without installing the application 112. In some embodiments, the vehicle-mounted system 110 may include one or more processors and one or more memories (not shown), and the vehicle-mounted system 110 is implemented as a vehicle-mounted computer. In some embodiments, the vehicle-mounted system 110 may include more or less display screens 114 (for example, excluding the display screen 114), and / or one or more speakers or other human-computer interaction devices. In some embodiments, the vehicle-mounted system 110 may not communicate with the server 120.
[0026] Server 120 may represent a single server, a cluster of multiple servers, a distributed system, or a cloud server that provides basic cloud services (such as cloud database, cloud computing, cloud storage, cloud communication). It will be understood that although Figure 1 , the server 120 is shown to communicate with only one in-vehicle system 110 , but the server 120 can provide background services for multiple in-vehicle systems at the same time.
[0027] The network 130 allows wireless communication and information exchange between vehicles and X ("X" means vehicle, road, pedestrian or Internet, etc.) according to the agreed communication protocol and data exchange standard. Examples of the network 130 include a local area network (LAN), a wide area network (WAN), a personal area network (PAN), and / or a combination of communication networks such as the Internet. The network 130 can be a wired or wireless network. In one example, the network 130 can be an in-vehicle network, an inter-vehicle network and / or an in-vehicle mobile Internet.
[0028] Figure 2 2 is a flow chart illustrating a data transmission method 200 according to some exemplary embodiments. The data transmission method 200 may be implemented in a vehicle-mounted system (eg, Figure 1 The execution of each step of the data transmission method 200 may be performed at the vehicle-mounted system 110 shown in FIG. 1 , that is, the execution subject of each step of the data transmission method 200 may be Figure 1 In some embodiments, the data transmission method 200 may be performed on a server (e.g., Figure 1In some embodiments, the data transmission method 200 may be performed by a vehicle-mounted system (e.g., the vehicle-mounted system 110) and a server (e.g., the server 120) in combination. Hereinafter, the steps of the method 200 are described in detail by taking the vehicle-mounted system 110 as an example.
[0029] refer to Figure 2 In step 210, at least one data to be transmitted of the vehicle and data information related to each data to be transmitted in the at least one data to be transmitted are obtained.
[0030] Among them, the data to be transmitted may include data generated by the vehicle itself during vehicle operation or automatic driving (for example, vehicle speed, acceleration, vehicle position, etc.), and environmental data around the vehicle (for example, distance from other vehicles, etc.). The data information related to each of the at least one data to be transmitted may include the data volume, data source, data content, and data usage of the data to be transmitted. In some examples, at least one data to be transmitted of the vehicle can be regularly obtained for uploading. In some other examples, after a triggering event occurs for triggering the uploading of data (for example, uploading to the cloud), data related to the triggering event can be obtained for uploading. At this time, the data information related to each data to be transmitted may also include characteristic information of the triggering event. The data volume refers to the data volume size of the data to be transmitted. The data content refers to the content of the data to be transmitted, for example, vehicle speed, acceleration, vehicle position, environmental information outside the vehicle, etc. The data usage refers to which functions of the vehicle (for example, including safety-related functions and experience-related functions, etc.) the data to be transmitted will be applied to after uploading, for example, it may include self-driving algorithm training and iteration, self-driving function design and improvement, self-driving scenario library establishment, abnormal state restoration, and accident scenario backtracking, etc. The triggering event that triggers uploading of the data to be transmitted may include, for example, vehicle automatic driving, vehicle acceleration, vehicle emergency braking, vehicle functional failure, vehicle traffic accident, etc. The characteristic information of the triggering event includes the importance and urgency of the triggering event, etc.
[0031] In some examples, at least one data to be transmitted of the vehicle may be obtained through a sensor on the vehicle. The sensor may be, for example, at least one of an acceleration sensor, a speed sensor, a temperature sensor, a rotation angle sensor, an intake pressure sensor, a brake pedal position sensor, a force sensor, a GPS, a gyroscope, a collision monitoring sensor, a camera, a radar, etc. Additionally or alternatively, data to be transmitted sent by vehicles or infrastructure around the vehicle may also be received.
[0032] In step 220, for each data to be transmitted, the transmission priority and transmission reliability level of the data to be transmitted are determined according to data information related to the data to be transmitted.
[0033] Among them, the transmission priority refers to the priority level of the data to be transmitted, which can be used to determine the transmission order of the data to be transmitted. The transmission reliability level refers to the reliability level of the data to be transmitted, which can be used to indicate whether the data to be transmitted must be transmitted successfully. The transmission priority may be, for example, level 1, level 2, level 3, etc. In some examples, it can be stipulated that the greater the transmission priority, the higher the priority level of the transmission. Alternatively, it can also be stipulated that the smaller the transmission priority, the lower the priority level of the transmission. Similarly, the reliability level may be, for example, level 1, level 2, level 3, etc. In some examples, it can be stipulated that the greater the transmission reliability level, the higher the reliability required for data transmission. Alternatively, it can also be stipulated that the smaller the transmission reliability level, the lower the reliability required for data transmission. In some examples, the transmission priority and transmission reliability level of the data to be transmitted can be determined by at least one of a table lookup, a preset formula, or a machine learning model, as described in detail below.
[0034] In step 230, a transmission order of at least one data to be transmitted is determined based on the transmission priority of each data to be transmitted in the at least one data to be transmitted.
[0035] As described above, the transmission order of at least one data to be transmitted may be determined based on the determined transmission priority of the data to be transmitted. For example, the transmission order of at least one data to be transmitted may be determined by sorting the at least one data to be transmitted according to the transmission priority of the at least one data to be transmitted.
[0036] In step 240, for each data to be transmitted, based on the transmission reliability level of the data to be transmitted, at least the number of retransmissions of the data to be transmitted is determined.
[0037] In order to ensure the reliability of transmission, the number of retransmissions of the data to be transmitted can be set to increase with the increase of the transmission reliability level. In some examples, based on the transmission reliability level of the data to be transmitted, the number of retransmissions of the data to be transmitted can be queried by table lookup. For example, the correspondence between the transmission reliability level and the number of retransmissions can be shown in Table 1 below. Among them, the transmission reliability level can be divided into level 1, level 2, level 3, level 4 and level 5. Level 1 has the lowest reliability requirement, and the corresponding number of retransmissions is equal to 0, that is, the data to be transmitted will not be retransmitted after the transmission of the data to be transmitted fails. Level 5 has the highest reliability requirement. This type of data must be transmitted successfully, and the corresponding number of retransmissions is equal to 5, and after 5 retransmissions, it needs to be stored in the cache area so that it can be re-uploaded when the data transmission channel is available.
[0038] Table 1 Correspondence between transmission reliability level and retransmission times
[0039]
[0040] It should be understood here that the transmission reliability level and the number of retransmissions associated with the transmission reliability level can be set as needed and are not limited to the above examples.
[0041] In step 250, data transmission is performed on at least one data to be transmitted according to at least a transmission order and a retransmission number of at least one data to be transmitted.
[0042] That is, at least one data to be transmitted is transmitted in sequence according to the previously determined transmission order of the data to be transmitted, and after the transmission of the data to be transmitted fails, it is determined whether to retransmit the data to be transmitted according to the number of retransmissions corresponding to the data to be transmitted.
[0043] According to the embodiments of the present disclosure, by determining the transmission priority of the data to be transmitted and determining the transmission order of the data to be transmitted based on this, as well as determining the reliability level of the data to be transmitted and determining the number of retransmissions of the data to be transmitted based on this, the real-time and reliability of data transmission can be improved and the quality requirements of different data transmissions can be met, thereby improving the efficiency and stability of data transmission.
[0044] Figure 3 is a flow chart illustrating a data transmission method 300 according to some other exemplary embodiments. Figure 3 The features of steps 230 and 240 of method 300 are similar to Figure 2 The features of steps 230 and 240 of method 200 are the same, and for the sake of brevity, they are not repeated here. Figure 2 The method in 200 is different.
[0045] In some embodiments, Figure 3 As shown, Figure 2 Step 210 in the method may include: step 211, determining whether a trigger event occurs, the trigger event is used to trigger the uploading of data; and step 212, in response to determining that a trigger event occurs, obtaining at least one data to be transmitted of the vehicle and data information related to each of the at least one data to be transmitted, at least one data to be transmitted is associated with the trigger event. For example, as described above, the trigger event may include events such as vehicle speeding, vehicle braking, vehicle functional failure, and vehicle traffic accident that require uploading of vehicle data. The above-mentioned implementation method can achieve targeted acquisition of relevant data to be transmitted for uploading when it is necessary to upload vehicle data.
[0046] In some embodiments, Figure 2 Step 220 may include: determining the transmission priority of the data to be transmitted based on the data source, data content, data usage and data volume; and determining the transmission reliability level of the data to be transmitted based on at least one of the data source, data content and data usage.
[0047] In some embodiments, when determining whether to upload the data to be transmitted by determining whether a trigger event occurs, such as Figure 3 As shown, step 220 may include: step 221, determining the transmission priority of the data to be transmitted according to the data source, data content, data usage, data volume and characteristic information; and step 222, determining the transmission reliability level of the data to be transmitted according to at least one of the data source, data content, data usage and characteristic information. In this way, the transmission priority and transmission reliability level of the data to be transmitted can be determined by fully considering the data source, data content, data usage, data volume and characteristics of the triggering event, so as to meet the transmission requirements of various data.
[0048] In some embodiments, Figure 3 As shown, step 221 may include: step 221-1, determining the scale level of the data to be transmitted according to the data volume, wherein the scale level is the level at which the vehicle data is divided according to the data volume of the vehicle data of the vehicle; step 221-2, determining the real-time level of the data to be transmitted at least according to the characteristic information, wherein the real-time level is the level at which the vehicle data is divided according to at least the characteristic information of the triggering event; step 221-3, determining the importance level of the data to be transmitted according to the data source, data content, data use and characteristic information, wherein the importance level is the level at which the vehicle data is divided according to the data source, data content, data use and characteristic information of the vehicle data; and step 221-4, determining the transmission priority of the data to be transmitted according to the scale level, real-time level and importance level. Among them, the vehicle data is the data related to the vehicle, and its characteristics are the same as those of the data to be transmitted, which will not be described in detail here.
[0049] In some examples, the scale level of the data to be transmitted can be determined based on the data volume by looking up a table. For example, the correspondence between the data volume and the scale level can be shown in Table 2 below. Among them, the scale level can be divided into level 1, level 2, level 3, level 4, level 5 and level 6. Thus, the scale level of the data to be transmitted can be determined by looking up the pre-stored table of correspondence between the data volume and the scale level. For example, when the data volume of the data to be transmitted is 20K, it can be determined by looking up Table 2 that the scale level of the data to be transmitted is 4.
[0050] Table 2 Correspondence between data volume and scale level
[0051] Scale level 1 2 3 4 5 6 Data volume (bytes) <100 100-1K 1K-10K 10K-100K 100K-1M >1M
[0052] In some examples, the real-time level of the data to be transmitted can be divided into level 1, level 2, level 3, level 4 and level 5, corresponding to the non-urgent, general, general urgent, urgent and very urgent situations of data transmission, respectively. For example, when the triggering event is a traffic accident, the urgency of the triggering event is high, and the real-time level of the data to be transmitted related to the triggering event (for example, vehicle speed, acceleration, vehicle surrounding environment information, etc.) is level 5, that is, very urgent. For another example, when the triggering event is vehicle acceleration, the urgency of the triggering event is low, and the real-time level of the data to be transmitted related to the triggering event (for example, vehicle speed, acceleration, etc.) is level 1, that is, non-urgent. It should be understood here that the real-time level of vehicle data can be artificially divided according to the characteristic information of the triggering event based on experience, etc., and is not limited to the above examples.
[0053] In some examples, determining the real-time level of the data to be transmitted based at least on the characteristic information may include: determining the real-time level of the data to be transmitted based on at least one of the data source, data content, and data usage, and the characteristic information of the triggering event. For example, when the triggering event is a traffic accident, the data source of the data to be transmitted is a vehicle sensor, the data content is vehicle acceleration, and the data usage is for traffic accident scene backtracking, the real-time level of the data to be transmitted is level 5.
[0054] In some other examples, for example, in a scenario where vehicle data is regularly acquired for uploading, the real-time level of the data to be transmitted may be determined based on only at least one of the data source, data content, and data usage.
[0055] In some examples, the importance level of the data to be transmitted can be divided into level 1, level 2, level 3, level 4 and level 5, corresponding to the unimportant, general, general important, important and very important situations of the data, respectively. For example, when the triggering event is a traffic accident, the data source of the data to be transmitted is a vehicle sensor, the data content is the vehicle acceleration, and the data purpose is used for traffic accident scene backtracking, the importance level of the data to be transmitted is level 5, that is, very important. For another example, when the triggering event is vehicle automatic driving, the data source of the data to be transmitted is a vehicle entertainment device, etc., the importance level of the data to be transmitted is level 1, that is, unimportant. For another example, when the triggering event is vehicle automatic driving, the data content of the data to be transmitted is the environmental information around the vehicle, etc., the importance level of the data to be transmitted is level 3, that is, generally important. It should be understood here that the importance level of vehicle data can be divided artificially according to the data source, data content, data purpose and characteristic information of the triggering event based on experience, etc., and is not limited to the above examples.
[0056] In some other examples, for example, in a scenario where vehicle data is regularly acquired for uploading, the importance level of the data to be transmitted may be determined based solely on the data source, data content, and data usage.
[0057] In some embodiments, step 221-4 may include: determining the transmission priority of the data to be transmitted according to the scale level, real-time level and importance level, according to the priority equation defined by the scale level, real-time level and importance level, for example, according to the priority equation defined by the system based on the magnitude and parameter of the scale level, real-time level and importance level.
[0058] The priority equation may be equal to the sum of the scale level to the power of p multiplied by the first parameter coefficient, the real-time level to the power of m multiplied by the second parameter coefficient, the importance level to the power of n multiplied by the third parameter coefficient, and the correction parameter, that is:
[0059] Transmission priority = a*x n +b*y m +c*z p +d,
[0060] Among them, n, m, p are natural numbers, x is the importance level, y is the real-time level, z is the scale level, a is the third parameter coefficient, b is the second parameter coefficient, c is the first parameter coefficient, and d is the correction parameter. For example, the magnitude of the real-time level is equal to the magnitude of the importance level, and the magnitude of the scale level is lower than the magnitudes of the real-time level and the importance level.
[0061] In one example, the priority equation is as follows:
[0062] Transmission priority = a*x 2 +b*y 2 +c*z
[0063] Where x is the importance level, y is the real-time level, z is the scale level, a is the third parameter coefficient, b is the second parameter coefficient, and c is the first parameter coefficient. Where a, b, and c are all non-zero, and the correction parameter d is zero. In the above priority equation, p is 1, n is 2, and m is 2.
[0064] Taking the above priority equation as an example, for example, assuming that the importance level of a certain data to be transmitted is x=2, the real-time level is y=5, and the scale level is z=3 according to the previous steps, then the values of x, y, and z can be substituted into the above priority equation to calculate the transmission priority of the data to be transmitted.
[0065] In another example, the priority equation may also be as follows:
[0066] Transmission priority = a*x 2+b*y 2 +c*z+d
[0067] The definitions of a, b, c, x, y, z, and d are the same as those in the above priority equation and will not be described in detail here. Among them, a, b, and c are not zero; d is a correction parameter and is not equal to zero. It is used to correct the calculated priority and can be set manually based on experience to meet the requirements of data transmission.
[0068] The above priority equation can be set in combination with the data requirements of autonomous driving. Specifically, the magnitude of the scale level, the real-time level and the importance level, the first parameter system, the second parameter coefficient and the third parameter coefficient can be manually set based on experience to meet the data transmission requirements of autonomous driving, without being limited to the above examples.
[0069] By calculating the transmission priority of the data to be transmitted through the above priority equation, the factors affecting the various dimensions of priority can be balanced, avoiding insufficient consideration of dimensions when manually determining the priority, especially when there are many data types and the triggering events are complex and large in number. In addition, the above equation can also be used to automatically make priority decisions, and balance the priority adjustment by adjusting parameter coefficients and / or correcting parameters.
[0070] In some embodiments, the magnitude of the real-time level is equal to the magnitude of the importance level, and the magnitude of the scale level is lower than the magnitudes of the real-time level and the importance level. This is because the importance level and the real-time level play the same role in determining the transmission priority, and therefore both use the same magnitude in the priority equation.
[0071] In some other embodiments, step 221 may also include: for each data to be transmitted, inputting characteristic information of data source, data content, data usage, data volume and / or triggering event into a priority decision model to obtain the transmission priority of the data to be transmitted. The priority decision model can be any existing decision model. In some examples, the priority decision model can be obtained by training through the following steps: obtaining sample data and data information related to the sample data, which data information may include characteristic information of data source, data content, data usage, data volume and / or triggering event; obtaining the expected priority of the sample data; inputting the data information into the priority decision model to obtain the predicted priority of the sample data; adjusting the parameters of the priority decision model based on the predicted priority and the expected priority.
[0072] In some embodiments, Figure 3 As shown, Figure 2Step 240 in the above may include: step 241, based on the transmission reliability level of the data to be transmitted, determine the number of retransmissions of the data to be transmitted and whether to store the data to be transmitted in a cache area. Wherein, the cache area may include: at least one of a temporary cache area and a non-deletable cache area. The temporary cache area is used to store ordinary data, which adopts a fixed length. After exceeding the fixed length, the data in the temporary cache area is deleted in chronological order. The non-deletable cache area is used to store data with the highest reliability level, which can grow by itself to expand the cache area. The above-mentioned determination of whether to store the data to be transmitted in the cache area based on the transmission reliability level can be used to indicate whether to temporarily store the data to be transmitted in the cache area if the retransmission of the data to be transmitted exceeds the number of retransmissions and still fails, so as to continue transmission after the network is restored. In this way, the reliability of data transmission can be ensured. Taking the above-mentioned Table 1 as an example, when the reliability level is level 5, the data to be transmitted needs to be stored in the cache area if the retransmission of the data to be transmitted exceeds the number of retransmissions and still fails.
[0073] In some embodiments, Figure 3 As shown, Figure 2 Step 250 in the above may include: step 251, transmitting data to at least one data to be transmitted according to the transmission order of at least one data to be transmitted; and for each data to be transmitted: step 252, determining whether the data to be transmitted is successfully transmitted; step 253, in response to determining that the data to be transmitted fails, determining the current upload times of the data to be transmitted; step 254, determining whether the current upload times is greater than or equal to the retransmission times of the data to be transmitted; and step 255, in response to determining that the current upload times is greater than or equal to the retransmission times of the data to be transmitted and in response to determining that the data to be transmitted is to be stored in the cache area, storing the data to be transmitted in the cache area. The current upload times refers to the number of times the data to be transmitted is repeatedly uploaded before executing step 253. For example, if the data to be transmitted has been attempted to be uploaded n times when executing step 253, the current upload times is n. Therefore, if the retransmission of the data to be transmitted still fails after exceeding the retransmission times, the data to be transmitted can be temporarily stored in the cache area so that it can be continuously transmitted after the network is restored, thereby ensuring the reliability of data transmission.
[0074] In some embodiments, Figure 3 As shown, Figure 2 Step 250 in the above method may further include: Step 256: for each data to be transmitted, in response to determining that the current upload times are less than the data to be transmitted, transmitting the data to be transmitted again. This ensures the reliability of data transmission.
[0075] In some embodiments, Figure 2Step 250 in may include: obtaining communication quality information of the data transmission channel; determining whether the communication quality information of the data transmission channel meets the preset conditions; in response to determining that the communication quality information of the data transmission channel meets the preset conditions, transmitting the data to be transmitted at least according to the transmission order and the number of retransmissions of the data to be transmitted. In this way, data can be transmitted only when the communication quality of the transmission channel meets the preset requirements, thereby ensuring the reliability of data transmission. In some examples, the data to be transmitted can be transmitted to the cloud. Among them, the communication quality information may include bandwidth, channel capacity, availability, etc. The preset conditions may include that the bandwidth of the data transmission channel meets the preset threshold, the channel capacity of the data transmission channel meets the preset threshold, etc. The data transmission channel may include a wifi transmission channel, a Bluetooth transmission channel, a 4G / 5G transmission channel, etc.
[0076] In some embodiments, step 250 may include: obtaining communication quality information of multiple data transmission channels; and for each data to be transmitted: selecting a data transmission channel for transmitting the data to be transmitted from multiple data transmission channels according to the communication quality information of multiple data transmission channels and the transmission priority and transmission reliability level of the data to be transmitted; and transmitting the data to be transmitted at least according to the transmission order and the number of retransmissions of the data to be transmitted through the data transmission channel for transmitting the data to be transmitted. The multiple data transmission channels may be different types of transmission channels such as wifi transmission channels, Bluetooth transmission channels, 4G / 5G transmission channels, or may be multiple wifi transmission channels of the same type or multiple Bluetooth transmission channels or multiple 4G / 5G transmission channels, or may be some transmission channels of the same type and some transmission channels of different types. In the case of including multiple data transmission channels, a matching data transmission channel may be selected to transmit the data to be transmitted according to the reliability level and priority level of the data to be transmitted. For example, a data transmission channel with good communication quality (including: fast transmission speed, high reliability, etc.) is selected to transmit data to be transmitted with high transmission reliability level and high transmission priority.
[0077] In the above steps, at least the data to be transmitted is transmitted and retransmitted according to the transmission order and the number of retransmissions of the data to be transmitted. Figure 3 The features of step 250 described in are the same as those of step 250 described in the previous section and will not be described in detail here.
[0078] Although each operation Figure 2 and Figure 3Although the operations are depicted in a particular order, this should not be understood as requiring that the operations must be performed in the particular order shown or in a sequential order, nor should it be understood as requiring that all of the operations shown must be performed to obtain the desired results. For example, step 230 can be performed after step 240, or concurrently with step 240. For example, step 221-2 can be performed before step 221-1, or concurrently with step 221-1.
[0079] Figure 4 is a schematic block diagram illustrating a data transmission device 400 according to an exemplary embodiment. Figure 4 As shown, the data transmission device for a vehicle may include: an acquisition module 410, a first determination module 420, a second determination module 430, a third determination module 440 and a data transmission module 450. The acquisition module 450 is configured to acquire at least one data to be transmitted of the vehicle and data information related to each of the at least one data to be transmitted. The first determination module 420 is configured to determine the transmission priority and transmission reliability level of the data to be transmitted for each data to be transmitted according to the data information related to the data to be transmitted. The second determination module 430 is configured to determine the transmission order of at least one data to be transmitted based on the transmission priority of each of the at least one data to be transmitted. The third determination module 440 is configured to determine at least the number of retransmissions of the data to be transmitted for each data to be transmitted based on the transmission reliability level of the data to be transmitted. The data transmission module 450 is configured to perform data transmission on at least one data to be transmitted according to at least the transmission order and the number of retransmissions of the at least one data to be transmitted.
[0080] According to the embodiments of the present disclosure, by determining the transmission priority of the data to be transmitted and determining the transmission order of the data to be transmitted based on this, as well as determining the reliability level of the data to be transmitted and determining the number of retransmissions of the data to be transmitted based on this, the real-time and reliability of data transmission can be improved and the quality requirements of different data transmissions can be met, thereby improving the efficiency and stability of data transmission.
[0081] It should be understood that Figure 4 The various modules of the apparatus 400 shown in FIG. Figure 2 The method 200 or Figure 3 The steps in the method 300 described above correspond to each other. Therefore, the operations, features and advantages described above for the methods 200 and 300 are also applicable to the apparatus 400 and the modules included therein. For the sake of brevity, some operations, features and advantages are not described in detail here.
[0082] Although specific functions are discussed above with reference to specific modules, it should be noted that the functions of the various modules discussed herein can be divided into multiple modules, and / or at least some functions of multiple modules can be combined into a single module. The specific module discussed herein performs an action including the specific module itself performing the action, or alternatively the specific module calls or otherwise accesses another component or module that performs the action (or performs the action in conjunction with the specific module). Therefore, the specific module that performs an action can include the specific module itself that performs the action and / or the specific module calls or otherwise accesses another module that performs the action. For example, the first determination module 420 / second determination module 430 described above can be combined into a single module in some embodiments. For another example, the data transmission module 450 can include the second determination module 430, etc. in some embodiments.
[0083] It should also be understood that various techniques may be described herein in the general context of software hardware elements or program modules. Figure 5 The various modules described can be implemented in hardware or in hardware in combination with software and / or firmware. For example, these modules can be implemented as computer program codes / instructions, which are configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, these modules can be implemented as hardware logic / circuits. For example, in some embodiments, one or more of the acquisition module 410, the first determination module 420, the second determination module 430, the third determination module 440, and the data transmission module 450 can be implemented together in a system on chip (System on Chip, SoC). SoC may include an integrated circuit chip (which includes a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or one or more components in other circuits), and may optionally execute the received program code and / or include embedded firmware to perform functions.
[0084] According to one aspect of the present disclosure, a computer device is provided, comprising at least one memory, at least one processor, and a computer program stored in the at least one memory. The at least one processor is configured to execute the computer program to implement the steps of any method embodiment described above.
[0085] According to one aspect of the present disclosure, a vehicle is provided, which includes the apparatus or computer device as described above.
[0086] According to one aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any method embodiment described above are implemented.
[0087] According to one aspect of the present disclosure, a computer program product is provided, which includes a computer program. When the computer program is executed by a processor, the steps of any method embodiment described above are implemented.
[0088] In the following, combined Figure 5 Illustrative examples of such a computer device, non-transitory computer-readable storage medium, and computer program product are described.
[0089] Figure 5 An example configuration of a computer device 500 that can be used to implement the methods described herein is shown. For example, Figure 1 The server 120 and / or the vehicle system 110 shown in FIG. 5 may include an architecture similar to the computer device 500. The above-mentioned data transmission device may also be implemented in whole or at least in part by the computer device 500 or a similar device or system.
[0090] Computer device 500 may include at least one processor 502, memory 504, communication interface(s) 506, a display device 508, other input / output (I / O) devices 510, and one or more mass storage devices 512, all capable of communicating with one another, such as via a system bus 514 or other appropriate connections.
[0091] The processor 502 may be a single processing unit or multiple processing units, all of which may include a single or multiple computing units or multiple cores. The processor 502 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any device that manipulates signals based on operating instructions. Among other capabilities, the processor 502 may be configured to obtain and execute computer-readable instructions stored in the memory 504, mass storage device 512, or other computer-readable media, such as program code of an operating system 516, program code of an application program 518, program code of other programs 520, and the like.
[0092] The memory 504 and the mass storage device 512 are examples of computer-readable storage media for storing instructions that are executed by the processor 502 to implement the various functions described above. For example, the memory 504 may generally include both volatile memory and non-volatile memory (e.g., RAM, ROM, etc.). In addition, the mass storage device 512 may generally include a hard drive, a solid-state drive, a removable medium, including external and removable drives, a memory card, a flash memory, a floppy disk, an optical disk (e.g., a CD, a DVD), a storage array, a network attached storage, a storage area network, etc. The memory 504 and the mass storage device 512 may all be collectively referred to herein as memory or computer-readable storage media, and may be a non-transitory medium capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by the processor 502 as a specific machine configured to implement the operations and functions described in the examples herein.
[0093] A plurality of programs may be stored on the mass storage device 512. These programs include an operating system 516, one or more application programs 518, other programs 520, and program data 522, and they may be loaded into the memory 504 for execution. Examples of such application programs or program modules may include, for example, computer program logic (e.g., computer program code or instructions) for implementing the following components / functions: the data transmission device 400 (including the acquisition module 410, the first determination module 420, the second determination module 430, the third determination module 440, and the data transmission module 450), the method 200 and / or the method 300 (including any suitable steps of the methods 200 and 300), and / or other embodiments described herein.
[0094] Although in Figure 5 504 of the computer device 500, but modules 516, 518, 520, and 522, or portions thereof, may be implemented using any form of computer-readable media accessible by the computer device 500. As used herein, "computer-readable media" includes at least two types of computer-readable media, namely, computer-readable storage media and communication media.
[0095] Computer-readable storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information, such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage device, magnetic cassette, magnetic tape, magnetic disk storage device or other magnetic storage device, or any other non-transmission medium that can be used to store information for access by a computer device. In contrast, communication media can embody computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism. Computer-readable storage media defined herein do not include communication media.
[0096] One or more communication interfaces 506 are used to exchange data with other devices, such as through a network, a direct connection, etc. Such communication interfaces can be one or more of the following: any type of network interface (e.g., a network interface card (NIC)), a wired or wireless (such as IEEE 802.11 wireless LAN (WLAN)) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a cellular network ... TM The communication interface 506 may facilitate communication within a variety of network and protocol types, including wired networks (e.g., LAN, cable, etc.) and wireless networks (e.g., WLAN, cellular, satellite, etc.), the Internet, etc. The communication interface 506 may also provide for communication with external storage devices (not shown) such as in a storage array, network attached storage, storage area network, etc.
[0097] In some examples, a display device 508 such as a monitor may be included for displaying information and images to the user. Other I / O devices 510 may be devices that receive various inputs from the user and provide various outputs to the user, and may include touch input devices, gesture input devices, cameras, keyboards, remote controls, mice, printers, audio input / output devices, and the like.
[0098] The technology described herein can be supported by these various configurations of the computer device 500, and is not limited to the specific examples of the technology described herein. For example, the functionality can also be implemented in whole or in part on the "cloud" by using a distributed system. The cloud includes and / or represents a platform for resources. The platform abstracts the underlying functions of the hardware (e.g., server) and software resources of the cloud. Resources can include applications and / or data that can be used when performing computing processing on a server away from the computer device 500. Resources can also include services provided over the Internet and / or through a subscriber network such as a cellular or Wi-Fi network. The platform can abstract resources and functions to connect the computer device 500 to other computer devices. Therefore, the implementation of the functions described herein can be distributed throughout the cloud. For example, the functions can be implemented partially on the computer device 500 and partially through a platform that abstracts the functions of the cloud.
[0099] Although the present disclosure has been illustrated and described in detail in the drawings and the foregoing description, such illustration and description should be considered illustrative and schematic, not restrictive; the present disclosure is not limited to the disclosed embodiments. By studying the drawings, the disclosure and the appended claims, those skilled in the art will be able to understand and implement variations to the disclosed embodiments when practicing the claimed subject matter. In the claims, the word "comprising" does not exclude other elements or steps that are not listed, the indefinite article "a" or "an" does not exclude a plurality, the term "plurality" means two or more, and the term "based on" should be interpreted as "based at least in part on". The mere fact that certain measures are recorded in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Claims
1. A data transmission method for a vehicle, comprising: Acquire at least one data to be transmitted of the vehicle and data information related to each data to be transmitted in the at least one data to be transmitted; For each data to be transmitted, determining the transmission priority and transmission reliability level of the data to be transmitted according to data information related to the data to be transmitted, wherein the transmission reliability level is used to indicate whether the data to be transmitted must be successfully transmitted; Determining a transmission order of the at least one data to be transmitted based on a transmission priority of each data to be transmitted in the at least one data to be transmitted; For each data to be transmitted, based on the transmission reliability level of the data to be transmitted, at least determining the number of retransmissions of the data to be transmitted; and performing data transmission for the at least one data to be transmitted at least according to the transmission order and the number of retransmissions of the at least one data to be transmitted, Wherein, obtaining at least one data to be transmitted of the vehicle and data information related to each data to be transmitted in the at least one data to be transmitted includes: Determine whether a trigger event occurs, wherein the trigger event is used to trigger uploading of data; and In response to determining that the trigger event occurs, acquiring at least one data to be transmitted of the vehicle and data information related to each of the at least one data to be transmitted, wherein the at least one data to be transmitted is associated with the trigger event, The data information related to each data to be transmitted includes the data volume, data source, data content and data usage of the data to be transmitted, and characteristic information of the triggering event, and for each data to be transmitted, determining the transmission priority and transmission reliability level of the data to be transmitted according to the data information related to the data to be transmitted includes: Determining the transmission priority of the data to be transmitted by a machine learning model according to the data source, the data content, the data purpose, the data volume, and the characteristic information; and Determine the transmission reliability level of the data to be transmitted according to the data source, the data content, the data usage and the characteristic information, Wherein, for each data to be transmitted, based on the transmission reliability level of the data to be transmitted, at least determining the number of retransmissions of the data to be transmitted includes: Based on the transmission reliability level of the data to be transmitted, the number of retransmissions of the data to be transmitted and whether to store the data to be transmitted in a cache area are determined, so as to indicate whether to temporarily store the data to be transmitted in a cache area if retransmission of the data to be transmitted fails after exceeding the number of retransmissions.
2. The data transmission method according to claim 1, wherein: Determining the transmission priority of the data to be transmitted according to the data source, the data content, the data purpose, the data volume, and the characteristic information includes: Determining a scale level of the data to be transmitted according to the data volume, wherein the scale level is a level at which the vehicle data is divided according to the data volume of the vehicle data of the vehicle; Determining a real-time level of the data to be transmitted at least according to the characteristic information, wherein the real-time level is a level at which the vehicle data is divided at least according to the characteristic information of the triggering event; Determining the importance level of the data to be transmitted according to the data source, the data content, the data usage and the characteristic information, wherein the importance level is a level at which the vehicle data is divided according to the data source, the data content, the data usage and the characteristic information of the vehicle data; and The transmission priority of the data to be transmitted is determined according to the scale level, the real-time level and the importance level.
3. The data transmission method according to claim 2, wherein: Determining the transmission priority of the data to be transmitted according to the scale level, the real-time level, and the importance level includes: According to the scale level, real-time level and importance level, the transmission priority of the data to be transmitted is determined according to the magnitude of the scale level, real-time level and importance level and the priority equation defined by the parameter system.
4. The data transmission method according to claim 3, wherein: The priority equation is equal to the sum of the scale level to the power of p multiplied by the first parameter coefficient, the real-time level to the power of m multiplied by the second parameter coefficient, and the importance level to the power of n multiplied by the third parameter coefficient and a correction parameter: Transmission priority = a*x n +b*y m +c*z p +d, Among them, n, m, p are natural numbers, x is the importance level, y is the real-time level, z is the scale level, a is the third parameter coefficient, b is the second parameter coefficient, c is the first parameter coefficient, and d is the correction parameter.
5. The data transmission method according to claim 3 or 4, wherein: The magnitude of the real-time level is equal to the magnitude of the importance level, and the magnitude of the scale level is lower than the magnitudes of the real-time level and the importance level.
6. The data transmission method according to claim 1, wherein: Performing data transmission on the at least one data to be transmitted at least according to the transmission order and the number of retransmissions of the at least one data to be transmitted includes: Performing data transmission on the at least one data to be transmitted according to a transmission order of the at least one data to be transmitted; and For each data to be transmitted, Determining whether the data to be transmitted is successfully transmitted; In response to determining that the transmission of the data to be transmitted has failed, determining a current upload count of the data to be transmitted; Determine whether the current upload number is greater than the retransmission number of the data to be transmitted; and In response to determining that the current upload number is greater than the retransmission number of the data to be transmitted and in response to determining that the data to be transmitted is to be stored in a buffer area, the data to be transmitted is stored in the buffer area.
7. The data transmission method according to claim 6, wherein: The step of transmitting the at least one data to be transmitted according to at least the transmission order and the number of retransmissions of the at least one data to be transmitted further comprises: For each piece of data to be transmitted, in response to determining that the current upload number is less than or equal to the data to be transmitted, data transmission is performed again on the data to be transmitted.
8. The data transmission method according to any one of claims 1 to 5, wherein: Performing data transmission on the at least one data to be transmitted at least according to the transmission order and the number of retransmissions of the at least one data to be transmitted includes: Acquiring communication quality information of multiple data transmission channels; and For each data to be transmitted, Selecting a data transmission channel for transmitting the data to be transmitted from the multiple data transmission channels according to the communication quality information of the multiple data transmission channels and the transmission priority and transmission reliability level of the data to be transmitted; and The data to be transmitted is transmitted through a data transmission channel used to transmit the data to be transmitted according to the transmission sequence and the number of retransmissions of the data to be transmitted.
9. A data transmission device for a vehicle, comprising: an acquisition module, the acquisition module being configured to acquire at least one data to be transmitted of the vehicle and data information related to each data to be transmitted in the at least one data to be transmitted; a first determining module, wherein the first determining module is configured to determine, for each data to be transmitted, a transmission priority and a transmission reliability level of the data to be transmitted according to data information related to the data to be transmitted, wherein the transmission reliability level is used to indicate whether the data to be transmitted must be successfully transmitted; A second determining module, wherein the second determining module is configured to determine a transmission order of the at least one data to be transmitted based on a transmission priority of each data to be transmitted in the at least one data to be transmitted; A third determining module, the third determining module being configured to determine, for each piece of data to be transmitted, at least a number of retransmissions of the data to be transmitted based on a transmission reliability level of the data to be transmitted; and a data transmission module, wherein the data transmission module is configured to transmit the at least one data to be transmitted according to at least a transmission order and a retransmission number of the at least one data to be transmitted, Wherein, obtaining at least one data to be transmitted of the vehicle and data information related to each data to be transmitted in the at least one data to be transmitted includes: Determine whether a trigger event occurs, wherein the trigger event is used to trigger uploading of data; and In response to determining that the trigger event occurs, acquiring at least one data to be transmitted of the vehicle and data information related to each of the at least one data to be transmitted, wherein the at least one data to be transmitted is associated with the trigger event, The data information related to each data to be transmitted includes the data volume, data source, data content and data usage of the data to be transmitted, and characteristic information of the triggering event, and for each data to be transmitted, determining the transmission priority and transmission reliability level of the data to be transmitted according to the data information related to the data to be transmitted includes: Determining the transmission priority of the data to be transmitted according to the data source, the data content, the data usage, the data volume and the characteristic information; and Determine the transmission reliability level of the data to be transmitted through a machine learning model according to the data source, the data content, the data usage and the characteristic information, Wherein, for each data to be transmitted, based on the transmission reliability level of the data to be transmitted, at least determining the number of retransmissions of the data to be transmitted includes: Based on the transmission reliability level of the data to be transmitted, the number of retransmissions of the data to be transmitted and whether to store the data to be transmitted in a cache area are determined, so as to indicate whether to temporarily store the data to be transmitted in a cache area if retransmission of the data to be transmitted fails after exceeding the number of retransmissions.
10. A computer device comprising: at least one processor; as well as at least one memory having a computer program stored thereon, When the computer program is executed by the at least one processor, the at least one processor executes the method according to any one of claims 1 to 8.
11. A vehicle comprising the apparatus of claim 9 or the computer device of claim 10.
12. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor is caused to execute the method according to any one of claims 1 to 8.
13. A computer program product, comprising a computer program, which, when executed by a processor, causes the processor to perform the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Data processing method, device and equipment for Internet of Vehicles system
CN109756547A
Methods, devices, and systems for supporting HARQ on v2x
CN112740594A