Communication method, device and system and readable storage medium
By carrying transmission control information in the message, devices on different sides of the bearer network perceive the transmission control strategy of each other, the problem of mutual non-perception of transmission control is solved, and the transmission efficiency is improved and resource waste is reduced.
Patent Information
- Application Number
- CN202310587676.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
AI Technical Summary
The transmission control between the middle end side of the carrier network and the network side and between the multi-tunnel layer is independent of each other and is not perceived, resulting in the lack of transmission control or waste of resources.
By carrying transmission control information in the message, devices on different sides sense the transmission control policy that the other party has executed, thereby determining the appropriate transmission control policy for the message, avoiding duplicate processing or missing.
It ensures transmission efficiency and quality, reduces resource waste, and avoids repeated transmission control processing with the same function by devices on different sides.
Smart Images

Figure CN119031048A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a communication method, device, system and readable storage medium. Background Art
[0002] When operators use the bearer network to provide network transmission services to users, they provide users with network transmission services of the bandwidth selected by the users. However, the transmission control between the end side and the network side, and between multiple tunnel layers in the bearer network is currently independent and unaware of each other. Therefore, the end side and the network side may perform repeated transmission control processing on the same message or not perform transmission control processing at all. Similarly, each tunnel layer may also perform repeated transmission control processing on the same message or not perform transmission control processing at all, resulting in transmission control loss or resource waste. Summary of the invention
[0003] The embodiments of the present application provide a communication method, device, system and readable storage medium, which can solve the problem of mutual unawareness of transmission control between different sides in the bearer network, thereby avoiding the loss of transmission control and reducing the waste of resources caused by repeated transmission control.
[0004] In a first aspect, a communication method is provided. The communication method includes: a first communication device receives a first message, the first message includes transmission control information, the transmission control information is used to indicate that a second communication device has executed a first transmission control strategy for at least one message, the first message is one of the at least one message, and then determines a second transmission control strategy for the first message according to the first transmission control strategy, and then forwards the first message.
[0005] The at least one message in this embodiment includes one or more messages in the target message flow. For example, the at least one message is all messages in the target message flow including multiple messages, or the at least one message is part of the messages in the target message flow including multiple messages.
[0006] During the transmission of the first message, the first message carries information (such as transmission control information) that the first transmission control strategy has been executed on the first message when passing through the second communication device. Therefore, after receiving the first message, the first communication device can learn from the transmission control information that the second communication device has executed the first transmission control strategy on the first message, and execute other transmission control strategies (such as the second transmission control strategy) on the first message. Furthermore, during the transmission of the first message, different communication devices can execute different transmission control strategies on the first message, avoiding the situation where the transmission control of different side devices (such as end-side devices and network-side devices, or devices corresponding to different tunnel layers) in the bearer network are not aware of each other, and the different side devices do not perform transmission control processing on the same message, or repeat the transmission control processing with the same function. In this way, it is ensured that a certain side device performs transmission control processing on the message, ensuring the transmission efficiency or quality, and reducing the waste of resources (such as communication resources, processing resources, and storage resources, etc.) of the communication device due to repeated transmission control processing with the same function by different side devices.
[0007] As a possible implementation, the transmission control information is carried by an application aware network (APN) header of the first message. In this way, based on the characteristics of the APN technology, the application information containing the transmission control information is carried in the extension header of the first message, so that after the message enters the network, the devices in the network (such as the first communication device and the second communication device) can perceive the transmission control strategy of the first message based on the transmission control information carried by the APN header.
[0008] As a possible implementation manner, the first transmission control strategy includes retransmission, redundancy error correction, multipath backup and / or out-of-order reordering.
[0009] As a possible implementation manner, the second transmission control strategy includes enabling / disabling dual-transmit selective reception and enabling / disabling reordering.
[0010] Optionally, the APN header includes a retransmission field, a redundant error correction field, a multipath backup field and / or a reordering field for carrying transmission control information. Among them, the retransmission field is used to indicate the maximum number of retransmissions of the first transmission control policy. The redundant error correction field is used to indicate the redundancy of the redundant error correction of the first transmission control policy. The multipath backup field is used to indicate whether the first message is transmitted via the main path or the alternative path. The reordering field is used to indicate the degree of reordering tolerance of the first transmission control policy.
[0011] In this embodiment, the first transmission control strategy and the second transmission control strategy do not include transmission control processing with the same function.
[0012] For example, when the retransmission field indicates that the maximum number of retransmissions is greater than a first preset value, or the redundant error correction field indicates that the redundancy is greater than a second preset value, or the multipath backup field indicates that the first message is transmitted via an alternative path, the second transmission control strategy includes disabling dual transmission and selective reception for the first message.
[0013] For another example, when the out-of-order reordering field indicates that the out-of-order tolerance is greater than a third preset value, the second transmission control strategy includes disabling out-of-order reordering when performing multi-path bandwidth aggregation or dual-transmission selective reception processing on the first message.
[0014] As a first possible implementation manner, the first communication device forwards the first message according to the second transmission control policy. Exemplarily, the first communication device forwards the first message using a tunnel that complies with the second transmission control policy.
[0015] As a second possible implementation, the first communication device indicates a subsequent transmission control strategy for the first message, and the downstream device executes the second transmission control strategy on the message and forwards it. Exemplarily, the first communication device adds the second transmission control strategy to the transmission control information, obtains the second message, and forwards the second message. The second transmission control strategy is used to instruct the third communication device to forward the second message using a tunnel that complies with the second transmission control strategy, and the third communication device is a downstream device of the second communication device.
[0016] In a possible implementation, the above-mentioned different side devices may belong to different network domains. For example, the first transmission control policy is used to indicate the transmission control policy of the first message in the first network domain, and the second transmission control policy is used to indicate the transmission control policy of the first message in the second network domain.
[0017] In some embodiments, the communication method is applied to an APN, and the first network domain and the second network domain are different APN domains.
[0018] In other embodiments, the communication method is applied to a network with multiple layers of tunnels, the second network domain is an intermediate domain composed of intermediate nodes between outer tunnels, and the first network domain is a network domain composed of communication devices corresponding to the outer tunnels.
[0019] As a possible implementation method, before parsing the transmission control information in the first message, the first communication device may also receive a management message to obtain the transmission control template carried by the management message, so that it can determine the first transmission control strategy executed by the second communication device for the first message indicated by the transmission control information based on the format of the transmission control information indicated by the transmission control template.
[0020] In some embodiments, the execution subject of the communication method may be a terminal device or a network device. Thus, when the terminal device receives a message from the network device, it can learn the transmission control strategy that the network device has implemented on the message according to the transmission control information, and when the network device receives a message from the terminal device, it can learn the transmission control strategy that the terminal device has implemented on the message according to the transmission control information.
[0021] In a second aspect, a communication method is provided. The communication method includes: a second communication device determines a first transmission control strategy to be executed on a message to be sent, encapsulates transmission control information in the message to be sent, obtains a first message, and forwards the first message according to the first transmission control strategy. The transmission control information is used to indicate that the second communication device has executed the first transmission control strategy for the message to be sent.
[0022] As a possible implementation manner, the message includes an APN header, the transmission control information is set in the APN header, and the second communication device encapsulates the transmission control information in the APN header of the message to be sent to obtain the first message.
[0023] As a possible implementation method, before adding transmission control information to the first message, the second communication device also needs to receive a management message, which contains a transmission control template. When encapsulating the transmission control information, the transmission control information is encapsulated in the APN header of the message to be sent according to the format of the transmission control information indicated by the transmission control template.
[0024] As a possible implementation manner, the first transmission control strategy includes retransmission, redundant error correction, multi-path backup and / or out-of-order reordering.
[0025] Optionally, the APN header includes a retransmission field, a redundant error correction field, a multipath backup field and / or a reordering field for carrying transmission control information. Among them, the retransmission field is used to indicate the maximum number of retransmissions of the first transmission control policy. The redundant error correction field is used to indicate the redundancy of the redundant error correction of the first transmission control policy. The multipath backup field is used to indicate whether the first message is transmitted via the main path or the alternative path. The reordering field is used to indicate the degree of reordering tolerance of the first transmission control policy.
[0026] In some embodiments, the execution subject of the communication method may be a terminal device or a network device. Thus, when the terminal device needs to forward a message to the network device, it can use the transmission control information to make the network device perceive the transmission control strategy that the terminal device has implemented on the message, and when the network device needs to forward a message to the terminal device, it can use the transmission control information to make the terminal device perceive the transmission control strategy that the network device has implemented on the message.
[0027] In a third aspect, a communication method is provided, wherein the communication method includes: a third communication device sends a management message to a first communication device and a second communication device.
[0028] Among them, the management message includes a transmission control template, which is used to indicate the format of the transmission control information, so that the first communication device parses the transmission control information from the first message according to the format of the transmission control information, or enables the second communication device to encapsulate the transmission control information according to the format of the transmission control information and the first transmission control strategy to be executed on the message to be sent.
[0029] As a possible implementation manner, the transmission control information includes a retransmission field, a redundant error correction field, a multi-path backup field and / or a reordering field.
[0030] In a fourth aspect, a communication device capable of executing the communication method described in the first aspect, the second aspect or the third aspect is provided, and the communication device includes: a transceiver module and a processing module.
[0031] For example, the communication device is used to execute the communication method described in the first aspect above. The transceiver module is used to receive a first message, the first message includes transmission control information, the transmission control information is used to indicate that the second communication device has executed a first transmission control strategy for at least one message, and the at least one message includes the first message. The processing module is used to determine a second transmission control strategy for the first message according to the first transmission control strategy. The transceiver module is also used to forward the first message.
[0032] The at least one message includes one or more messages in the target message flow.
[0033] As a possible implementation manner, the transmission control information is carried by an application-aware network APN header of the first message.
[0034] As a possible implementation manner, the first transmission control strategy includes retransmission, redundant error correction, multi-path backup and / or out-of-order reordering.
[0035] As a possible implementation manner, the second transmission control strategy includes enabling / disabling dual-transmit selective reception and enabling / disabling out-of-order reordering.
[0036] As a possible implementation, the APN header includes a retransmission field, a redundant error correction field, a multipath backup field, and / or a reordering field for carrying transmission control information. The retransmission field is used to indicate the maximum number of retransmissions of the first transmission control strategy, the redundant error correction field is used to indicate the redundancy of the redundant error correction of the first transmission control strategy, the multipath backup field is used to indicate whether the first message is transmitted via a primary path or an alternative path, and the reordering field is used to indicate the degree of reordering tolerance of the first transmission control strategy.
[0037] Optionally, when the retransmission field indicates that the maximum number of retransmissions is greater than a first preset value, or the redundant error correction field indicates that the redundancy is greater than a second preset value, or the multipath backup field indicates that the first message is transmitted via an alternative path, the second transmission control strategy includes disabling dual transmission and selective reception for the first message.
[0038] Optionally, when the out-of-order reordering field indicates that the out-of-order tolerance level is greater than a third preset value, the second transmission control strategy includes disabling out-of-order reordering when performing multi-path bandwidth aggregation or dual-transmission selective reception processing on the first message.
[0039] As a possible implementation manner, the transceiver module is specifically configured to: forward the first message using a tunnel that complies with the second transmission control policy.
[0040] As a possible implementation, the processing module is further used to: add the second transmission control policy to the transmission control information to obtain the second message. The transceiver module is specifically used to: forward the second message, the second transmission control policy is used to instruct the third communication device to forward the second message using a tunnel that complies with the second transmission control policy, and the third communication device is a downstream device of the second communication device.
[0041] As a possible implementation manner, the first transmission control policy is used to indicate a transmission control policy of the first message in the first network domain, and the second transmission control policy is used to indicate a transmission control policy of the first message in the second network domain.
[0042] As a possible implementation manner, the second network domain is an APN domain.
[0043] As a possible implementation manner, the second network domain is an intermediate domain composed of intermediate nodes between outer tunnels.
[0044] As a possible implementation manner, the transceiver module is further used to: receive a management message, the management message includes a transmission control template, and the transmission control template is used to indicate the format of the transmission control information.
[0045] In some possible implementations, the first communication device is a terminal device or a network device.
[0046] For example, the communication device is used to execute the communication method described in the second aspect. The processing module is used to determine the first transmission control strategy to be executed on the message to be sent, and to encapsulate the transmission control information in the message to be sent to obtain the first message, and the transmission control information is used to indicate that the second communication device has executed the first transmission control strategy for the message to be sent. The transceiver module is used to forward the first message according to the first transmission control strategy.
[0047] As a possible implementation manner, the processing module is specifically used to: encapsulate the transmission control information into an APN header of a message to be sent to obtain a first message.
[0048] As a possible implementation manner, the transceiver module is further used to: receive a management message, the management message includes a transmission control template, and the transmission control template is used to indicate the format of the transmission control information.
[0049] Optionally, the processing module is specifically used to: encapsulate the transmission control information into a message to be sent according to a transmission control template to obtain a first message.
[0050] As a possible implementation manner, the first transmission control strategy includes retransmission, redundant error correction, multi-path backup and / or out-of-order reordering.
[0051] As a possible implementation manner, the transmission control information includes a retransmission field, a redundant error correction field, a multi-path backup field and / or a reordering field.
[0052] Optionally, when the transmission control information is carried by the APN header, the ANP header may include a retransmission field, a redundant error correction field, a multipath backup field and / or a reordering field. The retransmission field is used to indicate the maximum number of retransmissions of the first transmission control strategy, the redundant error correction field is used to indicate the redundancy of the redundant error correction of the first transmission control strategy, the multipath backup field is used to indicate whether the data message is transmitted via the main path or the alternative path, and the reordering field is used to indicate the degree of reordering tolerance of the first transmission control strategy.
[0053] In some possible implementations, the second communication device is a terminal device or a network device.
[0054] For another example, the communication device is used to execute the communication method described in the third aspect. The transceiver module is used to send a management message to the first communication device and the second communication device, the management message includes a transmission control template, and the transmission control template is used to indicate the format of the transmission control information, so that the first communication device parses the transmission control information from the first message according to the format of the transmission control information, or the second communication device encapsulates the transmission control information according to the format of the transmission control information according to the first transmission control strategy executed on the message to be sent.
[0055] As a possible implementation manner, the transmission control information includes a retransmission field, a redundant error correction field, a multi-path backup field and / or a reordering field.
[0056] Optionally, the communication device described in the fourth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the communication device may execute the communication method described in the first aspect, the second aspect, or the third aspect.
[0057] It should be noted that the communication device described in the fourth aspect can be a communication device, such as a terminal device or a network device, or it can be a chip (system) or other parts or components that can be set in a terminal device or a network device, or it can be a device that includes a terminal device or a network device, and this application does not limit this.
[0058] In a fifth aspect, a communication device is provided, comprising a memory and a processor, wherein the memory is used to store a set of computer instructions, and when the processor executes the set of computer instructions, it is used to execute the operating steps of the communication method in any possible design of the first aspect to the third aspect.
[0059] In a sixth aspect, a communication system is provided, wherein the communication system includes one or more terminal devices and one or more network devices.
[0060] In addition, the technical effects of the communication device described in the fourth aspect, the technical effects of the communication equipment described in the fifth aspect, and the technical effects of the communication system described in the sixth aspect can refer to the technical effects of the communication method described in the first aspect, the second aspect and / or the third aspect, and will not be repeated here.
[0061] In a seventh aspect, a readable storage medium is provided. The readable storage medium includes: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer executes the communication method described in any possible implementation of the first to third aspects.
[0062] In an eighth aspect, a computer program product is provided, which includes a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer executes the communication method described in any possible implementation of the first to third aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A schematic diagram of a format of application information;
[0064] Figure 2 A schematic diagram of a format for carrying application information in a hop-by-hop option extension header;
[0065] Figure 3 A schematic diagram of the architecture of a communication system provided for this application;
[0066] Figure 4 A schematic diagram of the architecture of another communication system provided for this application;
[0067] Figure 5 A schematic diagram of the architecture of another communication system provided by the present application;
[0068] Figure 6Schematic diagram of the communication method provided in this application Figure 1 ;
[0069] Figure 7 A schematic diagram of the format of an APN header encapsulating transmission control information provided by this application;
[0070] Figure 8 Schematic diagram of the communication method provided in this application Figure 2 ;
[0071] Fig. 9 Schematic diagram of the communication method provided in this application Figure 3 ;
[0072] Fig.10 Schematic diagram of the communication method provided in this application Figure 4 ;
[0073] Fig.11 Schematic diagram of the communication method provided in this application Figure 5 ;
[0074] Fig.12 A schematic diagram of the structure of a communication device provided by the present application;
[0075] Fig.13 A schematic diagram of the structure of a communication device provided in this application. DETAILED DESCRIPTION
[0076] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0077] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as wireless fidelity (WiFi) systems, vehicle to everything (V2X) communication systems, device-to-device (D2D) communication systems, Internet of Vehicles communication systems, 4th generation (4G) mobile communication systems, such as long term evolution (LTE) systems, worldwide interoperability for microwave access (WiMAX) communication systems, fifth generation (5G) mobile communication systems, such as new radio (NR) systems, and future communication systems, such as sixth generation (6G) mobile communication systems.
[0078] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.
[0079] In addition, in the embodiments of the present application, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0080] In the embodiments of the present application, "information", "signal", "message", "channel" and "signaling" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. At the same time, "end side", "end side device" and "client" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. "Network side", "network side", "network side device" and "application server" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent.
[0081] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0082] In order to make the description of the embodiments in the following text clear and concise, an introduction to related technologies is given below.
[0083] (1) Application-aware Network
[0084] Internet Protocol Version 6 (IPv6) is proposed to solve some problems and shortcomings of Internet Protocol Version 4 (IPv4), such as insufficient address space, lack of quality assurance of data transmission, low data security, etc. It also proposes improvements in many aspects, such as routing and automatic configuration. Segment routing based on IPv6 (SRv6) is a new generation of Internet Protocol (IP) bearer protocol. SRv6 technology is to apply SR technology to IPv6 network, that is, to use the existing IPv6 forwarding technology, and to implement label forwarding (such as packet forwarding based on multi-protocol label switching (MPLS)) for packets by extending the header of IPv6 packets.
[0085] Based on IPv6 and SRv6, application-aware IPv6 networking (APN6) uses the programmable space of IPv6 packets to carry application information (APNattribute) into the network, thereby providing service providers with sophisticated network services and precise network operation and maintenance. When the network transmits data packets, it matches the corresponding network strategy according to the application information in the data packets, and selects the corresponding SRv6 path to transmit the data packets (such as a low-latency path) to meet the needs and improve the service level agreement (SLA) service quality.
[0086] The application information in the APN6 network includes application identification information (APN identify, APN ID) and application requirement information (APN parameters).
[0087] The application identification information is intended to provide a message option that facilitates the network to distinguish different applications, different users of applications, and other information.
[0088] The application identification information includes but is not limited to one or more of SLA level, application identification, user identification, and flow identification. Its possible format can be as follows: Figure 1 shown.
[0089] The application identifier may be an application ID, which is used to identify the application that sends the data packet. The user identifier may be a user ID, which is used to identify the user that sends the data packet, that is, the user identifier that sends the data packet using the application. The SLA level is used to identify the service level of the user to which the data packet belongs under the application. The flow identifier may be a session identifier, which is used to indicate the specific session to which the data packet belongs, that is, the session that generates the data packet under the application.
[0090] Application demand information provides the network with information that helps it perceive application demand (such as bandwidth, delay, jitter, packet loss rate, etc.).
[0091] The application requirement information includes, but is not limited to, one or more of bandwidth parameters, delay parameters, jitter parameters, and loss rate parameters.
[0092] The bandwidth parameter is used to indicate the network bandwidth requested by the application. The delay parameter is used to indicate the maximum network delay that the application can accept. The jitter parameter is used to indicate the maximum jitter that the application can accept. The loss rate parameter is used to indicate the maximum packet loss rate that the application can accept.
[0093] Optionally, the application requirement information may further include a reserved field. The reserved field may be used to carry other information determined according to user requirements.
[0094] Messages in the APN6 network can carry application information in the IPv6 hop-by-hop option (DoH), destination option (HBH), routing (RH) or other IPv6 extension headers and their type-length-value (TLV) extensible sub-options of the IPv6 message.
[0095] For example, Figure 2 As shown, when the application information is carried in the hop-by-hop option extension header, the hop-by-hop option extension header includes the next header protocol type, option header length and options, and the options include option type (option type), option length (opt data len) and option data.
[0096] The option type is used to identify the type of the option. Different types of options have different data formats for the option data. The option length is used to identify the length of the option data in the option.
[0097] (2) IP bearer network
[0098] The IP bearer network is a private network built by operators using IP technology to carry services that require high transmission quality (such as soft switching, video, key customer VPN, etc.). The IP bearer network generally adopts a high-reliability design of dual-plane, dual-star dual-home, carefully designs traffic switching models for various situations, and uses technologies such as multi-protocol label switching traffic engineering (MPLS TE), fast rerouting (FRR), and bidirectional forwarding detection (BFD) to quickly detect network breakpoints and shorten the switching time of faulty equipment / links.
[0099] (3) Transmission control
[0100] Transmission control refers to the general term for transmission control mechanisms in computer communications. Transmission control mechanisms may include but are not limited to reliability assurance mechanisms, orderliness assurance mechanisms, transmission performance optimization mechanisms, etc.
[0101] Reliability assurance mechanisms may include but are not limited to retransmission, redundant error correction, and multi-path backup.
[0102] Retransmission refers to the transmission of a data packet from the sender to the receiver. When the data packet is delayed for a long time or lost, the sender retransmits the data packet to the receiver. Optionally, according to the triggering condition of retransmission, retransmission can be divided into timeout retransmission, fast retransmission, selective acknowledgment retransmission and congestion-triggered retransmission, etc., which will not be described in detail here.
[0103] Redundant error correction includes forward error correction (FEC). FEC means that the sender uses redundant coding (such as Reed Solomon code (RS)) algorithm to calculate multiple original data packets, add redundant packets, and send them in coding blocks. The receiver recovers the lost data packets based on the received original data packets and redundant packets, thereby restoring the original data and reducing the bit error rate (BER).
[0104] Multipath backup means that the sender uses multiple paths to transmit the same data packet at the same time, allowing the receiver to selectively receive or selectively receive the data packet, that is, select the data packet received first for processing and discard the redundant data received later, avoiding network bottlenecks and improving network transmission efficiency.
[0105] The order-guarantee mechanism may include, but is not limited to, out-of-order reordering.
[0106] Reordering means that the sender will mark the sequence number of the data packet when sending the data packet, and the receiver will reorder the multiple data packets according to the sequence number when receiving multiple data packets. The limit of reordering is related to the packet loss detection algorithm. Generally, in the transmission control protocol (TCP) and quick user datagram protocol (UDP) network connections (quick UDP internet connections, QUIC), more than 3 out-of-order data packets will be regarded as packet loss.
[0107] Transmission performance optimization mechanisms may include but are not limited to multi-path bandwidth aggregation, congestion control algorithms, etc.
[0108] Multipath bandwidth aggregation means that the sender transmits data packets through multiple network channels, and then the receiver receives multiple data packets from the multiple network channels and re-aggregates them to ensure the stability, low latency and low packet loss rate of data transmission.
[0109] Congestion control algorithms include but are not limited to congestion avoidance algorithms, fast retransmission algorithms, fast recovery algorithms, etc., which will not be described in detail here.
[0110] In some possible communication scenarios, the sender may be an ingress router and the receiver may be an egress router.
[0111] When existing communication devices communicate through an IP bearer network, there may be transmission control mechanisms on both the end side and the network side to execute transmission control policies for the transmission of data packets, but the transmission control on the end side and the transmission control on the network side are decoupled from each other and are not aware of each other. At the same time, the transmission control of the inner and outer tunnels of the multi-domain and multi-layer tunnels of the IP bearer network is also not aware of each other. Therefore, there is a lack of coordination between the transmission control on the end side and the network side, or between devices in different domains, resulting in the end side and the network side, or devices in different domains, repeatedly executing the same transmission control policies for data transmission, resulting in a waste of resources.
[0112] The present application provides a communication method, specifically, a communication method of "exposing the transmission control capability of the sender to the receiver through the transmission control information carried by the message, so that the receiver selects the transmission control capability that needs to be enabled according to the transmission control capability of the sender". For example, after the second communication device executes the first transmission control strategy for the message to be sent, the transmission control information indicating that the second communication device has executed the first transmission control strategy for the message to be sent is encapsulated in the message to be sent, and the first message is obtained and forwarded. And, the first communication device receives the first message, determines the second transmission control strategy for the first message according to the first transmission control strategy indicated by the transmission control information, and forwards the first message.
[0113] Based on the above communication method, during the transmission of the first message, the first message carries information (such as transmission control information) that the first transmission control strategy has been executed on the first message when passing through the second communication device. Therefore, after receiving the first message, the first communication device can learn from the transmission control information that the second communication device has executed the first transmission control strategy on the first message, and execute other transmission control strategies (such as the second transmission control strategy) on the first message. Furthermore, during the transmission of the first message, different communication devices can sense each other's transmission control strategies for the first message, and execute different transmission control strategies for the first message, thereby avoiding the situation where the transmission control of different side devices (such as end-side devices and network-side devices, or devices corresponding to different tunnel layers) in the bearer network are not aware of each other, and the different side devices do not perform transmission control processing on the same message or repeat the transmission control processing with the same function. In this way, it is ensured that a certain side device performs transmission control processing on the message, ensuring the transmission efficiency or quality, and reducing the waste of resources (such as communication resources, processing resources and storage resources, etc.) of the communication device due to repeated transmission control processing with the same function by different side devices.
[0114] To facilitate understanding of the embodiments of the present application, Figure 3 The communication system 300 shown is used as an example to describe in detail the communication system applicable to the present application. Figure 3 A schematic diagram of the architecture of a communication system applicable to the communication method provided in this application.
[0115] The communication system 300 includes a communication device 310, a communication device 320, a communication device 340 and a communication device 350. The communication device 320 is connected to the communication device 350 via an APN network domain. The communication device 310 and the communication device 340 form an APN network domain.
[0116] Optionally, one or more network service paths composed of one or more communication devices may be included between the communication device 310 and the communication device 340 .
[0117] Optionally, the communication system 300 may further include a communication device 330. The third communication device 340 is connected to the communication device 310, the communication device 320, the communication device 340 and the communication device 350 respectively.
[0118] Figure 3 Taking the communication device 310 as a network device and the communication device 320 as a terminal device as an example, the communication device 350 may be a network-side device (such as an application server).
[0119] The communication device 310 may also be referred to as a first communication device, the communication device 320 may also be referred to as a second communication device, the communication device 330 may also be referred to as a third network device, the communication device 340 may also be referred to as a fourth network device, and the communication device 350 may also be referred to as a fifth network device. In this embodiment, the above two names may be regarded as equivalent.
[0120] The above-mentioned network device is a device located at the network side of the above-mentioned communication system and having a wireless transceiver function or a chip or chip system that can be set in the device. The network device includes, but is not limited to: an access point (AP) in a wireless fidelity (WiFi) system, such as a home gateway, a router, a server, a switch, a bridge, etc., an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (e.g., home evolved NodeB, or home Node B, HNB), a baseband unit (BBU), a wireless relay node, a wireless backhaul node, a transmission point (TRP or TP), etc., and can also be 5G, such as a gNB in a new radio (NR) system, or a transmission point (TRP or TP), one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU), or a distributed unit (DBU). unit, DU), RSU with base station function, etc.
[0121] The terminal device is a terminal that accesses the communication system 300 and has a wireless transceiver function or a chip or chip system that can be set in the terminal, so the terminal device can be a terminal device. The terminal device can also be called a user device, an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device. The terminal device in the embodiment of the present application can be a mobile phone, a tablet computer, a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical care, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a vehicle-mounted terminal, a roadside unit (RSU) with a terminal function, etc. The terminal device of the present application can also be a vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit that is built into the vehicle as one or more components or units. The vehicle can implement the communication method provided by the present application through the built-in vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit.
[0122] The communication device 330 is a controller for performing traffic control in the communication system 300. For example, the communication device 330 is a software defined networking (SDN) controller.
[0123] An APN network domain is an APN6 network domain composed of multiple network devices.
[0124] Exemplarily, the communication device 310 is a head node in the APN network domain, and the communication device 340 is a tail node in the APN network domain.
[0125] Optionally, the communication device 310 and the communication device 340 are connected via one or more network service paths, and one or more intermediate nodes ( Figure 3 not shown).
[0126] The nodes such as the head node, the intermediate node and the tail node are network devices such as routers and gateways having network addresses (such as IP addresses, segment identifiers (Segment Identifier, SID) etc.).
[0127] The following uses this implementation as an example to illustrate the functions of each device in the communication system 300.
[0128] The communication device 330 is used to uniformly plan and maintain application information and its mapping relationship with applications (groups) and transmission control policies, and send it to the transmission control execution device. The transmission control execution device includes communication devices 310, 320, 340 and 350.
[0129] For example, the communication device 330 is used to send a management message to the communication device 310 and the communication device 320. The management message includes a transmission control template, which is used to indicate the format of the transmission control information and the mapping relationship between the transmission control information and the network service path. The network service path may refer to a tunnel, and different tunnels have different transmission control mechanisms.
[0130] The communication device 320 is used to execute the first transmission control strategy for the message to be sent, encapsulate the transmission control information in the message to be sent, obtain the first message, and forward the first message. The transmission control information is used to indicate that the communication device 320 has executed the first transmission control strategy for the message to be sent, and it can also be regarded as that the communication device 320 has executed the first transmission control strategy for the first message.
[0131] The communication device 310 is used as a head node to maintain the matching relationship between the inbound traffic and the network service path. The communication device 310 is used to receive the first message, and determine the second transmission control strategy for the first message according to the first transmission control strategy executed by the second communication device 330 for the first message indicated by the transmission control information carried by the first message, and then forward the first message. The second transmission control strategy does not include the same transmission control processing as the first transmission control strategy.
[0132] The intermediate node is used to provide network forwarding services for applications based on the network service path matched by the head node.
[0133] The communication device 340 is the end point of the network service path and is used to forward the first message to the communication device 350 .
[0134] The communication device 350 is used to process the first message, for example, respond to the first message or forward it to the next step.
[0135] Optionally, Figure 3Taking the case where the message transmission direction is from the terminal device to the network side device as an example, in another possible embodiment, the message transmission direction may also be from the network side device to the terminal device. Figure 4 As shown, the order of the communication device 310 and the communication device 320 may be reversed.
[0136] As a second possible implementation, Figure 4 What is not shown is that the APN network domain may include, in addition to the head node, the intermediate node and the tail node, an end-side edge device 360 and a network-side edge device 370. The end-side edge device 360 is connected between the communication device 320 and the communication device 310, and the network-side edge device 370 is connected between the communication device 340 and the communication device 350.
[0137] The end-side edge device 360 and the network-side edge device 370 are network devices such as routers and gateways that can sense transmission control information.
[0138] In this embodiment, if the terminal device and the network side device do not have the ability to perceive transmission control information, the message sent by the communication device 320 and the communication device 350 does not contain transmission control information, and the transmission control information is encapsulated by the terminal side edge device 360 and the network side edge device 370.
[0139] For example, the communication device 320 sends a message to be sent to the end-side edge device 360 , and the end-side edge device 360 is used to encapsulate the transmission control information in the message to be sent instead of the communication device 320 , obtain the first message, and forward the first message.
[0140] Optionally, the message to be tested sent by the communication device 320 includes a transmission control identifier, which is used to indicate that the communication device 320 has executed a first transmission control strategy for the message to be sent. The end-side edge device 360 determines the first transmission control strategy that the communication device 320 has executed for the message to be sent based on the transmission control identifier, and then encapsulates the transmission control information used to indicate the first transmission control strategy in the message to obtain a first message.
[0141] The correspondence between the transmission control identifier and the transmission control policy may be issued by the communication device 330 .
[0142] In addition to the above-mentioned end-side edge device 360 encapsulating the transmission control information, the functions of each device included in the communication system 300 in this implementation are similar to Figure 3 The corresponding devices are the same as those in the figure, and will not be repeated here.
[0143] It should be pointed out that the solutions in the embodiments of the present application can also be applied to other communication systems, and the corresponding names can also be replaced by the names of corresponding functions in other communication systems.
[0144] For example, the solution in the embodiment of the present application can also be applied to Figure 5 In the communication system 500 shown, the communication system 500 includes a controller 510 , an access router 520 , an edge router 530 , an edge router 540 , and an access router 550 .
[0145] In the above example, the controller 510 and Figure 3 The functions of the communication device 330 are the same as those of the access routers 520 and 550. Figure 3 The functions of the communication devices 320 and 350 are the same, and the edge routers 530 and 540 are respectively Figure 3 The functions of the communication device 310 and the communication device 340 in the communication system 500 are the same. The difference between the communication system 500 and the communication system 300 is that the access router 520 and the access router 550 in the communication system 500 are the starting point and the end point of the inner tunnel respectively, and when the message passes through the intermediate domain, the edge router 530 and the edge router 540 will encapsulate the outer tunnel for the message.
[0146] It should be understood that Figure 3-Figure 5 This is a simplified schematic diagram for ease of understanding only. The communication system may also include other network devices and / or other terminal devices. Figure 3-Figure 5 Not drawn in.
[0147] The following will be combined Figure 6-Figure 9 The communication method provided in the embodiment of the present application is described in detail.
[0148] Before the communication devices 310 and 320 transmit messages, the third communication device 340 may send a management message to each device in the communication system 300 except the third communication device 340, so that each device knows the format of the transmission control information.
[0149] For example, Figure 6 Schematic diagram of the communication method provided in the embodiment of the present application Figure 1 This communication method can be applied to Figure 4 The illustrated communication is between the third communication device 340 and each device in the communication system 300 except the third communication device 340 .
[0150] like Figure 6 As shown, the communication method includes the following steps.
[0151] Step 601: The communication device 330 sends a management message.
[0152] In a feasible example, the communication device 330 sends a management message to the communication device 310 , the second communication device 330 , the communication device 340 , and the communication device 350 .
[0153] The management message includes a transmission control template, which is used to define the format of the transmission control information so that the communication device 310 and the communication device 320 can parse or encapsulate the transmission control information according to the format of the transmission control information.
[0154] The present application does not limit the specific form of the transmission control template carried by the management message. For example, the transmission control template may be issued in the form of an instruction or command of the controller.
[0155] Optionally, the transmission control template sets fields included in the transmission control information, such as a retransmission field, a redundant error correction field, a multipath backup field and / or a reordering field.
[0156] The retransmission field is used to indicate whether the relevant device has the retransmission capability, and if the relevant device has the retransmission capability, the maximum number of retransmissions.
[0157] The redundant error correction field is used to indicate whether the relevant device has redundant error correction capability, and if the relevant device has redundant error correction capability, its redundant error correction parameter. The redundant error correction parameter indicates the redundancy. For example, when the redundant error correction is forward error correction using RS code, the redundant error correction parameter indicates that m original data packets generate n data packets in the RS code algorithm, and m and n are positive integers.
[0158] The multipath backup field is used to indicate whether the relevant device has multipath backup capability, and if the relevant device has multipath backup capability, the path identifier of the relevant data packet, the path identifier is used to indicate whether the network service path of the message is the primary path or the backup path. For example, the primary path is represented by 1 and the backup path is represented by 0, or the primary path is represented by 0 and the backup path is represented by 1.
[0159] In some possible embodiments, the number of backup paths may be greater than 1, and different backup paths need to be represented by different characters, such as 2, 3, 4, etc., which will not be described in detail here.
[0160] The out-of-order reordering field is used to indicate whether the relevant device has the out-of-order reordering capability, and if the relevant device has the out-of-order reordering capability, its reordering parameter, which is used to indicate the degree of out-of-order reordering that can be tolerated. For example, the reordering parameter is the difference between the sequence number of the out-of-order data packet and the sequence number of the largest received data packet. When the value is 0, it means that the relevant device does not have the out-of-order reordering capability.
[0161] The above-mentioned related equipment refers to equipment that processes messages. For example, the message sent by communication device 320 to communication device 310 carries transmission control information that conforms to the transmission control template, and the transmission control information is used to indicate the transmission control strategy that communication device 320 has executed for the message.
[0162] Step 602: The communication device 320 determines to execute a first transmission control strategy for the message to be sent.
[0163] In a feasible example, the communication device 320 determines the first transmission control strategy to be executed on the message to be sent according to its own enabled (activated) transmission control mechanism.
[0164] As a possible implementation manner, the communication device 320 determines that the transmission control mechanism of the tunnel corresponding to the to-be-sent message is an enabled (activated) transmission control mechanism of the communication device 320.
[0165] As a possible implementation manner, the first transmission control strategy includes one or more of retransmission, redundant error correction, multi-path backup, and out-of-order reordering.
[0166] Optionally, the first transmission control strategy may include parameters corresponding to each transmission control mechanism in addition to whether retransmission, redundant error correction, multipath backup and / or out-of-order reordering are enabled, that is, the communication device 320 sets corresponding values according to the transmission control capabilities enabled by the transmission protocol stack used by itself, such as the maximum number of retransmissions, redundant error correction parameters, path identifiers, reordering parameters, etc.
[0167] Optionally, the message to be sent may be one message in at least one message. The at least one message includes one or more messages in the target message flow. For example, the at least one message is all messages in the target message flow including multiple messages, or the at least one message is part of the message in the target message flow including multiple messages.
[0168] Step 603: The communication device 320 encapsulates the transmission control information into the message to be sent to obtain a first message.
[0169] In a feasible example, the communication device 320 encapsulates the transmission control information corresponding to the first transmission control strategy into the message to be sent to obtain the first message. The transmission control information is used to indicate the first transmission control strategy that the communication device 320 has executed for the message to be sent.
[0170] Optionally, the communication device 320 encapsulates the transmission control information corresponding to the first transmission control policy into the message to be sent according to the format indicated by the transmission control template in the management message.
[0171] For example, the transmission control information is carried as a parameter in the APN header. The APN header can be encapsulated in the DoH, HBH or RH field in the IPv6 extension header. Figure 7 A specific format of an APN header encapsulating transmission control information is shown.
[0172] Among them, the APN identification type (APN ID Type) is used to indicate the type of the APN identification (APN ID). The undefined field (Flags) is a currently undefined field. The APN corresponding type (APN Para Type) is used to indicate the type of APN Para, that is, which transmission control requirement parameters are included in the APN-Para. The APN identifier is used to indicate the APN identification information encoding. Requirements (options), also known as Intent (Optional), are used to describe a set of intent requirements proposed to the network. The APN corresponding parameters, also known as APN-Para (Optional), are used to indicate the specific content information of the relevant parameters of the transmission control policy.
[0173] Step 604: The communication device 320 forwards the first message.
[0174] Step 605: After receiving the first message, the communication device 310 determines a second transmission control strategy for the first message according to the first transmission control strategy.
[0175] In a feasible example, after receiving the first message, the communication device 310 parses the transmission control information from the first message according to the format of the transmission control information indicated by the transmission control template, determines the first transmission control strategy indicated by the transmission control information, and determines the second transmission control strategy for the first message based on the first transmission control strategy.
[0176] Optionally, the communication device 310 determines a second transmission control policy for the first message according to the policy corresponding rule and the first transmission control policy.
[0177] Optionally, the above policy control rules may be issued by the communication device 330. This application does not restrict the policy corresponding rules, so that the policy corresponding rules of the second transmission control policy that does not include the same transmission control mechanism as the first transmission control policy are applicable to this application.
[0178] The following takes the case where the first message carries transmission control information in an APN header, and the transmission control information includes a retransmission field, a redundant error correction field, a multipath backup field and / or a disorderly reordering field as an example to exemplarily illustrate the transmission control strategy.
[0179] When the retransmission field in the transmission control information of the first message indicates that the maximum number of retransmissions is greater than a first preset value, the redundant error correction field indicates that the redundancy is greater than a second preset value, or the multipath backup field indicates that the first message is transmitted via an alternative path, the second transmission control strategy includes disabling dual transmission and selective reception for the first message.
[0180] When the out-of-order reordering field in the transmission control information of the first message indicates that the out-of-order tolerance is greater than a third preset value, the second transmission control strategy includes disabling out-of-order reordering when performing multipath bandwidth aggregation or dual-transmission selective reception processing on the first message.
[0181] Optionally, the first preset value, the second preset value and the third preset value can be flexibly adjusted according to the transmission quality requirements of different data. For example, the first preset value, the second preset value and the third preset value are all set to 0, or are respectively set to different positive numbers.
[0182] Step 606: The communication device 310 forwards the first message.
[0183] In a feasible example, the communication device 310 forwards the first message using a tunnel that complies with the second transmission control policy.
[0184] As a possible implementation manner, the tunnel that complies with the second transmission control policy refers to a tunnel that enables / disables one or more transmission control mechanisms when forwarding the first message.
[0185] As another possible implementation manner, the tunnel that complies with the second transmission control policy refers to a tunnel that sends the first message to a downstream network device that enables / disables one or more transmission control mechanisms.
[0186] Step 607: The communication device 340 forwards the first message.
[0187] In a feasible example, the communication device 340 receives the first message through a tunnel that complies with the second transmission control policy, and forwards the first message to the communication device 350 .
[0188] Optionally, the communication device 340 may perform steps similar to step 320, so that the communication device 350 can also perceive the transmission control strategy executed by the communication device 340 on the first message.
[0189] For example, the communication device 340 modifies the transmission control information in the APN header in the first message to indicate the second transmission control policy executed by the communication device 310 and the communication device 340 for the first message, and then forwards the first message. After receiving the first message, the communication device 350 determines the second transmission control policy executed by the communication device 340 for the first message according to the transmission control information, and then determines the third transmission control policy to be executed for the first message according to the second transmission control policy. The second transmission control policy and the third transmission control policy do not include transmission control processing with the same function.
[0190] In some possible embodiments, after receiving the first message, the communication device 350 processes the first message. For example, the communication device 350 sends a response message to the communication device 320 for the first message. This application does not limit the manner in which the communication device 350 processes the first message, and will not be described in detail here.
[0191] Combination of the above Figure 6 The communication method is described by taking the example of communication device 320 sending a message to communication device 350 through communication device 310 and communication device 340. In this process, communication device 320 is a terminal device and communication device 310 is a network device. In another example, the above communication method provided by the present application can also be used in the scenario where communication device 350 sends a message to communication device 320 through communication device 310 and communication device 340. The process of communication device 350 sending a message to communication device 320 includes steps 801 to 807.
[0192] Compared with the above steps 601 to 607, the difference between steps 801 to 807 is that the communication device 310 is a terminal device, the communication device 320 is a network device, and the transmission direction of the message is from the communication device 350 to the communication device 320. Figure 8 The communication method shown is shown in FIG. Figure 2 Step 801 to step 807 are explained.
[0193] Step 801: The communication device 330 sends a management message.
[0194] In a feasible example, the communication device 330 sends a management message to the communication device 310 , the second communication device 330 , the communication device 340 , and the communication device 350 .
[0195] For detailed description of management messages, please refer to Figure 6 The related description in step 601 will not be repeated here.
[0196] Step 802 : The communication device 350 generates a message to be sent, and sends the message to be sent to the communication device 340 .
[0197] In a feasible example, the message to be sent may be a data message, a request message, a response message, etc. For example, the message to be sent is a response message returned by the communication device 350 to the communication device 310 after the communication device 350 receives the request message sent by the communication device 310.
[0198] Optionally, the communication device 350 may perform steps similar to step 320, so that the communication device 340 can also perceive the transmission control strategy executed by the communication device 350 on the first message.
[0199] For example, the communication device 350 adds the transmission control information indicating the transmission control policy executed by the communication device 350 for the message to be sent to the APN header of the message to be sent, and then forwards the message to be sent.
[0200] Step 803: The communication device 340 forwards the message to be sent.
[0201] Continuing with the example of the first message carrying transmission control information, after receiving the message to be sent, the communication device 340 determines the transmission control strategy executed by the communication device 350 for the message to be sent according to the transmission control information, and then determines the transmission control strategy that the communication device 350 needs to execute for the message to be sent according to the transmission control strategy. Among them, the transmission control strategies of the communication device 350 and the communication device 340 for the message to be sent do not include the same transmission control processing.
[0202] In a feasible example, the communication device 340 forwards the to-be-sent message to the communication device 320 using a network service path, namely, a tunnel, that complies with the transmission control policy determined by the communication device 340 to be executed for the to-be-sent message.
[0203] Step 804: The communication device 320 receives the message to be sent, and determines to execute the first transmission control strategy for the message to be sent.
[0204] In a feasible example, the communication device 320 determines the first transmission control strategy to be executed on the message to be sent according to its own enabled (activated) transmission control mechanism.
[0205] Optionally, the enabling of the transmission control mechanism of the communication device 320 itself is determined by the transmission control policy determined by the communication device 340. For example, the communication device 320 determines that the first transmission control policy is the same policy as the transmission control policy that the tunnel receiving the message to be sent complies with, based on the transmission control policy that the tunnel receiving the message to be sent complies with.
[0206] For a detailed description of the first transmission control strategy, please refer to Figure 6 The related description in step 602 will not be repeated here.
[0207] Step 805: The communication device 320 encapsulates the transmission control information into the message to be sent to obtain a first message.
[0208] In a feasible example, the communication device 320 encapsulates the transmission control information corresponding to the first transmission control strategy into the message to be sent to obtain the first message. The transmission control information is used to indicate the first transmission control strategy that the communication device 320 has executed for the message to be sent.
[0209] For the encapsulation method of transmission control information, please refer to Figure 6 The related description in step 603 will not be repeated here.
[0210] Step 806: The communication device 320 forwards the first message according to the first transmission control strategy.
[0211] In a feasible example, the communication device 320 forwards the first message using a tunnel that complies with the first transmission control policy.
[0212] Step 807: After receiving the first message, the communication device 310 determines a second transmission control strategy for the first message according to the first transmission control strategy.
[0213] In a feasible example, the communication device 310 determines the second transmission control strategy for the first message according to the first transmission control strategy indicated by the transmission control information. For specific steps, please refer to Figure 6 The related description in step 605 will not be repeated here.
[0214] In some possible embodiments, after receiving the first message, the communication device 310 processes the first message. For example, the communication device 310 continues to forward the first message to the downstream device, and the communication device 310 forwards the first message through the tunnel that complies with the second transmission control policy.
[0215] Optionally, the first message received by the communication device 310 may include two sets of transmission control information, namely, the transmission control information encapsulated into the message by the communication device 350 and the transmission control information encapsulated into the message by the communication device 320.
[0216] It should be noted that the above Figure 6 Steps 601 to 607 and the above Figure 8 In steps 801 to 807, when the to-be-sent message is forwarded between devices before carrying the transmission control information, the destination address, source address and other contents in the header will change. However, since the payload of the message has not changed, it is referred to as a to-be-sent message in this embodiment. Similarly, when the first message carrying the transmission control information is forwarded between devices, since the payload of the message has not changed, it is referred to as a first message in this embodiment. In another embodiment, after the destination address, source address and other contents in the header of the message are changed after each device forwards the message, the changed message can be regarded as another message and the message name can be changed. This application does not limit such situations.
[0217] Based on the above Figure 6 or Figure 8In the communication method shown, when a message enters the end side from the network side, or enters the network side from the end side, it carries the transmission control information of the transmission control strategy that the relevant device has executed for the message, so that the network side or the end side receiving the message can know the first transmission control strategy that the relevant device has executed for the message. Therefore, the network side or the end side receiving the message can determine the second transmission control strategy for forwarding the message in the subsequent network domain based on the first transmission control strategy that has been executed for the message, thereby avoiding the situation where the transmission control of devices on different sides of the bearer network are not aware of each other, and the devices on different sides repeatedly perform the same transmission control processing on the same message, thereby reducing the waste of resources of the communication device (such as communication resources, processing resources, and storage resources, etc.).
[0218] Combination of the above Figure 6 and Figure 8 The specific steps of executing the communication method by the communication system 300 are described in detail. The communication method provided in the present application can also be executed by the communication device 310, the communication device 320 or the communication device 330 in the communication system 300.
[0219] Combine the following Fig. 9 The specific steps of the communication device 310 executing the communication method are described.
[0220] like Fig. 9 The communication method shown is shown in FIG. Figure 3 As shown, the specific steps of the communication method executed by the communication device 310 are as follows: step 901 to step 903.
[0221] Step 901: The communication device 310 receives a first message.
[0222] The first message includes transmission control information, and the transmission control information is used to indicate a first transmission control strategy that the communication device 320 has executed for the first message.
[0223] Step 902: The communication device 310 determines a second transmission control strategy for the first message according to the first transmission control strategy.
[0224] For specific steps of the communication device 310 determining the second transmission control strategy, please refer to Figure 6 Step 605 shown is not repeated here.
[0225] Step 903: The communication device 310 forwards the first message.
[0226] For specific steps of the communication device 310 forwarding the first message, please refer to Figure 6 Step 606 shown is not repeated here.
[0227] In the above steps 901 to 903, the communication device 310, as the receiver of the first message (such as a network device or a terminal device), can parse the transmission control information from the first message, and implement the first transmission control strategy that has been executed for the first message indicated by the transmission control information, thereby realizing mutual perception of the transmission control strategy by different sides in the network. Then, the second transmission control strategy to be executed for the first message is determined, avoiding the situation where the communication device 310 and the downstream device perform repeated transmission control processing on the first message, or do not perform transmission control processing on the first message.
[0228] Next, combine Fig.10 The specific steps of the communication device 320 executing the communication method are described.
[0229] like Fig.10 The communication method shown is shown in FIG. Figure 4 As shown, the specific steps of the communication method executed by the communication device 320 are as follows: step 1001 to step 1003.
[0230] Step 1001: The communication device 320 determines a first transmission control strategy to be executed on a message to be sent.
[0231] For specific steps of the communication device 320 determining the first transmission control strategy, please refer to Figure 6 The step 602 shown is not repeated here.
[0232] Step 1002: The communication device 320 encapsulates the transmission control information into a message to be sent to obtain a first message.
[0233] For specific steps of encapsulating transmission control information in the communication device 320, please refer to Figure 6 Step 603 shown is not repeated here.
[0234] Step 1003: The communication device 320 forwards the first message.
[0235] In the above steps 1001 to 1003, the communication device 320, as the sender of the first message (e.g., a network device or a terminal device), encapsulates the transmission control information in the first message, so that the receiver of the first message can perceive the first transmission control strategy. In this way, the receiver of the first message can determine the subsequent transmission control strategy according to the first transmission control strategy to avoid the communication device 310 and the downstream device from performing repeated transmission control processing on the first message, or not performing transmission control processing on the first message.
[0236] The specific steps of the communication method executed by the communication device 330 are further described.
[0237] The specific steps of the communication device 330 executing the communication method are as follows: step 1101.
[0238] Step 1101: The communication device 330 sends a management message.
[0239] For details of the above management messages, please refer to Figure 6 The step 601 shown is not repeated here.
[0240] This application describes steps 901-903, steps 1001-1003 and step 1101. Figure 6 For reference, in another embodiment, Figure 8 The steps in are used as reference.
[0241] Since the transmission control template of the transmission control information is unified in the management message, the communication device 310, the communication device 320 and other devices that receive the management message have completed learning the format of the transmission control information. Then, the communication device 310, the communication device 320 encapsulates or parses the transmission control information in the message according to the same format, thereby providing a basis for the communication device 310, the communication device 320 to perceive the transmission control information from each other.
[0242] In some possible embodiments, the application scenario of the communication method is not limited to the mutual perception and communication of transmission control information between the terminal side and the network side, but can also be applied to the mutual perception and communication of transmission control information between multi-layer tunnels.
[0243] For example, Fig.11 Schematic diagram of the communication method provided in the embodiment of the present application Figure 5 This communication method can be applied to Figure 5 Communications between various devices in the communication system 500 are shown.
[0244] Step 1101: The controller 510 sends a management message.
[0245] The controller 510 sends a management message to the access router 520 , the edge router 530 , the edge router 540 , and the access router 550 .
[0246] Management message functions and Figure 6 The management message in step 601 is the same as that in step 601, and will not be repeated here.
[0247] Step 1102: The access router 520 determines to execute a first transmission control strategy for the message to be sent.
[0248] Step 1103: The access router 520 encapsulates the transmission control information into the message to be sent to obtain a first message.
[0249] Step 1104: The access router 520 forwards the first message according to the first transmission control policy.
[0250] Step 1105: After receiving the first message, the edge router 530 determines a second transmission control strategy for the first message according to the first transmission control strategy.
[0251] Step 1106: The edge router 530 forwards the first message.
[0252] Step 1107: The edge router 540 forwards the first message.
[0253] The above steps 1102 to 1107 are Figure 6 The specific steps of step 602-step 607 shown are executed in the same way, the difference is that the access router 520 forwards or processes the message instead of the communication device 320, the edge router 530 forwards or processes the message instead of the communication device 310, the edge router 530 forwards or processes the message instead of the communication device 340, the access router 550 forwards or processes the message instead of the communication device 350, and the transmission control information is encapsulated in the APN header of the inner tunnel of the message.
[0254] Based on the above Fig.11 In the communication method shown, when a message passes through a multi-layer tunnel, the inner tunnel uses the APN header to carry the transmission control information of the transmission control strategy that the inner tunnel has executed for the message, so that the edge router 530 can perceive the first transmission control strategy that the inner tunnel has executed for the message. Therefore, the edge router 530 can determine the second transmission control strategy for forwarding the message in the intermediate domain according to the first transmission control strategy that has been executed for the message, that is, use the outer tunnel with a different function from the first transmission control strategy to forward the message, thereby avoiding the situation in which the transmission control of the inner and outer tunnels in the bearer network are not aware of each other, and the devices corresponding to the different layers of tunnels repeatedly perform the same transmission control processing on the same message, thereby reducing the waste of resources (such as communication resources, processing resources, and storage resources, etc.) of the communication equipment.
[0255] Fig.12 Schematic diagram of the structure of a possible communication device provided in this embodiment. The communication device can be used to implement the functions of the corresponding communication device in the above method embodiment, and thus also has the beneficial effects possessed by the above method embodiment. In this embodiment, the communication device can be as follows Figure 3 The communication device 310, the communication device 320, the communication device 330, etc. shown in the figure may also be a module (such as a chip) applied to a server.
[0256] like Fig.12 As shown, the communication device 1200 includes a transceiver module 1210 and a processing module 1220 .
[0257] In some embodiments, the communication device 1200 can be used to implement the above Figure 6 or Figure 8 In the method embodiment shown in FIG. 1 , the functions of the communication device 310 are shown in FIG. 1 , and the modules included in the communication device 1200 are specifically used to implement the following functions.
[0258] The transceiver module 1210 is used to receive a first message, the first message includes transmission control information, the transmission control information is used to indicate that the second communication device has executed a first transmission control strategy for at least one message, the at least one message includes the first message. For example, the receiving module 1010 is used to perform the following steps: Fig. 9 Step 901 is shown.
[0259] The processing module 1220 is used to determine a second transmission control strategy for the first message according to the first transmission control strategy. For example, the processing module 1220 is used to perform the following steps: Figure 6 Step 605 shown, or Fig. 9 Step 902 is shown.
[0260] The transceiver module 1210 is also used to forward the first message. For example, the transceiver module 1210 is used to perform the following steps: Figure 6 Step 606 shown, or Fig. 9 Step 903 is shown.
[0261] The at least one message includes one or more messages in the target message flow.
[0262] In some embodiments, the communication device 1200 can be used to implement the above Figure 6 or Figure 8 In the method embodiment shown in FIG. 1 , the functions of the communication device 320 are shown in FIG. 1 , and the modules included in the communication device 1200 are specifically used to implement the following functions.
[0263] The processing module 1220 is used to determine a first transmission control strategy to be executed on the message to be sent. For example, the processing module 1220 is used to execute Figure 6 Step 602 shown, or Fig.10 Step 1001 is shown.
[0264] The processing module 1220 is further configured to encapsulate the transmission control information in the to-be-sent message to obtain a first message, wherein the transmission control information is used to indicate that the second communication device has executed the first transmission control strategy for the to-be-sent message. Figure 6 Step 603 shown, or Fig.10 Step 1102 is shown.
[0265] The transceiver module 1210 is used to forward the first message according to the first transmission control strategy. For example, the transceiver module 1210 is used to execute the following Figure 6 Step 604 shown, or Fig.10 Step 1003 is shown.
[0266] In some embodiments, the communication device 1200 can be used to implement the above Figure 6 or Figure 8 In the method embodiment shown in FIG. 1 , the functions of the communication device 330 are shown in FIG. 1 , and the modules included in the communication device 1200 are specifically used to implement the following functions.
[0267] The transceiver module 1210 is used to send a management message to the first communication device and the second communication device, the management message includes a transmission control template, and the transmission control template is used to indicate the format of the transmission control information, so that the first communication device parses the transmission control information from the first message according to the format of the transmission control information, or the second communication device encapsulates the transmission control information according to the format of the transmission control information and the first transmission control strategy to be executed for the message to be sent. For example, the transceiver module 1210 is used to perform the following steps: Figure 6 Step 601 shown, or Fig.11 Step 1101 is shown.
[0268] As a possible implementation manner, the transmission control information includes a retransmission field, a redundant error correction field, a multi-path backup field and / or a reordering field.
[0269] It should be understood that the communication device 1200 of the embodiment of the present invention can be implemented by a central processing unit (CPU), an ASIC, or a programmable logic device (PLD), and the PLD can be a complex programmable logical device (CPLD), an FPGA, a generic array logic (GAL), or any combination thereof. The communication device 1200 is implemented by software Figure 6 or Figure 8 When the communication method shown in , the communication device 1200 and its various modules can also be software modules.
[0270] It should be understood that the communication device 310, the communication device 320, the communication device 330, etc. in the embodiment of the present application may correspond to the communication device 1200 in the embodiment of the application, and may correspond to the corresponding subject in the method according to the embodiment of the present application, and the above and other operations and / or functions of each module in the communication device 1200 are respectively to achieve Figure 6 or Figure 8 For the sake of brevity, the corresponding process of the method in will not be repeated here.
[0271] The present application also provides a communication device, each communication device 1300 includes a memory 1301, a processor 1302, a communication interface 1303 and a bus 1304. The memory 1301, the processor 1302, and the communication interface 1303 are connected to each other through the bus 1304. The communication device 1300 may be Figure 6 or Figure 8 The communication device 310, the communication device 320, the communication device 330, etc.
[0272] The memory 1301 may be a read-only memory, a static storage device, a dynamic storage device or a random access memory. The memory 1301 may store computer instructions and a data set required to execute the computer instructions. When the computer instructions stored in the memory 1301 are executed by the processor 1302, the processor 1302 and the communication interface 1303 are used to execute the computer instructions. Figure 6 or Figure 8 Any step in the communication method shown.
[0273] Processor 1302 may be a general-purpose central processing unit, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or any combination thereof. Processor 1302 may include one or more chips. Processor 1302 may include an AI accelerator, such as a neural processing unit (NPU). In addition, Fig.13 The example in which each communication device 1300 includes a processor 1302 is used for explanation. In specific implementation, the number and type of processors 1302 in each communication device 1300 can be set according to business requirements. The same communication device 1300 can include one or more processors. When the same communication device 1300 includes multiple processors, this application does not limit the type of processor.
[0274] The communication interface 1303 uses a transceiver module such as, but not limited to, a transceiver to implement communication between the communication device 1300 and other devices or a communication network. For example, management messages, isolation requests, etc. may be received or sent through the communication interface 1303 .
[0275] The bus 1304 may include a path for transmitting information between various components of the communication device 1300 (eg, the memory 1301 , the processor 1302 , and the communication interface 1303 ).
[0276] Each of the communication devices 1300 can be Fig.13 A communication path is established through a communication network. Any communication device 1300 may be a computer (eg, a server) in a distributed storage system, or a computer in an edge data center, or a terminal communication device.
[0277] Each communication device 1300 may be equipped with the functions of the communication apparatus 1200, such as executing Figure 6 or Figure 8 Any step shown, or the functions of the transceiver module 1210 and the processing module 1220 in the communication device 1200 are executed.
[0278] The method steps in this embodiment can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device. Of course, the processor and the storage medium can also exist as discrete components in a network device or a terminal device.
[0279] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD). The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A communication method, characterized in that: Applied to a first communication device, comprising: receiving a first message, wherein the first message includes transmission control information, wherein the transmission control information is used to indicate that the second communication device has executed a first transmission control strategy for at least one message, wherein the at least one message includes the first message; Determine a second transmission control strategy for the first message according to the first transmission control strategy; Forward the first message.
2. The method according to claim 1, characterized in that The transmission control information is carried by an Application Aware Network (APN) header of the first message.
3. The method according to claim 1 or 2, characterized in that: The first transmission control strategy includes retransmission, redundant error correction, multi-path backup and / or out-of-order reordering.
4. The method according to any one of claims 1 to 3, characterized in that The second transmission control strategy includes enabling / disabling dual-transmit selective reception and enabling / disabling out-of-order reordering.
5. The method according to claim 2, characterized in that: The APN header includes a retransmission field, a redundant error correction field, a multipath backup field and / or a reordering field for carrying the transmission control information; The retransmission field is used to indicate the maximum number of retransmissions of the first transmission control policy, the redundant error correction field is used to indicate the redundancy of the redundant error correction of the first transmission control policy, the multi-path backup field is used to indicate whether the first message is transmitted via the main path or the alternative path, and the out-of-order reordering field is used to indicate the out-of-order tolerance of the first transmission control policy.
6. The method according to claim 5, characterized in that When the retransmission field indicates that the maximum number of retransmissions is greater than a first preset value, or the redundant error correction field indicates that the redundancy is greater than a second preset value, or the multipath backup field indicates that the first message is transmitted via an alternative path, the second transmission control strategy includes disabling dual transmission and selective reception for the first message.
7. The method according to claim 5 or 6, characterized in that: When the out-of-order reordering field indicates that the out-of-order tolerance level is greater than a third preset value, the second transmission control strategy includes disabling out-of-order reordering when performing multi-path bandwidth aggregation or dual-transmission selective reception processing on the first message.
8. The method according to any one of claims 1 to 7, characterized in that The forwarding of the first message includes: The first message is forwarded using a tunnel that complies with the second transmission control policy.
9. The method according to any one of claims 1 to 7, characterized in that: The forwarding of the first message includes: Adding the second transmission control policy to the transmission control information to obtain a second message; The second message is forwarded, wherein the second transmission control policy is used to instruct a third communication device to forward the second message using a tunnel that complies with the second transmission control policy, and the third communication device is a downstream device of the second communication device.
10. The method according to any one of claims 1 to 9, characterized in that The first transmission control policy is used to indicate a transmission control policy of the first message in a first network domain, and the second transmission control policy is used to indicate a transmission control policy of the first message in a second network domain.
11. The method according to claim 10, characterized in that The second network domain is an APN domain.
12. The method according to claim 10, characterized in that The second network domain is an intermediate domain composed of intermediate nodes between outer tunnels.
13. The method according to any one of claims 1 to 12, characterized in that The method further comprises: A management message is received, wherein the management message includes a transmission control template, and the transmission control template is used to indicate a format of the transmission control information.
14. The method according to any one of claims 1 to 13, characterized in that The at least one packet includes one or more packets in the target packet flow.
15. The method according to any one of claims 1 to 14, characterized in that The first communication device is a terminal device or a network device.
16. A communication method, characterized in that: Applied to a second communication device, comprising: Determining a first transmission control strategy to be executed on the message to be sent; Encapsulating transmission control information in the message to be sent to obtain a first message, wherein the transmission control information is used to indicate that the second communication device has executed the first transmission control strategy for the message to be sent; The first message is forwarded according to the first transmission control policy.
17. The method according to claim 16, characterized in that The step of encapsulating the transmission control information into the message to be sent to obtain the first message includes: The transmission control information is encapsulated in the APN header of the message to be sent to obtain the first message.
18. The method according to claim 16 or 17, characterized in that The method further comprises: A management message is received, wherein the management message includes a transmission control template, and the transmission control template is used to indicate a format of the transmission control information.
19. The method according to claim 18, characterized in that The step of encapsulating the transmission control information into the message to be sent to obtain the first message includes: According to the transmission control template, the transmission control information is encapsulated in the message to be sent to obtain the first message.
20. The method according to any one of claims 16-17, characterized in that The first transmission control strategy includes retransmission, redundant error correction, multi-path backup and / or out-of-order reordering.
21. The method according to claim 20, characterized in that The transmission control information includes a retransmission field, a redundant error correction field, a multipath backup field and / or a disorder reordering field; The retransmission field is used to indicate the maximum number of retransmissions of the first transmission control policy, the redundant error correction field is used to indicate the redundancy of the redundant error correction of the first transmission control policy, the multi-path backup field is used to indicate whether the first message is transmitted via the main path or the alternative path, and the out-of-order reordering field is used to indicate the out-of-order tolerance of the first transmission control policy.
22. The method according to any one of claims 16 to 21, characterized in that The second communication device is a terminal device or a network device.
23. A communication method, characterized in that: Applicable to a third communication device, comprising: A management message is sent to a first communication device and a second communication device, wherein the management message includes a transmission control template, and the transmission control template is used to indicate the format of transmission control information, so that the first communication device parses the transmission control information from the first message according to the format of the transmission control information, or enables the second communication device to encapsulate the transmission control information according to the format of the transmission control information and a first transmission control policy to be executed on the message to be sent.
24. The method according to claim 23, characterized in that The transmission control information includes a retransmission field, a redundant error correction field, a multi-path backup field and / or a reordering field.
25. A terminal device, characterized in that: The terminal device is used to execute the communication method as described in any one of claims 1-22.
26. A network device, characterized in that: The network device is used to execute the communication method according to any one of claims 1 to 22.
27. A network device, characterized in that: The network device is used to execute the communication method according to claim 23 or 24.
28. A communication device, characterized in that: The communication device includes a memory and a processor, the memory is used to store a set of computer instructions; when the processor executes the set of computer instructions, the operation steps of the method described in any one of claims 1 to 15, or the operation steps of the method described in any one of claims 16 to 22, or the operation steps of the method described in claim 23 or 24 are performed.
29. A communication system, characterized in that: The communication system includes a first communication device and a second communication device, wherein the first communication device is used to execute the operation steps of the method described in any one of claims 1 to 15, and the second communication device is used to execute the operation steps of the method described in any one of claims 16 to 22.
30. The system according to claim 29, characterized in that The communication system further comprises a third communication device, and the third communication device is used to execute the operation steps of the method according to claim 23 or 24.
31. A readable storage medium, characterized in that: The readable storage medium includes a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer is caused to execute the operation steps of any one of the methods described in claims 1 to 24.
