Communication link adjustment method, communication device and communication system

By utilizing multi-link operation technology in a wireless network, the first service flow is transmitted on the first link and the second link, and a point-to-point connection is established with the second target device on the third link, the delay and rate problems caused by device channel switching are solved, and the user experience is improved.

CN119854967APending Publication Date: 2025-04-18HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311306785.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-09
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In wireless networks, the increased delay, decreased transmission rate and lag caused by the device during channel switching affect the user experience.

Method used

By transmitting the first traffic flow on the first link and the second link and establishing a point-to-point connection with the second target device on the third link, the transmission of the first traffic flow on the first link is aborted, and switching back and forth between different channels is avoided.

Benefits of technology

It effectively avoids the increase in delay and the decrease in transmission rate caused by channel switching, improves the user experience, and improves the transmission speed of P2P services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854967A_ABST
    Figure CN119854967A_ABST
Patent Text Reader

Abstract

The invention provides a communication link adjustment method, communication equipment and a communication system, and the method comprises the steps: building connection with first target equipment through a first link and a second link, so as to access a network; wherein the first link is located at a first frequency band, and the second link is located at a second frequency band; transmitting the first service flow based on the first link and the second link; establishing point-to-point connection with a second target device through a third link, wherein the third link is located at the first frequency band; stopping transmitting the first service flow on the first link, and transmitting the second service flow with the second target device on a third link; and after the third link is disconnected, the transmission of the first service flow on the first link is recovered. When the second service flow is transmitted, switching between different channels of the first frequency band can be avoided, and the situation that the transmission rate of the second service flow is affected due to the fact that the first service flow occupies the bandwidth of the channel corresponding to the first frequency band can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal equipment, and specifically to a communication link adjustment method, communication equipment, and a communication system. Background Art

[0002] Wireless Fidelity (Wi-Fi) is a technology based on radio wave data transmission. It connects electronic devices to the Internet or other electronic devices through wireless signals, providing users with wireless network connection and access services. STA service, P2P service and SAP service are three different working modes in wireless networks.

[0003] Based on Wi-Fi technology, device 1 can access access point AP1, and the link between the two is, for example, a 5G link, and the STA service of device 1 is in channel A, so that device 1 can access the network and provide Internet access services. Device 2 can access access point AP2, and the link between the two is, for example, a 5G link, and the STA service of device 2 is in channel B, so that device 2 can access the network and provide Internet access services. When a P2P connection is established between device 1 and device 2 to implement P2P services such as screen projection and file transfer, device 1 will give priority to channel A for P2P services, and device 2 will give priority to channel B for P2P services. So, no matter which channel is selected, for device 1 and device 2, there must be a device whose STA service and P2P service are in the same frequency (5G frequency band) but on different channels. For example, the STA service of device 1 is in channel A and the P2P service is in channel B.

[0004] Then for device 1, it is necessary to switch back and forth between channel A and channel B to ensure the smooth progress of STA services and P2P services. However, channel switching will cause both services to experience increased latency, reduced transmission rate or freezes, affecting user experience. Summary of the invention

[0005] The embodiments of the present application provide a communication link adjustment method, a communication device, and a communication system to solve the problem that the transmission rate decreases due to the need for the device to repeatedly switch channels.

[0006] In the first aspect, an embodiment of the present application provides a communication link adjustment method, including: establishing a connection with a first target device through a first link and a second link to access a network; wherein the first link is located in a first frequency band, and the second link is located in a second frequency band; transmitting a first service flow based on the first link and the second link; establishing a point-to-point connection with a second target device through a third link, and the third link is located in the first frequency band; terminating the transmission of the first service flow on the first link, and transmitting the second service flow with the second target device on the third link; after the third link is disconnected, resuming the transmission of the first service flow on the first link. In this way, when transmitting the second service flow, the method of the present application can avoid switching back and forth between different channels in the first frequency band, and can avoid the first service flow occupying the bandwidth of the corresponding channel of the first frequency band, affecting the transmission rate of the second service flow.

[0007] In an achievable manner, after the step of establishing a point-to-point connection with the second target device via the third link, the method further includes: determining a target channel for the point-to-point connection with the second target device, where the target channel is one of a plurality of channels corresponding to the third link. In this way, the channel for transmitting the second service flow can be determined.

[0008] In one implementable manner, the steps of terminating transmission of the first business flow on the first link and transmitting the second business flow with the second target device on the third link include: if the point-to-point connection type with the second target device is the first connection type, terminating transmission of the first business flow on the first link, and transmitting the second business flow with the second target device on the target channel; the first connection type corresponds to the second business flow being a non-real-time business flow; if the point-to-point connection type with the second target device is the second connection type, obtaining the channel number of the first channel; the second connection type corresponds to the second business flow being a real-time data flow; the first channel is the channel corresponding to the first link for transmitting the first business flow; if the channel number of the target channel is different from the channel number of the first channel, terminating transmission of the first business flow on the first link, and transmitting the second business flow with the second target device on the target channel.

[0009] The embodiment of the present application provides two ways to terminate the transmission of the first service flow on the first link. The first way is to directly terminate the transmission of the first service flow on the first link, and the second way is to terminate the transmission of the first service flow on the first link when the channel transmitting the first service flow is not the same as the channel transmitting the second service flow. The embodiment of the present application can enable the upper layer application to determine the termination steps based on the actual situation such as the type of P2P. In this way, for P2P services that need to be transmitted as quickly as possible, such as file transfer, the first way can be used, and for P2P services that do not need to be transmitted as quickly as possible but need to be transmitted continuously and stably, such as screen projection, the second way can be used, which can improve the user experience.

[0010] In an achievable manner, the method further includes: if the channel number of the target channel is the same as the channel number of the first channel, the time is divided into a plurality of first time slots and a plurality of second time slots, and the plurality of first time slots and the plurality of second time slots are arranged in sequence according to a preset order; when the first time slot arrives, the first service flow is transmitted on the target channel; when the second time slot arrives, the second service flow is transmitted on the target channel. In this way, it is possible to ensure that the first service flow and the second service flow will not collide in the same time period, and the channel utilization rate and transmission efficiency can also be improved.

[0011] In one achievable manner, the step of determining a target channel for a point-to-point connection with a second target device includes: receiving a first connection response frame from the second target device, the first connection response frame carrying capability information; parsing the first connection response frame to obtain capability information, and determining whether the second target device supports association between a device MAC address and a link MAC address based on the capability information; receiving a first negotiation request frame from the second target device, the first negotiation request frame carrying a first channel number; wherein the first channel number is the channel number of a preferred channel of the second target device; in response to the first negotiation request frame, if the second target device does not support association between a device MAC address and a link MAC address, sending a first negotiation response frame to the second target device, the first negotiation response frame carrying the first channel number and a first intention value, the first intention value being equal to a minimum value in an optional range of the intention value; receiving a first negotiation confirmation frame from the second target device, the first negotiation confirmation frame carrying a target channel number, the target channel number corresponding to the target channel, the target channel number being determined by the second target device based on the first intention value, and the target channel number being the same as the first channel number.

[0012] The step of determining a target channel for a point-to-point connection with a second target device also includes: receiving a first connection request frame from the second target device, the first connection request frame carrying capability information; parsing the first connection request frame to obtain capability information, and determining whether the second target device supports association between a device MAC address and a link MAC address based on the capability information; sending a second negotiation request frame to the second target device, the second negotiation request frame including at least a second intention value; wherein, when the second target device does not support association between a device MAC address and a link MAC address, the second intention value is equal to a minimum value in an optional range of intention values; receiving a second negotiation response frame from the second target device, the second negotiation response frame carrying a target channel number, the target channel number corresponding to the target channel, the target channel number being determined by the second target device based on the second intention value, and the target channel number being the same as the first channel number.

[0013] In this way, when the second target device does not have the MLO capability, the second target device can be made a GO. After the second target device becomes a GO, the target channel for transmitting the second service flow can be determined as its preferred channel. In this way, the channel for the second target device to perform Internet access services can be the same as the channel for performing P2P services, which can avoid the second target device from repeatedly switching channels, and thus avoid the problems of high latency and slow transmission rate caused by repeated channel switching. Therefore, both the third target device and the second target device can avoid repeated channel switching, and the rate of P2P services can be guaranteed.

[0014] In an achievable manner, the first connection request frame also carries type information; after the step of receiving the first connection request frame from the second target device, the step further includes: parsing the first connection request frame to obtain the type information to determine the type of the point-to-point connection. In this way, the third target device can determine which method to use to terminate the transmission of the first service flow on the first link.

[0015] In an achievable manner, the step of suspending transmission of the first service flow on the first link includes: sending a first mapping request to the first target device through the first link, so that the first target device maps all of the first service flow to the second link based on the first mapping request; or, putting the first link into sleep mode; and sending a sleep frame to the first target device through the first link, so as to inform the first target device to mark the first link as a sleep state. In this way, transmission of the first service flow on the first link can be suspended.

[0016] In an achievable manner, the step of resuming transmission of the first service flow on the first link includes: sending a second mapping request to the first target device through the first link, so that the first target device remaps the first service flow to the first link based on the second mapping request; or waking up the first link; and sending a wake-up frame to the first target device through the first link to inform the first target device to mark the first link as awake. In this way, transmission of the first service flow on the first link can be resumed.

[0017] In one achievable manner, the first frequency band is 5 GHz and the second frequency band is 2.4 GHz, or the first frequency band is 2.4 GHz and the second frequency band is 5 GHz.

[0018] In a second aspect, an embodiment of the present application further provides a communication link adjustment method, comprising: establishing a point-to-point connection with a third target device via a third link, the third link being located in a first frequency band; and transmitting a second service flow with the third target device on the third link. In this way, a P2P connection can be achieved.

[0019] In an achievable manner, after the step of establishing a point-to-point connection with the third target device via the third link, the method further includes: determining a target channel for the point-to-point connection with the third target device, where the target channel is one of the multiple channels corresponding to the third link. In this way, the channel for transmitting the second service flow can be determined.

[0020] In one implementable manner, the step of determining a target channel for a point-to-point connection with a third target device includes: sending a first connection response frame to the third target device, the first connection response frame carrying capability information, the capability information indicating whether association between the device MAC address and the link MAC address is supported; sending a first negotiation request frame to the third target device, the first negotiation request frame carrying a first channel number; wherein the first channel number is the channel number of the currently preferred channel; receiving a first negotiation response frame from the third target device, the first negotiation response frame carrying the first channel number and a first intention value, the first intention value being equal to the minimum value in an optional range of intention values; in response to the first negotiation response frame, determining a channel corresponding to the first channel number as a target channel based on the first intention value; sending a first negotiation confirmation frame to the third target device, the first negotiation confirmation frame carrying a target channel number, the target channel number corresponding to the target channel.

[0021] The step of determining a target channel for a point-to-point connection with a third target device also includes: sending a first connection request frame to the third target device, the first connection request frame carrying capability information; receiving a second negotiation request frame sent from the third target device, the second negotiation request frame including at least a second intention value, the second intention value being equal to a maximum value in an optional range of intention values; in response to the second negotiation request frame, sending a second negotiation response frame to the third target device based on the second intention value, the second negotiation response frame carrying a target channel number.

[0022] In the embodiment of the present application, the third target device can be selected to become a GC so that the current device (the second target device) becomes a GO, and the second target device can determine the target channel as the preferred channel of the second target device. In this way, the channel for the second target device to perform Internet access services can be the same channel as the channel for performing P2P services, which can avoid the second target device from repeatedly switching channels, and further avoid the problems of high latency and slow transmission rate caused by repeated channel switching. Therefore, both the third target device and the second target device can avoid repeated channel switching, and the rate of P2P services can be guaranteed.

[0023] In a third aspect, the embodiment of the present application also provides a communication link adjustment method, including: establishing a connection with a third target device through a first link and a second link; wherein the first link is located in a first frequency band, and the second link is located in a second frequency band; transmitting a first service flow with the third target device based on the first link and the second link; suspending the transmission of the first service flow on the first link in response to a request from the third target device; and, in response to a request from the third target device, resuming the transmission of the first service flow on the first link. In this way, the third target device can realize Internet access services and P2P services at the same time, and there is no channel conflict between the Internet access services and the P2P services, which can provide users with a good user experience.

[0024] In an achievable manner, in response to a request from the third target device, the step of terminating transmission of the first service flow on the first link includes: receiving a first mapping request from the third target device in the first link, and mapping the first service flow to the second link using the first mapping request; or receiving a sleep frame from the third target device in the first link, and marking the first link as a sleep state. In this way, transmission of the first service flow on the first link can be terminated.

[0025] In an achievable manner, in response to a request from the third target device, the step of resuming transmission of the first service flow on the first link further includes: receiving a second mapping request from the third target device in the first link, and remapping the first service flow to the first link using the second mapping request; or receiving a wake-up frame from the third target device in the first link, and marking the first link as a wake-up state. In this way, transmission of the first service flow on the first link can be resumed.

[0026] In a fourth aspect, an embodiment of the present application further provides a communication device, comprising a processor and a memory, wherein the memory stores program instructions. When the program instructions are executed by the processor, the communication device executes the communication link adjustment method in the first aspect and its various implementation methods.

[0027] In a fifth aspect, an embodiment of the present application further provides a communication device, comprising a processor and a memory, wherein the memory stores program instructions. When the program instructions are executed by the processor, the communication device executes the communication link adjustment method as in the second aspect and its various implementation methods.

[0028] In a sixth aspect, an embodiment of the present application further provides a communication device, comprising a processor and a memory, wherein the memory stores program instructions. When the program instructions are executed by the processor, the communication device executes the communication link adjustment method as in the third aspect and its various implementation methods.

[0029] In a seventh aspect, a communication system comprises the communication device according to the fourth aspect, the communication device according to the fifth aspect, and the communication device according to the sixth aspect.

[0030] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes a communication link adjustment method as described in the above aspects and any implementation method.

[0031] In a ninth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes a communication link adjustment method as described in the above aspects and any implementation method.

[0032] It can be understood that the electronic devices, computer-readable storage media and computer program products provided in the above-mentioned aspects are all applied to the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 Schematic diagram of the scenario in which STA service and P2P service are established for the device at the same time;

[0034] Figure 2 A schematic diagram of the hardware structure of a multi-link device provided in an embodiment of the present application;

[0035] Figure 3 A software structure diagram of a multi-link device provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of a data interaction process between multi-link devices provided in an embodiment of the present application;

[0037] Figure 5 A first flow chart of a communication link adjustment method provided in an embodiment of the present application;

[0038] Figure 6 A schematic diagram of a first application of the communication link adjustment method provided in an embodiment of the present application;

[0039] Figure 7 A schematic diagram of a sub-process of a communication link adjustment method provided in an embodiment of the present application;

[0040] Figure 8 A second application diagram of the communication link adjustment method provided in an embodiment of the present application;

[0041] Fig. 9 A third application schematic diagram of the communication link adjustment method provided in an embodiment of the present application;

[0042] Fig.10 A schematic diagram of a first process for determining a target channel provided in an embodiment of the present application;

[0043] Fig.11 A schematic diagram of a second process for determining a target channel provided in an embodiment of the present application;

[0044] Fig.12 A third flow chart of determining a target channel provided in an embodiment of the present application;

[0045] Fig.13 A fourth flow chart of determining a target channel provided in an embodiment of the present application;

[0046] Fig.14 A second flow chart of the communication link adjustment method provided in an embodiment of the present application;

[0047] Fig.15 A fifth flow chart of determining a target channel provided in an embodiment of the present application;

[0048] Fig.16 A sixth flow chart of determining a target channel provided in an embodiment of the present application;

[0049] Fig.17 A third flow chart of the communication link adjustment method provided in an embodiment of the present application;

[0050] Fig.18 A schematic diagram of the structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The technical solution of the embodiment of the present application will be clearly described below in conjunction with the drawings in the embodiment of the present application.

[0052] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0053] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0054] The following first briefly explains the technical terms involved in the embodiments of the present application.

[0055] 1. Wireless Fidelity (Wi-Fi) is a technology based on radio wave data transmission. It connects electronic devices to the Internet or other electronic devices through wireless signals, providing users with wireless network connection and access services.

[0056] 2. Access Point (AP) and Station (STA): AP and STA are two important roles in Wi-Fi technology. Specifically, AP is a device or network node that can provide a central connection point for a wireless network. AP is usually implemented by a router or a dedicated wireless access point device. As a central connection point, AP allows other wireless devices (such as STA) to connect and access network resources. AP is specifically responsible for forwarding data packets, managing wireless connections, assigning IP addresses, etc.

[0057] STA refers to a wireless device or terminal device that acts as a client, such as a mobile phone, computer, tablet, etc. STA establishes a connection with the AP through wireless signals and obtains network access rights from the AP. STA can send requests to the AP to access network resources and receive data transmitted from the network.

[0058] In a wireless network, a master-slave relationship is established between AP and STA. AP, as the master device, is responsible for managing and controlling access to the wireless network and allocating resources. STA, as the slave device, obtains network access rights by establishing a connection with AP and can use the network resources provided by AP for data transmission and communication.

[0059] 3. STA (Station) service, P2P (Peer-to-Peer) service and SAP (Soft Access Point) service: STA service, P2P service and SAP service are three different working modes in wireless network. STA service refers to a wireless network established by connecting a device to a central access point (usually a wireless access point or router) as a subsidiary station. In STA mode, the device connects to the network through the access point and exchanges data through the access point. Communication between devices needs to be transferred through the access point.

[0060] P2P services refer to direct point-to-point communication between devices. In a P2P network, each device can act as a sender and a receiver. P2P services are usually used for direct file sharing, real-time streaming media, or direct communication, such as file sharing software and screen projection. P2P services are generally based on Wi-Fi Direct technology. Wi-Fi Direct is a technology for direct communication between wireless devices. It allows two or more wireless devices to directly establish a point-to-point connection without a traditional wireless router or other central access point.

[0061] SAP services are established by devices that support this mode. These devices are usually devices with wireless communication capabilities, such as smartphones, laptops, tablets, and other devices that can connect to wireless networks. In the SAP mode, a certain device acts as the central node of the network, and devices can directly connect and communicate with each other without relying on a central access point. This device will emit a specific wireless signal, and other devices can scan the signal and choose to connect to the device to communicate in the SAP network. In layman's terms, SAP services refer to hotspot services between devices.

[0062] 4. 2.4GHz, 5GHz and 6GHz: 2.4GHz, 5GHz and 6GHz refer to the frequency bands or frequency ranges commonly used in wireless communications. The specific meanings are as follows:

[0063] 2.4GHz band: represents the 2.4GHz frequency range. In wireless communications, 2.4GHz is widely used in technologies such as Wi-Fi (IEEE 802.11b / g / n) and Bluetooth. The 2.4GHz band has good signal penetration and a longer transmission distance. 5GHz band: represents the 5GHz frequency range. In wireless communications, 5GHz is mainly used in technologies such as Wi-Fi (IEEE 802.11a / n / ac). Compared with the 2.4GHz band, the 5GHz band has a higher data transmission rate and less interference. 6GHz band: represents the 6GHz frequency range.

[0064] In the 2.4GHz band, wireless networks have channels available from 1 to 13, each of which occupies about 20MHz of bandwidth. In the 5GHz band, wireless networks have more channels available, usually channels 36 to 48, channels 52 to 64, and channels 149 to 165, and the bandwidth of each channel can be 20MHz, 40MHz, 80MHz, or 160MHz.

[0065] In some cases, the available channels corresponding to the 2.4 GHz frequency band may further include channel 14. The available channels corresponding to the 5 GHz frequency band may further include channels 138 to 196.

[0066] 5. GO Negotiation: GO negotiation refers to the group owner (GO) election process in Wi-Fi Direct technology. In a Wi-Fi Direct network, devices can select a device as a GO through the GO negotiation process, which is responsible for managing connections and providing network services. When devices want to establish a Wi-Fi Direct connection, they will send a GO negotiation request and carry information about themselves. After receiving this request, other devices will evaluate the information received and then decide whether to participate in the GO election. In the GO election, devices determine which device will become the group owner by comparing their respective capabilities and priorities. The group owner is responsible for creating a Wi-Fi Direct network and providing network services, and other devices become members of the network (Group Client, GC). In practical applications, the group owner plays an important role in determining the channel for communication between devices.

[0067] Figure 1 Schematic diagram of a scenario in which STA services and P2P services are established for a device at the same time.

[0068] like Figure 1 As shown, based on Wi-Fi technology, device 1 can access AP1, the link between the two can be a 5G link, and the STA service of device 1 is in channel A. Device 2 can access AP2, the link between the two can also be a 5G link, and the STA service of device 2 is in channel B. When a P2P connection is established between device 1 and device 2 to realize P2P services such as screen projection and file transfer, device 1 and device 2 can perform GO negotiation. At this time, device 1 will give priority to channel A for P2P services, and device 2 will give priority to channel B for P2P services. Then, regardless of the result of the GO negotiation, for device 1 and device 2, there must be a device whose STA service and P2P service are in the same frequency (5G frequency band) but on different channels. For example, the STA service of device 1 is in channel A and the P2P service is in channel B.

[0069] Then for device 1, it is necessary to switch back and forth between channel A and channel B to ensure the smooth progress of STA services and P2P services. However, channel switching will cause both services to experience increased latency, reduced transmission rate or freezes, affecting user experience.

[0070] To solve the above problems, an embodiment of the present application provides a communication link adjustment method.

[0071] The seventh generation wireless local area network (Wi-Fi 7) protocol specification provides an electronic device that supports multi-link operation (Mult Link Operation, MLO). This electronic device that supports MLO can use multiple links to connect at the same time and provide functions such as load balancing, fault tolerance and adaptive adjustment. In the embodiment of the present application, based on the Wi-Fi 7 protocol, the electronic device that supports MLO can simultaneously exchange data on two or more links. Electronic devices that support MLO are usually called multi-link devices (Multi-Link Device, MLD).

[0072] The communication link adjustment method provided in the embodiment of the present application is implemented based on the Wi-Fi 7 protocol and MLD devices. Among them, MLD devices include but are not limited to mobile phones, tablet computers, personal computers, workstation devices, large-screen devices (such as smart screens, smart TVs, etc.), wearable devices (such as smart bracelets, smart watches), handheld game consoles, home game consoles, virtual reality devices, augmented reality devices, mixed reality devices, etc., in-vehicle smart terminals, etc.

[0073] Figure 2 A schematic diagram of the hardware structure of a multi-link device (communication device) provided in an embodiment of the present application.

[0074] like Figure 2 As shown, the communication device 100 may include a processor 110, a memory 120, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, a camera 192, a display screen 193, and a subscriber identification module (SIM) card interface 194, etc.

[0075] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the communication device 100. In other embodiments of the present application, the communication device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0076] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0077] The memory 120 can be used to store computer executable program codes, which include instructions. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the communication device 100 (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the communication device 100 by running instructions stored in the memory 120, and / or instructions stored in a memory provided in the processor.

[0078] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the communication device 100, and can also be used to transmit data between the communication device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0079] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the communication device 100. In other embodiments of the present application, the communication device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0080] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the communication device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0081] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the memory 120, the display screen 193, the camera 192, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0082] The wireless communication function of the communication device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0083] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the communication device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0084] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the communication device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0085] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 193. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0086] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the communication device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0087] In some embodiments, the antenna 1 of the communication device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the communication device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0088] The software system of the communication device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the communication device 100.

[0089] Figure 3 This is a software structure block diagram of a multi-link device according to an embodiment of the present application.

[0090] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0091] The application layer can include a series of application packages.

[0092] like Figure 3 As shown, the application package may include applications such as battery management, camera, gallery, calendar, call, map, navigation, music, video, short message, etc.

[0093] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0094] like Figure 3 As shown, the application framework layer may include a window manager, an input manager, a sensor manager, a phone manager, a resource manager, a notification manager, and the like.

[0095] The input manager may be used to monitor user input events, such as click events and slide events performed by the user's finger on the display screen 193 of the communication device 100. By monitoring the input events, the communication device 100 may determine whether the electronic device is being used.

[0096] The sensor manager is used to monitor the data returned by various sensors in the electronic device, such as motion sensor data, proximity light sensor data, temperature sensor data, etc. Using the data returned by each sensor, the electronic device can determine whether it is shaking, or whether the display screen 193 is blocked, etc.

[0097] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0098] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0099] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0100] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0101] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0102] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0103] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0104] A 2D graphics engine is a drawing engine for 2D drawings.

[0105] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0106] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the communication device 100. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0107] Figure 4 A schematic diagram of the data interaction process between multi-link devices provided in an embodiment of the present application.

[0108] like Figure 4 As shown, the data interaction process between multi-link devices usually includes access point (AP) MLD and non-access point (Non Access Point, Non AP) MLD. AP MLD can interact with Non AP MLD.

[0109] The upper MAC sublayer of the AP MLD usually includes a media access control service access point (MAC-SAP). The MAC-SAP is an interface provided by the MAC layer to the upper protocol stack to implement the interaction between the upper protocol stack and the MAC layer. The MAC-SAP defines a set of interfaces and functions so that the upper protocol stack can communicate with the MAC layer. For example, the upper protocol can send data frames to the MAC layer by calling the interface, or monitor the interface to receive data frames from the MAC layer.

[0110] The lower MAC sublayer of the AP MLD generally includes multiple access points AP, such as AP1 and AP2, wherein each AP has a corresponding MAC address in the lower MAC sublayer, and for example, the MAC address (addr) corresponding to AP1 is w, and the MAC addr corresponding to AP2 is x. AP1 can be connected to the link 1 (Link1) of the physical layer to send and receive data according to Link1, and AP2 can be connected to the link 2 (Link2) of the physical layer to send and receive data according to Link2.

[0111] The upper MAC sublayer of the Non AP MLD usually defines the MLD as a Media Access Control-Station (MAC-STA). The MAC-STA can establish a connection with the MAC-SAP, obtain the wireless channel allocated to itself, and use the channel for wireless transmission.

[0112] The lower MAC sublayer of Non AP MLD generally includes multiple subordinate stations (Station, STA), for example, including STA1 and STA2, wherein each STA has a corresponding MAC address in the lower MAC sublayer, for example, the MAC addr corresponding to STA1 is y, and the MAC addr corresponding to STA2 is z. STA1 can be connected to link 1 of the physical layer to send and receive data according to link 1, and STA2 can be connected to link 2 of the physical layer to send and receive data according to the second link.

[0113] In this way, dual link connection can be achieved between AP MLD and Non AP MLD. In practical applications, the number of access points can be three, corresponding to 2.4 GHz, 5 GHz and 6 GHz respectively. The number of auxiliary stations can also be three. Multiple connections can be established between an access point and an auxiliary station, not limited to Link 1 and Link 2.

[0114] In the embodiment of the present application, based on the Wi-Fi 7 protocol, the MLD device can allocate a frequency band specifically for P2P services and another frequency band for STA services. In this way, no matter which channel the P2P service is on, there is no channel conflict between the STA service and the P2P service. Therefore, the communication link adjustment method provided in the embodiment of the present application can increase the transmission speed of the P2P service, reduce its delay, reduce the occurrence of freezes, and improve the user experience.

[0115] Figure 5 A first flow chart of a communication link adjustment method provided in an embodiment of the present application;

[0116] Figure 6A schematic diagram of a first application of the communication link adjustment method provided in an embodiment of the present application.

[0117] like Figure 5 and Figure 6 As shown, the communication link adjustment method provided in the embodiment of the present application may include the following steps S100-S500. The method provided in the embodiment of the present application may be applied to a multi-link device MLD supporting multi-link operation MLO, and the device is a non-access point, such as a smart phone, a tablet computer, a laptop computer, etc. In the embodiment of the present application, the device is referred to as a third target device.

[0118] S100: Establishing a connection with a first target device via a first link and a second link to access a network; wherein the first link is located in a first frequency band, and the second link is located in a second frequency band.

[0119] The first link and the second link may be two physical links between the third target device and the first target device. The first target device may be an MLD supporting MLO, and the first target device may be an access point (AP) in a wireless local area network to provide network access services, so that the wireless terminal device can access the network. For example, the first target device may be a router. In practical applications, the first network device may be responsible for forwarding the data stream of the wireless terminal device to the network and realizing communication with other devices.

[0120] In an embodiment of the present application, the first target device, as an MLD device, may provide two APs: AP1 and AP2. AP1 is used to establish a first link with the third target device, and AP2 is used to establish a second link with the third target device. In practical applications, AP1 may be an access point of the first frequency band, so that the first link established based on AP1 may be located in the first frequency band, and the first frequency band may be, for example, 5 GHz. AP2 may be an access point of the second frequency band, and the second link established based on AP2 may be located in the second frequency band, and the second frequency band may be, for example, 2.4 GHz. The third target device may include two subsidiary stations: STA1 and STA2. STA1 may access AP1 to establish a first link, and STA2 may access AP2 to establish a second link.

[0121] It should be noted that, in the embodiment of the present application, the first target device and the third target device are devices supporting Real Simultaneous Dual Band (RSDB). In this way, the first target device and the second target device support transmitting service flows in the first frequency band and the second frequency band at the same time.

[0122] In some implementations, the first target device may also provide other access points and establish links with the third target device in other frequency bands, such as establishing a link in the 6 GHz frequency band, which is not specifically limited in the embodiments of the present application.

[0123] In the embodiment of the present application, the first link and the second link can be established first. Exemplarily, the third target device can turn on the wireless network function, scan the available wireless signals around it, obtain the nearby available Wi-Fi network name (SSID) and other related information, such as signal strength and encryption type, etc., and then select a network that supports dual links to connect and authenticate. After the first target device receives the connection request and authentication information of the third target device, it can verify the identity information. After passing the verification, the first link and the second link can be directly established between the first target device and the third target device.

[0124] Further, the process of establishing a connection with the first target device through the first link and the second link may include: after the first link and the second link are established, requesting an IP address from the first target device through the Dynamic Host Configuration Protocol (DHCP) or other means, and after the third target device receives the IP address, it may negotiate network configuration with the first target device, and the first target device may provide network parameters such as a subnet mask, a default gateway, etc. Afterwards, the third target device may establish a logical link using the obtained IP address and the configured network parameters.

[0125] Furthermore, after the logical link is established, data transmission can be performed between the third target device and the first target device.

[0126] It should be additionally explained that the process of establishing the first link and the second link, and establishing a connection with the first target device through the first link and the second link may also be referred to as a process of establishing an MLO connection between the Non-AP MLD and the AP MLD.

[0127] It is worth noting that there is a clear difference between MLO connection and dual Wi-Fi technology. MLO connection can establish two links based on a single connection, and the negotiation of multi-link capabilities and information can also be completed on a single link. The two links each have a MAC address, and the data of the two links can be aggregated at the MAC layer, that is, link aggregation is achieved across different physical links in the MAC layer. For upper-layer applications, dual-link data transmission is not perceptible. Dual Wi-Fi technology requires network connection through two Wi-Fi interfaces and assigns two IP addresses. The data of the two links will be aggregated at the TCP layer. In actual applications, dual Wi-Fi technology needs to establish two connections, and dual Wi-Fi technology generally requires upper-layer applications to support the establishment of multiple TCP connections.

[0128] S200: Transmit a first service flow based on the first link and the second link.

[0129] It can be understood that after the Non-AP MLD (third target device) establishes an MLO connection with the AP MLD (first target device), the third target device can access the network and transmit the first service flow through the first link and the second link. This process is also called STA service, and the first service flow is also called the service flow of STA service. Specifically, part of the first service flow of the third target device can be transmitted through the first link, and part of the first service flow can be transmitted through the second link. The first service flow is, for example, a data packet (QoSData) processed and scheduled by Quality of Service (QoS).

[0130] Exemplarily, the step of the third target device accessing the video website and playing the video may include: the third target device sends a request data packet to the server of the video website through the first link or the second link, and after receiving the request, the server returns a corresponding video data packet to the third target device according to the request, and the video data packet can be specifically transmitted to the third target device through the first link and / or the second link. After that, the third target device can perform operations such as unpacking processing through a decoder to obtain video data, and finally generate a video frame for display.

[0131] It should be noted that in the step of transmitting the first service flow based on the first link and the second link, the first service flow is specifically transmitted on the channels corresponding to the first link and the second link. When the first frequency band is 5 GHz, the channels corresponding to the first link may be channels 36 to 48, channels 52 to 64, and channels 149 to 165, and the channel for transmitting the first service flow may be a channel from channels 36 to 48, channels 52 to 64, and channels 149 to 165. When the second frequency band is 2.4 GHz, the channels corresponding to the second link may be channels 1 to 13, and the channel for transmitting the first service flow may be a channel from channels 1 to 13.

[0132] The channel for transmitting the first service flow is determined by the first target device. Specifically, the first target device can perform channel scanning to collect channel information, such as channel strength, interference level, etc. The specific timing of performing channel scanning can be when the first target device starts, or the first target device can also perform periodic channel scanning. Afterwards, the first target device can evaluate the quality and availability of each channel based on the channel information. After evaluation, the first target device can determine the best channel and reside on the best channel, and perform network communication with other auxiliary stations on the best channel.

[0133] Further, after the third target device establishes a connection with the first target device, the third target device may reside on the best channel determined by the first target device, and communicate with the first target device on the best channel.

[0134] It can be understood that the first target device is an MLD, so when evaluating the channel, the first target device can determine its best channel in the first frequency band and the best channel in the second frequency band respectively. Further, the channel for transmitting the first service flow in the first link between the third target device and the first target device is the best channel evaluated by the first target device in the first frequency band, and the channel for transmitting the first service flow in the second link between the third target device and the first target device is the best channel evaluated by the first target device in the second frequency band.

[0135] It should be noted that the first link and the second link do not always work at the same time. For example, after the first link and the second link are established, only one link may be in an awake state while the other link is in a dormant state. When the data volume of the first service flow is too large, the dormant link may be awakened to perform dual-link communication.

[0136] S300: Establishing a peer-to-peer (P2P) connection with a second target device via a third link, where the third link is located in the first frequency band.

[0137] It is understandable that the third link is a link between the third target device and the second target device, and the third link can be located in the 5GHz frequency band, so that the point-to-point connection service can be completed at a faster speed, reduce latency, and improve user experience. The third link can also be located in the 2.4GHz frequency band, which can be determined by actual conditions, and the embodiments of this application do not make specific limitations on this.

[0138] In actual applications, the step of establishing a third link may be included before step S300. Specifically, the third target device and the second target device may obtain each other's IP address, and then the third target device and the second target device may establish a third link based on the use of a network protocol (such as TCP or UDP). The third link may include information such as a source IP address, a target IP address, and a port number.

[0139] Furthermore, after the third link is established, the step of establishing a point-to-point connection with the second target device based on the third link may further include handshaking and authentication with the second target device to ensure that both parties can trust each other. In this way, the point-to-point connection can be established, and data transmission can begin between the third target device and the second target device.

[0140] It should be noted that point-to-point connection, P2P connection is a network communication mode that allows two or more devices to connect directly to each other without the need for transmission through an AP.

[0141] In the embodiment of the present application, the second target device may also be an access point device, specifically an MLD device or a non-MLD device. Exemplarily, the second target device may be a smart phone, a tablet computer, a laptop computer or other device.

[0142] In actual applications, the P2P connection can be initiated by the second target device or the third target device. After establishing the P2P connection with the second target device, the third target device can perform file sharing, screen projection and other services with the second target device. Figure 6 It is exemplarily shown that the point-to-point connection may be initiated by the second target device, and the service type is file transfer.

[0143] It should be noted that, in the process of establishing a P2P connection between the third target device and the second target device, a channel negotiation step S301 is included: determining a target channel for the point-to-point connection with the second target device, wherein the target channel is one of the multiple channels corresponding to the third link.

[0144] When the first frequency band is 5 GHz, the channels corresponding to the third link may be channels 36 to 48, channels 52 to 64, and channels 149 to 165, and the third target device and the second target device may negotiate to any channel among channels 36 to 48, channels 52 to 64, and channels 149 to 165 based on actual conditions. When the first frequency band is 2.4 GHz, the channels corresponding to the third link may be channels 1 to 13, and the third target device and the second target device may negotiate to any channel among channels 1 to 13 based on actual conditions. The detailed steps of step S301 will be described in detail below and will not be repeated here.

[0145] S400: Stop transmitting the first service flow on the first link, and transmit the second service flow with the second target device on the third link.

[0146] Among them, if the channel transmitting the first service flow and the channel transmitting the second service flow are on different channels of the first frequency band, terminating the transmission of the first service flow on the first link and transmitting the second service flow on the third link can avoid the third target device switching back and forth between different channels and reconnecting, thereby avoiding the problems of increased latency, decreased rate, and freezes caused by switching channels. If the channel transmitting the first service flow and the channel transmitting the second service flow are on the same channel of the first frequency band, terminating the transmission of the first service flow on the first link and transmitting the second service flow on the third link can avoid the first service flow from occupying bandwidth, thus improving the transmission rate of the second service flow.

[0147] The specific implementation method of terminating the transmission of the first service flow on the first link will be described in detail below and will not be repeated here.

[0148] S500: After the third link is disconnected, resume transmission of the first service flow on the first link.

[0149] The third link may be automatically disconnected after the completion of a service such as file transfer, or may be actively disconnected by the third target device or the second target device. After the third link is disconnected, the transmission of the first service flow on the first link may be resumed to achieve automatic reconnection.

[0150] The specific method of resuming transmission of the first service flow on the first link will be described in detail below and will not be repeated here.

[0151] It is worth noting that after the P2P connection is established, if the first link is in a dormant state, then step S400 may not include the step of terminating the transmission of the first service flow on the first link. Therefore, in practical applications, the following steps may be included before step S400: determining whether the first link is in a dormant state, if the first link is in a dormant state, directly executing the step of transmitting the second service flow with the second target device on the third link, and if the first link is not in a dormant state, executing step S400.

[0152] It can be seen from the above technical solutions that the embodiment of the present application provides a communication link adjustment method, which includes establishing a connection with a first target device through a first link and a second link to access the network; wherein the first link is located in the first frequency band, and the second link is located in the second frequency band; transmitting a first service flow based on the first link and the second link; establishing a point-to-point connection with the second target device through a third link, and the third link is located in the first frequency band; terminating the transmission of the first service flow on the first link, and transmitting the second service flow with the second target device on the third link; after the third link is disconnected, resuming the transmission of the first service flow on the first link. When transmitting the second service flow, the method of the present application can avoid switching back and forth between different channels in the first frequency band. Since switching channels back and forth takes time, it will cause the service flow transmission delay to be too high, and the embodiment of the present application can avoid switching channels, so it can have a lower delay, a higher file transfer rate, and can improve user experience. The solution of the present application can also avoid the first service flow occupying the bandwidth of the channel corresponding to the first frequency band, affecting the transmission rate of the second service flow.

[0153] The specific implementation steps of the communication link adjustment method provided by the present application are described in detail below in conjunction with the accompanying drawings.

[0154] Figure 7 A schematic diagram of a sub-process of a communication link adjustment method provided in an embodiment of the present application.

[0155] like Figure 7 As shown, step S400 may include the following steps S401-S403.

[0156] S401: If the point-to-point connection type with the second target device is a first connection type, stop transmitting the first service flow on the first link, and transmit the second service flow with the second target device on the target channel; the first connection type corresponds to the second service flow being a non-real-time service flow.

[0157] The embodiment of the present application takes into account the different types of P2P services and provides two different implementation methods to provide users with a good usage experience.

[0158] Specifically, the service types of P2P services mainly include two types: the first connection type and the second connection type. The first connection type corresponds to services such as file transfer, and the second service flow transmitted by the first connection type is usually a non-real-time service flow. Exemplarily, in the file transfer service, the data type of the second service flow is usually non-real-time binary data, and can be various file types, such as text files, image files, audio files or video files. P2P services of the first connection type usually need to complete the transmission as quickly as possible.

[0159] The second connection type corresponds to services that require continuous transmission, such as screen projection. The second service stream transmitted by the second connection type is usually a real-time service stream, and the amount of data for each frame of the service stream is fixed. For example, in the screen projection service, the data type of the second service stream is usually real-time image and video data, which represents the real-time content on the screen of the projection source device, including static images, dynamic images, and video streams. P2P services of the second connection type usually do not require transmission as quickly as possible, but require continuous and stable transmission.

[0160] In the embodiment of the present application, if the point-to-point connection type is the first connection type, the transmission of the first service flow on the first link is terminated, and the second service flow is transmitted with the second target device on the target channel. In this way, the third target device can be prevented from switching channels back and forth, or the first service flow can be prevented from occupying bandwidth, so that transmission can be achieved as soon as possible.

[0161] S402: If the point-to-point connection type with the second target device is the second connection type, obtain the channel number of the first channel; the second connection type corresponds to the second service flow being a real-time data flow; the first channel is the channel corresponding to the first link for transmitting the first service flow.

[0162] In the second implementation, if the point-to-point connection type is the second connection type, it is first determined whether the first channel transmitting the first service stream and the target channel transmitting the second service stream are the same channel. The determination method is specifically to compare the channel numbers of the first channel and the target channel.

[0163] S403: If the channel number of the target channel is different from the channel number of the first channel, stop transmitting the first service flow on the first link, and transmit the second service flow with the second target device on the target channel.

[0164] Among them, if the channel number of the target channel is different from the channel number of the first channel, it means that the channels transmitting the first service flow and the second service flow are both in the first frequency band and are different channels. The third target device needs to switch back and forth between the first channel and the target channel to achieve simultaneous transmission of the first service flow and the second service flow, so as to provide users with network access services and P2P services at the same time. At this time, it will inevitably cause the second service flow to be transmitted slowly and with high latency. In this case, the embodiment of the present application can stop transmitting the first service flow on the first link to avoid the third target device switching back and forth between the first channel and the target channel.

[0165] Continue to see Figure 7 , step S402 may be followed by the following steps S404-S406.

[0166] S404: If the channel number of the target channel is the same as the channel number of the first channel, time is divided into a plurality of first time slots and a plurality of second time slots, and the plurality of first time slots and the plurality of second time slots are arranged in sequence according to a preset order.

[0167] It is understandable that if the channel number of the target channel is the same as the channel number of the first channel, then when transmitting the first service flow and the second service flow, the third target device does not need to switch channels, so the bandwidth of the target channel can be allocated to the first service flow and the second service flow in a time-sharing manner. In this way, when the P2P connection type is the second connection type and the second service flow is real-time data, the stable and continuous transmission of the second service flow can be met, and the transmission of the first service flow on the first frequency band can be guaranteed.

[0168] In some implementations, the step of dividing time into a plurality of first time slots and a plurality of second time slots may be implemented based on a time division multiple access (TDMA) technology.

[0169] S405: When the first time slot arrives, transmit the first service flow on the target channel.

[0170] In this way, the transmission of the first service flow in the first frequency band can be achieved.

[0171] S406: When the second time slot arrives, transmit the second service flow on the target channel.

[0172] In this way, stable transmission of the second business flow can be achieved.

[0173] It can be seen that the embodiment of the present application can transmit the first service flow and the second service flow in sequence on the target channel according to a predetermined time sequence, which can not only ensure that the first service flow and the second service flow will not collide in the same time period, but also improve channel utilization and transmission efficiency.

[0174] It should be noted that in the embodiment of the present application, the point-to-point connection type is used as the judgment condition for executing step S401 or executing steps S402-S406, which is only two applicable scenarios of the communication link adjustment method provided in the embodiment of the present application. In fact, the essential difference between step S401 and steps S402-S406 is the different implementation methods of adjusting the communication link. Step S401 corresponds to directly terminating the transmission of the first service flow in the first frequency band after establishing the P2P connection. In this way, the best transmission rate can be provided for the second service flow. This implementation method is suitable for transmission types of non-real-time data such as file transfer that need to be transmitted as quickly as possible.

[0175] Steps S402-S406 correspond to the establishment of a P2P connection. First, determine whether it is necessary to switch channels, that is, determine whether the first channel for transmitting the first business stream and the target channel for transmitting the second business stream are the same channel. If the first channel and the target channel are not the same channel, terminate the transmission of the first business stream on the first channel. If the first channel and the target channel are the same channel, transmit the first business stream and the second business stream in the target channel at the same time. In this way, it is possible to transmit the first business stream and the second business stream in the first frequency band, and ensure the stable transmission of the second business stream. This implementation method is suitable for transmission types such as screen projection that require real-time, continuous transmission and stable data volume.

[0176] In actual applications, the embodiment of the present application can provide two service interfaces to the outside, one of which corresponds to step S401. When the upper layer application that implements the P2P connection calls the interface, the second service flow can be transmitted based on step S401. The other interface corresponds to steps S402-S406. When the upper layer application that implements the P2P connection calls the interface, the second service flow can be transmitted based on steps S402-S406. It can be seen that the specific method of adjusting the communication link can be determined by the upper layer application that implements the P2P connection, and is not limited to executing step S401 when the P2P connection type is the first connection type, and executing S404-S406 when the P2P connection type is the second connection type.

[0177] It is understandable that when the P2P connection is initiated by the third target device, the third target device knows the type of the P2P connection, that is, the third target device itself knows whether to directly terminate the transmission of the first service flow on the first link or continue to transmit the first service flow on the first link when establishing the P2P connection.

[0178] It should be noted that the second target device can also access the access point AP device as an auxiliary station STA to access the network and provide Internet access services to users. At this time, the AP device can determine which channel the second target device uses when performing Internet access services, that is, the second channel is specifically determined by the AP device through channel scanning and evaluation. In this case, during the process of establishing a P2P connection between the third target device and the second target device, if the negotiated target channel is a different channel in the frequency band from the second channel, then the second target device may also have problems with repeated channel switching or slow transmission rate.

[0179] Figure 8 A second application diagram of the communication link adjustment method provided in an embodiment of the present application.

[0180] like Figure 8As shown, when the second target device is an MLD device, the second target device is connected to an AP and the AP device is also an MLD device, the second target device can also execute the steps in the above embodiments when establishing a P2P connection with the third target device to adjust the communication link, ensure the transmission rate of the second service flow, and reduce the delay.

[0181] Fig. 9 A third application schematic diagram of the communication link adjustment method provided in an embodiment of the present application.

[0182] like Fig. 9 As shown, the second target device can access the access point AP of the fourth target device. If the fourth target device is a legacy AP (legacy AP), and / or the second target device is a non-MLD device that does not support MLO, that is, a legacy STA (legacy STA), then after establishing the P2P connection, the second target device may have the problem of switching channels back and forth.

[0183] It should be noted that when the second target device is an MLD but is connected to the access point AP of the fourth target device, the second target device also cannot establish a dual link. Then, after establishing the P2P connection, the second target device may have a problem of switching channels back and forth.

[0184] In order to avoid the above-mentioned problems, an embodiment of the present application provides a step for a third target device to negotiate a channel with a second target device. Based on the channel negotiation step, the target channel for ultimately transmitting the second service flow can be determined as the channel desired by the second target device, thereby avoiding the second target device from switching channels back and forth.

[0185] In practical applications, establishing a P2P connection includes the steps of GO negotiation and channel determination, wherein GO negotiation refers to establishing a group through negotiation between devices, and determining the group owner GO and group members GC. The group owner GO can act as a network center to manage the P2P connection, such as coordinating communications between other devices (group members) to ensure the stability and reliability of data transmission, network address allocation, and determining communication channels.

[0186] In the embodiments of the present application, the P2P connection can be initiated by the third target device or by the second target device. The following embodiments respectively introduce the specific steps of negotiating the channel after the second target device initiates the P2P connection and the specific steps after the third target device initiates the P2P connection.

[0187] Fig.10 A schematic diagram of a first process for determining a target channel provided in an embodiment of the present application.

[0188] Fig.11A second flow chart of determining a target channel provided in an embodiment of the present application.

[0189] like Figure 9-11 As shown, when the third target device needs to make a P2P connection, the third target device can first perform initialization preparation. After the initialization preparation is completed, the third target device can actively initiate a P2P connection request, that is, send a second connection request frame to the second target device to inform the second target device that it expects to establish a P2P connection. After receiving the second connection request frame sent by the third target device, the second target device can send a first connection response frame to notify the third target device that it is performing P2P connection initialization.

[0190] For further information, see Figure 9-11 , step S301 may include the following steps S3011-S3015.

[0191] S3011: Receive a first connection response frame from the second target device, where the first connection response frame carries capability information.

[0192] Among them, the capability information can be used to indicate whether the device supports association between the device MAC address and the link MAC address. When the STA device establishes a connection with the AP device, the AP device assigns a unique MAC address to the STA device, and the MAC address is used to identify and address the STA device. The link MAC address refers to the MAC address of the physical link between the STA device and the AP device, which is used to identify the link. The step of associating the device MAC address with the link MAC address may be to match the device MAC address with the link MAC address. In this way, when the STA device receives data from different physical links, it can determine the source link of the data through the association relationship, and perform corresponding processing and forwarding. By associating the MAC address with the link MAC address, the STA device can manage multiple physical links between it and the AP device, and realize functions such as multi-link transmission and load balancing. When the STA device supports MLO, that is, when the STA device is MLD, the STA device supports association between the device MAC address and the link MAC address. Correspondingly, when the STA device does not support MLO, that is, when the STA device is non-MLD, the STA device does not support association between the device MAC address and the link MAC address.

[0193] In an embodiment of the present application, the second target device carries capability information in the response frame, so that the peer device can know its device capabilities. The capability information can be one of the information elements in the first negotiation response frame. The embodiment of the present application may include multiple information elements, and different information elements may correspond to different Wi-Fi protocols. It is understandable that when the information element of the capability information corresponds to the 802.11be protocol (Wi-Fi 7), it means that the device supports Wi-Fi 7, that is, the device has MLO capability and is MLD.

[0194] S3012: Parse the first connection response frame to obtain capability information, and determine whether the second target device supports association between the device MAC address and the link MAC address based on the capability information.

[0195] It should be noted that when the capability information element corresponds to the 802.11a protocol, the 802.11b protocol, the 802.11g protocol, the 802.11n protocol, the 802.11ac protocol (Wi-Fi 5) or the 802.11ax protocol (Wi-Fi 6), it can be determined that the second target device does not support association between the device MAC address and the link MAC address. When the capability information element corresponds to the 802.11be protocol (Wi-Fi 7), it can be determined that the second target device supports association between the device MAC address and the link MAC address.

[0196] S3013: Receive a first negotiation request frame from the second target device, where the first negotiation request frame carries a first channel number; wherein the first channel number is the channel number of the preferred channel of the second target device.

[0197] In the embodiment of the present application, after the second target device completes initialization preparation, the second target device may send a first negotiation request frame to perform GO negotiation.

[0198] The first negotiation request frame is a GO negotiation request frame (GO Negotiation Request), which can carry various information used for GO negotiation.

[0199] In the embodiment of the present application, the preferred channel of the second target device is referred to as the first preferred channel, and the first preferred channel is the channel that the second target device expects to select. It can be understood that the first preferred channel is located on the frequency band supported by the second target device. For example, if the second target device supports communication in the 5GHz frequency band and the 2.4GHz frequency band, then the first preferred channel can be a channel from the 36th to the 48th channel, the 52nd to the 64th channel, and the 149th to the 165th channel corresponding to the 5GHz frequency band, or a channel from the 1st channel to the 13th channel corresponding to 2.4GHz. If the second target device only supports communication in the 2.4GHz frequency band, then the first preferred channel can only be a channel from the 1st channel to the 13th channel corresponding to 2.4GHz. In some implementations, when the second target device is non-MLD and is a device that supports true simultaneous dual-band, for example, the second target device supports the transmission of service flows in the first frequency band and the second frequency band at the same time, at this time, if the second channel of the second target device performing the Internet access service is located in the first frequency band, the second target device can determine all channels of the second channel and the second frequency band as the first preferred channel. If the second channel is located in the second frequency band, the second target device can determine the second channel and all channels of the first frequency band as the first preferred channel. Further, the target channel may be negotiated to the second channel. In this case, the second target device does not need to switch channels back and forth when performing STA services and P2P services. The target channel may also be negotiated to a channel in a different frequency band from the second frequency band. Since the second target device supports true simultaneous dual-band, the second target device does not need to switch channels back and forth when performing STA services and P2P services.

[0200] When the second target device is non-MLD and does not support true simultaneous dual-band, for example, the second target device only supports the transmission of service flows in the first frequency band or the second frequency band, then the second target device can determine the second channel as the first preferred channel. The target channel can be negotiated to the first preferred channel, that is, negotiated to the second channel, and the second target device performs STA services and P2P services without switching channels back and forth.

[0201] In some implementations, the first negotiation request frame may also carry a third intent value. The intent value (GOIntent Value) is an important parameter in the process of establishing a GO negotiation between devices, indicating the degree of willingness of the device to become a GO during the GO negotiation process. During the GO negotiation process, the device will send the intent value to other devices so that the other party can understand the degree of willingness to become a GO. By comparing the size of the intent value, the GO in a group can be determined. The optional range of the intent value can be a natural number between 0 and 15, where 0 means not wanting to become a GO and 15 means a strong desire to become a GO.

[0202] In the embodiment of the present application, the third intention value can be determined by the second target device based on its own needs. Exemplarily, the third intention value can be a default value of 7. The embodiment of the present application does not specifically limit the value of the third intention value.

[0203] In some implementations, the third target device may also carry capability information and type information in the second connection request frame to let the peer device know whether it supports association between the device MAC address and the link MAC address, and to let the peer device know the type of P2P connection.

[0204] S3014: In response to the first negotiation request frame, if the second target device does not support association between the device MAC address and the link MAC address, a first negotiation response frame is sent to the second target device, and the first negotiation response frame carries a first channel number and a first intended value, and the first intended value is equal to the minimum value in the optional range of intended values.

[0205] Among them, the first negotiation response frame is a GO negotiation response frame (GO Negotiation Response), which can carry various information used for GO negotiation. The first intention value indicates the willingness of the third target device to become a GO. The first intention value is determined as the minimum value in the optional range of the intention value, indicating that the third target device has no intention to become a GO, that is, the third target device chooses to become a group member GC instead of a GO. In this way, after parsing the first negotiation response frame, the second target device can know that the first intention value can be less than the third intention value, and the second target device can become a GO and have the right to decide the channel. Exemplarily, the minimum value in the optional range of the intention value can be equal to 0.

[0206] In some implementations, the third target device may determine the second intention value as a value less than the first intention value. In this way, the second target device may also become a GO.

[0207] In an embodiment of the present application, the third target device may also have a preferred channel. The third target device may determine the channel for transmitting the first service flow in the first frequency band as the preferred channel, and determine the channel for transmitting the first service flow in the second frequency band as another preferred channel. The preferred channel of the third target device is referred to as the second preferred channel hereinafter.

[0208] Furthermore, after parsing the first negotiation request frame to obtain the first channel number, the third target device can take the union of its desired channel (the second preferred channel) and the desired channel (the first preferred channel) of the second target device, and form a first channel list, wherein the first channel list includes the channel numbers of all channels after the union. Afterwards, the third target device can send a first negotiation response frame, and the first negotiation response frame carries the first channel list, so the first negotiation response frame carries the first channel number.

[0209] Furthermore, when the second target device becomes a GO and determines a channel, if the second target device is a device that supports true simultaneous dual-band, the second target device may first intersect the first preferred channel that is in a different frequency band from the second channel with the second preferred channel. If the intersection can be obtained, the second target device may determine the target channel as the channel in the intersection. If the intersection is not obtained, the second target device may determine the target channel as the second channel. If the second target device is not a device that supports true simultaneous dual-band, the second target device may determine the second channel as the target channel. In this way, the target channel may be preferentially determined to the first preferred channel of the second target device, and the channel number of the target channel is one of the multiple first channel numbers, which can avoid the second target device from repeatedly switching channels, and avoid the problems of high P2P communication latency and poor experience caused by repeated channel switching.

[0210] In some implementations, the second preferred channel is taken as the union of the first preferred channel, and the communication quality of P2P communication can also be guaranteed. For example, if the first preferred channel cannot support P2P communication between the second target device and the third target device due to channel congestion or other conditions, then the second preferred channel can be preferentially selected for communication. This can avoid P2P communication in a channel with poor quality, which affects the quality of P2P communication.

[0211] S3015: Receive a first negotiation confirmation frame from a second target device, wherein the first negotiation confirmation frame carries a target channel number, the target channel number corresponds to a target channel, the target channel number is determined by the second target device based on a first intention value, and the target channel number is the same as the first channel number.

[0212] In this way, the GO negotiation can be completed between the second target device and the third target device, and the target channel of the P2P connection can be finally determined.

[0213] It should be noted that if the second target device supports association between the device MAC address and the link MAC address, then the third target device can determine the value of the first intention value based on actual conditions. At this time, the first intention value can be equal to the minimum value in the optional range of the intention value, or it can be equal to other values ​​in the optional range of the intention value. The embodiments of the present application do not make specific limitations on this.

[0214] Fig.12 A third flow chart of determining a target channel provided in an embodiment of the present application.

[0215] Fig.13 A fourth flow chart of determining a target channel provided in an embodiment of the present application.

[0216] like Fig.12 and Fig.13 As shown, when the second target device needs to establish a P2P connection, the second target device can first perform initialization preparation. After the initialization preparation is completed, the third target device can actively initiate a P2P connection request, that is, send a second negotiation request frame to the third target device to inform the third target device that it expects to establish a P2P connection.

[0217] Continue to see Fig.12 and Fig.13 , step S301 may specifically include the following steps S3016-S3019.

[0218] S3016: Receive a first connection request frame from the second target device, where the first connection request frame carries capability information.

[0219] Among them, the capability information can be used to indicate whether the device supports the association between the device MAC address and the link MAC address. The second target device carries the capability information in the request frame, so that the peer device can know its device capabilities. The capability information can be one of the information elements in the second negotiation request frame. With respect to the capability information, a variety of information elements are provided in an embodiment of the present application, and different information elements can correspond to different Wi-Fi protocols. It can be understood that when the information element of the capability information corresponds to the 802.11be protocol (Wi-Fi 7), it indicates that the device supports Wi-Fi 7, that is, the device has MLO capability and is MLD.

[0220] S3017: Parse the first connection request frame to obtain capability information, and determine whether the second target device supports association between the device MAC address and the link MAC address based on the capability information.

[0221] It should be noted that when the capability information element corresponds to the 802.11a protocol, the 802.11b protocol, the 802.11g protocol, the 802.11n protocol, the 802.11ac protocol (Wi-Fi 5) or the 802.11ax protocol (Wi-Fi 6), it can be determined that the second target device does not support association between the device MAC address and the link MAC address. When the capability information element corresponds to the 802.11be protocol (Wi-Fi 7), it can be determined that the second target device supports association between the device MAC address and the link MAC address.

[0222] In some implementations, while executing step S3017, or after executing step S3017, the third target device may also start initialization preparation and send a second connection response frame to the second target device to inform the second target device that it is performing initialization preparation.

[0223] In some implementations, the third target device may carry capability information in the second connection response frame to let the peer device know whether it supports association between the device MAC address and the link MAC address.

[0224] S3018: Send a second negotiation request frame to the second target device, where the second negotiation request frame includes at least a second intention value, and the second intention value is equal to a minimum value in an optional range of the intention values.

[0225] In the embodiment of the present application, after completing the initialization preparation, the third target device may send a second negotiation request frame to the second target device to perform GO negotiation with the second target device.

[0226] Among them, the second negotiation request frame can be a GO negotiation request frame (GO Negotiation Request), which can carry various information for GO negotiation. The second intention value can be a degree of willingness of the third target device to become a GO. In an embodiment of the present application, the second intention value can be set to the minimum value in the optional range of the intention value, for example, the third intention value is set to 0. In this way, the second target device can become the group owner GO, and the third target device will become a group member GC, and the second target device has the right to determine the P2P communication channel. At this time, the second target device can determine the channel for P2P communication as the first preferred channel to avoid switching channels back and forth when performing P2P communication. In an embodiment of the present application, the third target device can also carry a second preferred channel in the second negotiation request frame, and the second preferred channel can include two preferred channels. Specifically, the third target device can determine the channel for transmitting the first service flow in the first frequency band as a preferred channel, and determine the channel for transmitting the first service flow in the second frequency band as another preferred channel.

[0227] S3019: Receive a second negotiation response frame from a second target device, the second negotiation response frame carries a target channel number, the target channel number corresponds to a target channel, the target channel is determined by the second target device based on a second intention value, and the target channel number is the same as the first channel number.

[0228] Among them, the second negotiation response frame may be sent by the second target device in response to the second negotiation request frame. The first channel number carried in the second negotiation response frame is the channel number of the preferred channel of the second target device, that is, the channel number of the first preferred channel. In the embodiment of the present application, the second target device has a first preferred channel. When the second target device is non-MLD and is a device that supports true simultaneous dual-band, for example, the second target device supports the transmission of service flows in the first frequency band and the second frequency band at the same time, at this time, if the second channel of the second target device performing the Internet access service is located in the first frequency band, the second target device can determine the second channel and all channels of the second frequency band as the first preferred channel. If the second channel is located in the second frequency band, the second target device can determine the second channel and all channels of the first frequency band as the first preferred channel. Further, the target channel may be negotiated to the second channel. In this case, the second target device does not need to switch channels back and forth when performing STA services and performing P2P services. The target channel may also be negotiated to a channel in a different frequency band from the second frequency band. Since the second target device supports true simultaneous dual-band, the second target device does not need to switch channels back and forth when performing STA services and performing P2P services.

[0229] When the second target device is non-MLD and does not support true simultaneous dual-band, for example, the second target device only supports the transmission of service flows in the first frequency band or the second frequency band, then the second target device can determine the second channel as the first preferred channel. The target channel can be negotiated to the first preferred channel, that is, negotiated to the second channel, and the second target device performs STA services and P2P services without switching channels back and forth.

[0230] Furthermore, when the second target device becomes a GO and determines a channel, if the second target device is a device that supports true simultaneous dual-band, the second target device may first intersect the first preferred channel that is in a different frequency band from the second channel with the second preferred channel. If the intersection can be obtained, the second target device may determine the target channel as the channel in the intersection. If the intersection is not obtained, the second target device may determine the target channel as the second channel. If the second target device is not a device that supports true simultaneous dual-band, the second target device may determine the second channel as the target channel. In this way, the target channel can be preferentially determined to the first preferred channel of the second target device, which can avoid the second target device from repeatedly switching channels, and avoid the problems of high P2P communication latency and poor experience caused by repeated channel switching.

[0231] In some implementations, the second target device may also carry a fourth intention value in the second negotiation response frame, so that the third target device may know the degree of willingness of the second target device to become a GO after parsing the second negotiation response frame. The fourth intention value may be determined by the second target device based on its own needs. For example, the fourth intention value may be a default value of 7. The embodiment of the present application does not specifically limit the value of the fourth intention value.

[0232] In the embodiment of the present application, the third target device may further perform the following steps: in response to the second negotiation response frame, send a second negotiation confirmation frame to the second target device based on the fourth intention value. In this way, the second target device may know that the third target device agrees with the GO negotiation result and may perform P2P services on the target channel.

[0233] In this way, the GO negotiation can be completed between the second target device and the third target device, and the target channel of the P2P connection can be finally determined.

[0234] Furthermore, in an embodiment of the present application, the first connection request frame may also include type information. The type information may specifically include two types, one of which is used to instruct the third target device to execute step S401, and the other is used to instruct the third target device to execute steps S402-S406. The present application does not limit the specific form of the type information.

[0235] After step S3016, the method may further include: parsing the first connection request frame to obtain type information to determine the type of the point-to-point connection.

[0236] Further, in the embodiment of the present application, the step of terminating the transmission of the first service flow on the first link may include the following steps S4001.

[0237] S4001: Send a first mapping request to a first target device via a first link, so that the first target device maps all first service flows to a second link based on the first mapping request.

[0238] Using traffic identifier TID (Traffic Identifier) ​​mapping is a means of allocating links to service flows. Specifically, the first target device can allocate TID to the first service flow sent to the third target device in the network. Different TIDs can indicate different links for transmitting service flows, or different priorities for transmitting service flows. Usually, there is a mapping configuration between TID and link, which pre-sets which links are used to transmit service flows of which TIDs. In this way, after marking the service flow with TID, the link for transmitting the service flow can be determined.

[0239] In some implementations, the first target device may allocate a TID to the first service flow based on factors such as the service type of the first service flow, and the embodiment of the present application does not specifically limit the allocation step.

[0240] In the embodiment of the present application, when the third target device needs to stop transmitting the first service flow on the first link, all TIDs can be mapped to the second link. Specifically, the third target device can carry the mapping relationship between all TIDs and links in the first mapping request (TID-To-Link Mapping Request). In the embodiment of the present application, all TIDs can be mapped to the second link. In this way, the first target device can transmit the first service flows of all TIDs through the second link, so that the first link is in an idle state.

[0241] In an embodiment of the present application, the first target device may respond to the first mapping request and modify the mapping configuration between the TID and the link based on the first mapping request. After the modification is completed, the first target device may send a first mapping response (TID-To-Link Mapping Response) to the third target device to inform the third target device that the TID mapping relationship has been modified.

[0242] It should be noted that the third target device also needs to stop sending the first service flow to the first target device on the first link, so that the first link is in an idle state.

[0243] Alternatively, in the embodiment of the present application, the step of terminating transmission of the first service flow on the first link may include the following step S4002.

[0244] S4002: Put the first link into sleep mode; and send a sleep frame to the first target device via the first link to inform the first target device to mark the first link as a sleep state.

[0245] Sending a sleep frame to the first target device may cause the first target device to stop transmitting the first service flow on the first link. After learning that the third target device has put the first link to sleep, the first target device may transmit all first service flows via the second link.

[0246] In the embodiment of the present application, the step of resuming transmission of the first service flow on the first link may include the following steps S5001.

[0247] S5001: Send a second mapping request to a first target device via a first link, so that the first target device remaps a first service flow to the first link based on the second mapping request.

[0248] In the embodiment of the present application, when the third target device needs to resume transmission of the first service flow on the second link, it can modify the mapping relationship between the TID and the link, and remap the first service flow to the first link, so that the service flow corresponding to some TIDs can be transmitted on the first link, and the service flow corresponding to some TIDs can be transmitted on the second link. The specific mapping relationship can be determined by the actual situation and is not limited in the embodiment of the present application.

[0249] The first target device may respond to the second mapping request and modify the mapping configuration between the TID and the link based on the second mapping request. After the modification is completed, the first target device may send a second mapping response frame to the third target device to inform the third target device that the TID mapping relationship has been modified.

[0250] It should be noted that the third target device may also resume sending the first service flow to the first target device over the first link.

[0251] Alternatively, the step of resuming transmission of the first service flow on the first link may include the following step S5002.

[0252] S5002: Wake up the first link; and send a wake-up frame to the first target device through the first link to inform the first target device to mark the first link as awake.

[0253] Among them, sending a wake-up frame to the first target device can enable the first target device to resume transmitting the first service flow on the first link.

[0254] Fig.14 A second flow chart of the communication link adjustment method provided in an embodiment of the present application.

[0255] like Figure 8 and Fig.14 The communication link method provided in the embodiment of the present application may include the following steps S601-S602. The method provided in the embodiment of the present application may be applied to an MLD device that supports MLO, or a non-MLD device that does not support MLO, i.e., a legacy STA. In the embodiment of the present application, the device is referred to as a second target device. Exemplarily, the second target device may be a smartphone, a tablet computer, a laptop computer, or the like.

[0256] S601: Establishing a point-to-point connection with a third target device via a third link, where the third link is in a first frequency band.

[0257] It is understandable that the third link is a link between the second target device and the third target device. The P2P connection between the second target device and the third target device can be initiated by the second target device or the third target device, which is not specifically limited in the embodiment of the present application.

[0258] S602: Transmit a second service flow to a third target device over a third link.

[0259] In this way, P2P communication can be realized. Exemplarily, the second service flow can be, for example, file transmission data or screen projection data.

[0260] Further, after step S601, the following step S603 may be included: determining a target channel connected point-to-point with the third target device, where the target channel is one of the multiple channels corresponding to the third link.

[0261] In this way, the second target device can transmit the second service flow between the target channel and the third target device. The target channel can be determined through negotiation between the second target device and the third target device. The specific negotiation process will be described in detail below and will not be repeated here.

[0262] Exemplarily, when the first frequency band is 5 GHz, the channels corresponding to the third link may be channels 36 to 48, channels 52 to 64, and channels 149 to 165, and the third target device and the second target device may negotiate based on actual conditions to use any one of channels 36 to 48, channels 52 to 64, and channels 149 to 165 as the target channel. When the first frequency band is 2.4 GHz, the channels corresponding to the third link may be channels 1 to 13, and the third target device and the second target device may negotiate based on actual conditions to use any one of channels 1 to 13 as the target channel.

[0263] It should be noted that, continue to refer to Figure 8 When the second target device is an MLD supporting MLO, the second target device may further perform the following steps S604-S605 before performing steps S601, S602 and S603:

[0264] S604: Establish a connection with a fourth target device through a fourth link and a fifth link to access the network; wherein the fourth link is located in the first frequency band, and the fifth link is located in the second frequency band.

[0265] The fourth target device may be an MLD supporting MLO, and the fourth target device may be an access point (AP) in a wireless local area network (WLAN) to provide network access services, so that wireless terminal devices can access the network. Exemplarily, the fourth target device may be a router. The detailed introduction of the fourth target device may refer to the first target device in the aforementioned content, and will not be repeated here.

[0266] The detailed content of step S604 can refer to the corresponding content of the aforementioned step S100, which will not be repeated here.

[0267] S605: Transmit the third service flow based on the fourth link and the fifth link.

[0268] The specific content of step S605 can refer to the corresponding content of the aforementioned step S200, which will not be repeated here.

[0269] Further, when the second target device is an MLD device supporting MLO and the fourth target device is also an MLD device supporting MLO, step S602 executed by the second target device may specifically include S6021: terminating transmission of the third service flow on the fourth link, and transmitting the second service flow with the second target device on the third link.

[0270] The detailed steps of step S6021 can refer to the corresponding contents of the above steps S400 and S4001-S4002, which will not be repeated here.

[0271] Further, when the second target device is an MLD supporting MLO and the fourth target device is also an MLD device supporting MLO, step S602 may be followed by the following step S606: after the third link is disconnected, resuming transmission of the third service flow on the fourth link.

[0272] The detailed steps of step S606 can refer to the corresponding contents of the above steps S500 and S5001-S5002, which will not be repeated here.

[0273] Further, when the second target device is an MLD device supporting MLO, and the fourth target device is also an MLD device supporting MLO, the detailed steps of step S603 can refer to the corresponding contents of the above steps S3011-S3019, which will not be repeated here.

[0274] It should be noted that when the second target device is an MLD supporting MLO and the fourth target device is also an MLD device supporting MLO, the second target device and the fourth target device can also support real simultaneous dual band (Real Simultaneous Dual Band, RSDB), so that the second target device and the fourth target device support simultaneous transmission of service flows in the first frequency band and the second frequency band.

[0275] Fig.15 A fifth flow chart of determining a target channel provided in an embodiment of the present application.

[0276] like Fig.11 and Fig.15As shown, the second target device can access the access point of the fourth target device. When the second target device is an MLD that does not support MLO, and / or when the fourth target device is a legacy AP, step S603 may include the following steps S6031-S6035.

[0277] It should be noted that steps S6031-S6035 occur after the third target device initiates a P2P connection to the second target device.

[0278] The second target device may start initialization preparation in response to the first connection request frame sent by the third target device. And, the following steps may be performed:

[0279] S6031: Send a first connection response frame to the third target device, where the first connection response frame carries capability information, where the capability information indicates whether association between the device MAC address and the link MAC address is supported.

[0280] In this way, the third target device can receive and parse the first connection response frame, learn that the second target device is preparing for P2P connection initialization, and learn whether the second target device supports association between the device MAC address and the link MAC address.

[0281] S6032: Send a first negotiation request frame to the third target device, wherein the first negotiation request frame carries a first channel number; wherein the first channel number is a channel number of a currently preferred channel associated between the device MAC address and the link MAC address.

[0282] In an embodiment of the present application, the second target device may send a first negotiation request frame to the third target device after completing the initialization preparation of the P2P connection. The first negotiation request frame is a GO negotiation request frame that may carry various information used for GO negotiation. Furthermore, the preferred channel of the second target device is the channel it wishes to select, also known as the first preferred channel.

[0283] In an embodiment of the present application, when the second target device is non-MLD and is a device that supports true simultaneous dual-band, for example, the second target device supports simultaneous transmission of service flows in the first frequency band and the second frequency band. At this time, if the second channel on which the second target device performs Internet access services is located in the first frequency band, the second target device can determine the second channel and all channels of the second frequency band as the first preferred channel. If the second channel is located in the second frequency band, the second target device can determine the second channel and all channels of the first frequency band as the first preferred channel. Further, the target channel may be negotiated to the second channel. In this case, the second target device does not need to switch channels back and forth when performing STA services and performing P2P services. The target channel may also be negotiated to a channel that is located in a different frequency band from the second frequency band. Since the second target device supports true simultaneous dual-band, the second target device does not need to switch channels back and forth when performing STA services and performing P2P services.

[0284] When the second target device is non-MLD and does not support true simultaneous dual-band, for example, the second target device only supports the transmission of service flows in the first frequency band or the second frequency band, then the second target device can determine the second channel as the first preferred channel. The target channel can be negotiated to the first preferred channel, that is, negotiated to the second channel, and the second target device performs STA services and P2P services without switching channels back and forth.

[0285] In some implementations, the second target device may also carry a third intention value in the first negotiation request frame, the third intention value may indicate the willingness of the second target device to become a GO, the third intention value is within an optional range of intention values, and the specific value of the third intention value may be determined by the second target device's own situation, which is not specifically limited in the embodiments of the present application. For example, the second target device may choose to determine the third intention value as a default value of 7.

[0286] The capability information can be used to indicate whether the device supports the association between the device MAC address and the link MAC address. The second target device carries the capability information in the response frame, so that the peer device can know its device capabilities. The capability information can be one of the information elements in the first negotiation response frame. With respect to the capability information, a variety of information elements are provided in an embodiment of the present application, and different information elements can correspond to different Wi-Fi protocols. It can be understood that when the information element of the capability information corresponds to the 802.11be protocol (Wi-Fi 7), it indicates that the device supports Wi-Fi 7, that is, the device has MLO capability and is MLD.

[0287] When the capability information element corresponds to the 802.11a protocol, the 802.11b protocol, the 802.11g protocol, the 802.11n protocol, the 802.11ac protocol (Wi-Fi 5) or the 802.11ax protocol (Wi-Fi 6), it can be determined that the second target device does not support association between the device MAC address and the link MAC address. When the capability information element corresponds to the 802.11be protocol (Wi-Fi 7), it can be determined that the second target device supports association between the device MAC address and the link MAC address.

[0288] S6033: Receive a first negotiation response frame from the third target device, where the first negotiation response frame carries a first channel number and a first intention value, where the first intention value is equal to a minimum value in an optional range of the intention value.

[0289] The second target device may parse the first negotiation response frame to obtain the first intention value. After comparing the second intention value of the third target device with its own third intention value, the second target device may decide to become a GO.

[0290] In the embodiment of the present application, the first negotiation response frame carries not only the first channel number, but also the channel number of the second preferred channel of the third target device.

[0291] S6034: In response to the first negotiation response frame, determine the channel corresponding to the first channel number as the target channel.

[0292] It can be understood that the channel corresponding to the first channel number is the first preferred channel of the second target device. Specifically, when the second target device becomes a GO and determines the channel, if the second target device is a device that supports true simultaneous dual-band, the second target device can first intersect the first preferred channel in a different frequency band from the second channel with the second preferred channel. If the intersection can be obtained, the second target device can determine the target channel as the channel in the intersection. If the intersection is not obtained, the second target device can determine the target channel as the second channel. If the second target device is not a device that supports true simultaneous dual-band, the second target device can determine the second channel as the target channel. In this way, the target channel can be preferentially determined to the first preferred channel of the second target device, which can avoid the second target device from repeatedly switching channels, and avoid the problems of high P2P communication latency and poor experience caused by repeated channel switching.

[0293] S6035: Send a first negotiation confirmation frame to the third target device, where the first negotiation confirmation frame carries a target channel number, and the target channel number corresponds to the target channel.

[0294] In this way, the GO negotiation can be completed between the second target device and the third target device, and the target channel of the P2P connection can be finally determined.

[0295] Fig.16 A sixth flow chart of determining a target channel provided in an embodiment of the present application.

[0296] like Fig.13 and Fig.16 As shown, step S603 may also include the following steps S6036-S6039.

[0297] It should be noted that steps S6036-S6039 occur when the second target device initiates a P2P connection to the third target device.

[0298] When the second target device needs to establish a P2P connection, the second target device may first perform initialization preparation. After the initialization preparation is completed, the third target device may actively initiate a P2P connection request, that is, send a first connection request frame to the third target device to inform the third target device that it is expected to establish a P2P connection. Specifically, the following steps are included:

[0299] S6036: Send a first connection request frame to the third target device, where the first connection request frame carries capability information.

[0300] In this way, the third target device can start to prepare for P2P connection initialization, and at the same time, the third target device can know whether the second target device supports association between the device MAC address and the link MAC address.

[0301] S6037: Receive a second negotiation request frame sent from the third target device, where the second negotiation request frame includes at least a second intention value, and the second intention value is equal to a minimum value in an optional range of the intention value.

[0302] The second target device may parse the second negotiation request frame to obtain a second intention value.

[0303] In some implementations, the second negotiation request frame may also carry a second preferred channel, and the second preferred channel may specifically include two preferred channels. Specifically, the third target device may determine the channel for transmitting the first service flow in the first frequency band as the preferred channel, and determine the channel for transmitting the first service flow in the second frequency band as another preferred channel.

[0304] S6038: In response to the second negotiation request frame, send a second negotiation response frame to the third target device based on the second intention value, where the second negotiation response frame carries the target channel number.

[0305] The second target device can determine the fourth intention value based on its own needs. Afterwards, the second target device can compare the second intention value with the fourth intention value to confirm its own identity. Since the third intention value is the minimum value in the optional range of intention values, the second target device can know that it will become a GO and determine the target channel at the same time.

[0306] Specifically, the second target device has a preferred channel, namely, the first preferred channel. When the second target device is non-MLD and is a device that supports true simultaneous dual-band, for example, the second target device supports simultaneous transmission of service flows in the first frequency band and the second frequency band. At this time, if the second channel on which the second target device performs Internet access services is located in the first frequency band, the second target device can determine the second channel and all channels of the second frequency band as the first preferred channel. If the second channel is located in the second frequency band, the second target device can determine the second channel and all channels of the first frequency band as the first preferred channel. Furthermore, the target channel may be negotiated to the second channel. In this case, the second target device does not need to switch channels back and forth when performing STA services and P2P services. The target channel may also be negotiated to a channel that is located in a different frequency band from the second frequency band. Since the second target device supports true simultaneous dual-band, the second target device does not need to switch channels back and forth when performing STA services and P2P services.

[0307] When the second target device is non-MLD and does not support true simultaneous dual-band, for example, the second target device only supports the transmission of service flows in the first frequency band or the second frequency band, then the second target device can determine the second channel as the first preferred channel. The target channel can be negotiated to the first preferred channel, that is, negotiated to the second channel, and the second target device performs STA services and P2P services without switching channels back and forth.

[0308] Furthermore, when the second target device becomes a GO and determines a channel, if the second target device is a device that supports true simultaneous dual-band, the second target device may first intersect the first preferred channel that is in a different frequency band from the second channel with the second preferred channel. If the intersection can be obtained, the second target device may determine the target channel as the channel in the intersection. If the intersection is not obtained, the second target device may determine the target channel as the second channel. If the second target device is not a device that supports true simultaneous dual-band, the second target device may determine the second channel as the target channel. In this way, the target channel can be preferentially determined to the first preferred channel of the second target device, which can avoid the second target device from repeatedly switching channels, and avoid the problems of high P2P communication latency and poor experience caused by repeated channel switching.

[0309] In some implementations, the second target device may further carry a fourth intention value in the second negotiation response frame, so that the third target device may know the degree of willingness of the second target device to become a GO after parsing the second negotiation response frame.

[0310] In the embodiment of the present application, after step S6038, the second target device may further perform the following step S6039: receiving a second negotiation confirmation frame from the third target device.

[0311] After parsing the second negotiation confirmation frame, the second target device can know that the third target device agrees with the GO negotiation result and can perform P2P service on the target channel. In this way, the second target device and the third target device can complete the GO negotiation and finally determine the target channel of the P2P connection.

[0312] Fig.17 A third flow chart of the communication link adjustment method provided in an embodiment of the present application.

[0313] like Fig.17 As shown, the method provided by the embodiment of the present application may also include the following steps S701-S704. The method provided by the embodiment of the present application may be applied to a first target device, the first target device may be an MLD supporting MLO, and the first target device may be an access point (AP) in a wireless local area network (WLAN) to provide network access services, so that wireless terminal devices can access the network. Exemplarily, the first target device may be a router. In practical applications, the first network device may be responsible for forwarding the data stream of the wireless terminal device to the network and realizing communication with other devices.

[0314] S701: Establish a connection with a third target device via a first link and a second link; wherein the first link is located in a first frequency band, and the second link is located in a second frequency band.

[0315] The content of step S701 can refer to the corresponding content of the aforementioned step S100, which will not be repeated here.

[0316] S702: Transmit a first service flow to a third target device based on the first link and the second link.

[0317] It can be understood that the first service flow can be a service flow transmitted by the third target device to the network through the first target device, or can be a service flow transmitted to the third target device in the network through the first target device.

[0318] S703: In response to a request from the third target device, suspend transmission of the first service flow on the first link.

[0319] S704: In response to the request of the third target device, resume transmitting the first service flow on the first link.

[0320] In the embodiment of the present application, step S703 may specifically include the following steps S7031: receiving a first mapping request from a third target device in the first link, and mapping all first service flows to the second link using the first mapping request.

[0321] The first target device may parse the first mapping request and modify the mapping configuration between the TID and the link based on the first mapping request. Afterwards, the first target device may map all first service flows to the second link based on the new mapping configuration, so that the first link is in an idle state.

[0322] In some implementations, after the mapping configuration is modified, the first target device may send a first mapping response to the third target device to inform the third target device that the TID mapping relationship has been modified.

[0323] Alternatively, step S703 may specifically include the following step S7032: receiving a sleep frame from a third target device in the first link, and marking the first link as a sleep state.

[0324] In this way, after the first target device learns that the third target device has put the first link to sleep, all first service flows can be transmitted through the second link.

[0325] In the embodiment of the present application, step S704 may specifically include the following steps S7041: receiving a second mapping request from a third target device in the first link, and remapping the first service flow to the first link using the second mapping request.

[0326] Among them, the first target device can parse the second mapping request, and modify the mapping configuration between the TID and the link again based on the second mapping request. In this way, the first service flow corresponding to part of the TID can be transmitted from the first link to the third target device, and the first service flow corresponding to another part of the TID can be transmitted from the second link to the third target device.

[0327] In some implementations, after the mapping configuration is modified, the first target device may send a second mapping response frame to the third target device to inform the third target device that the TID mapping relationship has been modified.

[0328] Alternatively, in the embodiment of the present application, step S704 may specifically include the following steps S7041: receiving a wake-up frame from a third target device in the first link, and marking the first link as a wake-up state.

[0329] In this way, after learning that the third target device wakes up the first link, the first target device can transfer part of the first service flow from the first link to the third target device, and transfer another part of the first service flow from the second link to the third target device.

[0330] Fig.18 A schematic diagram of the structure of a communication device provided in an embodiment of the present application.

[0331] like Fig.18 As shown, in one embodiment, the third target device can be Fig.18 The hardware device shown implements the corresponding functions. The device may include: a touch screen 801, a memory 802, a processor 803 and a communication module 804. The above-mentioned devices may be connected through one or more communication buses 805. The above-mentioned devices may be connected through one or more communication buses 805. The touch screen 801 may include a display panel 8011 and a touch sensor 8012, wherein the display panel 8011 is used to display an image, and the touch sensor 8012 may pass the detected touch operation to the application processor to determine the type of touch event, and provide a visual output related to the touch operation through the display panel 8011. The processor 803 may include one or more processing units, for example: the processor 803 may include an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor, and / or a neural network processor, etc. Among them, different processing units may be independent devices or integrated in one or more processors. The memory 802 is coupled to the processor 803 for storing various software programs and / or computer instructions, and the memory 802 may include a volatile memory and / or a non-volatile memory. When the processor executes the computer instructions, the electronic device can perform the various functions or steps of the above method embodiments.

[0332] When the software program and / or multiple groups of instructions in the memory 802 are executed by the processor 803, the electronic device implements the following method steps: establishing a connection with a first target device through a first link and a second link to access a network; wherein the first link is located in a first frequency band and the second link is located in a second frequency band; transmitting a first service flow based on the first link and the second link; establishing a point-to-point connection with a second target device through a third link, wherein the third link is located in the first frequency band; terminating the transmission of the first service flow on the first link, and transmitting the second service flow with the second target device on the third link; and resuming the transmission of the first service flow on the first link after the third link is disconnected.

[0333] An embodiment of the present application also provides a hardware device of another communication device, and a second target device can implement corresponding functions based on the hardware device. The device includes: a processor, a memory and a communication module, and the memory stores program instructions. When the program instructions are executed by the processor, the target device executes the communication link adjustment method in any implementation method of the above embodiments.

[0334] An embodiment of the present application also provides another hardware device of a communication device, and a first target device can implement corresponding functions based on the hardware device. The device includes: a processor, a memory and a communication module, and the memory stores program instructions. When the program instructions are executed by the processor, the target device executes the communication link adjustment method in any implementation method of the above embodiments.

[0335] An embodiment of the present application further provides a communication system, the communication system comprising the first target device as described above, the second target device as described above, and the third target device as described above.

[0336] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected by lines. For example, the interface circuit can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices. Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instruction is executed by the processor, the electronic device can perform the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.

[0337] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed in the above-mentioned method embodiment.

[0338] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute each function or step executed in the above method embodiment.

[0339] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0340] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0341] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0342] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0343] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0344] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A communication link adjustment method, characterized in that: include: Establishing a connection with a first target device through a first link and a second link to access a network; wherein the first link is located in a first frequency band, and the second link is located in a second frequency band; Transmitting a first service flow based on the first link and the second link; Establishing a point-to-point connection with a second target device via a third link, wherein the third link is located in the first frequency band; suspending transmission of the first service flow on the first link, and transmitting a second service flow with the second target device on the third link; After the third link is disconnected, transmission of the first service flow on the first link is resumed.

2. The communication link adjustment method according to claim 1, characterized in that: After the step of establishing a point-to-point connection with the second target device through the third link, the method further includes: A target channel connected point-to-point with the second target device is determined, where the target channel is one of a plurality of channels corresponding to the third link.

3. The communication link adjustment method according to claim 2, characterized in that: The step of terminating transmission of the first service flow on the first link and transmitting the second service flow with the second target device on the third link comprises: If the point-to-point connection type with the second target device is a first connection type, suspending transmission of the first service flow on the first link, and transmitting the second service flow with the second target device on the target channel; the first connection type corresponds to the second service flow being a non-real-time service flow; If the point-to-point connection type with the second target device is a second connection type, obtaining a channel number of a first channel; the second connection type corresponds to the second service flow being a real-time data flow; the first channel is a channel corresponding to the first link for transmitting the first service flow; If the channel number of the target channel is different from the channel number of the first channel, the transmission of the first service flow on the first link is terminated, and the second service flow is transmitted with the second target device on the target channel.

4. The communication link adjustment method according to claim 3, characterized in that: Also includes: If the channel number of the target channel is the same as the channel number of the first channel, dividing the time into a plurality of first time slots and a plurality of second time slots, and the plurality of first time slots and the plurality of second time slots are arranged in sequence according to a preset order; When the first time slot arrives, transmitting the first service flow on the target channel; When the second time slot arrives, the second service flow is transmitted on the target channel.

5. The communication link adjustment method according to claim 2, characterized in that: The step of determining a target channel for point-to-point connection with the second target device comprises: receiving a first connection response frame from the second target device, wherein the first connection response frame carries capability information; Parsing the first connection response frame to obtain the capability information, and determining whether the second target device supports association between a device MAC address and a link MAC address based on the capability information; receiving a first negotiation request frame from the second target device, wherein the first negotiation request frame carries a first channel number; wherein the first channel number is the channel number of the preferred channel of the second target device; In response to the first negotiation request frame, if the second target device does not support association between the device MAC address and the link MAC address, sending a first negotiation response frame to the second target device, where the first negotiation response frame carries the first channel number and a first intention value, where the first intention value is equal to a minimum value in an optional range of intention values; A first negotiation confirmation frame is received from the second target device, wherein the first negotiation confirmation frame carries a target channel number, the target channel number corresponds to the target channel, the target channel number is determined by the second target device based on the first intention value, and the target channel number is the same as the first channel number.

6. The communication link adjustment method according to claim 5, characterized in that: The step of determining a target channel for point-to-point connection with the second target device further includes: receiving a first connection request frame from the second target device, wherein the first connection request frame carries the capability information; Parsing the first connection request frame to obtain the capability information, and determining whether the second target device supports association between a device MAC address and a link MAC address based on the capability information; Sending a second negotiation request frame to the second target device, wherein the second negotiation request frame includes at least a second intention value; wherein when the second target device does not support association between a device MAC address and a link MAC address, the second intention value is equal to a minimum value in an optional range of intention values; A second negotiation response frame is received from the second target device, wherein the second negotiation response frame carries the target channel number, the target channel number corresponds to the target channel, the target channel number is determined by the second target device based on the second intention value, and the target channel number is the same as the first channel number.

7. The communication link adjustment method according to claim 6, characterized in that: The first connection request frame also carries type information; After the step of receiving the first connection request frame from the second target device, the method further includes: The first connection request frame is parsed to obtain the type information to determine the type of the point-to-point connection.

8. The communication link adjustment method according to any one of claims 1 to 7, characterized in that: The step of suspending transmission of the first service flow on the first link comprises: Sending a first mapping request to the first target device through the first link, so that the first target device maps all of the first service flows to the second link based on the first mapping request; Alternatively, putting the first link into sleep mode; and sending a sleep frame to the first target device via the first link to inform the first target device to mark the first link as a sleep state.

9. The communication link adjustment method according to any one of claims 1 to 7, characterized in that: The step of resuming transmission of the first service flow on the first link comprises: Sending a second mapping request to the first target device through the first link, so that the first target device remaps the first service flow to the first link based on the second mapping request; Alternatively, the first link is awakened; and a wake-up frame is sent to the first target device through the first link to inform the first target device to mark the first link as awake.

10. The communication link adjustment method according to any one of claims 1 to 7, characterized in that: The first frequency band is 5 GHz, and the second frequency band is 2.4 GHz, or the first frequency band is 2.4 GHz, and the second frequency band is 5 GHz.

11. A communication link adjustment method, characterized in that: include: Establishing a point-to-point connection with a third target device via a third link, wherein the third link is in the first frequency band; A second service flow is transmitted to the third target device over the third link.

12. The communication link adjustment method according to claim 11, characterized in that: After the step of establishing a point-to-point connection with the third target device through the third link, the method further includes: A target channel connected point-to-point with the third target device is determined, where the target channel is one of a plurality of channels corresponding to the third link.

13. The communication link adjustment method according to claim 12, characterized in that: The step of determining a target channel for point-to-point connection with the third target device comprises: Sending a first connection response frame to the third target device, wherein the first connection response frame carries capability information, wherein the capability information indicates whether association between the device MAC address and the link MAC address is supported; Sending a first negotiation request frame to the third target device, wherein the first negotiation request frame carries a first channel number; wherein the first channel number is the channel number of the current preferred channel; receiving a first negotiation response frame from the third target device, wherein the first negotiation response frame carries the first channel number and a first intention value, and the first intention value is equal to a minimum value in an optional range of intention values; In response to the first negotiation response frame, determining a channel corresponding to the first channel number as the target channel based on the first intention value; A first negotiation confirmation frame is sent to the third target device, wherein the first negotiation confirmation frame carries a target channel number, and the target channel number corresponds to the target channel.

14. The communication link adjustment method according to claim 13, characterized in that: The step of determining a target channel for point-to-point connection with the third target device further includes: Sending a first connection request frame to the third target device, where the first connection request frame carries the capability information; receiving a second negotiation request frame sent from the third target device, wherein the second negotiation request frame includes at least a second intention value, and the second intention value is equal to a maximum value in an optional range of intention values; In response to the second negotiation request frame, a second negotiation response frame is sent to the third target device based on the second intention value, wherein the second negotiation response frame carries the target channel number.

15. A communication link adjustment method, characterized in that: include: Establishing a connection with a third target device through a first link and a second link; wherein the first link is located in a first frequency band, and the second link is located in a second frequency band; Transmitting a first service flow with the third target device based on the first link and the second link; In response to a request from the third target device, suspending transmission of the first service flow on the first link; And, in response to a request from the third target device, resuming transmission of the first service flow on the first link.

16. The communication link adjustment method according to claim 15, characterized in that: In response to a request from the third target device, the step of suspending transmission of the first service flow on the first link comprises: receiving a first mapping request from the third target device in the first link, and mapping all of the first service flows to the second link using the first mapping request; Alternatively, a sleep frame from the third target device in the first link is received, and the first link is marked as a sleep state.

17. The communication link adjustment method according to claim 16, characterized in that: In response to the request of the third target device, the step of resuming transmission of the first service flow on the first link further includes: receiving a second mapping request from the third target device in the first link, and re-mapping the first service flow to the first link using the second mapping request; Alternatively, a wake-up frame from the third target device in the first link is received, and the first link is marked as a wake-up state.

18. A communication device, characterized in that: The device comprises a processor and a memory, wherein the memory stores program instructions. When the program instructions are executed by the processor, the communication device executes the communication link adjustment method according to any one of claims 1 to 10.

19. A communication device, characterized in that: The device comprises a processor and a memory, wherein the memory stores program instructions. When the program instructions are executed by the processor, the communication device executes the communication link adjustment method according to any one of claims 11 to 14.

20. A communication device, characterized in that: The device comprises a processor and a memory, wherein the memory stores program instructions. When the program instructions are executed by the processor, the communication device executes the communication link adjustment method according to any one of claims 15 to 17.

21. A communication system, characterized in that: Includes the communication device as claimed in claim 18, the communication device as claimed in claim 19, and the communication device as claimed in claim 20.