Data communication method and device, computer equipment, readable storage medium and program product
Through intelligent selection of transmission channels and encapsulating data packets, the problem of vehicle network equipment integrating wireless resources in vehicle-road cloud systems is solved, the efficient transmission of autonomous driving data and the simple connection between wireless devices is achieved, and the system is improved Development efficiency and reliability.
Patent Information
- Application Number
- CN202411378915.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-27
AI Technical Summary
In the vehicle-road cloud system, it is difficult for the existing technology to effectively integrate wireless resources, resulting in the need to consider wireless communication protocols during the development process of vehicle networking equipment, which affects the rapid iterative development of autonomous driving data and the connection with the wireless controller outside the vehicle.
Provide a data communication method, by receiving autonomous driving data packets, identifying the packet size and network performance required, intelligently selecting PC5 channel or 5G Uu channel for transmission, encapsulating it into a format supported by the target transmission channel, and realizing the shielding of the wireless communication protocol. Simplify connection and coordination between wireless devices.
It realizes efficient connection and coordination between wireless devices, simplifies the transmission process of autonomous driving data, improves the smoothness and reliability of data transmission, and reduces the complexity of development.
Smart Images

Figure CN119211879A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile communication technology, and in particular to a data communication method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] In the vehicle-road-cloud system, a cloud-heavy and vehicle-light solution is adopted for autonomous driving applications, with functions such as function setting, function degradation, lane line cruising, unclear lane line cruising, local lane changing based on the vehicle's surrounding environment, traffic sign recognition, dynamic environmental response, passing through traffic light intersections, and passing through intersections without traffic lights. During the development process, these functions involve the sending of vehicle status data and vehicle driving data on the vehicle side to the cloud.
[0003] With the rapid development of wireless technology, wireless devices emerge in an endless stream, and there are more and more wireless applications in the field of Internet of Vehicles. The main problem that needs to be solved at present is how to integrate wireless resources based on the same operating system so that applications on wireless devices can be quickly iterated and developed without having to consider wireless communication protocols and complete the connection with other wireless controllers outside the vehicle. Summary of the invention
[0004] Based on this, it is necessary to provide a data communication method, apparatus, computer device, computer-readable storage medium and computer program product that can intelligently select a communication channel regardless of the wireless communication protocol to address the above technical problems.
[0005] In a first aspect, the present application provides a data communication method, comprising:
[0006] receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0007] Identify the size of the data packet and query the required network performance corresponding to the target application;
[0008] Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0009] In one embodiment, the multiple transmission channels between the T-BOX and the cloud include a PC5 channel and a 5G Uu channel, and the 5G Uu channel includes multiple communication interfaces;
[0010] The determining, based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet from among a plurality of transmission channels between the T-BOX and the cloud, comprises:
[0011] If the size of the data packet is smaller than a preset value and the required network performance is smaller than a preset level, the transmission status of the PC5 channel is identified; and based on the transmission status of the PC5 channel, a target transmission channel for transmitting the data packet is determined.
[0012] In one of the embodiments, determining a target transmission channel for transmitting the data packet based on the transmission status of the PC5 channel includes:
[0013] If the amount of data transmitted in the PC5 channel is overloaded, identifying network status information of multiple communication interfaces in the 5G Uu channel, and determining a target transmission channel from the multiple communication interfaces according to the network status information;
[0014] If the amount of data transmitted in the PC5 channel is not overloaded, the PC5 channel is used as the target transmission channel;
[0015] In the case where the PC5 channel is used as the target transmission channel, encapsulating the data packet into a format supported by the target transmission channel, and transmitting the encapsulated data packet to the cloud through the target transmission channel, includes:
[0016] The data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, which then transmits the encapsulated data packet to the cloud.
[0017] In one embodiment, the method further comprises:
[0018] If the data packet is larger than a preset value, or the required network performance is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
[0019] In one of the embodiments, the network status information includes: network coverage area, RSRP requirement, SINR requirement, network delay requirement and packet loss rate requirement;
[0020] The determining a target transmission channel from the plurality of communication interfaces according to the network status information comprises:
[0021] Perform a first screening according to the network coverage area in the network status information, retain the communication interface whose network coverage area covers the area where the autonomous driving vehicle is located, and obtain the communication interface after the first screening;
[0022] According to the network status information of the communication interface after the first screening, a second screening is performed, and the communication interface whose RSRP is greater than the first threshold, the SINR is greater than the second threshold, the network delay is less than the third threshold, and the packet loss rate is less than the fourth threshold is retained in the communication interface after the first screening, to obtain the communication interface after the second screening;
[0023] A communication interface is randomly selected from the communication interfaces after the second screening as the target transmission channel.
[0024] In one embodiment, the method further comprises:
[0025] The planning and decision data are received from the cloud through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0026] In a second aspect, the present application further provides a data communication device, including:
[0027] A receiving module, used to receive a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0028] An identification module, used to identify the size of the data packet and query the required network performance corresponding to the target application;
[0029] A transmission module is used to determine a target transmission channel for transmitting the data packet among multiple transmission channels between the T-BOX and the cloud based on the size of the data packet and the required network performance, encapsulate the data packet into a format supported by the target transmission channel, and transmit the encapsulated data packet to the cloud through the target transmission channel.
[0030] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0031] receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0032] Identify the size of the data packet and query the required network performance corresponding to the target application;
[0033] Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0035] receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0036] Identify the size of the data packet and query the required network performance corresponding to the target application;
[0037] Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0038] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0039] receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0040] Identify the size of the data packet and query the required network performance corresponding to the target application;
[0041] Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0042] The above-mentioned data communication method, apparatus, computer equipment, computer-readable storage medium and computer program product first receive a data packet of autonomous driving data sent by a target application, wherein the target application is any upper-layer application in the T-BOX; then identify the size of the data packet and query the required network performance corresponding to the target application; based on the size of the data packet and the required network performance, determine the target transmission channel for transmitting the data packet in multiple transmission channels between the T-BOX and the cloud, and finally encapsulate the data packet into a format supported by the target transmission channel, and transmit the encapsulated data packet to the cloud through the target transmission channel. By encapsulating the data packet into a format supported by the target transmission channel, the underlying wireless communication protocol can be shielded from the upper-layer application, and the upper-layer application can be shielded from the wireless communication protocol, so that the connection and collaboration between wireless devices are smoother. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] FIG1 is an application environment diagram of a data communication method in one embodiment;
[0045] Figure 2 is a flow chart of a data communication method in one embodiment;
[0046] Figure 3 is a detailed flow chart of a data communication method in one embodiment;
[0047] Figure 4 is a structural block diagram of a data communication device in one embodiment;
[0048] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] The data method provided in the embodiment of the present application can be applied in the application environment as shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be an autonomous driving vehicle. The server 104 can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud computing services. In the embodiment of the present application, the cloud server is also called the cloud. The terminal 102 is provided with an on-board electrical component T-BOX, which includes an intelligent identification component. The intelligent identification component can be used to execute the following scheme: receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper-layer application in the T-BOX; the terminal 102 identifies the size of the data packet and queries the required network performance corresponding to the target application; based on the size of the data packet and the required network performance, the terminal 102 determines a target transmission channel for transmitting the data packet from a plurality of transmission channels between the T-BOX and the cloud, encapsulates the data packet into a format supported by the target transmission channel, and transmits the encapsulated data packet to the cloud through the target transmission channel.
[0051] In an exemplary embodiment, Figure 2 As shown, a data communication method is provided, which is described by taking the method applied to the terminal 102 in FIG. 1 as an example, and includes the following steps 202 to 206. Among them:
[0052] Step 202, receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0053] Optionally, the autonomous driving data may be vehicle status data and vehicle form data.
[0054] Exemplarily, data packets of autonomous driving vehicle status data and vehicle driving data sent by a target application are received.
[0055] Step 204, identifying the size of the data packet and querying the required network performance corresponding to the target application;
[0056] The required network performance refers to the network performance required for data transmission, which are low performance requirements and high performance requirements.
[0057] Exemplarily, the storage space size of the data packet and the network performance required by the target application for data transmission are identified.
[0058] Step 206: Based on the size of the data packet and the required network performance, determine a target transmission channel for transmitting the data packet from among multiple transmission channels between the T-BOX and the cloud, encapsulate the data packet into a format supported by the target transmission channel, and transmit the encapsulated data packet to the cloud through the target transmission channel.
[0059] Exemplarily, based on the size of the data packet and the network performance required for data transmission by the target application, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0060] The above-mentioned data communication method, apparatus, computer equipment, computer-readable storage medium and computer program product first receive a data packet of autonomous driving data sent by a target application, wherein the target application is any upper-layer application in the T-BOX; then identify the size of the data packet and query the required network performance corresponding to the target application; based on the size of the data packet and the required network performance, determine the target transmission channel for transmitting the data packet in multiple transmission channels between the T-BOX and the cloud, and finally encapsulate the data packet into a format supported by the target transmission channel, and transmit the encapsulated data packet to the cloud through the target transmission channel. By encapsulating the data packet into a format supported by the target transmission channel, the underlying wireless communication protocol can be shielded from the upper-layer application, and the upper-layer application can be shielded from the wireless communication protocol, so that the connection and collaboration between wireless devices are smoother.
[0061] In an exemplary embodiment, the multiple transmission channels between the T-BOX and the cloud include a direct communication PC5 channel and a cellular network communication 5G Uu channel, and the 5G Uu channel includes multiple communication interfaces; the determining, based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet from the multiple transmission channels between the T-BOX and the cloud includes:
[0062] If the size of the data packet is smaller than a preset value and the required network performance is smaller than a preset level, the transmission status of the PC5 channel is identified; and based on the transmission status of the PC5 channel, a target transmission channel for transmitting the data packet is determined.
[0063] Among them, the PC5 channel is the communication interface between terminals, that is, the short-distance direct communication interface between vehicles, people, and road infrastructure; its characteristics are: low-latency, high-capacity, and highly reliable communication through direct connection, broadcasting, and network scheduling.
[0064] Among them, the 5G Uu channel is the communication interface between the terminal and the base station; its characteristics are: achieving reliable communication over long distances and a larger range.
[0065] Optionally, the preset value may be 10M.
[0066] The preset level is a pre-set network performance indicator, which is used to determine whether the required network performance is a high-level performance requirement or a low-level performance requirement. Optionally, the preset level can be: RSRP is -44dBm, SINR is -20, network delay is 30ms, and packet loss rate is 0.5%. If any one of the RSRP, SINR, network delay, and packet loss rate of the required network performance is higher than the preset level, it is a high-performance requirement, otherwise it is a low-performance requirement.
[0067] Exemplarily, if the size of the data packet is less than 10M, and the RSRP, SINR, network delay and packet loss rate in the required network performance are all less than preset levels, the transmission status of the PC5 channel is identified; based on the transmission status of the PC5 channel, the target transmission channel for transmitting the data packet is determined.
[0068] In this embodiment, when the data packet size is small and the network performance requirement is not high, the PC5 channel is first used to transmit data, which can effectively alleviate the data transmission pressure of the high-performance channel.
[0069] In an exemplary embodiment, it is characterized in that the determining of the target transmission channel for transmitting the data packet based on the transmission status of the PC5 channel includes:
[0070] If the amount of data transmitted in the PC5 channel is overloaded, identify the network status information of multiple communication interfaces in the 5G Uu channel, and determine the target transmission channel from the multiple communication interfaces according to the network status information; if the amount of data transmitted in the PC5 channel is not overloaded, use the PC5 channel as the target transmission channel;
[0071] In the case where the PC5 channel is used as the target transmission channel, encapsulating the data packet into a format supported by the target transmission channel, and transmitting the encapsulated data packet to the cloud through the target transmission channel, includes:
[0072] The data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, which then transmits the encapsulated data packet to the cloud.
[0073] Exemplarily, if the amount of data transmitted in the PC5 channel is overloaded, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and an idle communication interface is selected from the multiple communication interfaces as the target transmission channel according to the network status information; if the amount of data transmitted in the PC5 channel is not overloaded, the PC5 channel is used as the target transmission channel, and the PC5 channel is used to transmit the data packet to the roadside equipment, and the roadside equipment transmits the data packet to the cloud.
[0074] In this embodiment, when the PC5 channel is overloaded, the idle 5G Uu5 channel is used to transmit data, which can solve the data transmission problem in the summer when the PC5 channel is overloaded and ensure that the data can be transmitted in time.
[0075] In an exemplary embodiment, the method further comprises:
[0076] If the data packet is larger than a preset value, or the required network performance is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
[0077] Exemplarily, if the data packet is larger than 10M, or any one of the required network performance indicators of RSRP, SINR, network delay and packet loss rate is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
[0078] In this embodiment, when the transmitted data packet is large or the network performance requirement is high, the 5G Uu channel is used to transmit data to ensure that important data reaches the cloud in a timely manner.
[0079] In an exemplary embodiment, the network status information includes: network coverage area, RSRP, SINR, network delay and packet loss rate;
[0080] The determining the target transmission channel from the multiple communication interfaces according to the network status information includes: performing a first screening according to the network coverage area in the network status information, retaining the communication interfaces whose network coverage area covers the area where the autonomous driving vehicle is located, to obtain the communication interfaces after the first screening; performing a second screening according to the network status information of the communication interfaces after the first screening, retaining the communication interfaces whose RSRP is greater than a first threshold, SINR is greater than a second threshold, network delay is less than a third threshold, and packet loss rate is less than a fourth threshold among the communication interfaces after the first screening, to obtain the communication interfaces after the second screening; and randomly selecting a communication interface from the communication interfaces after the second screening as the target transmission channel.
[0081] Among them, the first threshold is the RSRP requirement in the required network performance, the second threshold is the XINR requirement in the required network performance, the third threshold is the network delay requirement in the required network performance, and the fourth threshold is the packet loss rate requirement in the required network performance.
[0082] A first screening is performed according to the network coverage area in the network status information, and the communication interfaces whose network coverage area covers the area where the autonomous driving vehicle is located are retained to obtain the communication interfaces after the first screening; a second screening is performed according to the network status information of the communication interfaces after the first screening, and the communication interfaces whose RSRP is greater than the RSRP requirement in the required network performance, whose SINR is greater than the XINR requirement in the required network performance, whose network delay is less than the network delay requirement in the required network performance, and whose packet loss rate is less than the packet loss rate requirement in the required network performance are retained to obtain the communication interfaces after the second screening; and a communication interface is randomly selected from the communication interfaces after the second screening as the target transmission channel.
[0083] In this embodiment, by screening qualified communication interfaces in 5G Uu to perform corresponding data transmission, qualified transmission channels can be efficiently matched, so that data can be efficiently transmitted.
[0084] In an exemplary embodiment, the method further comprises:
[0085] The planning and decision data are received from the cloud through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0086] Exemplarily, planning and decision data are received from the cloud via the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0087] Reliably receive planning and decision-making data from the cloud through the PC5 channel and 5G Uu channel, facilitate timely execution of subsequent decisions and operations, and ensure driving safety.
[0088] In an exemplary embodiment, Figure 3As shown, a data packet of vehicle status data and vehicle driving data of autonomous driving sent by a target application is received, and the target application is any upper-layer application in the T-BOX; the storage space size of the data packet and the network performance required for data transmission by the target application are identified. If the data packet is less than 10M, and the RSRP, SINR, network delay and packet loss rate in the required network performance are all less than the preset level, the transmission status of the PC5 channel is identified; if the amount of data transmitted in the PC5 channel is not overloaded, the PC5 channel is used as the target transmission channel; the data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, and the roadside device transmits the encapsulated data packet to the cloud. If the amount of data transmitted in the PC5 channel is overloaded, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and an idle communication interface in the 5G Uu channel is selected as the target transmission interface. If the data packet is larger than 10M, or any one of the indicators of RSRP, SINR, network delay and packet loss rate of the required network performance is greater than or equal to the preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the network coverage area in the network status information is first screened, and the communication interface whose network coverage area covers the area where the autonomous driving vehicle is located is retained to obtain the communication interface after the first screening; the network coverage area in the network status information is first screened, and the communication interface whose network coverage area covers the area where the autonomous driving vehicle is located is retained to obtain the communication interface after the first screening; according to the network status information of the communication interface after the first screening, a second screening is performed, and the communication interface whose RSRP is greater than the RSRP requirement in the required network performance, SINR is greater than the XINR requirement in the required network performance, network delay is less than the network delay requirement in the required network performance, and packet loss rate is less than the packet loss rate requirement in the required network performance is retained to obtain the communication interface after the second screening; a communication interface is randomly selected from the communication interfaces after the second screening as the target transmission channel. In addition, the planning and decision data from the cloud are received through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0089] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0090] In an exemplary embodiment, Figure 4 As shown, a data communication device is provided, including: a receiving module, an identification module and a transmission module, wherein:
[0091] A receiving module, used to receive a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0092] An identification module, used to identify the size of the data packet and query the required network performance corresponding to the target application;
[0093] A transmission module is used to determine a target transmission channel for transmitting the data packet among multiple transmission channels between the T-BOX and the cloud based on the size of the data packet and the required network performance, encapsulate the data packet into a format supported by the target transmission channel, and transmit the encapsulated data packet to the cloud through the target transmission channel.
[0094] In one embodiment, the receiving module is further configured to:
[0095] The multiple transmission channels between the T-BOX and the cloud include a direct communication PC5 channel and a cellular network communication 5G Uu channel, and the 5G Uu channel includes multiple communication interfaces; based on the size of the data packet and the required network performance, determining a target transmission channel for transmitting the data packet from the multiple transmission channels between the T-BOX and the cloud, including: if the size of the data packet is less than a preset value and the required network performance is less than a preset level, identifying the transmission status of the PC5 channel; determining the target transmission channel for transmitting the data packet based on the transmission status of the PC5 channel.
[0096] In one embodiment, the transmission module is further configured to:
[0097] If the amount of data transmitted in the PC5 channel is overloaded, identify the network status information of multiple communication interfaces in the 5G Uu channel, and determine the target transmission channel from the multiple communication interfaces according to the network status information; if the amount of data transmitted in the PC5 channel is not overloaded, use the PC5 channel as the target transmission channel;
[0098] In the case where the PC5 channel is used as the target transmission channel, encapsulating the data packet into a format supported by the target transmission channel, and transmitting the encapsulated data packet to the cloud through the target transmission channel, includes:
[0099] The data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, which then transmits the encapsulated data packet to the cloud.
[0100] In one embodiment, the transmission module is further configured to:
[0101] If the data packet is larger than a preset value, or the required network performance is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
[0102] In one embodiment, the transmission module is further configured to:
[0103] The network status information includes: network coverage area, reference signal received power RSRP, signal-to-noise ratio SINR, network delay and packet loss rate; determining the target transmission channel from the multiple communication interfaces according to the network status information includes: performing a first screening according to the network coverage area in the network status information, retaining the communication interfaces whose network coverage areas cover the area where the autonomous driving vehicle is located, and obtaining the communication interfaces after the first screening; performing a second screening according to the network status information of the communication interfaces after the first screening, retaining the communication interfaces whose RSRP is greater than a first threshold, SINR is greater than a second threshold, network delay is less than a third threshold and packet loss rate is less than a fourth threshold among the communication interfaces after the first screening, and obtaining the communication interfaces after the second screening; and randomly selecting a communication interface from the communication interfaces after the second screening as the target transmission channel.
[0104] In one embodiment, the transmission module is further configured to:
[0105] The planning and decision data are received from the cloud through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0106] Each module in the above data communication device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0107] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store autonomous driving data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data communication method is implemented.
[0108] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0109] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0110] receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0111] Identify the size of the data packet and query the required network performance corresponding to the target application;
[0112] Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0113] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0114] The multiple transmission channels between the T-BOX and the cloud include a direct communication PC5 channel and a cellular network communication 5G Uu channel, and the 5G Uu channel includes multiple communication interfaces; based on the size of the data packet and the required network performance, determining a target transmission channel for transmitting the data packet from the multiple transmission channels between the T-BOX and the cloud, including: if the size of the data packet is less than a preset value and the required network performance is less than a preset level, identifying the transmission status of the PC5 channel; determining the target transmission channel for transmitting the data packet based on the transmission status of the PC5 channel.
[0115] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0116] If the amount of data transmitted in the PC5 channel is overloaded, identify the network status information of multiple communication interfaces in the 5G Uu channel, and determine the target transmission channel from the multiple communication interfaces according to the network status information; if the amount of data transmitted in the PC5 channel is not overloaded, use the PC5 channel as the target transmission channel;
[0117] In the case where the PC5 channel is used as the target transmission channel, encapsulating the data packet into a format supported by the target transmission channel, and transmitting the encapsulated data packet to the cloud through the target transmission channel, includes:
[0118] The data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, and the roadside device transmits the encapsulated data packet to the cloud. In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0119] If the data packet is larger than a preset value, or the required network performance is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
[0120] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0121] The network status information includes: network coverage area, reference signal received power RSRP, signal-to-noise ratio SINR, network delay and packet loss rate; determining the target transmission channel from the multiple communication interfaces according to the network status information includes: performing a first screening according to the network coverage area in the network status information, retaining the communication interfaces whose network coverage areas cover the area where the autonomous driving vehicle is located, and obtaining the communication interfaces after the first screening; performing a second screening according to the network status information of the communication interfaces after the first screening, retaining the communication interfaces whose RSRP is greater than a first threshold, SINR is greater than a second threshold, network delay is less than a third threshold and packet loss rate is less than a fourth threshold among the communication interfaces after the first screening, and obtaining the communication interfaces after the second screening; and randomly selecting a communication interface from the communication interfaces after the second screening as the target transmission channel.
[0122] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0123] The planning and decision data are received from the cloud through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0124] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0125] receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0126] Identify the size of the data packet and query the required network performance corresponding to the target application;
[0127] Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0128] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0129] The multiple transmission channels between the T-BOX and the cloud include a direct communication PC5 channel and a cellular network communication 5G Uu channel, and the 5G Uu channel includes multiple communication interfaces; based on the size of the data packet and the required network performance, determining a target transmission channel for transmitting the data packet from the multiple transmission channels between the T-BOX and the cloud, including: if the size of the data packet is less than a preset value and the required network performance is less than a preset level, identifying the transmission status of the PC5 channel; determining the target transmission channel for transmitting the data packet based on the transmission status of the PC5 channel.
[0130] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0131] If the amount of data transmitted in the PC5 channel is overloaded, identify the network status information of multiple communication interfaces in the 5G Uu channel, and determine the target transmission channel from the multiple communication interfaces according to the network status information; if the amount of data transmitted in the PC5 channel is not overloaded, use the PC5 channel as the target transmission channel;
[0132] In the case where the PC5 channel is used as the target transmission channel, encapsulating the data packet into a format supported by the target transmission channel, and transmitting the encapsulated data packet to the cloud through the target transmission channel, includes:
[0133] The data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, and the roadside device transmits the encapsulated data packet to the cloud. In one embodiment, when the computer program is executed by the processor, the following steps are also implemented:
[0134] If the data packet is larger than a preset value, or the required network performance is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
[0135] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0136] The network status information includes: network coverage area, reference signal received power RSRP, signal-to-noise ratio SINR, network delay and packet loss rate; determining the target transmission channel from the multiple communication interfaces according to the network status information includes: performing a first screening according to the network coverage area in the network status information, retaining the communication interfaces whose network coverage areas cover the area where the autonomous driving vehicle is located, and obtaining the communication interfaces after the first screening; performing a second screening according to the network status information of the communication interfaces after the first screening, retaining the communication interfaces whose RSRP is greater than a first threshold, SINR is greater than a second threshold, network delay is less than a third threshold and packet loss rate is less than a fourth threshold among the communication interfaces after the first screening, and obtaining the communication interfaces after the second screening; and randomly selecting a communication interface from the communication interfaces after the second screening as the target transmission channel.
[0137] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0138] The planning and decision data are received from the cloud through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0139] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0140] receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX;
[0141] Identify the size of the data packet and query the required network performance corresponding to the target application;
[0142] Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
[0143] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0144] The multiple transmission channels between the T-BOX and the cloud include a direct communication PC5 channel and a cellular network communication 5G Uu channel, and the 5G Uu channel includes multiple communication interfaces; based on the size of the data packet and the required network performance, determining a target transmission channel for transmitting the data packet from the multiple transmission channels between the T-BOX and the cloud, including: if the size of the data packet is less than a preset value and the required network performance is less than a preset level, identifying the transmission status of the PC5 channel; determining the target transmission channel for transmitting the data packet based on the transmission status of the PC5 channel.
[0145] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0146] If the amount of data transmitted in the PC5 channel is overloaded, identify the network status information of multiple communication interfaces in the 5G Uu channel, and determine the target transmission channel from the multiple communication interfaces according to the network status information; if the amount of data transmitted in the PC5 channel is not overloaded, use the PC5 channel as the target transmission channel;
[0147] In the case where the PC5 channel is used as the target transmission channel, encapsulating the data packet into a format supported by the target transmission channel, and transmitting the encapsulated data packet to the cloud through the target transmission channel, includes:
[0148] The data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, and the roadside device transmits the encapsulated data packet to the cloud. In one embodiment, when the computer program is executed by the processor, the following steps are also implemented:
[0149] If the data packet is larger than a preset value, or the required network performance is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5G Uu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0151] The network status information includes: network coverage area, reference signal received power RSRP, signal-to-noise ratio SINR, network delay and packet loss rate; determining the target transmission channel from the multiple communication interfaces according to the network status information includes: performing a first screening according to the network coverage area in the network status information, retaining the communication interfaces whose network coverage areas cover the area where the autonomous driving vehicle is located, and obtaining the communication interfaces after the first screening; performing a second screening according to the network status information of the communication interfaces after the first screening, retaining the communication interfaces whose RSRP is greater than a first threshold, SINR is greater than a second threshold, network delay is less than a third threshold and packet loss rate is less than a fourth threshold among the communication interfaces after the first screening, and obtaining the communication interfaces after the second screening; and randomly selecting a communication interface from the communication interfaces after the second screening as the target transmission channel.
[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0153] The planning and decision data are received from the cloud through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
[0154] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0155] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0156] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data communication method, characterized in that: An intelligent identification component applied to a vehicle-mounted electrical component T-BOX, the method comprising: receiving a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX; Identify the size of the data packet and query the required network performance corresponding to the target application; Based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet is determined among multiple transmission channels between the T-BOX and the cloud, the data packet is encapsulated into a format supported by the target transmission channel, and the encapsulated data packet is transmitted to the cloud through the target transmission channel.
2. The method according to claim 1, characterized in that The multiple transmission channels between the T-BOX and the cloud include a direct communication PC5 channel and a cellular network communication 5G Uu channel, and the 5G Uu channel includes multiple communication interfaces; The determining, based on the size of the data packet and the required network performance, a target transmission channel for transmitting the data packet from among a plurality of transmission channels between the T-BOX and the cloud, comprises: If the size of the data packet is smaller than a preset value and the required network performance is smaller than a preset level, the transmission status of the PC5 channel is identified; and based on the transmission status of the PC5 channel, a target transmission channel for transmitting the data packet is determined.
3. The method according to claim 2, characterized in that The determining of a target transmission channel for transmitting the data packet based on the transmission condition of the PC5 channel includes: If the amount of data transmitted in the PC5 channel is overloaded, identifying network status information of multiple communication interfaces in the 5G Uu channel, and determining a target transmission channel from the multiple communication interfaces according to the network status information; If the amount of data transmitted in the PC5 channel is not overloaded, the PC5 channel is used as the target transmission channel; In the case where the PC5 channel is used as the target transmission channel, encapsulating the data packet into a format supported by the target transmission channel, and transmitting the encapsulated data packet to the cloud through the target transmission channel, includes: The data packet is encapsulated into a format supported by the PC5 channel, and the encapsulated data packet is transmitted to the roadside device, which then transmits the encapsulated data packet to the cloud.
4. The method according to claim 3, characterized in that The method further comprises: If the data packet is larger than a preset value, or the required network performance is greater than or equal to a preset level, the network status information of multiple communication interfaces in the 5GUu channel is identified, and the target transmission channel is determined from the multiple communication interfaces based on the network status information.
5. The method according to claim 4, characterized in that The network status information includes: network coverage area, reference signal received power RSRP, signal-to-noise ratio SINR, network delay and packet loss rate; Determining a target transmission channel from the plurality of communication interfaces according to the network status information includes: Perform a first screening according to the network coverage area in the network status information, retain the communication interface whose network coverage area covers the area where the autonomous driving vehicle is located, and obtain the communication interface after the first screening; According to the network status information of the communication interface after the first screening, a second screening is performed, and the communication interface whose RSRP is greater than the first threshold, the SINR is greater than the second threshold, the network delay is less than the third threshold, and the packet loss rate is less than the fourth threshold is retained in the communication interface after the first screening, to obtain the communication interface after the second screening; A communication interface is randomly selected from the communication interfaces after the second screening as the target transmission channel.
6. The method according to claims 1-5, characterized in that: The method further comprises: The planning and decision data are received from the cloud through the PC5 channel and the 5G Uu channel, and the planning and decision data are transmitted to the application layer.
7. A data communication device, characterized in that: The device comprises: A receiving module, used to receive a data packet of autonomous driving data sent by a target application, wherein the target application is any upper layer application in the T-BOX; An identification module, used to identify the size of the data packet and query the required network performance corresponding to the target application; A transmission module is used to determine a target transmission channel for transmitting the data packet among multiple transmission channels between the T-BOX and the cloud based on the size of the data packet and the required network performance, encapsulate the data packet into a format supported by the target transmission channel, and transmit the encapsulated data packet to the cloud through the target transmission channel.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.