WO2023051268A1 - Terminal control method, apparatus and system - Google Patents

Terminal control method, apparatus and system Download PDF

Info

Publication number
WO2023051268A1
WO2023051268A1 PCT/CN2022/119089 CN2022119089W WO2023051268A1 WO 2023051268 A1 WO2023051268 A1 WO 2023051268A1 CN 2022119089 W CN2022119089 W CN 2022119089W WO 2023051268 A1 WO2023051268 A1 WO 2023051268A1
Authority
WO
WIPO (PCT)
Prior art keywords
energy
terminal
serving
saving
indication
Prior art date
Application number
PCT/CN2022/119089
Other languages
French (fr)
Chinese (zh)
Inventor
李苗
司小书
陈云曼
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023051268A1 publication Critical patent/WO2023051268A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/54Signalisation aspects of the TPC commands, e.g. frame structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of communications, and in particular to a terminal control method, device and system.
  • a single basic service set identifier (BSSID) system is a communication system, and a single BSSID system includes a terminal and multiple access points (access points, APs), and these APs have the same BSSID.
  • APs access points
  • serving APs for providing services for terminals
  • non-serving APs except serving APs.
  • the services provided by the serving AP to the terminal include, for example, the AP sends information to the terminal, and the AP receives information sent by the terminal.
  • each AP in the single-BSSID system can broadcast the energy-saving indication corresponding to the terminal in the single-BSSID system, and the energy-saving indication corresponding to the terminal is used to indicate whether the terminal enters the energy-saving mode.
  • the terminal is aligned with the time stamp of its serving AP, so that the terminal can receive the energy-saving instruction broadcast by its serving AP corresponding to the terminal, and enter the energy-saving mode according to the energy-saving instruction, or not enter the energy-saving mode.
  • the energy-saving instruction corresponding to the terminal broadcast by the AP is used to instruct the terminal to prohibit entering the energy-saving mode, so that the AP Sending a unicast frame to the terminal; when the unicast frame is not buffered in the AP, the energy saving indication corresponding to the terminal broadcast by the AP is used to instruct the terminal to enter the energy saving mode.
  • the terminal when the terminal does not enter the energy saving mode, it may receive an energy saving instruction corresponding to the terminal broadcast by its non-serving AP. Since the energy-saving indication is used to instruct the terminal to enter the energy-saving mode, the terminal enters the energy-saving mode according to the energy-saving indication. After the terminal enters the energy-saving mode, it will no longer receive information. At this time, the terminal may not be able to receive the energy-saving instruction broadcast by the serving AP corresponding to the terminal. As a result, the terminal cannot receive the unicast frame sent by the serving AP, and the terminal may lose packets.
  • This application provides a terminal control method, device and system, which can solve the problem of terminal packet loss.
  • the technical solution is as follows:
  • a terminal control method is provided, the method is used for a first AP in a single BSSID system, the single BSSID system includes: the terminal and multiple APs, the first AP is the multiple Any one of the APs; the method includes: when the first AP determines that the first AP is not a serving AP for providing services to the terminal, the first AP broadcasts a first energy-saving indication, The first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the terminal When the terminal does not enter the energy-saving mode, if it receives the first energy-saving indication corresponding to the terminal broadcast by the non-serving AP, since the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode, the terminal will not Enter the energy saving mode under the direction of the AP.
  • the serving AP of the terminal broadcasts the second energy-saving instruction next time, the terminal can always receive the second energy-saving instruction, so that the terminal can always be synchronized with its serving AP timestamp, preventing the terminal from being unable to receive the unicast frame sent by the serving AP, Avoid terminal packet loss.
  • the serving AP of the terminal is handed over, it is assumed that the terminal is synchronized with the time stamp of the serving AP before the handover, and the terminal is not synchronized with the time stamp of the serving AP after the handover. Since the serving AP before the handover becomes the non-serving AP after the handover, the energy-saving indication corresponding to the terminal broadcast by the non-serving AP after the handover is used to instruct the terminal to prohibit entering the energy-saving mode. The terminal can be prohibited from entering the energy-saving mode according to the energy-saving instruction until the terminal receives the energy-saving instruction corresponding to the terminal broadcast by the switched serving AP, so as to realize the time stamp synchronization between the terminal and the switched serving AP, and avoid terminal packet loss.
  • the first AP needs to determine the first energy saving indication before broadcasting the first energy saving indication.
  • the first AP may also obtain the second energy saving indication before broadcasting the first energy saving indication.
  • the second energy saving indication is an energy saving indication broadcast by the serving AP.
  • the first AP may receive the second energy saving indication sent by the current serving AP, so as to obtain the second energy saving indication.
  • the current serving AP may send the second energy saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy saving instruction to the first AP, so that the first AP obtains the second energy saving instruction.
  • the controller may send the second energy saving indication (for example, the PVB field carrying the second energy saving indication) to other APs in the single BSSID system except AP2 (The non-serving AP of the terminal, such as the first AP).
  • the controller may also send the second energy saving instruction to the serving AP of the terminal.
  • the controller sends the second energy saving instruction, it is not necessary to distinguish the serving AP and the non-serving AP of the terminal, but the second The energy saving instruction is sent to all APs in the single BSSID system, which simplifies the logic for the controller to send the second energy saving instruction.
  • the controller may send the second energy saving instruction to at least some APs in the single BSSID system, and the at least some APs include non-serving APs of the terminal, and further, the at least some APs may also include serving APs of the terminal.
  • the first AP may directly broadcast the first energy saving indication.
  • the first AP may broadcast the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication.
  • the first energy saving indication may be carried by a PVB field in the first beacon frame.
  • the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
  • the first AP may receive a service indication sent by the controller, and the service indication is used to indicate whether the first AP is a serving AP ;
  • the first AP may determine whether the first AP is the serving AP according to the service indication.
  • the first AP may not determine whether the first AP is the serving AP based on the service indication.
  • the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
  • the first AP may send an energy saving indication to the controller (similar to the serving AP sending the second energy saving indication to the controller); - Whether the AP requires the terminal to enter the energy-saving mode.
  • a terminal control method is provided, the method is used for a controller in a single BSSID system, and the single BSSID system further includes: the terminal and multiple access points AP; the method includes: the After receiving the energy saving instruction sent by the serving AP, the controller sends the energy saving instruction to at least some of the multiple APs.
  • the serving AP is an AP used to provide services to the terminal among the plurality of APs, and the energy saving indication is used to indicate whether the serving AP requires the terminal to enter an energy saving mode; the at least some APs include APs in the plurality of APs other than the serving AP.
  • the at least some APs further include the serving AP.
  • the controller sends the energy-saving instruction, it does not need to distinguish the serving AP and the non-serving AP of the terminal, but sends the energy-saving instruction to all APs in the single BSSID system, which simplifies the logic for the controller to send the second energy-saving instruction.
  • a terminal control system includes: a terminal and multiple access points AP; the system includes: a first AP, and the first AP is any one of the multiple APs AP.
  • the first AP is configured to broadcast a first energy-saving indication when it is determined that the first AP is not a serving AP for providing services to the terminal, and the first energy-saving indication is used to instruct the terminal to prohibit entering an energy-saving mode ;
  • the terminal is configured to enter the energy-saving mode or not enter the energy-saving mode according to the received energy-saving instruction.
  • the first AP Before broadcasting the first energy saving indication, the first AP needs to determine the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner for the first AP to determine the first energy saving indication, the serving AP among the plurality of APs is used to broadcast the second energy saving indication, and the first AP is also used to broadcast the second energy saving indication when the first AP is not serving During the AP, before broadcasting the first energy saving indication, acquire the second energy saving indication.
  • the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode; or, when the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the The second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the current serving AP is further configured to send the second energy saving indication to the first AP, so that the first AP obtains the second energy saving indication.
  • the current serving AP is further configured to send the second energy-saving indication that it needs to broadcast to the controller; the controller is configured to send the second energy-saving indication to the first AP, so that the first AP obtains the second energy-saving indication.
  • the first AP In an optional manner in which the first AP broadcasts the first energy saving indication, the first AP is used to directly broadcast the first energy saving indication.
  • the first AP broadcasts the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication.
  • the first energy saving indication may be carried by a PVB field in the first beacon frame.
  • the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
  • the first AP is further configured to receive a service indication sent by the controller, where the service indication is used to indicate whether the first AP is Serving AP; the first AP may be used to determine whether the first AP is a serving AP according to the service indication.
  • the first AP may not determine whether the first AP is the serving AP based on the service indication.
  • the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
  • the first AP is further configured to send an energy saving indication to the controller when it is determined that the first AP is a serving AP (similar to the serving AP sending the second energy saving indication to the controller); the energy saving indication is used to indicate the first Whether the AP requires the terminal to enter the energy-saving mode.
  • a first AP belongs to a single BSSID system, the single BSSID system includes: the terminal and multiple APs, the first AP is one of the multiple APs Any AP; the first AP includes: a determination module and a broadcast module.
  • the determining module is used to determine whether the first AP is a serving AP for providing services to the terminal; the broadcasting module is used to broadcast a first energy saving indication when the first AP is not a serving AP, and the first AP An energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the first AP Before broadcasting the first energy saving indication, the first AP needs to determine the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner in which the first AP determines the first energy saving indication, the first AP further includes: an acquisition module configured to broadcast the first energy saving indication on the first AP when the first AP is not a serving AP. Before the energy-saving indication, obtain a second energy-saving indication; the second energy-saving indication is an energy-saving indication broadcast by the serving AP; the second energy-saving indication is used to instruct the terminal to enter an energy-saving mode; or, the second energy-saving indication It is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the obtaining module may obtain the second energy saving indication.
  • the first AP may receive the second energy saving indication sent by the current serving AP, so that the acquiring module acquires the second energy saving indication.
  • the current serving AP may send the second energy-saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy-saving instruction to the first AP, so that the obtaining module acquires the second energy-saving instruction.
  • the broadcast module to broadcast the first energy-saving instruction.
  • the broadcast module may directly broadcast the first energy saving instruction.
  • the broadcast module may broadcast the first energy-saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy-saving indication.
  • the first energy saving indication may be carried by a PVB field in the first beacon frame.
  • the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
  • the single BSSID system further includes a controller
  • the first AP further includes: a receiving module.
  • a receiving module configured to receive a service indication sent by the controller before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the service indication is used to indicate the Whether the first AP is a serving AP; the determining module is configured to determine whether the first AP is a serving AP according to the service indication.
  • the first AP may not determine whether the first AP is the serving AP based on the service indication.
  • the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
  • the single-BSSID system further includes a controller
  • the first AP further includes: a sending module, configured to send an energy-saving indication to the controller when the first AP is a serving AP (similar to the above-mentioned service
  • the AP sends the second energy saving indication to the controller); the energy saving indication is used to indicate whether the first AP requires the terminal to enter the energy saving mode.
  • a controller belongs to a single BSSID system, and the single BSSID system further includes: the terminal and multiple access points AP; the controller includes: a receiving module and a sending module .
  • a receiving module configured to receive an energy saving indication sent by a serving AP, where the serving AP is an AP providing services to the terminal among the plurality of APs, and the energy saving indication is used to indicate whether the serving AP requires the
  • the terminal enters an energy-saving mode;
  • a sending module configured to send the energy-saving indication to at least some APs in the multiple APs, and the at least some APs include APs in the multiple APs except the serving AP.
  • the at least some APs further include the serving AP.
  • a first AP is provided, and the first AP includes: a processor and a memory; the processor is used to execute a program stored in the memory, so as to implement any design described in the first aspect. Terminal control method.
  • a controller the controller includes: a processor and a memory; the processor is used to execute the program stored in the memory, so as to realize the terminal control described in any design in the second aspect method.
  • a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on a computer, the computer executes any one of the first aspect or the second aspect. Design the terminal control method.
  • a computer program product containing instructions is provided, and when the computer program product is run on a computer, the computer is made to execute the terminal control method according to any design of the first aspect or the second aspect.
  • FIG. 1 is a schematic diagram of a single BSSID system provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of another single BSSID system provided by the embodiment of the present application.
  • FIG. 3 is a schematic diagram of a beacon frame provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a bitmap control field and a PVB field provided by an embodiment of the present application
  • FIG. 5 is a schematic diagram of an energy-saving indication provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application.
  • FIG. 7 is a flow chart of a terminal control method provided in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application.
  • FIG. 9 is a flowchart of another terminal control method provided in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application.
  • FIG. 13 is a block diagram of a first AP provided in an embodiment of the present application.
  • FIG. 14 is a block diagram of a controller provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a terminal control device provided by an embodiment of the present application.
  • the single-BSSID system is also called single-BSSID networking.
  • the single-BSSID system is an important network architecture in the communication standard Wi-Fi 7, and it is also the networking architecture used in the Wi-Fi zero roaming technology.
  • a single BSSID system includes: one or more terminals, and multiple APs, and these APs have the same BSSID.
  • the terminal is also called a station (station, STA), and the terminal can be a mobile phone, a computer, a tablet computer, and other devices; an AP can be a router, a gateway, and other devices.
  • Fig. 1 and Fig. 2 are both schematic structural diagrams of a single BSSID system provided by an embodiment of the present application. As shown in Fig. 1, the single BSSID system includes multiple APs and multiple terminals. As shown in Fig. 2, the single BSSID system The BSSID system includes terminals, AP1 and AP2.
  • An AP can provide services to terminals within its service area (as shown in FIG. 1 ).
  • the multiple APs include the terminal's serving AP and non-serving APs other than the serving AP.
  • the serving AP is used to provide services to the terminal
  • the non-serving AP is not used to provide services to the terminal.
  • the service provided by the AP to the terminal means that the terminal accesses the AP, and the AP performs data interaction with the terminal, for example, the AP sends information to the terminal, and/or the AP receives information sent by the terminal.
  • the serving AP of the terminal can also be switched between the above-mentioned multiple APs (also called roaming of the terminal), and the terminal has no perception during the process of switching the serving AP, realizing terminal Seamless switching of data streams.
  • the terminal and the serving AP can communicate through the same BSSID configured by each AP in the single-BSSID system.
  • the terminal provides services.
  • the serving AP of the terminal is switched between multiple APs, the serving AP before switching does not need to receive the data frames sent by the terminal, and does not need to provide services to the terminal; while the serving AP after switching needs to receive the data frames sent by the terminal to realize the switching
  • the subsequent service AP provides services to the terminal. In this way, during this process, the terminal only needs to communicate with the serving AP through the BSSID, so the terminal has no perception of the switching of the serving AP.
  • the terminal in the single BSSID system can also enter the energy saving mode according to the instruction of the AP, so as to realize the energy saving of the terminal.
  • the AP in the single BSSID system may periodically broadcast the energy saving indication, and the periods for different APs to broadcast the energy saving indication may be the same or different.
  • the energy-saving indication corresponding to a terminal the energy-saving indication is used to instruct the terminal to enter the energy-saving mode, or to prohibit entering the energy-saving mode.
  • the terminal may enter the energy saving mode or not enter the energy saving mode according to the received energy saving instruction corresponding to the terminal.
  • the terminal when the terminal does not enter the energy-saving mode, the terminal will send and receive information; after entering the energy-saving mode, the terminal will no longer send and receive information.
  • the terminal Regardless of whether the serving AP of the terminal is switched, the terminal has a serving AP and a non-serving AP at any time.
  • the serving AP For the terminal's serving AP, when the serving AP buffers unicast frames that need to be sent to the terminal, the serving AP broadcasts an energy-saving indication corresponding to the terminal to instruct the terminal to prohibit entering the energy-saving mode. The terminal will not enter the energy saving mode according to the energy saving indication. After the serving AP broadcasts the energy-saving instruction, it will send the above-mentioned unicast frame to the terminal, and the terminal will receive the unicast frame at this time.
  • the energy saving indication corresponding to the terminal broadcast by the serving AP is used to instruct the terminal to enter the energy saving mode.
  • the terminal will enter the energy saving mode according to the energy saving indication.
  • the energy-saving indication corresponding to the terminal broadcast by the non-serving AP is used to instruct the terminal to enter the energy-saving mode.
  • the terminal will enter the energy saving mode according to the energy saving indication.
  • the AP will broadcast the corresponding energy-saving indication of the terminal. If the AP is the serving AP of the terminal, then the corresponding energy-saving indication of the terminal and whether there is a unicast message that needs to be sent to the terminal is buffered in the serving AP. Frame correlation; if the AP is a non-serving AP of the terminal, then the energy saving indication corresponding to the terminal is used to instruct the terminal to enter the energy saving mode.
  • the serving AP of the terminal is AP2, and at this time, AP1 is the non-serving AP of the terminal.
  • the energy-saving indication corresponding to the terminal broadcast by AP2 is used to instruct the terminal to prohibit entering the energy-saving mode;
  • the energy-saving indication corresponding to the terminal broadcast by AP2 is used to instruct the terminal to enter the energy-saving mode;
  • the energy-saving indication corresponding to the terminal broadcast by AP1 is used to instruct the terminal to enter the energy-saving mode.
  • the AP may broadcast the energy saving indication corresponding to the terminal in a manner of broadcasting a beacon (beacon) frame, where the beacon frame carries the energy saving indication corresponding to the terminal.
  • a beacon beacon
  • the beacon frame includes a unit identifier (element ID) field, a length (length) field, and a delivery traffic indication message count (delivery traffic indication message count, DTIM count) field, delivery traffic indication message period (DTIM period) field, bitmap control (bitmap control) field and partial virtual bitmap (partial virtual bitmap, PVB) field.
  • the unit identifier field, the length field, the transmission flow indication message quantity field, the transmission flow indication message period field and the bitmap control field all include 1 byte
  • the PVB field includes 1 to 251 bytes.
  • one byte of the bitmap control field may include 8 bits B, and each byte of 1-251 bytes in the PVB field also includes 8 bits B.
  • the first bit B of the bitmap control field is used to indicate whether there is an AP buffering a unicast frame that needs to be sent to the terminal in the single BSSID system.
  • the 2nd to 7th bits B of the bitmap control field are used to indicate the association identifier (association identifier, AID) corresponding to the first bit B in the PVB field.
  • association AID association identifier
  • the AID is used to identify a terminal in the single-BSSID system, and the bit B corresponding to the AID used to identify a terminal in the PVB field is used to carry the energy-saving indication corresponding to the terminal. For example, for a terminal, if the bit B corresponding to the AID used to identify the terminal in the PVB field is 0, it means that the energy saving indication corresponding to the terminal in the PVB field is used to instruct the terminal to enter the energy saving mode; if the PVB field If the bit B corresponding to the AID used to identify the terminal is 1, it means that the energy-saving indication corresponding to the terminal in the PVB field is used to indicate that the terminal is prohibited from entering the energy-saving mode.
  • the terminal For a terminal in a single-BSSID system, the terminal is usually synchronized with its serving AP timestamp, so that the terminal can receive the energy-saving indication broadcast by its serving AP corresponding to the terminal, and then enter the energy-saving mode according to the energy-saving indication, or not enter the energy-saving mode. After one cycle of the serving AP broadcasting the energy saving indication, the terminal will receive the corresponding energy saving indication broadcast by the serving AP again, and will enter the energy saving mode again according to the energy saving indication, or not enter the energy saving mode. And so on and on.
  • the current terminal has the following two problems:
  • the terminal may first receive the next energy-saving instruction corresponding to the terminal broadcast by its serving AP.
  • the energy saving instruction corresponding to the terminal broadcast by its non-serving AP Since the energy-saving instruction corresponding to the terminal broadcast by the non-serving AP of the terminal is used to instruct the terminal to enter the energy-saving mode, the terminal will enter the energy-saving mode according to the energy-saving instruction. However, after the terminal enters the energy-saving mode, it will no longer receive information.
  • the terminal may not be able to receive the next energy-saving instruction corresponding to the terminal broadcast by its serving AP, resulting in the terminal being unable to synchronize with the time stamp of its serving AP, so that the terminal cannot receive The unicast frame sent by the service AP, the terminal loses packets.
  • FIG. 5 still taking the single BSSID system shown in FIG. 2 as an example, assuming that the serving AP of the terminal is AP2, and at this time, AP1 is the non-serving AP of the terminal.
  • phase 1 in FIG. 5 the terminal is synchronized with the AP2 time stamp, and the energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode.
  • the energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to prohibit entering the energy-saving mode, and the terminal does not enter the energy-saving mode under the energy-saving instruction.
  • the terminal receives an energy-saving instruction broadcast by AP1 corresponding to the terminal, and the energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode according to the energy-saving instruction.
  • the terminal since the terminal enters the energy saving mode in phase 2 according to the energy saving indication broadcast by AP1 corresponding to the terminal, the terminal will miss the energy saving indication corresponding to the terminal broadcast by AP2 in phase 3 in FIG. 5 . If the corresponding energy-saving instruction broadcast by AP2 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal cannot exit the energy-saving mode at this time. The broadcast frame cannot be received by the terminal, causing the terminal to lose packets.
  • FIG. 6 still taking the single BSSID system shown in FIG. 2 as an example, assuming that the serving AP of the terminal is AP2, and at this time, AP1 is the non-serving AP of the terminal.
  • phase 1 in FIG. 6 the terminal is synchronized with the AP2 time stamp, and the energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode.
  • stage 2 in FIG. 6 when the terminal prohibits the energy-saving mode under the energy-saving instruction broadcast by AP2 corresponding to the terminal, the serving AP of the terminal is switched from AP2 to AP1. At this time, since the terminal is synchronized with the time stamp of AP2, the terminal will receive the energy saving instruction corresponding to the terminal broadcast by AP2, but will not receive the energy saving instruction corresponding to the terminal broadcast by the switched serving AP (AP1).
  • Method 1 Configure different BSSIDs for different terminals in the single BSSID system.
  • the beacon frame broadcast by the serving AP of the terminal not only contains the energy saving indication corresponding to the terminal , including the BSSID of the terminal.
  • the terminal only processes beacon frames that include the BSSID of the terminal, and does not process beacon frames that do not include the BSSID of the terminal, thereby preventing the terminal from processing beacon frames broadcast by non-serving APs and preventing the terminal from processing the beacon frames broadcast by the non-serving AP.
  • the energy-saving indication corresponding to the terminal in the broadcast beacon frame enters into an energy-saving mode, thereby solving the above two problems.
  • a BSSID needs to be configured for each terminal, and the management method for terminals is relatively complicated.
  • the beacon frame needs to carry the BSSID, which results in a large overhead of the beacon frame.
  • the number of different BSSIDs is limited, the number of terminals that can be accommodated in a single BSSID system is also limited.
  • Method 2 When the serving AP is switched, the serving AP before the switch sends a unicast beacon frame to the terminal, which is used to indicate the moment when the switched serving AP next broadcasts a beacon frame, so that the terminal Then, according to the unicast beacon frame, the beacon frame can be received at the time of the beacon frame broadcast by the serving AP after switching, so as to obtain the corresponding energy saving indication of the terminal in the beacon frame, so as to solve the above problem 2.
  • method 2 cannot solve the above-mentioned problem 1.
  • the serving AP before the handover needs to determine the time when the serving AP after the handover broadcasts the beacon frame, which requires high accuracy of the time determined by the serving AP before the handover.
  • the serving AP after switching may be affected by data transmission, and may not broadcast the beacon frame on time, so that the terminal still misses the beacon frame broadcast by the serving AP.
  • the embodiment of the present application provides a terminal control method, which can solve the above-mentioned problem 1 and problem 2, and this method does not have the problems existing in the above-mentioned method 1 and method 2.
  • FIG. 7 is a terminal control method provided by an embodiment of the present application, and the method can be used in the single BSSID system shown in FIG. 2 .
  • the single BSSID system shown in FIG. 2 may further include a controller (not shown in FIG. 2 ), and the controller is communicatively connected with each AP.
  • the method shown in FIG. 7 take AP1 as a terminal non-serving AP and AP2 as a terminal serving AP as an example.
  • the method may include:
  • the controller sends a first service indication to AP1, where the first service indication is used to indicate that AP1 is a non-serving AP for a terminal.
  • the controller sends a second service indication to AP2, where the second service indication is used to indicate that AP2 is a serving AP of the terminal.
  • the controller may determine a serving AP for serving the terminal in a single BSSID system, and a non-serving AP not for serving the terminal. For example, the controller can jointly determine the serving AP and non-serving AP of the terminal with each AP.
  • the serving AP and non-serving AP jointly determined by the controller and each AP are determined according to the terminal's signal strength, load, channel environment and other information. of.
  • the controller may also send a service indication (also called an identifier) to each AP in the single-BSSID system to indicate whether the AP is the serving AP of the terminal. For example, the controller sends a first service indication to the non-serving AP (AP1) to indicate that AP1 is the non-serving AP of the terminal; the controller also sends a second service indication to the serving AP (AP2) to indicate that AP2 is the serving AP of the terminal .
  • AP1 non-serving AP
  • AP2 serving AP
  • AP1 determines that AP1 is a non-serving AP of the terminal.
  • AP2 determines that AP2 is the serving AP of the terminal according to the second service indication.
  • each AP in the single-BSSID system After each AP in the single-BSSID system receives the service indication sent by the controller, it can determine whether it is the serving AP of the terminal according to the service indication. For example, the AP may store the received service indication in a certain register, and read the register to determine whether the AP is a serving AP or a non-serving AP of the terminal.
  • the AP2 broadcasts a second energy-saving instruction, where the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, or to prohibit the terminal from entering the energy-saving mode.
  • AP2 is the serving AP of the terminal, and AP2 can detect whether it buffers unicast frames that need to be sent to the terminal. When AP2 caches unicast frames that need to be sent to the terminal, AP2 determines that the terminal needs to enter the energy-saving mode at this time, so AP2 can broadcast the second energy-saving instruction for instructing the terminal to prohibit entering the energy-saving mode. When AP2 does not cache unicast frames that need to be sent to the terminal, AP2 determines that the terminal is not required to enter the energy-saving mode at this time, so AP2 may broadcast the second energy-saving instruction for instructing the terminal to enter the energy-saving mode.
  • AP2 may periodically broadcast the second energy-saving indication, and before each broadcast of the second energy-saving indication, check whether it buffers a unicast frame that needs to be sent to the terminal, and then broadcast the second energy-saving indication according to the detection result.
  • AP2 may directly broadcast the second energy saving indication.
  • AP2 may broadcast the second energy saving indication in a manner of broadcasting a second beacon frame, where the second beacon frame includes the second energy saving indication.
  • the second energy saving indication may be carried by a PVB field in the second beacon frame.
  • the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to bear the second energy saving indication.
  • the value of the bit when the value of the bit is 1, it is used to indicate that the second energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode; when the value of the bit is 0, it is used to indicate that the second energy-saving indication is used to indicate The terminal enters the energy saving mode.
  • the AP1 broadcasts a first energy-saving indication, where the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
  • AP1 Before broadcasting the first energy saving indication, AP1 needs to determine the first energy saving indication. There are various ways for AP1 to determine the first energy saving indication.
  • AP1 may not need to pay attention to whether the second energy-saving indication broadcast by AP2 indicates that the terminal enters the energy-saving mode, but defaults that the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
  • AP1 may further obtain a second energy saving indication, and determine the first energy saving indication according to the second energy saving indication.
  • AP1 may determine the first energy-saving instruction used to instruct the terminal to prohibit entering the energy-saving mode; when the second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, AP1 may A first energy-saving indication for instructing the terminal to prohibit entering the energy-saving mode is determined.
  • AP1 may obtain the second energy-saving instruction.
  • AP1 may receive the second energy saving indication sent by AP2, so as to obtain the second energy saving indication.
  • AP2 may send the second energy saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy saving instruction to AP1, so that AP1 acquires the second energy saving instruction.
  • the controller After the controller receives the second energy-saving indication sent by the serving AP (AP2) of the terminal, it can send the second energy-saving indication (for example, the PVB field that will carry the second energy-saving indication) to the single BSSID system except AP2. other APs (non-serving APs for terminals, such as AP1).
  • the controller may also send the second energy saving instruction to the serving AP of the terminal.
  • the controller sends the second energy saving instruction, it is not necessary to distinguish the serving AP and the non-serving AP of the terminal, but the second The energy saving instruction is sent to all APs in the single BSSID system, which simplifies the logic for the controller to send the second energy saving instruction.
  • the controller may send the second energy saving instruction to at least some APs in the single BSSID system, and the at least some APs include non-serving APs of the terminal, and further, the at least some APs may also include serving APs of the terminal.
  • AP1 may broadcast the first energy saving indication, or broadcast the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication.
  • the first energy saving indication may be carried by a PVB field in the first beacon frame.
  • the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
  • the AID of the terminal corresponding to the bit bearing the first energy saving indication may be the same as the AID of the terminal corresponding to the bit bearing the second energy saving indication.
  • the terminal enters the energy saving mode or does not enter the energy saving mode according to the received energy saving instruction.
  • the terminal After receiving the energy-saving instruction (such as the second energy-saving instruction and/or the first energy-saving instruction), the terminal will analyze the received energy-saving instruction, and enter the energy-saving mode or not enter the energy-saving mode according to the energy-saving instruction.
  • the energy-saving instruction such as the second energy-saving instruction and/or the first energy-saving instruction
  • the terminal may first parse the beacon frame to obtain the energy saving indication, and then parse the energy saving indication. For example, when the energy saving indication is carried in the PVB field in the beacon frame, the terminal can parse the beacon frame to obtain the PVB field, then parse the PVB field to obtain the energy saving indication carried in the PVB field, and then parse the energy saving indication.
  • the terminal will continuously receive the energy-saving instruction, and each time the terminal receives an energy-saving instruction, it can enter the energy-saving mode or not enter the energy-saving mode according to the energy-saving instruction.
  • the terminal is synchronized with the time stamp of its serving AP (AP2), and the terminal can receive the second energy saving instruction corresponding to the terminal broadcast by AP2.
  • AP2 serving AP
  • the terminal enters the energy saving mode.
  • the second energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode, the terminal does not enter the energy-saving mode.
  • the terminal when the terminal does not enter the energy-saving mode, it receives the first energy-saving instruction corresponding to the terminal broadcast by AP1. Since the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the terminal will not enter the energy-saving mode under the instruction of its non-serving AP (AP1).
  • the serving AP (AP2) of the terminal broadcasts the second energy-saving instruction next time, the terminal can always receive the second energy-saving instruction, so that the terminal can always synchronize with its serving AP time stamp and avoid packet loss of the terminal.
  • the terminal is synchronized with the AP2 time stamp, and the second energy-saving indication broadcast by the terminal corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode.
  • the terminal according to the second energy-saving indication Enter energy saving mode.
  • the terminal when the terminal does not enter the energy-saving mode under the instruction of the second energy-saving instruction broadcast by AP2, the terminal receives the first energy-saving instruction corresponding to the terminal broadcast by AP1. However, since the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, at this time, the terminal will not enter the energy-saving mode according to the energy-saving instruction.
  • the terminal since the terminal does not enter the energy saving mode according to the second energy saving instruction broadcast by AP1 in phase 2, the terminal will not miss the energy saving instruction of the terminal broadcast by AP2 in phase 3 in FIG. 8 .
  • the second energy-saving indication corresponding to the terminal broadcast by AP2 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP2 broadcasts in phase 3 The unicast frame sent to the terminal after the second energy-saving indication will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 1.
  • the terminal when the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, the terminal will enter the energy-saving mode according to the second energy-saving instruction, so as to realize energy-saving of the terminal and ensure energy-saving efficiency. Moreover, since the terminal will not receive information after entering the energy-saving mode, even if the non-serving AP (AP1) of the terminal broadcasts the first energy-saving instruction corresponding to the terminal, and the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, The terminal will not receive the first energy-saving instruction, and will not exit the energy-saving mode under the instruction of the first energy-saving instruction.
  • AP1 non-serving AP
  • the terminal control method provided in this embodiment of the present application further includes:
  • the controller sends a first service indication to AP2, where the first service indication is used to indicate that AP2 is a non-serving AP for a terminal.
  • the controller sends a second service indication to AP1, where the second service indication is used to indicate that AP1 is a serving AP of the terminal.
  • AP2 determines that AP2 is a non-serving AP of the terminal according to the first service indication.
  • AP1 determines that AP1 is the serving AP of the terminal according to the second service indication.
  • the AP1 broadcasts a second energy-saving instruction, where the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, or to prohibit the terminal from entering the energy-saving mode.
  • the AP2 broadcasts a first energy-saving indication, where the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the terminal enters the energy saving mode or does not enter the energy saving mode according to the received energy saving instruction.
  • the operation of AP1 serving as the terminal can refer to the operation of AP2 serving as the terminal serving AP in Figure 7
  • the operation of AP2 serving as the terminal non-serving AP can refer to the operation of AP1 serving as the terminal non-serving AP in Figure 7 operation. Since the embodiment shown in FIG. 7 can solve the above-mentioned problem 1 when the serving AP of the terminal is not switched, the embodiment shown in FIG. 9 can also solve the above-mentioned problem 1 after the serving AP of the terminal is switched.
  • the terminal when the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, the terminal will enter the energy-saving mode according to the second energy-saving instruction, so as to realize energy-saving of the terminal and ensure energy-saving efficiency. Moreover, since the terminal will not receive information after entering the energy-saving mode, even if the non-serving AP (AP2) of the terminal broadcasts the first energy-saving instruction corresponding to the terminal, and the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, The terminal will not receive the first energy-saving instruction, and will not exit the energy-saving mode under the instruction of the first energy-saving instruction.
  • AP2 non-serving AP
  • the energy-saving indication corresponding to the terminal broadcast by the non-serving AP after the handover is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the terminal can be prohibited from entering the energy-saving mode according to the energy-saving instruction until the terminal receives the energy-saving instruction corresponding to the terminal broadcast by the switched serving AP, so as to realize the time stamp synchronization between the terminal and the switched serving AP, and avoid terminal Packet loss, solves problem 2 above.
  • Phase 1 in Figure 10 the terminal is synchronized with the AP2 time stamp, and the second energy-saving indication broadcast by AP2 is used to instruct the terminal to enter the energy-saving mode, and the terminal will enter the energy-saving mode according to the second energy-saving indication. Energy saving mode.
  • the terminal does not enter the energy saving mode under the energy saving instruction broadcast by AP2 corresponding to the terminal, the serving AP of the terminal is switched from AP2 to AP1.
  • the terminal will receive the first energy-saving indication broadcast by AP2. Since AP2 is the non-serving AP of the terminal at this time, the first energy-saving indication broadcast by AP2 is used to instruct the terminal to prohibit entering the energy-saving mode. Therefore, the terminal is prohibited from entering the energy-saving mode according to the first energy-saving instruction until the terminal receives the second energy-saving instruction broadcast by AP1.
  • the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP1 broadcasts in phase 3 The unicast frame sent to the terminal after the second energy-saving indication will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 2.
  • the terminal can always receive the energy-saving indication broadcast by the serving AP of the terminal, so that the terminal and its serving AP time stamp are synchronized to avoid terminal packet loss.
  • the first energy saving instruction is used to instruct the terminal to prohibit entering the energy saving mode as an example.
  • the above-mentioned first energy-saving indication may also be consistent with the second energy-saving indication.
  • the first energy saving instruction is used to instruct the terminal to enter the energy saving mode
  • the first energy saving instruction is used to indicate The terminal is prohibited from entering the energy-saving mode
  • the non-serving AP (such as AP1 in FIG. 7 or AP2 in FIG. 8 ) broadcasts the first energy saving instruction, it needs to obtain the above-mentioned second energy saving instruction, and determine the first energy saving instruction according to the second energy saving instruction.
  • Energy saving indicator For the manner in which the non-serving AP acquires the second energy-saving indication, reference may be made to the manner in which AP1 acquires the second energy-saving indication in S106 above, and details are not described in this embodiment of the present application.
  • problem 1 occurs, that is, when the terminal does not enter the energy-saving mode, it receives the first energy-saving indication broadcast by the non-serving AP of the terminal. Since the first energy-saving instruction is consistent with the second energy-saving instruction broadcast by the serving AP, the first energy-saving instruction currently also instructs the terminal to prohibit entering the energy-saving mode, and the terminal will not enter the energy-saving mode under the instruction of the first energy-saving instruction.
  • the serving AP of the terminal broadcasts the second energy saving instruction next time, the terminal can always receive the second energy saving instruction, so that the terminal can always synchronize with the time stamp of the serving AP and avoid packet loss of the terminal.
  • the terminal is synchronized with the time stamp of AP2 (the serving AP of the terminal), and the second energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode.
  • the second energy-saving instruction enters into an energy-saving mode.
  • the terminal If the above-mentioned problem 1 occurs in stage 2 in FIG. 11 , and the terminal does not enter the energy-saving mode under the instruction of the second energy-saving instruction broadcast by AP2, the terminal receives the first energy-saving instruction corresponding to the terminal broadcast by AP1. However, since the first energy-saving instruction is also used to instruct the terminal to prohibit entering the energy-saving mode, at this time, the terminal will not enter the energy-saving mode according to the energy-saving instruction.
  • the terminal since the terminal does not enter the energy saving mode in phase 2 according to the first energy saving indication broadcast by AP1, the terminal will not miss the second energy saving indication broadcast by AP2 in phase 3 in FIG. 11 .
  • the second energy-saving indication broadcast by AP2 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP2 broadcasts the second energy-saving mode in phase 3.
  • the unicast frame sent to the terminal after the instruction will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 1.
  • the terminal when the second energy saving instruction is used to instruct the terminal to enter the energy saving mode, the terminal will enter the energy saving mode according to the second energy saving instruction, so as to realize energy saving of the terminal and ensure energy saving efficiency. Since the terminal will not receive information after entering the energy-saving mode, no matter whether the first energy-saving indication broadcast by the non-serving AP is used to instruct the terminal to enter the energy-saving mode, the terminal will not receive the first energy-saving indication, and will not The indication of the first energy-saving indication is to enter or not to enter the energy-saving mode.
  • problem 2 occurs, that is, when the serving AP of the terminal is switched, the terminal is synchronized with the time stamp of the serving AP before the handover, and the terminal is not synchronized with the time stamp of the serving AP after the handover. Since the first energy-saving instruction broadcast by the non-serving AP is consistent with the second energy-saving instruction broadcast by the serving AP, if the second energy-saving instruction broadcast by the serving AP after switching is used to instruct the terminal to prohibit entering the energy-saving mode, then the non-serving AP after switching The first energy-saving indication broadcast by the serving AP is also used to instruct the terminal to prohibit entering the energy-saving mode.
  • the terminal can prohibit entering the energy-saving mode according to the first energy-saving instruction until the terminal receives the second energy-saving instruction corresponding to the terminal broadcast by the switched serving AP, so as to realize the time stamp synchronization between the terminal and the switched serving AP, and avoid In order to avoid terminal packet loss when the serving AP is switched, the above-mentioned problem 2 is solved.
  • the terminal is synchronized with the AP2 time stamp, and the second energy-saving indication corresponding to the terminal broadcast by AP2 is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode according to the second energy-saving indication. model.
  • the terminal does not enter the energy saving mode under the energy saving instruction broadcast by AP2 corresponding to the terminal, the serving AP of the terminal is switched from AP2 to AP1. At this time, if the terminal is synchronized with the AP2 time stamp, the terminal will receive the first energy-saving indication broadcast by AP2. The broadcasted second energy-saving indication remains consistent.
  • the first energy-saving instruction broadcast by AP2 is also used to instruct the terminal to prohibit entering the energy-saving mode. Therefore, the terminal will prohibit entering the energy-saving mode according to the first energy-saving instruction. Until the terminal receives the second energy saving indication broadcast by AP1.
  • the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP1 broadcasts in phase 3 The unicast frame sent to the terminal after the second energy-saving indication will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 2.
  • the terminal can always receive the energy-saving indication broadcast by the serving AP of the terminal, so that the terminal and its serving AP time stamp are synchronized to avoid terminal packet loss.
  • the first energy saving mode broadcast by the switched non-serving AP is also used to instruct the terminal to enter the energy saving mode. Even if the terminal is synchronized with the time stamp of the non-serving AP after switching, the terminal receives the first energy-saving indication broadcast by the non-serving AP for instructing the terminal to enter the energy-saving mode, and the terminal can enter the energy-saving mode according to the first energy-saving indication, so as to realize the energy saving mode of the terminal. Energy-saving, to ensure energy-saving efficiency.
  • the first AP can determine whether the first AP is used to provide services to the terminal the serving AP; when the first AP is not the serving AP, the first AP broadcasts the first energy-saving instruction. When the first AP is not the serving AP, the serving AP broadcasts the second energy saving indication.
  • the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the first energy saving indication is also used to instruct the terminal to enter the energy saving mode.
  • the second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode
  • the first energy-saving instruction is also used to instruct the terminal to prohibit entering the energy-saving mode.
  • the first energy-saving instruction can instruct the terminal to prohibit entering the energy-saving mode
  • the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode or prohibit entering the energy-saving mode.
  • the first AP may also acquire the above-mentioned second energy saving instruction. At this time, the first AP may determine the first energy saving instruction according to the second energy saving instruction, and broadcast the first energy saving instruction.
  • the first AP may directly receive the second energy saving indication sent by the second AP, so as to obtain the second energy saving indication.
  • the first AP may also receive the second energy saving instruction sent by the controller, so as to obtain the second energy saving instruction.
  • the first AP when the first AP broadcasts the first energy saving indication, it may only broadcast the first energy saving indication, or may broadcast the first beacon frame including the first energy saving indication.
  • the first energy saving indication may be carried by the PVB field in the first beacon frame.
  • the first AP may receive a service indication sent by the controller, and the service indication is used to indicate whether the first AP is a serving AP ;
  • the first AP may determine whether the first AP is the serving AP according to the service indication.
  • the first AP may not determine whether the first AP is the serving AP based on the service indication.
  • the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
  • the BSSID provided in the embodiment of the present application may not include controller.
  • the first AP may send an energy-saving indication to the controller (similar to the second energy-saving indication that AP2 sends to the controller in the embodiment shown in FIG. 7); the energy-saving The indication is used to indicate whether the first AP requires the terminal to enter the energy saving mode.
  • the terminal control method provided in the embodiment of the present application can not only solve the above problems 1 and 2.
  • the management method of the terminal in the embodiment of the present application is relatively simple, and the beacon frame does not need to carry the BSSID , the overhead of beacon frames is small.
  • the number of terminals that can be accommodated in a single BSSID system is not limited.
  • the terminal control method provided in the embodiment of the present application can solve the above-mentioned problems 1 and 2.
  • the serving AP before the handover does not need to determine the moment when the serving AP after the handover broadcasts the beacon frame. Therefore, the terminal control method provided in the embodiment of the present application has relatively low requirements on the AP.
  • the embodiment of the present application also provides a terminal control system, the terminal control system is a single BSSID system, and the terminal control system includes: a terminal and multiple access points AP;
  • the terminal control system includes:
  • a first AP where the first AP is any one of the multiple APs.
  • the first AP is configured to broadcast a first energy-saving indication when it is determined that the first AP is not a serving AP for providing services to the terminal, and the first energy-saving indication is used to instruct the terminal to prohibit entering an energy-saving mode ;
  • the terminal is configured to enter the energy-saving mode or not enter the energy-saving mode according to the received energy-saving instruction.
  • the first AP Before broadcasting the first energy saving indication, the first AP needs to determine the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner for the first AP to determine the first energy saving indication, the serving AP among the plurality of APs is used to broadcast the second energy saving indication, and the first AP is also used to broadcast the second energy saving indication when the first AP is not serving During the AP, before broadcasting the first energy saving indication, acquire the second energy saving indication.
  • the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode; or, when the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the The second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode.
  • the current serving AP is further configured to send the second energy saving indication to the first AP, so that the first AP obtains the second energy saving indication.
  • the current serving AP is further configured to send the second energy-saving indication that it needs to broadcast to the controller; the controller is configured to send the second energy-saving indication to the first AP, so that the first AP obtains the second energy-saving indication.
  • the first AP In an optional manner in which the first AP broadcasts the first energy saving indication, the first AP is used to directly broadcast the first energy saving indication.
  • the first AP broadcasts the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication.
  • the first energy saving indication may be carried by a PVB field in the first beacon frame.
  • the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
  • the first AP is further configured to receive a service indication sent by the controller, where the service indication is used to indicate whether the first AP is Serving AP; the first AP may be used to determine whether the first AP is a serving AP according to the service indication.
  • the first AP may not determine whether the first AP is the serving AP based on the service indication.
  • the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
  • the first AP is also configured to send an energy-saving indication to the controller when it is determined that the first AP is a serving AP (similar to the second energy-saving indication sent by AP2 to the controller in the embodiment shown in FIG. 7); the energy-saving indication It is used to indicate whether the first AP requires the terminal to enter the energy-saving mode.
  • the terminal control method provided by this application has been described in detail above with reference to FIG. 1 to FIG. 12 . It can be understood that, in order to realize the functions described in the above-mentioned methods, the first AP and the controller need to include corresponding functions for executing each function. hardware and/or software modules. In combination with the execution process of each method described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different ways to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the functional modules of the first AP and the controller can be divided according to the above method embodiment.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above integrated modules may be implemented in the form of hardware.
  • the terminal control device (such as the above-mentioned first AP and controller) provided by the present application will be described below with reference to FIG. 13 , FIG. 14 and FIG. 15 .
  • FIG. 13 is a block diagram of a first AP provided by an embodiment of the present application. As shown in FIG. 13 , the first AP includes: a determination module 1301 and a broadcast module 1302 .
  • the determination module 1301 is used to determine whether the first AP is a serving AP for providing services to the terminal; the operations performed by the determination module 1301 can refer to the content related to AP1 in S103 above, or refer to the content related to AP2 in S203 relevant content.
  • the broadcast module 1302 is configured to broadcast a first energy-saving indication when the first AP is not a serving AP, and the first energy-saving indication is used to instruct the terminal to prohibit entering into an energy-saving mode.
  • the broadcast module 1302 refer to the content related to AP1 in S106 above, or refer to the content related to AP2 in S206.
  • the first AP needs to determine the first energy saving indication before broadcasting the first energy saving indication.
  • the first AP further includes: an obtaining module (not shown in FIG. 13 ), configured to, when the first AP is not a serving AP, Before the first AP broadcasts the first energy-saving indication, obtain a second energy-saving indication; the second energy-saving indication is an energy-saving indication broadcast by the serving AP; the second energy-saving indication is used to instruct the terminal to enter an energy-saving mode; Alternatively, the second energy saving indication is used to instruct the terminal to prohibit entering the energy saving mode.
  • the obtaining module For operations performed by the obtaining module, reference may be made to the content related to the non-serving AP obtaining the second energy-saving knowledge broadcast by the serving AP in the embodiments shown in FIG. 7 and FIG. 8 .
  • the obtaining module may obtain the second energy saving indication.
  • the first AP may receive the second energy saving indication sent by the current serving AP, so that the acquiring module acquires the second energy saving indication.
  • the current serving AP may send the second energy-saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy-saving instruction to the first AP, so that the obtaining module acquires the second energy-saving instruction.
  • the broadcast module to broadcast the first energy-saving instruction.
  • the broadcast module may directly broadcast the first energy saving instruction.
  • the broadcast module may broadcast the first energy-saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy-saving indication.
  • the first energy saving indication may be carried by a PVB field in the first beacon frame.
  • the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
  • the single BSSID system further includes a controller
  • the first AP further includes: a receiving module (not shown in FIG. 13 ).
  • a receiving module configured to receive a service indication sent by the controller before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the service indication is used to indicate the Whether the first AP is a serving AP; the determining module is configured to determine whether the first AP is a serving AP according to the service indication.
  • the first AP may not determine whether the first AP is the serving AP according to the service indication. Whether the first AP is a serving AP.
  • For the operations performed by the receiving module refer to the content related to AP1 in S101 above, or refer to the content related to AP2 in S201.
  • the single BSSID system further includes a controller
  • the first AP further includes: a sending module (not shown in FIG. 13 ), configured to, when the first AP is a serving AP, send The controller sends an energy-saving indication (similar to the serving AP sending the second energy-saving indication to the controller); the energy-saving indication is used to indicate whether the first AP requires the terminal to enter an energy-saving mode.
  • a sending module configured to, when the first AP is a serving AP, send The controller sends an energy-saving indication (similar to the serving AP sending the second energy-saving indication to the controller); the energy-saving indication is used to indicate whether the first AP requires the terminal to enter an energy-saving mode.
  • the sending module For operations performed by the sending module, reference may be made to content related to the serving AP sending the energy saving indication to the controller in the embodiments shown in FIG. 7 and FIG. 8 .
  • Fig. 14 is a block diagram of a controller provided by an embodiment of the present application. As shown in FIG. 14 , the controller includes: a receiving module 1401 and a sending module 1402 .
  • the receiving module 1401 is configured to receive an energy-saving instruction sent by a serving AP, the serving AP is an AP among the plurality of APs used to provide services to the terminal, and the energy-saving instruction is used to indicate whether the serving AP requires the required
  • the terminal enters the energy-saving mode; the operations performed by the receiving module 1401 can refer to the content related to the controller receiving the energy-saving indication sent by the serving AP in the embodiments shown in FIG. 7 and FIG. 8 .
  • the sending module 1402 is configured to send the energy saving indication to at least some APs in the multiple APs, and the at least some APs include APs in the multiple APs except the serving AP.
  • the sending module 1402 For operations performed by the sending module 1402, reference may be made to content related to the controller in S101, S102, S201, and S202 above.
  • the at least some APs further include the serving AP.
  • both the controller and the first AP provided in the present application may be called a terminal control device, and the terminal control device may include a processing module, a storage module, and a communication module.
  • the processing module may be used to control and manage the actions of the terminal control device, for example, may be used to support the terminal control device to perform the actions performed by the controller or any AP in S101 to S106 above.
  • the storage module can be used to support the terminal control device to execute stored program codes and data.
  • the communication module can be used for communication between the terminal control device and other devices.
  • the processing module may be a processor or a controller. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, and the like.
  • the storage module may be a memory.
  • the communication module can be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, and other devices that interact with other devices.
  • the terminal control device involved in this embodiment may include: a processor; the processor is used to couple with the memory and read After the instruction in the memory, the method executed by the terminal control device as described in the embodiment of the present application is executed according to the instruction.
  • the above-mentioned modules and the like included in the terminal control device may be computer programs stored in a memory, and invoked by a processor to implement corresponding execution functions of each module.
  • the number of processors can be multiple, and the memory coupled with the processor can be independent of the processor or the terminal control device, or can be inside the processor or the terminal control device .
  • the storage can be a physically independent unit, or it can be a storage space on a cloud server or a network hard disk.
  • the terminal control device 200 includes: a processor 202 and a memory 201, wherein the memory 201 is used to store programs, and the processor 202 is used to call the program stored in the memory 201. stored program, so that the terminal control device executes a corresponding method or function.
  • the terminal control device 200 may further include at least one communication interface 203 and at least one communication bus 204 .
  • the memory 201 , the processor 202 and the communication interface 203 are communicatively connected through a communication bus 204 .
  • the communication interface 203 is used for communicating with other devices under the control of the processor 202 , and the processor 202 can call the program stored in the memory 201 through the communication bus 204 .
  • An embodiment of the present application provides a computer storage medium, and a computer program is stored in the storage medium; when the computer program is run on a computer, the computer executes any one of the terminal control methods provided in the embodiments of the present application by the first A method performed by an AP or controller.
  • the embodiment of the present application also provides a computer program product containing instructions.
  • the computer program product When the computer program product is run on the computer, it causes the computer to execute any one of the terminal control methods provided in the embodiment of the present application by the first AP or the controller. Methods.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer may be a general purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data
  • the center transmits to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium, or a semiconductor medium (for example, a solid-state hard disk).
  • first and second are used for descriptive purposes only, and should not be construed as indicating or implying relative importance.
  • the term “at least one” means one or more, and “plurality” means two or more, unless otherwise clearly defined.
  • the disclosed systems and devices may be implemented in other configurations.
  • the device embodiments described above are only illustrative.
  • the division of modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules can be combined or integrated into another A system, or some feature, can be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component described as a unit may or may not be a physical unit, and may be located in one place or distributed over multiple devices. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a terminal control method, an apparatus and a system, belonging to the field of communication technology. The method is applied to a first AP in a single BSSID system, and the single BSSID system includes: a terminal and a plurality of APs, where the first AP is any one of the plurality of APs; the method includes: when it is determined that the first AP is not the serving AP for providing service to the terminal, the first AP broadcasts a first energy-saving indication, and the first energy-saving indication is used to indicate that the terminal is prohibited from entering an energy-saving mode. When the terminal has not entered an energy-saving mode, if a first energy-saving indication corresponding to the terminal and broadcast by the non-serving AP is received, because the first energy-saving indication is used to indicate that the terminal is prohibited from entering the energy-saving mode, the terminal thus does not enter the energy-saving mode under the indication of the non-serving AP thereof, thereby avoiding packet loss by the terminal. The present application is used for controlling a terminal.

Description

终端控制方法、装置及系统Terminal control method, device and system
本申请要求于2021年9月29日提交的申请号202111152353.X、申请名称为“终端控制方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111152353.X and the application name "terminal control method, device and system" filed on September 29, 2021, the entire content of which is incorporated in this application by reference.
技术领域technical field
本申请涉及通信技术领域,特别涉及一种终端控制方法、装置及系统。The present application relates to the technical field of communications, and in particular to a terminal control method, device and system.
背景技术Background technique
单基本服务集标识符(basic service set identifier,BSSID)系统是一种通信系统,单BSSID系统包括终端和多个接入点(access point,AP),这些AP具有相同的BSSID。这些AP中存在用于为终端提供服务的服务AP,以及除服务AP之外的非服务AP。其中,服务AP向终端提供的服务比如是:AP向终端发送信息,以及AP接收终端发送的信息等。A single basic service set identifier (BSSID) system is a communication system, and a single BSSID system includes a terminal and multiple access points (access points, APs), and these APs have the same BSSID. Among these APs, there are serving APs for providing services for terminals, and non-serving APs except serving APs. The services provided by the serving AP to the terminal include, for example, the AP sends information to the terminal, and the AP receives information sent by the terminal.
目前,单BSSID系统中的各个AP均可以广播该单BSSID系统中终端对应的节能指示,终端对应的节能指示用于指示该终端是否进入节能模式。终端与其服务AP时间戳对齐,使得终端能够接收到其服务AP广播的该终端对应的节能指示,并根据该节能指示进入节能模式,或不进入节能模式。其中,对于该单BSSID系统中的每个AP,当AP中缓存有待发送至终端的单播帧时,该AP广播的该终端对应的节能指示用于指示终端禁止进入节能模式,以便于该AP向终端发送单播帧;当AP中未缓存有该单播帧时,该AP广播的该终端对应的节能指示用于指示终端进入节能模式。At present, each AP in the single-BSSID system can broadcast the energy-saving indication corresponding to the terminal in the single-BSSID system, and the energy-saving indication corresponding to the terminal is used to indicate whether the terminal enters the energy-saving mode. The terminal is aligned with the time stamp of its serving AP, so that the terminal can receive the energy-saving instruction broadcast by its serving AP corresponding to the terminal, and enter the energy-saving mode according to the energy-saving instruction, or not enter the energy-saving mode. Wherein, for each AP in the single BSSID system, when the unicast frame to be sent to the terminal is buffered in the AP, the energy-saving instruction corresponding to the terminal broadcast by the AP is used to instruct the terminal to prohibit entering the energy-saving mode, so that the AP Sending a unicast frame to the terminal; when the unicast frame is not buffered in the AP, the energy saving indication corresponding to the terminal broadcast by the AP is used to instruct the terminal to enter the energy saving mode.
但是,终端在未进入节能模式时,可能会接收到其非服务AP广播的该终端对应的节能指示。由于该节能指示用于指示终端进入节能模式,因此终端会根据该节能指示进入节能模式。终端在进入节能模式后,将不再接收信息,此时终端可能无法接收到服务AP广播的该终端对应的节能指示,导致终端无法接收到服务AP发送的单播帧,终端出现丢包。However, when the terminal does not enter the energy saving mode, it may receive an energy saving instruction corresponding to the terminal broadcast by its non-serving AP. Since the energy-saving indication is used to instruct the terminal to enter the energy-saving mode, the terminal enters the energy-saving mode according to the energy-saving indication. After the terminal enters the energy-saving mode, it will no longer receive information. At this time, the terminal may not be able to receive the energy-saving instruction broadcast by the serving AP corresponding to the terminal. As a result, the terminal cannot receive the unicast frame sent by the serving AP, and the terminal may lose packets.
发明内容Contents of the invention
本申请提供了一种终端控制方法、装置及系统,可以解决终端出现丢包的问题,所述技术方案如下:This application provides a terminal control method, device and system, which can solve the problem of terminal packet loss. The technical solution is as follows:
第一方面,提供了一种终端控制方法,所述方法用于单BSSID系统中的第一AP,所述单BSSID系统包括:所述终端和多个AP,所述第一AP为所述多个AP中的任一AP;所述方法包括:所述第一AP在确定所述第一AP不是用于向所述终端提供服务的服务AP时,所述第一AP广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式。In the first aspect, a terminal control method is provided, the method is used for a first AP in a single BSSID system, the single BSSID system includes: the terminal and multiple APs, the first AP is the multiple Any one of the APs; the method includes: when the first AP determines that the first AP is not a serving AP for providing services to the terminal, the first AP broadcasts a first energy-saving indication, The first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
在终端未进入节能模式时,如果接收到非服务AP广播的该终端对应的第一节能指示,由于该第一节能指示用于指示终端禁止进入节能模式,因此,终端并不会在其非服务AP的指示下进入节能模式。在终端的服务AP下一次广播第二节能指示时,终端始终能够接收到该第二节能指示,从而使得终端能够始终与其服务AP时间戳同步,避免终端无法接收到服务AP发送的单播帧,避免终端丢包。When the terminal does not enter the energy-saving mode, if it receives the first energy-saving indication corresponding to the terminal broadcast by the non-serving AP, since the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode, the terminal will not Enter the energy saving mode under the direction of the AP. When the serving AP of the terminal broadcasts the second energy-saving instruction next time, the terminal can always receive the second energy-saving instruction, so that the terminal can always be synchronized with its serving AP timestamp, preventing the terminal from being unable to receive the unicast frame sent by the serving AP, Avoid terminal packet loss.
并且,在终端的服务AP进行切换时,假设终端与切换前的服务AP时间戳同步,且终端未与切换后的服务AP时间戳同步。由于切换前的服务AP变为切换后的非服务AP,因此,切换后的非服务AP广播的终端对应的节能指示用于指示终端禁止进入节能模式。终端可以根据该节能指示禁止进入节能模式,直至终端接收到切换后的服务AP广播的该终端对应的节能指示,从而实现终端与切换后的服务AP时间戳同步,避免了在服务AP切换时终端丢包。Moreover, when the serving AP of the terminal is handed over, it is assumed that the terminal is synchronized with the time stamp of the serving AP before the handover, and the terminal is not synchronized with the time stamp of the serving AP after the handover. Since the serving AP before the handover becomes the non-serving AP after the handover, the energy-saving indication corresponding to the terminal broadcast by the non-serving AP after the handover is used to instruct the terminal to prohibit entering the energy-saving mode. The terminal can be prohibited from entering the energy-saving mode according to the energy-saving instruction until the terminal receives the energy-saving instruction corresponding to the terminal broadcast by the switched serving AP, so as to realize the time stamp synchronization between the terminal and the switched serving AP, and avoid terminal packet loss.
可选地,第一AP在广播第一节能指示之前,需要确定第一节能指示。第一AP确定第一节能指示的方式多种多样。在第一AP确定第一节能指示的一种可选方式中,第一AP可以在广播第一节能指示之前,还可以获取第二节能指示。所述第二节能指示是所述服务AP广播的节能指示。在第一节能指示用于指示终端禁止进入节能模式时,所述第二节能指示用于指示所述终端进入节能模式;或者,在第一节能指示用于指示终端禁止进入节能模式时,所述第二节能指示用于指示所述终端禁止进入节能模式。Optionally, the first AP needs to determine the first energy saving indication before broadcasting the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner in which the first AP determines the first energy saving indication, the first AP may also obtain the second energy saving indication before broadcasting the first energy saving indication. The second energy saving indication is an energy saving indication broadcast by the serving AP. When the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode; or, when the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the The second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode.
第一AP获取该第二节能指示的方式多种多样。比如,第一AP可以接收当前的服务AP发送的该第二节能指示,以获取到该第二节能指示。或者,当前的服务AP可以将其需要广播的第二节能指示发送给控制器,再由控制器将该第二节能指示发送给第一AP,以使第一AP获取到第二节能指示。There are various ways for the first AP to obtain the second energy saving indication. For example, the first AP may receive the second energy saving indication sent by the current serving AP, so as to obtain the second energy saving indication. Alternatively, the current serving AP may send the second energy saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy saving instruction to the first AP, so that the first AP obtains the second energy saving instruction.
控制器在接收到终端的服务AP发送的第二节能指示后,可以将该第二节能指示(如将承载该第二节能指示的PVB字段)发送给单BSSID系统中除AP2之外的其他AP(终端的非服务AP,如第一AP)。可选地,控制器还可以将该第二节能指示发送给终端的服务AP,此时,控制器在发送第二节能指示时,无需区分终端的服务AP和非服务AP,而是将第二节能指示发送给单BSSID系统中的所有AP,简化了控制器发送第二节能指示的逻辑。可见,控制器可以将第二节能指示发送给单BSSID系统中的至少部分AP,该至少部分AP包括终端的非服务AP,进一步地,该至少部分AP也可以包括终端的服务AP。After receiving the second energy saving indication sent by the serving AP of the terminal, the controller may send the second energy saving indication (for example, the PVB field carrying the second energy saving indication) to other APs in the single BSSID system except AP2 (The non-serving AP of the terminal, such as the first AP). Optionally, the controller may also send the second energy saving instruction to the serving AP of the terminal. At this time, when the controller sends the second energy saving instruction, it is not necessary to distinguish the serving AP and the non-serving AP of the terminal, but the second The energy saving instruction is sent to all APs in the single BSSID system, which simplifies the logic for the controller to send the second energy saving instruction. It can be seen that the controller may send the second energy saving instruction to at least some APs in the single BSSID system, and the at least some APs include non-serving APs of the terminal, and further, the at least some APs may also include serving APs of the terminal.
第一AP广播第一节能指示的方式多种多样。There are various manners for the first AP to broadcast the first energy saving indication.
在一种第一AP广播第一节能指示的可选方式中,第一AP可以直接广播该第一节能指示。In an optional manner in which the first AP broadcasts the first energy saving indication, the first AP may directly broadcast the first energy saving indication.
在另一种第一AP广播第一节能指示的可选方式中,第一AP可以通过广播第一信标帧的方式广播第一节能指示,该第一信标帧包括第一节能指示。In another optional manner in which the first AP broadcasts the first energy saving indication, the first AP may broadcast the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication.
可选地,该第一节能指示可以通过第一信标帧中的PVB字段承载。比如,该PVB字段包括对应该终端的AID的比特位,该比特位可以用来承载该第一节能指示。Optionally, the first energy saving indication may be carried by a PVB field in the first beacon frame. For example, the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
可选地,在第一AP确定第一AP是否为用于向终端提供服务的服务AP之前,第一AP可以接收控制器发送的服务指示,该服务指示用于指示第一AP是否为服务AP;第一AP在确定第一AP是否为该服务AP时,可以根据该服务指示确定第一AP是否为服务AP。当然,第一AP也可以不根据该服务指示确定第一AP是否为服务AP,比如,工作人员可以在第一AP上配置第一AP是否为服务AP的信息,第一AP可以根据该信息确定第一AP是否为服务AP。Optionally, before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the first AP may receive a service indication sent by the controller, and the service indication is used to indicate whether the first AP is a serving AP ; When determining whether the first AP is the serving AP, the first AP may determine whether the first AP is the serving AP according to the service indication. Of course, the first AP may not determine whether the first AP is the serving AP based on the service indication. For example, the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
可选地,在第一AP确定第一AP是服务AP时,第一AP可以向控制器发送节能指示(类似上述服务AP向控制器发送上述第二节能指示);该节能指示用于指示第一AP是否要求终端进入节能模式。Optionally, when the first AP determines that the first AP is a serving AP, the first AP may send an energy saving indication to the controller (similar to the serving AP sending the second energy saving indication to the controller); - Whether the AP requires the terminal to enter the energy-saving mode.
第二方面,提供了一种终端控制方法,所述方法用于单BSSID系统中的控制器,所述单BSSID系统还包括:所述终端和多个接入点AP;所述方法包括:所述控制器在接收服务AP 发送的节能指示之后,向所述多个AP中的至少部分AP发送所述节能指示。其中,所述服务AP为所述多个AP中用于向所述终端提供服务的AP,所述节能指示用于指示所述服务AP是否要求所述终端进入节能模式;所述至少部分AP包括所述多个AP中除所述服务AP之外的AP。In a second aspect, a terminal control method is provided, the method is used for a controller in a single BSSID system, and the single BSSID system further includes: the terminal and multiple access points AP; the method includes: the After receiving the energy saving instruction sent by the serving AP, the controller sends the energy saving instruction to at least some of the multiple APs. Wherein, the serving AP is an AP used to provide services to the terminal among the plurality of APs, and the energy saving indication is used to indicate whether the serving AP requires the terminal to enter an energy saving mode; the at least some APs include APs in the plurality of APs other than the serving AP.
可选地,所述至少部分AP还包括所述服务AP。此时,控制器在发送节能指示时,无需区分终端的服务AP和非服务AP,而是将节能指示发送给单BSSID系统中的所有AP,简化了控制器发送第二节能指示的逻辑。Optionally, the at least some APs further include the serving AP. At this time, when the controller sends the energy-saving instruction, it does not need to distinguish the serving AP and the non-serving AP of the terminal, but sends the energy-saving instruction to all APs in the single BSSID system, which simplifies the logic for the controller to send the second energy-saving instruction.
第三方面,提供了一种终端控制系统,所述系统包括:终端和多个接入点AP;所述系统包括:第一AP,所述第一AP为所述多个AP中的任一AP。所述第一AP用于在确定所述第一AP不是用于向所述终端提供服务的服务AP时,广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式;所述终端用于根据接收到的节能指示,进入节能模式,或不进入节能模式。In a third aspect, a terminal control system is provided, the system includes: a terminal and multiple access points AP; the system includes: a first AP, and the first AP is any one of the multiple APs AP. The first AP is configured to broadcast a first energy-saving indication when it is determined that the first AP is not a serving AP for providing services to the terminal, and the first energy-saving indication is used to instruct the terminal to prohibit entering an energy-saving mode ; The terminal is configured to enter the energy-saving mode or not enter the energy-saving mode according to the received energy-saving instruction.
第一AP在广播第一节能指示之前,需要确定第一节能指示。第一AP确定第一节能指示的方式多种多样。在第一AP确定第一节能指示的一种可选方式中,所述多个AP中的服务AP用于广播第二节能指示,所述第一AP还用于在所述第一AP不是服务AP时,在广播第一节能指示之前,获取所述第二节能指示。在第一节能指示用于指示终端禁止进入节能模式时,所述第二节能指示用于指示所述终端进入节能模式;或者,在第一节能指示用于指示终端禁止进入节能模式时,所述第二节能指示用于指示所述终端禁止进入节能模式。Before broadcasting the first energy saving indication, the first AP needs to determine the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner for the first AP to determine the first energy saving indication, the serving AP among the plurality of APs is used to broadcast the second energy saving indication, and the first AP is also used to broadcast the second energy saving indication when the first AP is not serving During the AP, before broadcasting the first energy saving indication, acquire the second energy saving indication. When the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode; or, when the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the The second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode.
第一AP获取该第二节能指示的方式多种多样。比如,当前的服务AP还用于向第一AP发送该第二节能指示,以使第一AP获取到该第二节能指示。或者,当前的服务AP还用于将其需要广播的第二节能指示发送给控制器;控制器用于将该第二节能指示发送给第一AP,以使第一AP获取到第二节能指示。There are various ways for the first AP to obtain the second energy saving indication. For example, the current serving AP is further configured to send the second energy saving indication to the first AP, so that the first AP obtains the second energy saving indication. Alternatively, the current serving AP is further configured to send the second energy-saving indication that it needs to broadcast to the controller; the controller is configured to send the second energy-saving indication to the first AP, so that the first AP obtains the second energy-saving indication.
第一AP广播第一节能指示的方式多种多样。There are various manners for the first AP to broadcast the first energy saving indication.
在一种第一AP广播第一节能指示的可选方式中,第一AP用于直接广播该第一节能指示。In an optional manner in which the first AP broadcasts the first energy saving indication, the first AP is used to directly broadcast the first energy saving indication.
在另一种第一AP广播第一节能指示的可选方式中,第一AP用于通过广播第一信标帧的方式广播第一节能指示,该第一信标帧包括第一节能指示。In another optional manner in which the first AP broadcasts the first energy saving indication, the first AP broadcasts the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication.
可选地,该第一节能指示可以通过第一信标帧中的PVB字段承载。比如,该PVB字段包括对应该终端的AID的比特位,该比特位可以用来承载该第一节能指示。Optionally, the first energy saving indication may be carried by a PVB field in the first beacon frame. For example, the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
可选地,在第一AP确定第一AP是否为用于向终端提供服务的服务AP之前,第一AP还用于接收控制器发送的服务指示,该服务指示用于指示第一AP是否为服务AP;第一AP可以用于根据该服务指示确定第一AP是否为服务AP。当然,第一AP也可以不根据该服务指示确定第一AP是否为服务AP,比如,工作人员可以在第一AP上配置第一AP是否为服务AP的信息,第一AP可以根据该信息确定第一AP是否为服务AP。Optionally, before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the first AP is further configured to receive a service indication sent by the controller, where the service indication is used to indicate whether the first AP is Serving AP; the first AP may be used to determine whether the first AP is a serving AP according to the service indication. Of course, the first AP may not determine whether the first AP is the serving AP based on the service indication. For example, the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
可选地,第一AP还用于在确定第一AP是服务AP时,向控制器发送节能指示(类似上述服务AP向控制器发送上述第二节能指示);该节能指示用于指示第一AP是否要求终端进入节能模式。Optionally, the first AP is further configured to send an energy saving indication to the controller when it is determined that the first AP is a serving AP (similar to the serving AP sending the second energy saving indication to the controller); the energy saving indication is used to indicate the first Whether the AP requires the terminal to enter the energy-saving mode.
第四方面,提供了一种第一AP,所述第一AP属于单BSSID系统,所述单BSSID系统包括:所述终端和多个AP,所述第一AP为所述多个AP中的任一AP;所述第一AP包括:确定模块和广播模块。其中,确定模块用于确定所述第一AP是否为用于向所述终端提供服 务的服务AP;广播模块用于在所述第一AP不是服务AP时,广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式。In a fourth aspect, a first AP is provided, the first AP belongs to a single BSSID system, the single BSSID system includes: the terminal and multiple APs, the first AP is one of the multiple APs Any AP; the first AP includes: a determination module and a broadcast module. Wherein, the determining module is used to determine whether the first AP is a serving AP for providing services to the terminal; the broadcasting module is used to broadcast a first energy saving indication when the first AP is not a serving AP, and the first AP An energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
第一AP在广播第一节能指示之前,需要确定第一节能指示。第一AP确定第一节能指示的方式多种多样。在第一AP确定第一节能指示的一种可选方式中,所述第一AP还包括:获取模块,用于在所述第一AP不是服务AP时,在所述第一AP广播第一节能指示之前,获取第二节能指示;所述第二节能指示是所述服务AP广播的节能指示;所述第二节能指示用于指示所述终端进入节能模式;或者,所述第二节能指示用于指示所述终端禁止进入节能模式。Before broadcasting the first energy saving indication, the first AP needs to determine the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner in which the first AP determines the first energy saving indication, the first AP further includes: an acquisition module configured to broadcast the first energy saving indication on the first AP when the first AP is not a serving AP. Before the energy-saving indication, obtain a second energy-saving indication; the second energy-saving indication is an energy-saving indication broadcast by the serving AP; the second energy-saving indication is used to instruct the terminal to enter an energy-saving mode; or, the second energy-saving indication It is used to instruct the terminal to prohibit entering the energy-saving mode.
获取模块获取该第二节能指示的方式多种多样。比如,第一AP可以接收当前的服务AP发送的该第二节能指示,以使得获取模块获取到该第二节能指示。或者,当前的服务AP可以将其需要广播的第二节能指示发送给控制器,再由控制器将该第二节能指示发送给第一AP,以使获取模块获取到第二节能指示。There are various ways for the obtaining module to obtain the second energy saving indication. For example, the first AP may receive the second energy saving indication sent by the current serving AP, so that the acquiring module acquires the second energy saving indication. Alternatively, the current serving AP may send the second energy-saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy-saving instruction to the first AP, so that the obtaining module acquires the second energy-saving instruction.
广播模块广播第一节能指示的方式多种多样。There are various ways for the broadcast module to broadcast the first energy-saving instruction.
在一种广播模块广播第一节能指示的可选方式中,广播模块可以直接广播该第一节能指示。In an optional manner in which the broadcast module broadcasts the first energy saving instruction, the broadcast module may directly broadcast the first energy saving instruction.
在另一种广播模块广播第一节能指示的可选方式中,广播模块可以通过广播第一信标帧的方式广播第一节能指示,该第一信标帧包括第一节能指示。In another optional manner in which the broadcast module broadcasts the first energy-saving indication, the broadcast module may broadcast the first energy-saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy-saving indication.
可选地,该第一节能指示可以通过第一信标帧中的PVB字段承载。比如,该PVB字段包括对应该终端的AID的比特位,该比特位可以用来承载该第一节能指示。Optionally, the first energy saving indication may be carried by a PVB field in the first beacon frame. For example, the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
可选地,所述单BSSID系统还包括控制器,所述第一AP还包括:接收模块。接收模块,用于在所述第一AP确定所述第一AP是否为用于向所述终端提供服务的服务AP之前,接收所述控制器发送的服务指示,所述服务指示用于指示所述第一AP是否为服务AP;所述确定模块用于根据所述服务指示,确定所述第一AP是否为服务AP。当然,第一AP也可以不根据该服务指示确定第一AP是否为服务AP,比如,工作人员可以在第一AP上配置第一AP是否为服务AP的信息,第一AP可以根据该信息确定第一AP是否为服务AP。Optionally, the single BSSID system further includes a controller, and the first AP further includes: a receiving module. a receiving module, configured to receive a service indication sent by the controller before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the service indication is used to indicate the Whether the first AP is a serving AP; the determining module is configured to determine whether the first AP is a serving AP according to the service indication. Of course, the first AP may not determine whether the first AP is the serving AP based on the service indication. For example, the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
可选地,所述单BSSID系统还包括控制器,所述第一AP还包括:发送模块,用于在所述第一AP是服务AP时,向所述控制器发送节能指示(类似上述服务AP向控制器发送上述第二节能指示);所述节能指示用于指示所述第一AP是否要求所述终端进入节能模式。Optionally, the single-BSSID system further includes a controller, and the first AP further includes: a sending module, configured to send an energy-saving indication to the controller when the first AP is a serving AP (similar to the above-mentioned service The AP sends the second energy saving indication to the controller); the energy saving indication is used to indicate whether the first AP requires the terminal to enter the energy saving mode.
第五方面,提供了一种控制器,所述控制器属于单BSSID系统,所述单BSSID系统还包括:所述终端和多个接入点AP;所述控制器包括:接收模块和发送模块。接收模块,用于接收服务AP发送的节能指示,所述服务AP为所述多个AP中用于向所述终端提供服务的AP,所述节能指示用于指示所述服务AP是否要求所述终端进入节能模式;发送模块,用于向所述多个AP中的至少部分AP发送所述节能指示,所述至少部分AP包括所述多个AP中除所述服务AP之外的AP。In a fifth aspect, a controller is provided, the controller belongs to a single BSSID system, and the single BSSID system further includes: the terminal and multiple access points AP; the controller includes: a receiving module and a sending module . A receiving module, configured to receive an energy saving indication sent by a serving AP, where the serving AP is an AP providing services to the terminal among the plurality of APs, and the energy saving indication is used to indicate whether the serving AP requires the The terminal enters an energy-saving mode; a sending module, configured to send the energy-saving indication to at least some APs in the multiple APs, and the at least some APs include APs in the multiple APs except the serving AP.
可选地,所述至少部分AP还包括所述服务AP。Optionally, the at least some APs further include the serving AP.
第六方面,提供了一种第一AP,所述第一AP包括:处理器和存储器;所述处理器用于执行所述存储器中存储的程序,以实现第一方面中任一设计所述的终端控制方法。In a sixth aspect, a first AP is provided, and the first AP includes: a processor and a memory; the processor is used to execute a program stored in the memory, so as to implement any design described in the first aspect. Terminal control method.
第七方面,提供了一种控制器,所述控制器包括:处理器和存储器;所述处理器用于执行所述存储器中存储的程序,以实现第二方面中任一设计所述的终端控制方法。In a seventh aspect, there is provided a controller, the controller includes: a processor and a memory; the processor is used to execute the program stored in the memory, so as to realize the terminal control described in any design in the second aspect method.
第八方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令, 当所述指令在计算机上运行时,使得计算机执行如第一方面或第二方面中任一设计所述的终端控制方法。In an eighth aspect, a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on a computer, the computer executes any one of the first aspect or the second aspect. Design the terminal control method.
第九方面,提供了一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得计算机执行如第一方面或第二方面中任一设计所述的终端控制方法。In a ninth aspect, a computer program product containing instructions is provided, and when the computer program product is run on a computer, the computer is made to execute the terminal control method according to any design of the first aspect or the second aspect.
第二方面至第九方面中任一种设计方式所带来的技术效果可参见第一方面中相应设计方式所带来的技术效果,此处不再赘述。For the technical effect brought by any one of the design methods from the second aspect to the ninth aspect, please refer to the technical effect brought by the corresponding design method in the first aspect, and details will not be repeated here.
附图说明Description of drawings
图1为本申请实施例提供的一种单BSSID系统的示意图;FIG. 1 is a schematic diagram of a single BSSID system provided by an embodiment of the present application;
图2为本申请实施例提供的另一种单BSSID系统的示意图;FIG. 2 is a schematic diagram of another single BSSID system provided by the embodiment of the present application;
图3为本申请实施例提供的一种信标帧的示意图;FIG. 3 is a schematic diagram of a beacon frame provided by an embodiment of the present application;
图4为本申请实施例提供的一种位图控制字段和PVB字段的示意图;FIG. 4 is a schematic diagram of a bitmap control field and a PVB field provided by an embodiment of the present application;
图5为本申请实施例提供的一种节能指示的示意图;FIG. 5 is a schematic diagram of an energy-saving indication provided by an embodiment of the present application;
图6为本申请实施例提供的另一种节能指示的示意图;FIG. 6 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application;
图7为本申请实施例提供的一种终端控制方法的流程图;FIG. 7 is a flow chart of a terminal control method provided in an embodiment of the present application;
图8为本申请实施例提供的另一种节能指示的示意图;FIG. 8 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application;
图9为本申请实施例提供的另一种终端控制方法的流程图;FIG. 9 is a flowchart of another terminal control method provided in an embodiment of the present application;
图10为本申请实施例提供的另一种节能指示的示意图;FIG. 10 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application;
图11为本申请实施例提供的另一种节能指示的示意图;FIG. 11 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application;
图12为本申请实施例提供的另一种节能指示的示意图;FIG. 12 is a schematic diagram of another energy-saving indication provided by an embodiment of the present application;
图13为本申请实施例提供的一种第一AP的框图;FIG. 13 is a block diagram of a first AP provided in an embodiment of the present application;
图14为本申请实施例提供的一种控制器的框图;FIG. 14 is a block diagram of a controller provided by an embodiment of the present application;
图15为本申请实施例提供的一种终端控制装置的结构示意图。FIG. 15 is a schematic structural diagram of a terminal control device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的原理和技术方案更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the principles and technical solutions of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
单BSSID系统也称单BSSID组网,单BSSID系统是通信标准Wi-Fi 7中的重要网络架构,同时也是Wi-Fi零漫游技术中用到的组网架构。单BSSID系统包括:一个或多个终端,以及多个AP,这些AP具有相同的BSSID。终端也称站点(station,STA),终端可以是手机、电脑、平板电脑等种装置;AP可以是路由器、网关等装置。示例地,图1和图2均为本申请实施例提供的单BSSID系统的结构示意图,如图1所示,该单BSSID系统包括多个AP和多个终端,如图2所示,该单BSSID系统包括终端、AP1和AP2。The single-BSSID system is also called single-BSSID networking. The single-BSSID system is an important network architecture in the communication standard Wi-Fi 7, and it is also the networking architecture used in the Wi-Fi zero roaming technology. A single BSSID system includes: one or more terminals, and multiple APs, and these APs have the same BSSID. The terminal is also called a station (station, STA), and the terminal can be a mobile phone, a computer, a tablet computer, and other devices; an AP can be a router, a gateway, and other devices. Exemplarily, Fig. 1 and Fig. 2 are both schematic structural diagrams of a single BSSID system provided by an embodiment of the present application. As shown in Fig. 1, the single BSSID system includes multiple APs and multiple terminals. As shown in Fig. 2, the single BSSID system The BSSID system includes terminals, AP1 and AP2.
AP能够为其服务区域(如图1所示)内的终端提供服务。对于单BSSID系统中的每个终端,该多个AP中存在该终端的服务AP,以及除该服务AP之外的非服务AP。其中,服务AP用于向该终端提供服务,非服务AP不用于向该终端提供服务。此处的AP向终端提供服务是指终端接入该AP,该AP与终端之间进行数据交互,如,AP向终端发送信息,和/或,AP接收终端发送的信息等。An AP can provide services to terminals within its service area (as shown in FIG. 1 ). For each terminal in the single-BSSID system, the multiple APs include the terminal's serving AP and non-serving APs other than the serving AP. Wherein, the serving AP is used to provide services to the terminal, and the non-serving AP is not used to provide services to the terminal. Here, the service provided by the AP to the terminal means that the terminal accesses the AP, and the AP performs data interaction with the terminal, for example, the AP sends information to the terminal, and/or the AP receives information sent by the terminal.
并且,对于单BSSID系统中的每个终端,该终端的服务AP还可以在上述多个AP之间 进行切换(也称终端的漫游),且在切换服务AP的过程中终端无感知,实现终端数据流的无缝切换。In addition, for each terminal in the single BSSID system, the serving AP of the terminal can also be switched between the above-mentioned multiple APs (also called roaming of the terminal), and the terminal has no perception during the process of switching the serving AP, realizing terminal Seamless switching of data streams.
比如,终端与服务AP可以通过该单BSSID系统中各个AP配置的相同BSSID进行通信,比如,终端发出包含该BSSID的数据帧,这些AP中的服务AP用于接收该数据帧,实现服务AP向终端提供服务。当终端的服务AP在多个AP之间切换时,切换前的服务AP可以无需接收终端发送的数据帧,无需向终端提供服务;而切换后的服务AP需要接收终端发送的数据帧,实现切换后的服务AP向终端提供服务。这样一来,在此过程中,终端仅需通过该BSSID与服务AP通信即可,因此,终端对服务AP的切换并无感知。For example, the terminal and the serving AP can communicate through the same BSSID configured by each AP in the single-BSSID system. The terminal provides services. When the serving AP of the terminal is switched between multiple APs, the serving AP before switching does not need to receive the data frames sent by the terminal, and does not need to provide services to the terminal; while the serving AP after switching needs to receive the data frames sent by the terminal to realize the switching The subsequent service AP provides services to the terminal. In this way, during this process, the terminal only needs to communicate with the serving AP through the BSSID, so the terminal has no perception of the switching of the serving AP.
进一步地,单BSSID系统中的终端还可以根据AP的指示进入节能模式,以实现终端的节能。Further, the terminal in the single BSSID system can also enter the energy saving mode according to the instruction of the AP, so as to realize the energy saving of the terminal.
示例地,单BSSID系统中的AP可以周期性地广播节能指示,不同AP广播节能指示的周期可以相同也可以不同。对于一个终端对应的节能指示,该节能指示用于指示该终端进入节能模式,或禁止进入节能模式。终端可以根据接收到的该终端对应的节能指示进入节能模式,或不进入节能模式。并且,终端在没进入节能模式时,终端会进行信息的收发;终端在进入节能模式后,将不再进行信息的收发。For example, the AP in the single BSSID system may periodically broadcast the energy saving indication, and the periods for different APs to broadcast the energy saving indication may be the same or different. For the energy-saving indication corresponding to a terminal, the energy-saving indication is used to instruct the terminal to enter the energy-saving mode, or to prohibit entering the energy-saving mode. The terminal may enter the energy saving mode or not enter the energy saving mode according to the received energy saving instruction corresponding to the terminal. Moreover, when the terminal does not enter the energy-saving mode, the terminal will send and receive information; after entering the energy-saving mode, the terminal will no longer send and receive information.
无论终端的服务AP是否切换,终端在任意时刻均具有服务AP和非服务AP。Regardless of whether the serving AP of the terminal is switched, the terminal has a serving AP and a non-serving AP at any time.
对于该终端的服务AP,当该服务AP中缓存有需要发送给终端的单播帧时,该服务AP广播的该终端对应的节能指示用于指示该终端禁止进入节能模式。终端会根据该节能指示不进入节能模式。该服务AP在广播该节能指示后,会向终端发送上述单播帧,此时终端会接收该单播帧。For the terminal's serving AP, when the serving AP buffers unicast frames that need to be sent to the terminal, the serving AP broadcasts an energy-saving indication corresponding to the terminal to instruct the terminal to prohibit entering the energy-saving mode. The terminal will not enter the energy saving mode according to the energy saving indication. After the serving AP broadcasts the energy-saving instruction, it will send the above-mentioned unicast frame to the terminal, and the terminal will receive the unicast frame at this time.
当该服务AP中并未缓存有需要发送给终端的单播帧时,该服务AP广播的该终端对应的节能指示用于指示该终端进入节能模式。终端会根据该节能指示进入节能模式。When there is no unicast frame buffered in the serving AP that needs to be sent to the terminal, the energy saving indication corresponding to the terminal broadcast by the serving AP is used to instruct the terminal to enter the energy saving mode. The terminal will enter the energy saving mode according to the energy saving indication.
对于终端的非服务AP,由于该非服务AP无需与终端通信,因此,该非服务AP广播的该终端对应的节能指示用于指示该终端进入节能模式。终端会根据该节能指示进入节能模式。For the non-serving AP of the terminal, since the non-serving AP does not need to communicate with the terminal, the energy-saving indication corresponding to the terminal broadcast by the non-serving AP is used to instruct the terminal to enter the energy-saving mode. The terminal will enter the energy saving mode according to the energy saving indication.
可见,对于每个AP,该AP会广播终端对应的节能指示,如果该AP为该终端的服务AP,那么该终端对应的节能指示与该服务AP中是否缓存有需要发送给该终端的单播帧相关;如果该AP为该终端的非服务AP,那么该终端对应的节能指示用于指示该终端进入节能模式。It can be seen that for each AP, the AP will broadcast the corresponding energy-saving indication of the terminal. If the AP is the serving AP of the terminal, then the corresponding energy-saving indication of the terminal and whether there is a unicast message that needs to be sent to the terminal is buffered in the serving AP. Frame correlation; if the AP is a non-serving AP of the terminal, then the energy saving indication corresponding to the terminal is used to instruct the terminal to enter the energy saving mode.
示例地,以图2所示的单BSSID系统为例,假设终端的服务AP为AP2,此时,AP1为终端的非服务AP。当AP2中缓存有需要发送给该终端的单播帧时,AP2广播的该终端对应的节能指示用于指示该终端禁止进入节能模式;当AP2中并未缓存有需要发送给该终端的单播帧时,AP2广播的该终端对应的节能指示用于指示该终端进入节能模式;AP1广播的该终端对应的节能指示用于指示该终端进入节能模式。Exemplarily, taking the single BSSID system shown in FIG. 2 as an example, it is assumed that the serving AP of the terminal is AP2, and at this time, AP1 is the non-serving AP of the terminal. When AP2 caches unicast frames that need to be sent to the terminal, the energy-saving indication corresponding to the terminal broadcast by AP2 is used to instruct the terminal to prohibit entering the energy-saving mode; when AP2 does not cache unicast frames that need to be sent to the terminal frame time, the energy-saving indication corresponding to the terminal broadcast by AP2 is used to instruct the terminal to enter the energy-saving mode; the energy-saving indication corresponding to the terminal broadcast by AP1 is used to instruct the terminal to enter the energy-saving mode.
进一步地,AP可以通过广播信标(beacon)帧的方式广播终端对应的节能指示,该信标帧中携带有终端对应的节能指示。Further, the AP may broadcast the energy saving indication corresponding to the terminal in a manner of broadcasting a beacon (beacon) frame, where the beacon frame carries the energy saving indication corresponding to the terminal.
示例地,信标帧的结构如图3所示,该信标帧包括依次排布的单元标识符(element ID)字段、长度(length)字段、传输流量指示消息数量(delivery traffic indication message count,DTIM count)字段、传输流量指示消息周期(delivery traffic indication message period,DTIM period)字段、位图控制(bitmap control)字段和局部虚拟位图(partial virtual bitmap,PVB)字段。其中,单元标识符字段、长度字段、传输流量指示消息数量字段、传输流量指示消息 周期字段和位图控制字段均包括1个字节,PVB字段包括1~251个字节。Exemplarily, the structure of the beacon frame is shown in Figure 3, the beacon frame includes a unit identifier (element ID) field, a length (length) field, and a delivery traffic indication message count (delivery traffic indication message count, DTIM count) field, delivery traffic indication message period (DTIM period) field, bitmap control (bitmap control) field and partial virtual bitmap (partial virtual bitmap, PVB) field. Among them, the unit identifier field, the length field, the transmission flow indication message quantity field, the transmission flow indication message period field and the bitmap control field all include 1 byte, and the PVB field includes 1 to 251 bytes.
请参考图4,位图控制字段的1个字节可以包括8个比特位B,PVB字段中的1~251个字节中的每个字节也包括8个比特位B。其中,位图控制字段的第1个比特位B用于指示该单BSSID系统中是否有AP缓存有需要发送给终端的单播帧。位图控制字段的第2-7个比特位B用于指示PVB字段中第一个比特位B对应的关联标识符(association identifier,AID)。需要说明的是,PVB字段中的每个比特位B均具有对应的AID,且不同的比特位B对应不同的AID。AID用于标识单BSSID系统中的终端,PVB字段中用于标识一个终端的AID对应的比特位B用于承载该终端对应的节能指示。示例地,对于一个终端,如果PVB字段中用于标识该终端的AID对应的比特位B为0,则表示该PVB字段中该终端对应的节能指示用于指示该终端进入节能模式;如果PVB字段中用于标识该终端的AID对应的比特位B为1,则表示该PVB字段中该终端对应的节能指示用于指示该终端禁止进入节能模式。Referring to FIG. 4 , one byte of the bitmap control field may include 8 bits B, and each byte of 1-251 bytes in the PVB field also includes 8 bits B. Wherein, the first bit B of the bitmap control field is used to indicate whether there is an AP buffering a unicast frame that needs to be sent to the terminal in the single BSSID system. The 2nd to 7th bits B of the bitmap control field are used to indicate the association identifier (association identifier, AID) corresponding to the first bit B in the PVB field. It should be noted that each bit B in the PVB field has a corresponding AID, and different bits B correspond to different AIDs. The AID is used to identify a terminal in the single-BSSID system, and the bit B corresponding to the AID used to identify a terminal in the PVB field is used to carry the energy-saving indication corresponding to the terminal. For example, for a terminal, if the bit B corresponding to the AID used to identify the terminal in the PVB field is 0, it means that the energy saving indication corresponding to the terminal in the PVB field is used to instruct the terminal to enter the energy saving mode; if the PVB field If the bit B corresponding to the AID used to identify the terminal is 1, it means that the energy-saving indication corresponding to the terminal in the PVB field is used to indicate that the terminal is prohibited from entering the energy-saving mode.
对于单BSSID系统中的终端,终端通常与其服务AP时间戳同步,使得终端能够接收到其服务AP广播的该终端对应的节能指示,进而根据该节能指示进入节能模式,或不进入节能模式。在服务AP广播节能指示的一个周期之后,终端会再次接收其服务AP广播的该终端对应的节能指示,并会根据该节能指示,再次进入节能模式,或不进入节能模式。如此循环往复。For a terminal in a single-BSSID system, the terminal is usually synchronized with its serving AP timestamp, so that the terminal can receive the energy-saving indication broadcast by its serving AP corresponding to the terminal, and then enter the energy-saving mode according to the energy-saving indication, or not enter the energy-saving mode. After one cycle of the serving AP broadcasting the energy saving indication, the terminal will receive the corresponding energy saving indication broadcast by the serving AP again, and will enter the energy saving mode again according to the energy saving indication, or not enter the energy saving mode. And so on and on.
但是,目前终端存在如下两个问题:However, the current terminal has the following two problems:
问题1:终端在其服务AP广播的该终端对应的节能指示的指示下未进入节能模式时,终端可能会在未接收到其服务AP广播的该终端对应的下一节能指示时,先接收到其非服务AP广播的该终端对应的节能指示。由于终端的非服务AP广播的该终端对应的节能指示用于指示该终端进入节能模式,因此,终端会根据该节能指示进入节能模式。但终端在进入节能模式后,将不再接收信息,此时终端可能无法接收到其服务AP广播的该终端对应的下一节能指示,导致终端无法与其服务AP时间戳同步,从而终端无法接收到服务AP发送的单播帧,终端出现丢包。Question 1: When the terminal does not enter the energy-saving mode under the instruction of the corresponding energy-saving instruction broadcast by its serving AP, the terminal may first receive the next energy-saving instruction corresponding to the terminal broadcast by its serving AP. The energy saving instruction corresponding to the terminal broadcast by its non-serving AP. Since the energy-saving instruction corresponding to the terminal broadcast by the non-serving AP of the terminal is used to instruct the terminal to enter the energy-saving mode, the terminal will enter the energy-saving mode according to the energy-saving instruction. However, after the terminal enters the energy-saving mode, it will no longer receive information. At this time, the terminal may not be able to receive the next energy-saving instruction corresponding to the terminal broadcast by its serving AP, resulting in the terminal being unable to synchronize with the time stamp of its serving AP, so that the terminal cannot receive The unicast frame sent by the service AP, the terminal loses packets.
例如,请参考图5,仍然以图2所示的单BSSID系统为例,假设终端的服务AP为AP2,此时,AP1为终端的非服务AP。For example, please refer to FIG. 5 , still taking the single BSSID system shown in FIG. 2 as an example, assuming that the serving AP of the terminal is AP2, and at this time, AP1 is the non-serving AP of the terminal.
在图5中的阶段1中,终端与AP2时间戳同步,AP2广播的终端对应的节能指示用于指示终端进入节能模式,终端进入节能模式。In phase 1 in FIG. 5 , the terminal is synchronized with the AP2 time stamp, and the energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode.
但是,在图5中的阶段2中,AP2广播的终端对应的节能指示用于指示终端禁止进入节能模式,终端在该节能指示下未进入节能模式。此时,终端接收到AP1广播的终端对应的节能指示,且该节能指示用于指示终端进入节能模式,终端会根据该节能指示进入节能模式。However, in stage 2 in FIG. 5 , the energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to prohibit entering the energy-saving mode, and the terminal does not enter the energy-saving mode under the energy-saving instruction. At this time, the terminal receives an energy-saving instruction broadcast by AP1 corresponding to the terminal, and the energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode according to the energy-saving instruction.
这样一来,由于终端在阶段2中根据AP1广播的该终端对应的节能指示进入了节能模式,因此,终端会错过AP2在图5中的阶段3中广播的该终端对应的节能指示。如果阶段3中AP2广播的该终端对应的节能指示用于指示该终端禁止进入节能模式,那么此时该终端无法退出节能模式,因此,AP2在阶段3中广播节能指示后向该终端发送的单播帧无法被该终端接收到,导致终端丢包。In this way, since the terminal enters the energy saving mode in phase 2 according to the energy saving indication broadcast by AP1 corresponding to the terminal, the terminal will miss the energy saving indication corresponding to the terminal broadcast by AP2 in phase 3 in FIG. 5 . If the corresponding energy-saving instruction broadcast by AP2 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal cannot exit the energy-saving mode at this time. The broadcast frame cannot be received by the terminal, causing the terminal to lose packets.
问题2:当终端的服务AP在多个AP之间进行切换时,如果终端处于节能模式,则在服务AP切换之后,终端仍然与切换之前的服务AP时间戳同步。这样一来,终端就可能无法与切换后的服务AP时间戳同步,从而使得终端可能会错过切换后的服务AP广播的该终端对应 的节能指示,导致终端丢包。Question 2: When the serving AP of the terminal is switched between multiple APs, if the terminal is in the energy-saving mode, after the serving AP is switched, the terminal is still synchronized with the serving AP timestamp before the switch. In this way, the terminal may not be able to synchronize with the time stamp of the serving AP after switching, so that the terminal may miss the energy-saving instruction corresponding to the terminal broadcast by the serving AP after switching, resulting in terminal packet loss.
例如,请参考图6,仍然以图2所示的单BSSID系统为例,假设终端的服务AP为AP2,此时,AP1为终端的非服务AP。For example, please refer to FIG. 6 , still taking the single BSSID system shown in FIG. 2 as an example, assuming that the serving AP of the terminal is AP2, and at this time, AP1 is the non-serving AP of the terminal.
在图6中的阶段1中,终端与AP2时间戳同步,AP2广播的终端对应的节能指示用于指示终端进入节能模式,终端进入节能模式。In phase 1 in FIG. 6 , the terminal is synchronized with the AP2 time stamp, and the energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode.
但是,在图6中的阶段2中,终端在AP2广播的终端对应的节能指示下禁止节能模式时,终端的服务AP由AP2切换为AP1。此时,终端由于与AP2时间戳同步,因此,终端会接收到AP2广播的该终端对应的节能指示,而不会接收到切换后的服务AP(AP1)广播的该终端对应的节能指示。However, in stage 2 in FIG. 6 , when the terminal prohibits the energy-saving mode under the energy-saving instruction broadcast by AP2 corresponding to the terminal, the serving AP of the terminal is switched from AP2 to AP1. At this time, since the terminal is synchronized with the time stamp of AP2, the terminal will receive the energy saving instruction corresponding to the terminal broadcast by AP2, but will not receive the energy saving instruction corresponding to the terminal broadcast by the switched serving AP (AP1).
在图6中服务AP切换后的阶段3中,终端根据AP2广播的该终端对应的节能指示进入节能模式,如果此时的服务AP(AP1)广播该终端对应的节能指示,那么终端无法接收到该节能指示。如果阶段3中AP1广播的终端对应的节能指示用于指示终端禁止进入节能模式,那么此时终端无法退出节能模式,因此,AP1在阶段3中广播节能指示后向终端发送的单播帧不会被终端接收到,导致终端丢包。In stage 3 after the serving AP is switched in Figure 6, the terminal enters the energy-saving mode according to the energy-saving instruction corresponding to the terminal broadcast by AP2. If the serving AP (AP1) at this time broadcasts the energy-saving instruction corresponding to the terminal, the terminal cannot receive The energy saving indicator. If the energy-saving indication broadcast by AP1 to the terminal in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal cannot exit the energy-saving mode at this time. Therefore, the unicast frame sent to the terminal after AP1 broadcasts the energy-saving indication in phase 3 will not Received by the terminal, causing the terminal to lose packets.
基于以上问题,目前提出几种解决办法:Based on the above problems, several solutions are currently proposed:
办法1:为单BSSID系统中的不同终端配置不同的BSSID,无论在服务AP切换前还是切换后,对于每个终端,该终端的服务AP广播的信标帧中不仅包含该终端对应的节能指示,还包括该终端的BSSID。这样一来,终端只处理包括该终端的BSSID的信标帧,而不处理不包括该终端的BSSID的信标帧,从而避免终端处理非服务AP广播的信标帧,避免终端根据非服务AP广播的信标帧中该终端对应的节能指示进入节能模式,从而解决了以上两个问题。Method 1: Configure different BSSIDs for different terminals in the single BSSID system. No matter before or after the switching of the serving AP, for each terminal, the beacon frame broadcast by the serving AP of the terminal not only contains the energy saving indication corresponding to the terminal , including the BSSID of the terminal. In this way, the terminal only processes beacon frames that include the BSSID of the terminal, and does not process beacon frames that do not include the BSSID of the terminal, thereby preventing the terminal from processing beacon frames broadcast by non-serving APs and preventing the terminal from processing the beacon frames broadcast by the non-serving AP. The energy-saving indication corresponding to the terminal in the broadcast beacon frame enters into an energy-saving mode, thereby solving the above two problems.
但是,办法1中需要为每个终端配置BSSID,对终端的管理方式较为复杂。并且,信标帧需要携带BSSID,导致信标帧的开销较大。另外,由于不同BSSID的数目有限,因此,单BSSID系统中能够容纳的终端的数目也有限。However, in method 1, a BSSID needs to be configured for each terminal, and the management method for terminals is relatively complicated. Moreover, the beacon frame needs to carry the BSSID, which results in a large overhead of the beacon frame. In addition, since the number of different BSSIDs is limited, the number of terminals that can be accommodated in a single BSSID system is also limited.
办法2:在服务AP切换时,切换前的服务AP向终端发送一个单播信标帧,该信标帧用于指示切换后的服务AP下一次广播信标帧的时刻,这样一来,终端便可以根据该单播信标帧,在切换后的服务AP广播的信标帧的时刻接收该信标帧,以获取该信标帧中该终端对应的节能指示,从而能够解决上述问题2。Method 2: When the serving AP is switched, the serving AP before the switch sends a unicast beacon frame to the terminal, which is used to indicate the moment when the switched serving AP next broadcasts a beacon frame, so that the terminal Then, according to the unicast beacon frame, the beacon frame can be received at the time of the beacon frame broadcast by the serving AP after switching, so as to obtain the corresponding energy saving indication of the terminal in the beacon frame, so as to solve the above problem 2.
但是,办法2无法解决上述问题1。另外,切换前的服务AP需确定切换后的服务AP广播信标帧的时刻,这对切换前的服务AP确定出的该时刻的精度要求较高。并且,切换后的服务AP可能受数据传输的影响,不会准时广播信标帧,使终端仍然存在错过服务AP广播的信标帧的情况。However, method 2 cannot solve the above-mentioned problem 1. In addition, the serving AP before the handover needs to determine the time when the serving AP after the handover broadcasts the beacon frame, which requires high accuracy of the time determined by the serving AP before the handover. Moreover, the serving AP after switching may be affected by data transmission, and may not broadcast the beacon frame on time, so that the terminal still misses the beacon frame broadcast by the serving AP.
基于上述问题1和问题2,本申请实施例提供了一种终端控制方法,该方法能够解决上述问题1和问题2,且该方法不存在上述办法1和办法2存在的问题。Based on the above-mentioned problem 1 and problem 2, the embodiment of the present application provides a terminal control method, which can solve the above-mentioned problem 1 and problem 2, and this method does not have the problems existing in the above-mentioned method 1 and method 2.
示例地,图7为本申请实施例提供的一种终端控制方法,该方法可以用于图2所示的单BSSID系统。可选地,图2所示的单BSSID系统还可以包括控制器(图2中未示出),控制器与每个AP均通信连接。图7所示的方法中以AP1为终端的非服务AP,AP2为终端的服务AP为例。如图7所示,该方法可以包括:Exemplarily, FIG. 7 is a terminal control method provided by an embodiment of the present application, and the method can be used in the single BSSID system shown in FIG. 2 . Optionally, the single BSSID system shown in FIG. 2 may further include a controller (not shown in FIG. 2 ), and the controller is communicatively connected with each AP. In the method shown in FIG. 7 , take AP1 as a terminal non-serving AP and AP2 as a terminal serving AP as an example. As shown in Figure 7, the method may include:
S101、控制器向AP1发送第一服务指示,第一服务指示用于指示AP1为终端的非服务AP。S101. The controller sends a first service indication to AP1, where the first service indication is used to indicate that AP1 is a non-serving AP for a terminal.
S102、控制器向AP2发送第二服务指示,第二服务指示用于指示AP2为终端的服务AP。S102. The controller sends a second service indication to AP2, where the second service indication is used to indicate that AP2 is a serving AP of the terminal.
控制器可以确定单BSSID系统中用于为终端提供服务的服务AP,以及不用于向该终端提供服务的非服务AP。比如,控制器可以与各个AP联合确定终端的服务AP和非服务AP,其中,控制器与各个AP联合确定出的服务AP和非服务AP是根据终端的信号强度、负载、信道环境等信息确定的。The controller may determine a serving AP for serving the terminal in a single BSSID system, and a non-serving AP not for serving the terminal. For example, the controller can jointly determine the serving AP and non-serving AP of the terminal with each AP. The serving AP and non-serving AP jointly determined by the controller and each AP are determined according to the terminal's signal strength, load, channel environment and other information. of.
控制器还可以向单BSSID系统中的各个AP发送服务指示(也称标志符),以指示该AP是否为终端的服务AP。比如,控制器向非服务AP(AP1)发送第一服务指示,以指示AP1为终端的非服务AP;控制器还向服务AP(AP2)发送第二服务指示,以指示AP2为终端的服务AP。The controller may also send a service indication (also called an identifier) to each AP in the single-BSSID system to indicate whether the AP is the serving AP of the terminal. For example, the controller sends a first service indication to the non-serving AP (AP1) to indicate that AP1 is the non-serving AP of the terminal; the controller also sends a second service indication to the serving AP (AP2) to indicate that AP2 is the serving AP of the terminal .
S103、AP1根据第一服务指示,确定AP1为终端的非服务AP。S103. According to the first service indication, AP1 determines that AP1 is a non-serving AP of the terminal.
S104、AP2根据第二服务指示,确定AP2为终端的服务AP。S104, AP2 determines that AP2 is the serving AP of the terminal according to the second service indication.
单BSSID系统中的每个AP在接收到控制器发送的服务指示后,可以根据该服务指示确定自己是否为终端的服务AP。比如,AP可以将接收到的服务指示存储在某一寄存器中,并通过读取该寄存器以确定该AP是终端的服务AP还是非服务AP。After each AP in the single-BSSID system receives the service indication sent by the controller, it can determine whether it is the serving AP of the terminal according to the service indication. For example, the AP may store the received service indication in a certain register, and read the register to determine whether the AP is a serving AP or a non-serving AP of the terminal.
S105、AP2广播第二节能指示,第二节能指示用于指示终端进入节能模式,或禁止进入节能模式。S105. The AP2 broadcasts a second energy-saving instruction, where the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, or to prohibit the terminal from entering the energy-saving mode.
AP2为终端的服务AP,AP2可以检测其是否缓存有需要发送给终端的单播帧。在AP2中缓存有需要发送给该终端的单播帧时,AP2确定此时需要要求终端进入节能模式,所以,AP2可以广播用于指示终端禁止进入节能模式的第二节能指示。在AP2中并未缓存有需要发送给该终端的单播帧时,AP2确定此时无需要求终端进入节能模式,所以,AP2可以广播用于指示终端进入节能模式的第二节能指示。AP2 is the serving AP of the terminal, and AP2 can detect whether it buffers unicast frames that need to be sent to the terminal. When AP2 caches unicast frames that need to be sent to the terminal, AP2 determines that the terminal needs to enter the energy-saving mode at this time, so AP2 can broadcast the second energy-saving instruction for instructing the terminal to prohibit entering the energy-saving mode. When AP2 does not cache unicast frames that need to be sent to the terminal, AP2 determines that the terminal is not required to enter the energy-saving mode at this time, so AP2 may broadcast the second energy-saving instruction for instructing the terminal to enter the energy-saving mode.
AP2可以周期性地广播上述第二节能指示,并在每次广播第二节能指示之前均检测其是否缓存有需要发送给终端的单播帧,进而根据该检测结果广播第二节能指示。AP2 may periodically broadcast the second energy-saving indication, and before each broadcast of the second energy-saving indication, check whether it buffers a unicast frame that needs to be sent to the terminal, and then broadcast the second energy-saving indication according to the detection result.
AP2广播第二节能指示的方式多种多样。There are various ways for AP2 to broadcast the second energy saving indication.
在一种AP2广播第二节能指示的可选方式中,AP2可以直接广播该第二节能指示。In an optional manner in which AP2 broadcasts the second energy saving indication, AP2 may directly broadcast the second energy saving indication.
在另一种AP2广播第二节能指示的可选方式中,AP2可以通过广播第二信标帧的方式广播第二节能指示,该第二信标帧包括第二节能指示。In another optional manner in which AP2 broadcasts the second energy saving indication, AP2 may broadcast the second energy saving indication in a manner of broadcasting a second beacon frame, where the second beacon frame includes the second energy saving indication.
可选地,该第二节能指示可以通过第二信标帧中的PVB字段承载。比如,该PVB字段包括对应该终端的AID的比特位,该比特位可以用来承载该第二节能指示。Optionally, the second energy saving indication may be carried by a PVB field in the second beacon frame. For example, the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to bear the second energy saving indication.
例如,当该比特位的值为1时,用来表示该第二节能指示用于指示终端禁止进入节能模式;当该比特位的值为0时,用来表示该第二节能指示用于指示终端进入节能模式。For example, when the value of the bit is 1, it is used to indicate that the second energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode; when the value of the bit is 0, it is used to indicate that the second energy-saving indication is used to indicate The terminal enters the energy saving mode.
或者,当该比特位的值为0时,用来表示该第二节能指示用于指示终端禁止进入节能模式;当该比特位的值为1时,用来表示该第二节能指示用于指示终端进入节能模式。Or, when the value of the bit is 0, it is used to indicate that the second energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode; when the value of the bit is 1, it is used to indicate that the second energy-saving indication is used to indicate The terminal enters the energy saving mode.
S106、AP1广播第一节能指示,第一节能指示用于指示终端禁止进入节能模式。S106. The AP1 broadcasts a first energy-saving indication, where the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
AP1在广播第一节能指示之前,需要确定第一节能指示。AP1确定第一节能指示的方式多种多样。Before broadcasting the first energy saving indication, AP1 needs to determine the first energy saving indication. There are various ways for AP1 to determine the first energy saving indication.
在AP1确定第一节能指示的一种可选方式中,AP1可以无需关注AP2广播的第二节能指示是否指示终端进入节能模式,而是默认该第一节能指示用于指示终端禁止进入节能模式。In an optional manner for AP1 to determine the first energy-saving indication, AP1 may not need to pay attention to whether the second energy-saving indication broadcast by AP2 indicates that the terminal enters the energy-saving mode, but defaults that the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
在AP2确定第一节能指示的另一种可选方式中,AP1在广播第一节能指示之前,还可以 获取第二节能指示,并根据该第二节能指示确定第一节能指示。In another optional manner in which AP2 determines the first energy saving indication, before broadcasting the first energy saving indication, AP1 may further obtain a second energy saving indication, and determine the first energy saving indication according to the second energy saving indication.
比如,当第二节能指示用于指示终端进入节能模式时,AP1可以确定用于指示终端禁止进入节能模式的第一节能指示;当第二节能指示用于指示终端禁止进入节能模式时,AP1可以确定用于指示终端禁止进入节能模式的第一节能指示。For example, when the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, AP1 may determine the first energy-saving instruction used to instruct the terminal to prohibit entering the energy-saving mode; when the second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, AP1 may A first energy-saving indication for instructing the terminal to prohibit entering the energy-saving mode is determined.
AP1获取该第二节能指示的方式多种多样。比如,AP1可以接收AP2发送的该第二节能指示,以获取到该第二节能指示。或者,AP2可以将其需要广播的第二节能指示发送给控制器,再由控制器将该第二节能指示发送给AP1,以使AP1获取到第二节能指示。There are various ways for AP1 to obtain the second energy-saving instruction. For example, AP1 may receive the second energy saving indication sent by AP2, so as to obtain the second energy saving indication. Alternatively, AP2 may send the second energy saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy saving instruction to AP1, so that AP1 acquires the second energy saving instruction.
控制器在接收到终端的服务AP(AP2)发送的第二节能指示后,可以将该第二节能指示(如将承载该第二节能指示的PVB字段)发送给单BSSID系统中除AP2之外的其他AP(终端的非服务AP,如AP1)。可选地,控制器还可以将该第二节能指示发送给终端的服务AP,此时,控制器在发送第二节能指示时,无需区分终端的服务AP和非服务AP,而是将第二节能指示发送给单BSSID系统中的所有AP,简化了控制器发送第二节能指示的逻辑。可见,控制器可以将第二节能指示发送给单BSSID系统中的至少部分AP,该至少部分AP包括终端的非服务AP,进一步地,该至少部分AP也可以包括终端的服务AP。After the controller receives the second energy-saving indication sent by the serving AP (AP2) of the terminal, it can send the second energy-saving indication (for example, the PVB field that will carry the second energy-saving indication) to the single BSSID system except AP2. other APs (non-serving APs for terminals, such as AP1). Optionally, the controller may also send the second energy saving instruction to the serving AP of the terminal. At this time, when the controller sends the second energy saving instruction, it is not necessary to distinguish the serving AP and the non-serving AP of the terminal, but the second The energy saving instruction is sent to all APs in the single BSSID system, which simplifies the logic for the controller to send the second energy saving instruction. It can be seen that the controller may send the second energy saving instruction to at least some APs in the single BSSID system, and the at least some APs include non-serving APs of the terminal, and further, the at least some APs may also include serving APs of the terminal.
可选地,AP1可以广播该第一节能指示,或者通过广播第一信标帧的方式广播第一节能指示,该第一信标帧包括第一节能指示。示例地,该第一节能指示可以通过第一信标帧中的PVB字段承载。比如,该PVB字段包括对应该终端的AID的比特位,该比特位可以用来承载该第一节能指示。承载该第一节能指示的比特位对应的终端的AID可以与上述承载第二节能指示的比特位对应的终端的AID相同。Optionally, AP1 may broadcast the first energy saving indication, or broadcast the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication. Exemplarily, the first energy saving indication may be carried by a PVB field in the first beacon frame. For example, the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication. The AID of the terminal corresponding to the bit bearing the first energy saving indication may be the same as the AID of the terminal corresponding to the bit bearing the second energy saving indication.
S107、终端根据接收到的节能指示,进入节能模式,或不进入节能模式。S107. The terminal enters the energy saving mode or does not enter the energy saving mode according to the received energy saving instruction.
终端在接收到节能指示(如上述第二节能指示和/或第一节能指示等)后,会解析接收到的节能指示,并根据该节能指示进入节能模式或不进入节能模式。After receiving the energy-saving instruction (such as the second energy-saving instruction and/or the first energy-saving instruction), the terminal will analyze the received energy-saving instruction, and enter the energy-saving mode or not enter the energy-saving mode according to the energy-saving instruction.
可选地,如果AP通过发送信标帧的方式向终端发送节能指示,那么终端可以先解析该信标帧以得到该节能指示,在解析该节能指示。比如,当节能指示承载在信标帧中的PVB字段中时,终端可以解析信标帧得到该PVB字段,再解析该PVB字段得到PVB字段承载的节能指示,再解析该节能指示。Optionally, if the AP sends the energy saving indication to the terminal by sending a beacon frame, the terminal may first parse the beacon frame to obtain the energy saving indication, and then parse the energy saving indication. For example, when the energy saving indication is carried in the PVB field in the beacon frame, the terminal can parse the beacon frame to obtain the PVB field, then parse the PVB field to obtain the energy saving indication carried in the PVB field, and then parse the energy saving indication.
终端在运行的过程中会持续不断的接收到节能指示,终端在每接收到一个节能指示后,均可以根据该节能指示进入节能模式或不进入节能模式。During the running process, the terminal will continuously receive the energy-saving instruction, and each time the terminal receives an energy-saving instruction, it can enter the energy-saving mode or not enter the energy-saving mode according to the energy-saving instruction.
例如,终端与其服务AP(AP2)时间戳同步,终端能够接收到AP2广播的该终端对应的第二节能指示。在第二节能指示用于指示终端进入节能模式时,终端进入节能模式。在第二节能指示用于指示终端禁止进入节能模式时,终端不进入节能模式。For example, the terminal is synchronized with the time stamp of its serving AP (AP2), and the terminal can receive the second energy saving instruction corresponding to the terminal broadcast by AP2. When the second energy saving indication is used to instruct the terminal to enter the energy saving mode, the terminal enters the energy saving mode. When the second energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode, the terminal does not enter the energy-saving mode.
在此过程中,假设上述问题1发生,也即终端在未进入节能模式时,接收到AP1广播的该终端对应的第一节能指示。由于该第一节能指示用于指示终端禁止进入节能模式,因此,终端并不会在其非服务AP(AP1)的指示下进入节能模式。在终端的服务AP(AP2)下一次广播第二节能指示时,终端始终能够接收到该第二节能指示,从而使得终端能够始终与其服务AP时间戳同步,避免终端丢包。During this process, it is assumed that the above-mentioned problem 1 occurs, that is, when the terminal does not enter the energy-saving mode, it receives the first energy-saving instruction corresponding to the terminal broadcast by AP1. Since the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the terminal will not enter the energy-saving mode under the instruction of its non-serving AP (AP1). When the serving AP (AP2) of the terminal broadcasts the second energy-saving instruction next time, the terminal can always receive the second energy-saving instruction, so that the terminal can always synchronize with its serving AP time stamp and avoid packet loss of the terminal.
例如,请参考图8,在图8中的阶段1中,终端与AP2时间戳同步,AP2广播的终端对应的第二节能指示用于指示终端进入节能模式,此时终端根据该第二节能指示进入节能模式。For example, please refer to FIG. 8. In Phase 1 in FIG. 8, the terminal is synchronized with the AP2 time stamp, and the second energy-saving indication broadcast by the terminal corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode. At this time, the terminal according to the second energy-saving indication Enter energy saving mode.
如果在图8中的阶段2中,上述问题1出现,终端在AP2广播的第二节能指示的指示下 未进入节能模式时,终端接收到AP1广播的终端对应的第一节能指示。但由于该第一节能指示用于指示终端禁止进入节能模式,此时,终端会根据该节能指示保持不进入节能模式。If the above-mentioned problem 1 occurs in stage 2 in Figure 8, when the terminal does not enter the energy-saving mode under the instruction of the second energy-saving instruction broadcast by AP2, the terminal receives the first energy-saving instruction corresponding to the terminal broadcast by AP1. However, since the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, at this time, the terminal will not enter the energy-saving mode according to the energy-saving instruction.
这样一来,由于终端在阶段2中根据AP1广播的第二节能指示未进入节能模式,因此,终端并不会错过AP2在图8中的阶段3中广播的该终端的节能指示。此时,如果阶段3中AP2广播的终端对应的第二节能指示用于指示终端禁止进入节能模式,那么此时终端可以根据该第二节能指示禁止进入节能模式,因此,AP2在阶段3中广播第二节能指示后向终端发送的单播帧会被终端接收到,避免了终端丢包,从而解决了上述问题1。In this way, since the terminal does not enter the energy saving mode according to the second energy saving instruction broadcast by AP1 in phase 2, the terminal will not miss the energy saving instruction of the terminal broadcast by AP2 in phase 3 in FIG. 8 . At this time, if the second energy-saving indication corresponding to the terminal broadcast by AP2 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP2 broadcasts in phase 3 The unicast frame sent to the terminal after the second energy-saving indication will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 1.
另外,在第二节能指示用于指示终端进入节能模式时,终端会根据该第二节能指示进入节能模式,从而实现终端的节能,保证节能效率。并且,由于终端在进入节能模式后不会接收信息,因此,即使终端的非服务AP(AP1)广播了终端对应的第一节能指示,且该第一节能指示用于指示终端禁止进入节能模式,终端也不会接收该第一节能指示,进而也不会在该第一节能指示的指示下退出节能模式。In addition, when the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, the terminal will enter the energy-saving mode according to the second energy-saving instruction, so as to realize energy-saving of the terminal and ensure energy-saving efficiency. Moreover, since the terminal will not receive information after entering the energy-saving mode, even if the non-serving AP (AP1) of the terminal broadcasts the first energy-saving instruction corresponding to the terminal, and the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, The terminal will not receive the first energy-saving instruction, and will not exit the energy-saving mode under the instruction of the first energy-saving instruction.
进一步地,当终端的服务AP发生切换,且服务AP由上述AP2切换为AP1时,如图9所示,本申请实施例提供的终端控制方法还包括:Further, when the serving AP of the terminal is switched, and the serving AP is switched from the aforementioned AP2 to AP1, as shown in FIG. 9 , the terminal control method provided in this embodiment of the present application further includes:
S201、控制器向AP2发送第一服务指示,第一服务指示用于指示AP2为终端的非服务AP。S201. The controller sends a first service indication to AP2, where the first service indication is used to indicate that AP2 is a non-serving AP for a terminal.
S201可以参考上述S101,本申请实施例在此不做赘述。For S201, reference may be made to the foregoing S101, and details are not described here in this embodiment of the present application.
S202、控制器向AP1发送第二服务指示,第二服务指示用于指示AP1为终端的服务AP。S202. The controller sends a second service indication to AP1, where the second service indication is used to indicate that AP1 is a serving AP of the terminal.
S202可以参考上述S102,本申请实施例在此不做赘述。For S202, reference may be made to the foregoing S102, and details are not described here in this embodiment of the present application.
S203、AP2根据第一服务指示,确定AP2为终端的非服务AP。S203, AP2 determines that AP2 is a non-serving AP of the terminal according to the first service indication.
S203可以参考上述S103,本申请实施例在此不做赘述。For S203, reference may be made to the foregoing S103, and details are not described here in this embodiment of the present application.
S204、AP1根据第二服务指示,确定AP1为终端的服务AP。S204, AP1 determines that AP1 is the serving AP of the terminal according to the second service indication.
S204可以参考上述S104,本申请实施例在此不做赘述。For S204, reference may be made to the foregoing S104, and details are not described here in this embodiment of the present application.
S205、AP1广播第二节能指示,第二节能指示用于指示终端进入节能模式,或禁止进入节能模式。S205. The AP1 broadcasts a second energy-saving instruction, where the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, or to prohibit the terminal from entering the energy-saving mode.
S205可以参考上述S105,本申请实施例在此不做赘述。For S205, reference may be made to the foregoing S105, and details are not described here in this embodiment of the present application.
S206、AP2广播第一节能指示,第一节能指示用于指示终端禁止进入节能模式。S206. The AP2 broadcasts a first energy-saving indication, where the first energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode.
S206可以参考上述S106,本申请实施例在此不做赘述。For S206, reference may be made to the foregoing S106, and details are not described here in this embodiment of the present application.
S207、终端根据接收到的节能指示,进入节能模式,或不进入节能模式。S207. The terminal enters the energy saving mode or does not enter the energy saving mode according to the received energy saving instruction.
S207可以参考上述S107,本申请实施例在此不做赘述。For S207, reference may be made to the foregoing S107, and details are not described here in this embodiment of the present application.
根据图9所示的实施例可以看出,在终端的服务AP由AP2切换为AP1时,AP1作为终端的服务AP,AP2作为终端的非服务AP。此时,作为终端的服务AP的AP1的操作可以参考图7中作为终端的服务AP的AP2的操作,作为终端的非服务AP的AP2的操作可以参考图7中作为终端的非服务AP的AP1的操作。由于图7所示的实施例能够在终端的服务AP未切换时解决上述问题1,因此,图9所示的实施例也能够在终端的服务AP切换后解决上述问题1。According to the embodiment shown in FIG. 9, it can be seen that when the serving AP of the terminal is switched from AP2 to AP1, AP1 serves as the serving AP of the terminal, and AP2 serves as the non-serving AP of the terminal. At this time, the operation of AP1 serving as the terminal can refer to the operation of AP2 serving as the terminal serving AP in Figure 7, and the operation of AP2 serving as the terminal non-serving AP can refer to the operation of AP1 serving as the terminal non-serving AP in Figure 7 operation. Since the embodiment shown in FIG. 7 can solve the above-mentioned problem 1 when the serving AP of the terminal is not switched, the embodiment shown in FIG. 9 can also solve the above-mentioned problem 1 after the serving AP of the terminal is switched.
并且,在第二节能指示用于指示终端进入节能模式时,终端会根据该第二节能指示进入节能模式,从而实现终端的节能,保证节能效率。并且,由于终端在进入节能模式后不会接 收信息,因此,即使终端的非服务AP(AP2)广播了终端对应的第一节能指示,且该第一节能指示用于指示终端禁止进入节能模式,终端也不会接收该第一节能指示,进而也不会在该第一节能指示的指示下退出节能模式。Moreover, when the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode, the terminal will enter the energy-saving mode according to the second energy-saving instruction, so as to realize energy-saving of the terminal and ensure energy-saving efficiency. Moreover, since the terminal will not receive information after entering the energy-saving mode, even if the non-serving AP (AP2) of the terminal broadcasts the first energy-saving instruction corresponding to the terminal, and the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, The terminal will not receive the first energy-saving instruction, and will not exit the energy-saving mode under the instruction of the first energy-saving instruction.
另外,对于上述问题2,在终端的服务AP进行切换时,假设终端与切换前的服务AP时间戳同步,且终端未与切换后的服务AP时间戳同步。由于切换前的服务AP变为切换后的非服务AP,因此,切换后的非服务AP广播的终端对应的节能指示用于指示终端禁止进入节能模式。终端可以根据该节能指示禁止进入节能模式,直至终端接收到切换后的服务AP广播的该终端对应的节能指示,从而实现终端与切换后的服务AP时间戳同步,避免了在服务AP切换时终端丢包,解决了上述问题2。In addition, for the above problem 2, when the serving AP of the terminal is handed over, it is assumed that the terminal is synchronized with the time stamp of the serving AP before the handover, and the terminal is not synchronized with the time stamp of the serving AP after the handover. Since the serving AP before the handover becomes the non-serving AP after the handover, the energy-saving indication corresponding to the terminal broadcast by the non-serving AP after the handover is used to instruct the terminal to prohibit entering the energy-saving mode. The terminal can be prohibited from entering the energy-saving mode according to the energy-saving instruction until the terminal receives the energy-saving instruction corresponding to the terminal broadcast by the switched serving AP, so as to realize the time stamp synchronization between the terminal and the switched serving AP, and avoid terminal Packet loss, solves problem 2 above.
例如,请参考图10,在图10中的阶段1中,终端与AP2时间戳同步,AP2广播的终端对应的第二节能指示用于指示终端进入节能模式,终端会根据该第二节能指示进入节能模式。For example, please refer to Figure 10. In Phase 1 in Figure 10, the terminal is synchronized with the AP2 time stamp, and the second energy-saving indication broadcast by AP2 is used to instruct the terminal to enter the energy-saving mode, and the terminal will enter the energy-saving mode according to the second energy-saving indication. Energy saving mode.
如果在图10中的阶段2中,终端在AP2广播的终端对应的节能指示下未进入节能模式时,终端的服务AP由AP2切换为AP1。此时,如果终端与AP2时间戳同步,那么终端会接收到AP2广播的第一节能指示,由于此时AP2为终端的非服务AP,AP2广播的第一节能指示用于指示终端禁止进入节能模式,因此,终端会根据该第一节能指示禁止进入节能模式,直至终端接收到AP1广播的第二节能指示。If in phase 2 in FIG. 10 , the terminal does not enter the energy saving mode under the energy saving instruction broadcast by AP2 corresponding to the terminal, the serving AP of the terminal is switched from AP2 to AP1. At this time, if the terminal is synchronized with the time stamp of AP2, the terminal will receive the first energy-saving indication broadcast by AP2. Since AP2 is the non-serving AP of the terminal at this time, the first energy-saving indication broadcast by AP2 is used to instruct the terminal to prohibit entering the energy-saving mode. Therefore, the terminal is prohibited from entering the energy-saving mode according to the first energy-saving instruction until the terminal receives the second energy-saving instruction broadcast by AP1.
此时,如果阶段3中AP1广播的终端对应的第二节能指示用于指示终端禁止进入节能模式,那么此时终端可以根据该第二节能指示禁止进入节能模式,因此,AP1在阶段3中广播第二节能指示后向终端发送的单播帧会被终端接收到,避免了终端丢包,从而解决了上述问题2。At this time, if the second energy-saving indication corresponding to the terminal broadcast by AP1 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP1 broadcasts in phase 3 The unicast frame sent to the terminal after the second energy-saving indication will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 2.
可见,即使终端的服务AP发生了切换,但终端始终能够接收到终端的服务AP广播的节能指示,从而使终端与其服务AP时间戳同步,避免终端丢包。It can be seen that even if the serving AP of the terminal is switched, the terminal can always receive the energy-saving indication broadcast by the serving AP of the terminal, so that the terminal and its serving AP time stamp are synchronized to avoid terminal packet loss.
图7和图9所示的实施例中以无论第二节能指示用于指示终端进入节能模式,还是禁止进入节能模式,第一节能指示均用于指示终端禁止进入节能模式为例。可选地,上述第一节能指示也可以与第二节能指示保持一致。In the embodiments shown in FIG. 7 and FIG. 9 , no matter whether the second energy saving instruction is used to instruct the terminal to enter the energy saving mode or to prohibit the terminal from entering the energy saving mode, the first energy saving instruction is used to instruct the terminal to prohibit entering the energy saving mode as an example. Optionally, the above-mentioned first energy-saving indication may also be consistent with the second energy-saving indication.
比如,当第二节能指示用于指示终端进入节能模式时,第一节能指示用于指示终端进入节能模式;当第二节能指示用于指示终端禁止进入节能模式时,第一节能指示用于指示终端禁止进入节能模式。For example, when the second energy saving instruction is used to instruct the terminal to enter the energy saving mode, the first energy saving instruction is used to instruct the terminal to enter the energy saving mode; when the second energy saving instruction is used to instruct the terminal to prohibit entering the energy saving mode, the first energy saving instruction is used to indicate The terminal is prohibited from entering the energy-saving mode.
在这种情况下,非服务AP(如图7中的AP1,或图8中的AP2)在广播第一节能指示之前,需要获取上述第二节能指示,并根据该第二节能指示确定第一节能指示。非服务AP获取第二节能指示的方式可以参考上述S106中AP1获取第二节能指示的方式,本申请实施例在此不做赘述。In this case, before the non-serving AP (such as AP1 in FIG. 7 or AP2 in FIG. 8 ) broadcasts the first energy saving instruction, it needs to obtain the above-mentioned second energy saving instruction, and determine the first energy saving instruction according to the second energy saving instruction. Energy saving indicator. For the manner in which the non-serving AP acquires the second energy-saving indication, reference may be made to the manner in which AP1 acquires the second energy-saving indication in S106 above, and details are not described in this embodiment of the present application.
在第一节能指示与第二节能指示保持一致时,也能解决上述问题1和问题2,分析如下:When the first energy-saving instruction is consistent with the second energy-saving instruction, the above problems 1 and 2 can also be solved, and the analysis is as follows:
对于问题1:For question 1:
假设问题1发生,也即终端在未进入节能模式时,接收到终端的非服务AP广播的第一节能指示。由于该第一节能指示与服务AP广播的第二节能指示保持一致,因此,第一节能指示当前也是指示终端禁止进入节能模式,终端会在第一节能指示的指示下保持不进入节能模式。在终端的服务AP下一次广播第二节能指示时,终端始终能够接收到该第二节能指示, 从而使得终端能够始终与其服务AP时间戳同步,避免终端丢包。Assume that problem 1 occurs, that is, when the terminal does not enter the energy-saving mode, it receives the first energy-saving indication broadcast by the non-serving AP of the terminal. Since the first energy-saving instruction is consistent with the second energy-saving instruction broadcast by the serving AP, the first energy-saving instruction currently also instructs the terminal to prohibit entering the energy-saving mode, and the terminal will not enter the energy-saving mode under the instruction of the first energy-saving instruction. When the serving AP of the terminal broadcasts the second energy saving instruction next time, the terminal can always receive the second energy saving instruction, so that the terminal can always synchronize with the time stamp of the serving AP and avoid packet loss of the terminal.
例如,请参考图11,在图11中的阶段1中,终端与AP2(终端的服务AP)时间戳同步,AP2广播的终端对应的第二节能指示用于指示终端进入节能模式,终端会根据该第二节能指示进入节能模式。For example, please refer to Figure 11. In Phase 1 in Figure 11, the terminal is synchronized with the time stamp of AP2 (the serving AP of the terminal), and the second energy-saving instruction broadcast by AP2 corresponding to the terminal is used to instruct the terminal to enter the energy-saving mode. The second energy-saving instruction enters into an energy-saving mode.
如果在图11中的阶段2中,上述问题1出现,终端在AP2广播的第二节能指示的指示下未进入节能模式时,终端接收到AP1广播的终端对应的第一节能指示。但由于该第一节能指示也用于指示终端禁止进入节能模式,此时,终端会根据该节能指示保持不进入节能模式。If the above-mentioned problem 1 occurs in stage 2 in FIG. 11 , and the terminal does not enter the energy-saving mode under the instruction of the second energy-saving instruction broadcast by AP2, the terminal receives the first energy-saving instruction corresponding to the terminal broadcast by AP1. However, since the first energy-saving instruction is also used to instruct the terminal to prohibit entering the energy-saving mode, at this time, the terminal will not enter the energy-saving mode according to the energy-saving instruction.
这样一来,由于终端在阶段2中根据AP1广播的第一节能指示未进入节能模式,因此,终端并不会错过AP2在图11中的阶段3中广播的第二节能指示。此时,如果阶段3中AP2广播的第二节能指示用于指示终端禁止进入节能模式,那么此时终端可以根据该第二节能指示禁止进入节能模式,因此,AP2在阶段3中广播第二节能指示后向终端发送的单播帧会被终端接收到,避免了终端丢包,从而解决了上述问题1。In this way, since the terminal does not enter the energy saving mode in phase 2 according to the first energy saving indication broadcast by AP1, the terminal will not miss the second energy saving indication broadcast by AP2 in phase 3 in FIG. 11 . At this time, if the second energy-saving indication broadcast by AP2 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP2 broadcasts the second energy-saving mode in phase 3. The unicast frame sent to the terminal after the instruction will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 1.
另外,在第二节能指示用于指示终端进入节能模式时,终端会根据该第二节能指示进入节能模式,以实现终端的节能,保证节能效率。由于终端在进入节能模式后不会接收信息,因此,无论非服务AP广播的第一节能指示是否用于指示终端进入节能模式,终端均不会接收该第一节能指示,进而也不会在该第一节能指示的指示进入或不进入节能模式。In addition, when the second energy saving instruction is used to instruct the terminal to enter the energy saving mode, the terminal will enter the energy saving mode according to the second energy saving instruction, so as to realize energy saving of the terminal and ensure energy saving efficiency. Since the terminal will not receive information after entering the energy-saving mode, no matter whether the first energy-saving indication broadcast by the non-serving AP is used to instruct the terminal to enter the energy-saving mode, the terminal will not receive the first energy-saving indication, and will not The indication of the first energy-saving indication is to enter or not to enter the energy-saving mode.
对于问题2:For question 2:
假设问题2发生,也即在终端的服务AP进行切换时,终端与切换前的服务AP时间戳同步,且终端未与切换后的服务AP时间戳同步。由于非服务AP广播的第一节能指示与服务AP广播的第二节能指示保持一致,因此,如果切换后的服务AP广播的第二节能指示用于指示终端禁止进入节能模式,那么切换后的非服务AP广播的第一节能指示也用于指示终端禁止进入节能模式。此时,终端可以根据该第一节能指示禁止进入节能模式,直至终端接收到切换后的服务AP广播的该终端对应的第二节能指示,从而实现终端与切换后的服务AP时间戳同步,避免了在服务AP切换时终端丢包,解决了上述问题2。Assume that problem 2 occurs, that is, when the serving AP of the terminal is switched, the terminal is synchronized with the time stamp of the serving AP before the handover, and the terminal is not synchronized with the time stamp of the serving AP after the handover. Since the first energy-saving instruction broadcast by the non-serving AP is consistent with the second energy-saving instruction broadcast by the serving AP, if the second energy-saving instruction broadcast by the serving AP after switching is used to instruct the terminal to prohibit entering the energy-saving mode, then the non-serving AP after switching The first energy-saving indication broadcast by the serving AP is also used to instruct the terminal to prohibit entering the energy-saving mode. At this time, the terminal can prohibit entering the energy-saving mode according to the first energy-saving instruction until the terminal receives the second energy-saving instruction corresponding to the terminal broadcast by the switched serving AP, so as to realize the time stamp synchronization between the terminal and the switched serving AP, and avoid In order to avoid terminal packet loss when the serving AP is switched, the above-mentioned problem 2 is solved.
例如,请参考图12,在图12中的阶段1中,终端与AP2时间戳同步,AP2广播的终端对应的第二节能指示用于指示终端进入节能模式,终端根据该第二节能指示进入节能模式。For example, please refer to FIG. 12. In Phase 1 in FIG. 12, the terminal is synchronized with the AP2 time stamp, and the second energy-saving indication corresponding to the terminal broadcast by AP2 is used to instruct the terminal to enter the energy-saving mode, and the terminal enters the energy-saving mode according to the second energy-saving indication. model.
如果在图12中的阶段2中,终端在AP2广播的终端对应的节能指示下未进入节能模式时,终端的服务AP由AP2切换为AP1。此时,如果终端与AP2时间戳同步,那么终端会接收到AP2广播的第一节能指示,由于此时AP2为终端的非服务AP,AP2广播的第一节能指示与终端的服务AP(AP1)广播的第二节能指示保持一致。当AP1广播的第二节能指示用于指示终端禁止进入节能模式时,AP2广播的第一节能指示也用于指示终端禁止进入节能模式,因此,终端会根据该第一节能指示禁止进入节能模式,直至终端接收到AP1广播的第二节能指示。If in phase 2 in FIG. 12 , the terminal does not enter the energy saving mode under the energy saving instruction broadcast by AP2 corresponding to the terminal, the serving AP of the terminal is switched from AP2 to AP1. At this time, if the terminal is synchronized with the AP2 time stamp, the terminal will receive the first energy-saving indication broadcast by AP2. The broadcasted second energy-saving indication remains consistent. When the second energy-saving instruction broadcast by AP1 is used to instruct the terminal to prohibit entering the energy-saving mode, the first energy-saving instruction broadcast by AP2 is also used to instruct the terminal to prohibit entering the energy-saving mode. Therefore, the terminal will prohibit entering the energy-saving mode according to the first energy-saving instruction. Until the terminal receives the second energy saving indication broadcast by AP1.
此时,如果阶段3中AP1广播的终端对应的第二节能指示用于指示终端禁止进入节能模式,那么此时终端可以根据该第二节能指示禁止进入节能模式,因此,AP1在阶段3中广播第二节能指示后向终端发送的单播帧会被终端接收到,避免了终端丢包,从而解决了上述问题2。At this time, if the second energy-saving indication corresponding to the terminal broadcast by AP1 in phase 3 is used to instruct the terminal to prohibit entering the energy-saving mode, then the terminal can be prohibited from entering the energy-saving mode according to the second energy-saving indication. Therefore, AP1 broadcasts in phase 3 The unicast frame sent to the terminal after the second energy-saving indication will be received by the terminal, which avoids packet loss at the terminal, thereby solving the above problem 2.
可见,即使终端的服务AP发生了切换,但终端始终能够接收到终端的服务AP广播的节能指示,从而使终端与其服务AP时间戳同步,避免终端丢包。It can be seen that even if the serving AP of the terminal is switched, the terminal can always receive the energy-saving indication broadcast by the serving AP of the terminal, so that the terminal and its serving AP time stamp are synchronized to avoid terminal packet loss.
另外,在切换后的服务AP广播的第二节能指示用于指示终端进入节能模式时,切换后的非服务AP广播的第一节能模式也用于指示终端进入节能模式。即使终端与切换后的非服务AP时间戳同步,终端接收到非服务AP广播的用于指示终端进入节能模式的第一节能指示,终端可以根据该第一节能指示进入节能模式,以实现终端的节能,保证节能效率。In addition, when the second energy saving instruction broadcast by the switched serving AP is used to instruct the terminal to enter the energy saving mode, the first energy saving mode broadcast by the switched non-serving AP is also used to instruct the terminal to enter the energy saving mode. Even if the terminal is synchronized with the time stamp of the non-serving AP after switching, the terminal receives the first energy-saving indication broadcast by the non-serving AP for instructing the terminal to enter the energy-saving mode, and the terminal can enter the energy-saving mode according to the first energy-saving indication, so as to realize the energy saving mode of the terminal. Energy-saving, to ensure energy-saving efficiency.
根据以上内容可知,在本申请实施例提供的终端控制方法中,对于单BSSID系统中的任一AP(称为第一AP),第一AP可以确定第一AP是否为用于向终端提供服务的服务AP;在第一AP不是服务AP时,第一AP会广播第一节能指示。在第一AP不是服务AP时,该服务AP会广播第二节能指示。According to the above content, in the terminal control method provided by the embodiment of the present application, for any AP (referred to as the first AP) in the single BSSID system, the first AP can determine whether the first AP is used to provide services to the terminal the serving AP; when the first AP is not the serving AP, the first AP broadcasts the first energy-saving instruction. When the first AP is not the serving AP, the serving AP broadcasts the second energy saving indication.
在一种情况下,无论第二节能指示用于指示终端进入节能模式,还是禁止进入节能模式,第一节能指示均用于指示终端禁止进入节能模式。In one case, no matter whether the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode or to prohibit the terminal from entering the energy-saving mode, the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode.
在另一种情况下,当第二节能指示用于指示终端进入节能模式时,第一节能指示也用于指示终端进入节能模式。当第二节能指示用于指示终端禁止进入节能模式时,第一节能指示也用于指示终端禁止进入节能模式。In another case, when the second energy saving indication is used to instruct the terminal to enter the energy saving mode, the first energy saving indication is also used to instruct the terminal to enter the energy saving mode. When the second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the first energy-saving instruction is also used to instruct the terminal to prohibit entering the energy-saving mode.
可见,第一节能指示能够指示终端禁止进入节能模式,且此时第二节能指示用于指示终端进入节能模式或禁止进入节能模式。It can be seen that the first energy-saving instruction can instruct the terminal to prohibit entering the energy-saving mode, and at this time the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode or prohibit entering the energy-saving mode.
可选地,在第一AP不是服务AP时,在第一AP广播第一节能指示之前,第一AP还可以获取上述第二节能指示。此时,第一AP可以根据该第二节能指示确定第一节能指示,并广播第一节能指示。Optionally, when the first AP is not the serving AP, before the first AP broadcasts the first energy saving instruction, the first AP may also acquire the above-mentioned second energy saving instruction. At this time, the first AP may determine the first energy saving instruction according to the second energy saving instruction, and broadcast the first energy saving instruction.
可选地,第一AP可以直接接收第二AP发送的第二节能指示,以获取该第二节能指示。或者,第一AP也可以接收控制器发送的第二节能指示,以获取该第二节能指示。Optionally, the first AP may directly receive the second energy saving indication sent by the second AP, so as to obtain the second energy saving indication. Alternatively, the first AP may also receive the second energy saving instruction sent by the controller, so as to obtain the second energy saving instruction.
可选地,第一AP在广播第一节能指示时,可以只广播第一节能指示,也可以广播包括第一节能指示的第一信标帧。示例地,在第一信标帧中,第一节能指示可以通过第一信标帧中的PVB字段承载。Optionally, when the first AP broadcasts the first energy saving indication, it may only broadcast the first energy saving indication, or may broadcast the first beacon frame including the first energy saving indication. For example, in the first beacon frame, the first energy saving indication may be carried by the PVB field in the first beacon frame.
可选地,在第一AP确定第一AP是否为用于向终端提供服务的服务AP之前,第一AP可以接收控制器发送的服务指示,该服务指示用于指示第一AP是否为服务AP;第一AP在确定第一AP是否为该服务AP时,可以根据该服务指示确定第一AP是否为服务AP。当然,第一AP也可以不根据该服务指示确定第一AP是否为服务AP,比如,工作人员可以在第一AP上配置第一AP是否为服务AP的信息,第一AP可以根据该信息确定第一AP是否为服务AP。如果第一AP无需根据控制器发送的服务指示确定第一AP是否为终端的服务AP,以及第一AP无需接收控制器发送的第二节能指示,那么本申请实施例提供的BSSID也可以不包括控制器。Optionally, before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the first AP may receive a service indication sent by the controller, and the service indication is used to indicate whether the first AP is a serving AP ; When determining whether the first AP is the serving AP, the first AP may determine whether the first AP is the serving AP according to the service indication. Of course, the first AP may not determine whether the first AP is the serving AP based on the service indication. For example, the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP. If the first AP does not need to determine whether the first AP is the serving AP of the terminal according to the service indication sent by the controller, and the first AP does not need to receive the second energy saving indication sent by the controller, then the BSSID provided in the embodiment of the present application may not include controller.
可选地,在第一AP确定第一AP是服务AP时,第一AP可以向控制器发送节能指示(类似图7所示实施例中AP2向控制器发送上述第二节能指示);该节能指示用于指示第一AP是否要求终端进入节能模式。Optionally, when the first AP determines that the first AP is a serving AP, the first AP may send an energy-saving indication to the controller (similar to the second energy-saving indication that AP2 sends to the controller in the embodiment shown in FIG. 7); the energy-saving The indication is used to indicate whether the first AP requires the terminal to enter the energy saving mode.
可以看出,本申请实施例提供的终端控制方法不仅能够解决上述问题1和问题2。It can be seen that the terminal control method provided in the embodiment of the present application can not only solve the above problems 1 and 2.
并且,相比上述办法1,由于本申请实施例提供的终端控制方法无需为不同的终端配置不同的BSSID,因此,本申请实施例对终端的管理方式较为简单,并且,信标帧无需携带BSSID,信标帧的开销较小。另外,由于无需为不同的终端配置不同的BSSID,因此,单BSSID 系统中能够容纳的终端的数目也不受限。Moreover, compared with the above method 1, since the terminal control method provided by the embodiment of the present application does not need to configure different BSSIDs for different terminals, the management method of the terminal in the embodiment of the present application is relatively simple, and the beacon frame does not need to carry the BSSID , the overhead of beacon frames is small. In addition, since there is no need to configure different BSSIDs for different terminals, the number of terminals that can be accommodated in a single BSSID system is not limited.
相比办法2,本申请实施例提供的终端控制方法能够解决上述问题1和2。另外,切换前的服务AP无需确定切换后的服务AP广播信标帧的时刻,因此,本申请实施例提供的终端控制方法对AP的要求较低。Compared with method 2, the terminal control method provided in the embodiment of the present application can solve the above-mentioned problems 1 and 2. In addition, the serving AP before the handover does not need to determine the moment when the serving AP after the handover broadcasts the beacon frame. Therefore, the terminal control method provided in the embodiment of the present application has relatively low requirements on the AP.
根据本申请实施例提供的终端控制方法可知,本申请实施例还提供了一种终端控制系统,该终端控制系统为单BSSID系统,该终端控制系统包括:终端和多个接入点AP;该终端控制系统包括:According to the terminal control method provided in the embodiment of the present application, it can be seen that the embodiment of the present application also provides a terminal control system, the terminal control system is a single BSSID system, and the terminal control system includes: a terminal and multiple access points AP; The terminal control system includes:
第一AP,所述第一AP为所述多个AP中的任一AP。所述第一AP用于在确定所述第一AP不是用于向所述终端提供服务的服务AP时,广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式;所述终端用于根据接收到的节能指示,进入节能模式,或不进入节能模式。A first AP, where the first AP is any one of the multiple APs. The first AP is configured to broadcast a first energy-saving indication when it is determined that the first AP is not a serving AP for providing services to the terminal, and the first energy-saving indication is used to instruct the terminal to prohibit entering an energy-saving mode ; The terminal is configured to enter the energy-saving mode or not enter the energy-saving mode according to the received energy-saving instruction.
第一AP在广播第一节能指示之前,需要确定第一节能指示。第一AP确定第一节能指示的方式多种多样。在第一AP确定第一节能指示的一种可选方式中,所述多个AP中的服务AP用于广播第二节能指示,所述第一AP还用于在所述第一AP不是服务AP时,在广播第一节能指示之前,获取所述第二节能指示。在第一节能指示用于指示终端禁止进入节能模式时,所述第二节能指示用于指示所述终端进入节能模式;或者,在第一节能指示用于指示终端禁止进入节能模式时,所述第二节能指示用于指示所述终端禁止进入节能模式。Before broadcasting the first energy saving indication, the first AP needs to determine the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner for the first AP to determine the first energy saving indication, the serving AP among the plurality of APs is used to broadcast the second energy saving indication, and the first AP is also used to broadcast the second energy saving indication when the first AP is not serving During the AP, before broadcasting the first energy saving indication, acquire the second energy saving indication. When the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the second energy-saving instruction is used to instruct the terminal to enter the energy-saving mode; or, when the first energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode, the The second energy-saving instruction is used to instruct the terminal to prohibit entering the energy-saving mode.
第一AP获取该第二节能指示的方式多种多样。比如,当前的服务AP还用于向第一AP发送该第二节能指示,以使第一AP获取到该第二节能指示。或者,当前的服务AP还用于将其需要广播的第二节能指示发送给控制器;控制器用于将该第二节能指示发送给第一AP,以使第一AP获取到第二节能指示。There are various ways for the first AP to obtain the second energy saving indication. For example, the current serving AP is further configured to send the second energy saving indication to the first AP, so that the first AP obtains the second energy saving indication. Alternatively, the current serving AP is further configured to send the second energy-saving indication that it needs to broadcast to the controller; the controller is configured to send the second energy-saving indication to the first AP, so that the first AP obtains the second energy-saving indication.
第一AP广播第一节能指示的方式多种多样。There are various manners for the first AP to broadcast the first energy saving indication.
在一种第一AP广播第一节能指示的可选方式中,第一AP用于直接广播该第一节能指示。In an optional manner in which the first AP broadcasts the first energy saving indication, the first AP is used to directly broadcast the first energy saving indication.
在另一种第一AP广播第一节能指示的可选方式中,第一AP用于通过广播第一信标帧的方式广播第一节能指示,该第一信标帧包括第一节能指示。In another optional manner in which the first AP broadcasts the first energy saving indication, the first AP broadcasts the first energy saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy saving indication.
可选地,该第一节能指示可以通过第一信标帧中的PVB字段承载。比如,该PVB字段包括对应该终端的AID的比特位,该比特位可以用来承载该第一节能指示。Optionally, the first energy saving indication may be carried by a PVB field in the first beacon frame. For example, the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
可选地,在第一AP确定第一AP是否为用于向终端提供服务的服务AP之前,第一AP还用于接收控制器发送的服务指示,该服务指示用于指示第一AP是否为服务AP;第一AP可以用于根据该服务指示确定第一AP是否为服务AP。当然,第一AP也可以不根据该服务指示确定第一AP是否为服务AP,比如,工作人员可以在第一AP上配置第一AP是否为服务AP的信息,第一AP可以根据该信息确定第一AP是否为服务AP。Optionally, before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the first AP is further configured to receive a service indication sent by the controller, where the service indication is used to indicate whether the first AP is Serving AP; the first AP may be used to determine whether the first AP is a serving AP according to the service indication. Of course, the first AP may not determine whether the first AP is the serving AP based on the service indication. For example, the staff can configure information on whether the first AP is the serving AP on the first AP, and the first AP can determine the Whether the first AP is a serving AP.
可选地,第一AP还用于在确定第一AP是服务AP时,向控制器发送节能指示(类似图7所示实施例中AP2向控制器发送上述第二节能指示);该节能指示用于指示第一AP是否要求终端进入节能模式。Optionally, the first AP is also configured to send an energy-saving indication to the controller when it is determined that the first AP is a serving AP (similar to the second energy-saving indication sent by AP2 to the controller in the embodiment shown in FIG. 7); the energy-saving indication It is used to indicate whether the first AP requires the terminal to enter the energy-saving mode.
上文中结合图1至图12,详细描述了本申请所提供的终端控制方法,可以理解的是,第一AP和控制器为了实现上述各方法所描述的功能,其需包含执行各个功能相应的硬件和/或 软件模块。结合本文中所公开的实施例描述的各方法的执行过程,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方式来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The terminal control method provided by this application has been described in detail above with reference to FIG. 1 to FIG. 12 . It can be understood that, in order to realize the functions described in the above-mentioned methods, the first AP and the controller need to include corresponding functions for executing each function. hardware and/or software modules. In combination with the execution process of each method described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different ways to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本实施例可以根据上述方法实施例对第一AP和控制器进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。In this embodiment, the functional modules of the first AP and the controller can be divided according to the above method embodiment. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. . The above integrated modules may be implemented in the form of hardware.
当采用功能模块划分方式时,下面将结合图13、图14和图15描述本申请所提供的终端控制装置(如上述第一AP和控制器)。When the functional module division method is adopted, the terminal control device (such as the above-mentioned first AP and controller) provided by the present application will be described below with reference to FIG. 13 , FIG. 14 and FIG. 15 .
图13为本申请实施例提供的一种第一AP的框图。如图13所示,所述第一AP包括:确定模块1301和广播模块1302。FIG. 13 is a block diagram of a first AP provided by an embodiment of the present application. As shown in FIG. 13 , the first AP includes: a determination module 1301 and a broadcast module 1302 .
确定模块1301用于确定所述第一AP是否为用于向所述终端提供服务的服务AP;确定模块1301用于执行的操作可以参考上述S103中与AP1相关的内容,或者参考S203中与AP2相关的内容。The determination module 1301 is used to determine whether the first AP is a serving AP for providing services to the terminal; the operations performed by the determination module 1301 can refer to the content related to AP1 in S103 above, or refer to the content related to AP2 in S203 relevant content.
广播模块1302用于在所述第一AP不是服务AP时,广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式。广播模块1302用于执行的操作可以参考上述S106中与AP1相关的内容,或者参考S206中与AP2相关的内容。The broadcast module 1302 is configured to broadcast a first energy-saving indication when the first AP is not a serving AP, and the first energy-saving indication is used to instruct the terminal to prohibit entering into an energy-saving mode. For the operation performed by the broadcast module 1302, refer to the content related to AP1 in S106 above, or refer to the content related to AP2 in S206.
可选地,第一AP在广播第一节能指示之前,需要确定第一节能指示。第一AP确定第一节能指示的方式多种多样。在第一AP确定第一节能指示的一种可选方式中,所述第一AP还包括:获取模块(图13中未示出),用于在所述第一AP不是服务AP时,在所述第一AP广播第一节能指示之前,获取第二节能指示;所述第二节能指示是所述服务AP广播的节能指示;所述第二节能指示用于指示所述终端进入节能模式;或者,所述第二节能指示用于指示所述终端禁止进入节能模式。获取模块用于执行的操作可以参考上述图7和图8所示的实施例中与非服务AP获取服务AP广播的第二节能知识相关的内容。Optionally, the first AP needs to determine the first energy saving indication before broadcasting the first energy saving indication. There are various manners for the first AP to determine the first energy saving indication. In an optional manner in which the first AP determines the first energy-saving indication, the first AP further includes: an obtaining module (not shown in FIG. 13 ), configured to, when the first AP is not a serving AP, Before the first AP broadcasts the first energy-saving indication, obtain a second energy-saving indication; the second energy-saving indication is an energy-saving indication broadcast by the serving AP; the second energy-saving indication is used to instruct the terminal to enter an energy-saving mode; Alternatively, the second energy saving indication is used to instruct the terminal to prohibit entering the energy saving mode. For operations performed by the obtaining module, reference may be made to the content related to the non-serving AP obtaining the second energy-saving knowledge broadcast by the serving AP in the embodiments shown in FIG. 7 and FIG. 8 .
获取模块获取该第二节能指示的方式多种多样。比如,第一AP可以接收当前的服务AP发送的该第二节能指示,以使得获取模块获取到该第二节能指示。或者,当前的服务AP可以将其需要广播的第二节能指示发送给控制器,再由控制器将该第二节能指示发送给第一AP,以使获取模块获取到第二节能指示。There are various ways for the obtaining module to obtain the second energy saving indication. For example, the first AP may receive the second energy saving indication sent by the current serving AP, so that the acquiring module acquires the second energy saving indication. Alternatively, the current serving AP may send the second energy-saving instruction that it needs to broadcast to the controller, and then the controller sends the second energy-saving instruction to the first AP, so that the obtaining module acquires the second energy-saving instruction.
广播模块广播第一节能指示的方式多种多样。There are various ways for the broadcast module to broadcast the first energy-saving instruction.
在一种广播模块广播第一节能指示的可选方式中,广播模块可以直接广播该第一节能指示。In an optional manner in which the broadcast module broadcasts the first energy saving instruction, the broadcast module may directly broadcast the first energy saving instruction.
在另一种广播模块广播第一节能指示的可选方式中,广播模块可以通过广播第一信标帧的方式广播第一节能指示,该第一信标帧包括第一节能指示。In another optional manner in which the broadcast module broadcasts the first energy-saving indication, the broadcast module may broadcast the first energy-saving indication by broadcasting a first beacon frame, where the first beacon frame includes the first energy-saving indication.
可选地,该第一节能指示可以通过第一信标帧中的PVB字段承载。比如,该PVB字段包括对应该终端的AID的比特位,该比特位可以用来承载该第一节能指示。Optionally, the first energy saving indication may be carried by a PVB field in the first beacon frame. For example, the PVB field includes bits corresponding to the AID of the terminal, and the bits may be used to carry the first energy saving indication.
可选地,所述单BSSID系统还包括控制器,所述第一AP还包括:接收模块(图13中未示出)。接收模块,用于在所述第一AP确定所述第一AP是否为用于向所述终端提供服务的服务AP之前,接收所述控制器发送的服务指示,所述服务指示用于指示所述第一AP是否为服务AP;所述确定模块用于根据所述服务指示,确定所述第一AP是否为服务AP。当然, 第一AP也可以不根据该服务指示确定第一AP是否为服务AP,比如,工作人员可以在第一AP上配置第一AP是否为服务AP的信息,第一AP可以根据该信息确定第一AP是否为服务AP。接收模块用于执行的操作可以参考上述S101中与AP1相关的内容,或者参考S201中与AP2相关的内容。Optionally, the single BSSID system further includes a controller, and the first AP further includes: a receiving module (not shown in FIG. 13 ). a receiving module, configured to receive a service indication sent by the controller before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the service indication is used to indicate the Whether the first AP is a serving AP; the determining module is configured to determine whether the first AP is a serving AP according to the service indication. Of course, the first AP may not determine whether the first AP is the serving AP according to the service indication. Whether the first AP is a serving AP. For the operations performed by the receiving module, refer to the content related to AP1 in S101 above, or refer to the content related to AP2 in S201.
可选地,所述单BSSID系统还包括控制器,所述第一AP还包括:发送模块(图13中未示出),用于在所述第一AP是服务AP时,向所述控制器发送节能指示(类似上述服务AP向控制器发送上述第二节能指示);所述节能指示用于指示所述第一AP是否要求所述终端进入节能模式。发送模块用于执行的操作可以参考图7和图8所示实施例中服务AP向控制器发送节能指示相关的内容。Optionally, the single BSSID system further includes a controller, and the first AP further includes: a sending module (not shown in FIG. 13 ), configured to, when the first AP is a serving AP, send The controller sends an energy-saving indication (similar to the serving AP sending the second energy-saving indication to the controller); the energy-saving indication is used to indicate whether the first AP requires the terminal to enter an energy-saving mode. For operations performed by the sending module, reference may be made to content related to the serving AP sending the energy saving indication to the controller in the embodiments shown in FIG. 7 and FIG. 8 .
图14为本申请实施例提供的一种控制器的框图。如图14所示,所述控制器包括:接收模块1401和发送模块1402。Fig. 14 is a block diagram of a controller provided by an embodiment of the present application. As shown in FIG. 14 , the controller includes: a receiving module 1401 and a sending module 1402 .
接收模块1401,用于接收服务AP发送的节能指示,所述服务AP为所述多个AP中用于向所述终端提供服务的AP,所述节能指示用于指示所述服务AP是否要求所述终端进入节能模式;接收模块1401用于执行的操作可以参考图7和图8所示实施例中控制器接收服务AP发送节能指示相关的内容。The receiving module 1401 is configured to receive an energy-saving instruction sent by a serving AP, the serving AP is an AP among the plurality of APs used to provide services to the terminal, and the energy-saving instruction is used to indicate whether the serving AP requires the required The terminal enters the energy-saving mode; the operations performed by the receiving module 1401 can refer to the content related to the controller receiving the energy-saving indication sent by the serving AP in the embodiments shown in FIG. 7 and FIG. 8 .
发送模块1402,用于向所述多个AP中的至少部分AP发送所述节能指示,所述至少部分AP包括所述多个AP中除所述服务AP之外的AP。发送模块1402用于执行的操作可以参考上述S101、S102、S201和S202中与控制器相关的内容。The sending module 1402 is configured to send the energy saving indication to at least some APs in the multiple APs, and the at least some APs include APs in the multiple APs except the serving AP. For operations performed by the sending module 1402, reference may be made to content related to the controller in S101, S102, S201, and S202 above.
可选地,所述至少部分AP还包括所述服务AP。Optionally, the at least some APs further include the serving AP.
在采用集成的单元的情况下,本申请所提供的控制器和第一AP均可以称为终端控制装置,终端控制装置可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对终端控制装置的动作进行控制管理,例如,可以用于支持终端控制装置执行上述S101至S106中由控制器或任一AP执行的动作。存储模块可以用于支持终端控制装置执行存储程序代码和数据等。通信模块,可以用于终端控制装置与其他装置的通信。In the case of using an integrated unit, both the controller and the first AP provided in the present application may be called a terminal control device, and the terminal control device may include a processing module, a storage module, and a communication module. Wherein, the processing module may be used to control and manage the actions of the terminal control device, for example, may be used to support the terminal control device to perform the actions performed by the controller or any AP in S101 to S106 above. The storage module can be used to support the terminal control device to execute stored program codes and data. The communication module can be used for communication between the terminal control device and other devices.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他装置交互的设备。Wherein, the processing module may be a processor or a controller. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, and the like. The storage module may be a memory. The communication module can be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, and other devices that interact with other devices.
在一个实施例中,当处理模块为处理器,存储模块为存储器,通信模块为通信接口时,本实施例所涉及的终端控制装置可以包括:处理器;处理器用于与存储器耦合,并读取存储器中的指令之后,根据指令执行如本申请实施例描述的由终端控制装置执行的方法。在一种实现方式中,本终端控制装置中包括的上述各个模块等可以为存储器中存储的计算机程序,并由处理器调用以实现各个模块相应的执行功能。In one embodiment, when the processing module is a processor, the storage module is a memory, and the communication module is a communication interface, the terminal control device involved in this embodiment may include: a processor; the processor is used to couple with the memory and read After the instruction in the memory, the method executed by the terminal control device as described in the embodiment of the present application is executed according to the instruction. In an implementation manner, the above-mentioned modules and the like included in the terminal control device may be computer programs stored in a memory, and invoked by a processor to implement corresponding execution functions of each module.
在该终端控制装置中,处理器的个数可以为多个,与处理器耦合的存储器可以独立于处理器之外或独立于终端控制装置之外,也可以在处理器或终端控制装置之内。存储器可以是物理上独立的单元,也可以是云服务器上的存储空间或网络硬盘等。可选地,存储器可以为一个或多个。当存储器的个数为多个时,可以位于相同的或不同的位置,并且可以独立或配合使用。In the terminal control device, the number of processors can be multiple, and the memory coupled with the processor can be independent of the processor or the terminal control device, or can be inside the processor or the terminal control device . The storage can be a physically independent unit, or it can be a storage space on a cloud server or a network hard disk. Optionally, there may be one or more memories. When there are multiple memories, they can be located at the same or different locations, and can be used independently or in conjunction.
示例性地,当存储器位于终端控制装置内部时,请参考图15,该终端控制装置200包括:处理器202和存储器201,其中,存储器201用于存储程序,处理器202用于调用存储器201中存储的程序,以使得该终端控制装置执行相应的方法或功能。可选地,如图15所示,该终端控制装置200还可以包括至少一个通信接口203和至少一个通信总线204。存储器201、处理器202以及通信接口203通过通信总线204通信连接。其中,通信接口203用于在处理器202的控制下与其他装置通信,处理器202可以通过通信总线204调用存储器201中存储的程序。Exemplarily, when the memory is located inside the terminal control device, please refer to FIG. 15 , the terminal control device 200 includes: a processor 202 and a memory 201, wherein the memory 201 is used to store programs, and the processor 202 is used to call the program stored in the memory 201. stored program, so that the terminal control device executes a corresponding method or function. Optionally, as shown in FIG. 15 , the terminal control device 200 may further include at least one communication interface 203 and at least one communication bus 204 . The memory 201 , the processor 202 and the communication interface 203 are communicatively connected through a communication bus 204 . Wherein, the communication interface 203 is used for communicating with other devices under the control of the processor 202 , and the processor 202 can call the program stored in the memory 201 through the communication bus 204 .
本申请实施例提供了一种计算机存储介质,所述存储介质内存储有计算机程序;所述计算机程序在计算机上运行时,使得计算机执行本申请实施例提供的任一种终端控制方法中由第一AP或控制器执行的方法。An embodiment of the present application provides a computer storage medium, and a computer program is stored in the storage medium; when the computer program is run on a computer, the computer executes any one of the terminal control methods provided in the embodiments of the present application by the first A method performed by an AP or controller.
本申请实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本申请实施例提供的任一种终端控制方法中由第一AP或控制器执行的方法。The embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on the computer, it causes the computer to execute any one of the terminal control methods provided in the embodiment of the present application by the first AP or the controller. Methods.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现,所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机的可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者包含一个或多个可用介质集成的服务器、数据中心等数据存储装置。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质,或者半导体介质(例如固态硬盘)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer may be a general purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data The center transmits to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium, or a semiconductor medium (for example, a solid-state hard disk).
在本申请中,术语“第一”和“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“至少一个”指一个或多个,“多个”指两个或两个以上,除非另有明确的限定。In the present application, the terms "first" and "second" etc. are used for descriptive purposes only, and should not be construed as indicating or implying relative importance. The term "at least one" means one or more, and "plurality" means two or more, unless otherwise clearly defined.
本申请实施例提供的方法实施例、装置实施例和系统实施例等不同类型的实施例均可以相互参考,本申请实施例对此不做限定。本申请实施例提供的方法实施例操作的先后顺序能够进行适当调整,操作也能够根据情况进行相应增减,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。Different types of embodiments such as method embodiments, device embodiments, and system embodiments provided in the embodiments of the present application may refer to each other, which is not limited in the embodiments of the present application. The sequence of operations in the method embodiments provided in the embodiments of this application can be appropriately adjusted, and the operations can also be increased or decreased according to the situation. Any person familiar with the technical field can easily think of changes within the technical scope disclosed in this application. Methods should be covered within the scope of protection of the present application, so they will not be repeated here.
在本申请提供的相应实施例中,应该理解到,所揭露的系统和装置等可以通过其它的构成方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是 电性或其它的形式。In the corresponding embodiments provided in the present application, it should be understood that the disclosed systems and devices may be implemented in other configurations. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules can be combined or integrated into another A system, or some feature, can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元描述的部件可以是或者也可以不是物理单元,既可以位于一个地方,或者也可以分布到多个装置上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component described as a unit may or may not be a physical unit, and may be located in one place or distributed over multiple devices. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
以上所述,仅为本申请的可选实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only an optional implementation mode of the application, but the protection scope of the application is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the technical scope disclosed in the application. The modifications or replacements should be covered by the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.

Claims (25)

  1. 一种终端控制方法,其特征在于,所述方法用于单基本服务集标识符BSSID系统中的第一接入点AP,所述单BSSID系统包括:所述终端和多个AP,所述第一AP为所述多个AP中的任一AP;所述方法包括:A terminal control method, characterized in that the method is used for a first access point AP in a single basic service set identifier (BSSID) system, and the single BSSID system includes: the terminal and multiple APs, the first An AP is any AP in the plurality of APs; the method includes:
    所述第一AP确定所述第一AP是否为用于向所述终端提供服务的服务AP;The first AP determines whether the first AP is a serving AP for providing services to the terminal;
    在所述第一AP不是服务AP时,所述第一AP广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式。When the first AP is not a serving AP, the first AP broadcasts a first energy saving indication, where the first energy saving indication is used to instruct the terminal to prohibit entering into an energy saving mode.
  2. 根据权利要求1所述的方法,其特征在于,在所述第一AP不是服务AP时,在所述第一AP广播第一节能指示之前,所述方法还包括:The method according to claim 1, wherein when the first AP is not a serving AP, before the first AP broadcasts the first energy saving indication, the method further comprises:
    所述第一AP获取第二节能指示;所述第二节能指示是所述服务AP广播的节能指示,所述第二节能指示用于指示所述终端进入节能模式。The first AP obtains a second energy-saving indication; the second energy-saving indication is an energy-saving indication broadcast by the serving AP, and the second energy-saving indication is used to instruct the terminal to enter an energy-saving mode.
  3. 根据权利要求1所述的方法,其特征在于,在所述第一AP不是服务AP时,在所述第一AP广播第一节能指示之前,所述方法还包括:The method according to claim 1, wherein when the first AP is not a serving AP, before the first AP broadcasts the first energy saving indication, the method further comprises:
    所述第一AP获取第二节能指示;所述第二节能指示是所述服务AP广播的节能指示,所述第二节能指示用于指示所述终端禁止进入节能模式。The first AP acquires a second energy-saving indication; the second energy-saving indication is an energy-saving indication broadcast by the serving AP, and the second energy-saving indication is used to instruct the terminal to prohibit entering an energy-saving mode.
  4. 根据权利要求2或3所述的方法,其特征在于,所述单BSSID系统还包括控制器,所述第一AP获取第二节能指示,包括:The method according to claim 2 or 3, wherein the single-BSSID system further includes a controller, and the first AP obtains the second energy-saving instruction, including:
    所述第一AP接收所述控制器发送的所述第二节能指示。The first AP receives the second energy saving instruction sent by the controller.
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述第一AP广播第一节能指示,包括:The method according to any one of claims 1 to 4, wherein the first AP broadcasts a first energy saving indication, comprising:
    所述第一AP广播第一信标帧,所述第一信标帧包括所述第一节能指示。The first AP broadcasts a first beacon frame, where the first beacon frame includes the first energy saving indication.
  6. 根据权利要求5所述的方法,其特征在于,所述第一节能指示通过所述第一信标帧中的局部虚拟位图PVB字段承载。The method according to claim 5, wherein the first energy saving indication is carried by a partial virtual bitmap PVB field in the first beacon frame.
  7. 根据权利要求1至6任一所述的方法,其特征在于,所述单BSSID系统还包括控制器,在所述第一AP确定所述第一AP是否为用于向所述终端提供服务的服务AP之前,所述方法还包括:The method according to any one of claims 1 to 6, wherein the single BSSID system further comprises a controller, which determines whether the first AP is used to provide services to the terminal at the first AP. Before serving the AP, the method also includes:
    所述第一AP接收所述控制器发送的服务指示,所述服务指示用于指示所述第一AP是否为服务AP;The first AP receives a service indication sent by the controller, where the service indication is used to indicate whether the first AP is a serving AP;
    所述第一AP确定所述第一AP是否为用于向所述终端提供服务的服务AP,包括:The determining by the first AP whether the first AP is a serving AP for providing services to the terminal includes:
    所述第一AP根据所述服务指示,确定所述第一AP是否为服务AP。The first AP determines whether the first AP is a serving AP according to the service indication.
  8. 根据权利要求1至7任一所述的方法,其特征在于,所述单BSSID系统还包括控制器,所述方法还包括:The method according to any one of claims 1 to 7, wherein the single BSSID system further comprises a controller, and the method further comprises:
    在所述第一AP是服务AP时,所述第一AP向所述控制器发送节能指示;所述节能指示用于指示所述第一AP是否要求所述终端进入节能模式。When the first AP is a serving AP, the first AP sends an energy saving indication to the controller; the energy saving indication is used to indicate whether the first AP requires the terminal to enter an energy saving mode.
  9. 一种终端控制方法,其特征在于,所述方法用于基本服务集标识符单BSSID系统中的控制器,所述单BSSID系统还包括:所述终端和多个接入点AP;所述方法包括:A terminal control method, characterized in that the method is used for a controller in a basic service set identifier single BSSID system, and the single BSSID system also includes: the terminal and multiple access points AP; the method include:
    所述控制器接收服务AP发送的节能指示,所述服务AP为所述多个AP中用于向所述终端提供服务的AP,所述节能指示用于指示所述服务AP是否要求所述终端进入节能模式;The controller receives an energy-saving indication sent by a serving AP, where the serving AP is an AP among the plurality of APs used to provide services to the terminal, and the energy-saving indication is used to indicate whether the serving AP requires the terminal to Enter energy saving mode;
    所述控制器向所述多个AP中的至少部分AP发送所述节能指示,所述至少部分AP包括所述多个AP中除所述服务AP之外的AP。The controller sends the energy saving indication to at least some APs in the multiple APs, and the at least some APs include APs in the multiple APs except the serving AP.
  10. 根据权利要求9所述的方法,其特征在于,所述至少部分AP还包括所述服务AP。The method according to claim 9, wherein the at least some APs further include the serving AP.
  11. 一种终端控制系统,其特征在于,所述系统包括:终端和多个接入点AP;所述系统包括:A terminal control system, characterized in that the system includes: a terminal and multiple access points AP; the system includes:
    第一AP,用于确定所述第一AP是否为用于向所述终端提供服务的服务AP,所述第一AP为所述多个AP中的任一AP;a first AP, configured to determine whether the first AP is a serving AP for providing services to the terminal, where the first AP is any one of the plurality of APs;
    所述第一AP还用于在所述第一AP不是服务AP时,广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式;The first AP is further configured to broadcast a first energy-saving indication when the first AP is not a serving AP, and the first energy-saving indication is used to instruct the terminal to prohibit entering an energy-saving mode;
    所述终端用于根据接收到的节能指示,进入节能模式,或不进入节能模式。The terminal is configured to enter the energy saving mode or not enter the energy saving mode according to the received energy saving instruction.
  12. 根据权利要求11所述的终端控制系统,其特征在于,The terminal control system according to claim 11, wherein:
    所述多个AP中的服务AP用于广播第二节能指示,所述第二节能指示用于指示所述终端进入节能模式;The serving AP among the plurality of APs is used to broadcast a second energy-saving indication, and the second energy-saving indication is used to instruct the terminal to enter an energy-saving mode;
    所述第一AP还用于在所述第一AP不是服务AP时,在广播第一节能指示之前,获取所述第二节能指示。The first AP is further configured to acquire the second energy saving indication before broadcasting the first energy saving indication when the first AP is not a serving AP.
  13. 根据权利要求11所述的终端控制系统,其特征在于,The terminal control system according to claim 11, wherein:
    所述多个AP中的服务AP用于广播第二节能指示,所述第二节能指示用于指示所述终端禁止进入节能模式;The serving AP among the plurality of APs is used to broadcast a second energy-saving indication, and the second energy-saving indication is used to instruct the terminal to prohibit entering the energy-saving mode;
    所述第一AP还用于在所述第一AP不是服务AP时,在广播第一节能指示之前,获取所述第二节能指示。The first AP is further configured to acquire the second energy saving indication before broadcasting the first energy saving indication when the first AP is not a serving AP.
  14. 根据权利要求12或13所述的终端控制系统,其特征在于,所述终端控制系统还包括控制器;The terminal control system according to claim 12 or 13, wherein the terminal control system further comprises a controller;
    所述多个AP中的服务AP还用于向所述控制器发送所述第二节能指示;The serving AP among the plurality of APs is further configured to send the second energy saving instruction to the controller;
    所述第一AP还用于接收所述控制器发送的所述第二节能指示。The first AP is further configured to receive the second energy saving instruction sent by the controller.
  15. 根据权利要求11至14任一所述的终端控制系统,其特征在于,所述终端控制系统还包括控制器;The terminal control system according to any one of claims 11 to 14, wherein the terminal control system further comprises a controller;
    所述第一AP还用于在所述第一AP是服务AP时,向所述控制器发送节能指示;所述节能指示用于指示所述第一AP是否要求所述终端进入节能模式;The first AP is further configured to send an energy saving indication to the controller when the first AP is a serving AP; the energy saving indication is used to indicate whether the first AP requires the terminal to enter an energy saving mode;
    所述控制器用于向所述多个AP中的至少部分AP发送所述节能指示,所述至少部分AP包括所述多个AP中除所述第一AP之外的AP。The controller is configured to send the energy saving indication to at least some APs in the multiple APs, and the at least some APs include APs in the multiple APs except the first AP.
  16. 一种第一接入点AP,其特征在于,所述第一AP属于基本服务集标识符单BSSID系统,所述单BSSID系统包括:所述终端和多个AP,所述第一AP为所述多个AP中的任一AP;所述第一AP包括:A first access point AP, characterized in that the first AP belongs to a basic service set identifier single BSSID system, the single BSSID system includes: the terminal and multiple APs, the first AP is the Any one of the multiple APs; the first AP includes:
    确定模块,用于确定所述第一AP是否为用于向所述终端提供服务的服务AP;a determining module, configured to determine whether the first AP is a serving AP for providing services to the terminal;
    广播模块,用于在所述第一AP不是服务AP时,广播第一节能指示,所述第一节能指示用于指示所述终端禁止进入节能模式。A broadcast module, configured to broadcast a first energy-saving indication when the first AP is not a serving AP, and the first energy-saving indication is used to instruct the terminal to prohibit entering into an energy-saving mode.
  17. 根据权利要求16所述的第一AP,其特征在于,所述第一AP还包括:The first AP according to claim 16, further comprising:
    获取模块,用于在所述第一AP不是服务AP时,在所述第一AP广播第一节能指示之前,获取第二节能指示;所述第二节能指示是所述服务AP广播的节能指示,所述第二节能指示 用于指示所述终端进入节能模式。An acquisition module, configured to acquire a second energy-saving indication before the first AP broadcasts a first energy-saving indication when the first AP is not a serving AP; the second energy-saving indication is an energy-saving indication broadcast by the serving AP , the second energy saving indication is used to instruct the terminal to enter an energy saving mode.
  18. 根据权利要求16所述的第一AP,其特征在于,所述第一AP还包括:The first AP according to claim 16, further comprising:
    获取模块,用于在所述第一AP不是服务AP时,在所述第一AP广播第一节能指示之前,获取第二节能指示;所述第二节能指示是所述服务AP广播的节能指示,所述第二节能指示用于指示所述终端禁止进入节能模式。An acquisition module, configured to acquire a second energy-saving indication before the first AP broadcasts a first energy-saving indication when the first AP is not a serving AP; the second energy-saving indication is an energy-saving indication broadcast by the serving AP , the second energy saving indication is used to instruct the terminal to prohibit entering the energy saving mode.
  19. 根据权利要求17或18所述的第一AP,其特征在于,所述单BSSID系统还包括控制器,所述获取模块用于:接收所述控制器发送的所述第二节能指示。The first AP according to claim 17 or 18, wherein the single-BSSID system further includes a controller, and the obtaining module is configured to: receive the second energy-saving instruction sent by the controller.
  20. 根据权利要求16至19任一所述的第一AP,其特征在于,所述广播模块用于:The first AP according to any one of claims 16 to 19, wherein the broadcast module is used for:
    广播第一信标帧,所述第一信标帧包括所述第一节能指示。broadcasting a first beacon frame, the first beacon frame including the first power saving indication.
  21. 根据权利要求20所述的第一AP,其特征在于,所述第一节能指示通过所述第一信标帧中的局部虚拟位图PVB字段承载。The first AP according to claim 20, wherein the first energy saving indication is carried by a partial virtual bitmap PVB field in the first beacon frame.
  22. 根据权利要求16至21任一所述的第一AP,其特征在于,所述单BSSID系统还包括控制器,所述第一AP还包括:The first AP according to any one of claims 16 to 21, wherein the single BSSID system further includes a controller, and the first AP further includes:
    接收模块,用于在所述第一AP确定所述第一AP是否为用于向所述终端提供服务的服务AP之前,接收所述控制器发送的服务指示,所述服务指示用于指示所述第一AP是否为服务AP;a receiving module, configured to receive a service indication sent by the controller before the first AP determines whether the first AP is a serving AP for providing services to the terminal, the service indication is used to indicate the Whether the first AP is a serving AP;
    所述确定模块用于根据所述服务指示,确定所述第一AP是否为服务AP。The determining module is configured to determine whether the first AP is a serving AP according to the service indication.
  23. 根据权利要求16至22任一所述的第一AP,其特征在于,所述单BSSID系统还包括控制器,所述第一AP还包括:The first AP according to any one of claims 16 to 22, wherein the single BSSID system further includes a controller, and the first AP further includes:
    发送模块,用于在所述第一AP是服务AP时,向所述控制器发送节能指示;所述节能指示用于指示所述第一AP是否要求所述终端进入节能模式。A sending module, configured to send an energy-saving indication to the controller when the first AP is a serving AP; the energy-saving indication is used to indicate whether the first AP requires the terminal to enter an energy-saving mode.
  24. 一种控制器,其特征在于,所述控制器属于基本服务集标识符单BSSID系统,所述单BSSID系统还包括:所述终端和多个接入点AP;所述控制器包括:A controller, characterized in that the controller belongs to a basic service set identifier single BSSID system, and the single BSSID system further includes: the terminal and multiple access points AP; the controller includes:
    接收模块,用于接收服务AP发送的节能指示,所述服务AP为所述多个AP中用于向所述终端提供服务的AP,所述节能指示用于指示所述服务AP是否要求所述终端进入节能模式;A receiving module, configured to receive an energy saving indication sent by a serving AP, where the serving AP is an AP providing services to the terminal among the plurality of APs, and the energy saving indication is used to indicate whether the serving AP requires the The terminal enters the energy-saving mode;
    发送模块,用于向所述多个AP中的至少部分AP发送所述节能指示,所述至少部分AP包括所述多个AP中除所述服务AP之外的AP。A sending module, configured to send the energy saving indication to at least some APs in the multiple APs, the at least some APs include APs in the multiple APs except the serving AP.
  25. 根据权利要求24所述的控制器,其特征在于,所述至少部分AP还包括所述服务AP。The controller according to claim 24, wherein the at least some APs further include the serving AP.
PCT/CN2022/119089 2021-09-29 2022-09-15 Terminal control method, apparatus and system WO2023051268A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111152353.XA CN115884098A (en) 2021-09-29 2021-09-29 Terminal control method, device and system
CN202111152353.X 2021-09-29

Publications (1)

Publication Number Publication Date
WO2023051268A1 true WO2023051268A1 (en) 2023-04-06

Family

ID=85756222

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/119089 WO2023051268A1 (en) 2021-09-29 2022-09-15 Terminal control method, apparatus and system

Country Status (2)

Country Link
CN (1) CN115884098A (en)
WO (1) WO2023051268A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333307A (en) * 2016-04-29 2017-11-07 华为技术有限公司 Switch the method and apparatus of access point in a kind of WLAN
WO2018111305A1 (en) * 2016-12-16 2018-06-21 Nokia Technologies Oy Improved power-save mode for wireless device
CN113133092A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Energy-saving control method and related equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333307A (en) * 2016-04-29 2017-11-07 华为技术有限公司 Switch the method and apparatus of access point in a kind of WLAN
WO2018111305A1 (en) * 2016-12-16 2018-06-21 Nokia Technologies Oy Improved power-save mode for wireless device
CN113133092A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Energy-saving control method and related equipment

Also Published As

Publication number Publication date
CN115884098A (en) 2023-03-31

Similar Documents

Publication Publication Date Title
RU2397620C2 (en) Flexible intervals of listening for multiaddress and/or broadcasting services
EP1597868B1 (en) Wireless local access network system detection and selection
WO2019061309A1 (en) Method for processing radio frequency resources, and terminal
US7599718B2 (en) Hybrid mobile communication terminal and method of acquiring system for data service in hybrid mobile communication terminal
US20080144591A1 (en) Apparatus, methods, and computer program products providing FBMS with multiple BSSID support
US20080031173A1 (en) Method and apparatus for transmitting traffic indication message in sleep mode
US11737018B2 (en) Multi-link hibernation mode for WLAN
US8355322B2 (en) Data communication systems, radio base stations, and data communication methods
WO2011087298A2 (en) Measurement apparatus and method for the communication of an idle mode device having low mobility in a mobile communication system
WO2013015662A2 (en) Base station and terminal connection method for the base station
TW201906356A (en) Method, apparatus, and system for configuring measurement gap, network access equipment, and terminal
WO2012108647A2 (en) Method for receiving multicast data in wireless communication system and m2m device therefor
KR20100135679A (en) Method for supporting idle mode in wireless local area network system
US8565672B2 (en) Communication
EP2147524A1 (en) Power save protocol interoperability detection
WO2018014783A1 (en) Method and device for data transmission
EP2941910A1 (en) Apparatus and method for supporting mobility of mobile station in wireless communication system
WO2017167141A1 (en) Method and device for sending wireless local area network beacon
WO2023051268A1 (en) Terminal control method, apparatus and system
KR20170021876A (en) Offloading of a wireless node authentication with core network
US10524160B2 (en) Balancing load across radio frequency channels
WO2022206945A1 (en) Communication method, apparatus and system
WO2011065790A2 (en) Method and apparatus for supporting idle mode handover in heterogeneous wireless communication system
US20230292241A1 (en) Method for data obtaining and communication device
EP4142367A1 (en) Communication method and apparatus, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22874655

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE