Master link updating method and device, equipment and storage medium

CN116017782BActive Publication Date: 2026-10-23YIBIN XGIMI OPTOELECTRONIC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211563367.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2026-10-23
Estimated Expiration
2042-12-07

AI Technical Summary

Benefits of technology

[0068]第七方面,本发明提供一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行第一方面或第二方面所述的方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116017782B_ABST
    Figure CN116017782B_ABST
Patent Text Reader

Abstract

The application discloses a kind of main link updating method, device, equipment and storage medium.The method includes: the second multi-link device sends first message by first link, message indicates the first logical entity of closing sending first message;First multi-link device reads first message on first link, determines new main link, and sends update message to the second multi-link device by first link, message indicates new main link;The second multi-link device sends confirmation message to the first multi-link device by first link or new main link;If the first multi-link device receives confirmation message, then update main link, or update main link after waiting for the remaining time length of closing first logical entity or the timeout time length of switching main link after sending update message.The application can make that multi-link device will not be caused by link management from time to time Communication interruption, guarantees the continuity of multi-link device service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication, and more particularly to a main link update method, apparatus, device, and storage medium. Background Technology

[0002] 802.11be systems, also known as Extremely High Throughput (EHT) systems, achieve extremely high throughput through a range of system features and multiple mechanisms. With the continued growth in the use of Wireless Local Area Networks (WLANs), providing wireless data services in many environments, such as homes, businesses, and hotspots, is becoming increasingly important. In particular, video traffic will continue to be a major traffic type in many WLAN deployments. The throughput requirements for these applications are constantly evolving due to the emergence of 4K and 8K video (uncompressed rates of 20Gbps). New high-throughput, low-latency applications such as virtual reality or augmented reality, gaming, remote offices, and cloud computing will proliferate (e.g., latency of less than 5 milliseconds for real-time gaming).

[0003] Given the high throughput and stringent real-time latency requirements of these applications, users expect higher throughput, greater reliability, less latency and jitter, and higher power efficiency when supporting their applications via WLAN. 802.11be systems are designed to ensure WLAN competitiveness by further increasing overall throughput and reducing latency, while ensuring backward compatibility and coexistence with older technology standards. 802.11 compliant devices operate in the 2.4 GHz, 5 GHz, and 6 GHz bands. Summary of the Invention

[0004] When a multi-link terminal device connects to a multi-link access point device, it typically establishes connections on multiple links and performs listening or data transmission on these links. Simultaneous activation of multiple links consumes significant power, and since terminal devices are mostly battery-powered, prolonged use of multiple links for data transmission can lead to rapid battery depletion. Terminal devices can use a power-saving mode, activating only one link as the primary link for communication with the access point device, while setting other links to sleep mode, thus reducing power consumption. However, when the multi-link access point device performs access point management, it may pause or terminate a running logical access point, potentially causing communication failures for multi-link terminal devices that only activate links connected to that logical access point. Therefore, this invention provides a primary link update method, apparatus, device, and storage medium to ensure the continuity of services provided by multi-link devices.

[0005] In a first aspect, the present invention provides a main link update method, comprising:

[0006] A first message is sent via a first link, and the first message indicates that the first logical entity that sent the first message is closed.

[0007] The first update message sent by the first multi-link device is received through the first link. The first update message indicates that the main link to be updated is the second link. The first link is the original main link of the first multi-link device.

[0008] If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of the first multi-link device switching the primary link, then within the timeout duration, a first confirmation message is sent to the first multi-link device through the first link.

[0009] If the remaining time for shutting down the first logical entity is less than the timeout period for the first multi-link device to switch the primary link, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link, or within the remaining time, a first confirmation message is sent to the first multi-link device via the first link, or the first confirmation message is sent to the first multi-link device via the first link within the remaining time. If the message is not successfully sent, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link.

[0010] In one possible implementation, the first message indicates the remaining duration for shutting down the first logical entity.

[0011] In one possible implementation, the first message contains a mapping relationship between service identifiers and links, wherein the mapping relationship between service identifiers and links indicates that all service identifiers are mapped to the second link, for the first multi-link device to select a new primary link.

[0012] In one possible implementation, the mapping relationship between the service identifier and the link indicates that no service identifier is mapped to the first link, which is used to indicate the closure of the first logical entity.

[0013] One possible implementation also includes:

[0014] A second message is sent via the second link, the second message indicating the recovery of the first logical entity and the time for the recovery of the first logical entity, and indicating that all service identifiers are mapped to the first link;

[0015] After the time for restoring the first logical entity is reached, a second update message sent by the first multi-link device is received through the first link, wherein the second update message indicates that the primary link is updated to the first link.

[0016] In one possible implementation, after receiving the second update message sent by the first multi-link device via the first link, the method further includes:

[0017] A second confirmation message is sent to the first multi-link device via the first link.

[0018] One possible implementation also includes:

[0019] A third message is sent via a second link, the third message indicating the addition of the first logical entity;

[0020] The second link receives a multi-link reconfiguration request message sent by the first multi-link device, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link.

[0021] A multi-link reconfiguration response message is sent to the first multi-link device via the second link, and the multi-link reconfiguration response message indicates whether the request is agreed to.

[0022] Secondly, the present invention provides a main link update method, comprising:

[0023] The first message sent by the second multi-link device is received through the first link, and the first message indicates that the first logical entity that sent the first message is closed.

[0024] A first update message is sent to the second multi-link device via the first link, wherein the first update message indicates that the primary link to be updated is the second link;

[0025] If a first confirmation message is received from the second multi-link device, the primary link is updated from the first link to the second link; or, after sending the first update message, the primary link is updated from the first link to the second link after waiting for the timeout duration of switching the primary link or the remaining duration of closing the first logical entity.

[0026] In one possible implementation, the first message indicates the remaining duration for shutting down the first logical entity, and the step of updating the primary link from the first link to the second link if a first confirmation message is received from the second multi-link device; or updating the primary link from the first link to the second link after waiting for the timeout duration for switching the primary link or the remaining duration for shutting down the first logical entity after sending the first update message, includes:

[0027] If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of switching the main link, then if a first confirmation message sent by the second multi-link device is received through the first link, the main link will be updated from the first link to the second link; or after sending the first update message and waiting for the timeout duration, the main link will be updated from the first link to the second link.

[0028] If the remaining time for shutting down the first logical entity is less than the timeout for switching the main link, then the second logical entity operating on the second link is woken up. If a first confirmation message sent by the second multi-link device is received through the second link or the first link, the main link is updated from the first link to the second link; or after sending the first update message, the main link is updated from the first link to the second link after waiting for the timeout or the remaining time.

[0029] In one possible implementation, the first message includes a mapping relationship between service identifiers and links, wherein the mapping relationship indicates that all service identifiers are mapped to the second link, and the method further includes:

[0030] The second link is selected as the new main link based on the mapping relationship between the service identifier and the link.

[0031] In one possible implementation, the mapping relationship between the service identifier and the link indicates that no service identifier is mapped to the first link, which is used to indicate the closure of the first logical entity.

[0032] One possible implementation also includes:

[0033] The second message sent by the second multi-link device is received through the second link. The second message indicates the time for restoring the first logical entity and the time for restoring the first logical entity, and indicates that all service identifiers are mapped to the first link.

[0034] After the time for restoring the first logical entity is reached, a second update message is sent to the second multi-link device via the first link. The second update message indicates that the primary link to be updated is the first link.

[0035] If a second confirmation message is received from the second multi-link device via the first link, the main link is updated from the second link to the first link; or, after sending the first update message, the main link is updated from the second link to the first link after waiting for the timeout period.

[0036] One possible implementation also includes:

[0037] The third message sent by the second multi-link device is received via the second link, and the third message indicates the addition of the first logical entity;

[0038] A multi-link reconfiguration request message is sent to the second multi-link device via the second link, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link.

[0039] The second link receives a multi-link reconfiguration response message sent by the second multi-link device, wherein the multi-link reconfiguration response message indicates whether the request is agreed to.

[0040] If the multi-link reconfiguration response message indicates an agreement request, then the first link is set as the secondary link.

[0041] Thirdly, the present invention provides a main link update apparatus, including a link update module, the link update module being used to perform the following steps:

[0042] A first message is sent via a first link, and the first message indicates that the first logical entity that sent the first message is closed.

[0043] The first update message sent by the first multi-link device is received through the first link. The first update message indicates that the main link to be updated is the second link. The first link is the original main link of the first multi-link device.

[0044] If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of the first multi-link device switching the primary link, then within the timeout duration, a first confirmation message is sent to the first multi-link device through the first link.

[0045] If the remaining time for shutting down the first logical entity is less than the timeout period for the first multi-link device to switch the primary link, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link, or within the remaining time, a first confirmation message is sent to the first multi-link device via the first link, or the first confirmation message is sent to the first multi-link device via the first link within the remaining time. If the message is not successfully sent, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link.

[0046] In one possible implementation, the link update module is further configured to perform the following steps:

[0047] A second message is sent via the second link, the second message indicating the recovery of the first logical entity and the time for the recovery of the first logical entity, and indicating that all service identifiers are mapped to the first link;

[0048] After the time for restoring the first logical entity is reached, a second update message sent by the first multi-link device is received through the first link, wherein the second update message indicates that the primary link is updated to the first link.

[0049] In one possible implementation, the link update module is further configured to perform the following steps:

[0050] A third message is sent via a second link, the third message indicating the addition of the first logical entity;

[0051] The second link receives a multi-link reconfiguration request message sent by the first multi-link device, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link.

[0052] A multi-link reconfiguration response message is sent to the first multi-link device via the second link, and the multi-link reconfiguration response message indicates whether the request is agreed to.

[0053] Fourthly, the present invention provides a master link update device, including a link update module, the link update module being used to perform the following steps:

[0054] The first message sent by the second multi-link device is received through the first link, and the first message indicates that the first logical entity that sent the first message is closed.

[0055] A first update message is sent to the second multi-link device via the first link, wherein the first update message indicates that the primary link to be updated is the second link;

[0056] If a first confirmation message is received from the second multi-link device, the primary link is updated from the first link to the second link; or, after sending the first update message, the primary link is updated from the first link to the second link after waiting for the timeout duration of switching the primary link or the remaining duration of closing the first logical entity.

[0057] In one possible implementation, the link update module is further configured to perform the following steps:

[0058] The second message sent by the second multi-link device is received through the second link. The second message indicates the time for restoring the first logical entity and the time for restoring the first logical entity, and indicates that all service identifiers are mapped to the first link.

[0059] After the time for restoring the first logical entity is reached, a second update message is sent to the second multi-link device via the first link. The second update message indicates that the primary link to be updated is the first link.

[0060] If a second confirmation message is received from the second multi-link device via the first link, the main link is updated from the second link to the first link; or, after sending the first update message, the main link is updated from the second link to the first link after waiting for the timeout period.

[0061] In one possible implementation, the link update module is further configured to perform the following steps:

[0062] The third message sent by the second multi-link device is received via the second link, and the third message indicates the addition of the first logical entity;

[0063] A multi-link reconfiguration request message is sent to the second multi-link device via the second link, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link.

[0064] The second link receives a multi-link reconfiguration response message sent by the second multi-link device, wherein the multi-link reconfiguration response message indicates whether the request is agreed to.

[0065] If the multi-link reconfiguration response message indicates an agreement request, then the first link is set as the secondary link.

[0066] Fifthly, the present invention provides an electronic device including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described in the first or second aspect.

[0067] In a sixth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in the first or second aspect.

[0068] In a seventh aspect, the present invention provides a computer program product comprising computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is executed in an electronic device, a processor in the electronic device performs the method described in the first aspect or the second aspect.

[0069] It should be noted that the apparatus described in the third aspect is used to perform the method provided in the first aspect, the apparatus described in the fourth aspect is used to perform the method provided in the second aspect, the electronic device described in the fifth aspect, the storage medium described in the sixth aspect, and the computer program product described in the seventh aspect are used to perform the method provided in the first or second aspect. Therefore, they can achieve the same beneficial effects as the method described in the first or second aspect, and will not be described in detail hereafter.

[0070] This invention, by instructing an update message to update the main link, updates the main link when it needs to be closed, ensuring that multi-link devices are not subject to communication interruptions caused by link management, thus guaranteeing the continuity of services for multi-link devices. Furthermore, this invention can send an acknowledgment message to the multi-link device via its original or new main link, based on the remaining duration of closing the original main link and the timeout duration for switching the main link. If the multi-link device receives the acknowledgment message, it updates the main link; alternatively, it can wait for the remaining duration of closing the original main link or the timeout duration for switching the main link before updating the main link, thus preventing service interruptions caused by the multi-link device failing to receive the acknowledgment message and thus failing to update the main link in a timely manner. Attached Figure Description

[0071] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present invention;

[0072] Figure 2 A flowchart of a main link update method provided in an embodiment of the present invention;

[0073] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0074] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions in the embodiments of this invention will be clearly and completely described below. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this invention and are not intended to limit this invention. Although the disclosure in this invention is presented according to one or several exemplary examples, it should be understood that each aspect of these disclosures can constitute a complete technical solution on its own. Without conflict, the following embodiments and features described herein can be combined with each other.

[0075] In the embodiments of the present invention, "at least one" refers to one or more, and "more than one" refers to two or more. To facilitate a clear description of the technical solutions of the embodiments of the present invention, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order; they are only used for illustration and differentiation of the described objects, and do not indicate any particular limitation on the number of devices or messages in the embodiments of the present invention, nor do they constitute any limitation on the embodiments of the present invention. The term "comprising" is used to indicate the presence of the feature subsequently declared, but does not exclude the addition of other features.

[0076] First, a brief explanation of the multi-link technology involved in this invention is provided. In a multi-link scenario, a physical device typically includes multiple logical entities. Here, the physical device can refer to devices such as mobile phones, televisions, and projectors, while the logical entity refers to a logical unit within the physical device, belonging to a virtual functional module. One logical entity corresponds to one transceiver, and each logical entity can independently manage data transmission and reception, operating independently on one link. Such a physical device is called a multi-link device (MLD). In this embodiment of the invention, the logical entities in a multi-link terminal device are called logical terminals, and the logical entities in a multi-link access point device are called logical access points.

[0077] Figure 1 This is a schematic diagram of a communication system provided in an embodiment of the present invention. Figure 1 As shown, the communication system includes a multi-link terminal device (STA MLD) and a multi-link access point device (AP MLD). The STA MLD includes three logical terminals: STA1, STA2, and STA3. The AP MLD includes three logical access points: AP1, AP2, and AP3. STA1 is connected to AP1, STA2 is connected to AP2, and STA3 is connected to AP3. In this embodiment, it is assumed that AP1 operates on a 2.4GHz link, with the link identifier set to link1; AP2 operates on a 5GHz link, with the link identifier set to link2; and AP3 operates on a 6GHz link, with the link identifier set to link3.

[0078] It should be understood that Figure 1 This is merely a schematic diagram of a communication system architecture. The number and type of devices in the communication system are not limited in this embodiment of the invention. For example, it may include more terminals or access points. Terminals and access points can be multi-link devices or single-link devices, and the number of logical entities in different multi-link devices may also differ. Furthermore, those skilled in the art will understand that, based on the principles and functions described herein, the term "access point (AP)" according to this application can also be used to describe an access port or any other access point capable of receiving and transmitting wireless signals within a network architecture. Therefore, the use of "access point" is merely exemplary.

[0079] Continue reading Figure 1 The STA MLD can use or not use power-saving mode as needed. When using power-saving mode, the STA MLD only listens or transmits data on its primary link, while the secondary link is in a sleep state and can be woken up to transmit data. The method for the STA MLD to enter power-saving mode can refer to existing technologies. The following is an example of a method for enabling power-saving mode.

[0080] S1001 and AP MLD send broadcast messages (such as beacon messages) through AP1. The broadcast message contains the link identifier of AP1-AP3, the multi-link power saving mode capability indicator (ML powersaving support), and the power saving mode timeout duration (transition timeout). In this embodiment of the invention, ML powersaving support is set to 1, indicating support for multi-link power saving mode; transition timeout is used to indicate the maximum waiting time for the STA MLD to perform the corresponding operation after sending the multi-link power saving mode message. That is, after the STA MLD sends the multi-link power saving mode message, if it receives a response message from the AP MLD, it will perform the corresponding operation after receiving the response message; if it does not receive a response message from the AP MLD, it will perform the corresponding operation after waiting for the duration indicated by transition timeout after sending the multi-link power saving mode message. For example, if the STAMLD sends a multi-link power saving request message, it indicates the maximum waiting time to enter multi-link power saving mode after sending the multi-link power saving request message. That is, after the STA MLD sends the multi-link power saving request message, if it receives a multi-link power saving response message from the AP MLD indicating agreement to the request, it will enter multi-link power saving mode after receiving the multi-link power saving response message; if it does not receive a multi-link power saving response message from the AP MLD, it will enter multi-link power saving mode after waiting for the duration indicated by transition timeout after sending the multi-link power saving request message. For example, STA... If the MLD sends a multi-link power saving update message (used to update the primary link), it indicates the maximum waiting time for switching the primary link after sending the multi-link power saving update message. This can also be called the timeout period for switching the primary link. That is, if the STA MLD receives a multi-link power saving update confirmation message from the AP MLD after sending the multi-link power saving update message, it will update the primary link from the original primary link to the new primary link after receiving the confirmation message. If it does not receive a multi-link power saving update confirmation message from the AP MLD, it will wait for the duration indicated by the transition timeout after sending the multi-link power saving update message before updating the primary link from the original primary link to the new primary link.

[0081] It should be noted that the ML powersaving support indicator and the powersaving mode timeout can be included in the broadcast message or in other messages, such as probe response messages (e.g., ML probe response messages) or connection response messages (e.g., Association response messages).

[0082] S1002 and STA1 read the broadcast message sent by AP1 and obtain the link identifiers of AP1 and AP2.

[0083] S1003 and STA1 send probe request messages (such as ML probe request messages) to AP1, which contain link identifiers link1, link2 and link3.

[0084] S1004 and AP1 receive probe request messages and send probe response messages (such as ML probe response messages) to STA1. The messages contain system parameters of AP1, AP2 and AP3 corresponding to link identifiers link1, link2 and link3.

[0085] S1005, STA1 sends a connection request message (such as an Association request message) to AP1. The message contains the operation parameters of STA1, STA2 and STA3 and the corresponding operation links. In this embodiment of the invention, STA1 operates on link1, STA2 operates on link2 and STA3 operates on link3.

[0086] S1006, AP1 sends a connection response message (such as an Association response message) to STA1. The message indicates that the links have been successfully established, including link1, link2 and link3, and includes the operation parameters on each link and the connection identifier AID assigned to STAMLD.

[0087] If the STA MLD needs to save power consumption, and the connected AP MLD's capability parameter MLpowersaving support indicates support for multi-link power saving mode, it can determine the main logic terminal based on information such as power and signal strength. Other logic terminals serve as auxiliary logic terminals. The main logic terminal is used for normal communication with the AP MLD, including listening to broadcast messages, receiving data, and sending data. The auxiliary logic terminals are normally in sleep mode. When there is a large amount of data to be sent or received, the STA MLD can wake up the auxiliary logic terminals autonomously or under the instruction of the AP MLD to send or receive data. In this embodiment of the invention, it is assumed that the signal strength of AP1 measured by STA1 is the largest, and the link operated by STA1 is in the 2.4GHz frequency band with lower power. Therefore, STA1 is selected as the main logic terminal, and the link link1 where the main logic terminal is located is designated as the main link.

[0088] S1007 and STA MLD send a multi-link powersaving request message (such as a Multi-link Powersaving request message) to AP MLD via STA1 on link 1. The message contains the following parameters:

[0089] Primary link: The identifier of the link operated by the main logic terminal, i.e., the identifier of the main link. In this embodiment, it is set to link1.

[0090] MLPS mode enabled: Indicates whether multi-link power saving mode is enabled. Setting it to 1 indicates that it is enabled; setting it to 0 indicates that it is disabled. In this embodiment, it is set to 1.

[0091] DL wake enabled (optional): Whether downlink wake-up of auxiliary logic terminals is supported. Setting it to 1 indicates that it is enabled; setting it to 0 indicates that it is disabled.

[0092] S1008 and AP MLD receive multi-link power saving request messages on link 1 through AP1, and send multi-link power saving response messages (such as Multi-link Powersaving response messages) to STAMLD on link 1 through AP1. The message contains a status parameter Status. If AP MLD agrees to STAMLD's request, the value of the status parameter Status is set to SUCCESS, indicating that the request is agreed; if AP MLD disagrees with STAMLD's request, the value of the status parameter Status is set to REJECT, indicating that the request is disagreed.

[0093] S1009 and STA MLD receive multi-link power saving response messages on link1 via STA1. If the status parameter value contained therein is SUCCESS, then power saving operation is performed according to the requested power saving parameters; if the status parameter value contained therein is REJECT, then the current mode is maintained, that is, the normal operation is maintained without power saving operation.

[0094] If STA MLD does not receive a multi-link power saving response message within the power saving mode timeout period after sending the multi-link power saving request message, it will not resend the multi-link power saving request message; if it still does not receive a multi-link power saving response message after the power saving mode timeout period after sending the multi-link power saving request message, it will resend the multi-link power saving request message to APMLD or enter the multi-link power saving mode.

[0095] In the multi-link power-saving mode, STA MLD reads AP1's broadcast messages on link1 only through the logical terminal STA1 belonging to STA MLD, sends data to AP1 only through STA1 on link1, and receives data sent by AP1 only through STA1 on link1. STA MLD can set a threshold value T1. When the data buffer size is greater than the threshold value T1, it wakes up the auxiliary logical terminals STA2 and / or STA3 to send data on the auxiliary links link2 and / or link3.

[0096] After the STA MLD enters multi-link power-saving mode, the AP MLD only sends data to STA1 through AP1 on the link indicated by the Primary link, i.e., link1. If the parameter DL wake enabled is 1, the AP MLD can send a start message to the STA MLD based on the parameter DL wake buffer Threshold or a threshold value T2. When the data buffer size is greater than the threshold value DL wakebuffer Threshold or T2, the AP MLD indicates the link that needs to be woken up. After receiving the start message, the STA MLD can send response messages to the AP MLD on the main link and other links that need to be woken up, according to the link indicated in the start message. The AP MLD can then send data to the STAMLD on the link that received the response message.

[0097] In some embodiments, the STA MLD can proactively request to terminate the power-saving mode according to its own policies, such as terminating the power-saving mode based on the need for no power consumption saving or the service type requiring it. For example, the STA MLD sends a multi-link power-saving notification message (such as a Multi-link Powersaving notify message) to the AP MLD via STA1 on link1. The message includes the following parameters:

[0098] MLPS mode enabled: Indicates whether multi-link power saving mode is enabled. In this embodiment, it is set to 0, which means it is disabled.

[0099] After sending a multi-link power-saving notification message, the STA MLD waits for the duration indicated by the parameter transition timeout before terminating the power-saving mode. Both the primary and secondary logic terminals are active and can read broadcast messages, receive data sent by the AP MLD, and send data to the AP MLD.

[0100] In some embodiments, the STA MLD can proactively request a switch of the primary link based on its own strategy, such as determining the new primary link as link2 based on signal quality or service type requirements on the primary link. For example, the STA MLD sends a multi-link powersaving update message (such as a Multi-link Powersaving update message) to the AP MLD via STA1 on link1. The message indicates the new primary link; for example, the multi-link powersaving update message may include the following parameters:

[0101] Primary link: The identifier of the link operated by the main logic terminal, that is, the identifier of the primary link. In this embodiment, it is set to link2, that is, the primary link is updated from link1 to link2;

[0102] MLPS mode enabled: Indicates whether multi-link power saving mode is enabled. In this embodiment, it is set to 1, which means enabled.

[0103] Optionally, the multi-link power saving update message may also include the following parameters:

[0104] PPrimary link: Identifier of the original main link, set to link1 in this embodiment;

[0105] TPrimary link: The identifier of the new primary link, which is set to link2 in this embodiment;

[0106] MLPS mode enabled: Indicates whether multi-link power saving mode is enabled. In this embodiment, it is set to 1, which means enabled.

[0107] After sending the multi-link power-saving update message, the STA MLD waits for the duration indicated by the transition timeout parameter, updates the multi-link power-saving mode, and changes the primary link from link1 to link2. This wakes up the logical terminal STA2 operating on link2 and puts the logical terminal STA1 operating on link1 into a sleep state. Optionally, if the STA MLD receives a multi-link power-saving update confirmation message (such as a Multi-link Powersaving confirm message) from the APMLD, confirming receipt of the STA MLD's multi-link power-saving update message, the STA MLD updates the multi-link power-saving mode upon receiving the confirmation message, changing the primary link from link1 to link2.

[0108] In other embodiments, the STA MLD can also switch the primary link according to the instructions of the AP MLD. For example, the AP MLD may need to shut down AP1, such as pausing or terminating its operation, or the AP MLD may need to communicate with the STA MLD through another link (such as link 2) for load balancing or other reasons. For instance, the AP MLD sends a multi-link powersaving update message (such as a multi-link powersaving update message) to the STA MLD via AP1 on link 1. The message indicates the new primary link. For example, the multi-link powersaving update message may include the following parameters:

[0109] Primary link: The identifier of the primary link. In this embodiment, it is set to link2, that is, the primary link is updated to link2;

[0110] Update cause (optional): The reason for updating the main link. If set to suspend, it indicates that the logical access point on the original main link is suspended; if set to stop, it indicates that the logical access point on the original main link is terminated; if set to balance, it indicates that it is for load balancing.

[0111] MLPS mode enabled: Indicates whether multi-link power saving mode is enabled. In this embodiment, it is set to 1, which means enabled.

[0112] When the STA MLD receives the multi-link power saving update message from the AP MLD, it updates the multi-link power saving mode and changes the primary link from the original primary link (i.e., link1) to the link indicated by the Primary link (i.e., link2).

[0113] Optionally, when the AP MLD decides to shut down AP1, the AP MLD may only notify the STA MLD to shut down the operation of AP1, and the STAMLD will determine the new primary link and notify the AP MLD of the determined new primary link, and then update the multi-link power saving mode. Figure 2 This is a flowchart of a main link update method provided in an embodiment of the present invention. Figure 2 As shown, the main link update method includes the following:

[0114] S201 and AP MLD send a broadcast message through AP1, instructing AP1 to shut down.

[0115] For example, if AP MLD decides to suspend the operation of AP1, the broadcast message may include the following parameters:

[0116] Switch timer: The duration from receiving the broadcast message to AP1 pausing operation, i.e., the remaining duration of AP1's operation being paused. In this embodiment of the invention, since the time it takes for the message to travel from the sender to the receiver is very short, the message propagation time can be ignored, i.e., it is assumed that the time when the sender sends the message is the same as the time when the receiver receives the message.

[0117] TID TO link map: The mapping relationship between service identifiers and links. In this embodiment of the invention, all service identifiers are mapped to link 2, and all or some service identifiers are mapped to link 3. Furthermore, it can be set that no service identifiers are mapped to link 1. This setting can be used to indicate the suspension of AP1.

[0118] It should be understood that the broadcast message may also contain other parameters for indicating the suspension of AP1 operation, as long as they can indicate this. AP MLD may also notify STA MLD through other messages. This embodiment of the invention does not impose any restrictions on this.

[0119] For example, if the AP MLD decides to terminate the operation of AP1, the broadcast message may include a Reconfiguration Multi-Link element, which may include a parameter delete timer to indicate the duration between receiving the broadcast message and the termination of AP1's operation. If the broadcast message includes the parameter delete timer and its value is not empty, it indicates the termination of AP1's operation. In some other embodiments, the termination of AP1's operation may also be indicated by other parameters.

[0120] In some embodiments, after sending a broadcast message, the AP MLD may enable a local switch timer. The value of the switch timer is the same as the value of the switch timer or delete timer parameter (if included in the broadcast message) in the broadcast message, which is used to indicate the remaining duration for shutting down (pausing or terminating) AP1.

[0121] S202 and STA MLD read the broadcast message sent by AP1 through STA1, determine the new primary link, and send a multi-link power saving update message to AP MLD through STA1, which indicates the new primary link.

[0122] Specifically, the STA MLD reads the broadcast message indicating that AP1 should be shut down, determines a new primary link, and in this embodiment of the invention, assumes that the new primary link is link2. If the link with the best signal quality (excluding link1) can be selected as the primary link based on signal quality, then a multi-link power saving update message is sent to the AP MLD on link1. An example of the parameters included in the multi-link power saving update message is as follows:

[0123] Primary link: The identifier of the primary link. In this embodiment, it is set to link2, which means that the primary link is updated from link1 to link2.

[0124] MLPS mode enabled: Indicates whether multi-link power saving mode is enabled. In this embodiment, it is set to 1, which means enabled.

[0125] Optionally, if the broadcast message contains the parameter TID TO link map, the STA MLD can also determine a new primary link based on this parameter, such as selecting the link to which all service identifiers are mapped as the primary link, which in this embodiment is link2.

[0126] In some embodiments, after sending a multi-link power saving update message, the STA MLD can enable a local transition timer. The value of the transition timer is set to the value of transition timeout, which is used to indicate the timeout duration for the STA MLD to switch the primary link.

[0127] S203 and AP MLD send a multi-link power saving update confirmation message to STA MLD through AP1 or AP2 based on the remaining time of AP1 shutdown and the timeout period of STA MLD switching the main link.

[0128] In some embodiments, the AP MLD receives a multi-link power saving update message sent by the STA MLD through AP1 and enables a transition timer locally. The value of the transition timer is set to the value of transition timeout, which is used to indicate the timeout duration for the STAMLD to switch the primary link.

[0129] If the remaining duration of AP1 shutdown is greater than or equal to the timeout duration of STA MLD switching the main link, for example, when the switching timer expires outside the transition timer's running time, then within the duration indicated by the transition timeout (i.e., the timeout duration of STA MLD switching the main link), for example, during the transition timer's running time, AP1 sends a multi-link power saving update confirmation message to STA MLD on link1.

[0130] If the remaining duration of AP1 shutdown is less than the timeout duration for STA MLD to switch the main link (e.g., the switch timer expires during the transition timer's runtime), then within the duration indicated by the transition timeout (i.e., the timeout duration for STA MLD to switch the main link), such as during the transition timer's runtime, a multi-link power-saving update confirmation message will be sent to STA MLD via AP2 on link2; or within the remaining duration of AP1 shutdown (i.e., before AP1 shutdown), a multi-link power-saving update confirmation message will be sent to STA MLD via AP1 on link1. If this fails, no further transmission will be attempted, and the transition timer will terminate after the switch timer expires; or, alternatively, an attempt will be made first to send a multi-link power-saving update confirmation message to STA MLD via AP1 on link1 within the remaining duration of AP1 shutdown (i.e., before AP1 shutdown). If MLD fails to send, within the duration indicated by transitiontimeout (i.e., the timeout duration for STAMLD to switch the main link), such as during the transition timer's running time, AP2 sends a multi-link power saving update confirmation message to STAMLD on link2. At this time, after the switch timer expires, the transition timer continues to run.

[0131] If S204 or STA MLD receives a multi-link power saving update confirmation message from AP MLD, it updates the main link, or waits for the timeout period or remaining time after sending the multi-link power saving update message before updating the main link.

[0132] In some embodiments, if the broadcast message in step S201 includes the parameter switch timer (or delete timer), the STA MLD can, upon receiving the broadcast message, enable a switch timer locally. The value of this switch timer is the same as the value of the parameter switch timer (or delete timer) in the broadcast message, indicating the remaining duration of pausing (or terminating) AP1. Further, the STA MLD can perform operations based on the remaining duration of AP1 shutdown and the timeout duration for switching the primary link, ensuring that the STA MLD updates the primary link in a timely manner, as shown in the following example:

[0133] If the remaining duration of AP1 shutdown is greater than or equal to the timeout duration of switching the primary link, for example, when the switch timer expires outside the transition timer's runtime, then STAMLD updates the multi-link power saving mode after receiving the multi-link power saving update confirmation message sent by AP MLD through link1. That is, the primary link is updated from link1 to link2 indicated by the Primary link parameter in the multi-link power saving update message. If no multi-link power saving update confirmation message is received on link1, the multi-link power saving mode is updated after waiting for the duration indicated by the transition timeout (i.e., the timeout duration of STAMLD switching the primary link) after sending the multi-link power saving update message. For example, the multi-link power saving mode is updated after the transition timer expires.

[0134] If the remaining timeout for shutting down AP1 is less than the timeout for switching the main link (e.g., the switch timer expires within the transition timer's runtime), the STA MLD will wake up the logical terminal STA2 operating on link2. If a multi-link power saving update confirmation message sent by the AP MLD is received on link1 or link2, the multi-link power saving mode will be updated. If no multi-link power saving update confirmation message is received on link1 or link2, the multi-link power saving mode will be updated after waiting for the duration indicated by the transition timeout (i.e., the timeout for the STA MLD to switch the main link) after sending the multi-link power saving update message, for example, after the transition timer expires. Alternatively, if a multi-link power saving update confirmation message sent by the AP MLD is received on link1, the multi-link power saving mode will be updated. If no multi-link power saving update confirmation message is received on link1, the multi-link power saving mode will be updated after waiting for the remaining timeout for shutting down AP1 after sending the multi-link power saving update message, for example, after the switch timer expires.

[0135] In some embodiments, after suspending AP1 for a period of time, AP MLD can resume the operation of AP1 according to its own strategy and notify STAMLD of the resumption of AP1 operation. For example, AP MLD sends a broadcast message through STAMLD's main link link2, indicating that AP1 operation should be resumed. When STAMLD reads the broadcast message indicating that AP1 operation should be resumed on the main link link2, it can decide whether to switch the main link to link1. If it needs to switch to link1, it sends a multi-link power saving update message to AP MLD through STA2 on link2 or through STA1 on link1. The message indicates that the main link should be updated to link1. After receiving the multi-link power saving update confirmation message sent by AP MLD on link2 or link1, STAMLD updates the multi-link power saving mode, updates the main link from link2 to link1, that is, wakes up the logical terminal STA1 operating on link1, and puts the logical terminal STA2 operating on link2 into a sleep state. Or, if no multi-link power saving update confirmation message is received, it waits for the duration indicated by the transition timeout after sending the multi-link power saving update message before updating the multi-link power saving mode.

[0136] Furthermore, the AP MLD can include the following parameters in the broadcast message instructing AP1 to resume operation:

[0137] Switch timer: The time elapsed between receiving the broadcast message and AP1 resuming operation, i.e., the remaining time for AP1 to resume operation.

[0138] TID TO link map: The mapping relationship between service identifiers and links. In this embodiment of the invention, all service identifiers are mapped to link 1, all or some service identifiers are mapped to link 2, and all or some service identifiers are mapped to link 3. In other embodiments, some service identifiers can also be mapped to link 1. As long as there are service identifiers mapped to link 1, it can be used to indicate the restoration of AP1's operation.

[0139] STA MLD reads the broadcast message indicating the resumption of AP1 operation through STA1. If it decides to switch the primary link to link1, it sends a multi-link power saving update message to AP MLD through STA1 on link1 after the duration indicated by the switch timer parameter in the broadcast message. The message indicates that the primary link is updated to link1. After receiving the multi-link power saving update confirmation message sent by AP MLD on link1, it updates the multi-link power saving mode and updates the primary link from link2 to link1. Alternatively, if it does not receive the multi-link power saving update confirmation message, it waits for the duration indicated by the transition timeout (i.e., the timeout duration for STAMLD to switch the primary link) after sending the multi-link power saving update message before updating the multi-link power saving mode.

[0140] In some embodiments, after terminating AP1 for a period of time, the AP MLD can re-establish AP1, i.e., add AP1, and notify the STA MLD of the re-establishment. For example, by modifying the broadcast message of AP2 on the STA MLD's primary link link2, the maximum number of supported access points is increased by 1, and the information of AP1 is added to the adjacent access point report information element. After receiving the instruction to re-establish AP1, the STA MLD can decide whether to switch the primary link to link1. If the primary link is switched to link1, a multi-link power saving update message indicating that the primary link is updated to link1 is sent to the AP MLD. If the primary link is not switched, the following operations can be performed:

[0141] S4001 and STA MLD read the broadcast message from AP MLD that AP1 has been added through STA2. STA2 then sends a multi-link reconfiguration request message (such as an ML reconfiguration request message) to APMLD on link 2, instructing the addition of link 1 and setting link 1 as a secondary link. For example, the multi-link reconfiguration request message may contain the following parameters:

[0142] Link ID: Link identifier, set to the identifier of the link to be added, in this embodiment of the invention it is set to link1;

[0143] Reconfiguration Operation Type: In this embodiment of the invention, it is set to add link, indicating that a link is being added.

[0144] MLPS link: Whether it is a multi-link power-saving mode link, that is, whether it is a secondary link. In this embodiment of the invention, it is set to enable, indicating that it is a multi-link power-saving mode link, that is, a secondary link.

[0145] S4002 and AP MLD receive the multi-link reconfiguration request message sent by STAMLD on link 2 via AP2, and send a multi-link reconfiguration response message (such as ML reconfiguration response message) to STAMLD, indicating whether they agree to the request.

[0146] S4003 and STAMLD receive a multi-link reconfiguration response message sent by AP MLD on link2. If the message indicates an agreement request, link1 is set as a secondary link, that is, the logical terminal STA1 operating on link1 is put into a sleep state.

[0147] The above describes in detail the main link update method in power-saving mode. It should be noted that this main link update method can also be applied to main link updates in other situations, which will not be elaborated further in this embodiment of the invention.

[0148] This invention also provides a master link update device, including a link update module, which is used to perform the following steps:

[0149] A first message is sent via a first link, and the first message indicates that the first logical entity that sent the first message is closed.

[0150] The first update message sent by the first multi-link device is received through the first link. The first update message indicates that the main link to be updated is the second link. The first link is the original main link of the first multi-link device.

[0151] If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of the first multi-link device switching the primary link, then within the timeout duration, a first confirmation message is sent to the first multi-link device through the first link.

[0152] If the remaining time for shutting down the first logical entity is less than the timeout period for the first multi-link device to switch the primary link, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link, or within the remaining time, a first confirmation message is sent to the first multi-link device via the first link, or the first confirmation message is sent to the first multi-link device via the first link within the remaining time. If the message is not successfully sent, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link.

[0153] In an optional example, those skilled in the art will understand that the above-described device may specifically be the AP MLD in the above embodiments. This device can be used to execute the various processes and / or steps corresponding to the AP MLD in the above method. To avoid repetition, it will not be described again here.

[0154] This invention also provides a master link update device, including a link update module, which is used to perform the following steps:

[0155] The first message sent by the second multi-link device is received through the first link, and the first message indicates that the first logical entity that sent the first message is closed.

[0156] A first update message is sent to the second multi-link device via the first link, wherein the first update message indicates that the primary link to be updated is the second link;

[0157] If a first confirmation message is received from the second multi-link device, the primary link is updated from the first link to the second link; or, after sending the first update message, the primary link is updated from the first link to the second link after waiting for the timeout duration of switching the primary link or the remaining duration of closing the first logical entity.

[0158] In an optional example, those skilled in the art will understand that the above-described device may specifically be the STA MLD in the above embodiments. This device can be used to execute the various processes and / or steps corresponding to the STA MLD in the above method. To avoid repetition, it will not be described again here.

[0159] It should be understood that the device described here is embodied in the form of functional modules. The term "module" here can refer to application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors) and memories for executing one or more software or firmware programs, integrated logic circuits, and / or other suitable components supporting the described functions. The device described above has the function of implementing the corresponding steps in the described method; the functions described above can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above. In embodiments of the present invention, the device can also be a chip or a chip system, such as a system-on-a-chip (SoC). The present invention is not limited thereto.

[0160] This invention also provides an electronic device. Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 3As shown, device 300 includes processor 301, memory 302 and communication interface 303. The processor 301, memory 302 and communication interface 303 communicate with each other through bus 304. The memory 302 stores instructions that can be executed by the processor 301. The instructions are loaded and executed by the processor 301 to control the communication interface 303 to send and / or receive signals.

[0161] It should be understood that device 300 may specifically be the STA MLD or AP MLD in the above embodiments, or the functions of the STA MLD or AP MLD in the above embodiments may be integrated into device 300, and device 300 may be used to execute the various steps and / or processes corresponding to the STA MLD or AP MLD in the above embodiments. Optionally, the memory 302 may include read-only memory and random access memory, and provide instructions and data to processor 301. A portion of memory 302 may also include non-volatile random access memory. For example, memory 302 may also store device type information. The processor 301 may be used to execute instructions stored in memory 301, and when the processor 301 executes the instructions, the processor 301 may execute the corresponding various steps and / or processes in the above method embodiments.

[0162] It should be understood that, in this embodiment of the invention, the processor may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0163] In implementation, each step of the above method can be completed by integrated logic circuits in the processor hardware or by instructions in software. The steps of the method disclosed in the embodiments of this invention can be directly manifested as execution by a hardware processor, or as a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor executes the instructions in the memory, combining them with its hardware to complete the steps of the above method. To avoid repetition, detailed descriptions are omitted here.

[0164] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

[0165] It should be understood that in the various embodiments of the present invention, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. Modules described as separate components may or may not be physically separate. Components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0166] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, one module or component can be divided into multiple modules or components, or multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed can be through some interfaces; the indirect coupling or communication connection between devices or modules can be electrical, mechanical, or other forms.

[0167] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0168] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A main link update method, characterized in that, include: A first message is sent via a first link, and the first message indicates that the first logical entity that sent the first message is closed. The first update message sent by the first multi-link device is received through the first link. The first update message indicates that the main link to be updated is the second link. The first link is the original main link of the first multi-link device. If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of the first multi-link device switching the primary link, then within the timeout duration, a first confirmation message is sent to the first multi-link device through the first link. If the remaining time for shutting down the first logical entity is less than the timeout period for the first multi-link device to switch the primary link, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link, or within the remaining time, a first confirmation message is sent to the first multi-link device via the first link, or the first confirmation message is sent to the first multi-link device via the first link within the remaining time. If the message is not successfully sent, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link.

2. The main link update method according to claim 1, characterized in that, The first message indicates the remaining time for shutting down the first logical entity.

3. The main link update method according to claim 1, characterized in that, The first message contains a mapping relationship between service identifiers and links. The mapping relationship between service identifiers and links indicates that all service identifiers are mapped to the second link, which is used by the first multi-link device to select a new primary link.

4. The main link update method according to claim 3, characterized in that, The mapping relationship between the service identifier and the link indicates that no service identifier is mapped to the first link, which is used to indicate that the first logical entity is shut down.

5. The main link update method according to claim 1, characterized in that, Also includes: A second message is sent via the second link, the second message indicating the recovery of the first logical entity and the time for the recovery of the first logical entity, and indicating that all service identifiers are mapped to the first link; After the time for restoring the first logical entity is reached, a second update message sent by the first multi-link device is received through the first link, wherein the second update message indicates that the primary link is updated to the first link.

6. The main link update method according to claim 5, characterized in that, After receiving the second update message sent by the first multi-link device via the first link, the method further includes: A second confirmation message is sent to the first multi-link device via the first link.

7. The main link update method according to claim 1, characterized in that, Also includes: A third message is sent via a second link, the third message indicating the addition of the first logical entity; The second link receives a multi-link reconfiguration request message sent by the first multi-link device, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link. A multi-link reconfiguration response message is sent to the first multi-link device via the second link, and the multi-link reconfiguration response message indicates whether the request is agreed to.

8. A main link update method, characterized in that, include: The first message sent by the second multi-link device is received through the first link, and the first message indicates that the first logical entity that sent the first message is closed. A first update message is sent to the second multi-link device via the first link, wherein the first update message indicates that the primary link to be updated is the second link; If a first confirmation message is received from the second multi-link device, the primary link is updated from the first link to the second link; The first message indicates the remaining duration for shutting down the first logical entity. The step of updating the primary link from the first link to the second link if a first confirmation message is received from the second multi-link device includes: If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of switching the main link, then if a first confirmation message sent by the second multi-link device is received through the first link, the main link will be updated from the first link to the second link. If the remaining timeout for shutting down the first logical entity is less than the timeout for switching the primary link, the second logical entity on the second link is woken up. If a first confirmation message is received from the second multi-link device through the second link or the first link, the primary link is updated from the first link to the second link.

9. The main link update method according to claim 8, characterized in that, The first message contains a mapping relationship between service identifiers and links, wherein the mapping relationship between service identifiers and links indicates that all service identifiers are mapped to the second link, and also includes: The second link is selected as the new main link based on the mapping relationship between the service identifier and the link.

10. A main link update method according to claim 9, characterized in that, The mapping relationship between the service identifier and the link indicates that no service identifier is mapped to the first link, which is used to indicate that the first logical entity is shut down.

11. The main link update method according to claim 8, characterized in that, Also includes: The second message sent by the second multi-link device is received through the second link. The second message indicates the time for restoring the first logical entity and the time for restoring the first logical entity, and indicates that all service identifiers are mapped to the first link. After the time for restoring the first logical entity is reached, a second update message is sent to the second multi-link device via the first link. The second update message indicates that the primary link to be updated is the first link. If a second confirmation message is received from the second multi-link device via the first link, the main link is updated from the second link to the first link; or, after sending the first update message, the main link is updated from the second link to the first link after waiting for the timeout period.

12. The main link update method according to claim 8, characterized in that, Also includes: The third message sent by the second multi-link device is received through the second link, and the third message indicates the addition of the first logical entity; A multi-link reconfiguration request message is sent to the second multi-link device via the second link, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link. The second link receives a multi-link reconfiguration response message sent by the second multi-link device, wherein the multi-link reconfiguration response message indicates whether the request is agreed to. If the multi-link reconfiguration response message indicates an agreement request, then the first link is set as the secondary link.

13. A main link update device, characterized in that, Includes a link update module, which performs the following steps: A first message is sent via a first link, and the first message indicates that the first logical entity that sent the first message is closed. The first update message sent by the first multi-link device is received through the first link. The first update message indicates that the main link to be updated is the second link. The first link is the original main link of the first multi-link device. If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of the first multi-link device switching the primary link, then within the timeout duration, a first confirmation message is sent to the first multi-link device through the first link. If the remaining time for shutting down the first logical entity is less than the timeout period for the first multi-link device to switch the primary link, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link, or within the remaining time, a first confirmation message is sent to the first multi-link device via the first link, or the first confirmation message is sent to the first multi-link device via the first link within the remaining time. If the message is not successfully sent, then within the timeout period, a first confirmation message is sent to the first multi-link device via the second link.

14. A main link update device according to claim 13, characterized in that, The link update module is also used to perform the following steps: A second message is sent via the second link, the second message indicating the recovery of the first logical entity and the time for the recovery of the first logical entity, and indicating that all service identifiers are mapped to the first link; After the time for restoring the first logical entity is reached, a second update message sent by the first multi-link device is received through the first link, wherein the second update message indicates that the primary link is updated to the first link.

15. A main link update device according to claim 14, characterized in that, The link update module is also used to perform the following steps: A third message is sent via a second link, the third message indicating the addition of the first logical entity; The second link receives a multi-link reconfiguration request message sent by the first multi-link device, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link. A multi-link reconfiguration response message is sent to the first multi-link device via the second link, and the multi-link reconfiguration response message indicates whether the request is agreed to.

16. A main link update device, characterized in that, Includes a link update module, which performs the following steps: The first message sent by the second multi-link device is received through the first link, and the first message indicates that the first logical entity that sent the first message is closed. A first update message is sent to the second multi-link device via the first link, wherein the first update message indicates that the primary link to be updated is the second link; If a first confirmation message is received from the second multi-link device, the primary link is updated from the first link to the second link; The first message indicates the remaining duration for shutting down the first logical entity. The step of updating the primary link from the first link to the second link if a first confirmation message is received from the second multi-link device includes: If the remaining duration of shutting down the first logical entity is greater than or equal to the timeout duration of switching the main link, then if a first confirmation message sent by the second multi-link device is received through the first link, the main link will be updated from the first link to the second link. If the remaining timeout for shutting down the first logical entity is less than the timeout for switching the primary link, the second logical entity on the second link is woken up. If a first confirmation message is received from the second multi-link device through the second link or the first link, the primary link is updated from the first link to the second link.

17. A main link update device according to claim 16, characterized in that, The link update module is also used to perform the following steps: The second message sent by the second multi-link device is received through the second link. The second message indicates the time for restoring the first logical entity and the time for restoring the first logical entity, and indicates that all service identifiers are mapped to the first link. After the time for restoring the first logical entity is reached, a second update message is sent to the second multi-link device via the first link. The second update message indicates that the primary link to be updated is the first link. If a second confirmation message is received from the second multi-link device via the first link, the main link is updated from the second link to the first link; or, after sending the first update message, the main link is updated from the second link to the first link after waiting for the timeout period.

18. A main link update device according to claim 16, characterized in that, The link update module is also used to perform the following steps: The third message sent by the second multi-link device is received through the second link, and the third message indicates the addition of the first logical entity; A multi-link reconfiguration request message is sent to the second multi-link device via the second link, wherein the multi-link reconfiguration request message indicates that a first link has been added and that the first link is a secondary link. The second link receives a multi-link reconfiguration response message sent by the second multi-link device, wherein the multi-link reconfiguration response message indicates whether the request is agreed to. If the multi-link reconfiguration response message indicates an agreement request, then the first link is set as the secondary link.

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

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

Citation Information

Patent Citations

  • Roaming method in a multi-link scenario, multi-link device, and storage medium

    US20220322162A1