Communication method and communication gateway equipment
By generating target identification information and controlling data flow transmission in the Internet of Vehicles, the problem of low information interaction efficiency is solved, and rapid transmission and enhanced flexibility are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-03-13
AI Technical Summary
In existing vehicle networking technologies, the information exchange efficiency between various devices is low, interoperability is poor, and traditional network configuration methods cannot meet the requirements for flexibility and scalability.
By acquiring the data stream to be processed from the end-side device, determining its service type and the current state of the application-aware network, generating target identification information, generating the target data stream based on the identification information, and controlling its transmission in the application-aware network, fast transmission is achieved.
It improves the efficiency of information exchange, enhances the flexibility and scalability of vehicle networking services, and reduces the latency of interaction between devices.
Smart Images

Figure CN121665205A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle networking technology, and in particular to a communication method and a communication gateway device. Background Technology
[0002] With the rapid development of vehicle-to-everything (V2X) technology, the demand for data exchange between vehicles, road infrastructure, and cloud platforms is increasing. However, existing V2X technologies still face many challenges in network integration and information exchange.
[0003] The lack of a unified communication and transmission standard between vehicle systems from different manufacturers, urban traffic management systems, and diverse cloud services leads to inefficient information exchange and poor interoperability between various devices and systems. Furthermore, with the increase in the number of vehicles and the increasing complexity of traffic scenarios, traditional network identification configuration methods can no longer meet the needs of vehicle-to-everything (V2X) networks for flexibility and scalability. Summary of the Invention
[0004] To address this issue, the present invention provides a communication method and a communication gateway device to solve the problem of low information interaction efficiency between various devices in the prior art vehicle networking system.
[0005] To achieve the above objectives, the first aspect of the present invention provides a communication method applied to a communication gateway device. The method includes: acquiring a data stream to be processed sent by an end-side device and determining the service type corresponding to the data stream to be processed; determining target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application-aware network, wherein the target identification information is used to indicate the communication path traversed by the data stream to be processed; generating a target data stream based on the target identification information and the data stream to be processed; and controlling the transmission of the target data stream in the application-aware network.
[0006] In some embodiments, the end-side device is a vehicle; determining target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application-aware network includes: determining the service processing priority corresponding to the data stream to be processed based on the service type and the current network state; and generating target identification information based on the identification generation rules corresponding to the service processing priority.
[0007] In some embodiments, the service processing priority includes a first level, a second level, and a third level with decreasing priority levels; wherein, the identifier generation rule corresponding to the first level is to generate target identifier information based on the vehicle's license plate number and the timestamp information corresponding to the data stream to be processed; the identifier generation rule corresponding to the second level is to generate target identifier information based on a randomly generated random number and the physical address corresponding to the data stream to be processed; and the identifier generation rule corresponding to the third level is to generate target identifier information based on the vehicle's chassis number and the 5-tuple information corresponding to the data stream to be processed.
[0008] In some embodiments, determining the service processing priority corresponding to the data stream to be processed based on the service type and the current network status includes: determining the service processing priority level as the first level when it is determined that the service type corresponding to the data stream to be processed is a braking control service and the transmission delay of the braking control command in the application sensing network is greater than a preset delay threshold.
[0009] In some embodiments, the service processing priority corresponding to the data stream to be processed is determined based on the service type and the current network status, including: if the service type corresponding to the data stream to be processed is determined to be a fault emergency service, and there is a failed edge node in the application-aware network, the service processing priority level is determined to be the second level.
[0010] In some embodiments, determining the service processing priority corresponding to the data stream to be processed based on the service type and the current network status includes: determining the service processing priority level as the third level when it is determined that the service type corresponding to the data stream to be processed is the vehicle system update service, and the link utilization rate of each link in the application perception network is greater than the first preset utilization rate threshold.
[0011] In some embodiments, the end-side device is a roadside unit; the service type corresponding to the data stream to be processed includes data sensing services; the current network state of the application sensing network includes the link utilization rate of the backbone links in the application sensing network; determining target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application sensing network includes: determining network congestion when the link utilization rate of the backbone links is greater than a second preset utilization rate threshold; determining alternative path identifiers based on the attribute information of the sensing modules in the roadside unit and the identifier of the data stream to be processed; and generating target identification information based on the alternative path identifiers.
[0012] In some embodiments, the edge device is a cloud device; the service type corresponding to the data stream to be processed includes fault repair service; the current network state of the application-aware network includes the presence of failed edge nodes in the application-aware network; based on the service type corresponding to the data stream to be processed and the current network state of the application-aware network, target identification information is determined, including: obtaining the identifiers of multiple communication nodes whose communication delay with the failed edge node is greater than a preset delay threshold within a preset time period; generating target identification information based on the scenario identification information corresponding to the fault repair service, the instruction priority level corresponding to the vehicle control instruction, and the identifiers of each communication node, wherein the target identification information is used to indicate the communication path through which the data stream to be processed sent to each communication node passes.
[0013] In some embodiments, the end-side device is a cloud device; the service type corresponding to the data stream to be processed includes regional rate limiting adjustment service; the current network status of the application-aware network includes the global management and control status of the cloud device; the target identification information is determined according to the service type corresponding to the data stream to be processed and the current network status of the application-aware network, including: generating target identification information according to the regional identifier corresponding to the cloud device and the software version information running on the cloud device.
[0014] In a second aspect, the present invention provides a communication gateway device, the communication gateway device comprising: one or more processors; a memory storing one or more programs thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the above-described communication method; and one or more I / O interfaces connected between the processors and the memory, configured to enable information interaction between the processors and the memory.
[0015] The communication method provided in this invention acquires the data stream to be processed sent by the end-side device and determines the service type corresponding to the data stream. Based on the service type of the data stream and the current network state of the application sensing network, it flexibly adapts different target identification information to the data stream, and then generates a target data stream based on the target identification information and the data stream to be processed. Since the target identification information indicates the communication path traversed by the data stream, it enables rapid transmission of the target data stream among multiple devices in the application sensing network, reducing interaction latency between devices and improving information exchange efficiency. Furthermore, because different service types correspond to different processing methods for the data streams to be processed, it enhances the flexibility and scalability of the vehicle network.
[0016] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0017] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof. The above and other features and advantages will become more apparent to those skilled in the art from the detailed description of exemplary embodiments with reference to the accompanying drawings, in which:
[0018] Figure 1 A flowchart illustrating a communication method provided in an embodiment of the present invention;
[0019] Figure 2 A block diagram of a communication gateway device provided in an embodiment of the present invention;
[0020] Figure 3 A block diagram of a communication system provided in an embodiment of the present invention;
[0021] Figure 4 A flowchart illustrating a communication method in a communication system provided by an embodiment of the present invention;
[0022] Figure 5 This is a block diagram of a communication gateway device provided in an embodiment of the present invention. Detailed Implementation
[0023] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0024] As used herein, the term "and / or" includes any and all combinations of one or more of the associated enumerated entries. The terminology used herein is for describing particular embodiments only and is not intended to limit the invention. As used herein, the singular forms "a" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. When the terms "comprising" and / or "made of" are used in this invention, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof is not excluded.
[0025] Unless otherwise specified, all terms used in this invention (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in common dictionaries should be interpreted as having the meaning consistent with their meaning in the context of the relevant art and the invention, and will not be interpreted as having an idealized or overly formal meaning unless expressly so defined by the invention.
[0026] In a first aspect, embodiments of the present invention provide a communication method.
[0027] Figure 1 This is a flowchart illustrating a communication method provided in an embodiment of the present invention. This communication method is applied to a communication gateway device. Figure 1 As shown, the method includes, but is not limited to, the following steps.
[0028] Step S101: Obtain the data stream to be processed sent by the end device and determine the service type corresponding to the data stream to be processed.
[0029] The edge device can be any type of device that needs to transmit data. For example, the edge device can be any of the following: the vehicle's onboard terminal, the remote control cabin equipment of an autonomous vehicle, a roadside unit, or a cloud device.
[0030] Step S102: Determine the target identification information based on the service type corresponding to the data stream to be processed and the current network status of the application-aware network.
[0031] The target identification information is used to indicate the communication path traversed by the data stream to be processed. For example, based on different service types, the target identification information selects the communication path with the fastest data transmission speed in the application-aware network (e.g., from node A -> node B -> node C), and generates the target identification information based on this transmission path.
[0032] The generated target identification information can be used to quickly transmit the data stream to be processed to the target device according to the communication path.
[0033] Step S103: Generate the target data stream based on the target identification information and the data stream to be processed.
[0034] Specifically, target identification information can be loaded into the data header of the data stream to be processed, thereby generating the target data stream.
[0035] In some embodiments, target identification information can also be loaded into the free field of the data stream to be processed to generate a target data stream, thereby reducing the transmission bandwidth occupied by the target data stream.
[0036] Step S104: Control the transmission of the target data stream in the application-aware network.
[0037] The communication gateway device can send the target data stream to the edge node in the application-aware network, and transmit the target data stream to the target node through the data transmission path indicated by the target identification information, so as to achieve fast data transmission.
[0038] According to the communication method in this embodiment, the data stream to be processed sent by the end-side device is acquired, and the service type corresponding to the data stream to be processed is determined. Based on the service type corresponding to the data stream to be processed and the current network state of the application perception network, different target identification information is flexibly adapted to the data stream to be processed. Then, a target data stream is generated based on the target identification information and the data stream to be processed. Since the target identification information is used to indicate the communication path traversed by the data stream to be processed, the target data stream can be quickly transmitted between multiple devices in the application perception network based on the target identification information, reducing the interaction latency between devices and improving the efficiency of information interaction. Furthermore, since the processing methods for the data streams to be processed corresponding to different service types are different, the flexibility and scalability of the vehicle network can be improved.
[0039] In some embodiments, the end-side device is a vehicle; the step S102 of determining the target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application-aware network can be implemented in the following way: determine the service processing priority corresponding to the data stream to be processed based on the service type and the current network state; generate the target identification information according to the identification generation rule corresponding to the service processing priority.
[0040] Among them, the end-side device is the vehicle, and the device that sends the data stream to be processed can be the on-board terminal on the vehicle or the remote control cabin device that controls the vehicle to perform autonomous driving.
[0041] By determining the service processing priority corresponding to the different service types of the data streams to be processed and the current network status (e.g., whether there is network congestion), different target identification information can be generated according to the identification generation rules corresponding to each different service processing priority, so as to meet the data processing needs of different service types.
[0042] The business processing priority includes three levels, with priority decreasing sequentially: Level 1, Level 2, and Level 3. Level 1 generates the target identifier based on the vehicle's license plate number and the timestamp information of the data stream to be processed. Level 2 generates the target identifier based on a randomly generated number and the physical address of the data stream to be processed. Level 3 generates the target identifier based on the vehicle's VIN and the 5-tuple information of the data stream to be processed.
[0043] Since the target identification information corresponding to each priority level is generated in different ways, target identification information that is more suitable for different application scenarios can be generated to speed up data processing efficiency.
[0044] In some embodiments, determining the service processing priority corresponding to the data stream to be processed based on the service type and the current network status includes: determining the service processing priority level as the first level when it is determined that the service type corresponding to the data stream to be processed is a braking control service and the transmission delay of the braking control command in the application sensing network is greater than a preset delay threshold.
[0045] Among them, the braking control service needs to control the driving status of the vehicle, so its corresponding priority level is the highest, namely the first level. By generating target identification information (such as APN ID) based on the vehicle's license plate number and the timestamp information corresponding to the data stream to be processed, the license plate number of the vehicle can be obtained quickly, so as to achieve control of the vehicle as soon as possible.
[0046] The preset delay threshold can be a preset transmission delay value such as 7ms or 8ms, so as to facilitate the determination of network status in braking control services.
[0047] In some embodiments, the service processing priority corresponding to the data stream to be processed is determined based on the service type and the current network status, including: if the service type corresponding to the data stream to be processed is determined to be a fault emergency service, and there is a failed edge node in the application-aware network, the service processing priority level is determined to be the second level.
[0048] In the case of determining that emergency fault handling is required and identifying the presence of a failed edge node in the application-aware network, the attribute information of the failed edge node cannot be used. Therefore, target identification information can be generated based on a randomly generated random number and the physical address of the target device corresponding to the data stream to be processed. This is the target identification generation method corresponding to the second level. When the target device receives a target data stream carrying this target identification information, it can clearly identify that the target data stream is used for emergency fault handling, thereby adjusting the target device's fault response strategy.
[0049] In some embodiments, the service processing priority corresponding to the data stream to be processed is determined according to the service type and the current network status, including: if the service type corresponding to the data stream to be processed is determined to be the vehicle system update service, and the link utilization of each link in the application perception network is greater than a first preset utilization threshold (e.g., 80% of the preset link utilization), the service processing priority level is determined to be the third level.
[0050] Among them, since the vehicle system update service for the vehicle terminal can be performed during off-peak hours, its corresponding service processing priority is relatively low. Based on the vehicle identification number of the vehicle to be updated and the five-tuple information (such as source IP address, source port, destination IP address, destination port and transport layer protocol) of the data stream to be processed, target identification information is generated so as to determine the vehicle that needs to be updated according to the target identification information, thereby improving the update speed of the vehicle's vehicle system.
[0051] In some embodiments, the end-side device is a roadside unit; the service type corresponding to the data stream to be processed includes data-aware services; the current network status of the application-aware network includes the link utilization rate of the backbone links in the application-aware network.
[0052] In step S102, determining the target identifier information based on the service type corresponding to the data stream to be processed and the current network status of the application sensing network can be achieved in the following way: when the link utilization rate of the backbone link is greater than the second preset utilization rate threshold, network congestion is determined; alternative path identifiers are determined based on the attribute information of the sensing module in the roadside unit and the identifier of the data stream to be processed; and target identifier information is generated based on the alternative path identifiers.
[0053] The second preset utilization threshold can be 85% of the preset link utilization rate corresponding to the backbone link.
[0054] Since roadside units implement data sensing services (e.g., video data), when network congestion is detected, the communication gateway device needs to determine alternative path identifiers for transmitting sensing data. For example, based on the attribute information of the sensing modules in the roadside unit (e.g., camera identification information) and the identifiers of the sensing data generated by the sensing modules (e.g., the identifier of the video data generated in which time period and used to sense which vehicle), alternative path identifiers are determined (e.g., the original transmission path is ABCD, and the detected alternative path is ABED). Target identifier information is then generated based on this alternative path identifier, so that the sensing data can be forwarded through the alternative path using this target identifier information, reducing the risk of sensing data loss.
[0055] In some embodiments, the edge device is a cloud device; the service type corresponding to the data stream to be processed includes fault repair service; the current network status of the application-aware network includes the presence of failed edge nodes in the application-aware network.
[0056] In step S102, determining the target identification information based on the service type corresponding to the data stream to be processed and the current network status of the application perception network can be achieved in the following way: obtain the identifications of multiple communication nodes whose communication delay with the failed edge node is greater than a preset delay threshold within a preset time period; generate target identification information based on the scenario identification information corresponding to the fault repair service, the instruction priority level corresponding to the vehicle control instruction, and the identification of each communication node. The target identification information is used to indicate the communication path through which the data stream to be processed sent to each communication node passes.
[0057] Since there are failed edge nodes in the application perception network, the communication data of other nodes that originally communicated with the failed edge node will be affected. Therefore, it is necessary to obtain the identifiers of multiple communication nodes whose communication delay with the failed edge node is greater than a preset delay threshold (e.g., 8ms) within a preset time period (e.g., 20ms) so as to update the paths of multiple affected communication nodes.
[0058] Then, the communication gateway device generates target identification information based on the scenario identification information corresponding to the fault repair service (e.g., fault repair scenario identifier), the command priority level corresponding to the vehicle control command (e.g., braking command has the highest priority), and the identifiers of each communication node. The identifiers of each communication node include the identifiers of each valid communication node along the communication path from the communication gateway device to the target device. This target identification information allows the gateway device to indicate the communication path of the data stream to be processed and sent to each communication node, accelerating data transmission and reducing the impact of network congestion caused by failed edge nodes.
[0059] In some embodiments, flexible path control can be achieved using IPv6 extended headers. In SRv6, each data packet carries path information consisting of multiple segments, which define the nodes and paths the packet should traverse in the network. This mechanism allows communication gateway devices to dynamically select the optimal path based on application requirements. This enables application-demand-based dynamic path selection and optimizes resource allocation.
[0060] Leveraging the programmability of SRv6 technology, communication gateway devices can dynamically adjust paths based on real-time application demands, network conditions, and resource availability. When traffic to an application suddenly increases, more bandwidth resources can be automatically allocated, and paths adjusted to avoid network congestion. Similarly, when a link fails, the system can quickly switch to a backup path, ensuring the continuity and reliability of data transmission. This application-demand-based dynamic path selection not only optimizes resource allocation but also enhances network flexibility and adaptability.
[0061] In some embodiments, the end-side device is a cloud device; the service type corresponding to the data stream to be processed includes regional rate limiting adjustment service; the current network status of the application-aware network includes the global management and control status of the cloud device.
[0062] The step S102, which determines the target identification information based on the service type corresponding to the data stream to be processed and the current network status of the application-aware network, can be achieved in the following way: generate the target identification information based on the area identifier corresponding to the cloud device and the software version information running on the cloud device.
[0063] When cloud devices need to distribute large amounts of data, such as when adjusting speed limits for vehicles in an area covered by the cloud device, the application sensing network enters a global control state. The cloud device generates target identification information based on the area to be adjusted and its current software version information (e.g., software version number). This target identification information allows the cloud device to pinpoint the area requiring large-scale data distribution and then perform batch processing based on the corresponding software version information. This not only speeds up the cloud device's data processing but also ensures that the target data stream carrying the target identification information is quickly recognized by the receiving device, enabling batch processing and adjustment within the designated area.
[0064] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this patent.
[0065] Secondly, embodiments of the present invention provide a communication gateway device.
[0066] Figure 2 This is a block diagram illustrating the composition of a communication gateway device provided in an embodiment of the present invention. Figure 2 As shown, the communication gateway device 200 includes, but is not limited to, the following modules.
[0067] The acquisition module 201 is used to acquire the data stream to be processed sent by the end device and determine the service type corresponding to the data stream to be processed.
[0068] The identifier determination module 202 is used to determine the target identifier information based on the service type corresponding to the data stream to be processed and the current network status of the application-aware network.
[0069] The target identification information is used to indicate the communication path through which the data stream to be processed passes.
[0070] The data stream generation module 203 is used to generate a target data stream based on the target identification information and the data stream to be processed.
[0071] The transmission module 204 is used to control the transmission of the target data stream in the application-aware network.
[0072] According to the communication gateway device in this embodiment, the acquisition module acquires the data stream to be processed sent by the end-side device and determines the service type corresponding to the data stream to be processed; the identifier determination module uses the service type corresponding to the data stream to be processed and the current network status of the application perception network to flexibly adapt different target identifier information for the data stream to be processed; then the data stream generation module uses the target identifier information and the data stream to be processed to generate a target data stream; since the target identifier information is used to indicate the communication path traversed by the data stream to be processed, the target data stream can be quickly transmitted between multiple devices in the application perception network based on the target identifier information by the transmission module, reducing the interaction latency between devices and improving the efficiency of information interaction; furthermore, since the processing methods for the data streams to be processed corresponding to different service types are different, the flexibility and scalability of the vehicle network can be improved.
[0073] The communication gateway device provided in this embodiment of the invention has functions or includes modules that can be used to execute the methods described in the first aspect of the method embodiment above. Its specific implementation and technical effects can be referred to the description of the method embodiment above. For the sake of brevity, it will not be repeated here.
[0074] It should be noted that all modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of this invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by this invention; however, this does not mean that other units are absent from this embodiment.
[0075] Thirdly, embodiments of the present invention provide a communication system.
[0076] Figure 3 This is a block diagram illustrating the composition of a communication system provided in an embodiment of the present invention. For example... Figure 3 As shown, the communication system includes, but is not limited to, the following devices: a communication gateway device 310, an in-vehicle terminal 320, a roadside unit 330, and a cloud device 340. The in-vehicle terminal 320, the roadside unit 330, and the cloud device 340 are all connected to the communication gateway device 310.
[0077] The communication gateway device 310 includes, but is not limited to, the following modules: message parsing module 311, rule matching module 312, identifier adding module 313, rule setting module 314, and policy adjustment module 315.
[0078] The message parsing module 311 is used to parse the received message (e.g., the data stream to be processed sent by each end device) and extract key information (such as source address, destination address, protocol type, port number, etc.) from the message.
[0079] The rule matching module 312 is used to match the parsed messages according to the rule base issued by the configuration management system to determine whether target identification information (such as APN ID) needs to be added; and if it is determined that target identification information needs to be added, the target identification information is determined according to the service type corresponding to the data flow to be processed and the current network status of the application-aware network. The target identification information is used to indicate the communication path through which the data flow to be processed passes.
[0080] The identifier addition module 313 is used to add target identifier information to the header or specific field of a successfully matched message to ensure the uniqueness and identifiability of the target identifier information in the application-aware network.
[0081] The rule setting module 314 is used to obtain the corresponding configuration rules modified or added by the administrator in real time, and send the updated configuration rules to the rule matching module 312.
[0082] Policy Adjustment Module 315: Used to adjust configuration rules and optimize network performance based on the current status information and business requirements of the application-aware network.
[0083] In some embodiments, the rule setting module 314 supports remote dynamic configuration, which improves the flexibility and scalability of the system.
[0084] For example, allowing network administrators to configure and update devices over the network not only improves configuration efficiency but also reduces the risks associated with device resets. Furthermore, the rule setting module 314 supports various configuration policies, enabling network administrators to flexibly adjust configurations based on application needs and changes in the network environment.
[0085] In this embodiment, the rule setting module 314 obtains the corresponding configuration rules modified or added by the administrator in real time, and sends the updated configuration rules to the rule matching module 312. This allows the rule matching module 312 to match the parsed messages according to the rule library issued by the configuration management system to determine whether target identification information needs to be added. If it is determined that target identification information needs to be added, the target identification information is determined according to the service type corresponding to the data stream to be processed and the current network status of the application-aware network. Then, the identification adding module 313 adds the target identification information to the header or specific field of the successfully matched message to ensure the uniqueness and identifiability of the target identification information in the application-aware network.
[0086] When the application on the end device sends a data stream to be processed, the message is first processed by the communication gateway device 310 to obtain the target data stream with added target identification information, so that the target data stream can be transmitted more quickly between multiple devices in the application-aware network, reducing the interaction latency between devices and improving the efficiency of information interaction.
[0087] In some embodiments, if the application-aware network is implemented based on Application-aware IPv6 Networking (APN6), each network node can be a node implemented based on IPv6 Segment Routing over IPv6 (SRv6). SRv6 nodes can determine the optimal path for a target data flow by identifying the target identifier information (e.g., APN ID) in the target data flow, and then encode the instructions corresponding to that path into a list of Segment Identifiers (SIDs) in the IPv6 extension header, thereby enabling flexible control and programmable forwarding of network traffic.
[0088] Determining the optimal path for the target data stream can be based on factors such as link quality, node load, and transmission latency. The SRv6 node then transmits the target data stream to the target node according to this optimal path.
[0089] In some embodiments, the allocation and determination of target identification information shall follow the principles of uniqueness and scalability.
[0090] In some instances, APN IDs can be generated using hash algorithms, random number generation algorithms, or other methods to ensure that each application or data stream has a unique identifier. At the same time, sufficient space is reserved for target identification information to accommodate future business expansion needs.
[0091] Figure 4 This is a flowchart illustrating a communication method in a communication system provided by an embodiment of the present invention. Figure 4 As shown, this communication method includes, but is not limited to, the following steps:
[0092] Step S401: The end device sends the data stream to be processed to the first communication gateway device.
[0093] The data stream to be processed needs to be transmitted within this communication system.
[0094] Among them, the end-side equipment includes at least one of the following: vehicle-mounted terminal, vehicle control cabin terminal, roadside unit, and cloud equipment.
[0095] For example, when the end device is an in-vehicle terminal, the data stream to be processed can be point cloud data sensed by the LiDAR sensing module of the in-vehicle terminal in the autonomous driving scenario.
[0096] When the end-side device is the vehicle control cabin end, the data stream to be processed can be an update installation package of the in-vehicle entertainment system sent by the vehicle control cabin end, or it can be braking control data sent by the vehicle control cabin end, so as to control the driving status of the vehicle (e.g., emergency braking).
[0097] When the end-side device is a roadside unit, the data stream to be processed can be a data-aware service data stream.
[0098] When the endpoint device is a cloud device, the data stream to be processed can be a fault repair business data stream, or a regional rate limit adjustment business data stream, etc.
[0099] In step S402, after receiving the data stream to be processed, the first communication gateway device determines the service type corresponding to the data stream to be processed; then, based on the service type corresponding to the data stream to be processed and the current network status of the application-aware network, it determines the target identification information; based on the target identification information and the data stream to be processed, it generates a target data stream and sends the target data stream to other communication devices in the application-aware network.
[0100] Other communication devices can be relay devices in the application-aware network; target identification information is used to indicate the communication path through which the data stream to be processed passes.
[0101] In step S403, other communication devices will forward the target data stream to the second communication gateway device corresponding to the peer device based on the target identification information.
[0102] In step S404, the second communication gateway device removes the target identifier information from the target data stream to obtain the original data stream to be transmitted to the target device.
[0103] The original data stream to be transmitted to the target device is the same as the data stream to be processed.
[0104] In step S405, the second communication gateway device sends the original data stream to be transmitted to the target device to the target device.
[0105] The peer device is the device that needs to use the data stream to be processed. For example, when the data stream to be processed is an update installation package for the in-vehicle entertainment system sent from the vehicle control cabin, or braking control data, the peer device is the in-vehicle terminal on the controlled vehicle.
[0106] For example, when the data stream to be processed is point cloud data sensed by the LiDAR sensing module of the vehicle terminal in an autonomous driving scenario, the peer device is a server that needs to analyze the point cloud data.
[0107] The above examples illustrate various devices. Other devices not illustrated are also within the scope of protection of this application and will not be elaborated upon here.
[0108] Correspondingly, if the target device has a data stream that needs to be fed back to the end device, the processing method is the same as that in steps S401 to S405 above, and will not be repeated here.
[0109] By adding target identification information to the data stream to be processed, the device can quickly obtain the transmission path of the data stream based on the target identification information, thereby improving the targeting and efficiency of data transmission.
[0110] In this context, target identification information (such as APN ID) allows each data stream in the network to carry a unique identifier associated with the application. This mechanism ensures that data streams can be accurately identified and routed to the target application during transmission.
[0111] By using APN IDs, the network can differentiate data traffic from different applications, thus achieving application-level packet identification. First, this improves the targeting of data transmission, ensuring data is accurately delivered to the target application and reducing performance degradation caused by misrouting or data loss. Second, application-level identification allows the network to manage and optimize traffic according to the needs of different applications, such as providing low-latency paths for applications with high real-time requirements and high-bandwidth paths for applications with large data transmission volumes. This targeted optimization not only enhances the user experience but also significantly improves the overall efficiency of data transmission.
[0112] The following examples illustrate different application scenarios.
[0113] Example 1: The communication system is a vehicle-to-everything (V2X) system, which processes the data streams from autonomous vehicles within the V2X system.
[0114] Among them, the generation rules for target identification information can be preset, as shown in Table 1.
[0115] Table 1. Rules for generating target identification information
[0116]
[0117] In some embodiments, the generation rules for the target identification information in Table 1 above are used by the communication gateway device to facilitate the generation of the target data stream.
[0118] The communication gateway device determines the service processing priority corresponding to the data stream to be processed based on the service type and the current network status; and generates target identification information according to the identification generation rules corresponding to the service processing priority.
[0119] The business processing priority includes a first level, a second level, and a third level, with priority levels decreasing sequentially.
[0120] The identifier generation rule for the first level is to generate target identifier information based on the vehicle's license plate number and the timestamp information corresponding to the data stream to be processed; for example, performing a hash operation on the vehicle's license plate number and the timestamp information corresponding to the data stream to be processed to generate an APN ID.
[0121] The identification generation rule for the second level is to generate target identification information based on a randomly generated random number and the physical address corresponding to the data stream to be processed; for example, the APN ID is generated using the random number and the last 24 bits of the physical address corresponding to the data stream to be processed.
[0122] The identifier generation rule for the third level is to generate target identifier information based on the vehicle's VIN and the five-tuple information corresponding to the data stream to be processed; for example, perform a hash operation on the vehicle's VIN, and then generate the APN ID based on the hash operation result and the five-tuple information corresponding to the data stream to be processed.
[0123] When the end-side device is the vehicle's control cabin, the data stream to be processed can be an update installation package for the in-vehicle entertainment system sent by the control cabin, or it can be braking control data sent by the control cabin to control the vehicle's driving status (e.g., emergency braking).
[0124] In some embodiments, when the end-side device is the control cabin of a vehicle and the data stream to be processed is braking control data sent by the control cabin, in order to control the driving state of the vehicle (e.g., emergency braking), the service processing priority corresponding to the data stream to be processed is determined according to the service type and the current network state, including: when it is determined that the service type corresponding to the data stream to be processed is braking control service, and the transmission delay of the braking control command in the application sensing network is greater than a preset delay threshold, the service processing priority level is determined to be the first level.
[0125] For example, if the transmission delay of braking control services (e.g., SRv6 path delay) is detected to be greater than a preset delay threshold (e.g., 8 milliseconds (ms)), the service processing priority is determined to be the first level. For example, the Traffic Class field in the data stream to be processed can be changed from 0x01 to 0x11, and the direct fiber optic transmission path can be forcibly selected as the transmission path for the data stream to be processed, thereby obtaining an ultra-low latency transmission path and enabling the vehicle to brake as quickly as possible.
[0126] In some embodiments, when the end-side device is a vehicle-mounted terminal, the service processing priority corresponding to the data stream to be processed is determined according to the service type and the current network status, including: when it is determined that the service type corresponding to the data stream to be processed is a fault emergency service, and there is a failed edge node in the application perception network, the service processing priority level is determined to be the second level.
[0127] For example, when an SRv6 node fails, the communication gateway device recalculates the explicit path to eliminate the faulty node within 15ms based on the Locator field in the APN ID (e.g., the original path is A→B→C→D, the new path is A→B→E→D), and re-determines the target identification information for all packets carrying the APN ID related to the failed node. For example, a temporary fault marker can be added to the pending data stream (e.g., setting the Args field of the APN ID to 0xFF), triggering the SRv6 node's fast rerouting mechanism.
[0128] In some embodiments, when the end-side device is the vehicle's control cabin and the data stream to be processed is an update installation package for the in-vehicle entertainment system sent by the control cabin; the service processing priority corresponding to the data stream to be processed is determined according to the service type and the current network status, including: when it is determined that the service type corresponding to the data stream to be processed is an in-vehicle system update service, and the link utilization rate of each link in the application perception network is greater than a first preset utilization rate threshold, the service processing priority level is determined to be the third level.
[0129] For example, when the link utilization rate of each link in the application perception network is greater than 80%, the transmission path of the installation package corresponding to the vehicle system update service is switched to a low-load edge node, so that the transmission delay tolerance is relaxed from 100ms to 500ms.
[0130] Example 2: Dynamic Cooperative Control Scenario in Vehicle-Road-Cloud Integration
[0131] In a certain vehicle-road-cloud integrated demonstration zone, vehicles, roadside units, edge cloud nodes and central cloud nodes need to conduct efficient and real-time data interaction through the APN6 computing power network in order to realize dynamic lane management and group collaborative driving.
[0132] Among them, vehicles upload their own status (such as speed, location, and intention) and high-definition perception data in real time.
[0133] Rapid data processing is performed between roadside units and edge cloud nodes to generate local collaborative strategies (such as platoon formation suggestions and intersection traffic sequences). The central cloud node is used for macro-level traffic flow analysis and global path planning.
[0134] In this scenario, the control commands transmitted between the various devices need to have extremely low transmission latency (e.g., less than or equal to 15ms) in order to enable the devices to work together and ensure the safe operation of the vehicle.
[0135] During the perception phase between the vehicle and the roadside unit: the perception data generated by the vehicle and the roadside unit, carrying their respective APN IDs, enters the application perception network. The communication network equipment determines the specific processing order of the perception data by identifying the priority attribute in the APN ID.
[0136] It should be noted that the generation of target identification information can also be dynamically adjusted according to the application-aware network and business requirements.
[0137] In some embodiments, if the end-side device is a roadside unit; the service type corresponding to the data stream to be processed includes data sensing services; the current network state of the application sensing network includes the link utilization rate of the backbone links in the application sensing network; determining target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application sensing network includes: determining network congestion when the link utilization rate of the backbone links is greater than a second preset utilization rate threshold; determining alternative path identifiers based on the attribute information of the sensing modules in the roadside unit and the identifier of the data stream to be processed; and generating target identification information based on the alternative path identifiers.
[0138] For example, when the link utilization rate of a certain backbone link is detected to be greater than the second preset utilization rate threshold (e.g., 85% of the preset link utilization rate), the communication gateway device will map the locator field in the data stream to be processed (e.g., roadside sensing video stream) to an alternative path. Then, it will generate target identification information based on the alternative path identifier so as to ensure the smooth flow of the main path of the "edge collaboration command" stream based on the target identification information.
[0139] For example, the target identification information can be represented by "2001:db8:rsu:2::[RSU ID][Data Stream ID]" to meet the requirements of stable data transmission with high bandwidth and medium latency.
[0140] In some embodiments, if the end-side device is a cloud device; the service type corresponding to the data stream to be processed includes fault repair service; the current network state of the application-aware network includes the presence of failed edge nodes in the application-aware network; and the target identification information is determined according to the service type corresponding to the data stream to be processed and the current network state of the application-aware network, including: obtaining the identifications of multiple communication nodes whose communication delay with the failed edge nodes is greater than a preset delay threshold within a preset time period; and generating target identification information according to the scenario identification information corresponding to the fault repair service, the instruction priority level corresponding to the vehicle control instruction, and the identification of each communication node, wherein the target identification information is used to indicate the communication path through which the data stream to be processed sent to each communication node passes.
[0141] The target identification information can carry edge node identifiers and collaborative control commands (such as control commands for vehicles A and B to form a convoy). After entering the application perception network, it triggers the low-latency path of the SRv6 node, so that the data stream to be processed can be directly transmitted to the target vehicle, thereby improving the data transmission speed.
[0142] For example, the target identification information can be represented by "2001:db8:edge:3::[scene identification information][command priority level]" to meet the requirements of ultra-low latency and high reliability for vehicle control commands. The vehicle control commands include at least one of the following: braking commands, deceleration commands, and cooperative control commands.
[0143] In some embodiments, if an edge node in the application sensing network fails, the communication gateway device will re-determine the data transmission path for all affected APN IDs within 20ms. It will generate target identification information based on the scenario identification information corresponding to the fault repair service, the instruction priority level corresponding to the vehicle control instruction, and the identification of each communication node. Then, based on the target identification information, it will indicate the communication path through which the data stream to be processed sent to each communication node will pass, so that the data traffic can be switched to the healthy edge node.
[0144] In some embodiments, if the end-side device is a cloud device; the service type corresponding to the data stream to be processed includes regional rate limiting adjustment service; the current network status of the application-aware network includes the global control status of the cloud device; and the target identification information is determined according to the service type corresponding to the data stream to be processed and the current network status of the application-aware network, including: generating target identification information according to the regional identifier corresponding to the cloud device and the software version information running on the cloud device.
[0145] For example, the target identification information can be represented by "2001:db8:cloud:4::[region identifier][version number]" to meet the needs of cloud devices for transmitting large amounts of data.
[0146] By carrying the corresponding region identifier of the cloud device in the target identification information, the cloud device can implement global policies (such as "regional rate limit adjustment") to send data in batches when the network load is low.
[0147] When vehicles in the application perception network receive control commands, they perform actions such as platooning and speed adjustment, and then upload the new status data to the roadside unit and cloud equipment again for data updates.
[0148] In some embodiments, if the cloud device predicts an impending conflict (e.g., two vehicles vying for right-of-way at an intersection), the communication gateway device can also temporarily increase the priority of the APN ID of the relevant vehicle's status data to ensure that the decision data for that vehicle can be transmitted and processed with the highest priority.
[0149] According to the communication system in this embodiment, the end-to-end latency of the collaborative control command for vehicles can be reduced from 50ms to 12ms (a reduction of 76%), meeting the requirements of high-level collaborative driving; and the network resource utilization rate can be increased by 40%, achieving fine-grained traffic management and load balancing through APN ID; in the event of a communication failure, the recovery time of control data transmission is less than 50ms, significantly improving the robustness and security of the system; and a true "sensing-decision-control" closed loop is achieved, increasing the efficiency of vehicle traffic on the road by more than 25%.
[0150] Fourthly, embodiments of the present invention provide a communication gateway device.
[0151] Figure 5 This is a block diagram illustrating the composition of a communication gateway device provided in an embodiment of the present invention. Figure 5 As shown, the communication gateway device includes: one or more processors 501; a memory 502 storing one or more programs, which, when executed by one or more processors, enable the one or more processors to implement any of the above-mentioned communication methods; and one or more I / O interfaces 503 connected between the processors and the memory, configured to enable information interaction between the processors and the memory.
[0152] Among them, processor 501 is a device with data processing capabilities, including but not limited to central processing unit (CPU); memory 502 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); I / O interface (read-write interface) 503 is connected between processor 501 and memory 502, and can realize information interaction between processor 501 and memory 502, including but not limited to data bus (Bus).
[0153] In some embodiments, the processor 501, memory 502, and I / O interface 503 are interconnected via a bus, and thus connected to other components of the computing device.
[0154] This embodiment also provides a computer-readable medium having a computer program stored thereon. When the program is executed by a processor, it implements the communication method provided in this embodiment. To avoid repetition, the specific steps of the communication method will not be repeated here.
[0155] This invention also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code is run in the processor of a communication gateway device, the processor in the communication gateway device executes the above-described communication method.
[0156] Those skilled in the art will understand that all or some of the steps, systems, or apparatuses in the methods, systems, and apparatuses described above can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0157] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0158] Those skilled in the art will understand that although some embodiments described herein include certain features that are included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of this embodiment and form different embodiments.
[0159] It is understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A communication method, characterized in that, Applied to a communication gateway device, the method includes: Acquire the data stream to be processed sent by the end device and determine the service type corresponding to the data stream to be processed; Based on the service type corresponding to the data stream to be processed and the current network status of the application-aware network, target identification information is determined, and the target identification information is used to indicate the communication path traversed by the data stream to be processed. Generate a target data stream based on the target identification information and the data stream to be processed; Control the transmission of the target data stream in the application-aware network.
2. The method according to claim 1, characterized in that, The end-side device is a vehicle; the step of determining the target identification information based on the service type corresponding to the data stream to be processed and the current network status of the application-aware network includes: Based on the service type and the current network status of the application-aware network, determine the service processing priority corresponding to the data stream to be processed; The target identifier information is generated according to the identifier generation rule corresponding to the business processing priority.
3. The method according to claim 2, characterized in that, The business processing priority includes a first priority level, a second priority level, and a third priority level, which are in descending order of priority. The identifier generation rule corresponding to the first level is to generate the target identifier information based on the vehicle's license plate number and the timestamp information corresponding to the data stream to be processed; The identifier generation rule for the second level is to generate the target identifier information based on a randomly generated random number and the physical address corresponding to the data stream to be processed; The identifier generation rule corresponding to the third level is to generate the target identifier information based on the vehicle's VIN and the 5-tuple information corresponding to the data stream to be processed.
4. The method according to claim 3, characterized in that, Determining the service processing priority corresponding to the data stream to be processed based on the service type and the current network state of the application-aware network includes: If it is determined that the service type corresponding to the data stream to be processed is braking control service, and the transmission delay of the braking control command in the application perception network is greater than a preset delay threshold, the service processing priority level is determined to be the first level.
5. The method according to claim 3, characterized in that, Determining the service processing priority corresponding to the data stream to be processed based on the service type and the current network state of the application-aware network includes: If it is determined that the service type corresponding to the data stream to be processed is a fault emergency service, and there is a failed edge node in the application-aware network, the service processing priority level is determined to be the second level.
6. The method according to claim 3, characterized in that, Determining the service processing priority corresponding to the data stream to be processed based on the service type and the current network state of the application-aware network includes: If it is determined that the service type corresponding to the data stream to be processed is the vehicle system update service, and the link utilization rate of each link in the application perception network is greater than the first preset utilization rate threshold, the service processing priority level is determined to be the third level.
7. The method according to claim 1, characterized in that, The end-side device is a roadside unit; the service type corresponding to the data stream to be processed includes data sensing services; the current network status of the application sensing network includes the link utilization rate of the backbone links in the application sensing network. The step of determining the target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application-aware network includes: If the link utilization rate of the backbone link is greater than a second preset utilization threshold, network congestion is determined to have occurred. Based on the attribute information of the sensing module in the roadside unit and the identifier of the data stream to be processed, the alternative path identifier is determined; The target identification information is generated based on the alternative path identifier.
8. The method according to claim 1, characterized in that, The edge device is a cloud device; the service type corresponding to the data stream to be processed includes fault repair service; the current network status of the application-aware network includes the presence of failed edge nodes in the application-aware network; The step of determining the target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application-aware network includes: Identify the identifiers of multiple communication nodes whose communication delay with the failed edge node is greater than a preset delay threshold within a preset time period; Based on the scenario identification information corresponding to the fault repair service, the instruction priority level corresponding to the vehicle control instruction, and the identification of each of the communication nodes, the target identification information is generated. The target identification information is used to indicate the communication path through which the data stream to be processed sent to each of the communication nodes passes.
9. The method according to claim 1, characterized in that, The edge device is a cloud device; the service type corresponding to the data stream to be processed includes regional rate limiting adjustment service; the current network status of the application-aware network includes the global management and control status of the cloud device; The step of determining the target identification information based on the service type corresponding to the data stream to be processed and the current network state of the application-aware network includes: The target identification information is generated based on the region identifier corresponding to the cloud device and the software version information running on the cloud device.
10. A communication gateway device, characterized in that, include: One or more processors; A memory having stored one or more programs that, when executed by one or more processors, cause the one or more processors to implement the communication method as described in any one of claims 1-9; One or more I / O interfaces are connected between the processor and the memory and configured to enable information interaction between the processor and the memory.
Citation Information
Patent Citations
Communication network determination method, device and system
CN111818618A
APN6-based application perception method and system, electronic equipment and storage medium
CN118509324A
Service network message cross-domain transmission method and system based on SRv6 SID function extension
CN120200953A
Road side information storage method and system, electronic equipment and storage medium
CN120455971A
Scheduling method and system, electronic equipment, storage medium and product
CN120729956A