Communication method, communication device, communication system, electronic device and storage medium

By acquiring and modifying the QoS parameters of multiple communication link devices in a wireless LAN, fine-grained communication link mapping is achieved, solving the problems of low communication efficiency and high energy consumption, and improving user experience and service QoS.

CN120935664APending Publication Date: 2025-11-11TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410565753.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

In wireless LANs, multi-link devices have low communication efficiency and high power consumption because existing technologies require mapping all service identifiers to each communication link, rather than necessarily requiring multiple communication links to transmit data.

Method used

The QoS parameters of each communication link between the first communication device and the second communication device are obtained. If it is determined that the QoS parameters of the first communication link do not meet the preset requirements, a request is sent to the second communication device to modify the mapping relationship between the service identifier of the target data stream and the communication link, so as to achieve fine-grained communication link mapping.

Benefits of technology

It improves the communication efficiency and user experience of target services, especially in scenarios with high wireless channel interference, meeting the QoS requirements of low-latency services and enhancing user perception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935664A_ABST
    Figure CN120935664A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a communication method, communication equipment, electronic equipment and a computer readable storage medium, and relates to the field of communication. The method comprises the following steps: acquiring a quality of service (QoS) parameter of each communication link with second communication equipment; if it is determined that the QoS parameter of the first communication link does not meet the preset QoS requirement, sending a first request to a second communication device; the first communication link is a communication link used for transmitting a target data stream in multiple communication links, and the first request is used for requesting to modify a mapping relationship between a service identifier of the target data stream and the communication link; and receiving a first response sent by the second communication device, wherein the first response is used for indicating the second communication device to accept or reject the first request. According to the embodiment of the invention, fine communication link mapping of a service (such as a game service) with a low time delay requirement in a multi-communication link communication process is realized, the experience of a target service can be improved, and the perception of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and more specifically, to a communication method, communication device, communication system, electronic device, computer-readable storage medium, and computer program product. Background Technology

[0002] In wireless communication in a wireless local area network (WLAN), a multi-link device (MLD), such as a station (STA) multi-link device (MLD), is able to communicate on multiple links, including a first communication link (communication link 1) and a second communication link (communication link 2).

[0003] The relevant technologies require mapping all traffic IDs (TIDs) to each communication link. However, in some cases, a single communication link can meet the requirements for data transmission, and it is not necessary to transmit through multiple communication links. This affects communication efficiency and also increases energy consumption. Summary of the Invention

[0004] This application provides a communication method, a first communication device, an electronic device, a computer-readable storage medium, and a computer program product, which can adaptively optimize according to QoS parameters to meet service QoS, improve the experience of target services, and enhance user perception.

[0005] In a first aspect, embodiments of this application provide a communication method executed by a first communication device, the method comprising: Obtain the Quality of Service (QoS) parameters for each communication link between the device and the second communication device. If it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements, a first request is sent to the second communication device; the first communication link is a communication link used to transmit the target data stream among multiple communication links, and the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; Receive a first response sent by the second communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0006] Secondly, embodiments of this application provide a communication method executed by a second communication device, the method comprising: Receive a first request sent by a first communication device, the first request being used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; Send a first response to the first communication device, the first response being used to instruct the second communication device to accept or reject the first request; The first request is sent by the first communication device when it determines that the QoS parameters of the first communication link do not meet the preset QoS requirements. The first communication link is a communication link used to transmit the target data stream among multiple communication links. Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0007] Thirdly, embodiments of this application provide a first communication device, comprising: The sensing module is used to acquire the Quality of Service (QoS) parameters of each communication link between the second communication device and the second communication device. The request sending module is used to send a first request to the second communication device if it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements; the first communication link is a communication link used to transmit the target data stream among multiple communication links, and the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; A response receiving module is configured to receive a first response sent by the second communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0008] As an optional embodiment, if the first response indicates that the second communication device accepts the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier of the target service and the communication link; The first communication device also includes: The streaming module is used to determine the target communication link for transmitting the target data stream based on the modified mapping relationship; and to transmit the target data stream through the target communication link.

[0009] As an optional embodiment, the first request includes at least one of the following: The new business identifier for the target data stream requested; The requested communication link identifier of a new communication link that has a mapping relationship with the service identifier of the target data stream.

[0010] As an optional embodiment, the request sending module sends a first request to the second communication device, including: sending a communication link mapping request frame to the second communication device, wherein the communication link mapping request frame includes the first request; The response receiving module receives a first response sent by the second communication device, including: receiving a communication link mapping response frame sent by the second communication device, wherein the communication link mapping response frame includes the first response.

[0011] As an optional embodiment, the first communication device further includes: The first instruction sending module is used to send a first instruction to the second communication device, wherein the first instruction is used to indicate that the first communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link; The second instruction receiving module is used to receive a second instruction returned by the second communication device, the second instruction being used to indicate that the second communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link.

[0012] As an optional embodiment, the first instruction sending module sends a first instruction to the second communication device, including: sending a first request frame to the second communication device, wherein the first request frame includes the first instruction; The second instruction receiving module receives a second instruction returned by the second communication device, including: receiving a first response frame returned by the second communication device, wherein the first response frame includes the second instruction; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

[0013] As an optional embodiment, the QoS parameters may include at least one of the signal strength indicator RSSI and the capacity of the communication link.

[0014] Fourthly, embodiments of this application provide a second communication device, comprising: A request receiving module is configured to receive a first request sent by a first communication device, wherein the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; A response sending module is used to send a first response to the first communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; The first request is sent by the first communication device when it determines that the QoS parameters of the first communication link do not meet the preset QoS requirements. The first communication link is a communication link used to transmit the target data stream among multiple communication links. Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0015] As an optional embodiment, if the first response indicates that the second communication device accepts the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier of the target service and the communication link; The second communication device also includes: The streaming module is used to determine the target communication link for transmitting the target data stream based on the modified mapping relationship; and to transmit the target data stream through the target communication link.

[0016] As an optional embodiment, the request receiving module receives a first request sent by a first communication device, including: receiving a communication link mapping request frame sent by the first communication device, wherein the communication link mapping request frame includes the first request; The response sending module sends a first response to the first communication device, including sending a communication link mapping response frame to the first communication device, wherein the communication link mapping response frame includes the first response.

[0017] As an optional embodiment, the second communication device further includes: A first instruction receiving module is configured to receive a first instruction sent by the first communication device, wherein the first instruction is configured to indicate that the first communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link. The second instruction sending module is used to send a second instruction to the first communication device, the second instruction being used to instruct the second communication device to support modifying the mapping relationship between the service identifier of the target data stream and the communication link.

[0018] As an optional embodiment, the first indication receiving module receives a first indication sent by the first communication device, including: Receive a first request frame sent by the first communication device, the first request frame including the first indication; The second instruction sending module sends a second instruction to the first communication device, including: Send a first response frame to the first communication device, the first response frame including the second indication; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

[0019] Fifthly, embodiments of this application provide an electronic device including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the above-described method.

[0020] In a sixth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.

[0021] In a seventh aspect, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the above-described method.

[0022] Eighthly, a communication system is provided, comprising: The first communication device is used to acquire the Quality of Service (QoS) parameters of each communication link between itself and the second communication device; if it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements, it sends a first request to the second communication device; the first communication link is a communication link among multiple communication links used to transmit the target data stream, and the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; The second communication device is configured to receive a first request sent by the first communication device, the first request being used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; and to send a first response to the first communication device, the first response being used to instruct the second communication device to accept or reject the first request. The first communication device is also configured to receive a first response sent by the second communication device; Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0023] The first communication device in this embodiment can be either a Non-AP MLD device or an AP MLD device, thereby improving the flexibility of adjusting the mapping relationship. The first communication device obtains the QoS parameters of each communication link with the second communication device. If it is determined that the QoS parameters of the first communication link used to transmit the target data stream in the multiple communication links do not meet the preset QoS requirements, it sends a first request to the second communication device to request modification of the mapping relationship between the service identifier of the target data stream and the communication link. This realizes fine-grained communication link mapping for services with low latency requirements (such as game services) in the process of multi-communication link communication. It can adaptively optimize according to QoS parameters to meet the service QoS. Especially in scenarios with high wireless channel interference in the current communication link in multiple communication links, when the target service is running simultaneously with multiple other services, it can improve the experience of the target service and enhance the user's perception. Attached Figure Description

[0024] Figure 1 This is a schematic diagram of the architecture of the communication system provided in the embodiments of this application; Figure 2 A flowchart illustrating a communication method applied to a second communication device, provided as an embodiment of this application; Figure 3 A flowchart illustrating a communication method provided in an embodiment of this application; Figure 4 A schematic diagram illustrating the mapping relationship between the service identifier of a target service and a communication link, provided as an embodiment of this application; Figure 5 This is a schematic diagram of the structure of a communication link mapping request frame provided in an embodiment of this application; Figure 6 An interactive schematic diagram of a communication method provided in an embodiment of this application; Figure 7a A schematic diagram illustrating another multi-link discovery method provided in an embodiment of this application; Figure 7b A schematic diagram illustrating another multi-link discovery method provided in an embodiment of this application; Figure 8 A schematic diagram illustrating the interaction between the first communication device and the second communication device, as provided in this application embodiment, confirming that they support modifying the mapping relationship between the service identifier of the target data stream and the communication link. Figure 9 A flowchart illustrating a communication method applied to a second communication device, provided as an embodiment of this application; Figure 10 This is a schematic diagram illustrating the implementation environment involved in a specific application scenario provided by an embodiment of the present invention, according to an exemplary embodiment. Figure 11 This is a schematic diagram of the structure of the first communication device provided in an embodiment of this application; Figure 12 This is a schematic diagram of the structure of the second communication device provided in an embodiment of this application; Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0025] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.

[0026] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a,” “an,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” can be implemented as “A,” or as “B,” or as “A and B.”

[0027] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0028] First, let's introduce and explain several terms used in this application: Quality of Service (QoS) is a network security mechanism and a technology used to address issues such as network latency and congestion. When a network is overloaded or congested, QoS ensures that critical traffic is not delayed or dropped, while guaranteeing efficient network operation.

[0029] A multi-link device (MLD) typically refers to a device with multiple network connection interfaces. This increases network redundancy and availability, improving network performance and stability. These devices can connect to multiple networks simultaneously, enabling functions such as load balancing, failover, and optimized data traffic.

[0030] The relevant technologies require mapping all traffic IDs (TIDs) to each communication link. However, in some cases, a single communication link can meet the requirements for data transmission, and it is not necessary to transmit through multiple communication links. This affects communication efficiency and also increases energy consumption.

[0031] The communication methods, apparatus, electronic devices, computer-readable storage media, and computer program products provided in this application are intended to solve the above-mentioned technical problems of the prior art.

[0032] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.

[0033] Figure 1 The system architecture diagram for implementing the communication method provided in the embodiments of this application is shown in the figure, including STA device 101 and AP device 102.

[0034] In some embodiments, the STA device 101 may be a device including a wireless communication chip supporting WiFi communication, a wireless sensor, or a wireless communication terminal. Optionally, the wireless communication terminal may be at least one of, but is not limited to, a mobile phone, a wearable device, an IoT device supporting WiFi communication, a car with WiFi communication capabilities, a smart car, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and a wireless terminal device in a smart home.

[0035] STA device 101 can be a terminal device or network device with a Wi-Fi chip. Optionally, STA device 101 can support multiple WLAN standards such as 802.11ax, 802.11be, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a, as well as the next-generation 802.11 protocol, but is not limited to these.

[0036] In some embodiments, the AP device 102 can be an access point for mobile terminals to access a wired network. The AP acts as a bridge connecting wired and wireless networks, its main function being to connect various wireless network clients together and then connect the wireless network to the Ethernet. Specifically, the AP device 102 can be a terminal device or network device with a Wi-Fi chip. Optionally, the AP device can support various WLAN standards such as 802.11ax, 802.11be, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a, as well as the next-generation 802.11 protocol, but is not limited to these.

[0037] It is understood that the communication system described in the embodiments of this application is for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions proposed in the embodiments of this application. As those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions proposed in the embodiments of this application are also applicable to similar technical problems.

[0038] The following embodiments of this application can be applied to Figure 1 The communication system 100 shown, or a part thereof, but not limited to it. Figure 1 The entities shown are illustrative; a communication system may include... Figure 1 All or part of the main body, or may include Figure 1 Other entities besides the main body, the number and form of each entity are arbitrary, each entity can be physical or virtual, the connection relationship between the entities is illustrative, the entities can be unconnected or connected, and the connection can be in any way, it can be a direct connection or an indirect connection, it can be a wired connection or a wireless connection.

[0039] The embodiments of this application can be applied to Wireless Local Area Networks (WLANs), such as to IEEE 802.11 system standards, such as 802.11a / b / g, 802.11n, 802.11ac, 802.11ax, or their next generation, such as 802.11be, also known as WiFi 7 or Extremely High Throughput (EHT) standards or even later-generation standards.

[0040] Alternatively, the embodiments of this application can also be applied to wireless local area network systems such as Internet of Things (IoT) networks or Vehicle-to-X (V2X) networks. Of course, the embodiments of this application can also be applied to other possible communication systems, such as Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD) systems, Universal Mobile Telecommunication System (UMTS), Worldwide Interloper Ability for Microwave Access (WiMAX) communication systems, and future 5th generation (5G) communication systems, etc.

[0041] In this embodiment of the disclosure, AP and STA can be devices that support multiple connections. For example, they can be represented as Access Point Multi-Link Device (AP MLD) and Non-Access Point Multi-Link Device (Non-AP MLD), respectively. AP MLD device can represent an access point that supports multiple connection communication function, and Non-AP MLD device can represent a station that supports multiple connection communication function.

[0042] This application provides a communication method applied to a first communication device, such as... Figure 2 As shown, the method includes: S101. Obtain the Quality of Service (QoS) parameters of each communication link with the second communication device.

[0043] The first communication device in this application embodiment can be either a Non-AP MLD device or an AP MLD device. When the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device. Multiple communication links are pre-established between the first communication device and the second communication device.

[0044] Non-AP MLD devices in the first and second communication devices typically perform tasks continuously (such as online games). Due to some uncontrollable factors, network problems may occur, affecting task execution. Compared with related technologies where the Non-AP MLD device actively initiates network transmission optimization, this embodiment of the application adopts a method where either the Non-AP MLD device or the AP MLD device can obtain the wireless environment quality in real time, combine it with the QoS parameters of the target data stream of the target service it undertakes, and determine whether the wireless environment quality meets the preset QoS requirements, so as to actively initiate network transmission optimization.

[0045] In some embodiments, QoS parameters can be Received Signal Strength Indication (RSSI) and the capacity of the communication link.

[0046] S102. In response to the fact that the QoS parameters of the first communication link do not meet the preset QoS requirements, a first request is sent to the second communication device.

[0047] The first communication link in this embodiment is a communication link used for transmitting the target data stream among multiple communication links. The target data stream is also the data stream of the target service. This embodiment does not specifically limit the type of the target service; for example, it could be a game service.

[0048] When the first communication device obtains that the QoS parameters of the first communication link do not meet the preset QoS requirements, it will send a first request to the second communication device. The first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link.

[0049] Taking a non-AP MLD device running a network game as an example, when the network is poor, the game will experience problems such as lag and slow refresh, which will affect the experience. The first communication device in this application embodiment can obtain QoS parameters such as network latency and Received Signal Strength Indication (RSSI) of the target data stream of the game in real time. If the QoS parameters do not meet the preset QoS requirements, it will actively initiate an update of the communication link mapping relationship to improve the game experience.

[0050] It should be noted that, compared with the approach of related technologies that map all service identifiers to all communication links when modifying the mapping relationship between service identifiers and communication links, the embodiments of this application adopt a targeted approach of modifying the mapping relationship between the service identifiers of the target data stream and communication links, thereby achieving the purpose of fine-grained mapping and effectively improving communication efficiency and reducing energy consumption.

[0051] It should be understood that the mapping relationship requested by the first communication device to be modified can be a mapping relationship between the service identifier of the target data stream and a single communication link, or a mapping relationship between the service identifier of the target data stream and multiple communication links. This application example does not specifically limit this. Furthermore, the communication link requested by the first communication device in this application embodiment to have a mapping relationship with the service identifier of the target data stream should be a communication link that can meet preset QoS requirements.

[0052] S103. Receive a first response sent by the second communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request.

[0053] After sending a first request to the second communication device, the first communication device in this application embodiment also requires the second communication device to return a first response. The first response instructs the first communication device to accept or reject the first request, so that the first communication device can determine whether to receive the target data stream according to the new mapping relationship.

[0054] The communication method of this application embodiment is executed by a first communication device, which can be either a Non-APMLD device or an AP MLD device, thereby improving the flexibility of adjusting the mapping relationship. The first communication device obtains the QoS parameters of each communication link with the second communication device. If it is determined that the QoS parameters of the first communication link used to transmit the target data stream in the multiple communication links do not meet the preset QoS requirements, it sends a first request to the second communication device to request modification of the mapping relationship between the service identifier of the target data stream and the communication link. This realizes fine-grained communication link mapping for services with low latency requirements (such as game services) in the communication process of multiple communication links. It can adaptively optimize according to the QoS parameters to meet the service QoS. Especially in scenarios with high wireless channel interference in the current communication link of multiple communication links, when the target service is carried out simultaneously with multiple other services, it can improve the experience of the target service and enhance the user's perception.

[0055] Based on the above embodiments, as an optional embodiment, if the first response instructs the second communication device to accept the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier and the communication link of the target service. Afterwards, the first and second communication devices determine the target communication link for transmitting the target data stream according to the modified mapping relationship; and transmit the target data stream through the target communication link.

[0056] In other words, if the second communication device receives the first request, it will modify the mapping relationship between the service identifier of the target service and the communication link locally in accordance with the first request. After receiving the first response, the first communication device will also modify the mapping relationship between the service identifier of the target service and the communication link locally in accordance with the first request. As a result, the AP MLD device in the two communication devices will send the data stream of the target service according to the new mapping relationship, and the Non-AP MLD device will receive the data stream of the target service according to the new mapping relationship.

[0057] Please see Figure 3The figure illustrates a flowchart of the communication method provided in this application embodiment. As shown, there are three communication links between the first communication device and the second communication device, namely communication links 1 to 3. The first communication device obtains the QoS parameters of the three communication links. When the first communication device determines that the QoS parameters of communication link 1 for transmitting the target data stream do not meet the preset QoS requirements, the first communication device determines that the QoS parameters of communication link 2 meet the preset QoS requirements. Therefore, it requests the second communication device to modify the mapping relationship between the service identifier of the target data stream and communication link 2. If the second communication device accepts the modification, both the first and second communication devices establish the mapping relationship between the service identifier of the target data stream and communication link 2, and the first and second communication devices use communication link 2 to transmit the target data stream.

[0058] Based on the above embodiments, as an optional embodiment, the first request includes at least one of the following: The new business identifier for the target data stream requested; A communication link identifier for a new communication link that has a mapping relationship with the service identifier of the target data stream.

[0059] It should be understood that when the first communication device and the second communication device establish multiple communication links, they will establish the service identifiers of each data stream and the initial mapping relationship between each communication link. Therefore, in some embodiments, the first request can request to modify the new service identifier of the target data stream, so that the target data stream will be transmitted through the communication link that has a mapping relationship with the new service identifier.

[0060] In other embodiments, the first request may also request modification of the communication link identifier of a new communication link that has a mapping relationship with the service identifier of the target data stream, so that the subsequent target data stream will be transmitted through the new communication link.

[0061] Please see Figure 4The illustration shows a schematic diagram of modifying the mapping relationship between the service identifier and the communication link of the target service in an embodiment of this application. As shown in the figure, when the first communication device and the second communication device establish multiple communication links, an initial mapping relationship is established between the service identifiers of each data stream and each communication link. There are three communication links between the first communication device and the second communication device. Among them, TID3 is mapped to communication link 1, TID4 is mapped to communication link 2, and TID5 is mapped to communication link 3. The initial service identifier of the target data stream is TID=4, which means it will be transmitted through communication link 2. When modifying the mapping relationship between the service identifier and the communication link, the service identifier of the target data stream can be mapped to a higher-level service identifier, such as updating it to TID=5. Since TID=5 is mapped to communication link 3, the target data stream will be transmitted through communication link 3 in the future. Alternatively, TID=4 can be mapped to other communication links, such as establishing a mapping relationship between TID=4 and communication link 1. In this way, the target data stream will be transmitted through communication link 1 in the future.

[0062] It should be understood that transmitting the target data stream through the target communication link can be any of the following: AP MLD devices send data packets of the target data stream to Non-AP MLD devices through the target communication link; Non-AP MLD devices send data packets of the target data stream to AP MLD devices through the target communication link; Non-AP MLD devices receive data packets of the target data stream sent by AP MLD devices through the target communication link; AP MLD devices receive data packets of the target data stream sent by Non-AP MLD devices through the target communication link.

[0063] Based on the above embodiments, as an optional embodiment, the method of sending a first request to a second communication device includes: A communication link mapping request frame is sent to a second communication device, the communication link mapping request frame including the first request.

[0064] The communication link mapping request frame (TID-To-Link Mapping Request frame) in this application embodiment may include four pieces of information, namely: 1. Classification: Used to indicate the traffic category of the request design; it is an identifier that distinguishes different types of data streams. 2. Protected Extremely High Throughput (EHT) behavior refers to protective measures or behaviors for specific types of traffic with extremely high data throughput in the network. Protected Extremely High Throughput behavior aims to ensure stable transmission and high performance of this critical traffic in the network to meet users' needs for high bandwidth and low latency. Examples include: Bandwidth guarantee: Ensure that extremely high throughput traffic in the network has sufficient bandwidth resources to guarantee its smooth transmission without being affected by other low-priority traffic; QoS policy: Configure QoS (Quality of Service) policies to allocate higher priority to EHT traffic to ensure that it can still obtain sufficient bandwidth and low latency when the network is congested; Traffic classification and identification: Accurately classify and identify EHT traffic so that network devices can implement appropriate optimization and protection measures. Traffic monitoring and management: Regularly monitor and manage the transmission of EHT traffic, and promptly identify and resolve issues that may affect its performance.

[0065] 3. Session token: An identifier used to identify a specific session or conversation. This identifier is used in a request so that network devices can map specific traffic to the correct network communication link or Quality of Service (QoS) category. 4. Request to modify the mapping relationship between the service identifier of the target data stream and the communication link. For example, based on the modified mapping relationship, determine the target communication link for transmitting the target data stream and the target data stream for transmission through the target communication link.

[0066] Please see Figure 5 The figure exemplifies the structural diagram of a communication link mapping request frame according to an embodiment of this application. As shown, the communication link mapping request frame includes an element identifier field, a length field, an element identifier extension field, a service identifier communication link mapping control field, etc., wherein the service identifier communication link mapping control field further includes: The direction field is used to indicate the direction of the target data stream. When the direction field is set to 0, it indicates an uplink data stream; when it is set to 1, it indicates a downlink data stream; and when it is set to 2, it indicates both uplink and downlink data streams. The default communication link mapping field is used to indicate that all service representations are mapped to all communication links. When this field is 1, it means that all service identifiers are mapped to all communication links. Assuming there are 3 communication links between Non-AP MLD and AP MLD, namely link1, link2 and link3; when the default communication link mapping bit is set to 1, TID0~7 will be mapped to link1, TID0~7 will be mapped to link2, and TID0~7 will be mapped to link3.

[0067] The Link Mapping Indicator field indicates whether the "Link Mapping Of TID n" field exists. If the value of n in the Link Mapping Indicator field is 1, it means that the link mapping of the TID n field exists in the TID-To-Link Mapping element; otherwise, the link mapping TID n field does not exist in the TID-To-Link Mapping element.

[0068] This application embodiment receives a first response sent by the second communication device, including: The system receives a communication link mapping response frame sent by the second communication device, the communication link mapping response frame including the first response.

[0069] Compared to the communication link mapping request frame, the communication link mapping response frame includes status code information in addition to the four types of information mentioned above. The status code information records the first response.

[0070] Please see Figure 6 The figure illustrates an interactive schematic diagram of the communication method provided in the embodiments of this application, as shown in the figure, including: S601. The first communication device acquires the QoS parameters of each communication link between itself and the second communication device; if it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements, a communication link mapping request frame is generated. The communication link mapping request frame includes a first request, which is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link. S602, The first communication device sends a communication link mapping request frame to the second communication device; S603. The second communication device receives a communication link mapping request frame, determines whether to accept the first request, and generates a communication link mapping response frame. The communication link mapping response frame includes a first response, which is used to instruct the second communication device to accept or reject the first request. S604. The second communication device sends a communication link mapping response frame to the first communication device. S605. The first and second communication devices update the mapping relationship between the service identifier of the target service and the communication link.

[0071] It should be understood that when the first communication device in this application embodiment is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device. That is, both AP MLD devices and Non-AP MLD devices can trigger the writing of the mapping relationship between the service identifier and the communication link.

[0072] To negotiate the modification of link mapping relationships under WiFi 7 multi-link, the following steps must be completed first: Multi-Link discovery, Multi-Link establishment, and Multi-Link security. Then, the TID-To-Link Mapping negotiation is achieved through the TID-To-Link Mapping request and response frames.

[0073] There are two ways to discover the Multi-Link of MLD devices. Please see Figure 7a The figure illustrates a schematic diagram of a multi-link discovery method provided in an embodiment of this application. As shown, the AP MLD device includes 3 APs and the Non-AP MLD device includes 3 STAs. The AP MLD device establishes a discovery process between the AP MLD device and the Non-AP MLD device through a Beacon frame or a Probe Response frame. The Beacon frame or Probe Response frame contains Basic Information of AP2 and AP3. In this way, AP2 and STA2, and AP3 and STA3 also establish a discovery process, without needing to establish it three times.

[0074] Please see Figure 7b The figure illustrates an exemplary schematic diagram of another multi-link discovery method provided by the embodiments of this application. As shown in the figure, in this method, STA1 sends a Probe Request frame to AP1, and AP1 sends a Probe Response frame to STA1 containing a Multi-link element and Complete Information of AP2 and AP3. In this way, discovery processes are established between AP1 and STA1, AP2 and STA2, and AP3 and STA3.

[0075] After the discovery step of Multi-Link, AP MLD devices and Non-AP MLD devices need to establish Multi-Link. The establishment of Multi-Link is mainly carried out during the association process. During the association process, all links are established on one link, rather than establishing it once for each link.

[0076] The association request frame in this embodiment includes a multi-link field, which includes MLD common information, including all STA capabilities of the Non-AP MLD device. The association response frame includes all AP capabilities of the AP MLD device and some configuration information. Therefore, only AP1 and STA1 need to establish an association process, and other links also establish association processes in the same way.

[0077] After the association process, the AP and STA need to perform a Multi-Link Security process. The AP initiates a four-way handshake, sending a message containing ANonce to the STA. The STA uses this message to generate a Pairwise Transient Key (PTK). Once the STA has created its PTK, it sends a response message to the AP containing SNonce and MIC. The AP uses SNonce to generate its own PTK, and the MIC is used to verify the integrity of the messages sent by the STA. After receiving the SNonce, the AP can use the generated PTK to encrypt the keys for the subsequent two handshakes. If needed, it can also generate a Group Temporal Key (GTK) for encrypting multicast data frames and an Integrity Group Temporal Key (IGTK) for integrity protection of multicast and broadcast data frames. The AP generates a GTK, sends it to the STA, and instructs the STA to install the PTK and GTK. Finally, the AP sends an acknowledgment message to the STA, informing it that the PTK can be installed. After the four-way handshake, both the STA and AP will have installed the PTK, GTK, and IGTK, and then encrypted data transmission can begin. After a successful four-way handshake, the target service runs on the Non-AP MLD device.

[0078] Based on the above embodiments, as an optional embodiment, before sending the first request, the first communication device further includes a step of confirming that the second communication device also supports modifying the mapping relationship between the service identifier of the target data stream and the communication link. Specifically, Send a first instruction to the second communication device, the first instruction being used to instruct the first communication device to support modifying the mapping relationship between the service identifier of the target data stream and the communication link; The second instruction returned by the second communication device is received, the second instruction being used to indicate that the second communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link.

[0079] After determining that both the first communication device and the second communication device support modifying the mapping relationship between the service identifier of the target data stream and the communication link, if the first communication device determines that the QoS parameter does not meet the preset QoS requirements, it sends a first request to the second communication device. This avoids the situation where the first communication device sends a first request to the second communication device but the AP device does not support modifying the mapping relationship, resulting in the request being invalid.

[0080] Based on the above embodiments, as an optional embodiment, sending a first instruction to the second communication device includes: Send a first request frame to the second communication device, the first request frame including the first indication; The receipt of the second instruction returned by the second communication device includes: Receive a first response frame returned by the second communication device, the first response frame including the second indication; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

[0081] During communication between the first and second communication devices, an association request frame or a reassociation request frame may be sent. This association request frame or reassociation request frame may contain a first indication supporting the modification of the mapping relationship between the service identifier of the target data stream and the communication link. In some embodiments, the dot11MultiLinkActivated and dot11TIDToLinkMappingActivated fields are set to true, and the TID-To-Link Mapping NegotiationSupport field in the Capabilities and Operations field of the Basic Multi-Link element field is set to a non-zero value (set to 3 in this embodiment).

[0082] It's important to note that the `dot11MultiLinkActivated` field indicates whether 802.11 Multilink Communication (MLC) is enabled. Multilink communication allows a device to use multiple wireless links simultaneously for data transmission, improving bandwidth and reliability. When the `dot11MultiLinkActivated` field is set to true, it indicates that the communication device has enabled multilink communication and can utilize multiple wireless links for data transmission simultaneously. The `dot11TIDToLinkMappingActivated` field indicates whether TID (Traffic Identifier) ​​to link mapping in 802.11 is enabled. A TID is a field used in 802.11 to identify different types of data flows. Enabling TID to link mapping allows data flows with different TIDs to be mapped to different physical links or Quality of Service (QoS) classes. When the `dot11TIDToLinkMappingActivated` field is set to true, it indicates that the communication device has enabled service identifier to link mapping, allowing data flows to be allocated to different links based on the service identifier.

[0083] When the second communication device receives an association request frame or reassociation request frame from the first communication device, it will parse it and generate an association response frame or reassociation response frame and send it to the STA device.

[0084] Please see Figure 8 The figure exemplifies an interaction diagram in which a first communication device and a second communication device confirm that they support each other in modifying the mapping relationship between the service identifier of the target data stream and the communication link, as shown in the figure, including S801~S804: S801, The first communication device generates the first request frame.

[0085] In some embodiments, the first request frame is an association request frame or a reassociation request frame.

[0086] In some embodiments, the dot11MultiLinkActivated and dot11TIDToLinkMappingActivated fields of the first request frame are set to true.

[0087] S802, the first communication device sends a first request frame to the second communication device.

[0088] S803. The first communication device receives and parses the first request frame and generates a first response frame.

[0089] In some embodiments, when the first request frame is an associated request frame, the first response frame is an associated response frame; if the first request frame is a re-associated request frame, the first response frame is a re-associated response frame.

[0090] In some embodiments, the dot11MultiLinkActivated and dot11TIDToLinkMappingActivated fields of the first request frame are set to true.

[0091] S804, the second communication device sends a first response frame to the first communication device.

[0092] In this embodiment of the application, the first communication device receives a first response frame and, based on the second indication in the first response frame, determines that the second communication device also supports modifying the mapping relationship between the service identifier of the target data stream and the communication link. This lays the foundation for the first communication device to send a first request to the second communication device if the QoS parameters obtained do not meet the preset QoS requirements.

[0093] This application provides a communication method applied to a second communication device, such as... Figure 9 As shown, it includes: S901. Receive a first request sent by the first communication device, wherein the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link.

[0094] The first communication device in this application embodiment can be either a Non-AP MLD device or an AP MLD device. When the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device. Multiple communication links are pre-established between the first communication device and the second communication device.

[0095] Non-AP MLD devices in the first and second communication devices typically perform tasks continuously (such as online games). Due to some uncontrollable factors, network problems may occur, affecting task execution. Compared with related technologies where the Non-AP MLD device actively initiates network transmission optimization, this application embodiment adopts a method where either the Non-AP MLD device or the AP MLD device can obtain the wireless environment quality in real time, combine it with the QoS parameters of the target data stream of the target service it undertakes, and determine whether the wireless environment quality meets the preset QoS requirements, so as to actively initiate network transmission optimization.

[0096] In some embodiments, QoS parameters can be Received Signal Strength Indication (RSSI) and the capacity of the communication link.

[0097] The first communication link in this embodiment is a communication link used for transmitting the target data stream among multiple communication links. The target data stream is also the data stream of the target service. This embodiment does not specifically limit the type of the target service; for example, it could be a game service.

[0098] When the first communication device obtains that the QoS parameters of the first communication link do not meet the preset QoS requirements, it will send a first request to the second communication device. The first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link.

[0099] Taking a non-AP MLD device running a network game as an example, when the network is poor, the game will experience problems such as lag and slow refresh, which will affect the experience. The first communication device in this application embodiment can obtain QoS parameters such as network latency and Received Signal Strength Indication (RSSI) of the target data stream of the game in real time. If the QoS parameters do not meet the preset QoS requirements, it will actively initiate an update of the communication link mapping relationship to improve the game experience.

[0100] It should be noted that, compared with the approach of related technologies that map all service identifiers to all communication links when modifying the mapping relationship between service identifiers and communication links, the embodiments of this application adopt a targeted approach of modifying the mapping relationship between the service identifiers of the target data stream and communication links, thereby achieving the purpose of fine-grained mapping and effectively improving communication efficiency and reducing energy consumption.

[0101] It should be understood that the mapping relationship requested by the first communication device to be modified can be a mapping relationship between the service identifier of the target data stream and a single communication link, or a mapping relationship between the service identifier of the target data stream and multiple communication links. This application example does not specifically limit this. Furthermore, the communication link requested by the first communication device in this application embodiment to have a mapping relationship with the service identifier of the target data stream should be a communication link that can meet preset QoS requirements.

[0102] S902. Send a first response to the first communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request.

[0103] After sending a first request to the second communication device, the first communication device in this application embodiment also requires the second communication device to return a first response. The first response instructs the first communication device to accept or reject the first request, so that the first communication device can determine whether to receive the target data stream according to the new mapping relationship.

[0104] The communication method in this embodiment is executed by a second communication device. The first communication device can be either a Non-APMLD device or an AP MLD device, thereby improving the flexibility of adjusting the mapping relationship. The first communication device obtains the QoS parameters of each communication link with the second communication device. If it is determined that the QoS parameters of the first communication link used to transmit the target data stream in the multiple communication links do not meet the preset QoS requirements, it sends a first request to the second communication device to request modification of the mapping relationship between the service identifier of the target data stream and the communication link. This realizes fine-grained communication link mapping for services with low latency requirements (such as game services) in the process of multi-communication link communication. It can adaptively optimize according to QoS parameters to meet the service QoS. Especially in scenarios with high wireless channel interference in the current communication link in multiple communication links, when the target service is running simultaneously with multiple other services, it can improve the experience of the target service and enhance the user's perception.

[0105] Based on the above embodiments, as an optional embodiment, if the first response instructs the second communication device to accept the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier of the target service and the communication link. The communication method executed by the second communication device further includes: determining a target communication link for transmitting the target data stream based on the modified mapping relationship; and transmitting the target data stream through the target communication link.

[0106] In other words, if the second communication device receives the first request, it will modify the mapping relationship between the service identifier of the target service and the communication link locally in accordance with the first request. After receiving the first response, the first communication device will also modify the mapping relationship between the service identifier of the target service and the communication link locally in accordance with the first request. As a result, the AP MLD device in the two communication devices will send the data stream of the target service according to the new mapping relationship, and the Non-AP MLD device will receive the data stream of the target service according to the new mapping relationship.

[0107] Based on the above embodiments, as an optional embodiment, receiving the first request sent by the first communication device includes: Receive a communication link mapping request frame sent by the first communication device, wherein the communication link mapping request frame includes the first request; Sending the first response to the first communication device includes: A communication link mapping response frame is sent to the first communication device, the communication link mapping response frame including the first response.

[0108] Based on the above embodiments, as an optional embodiment, the step of receiving the first request sent by the first communication device further includes: Receive a first indication sent by the first communication device, the first indication being used to indicate that the first communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link; Send a second instruction to the first communication device, the second instruction being used to instruct the second communication device to support modifying the mapping relationship between the service identifier of the target data stream and the communication link.

[0109] Based on the above embodiments, as an optional embodiment, receiving the first indication sent by the first communication device includes: Receive a first request frame sent by the first communication device, the first request frame including the first indication; Sending the second instruction to the first communication device includes: Send a first response frame to the first communication device, the first response frame including the second indication; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

[0110] Figure 10 This is a schematic diagram illustrating the implementation environment of a specific application scenario provided by an embodiment of the present invention, according to an exemplary embodiment. The implementation environment of the present invention can be applied to various scenarios such as cloud technology, artificial intelligence, intelligent transportation, and assisted driving. The implementation environment includes at least a game client 110, a user-enabled MLD-supporting terminal 120, an MLD-supporting router 130, and a server 140. Data interaction between the terminal 110, router 130, and server 140 is achieved via the Internet.

[0111] Game client 110 is deployed on terminal 120, and under user control, it runs and navigates between pages. Whether running game client 110 or navigating between pages, game client 110 will receive a page, which will be displayed on terminal 120. The data used to display this page is obtained by terminal 120 through data interaction with server 140 via router 130.

[0112] Server 140 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. There are no restrictions on this.

[0113] When the router 130 and terminal 120 are transmitting game data required by the game client 110, the terminal 120 obtains the QoS parameters of the target data stream. When it detects that the game service is unstable and no longer meets the QoS requirements, it constructs a communication link mapping request frame through the WIFI chip. The communication link mapping request frame includes a first request, which requests modification of the mapping relationship between the service identifier of the target data stream and the communication link. The terminal 120 sends the communication link mapping request frame to the router 130. After receiving the communication link mapping request frame, the router 130 parses the first request and agrees to modify the mapping relationship between the service identifier of the target data stream and the communication link. It then sends a communication link mapping response frame to the terminal 120. The communication link mapping response frame includes a first response, which instructs the second communication device to accept the first request. At the same time, the router 120 uses a new communication link to transmit the game data. This solves the latency and stuttering problem in scenarios where low-latency game services do not undergo fine-grained mapping during the TID mapping process. Especially in scenarios with weak wireless channel environments, when the game service is running simultaneously with multiple services, it can improve the game experience and enhance the user's perception.

[0114] This application provides a first communication device, such as... Figure 11 As shown, the first communication device may include: a sensing module 1101, a request sending module 1102, and a response receiving module 1103, wherein, The sensing module 1101 is used to acquire the Quality of Service (QoS) parameters of each communication link between the second communication device and the second communication device. The request sending module 1102 is used to send a first request to the second communication device if it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements; the first communication link is a communication link used to transmit the target data stream among multiple communication links, and the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; The response receiving module 1103 is used to receive a first response sent by the second communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0115] As an optional embodiment, if the first response indicates that the second communication device accepts the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier of the target service and the communication link; The first communication device also includes: The streaming module is used to determine the target communication link for transmitting the target data stream based on the modified mapping relationship; and to transmit the target data stream through the target communication link.

[0116] As an optional embodiment, the first request includes at least one of the following: The new business identifier for the target data stream requested; The requested communication link identifier of a new communication link that has a mapping relationship with the service identifier of the target data stream.

[0117] As an optional embodiment, the request sending module sends a first request to the second communication device, including: sending a communication link mapping request frame to the second communication device, wherein the communication link mapping request frame includes the first request; The response receiving module receives a first response sent by the second communication device, including: receiving a communication link mapping response frame sent by the second communication device, wherein the communication link mapping response frame includes the first response.

[0118] As an optional embodiment, the first communication device further includes: The first instruction sending module is used to send a first instruction to the second communication device, wherein the first instruction is used to indicate that the first communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link; The second instruction receiving module is used to receive a second instruction returned by the second communication device, the second instruction being used to indicate that the second communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link.

[0119] As an optional embodiment, the first instruction sending module sends a first instruction to the second communication device, including: sending a first request frame to the second communication device, wherein the first request frame includes the first instruction; The second instruction receiving module receives a second instruction returned by the second communication device, including: receiving a first response frame returned by the second communication device, wherein the first response frame includes the second instruction; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

[0120] As an optional embodiment, the QoS parameters may include at least one of the signal strength indicator RSSI and the capacity of the communication link.

[0121] The first communication device in this application embodiment can execute the communication method executed by the first communication device provided in this application embodiment. The implementation principle is similar. The actions performed by each module in the first communication device in each embodiment of this application correspond to the steps in the communication method executed by the first communication device in each embodiment of this application. For detailed functional descriptions of each module of the first communication device, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.

[0122] This application provides a second communication device, such as... Figure 12 As shown, the first communication device may include: a request receiving module 1201 and a response sending module 1202, wherein, The request receiving module 1201 is used to receive a first request sent by the first communication device, wherein the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; The response sending module 1202 is used to send a first response to the first communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; The first request is sent by the first communication device when it determines that the QoS parameters of the first communication link do not meet the preset QoS requirements. The first communication link is a communication link used to transmit the target data stream among multiple communication links. Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0123] As an optional embodiment, if the first response indicates that the second communication device accepts the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier of the target service and the communication link; The second communication device also includes: The streaming module is used to determine the target communication link for transmitting the target data stream based on the modified mapping relationship; and to transmit the target data stream through the target communication link.

[0124] As an optional embodiment, the request receiving module receives a first request sent by a first communication device, including: receiving a communication link mapping request frame sent by the first communication device, wherein the communication link mapping request frame includes the first request; The response sending module sends a first response to the first communication device, including sending a communication link mapping response frame to the first communication device, wherein the communication link mapping response frame includes the first response.

[0125] As an optional embodiment, the second communication device further includes: A first instruction receiving module is configured to receive a first instruction sent by the first communication device, wherein the first instruction is configured to indicate that the first communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link. The second instruction sending module is used to send a second instruction to the first communication device, the second instruction being used to instruct the second communication device to support modifying the mapping relationship between the service identifier of the target data stream and the communication link.

[0126] As an optional embodiment, the first indication receiving module receives a first indication sent by the first communication device, including: Receive a first request frame sent by the first communication device, the first request frame including the first indication; The second instruction sending module sends a second instruction to the first communication device, including: Send a first response frame to the first communication device, the first response frame including the second indication; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

[0127] The second communication device in this application embodiment can execute the communication method executed by the second communication device provided in this application embodiment. The implementation principle is similar. The actions performed by each module in the second communication device in each embodiment of this application correspond to the steps in the communication method executed by the second communication device in each embodiment of this application. For detailed functional descriptions of each module of the second communication device, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.

[0128] This application also provides a communication system, including a first communication device and a second communication device. The first communication device is capable of executing the communication methods provided in the above embodiments, and the second communication device is capable of executing the communication methods provided in the above embodiments, for example: The first communication device is used to acquire the Quality of Service (QoS) parameters of each communication link between itself and the second communication device; if it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements, it sends a first request to the second communication device; the first communication link is a communication link among multiple communication links used to transmit the target data stream, and the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; The second communication device is configured to receive a first request sent by the first communication device, the first request being used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; and to send a first response to the first communication device, the first response being used to instruct the second communication device to accept or reject the first request. The first communication device is also configured to receive a first response sent by the second communication device; Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

[0129] This application provides an electronic device including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps of the communication method. Compared with related technologies, it can achieve the following: the first communication device can be either a Non-AP MLD device or an AP MLD device, thereby improving the flexibility of adjusting the mapping relationship. The first communication device obtains the QoS parameters of each communication link with the second communication device. If it is determined that the QoS parameters of the first communication link used to transmit the target data stream in the multiple communication links do not meet the preset QoS requirements, it sends a first request to the second communication device to modify the mapping relationship between the service identifier of the target data stream and the communication link. This realizes fine-grained communication link mapping for services with low latency requirements (such as game services) in the multi-communication link communication process. It can adaptively optimize according to the QoS parameters to meet the service QoS. Especially in scenarios with high wireless channel interference in the current communication link of multiple communication links, when the target service is carried out simultaneously with multiple other services, it can improve the experience of the target service and enhance the user's perception.

[0130] In one alternative embodiment, an electronic device is provided, such as Figure 13 As shown, Figure 13The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of this application.

[0131] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0132] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, bus 4002 is represented by only one thick line in the figure, but this does not indicate that there is only one bus or one type of bus.

[0133] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium capable of carrying or storing computer programs and capable of being read by a computer, without limitation herein.

[0134] The memory 4003 is used to store computer programs that execute the embodiments of this application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer programs stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.

[0135] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement the steps and corresponding content of the aforementioned method embodiments.

[0136] This application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments.

[0137] The terms "first," "second," "third," "fourth," "1," "2," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that shown in the illustrations or text descriptions.

[0138] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.

[0139] The above description is only an optional implementation method for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application without departing from the technical concept of this application also fall within the protection scope of the embodiments of this application.

Claims

1. A communication method, characterized in that, Performed by a first communication device, the method includes: Obtain the Quality of Service (QoS) parameters for each communication link between the device and the second communication device. If it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements, a first request is sent to the second communication device; the first communication link is a communication link used to transmit the target data stream among multiple communication links, and the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; Receive a first response sent by the second communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

2. The method according to claim 1, characterized in that, If the first response instructs the second communication device to accept the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier and the communication link of the target service. The method further includes: Based on the modified mapping relationship, determine the target communication link for transmitting the target data stream; The target data stream is transmitted through the target communication link.

3. The method according to claim 1 or 2, characterized in that, The first request includes at least one of the following: The new business identifier for the target data stream requested; The requested communication link identifier of a new communication link that has a mapping relationship with the service identifier of the target data stream.

4. The method according to claim 1, characterized in that, Sending the first request to the second communication device includes: Send a communication link mapping request frame to the second communication device, the communication link mapping request frame including the first request; The receipt of the first response sent by the second communication device includes: The system receives a communication link mapping response frame sent by the second communication device, the communication link mapping response frame including the first response.

5. The method according to claim 1, characterized in that, Before sending the first request to the second communication device, the following steps are also included: Send a first instruction to the second communication device, the first instruction being used to instruct the first communication device to support modifying the mapping relationship between the service identifier of the target data stream and the communication link; The second instruction returned by the second communication device is received, the second instruction being used to indicate that the second communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link.

6. The method according to claim 5, characterized in that, Sending the first instruction to the second communication device includes: Send a first request frame to the second communication device, the first request frame including the first indication; The receipt of the second instruction returned by the second communication device includes: Receive a first response frame returned by the second communication device, the first response frame including the second indication; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

7. A communication method, characterized in that, Performed by a second communication device, the method includes: Receive a first request sent by a first communication device, the first request being used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; Send a first response to the first communication device, the first response being used to instruct the second communication device to accept or reject the first request; The first request is sent by the first communication device when it determines that the QoS parameters of the first communication link do not meet the preset QoS requirements. The first communication link is a communication link used to transmit the target data stream among multiple communication links. When the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

8. The method according to claim 7, characterized in that, If the first response instructs the second communication device to accept the first request, then both the first and second communication devices locally modify the mapping relationship between the service identifier and the communication link of the target service. The method further includes: Based on the modified mapping relationship, determine the target communication link for transmitting the target data stream; The target data stream is transmitted through the target communication link.

9. The method according to claim 7, characterized in that, The receiving of the first request sent by the first communication device includes: Receive a communication link mapping request frame sent by the first communication device, wherein the communication link mapping request frame includes the first request; Sending the first response to the first communication device includes: A communication link mapping response frame is sent to the first communication device, the communication link mapping response frame including the first response.

10. The method according to claim 7, characterized in that, Before receiving the first request sent by the first communication device, the following steps are also included: Receive a first indication sent by the first communication device, the first indication being used to indicate that the first communication device supports modifying the mapping relationship between the service identifier of the target data stream and the communication link; Send a second instruction to the first communication device, the second instruction being used to instruct the second communication device to support modifying the mapping relationship between the service identifier of the target data stream and the communication link.

11. The method according to claim 10, characterized in that, The receipt of the first instruction sent by the first communication device includes: Receive a first request frame sent by the first communication device, the first request frame including the first indication; Sending the second instruction to the first communication device includes: Send a first response frame to the first communication device, the first response frame including the second indication; Wherein, if the first request frame is an associated request frame, then the first response frame is an associated response frame; if the first request frame is a re-associated request frame, then the first response frame is a re-associated response frame.

12. A first communication device, characterized in that, include: The sensing module is used to acquire the Quality of Service (QoS) parameters of each communication link between the second communication device and the second communication device. The request sending module is used to send a first request to the second communication device if it is determined that the QoS parameters of the first communication link do not meet the preset QoS requirements; the first communication link is a communication link used to transmit the target data stream among multiple communication links, and the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; A response receiving module is configured to receive a first response sent by the second communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

13. A second communication device, characterized in that, include: The request receiving module is used to receive a first request sent by the first communication device, wherein the first request is used to request modification of the mapping relationship between the service identifier of the target data stream and the communication link; A response sending module is used to send a first response to the first communication device, wherein the first response is used to instruct the second communication device to accept or reject the first request; The first request is sent by the first communication device when it determines that the QoS parameters of the first communication link do not meet the preset QoS requirements. The first communication link is a communication link used to transmit the target data stream among multiple communication links. Wherein, when the first communication device is a Non-AP MLD device, the second communication device is an AP MLD device; when the first communication device is an AP MLD device, the second communication device is a Non-AP MLD device.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the communication method according to any one of claims 1-11.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the communication method according to any one of claims 1-11.

16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the communication method according to any one of claims 1-11.