Cell switching method and device
Cell switching decisions and authentication information management are carried out through network equipment, which solves the problems of long cell switching delay and ping-pong switching in the WIFI system, and realizes fast and continuous terminal device switching.
Patent Information
- Application Number
- CN202080095901.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-19
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-03-19
AI Technical Summary
In the existing WIFI system, the cell switching delay is long and ping-pong switching is easy to occur, which affects the communication continuity of the terminal equipment.
The network device makes a cell handover decision, generates and sends authentication information, reduces the air interface signaling interaction between the terminal device and the target network device, shortens the handover delay, and ensures that downlink data is not lost through data forwarding.
Ping-pong handover is effectively avoided, cell handover time is shortened, and fast handover and communication continuity of terminal equipment are ensured.
Smart Images

Figure CN115088304B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to communication technology, and more particularly, to a cell switching method and device. Background Art
[0002] With the rapid development of communication technology, wireless local area network (WLAN) has been widely used, such as wireless fidelity (WIFI) technology that can be seen everywhere. WIFI belongs to short-range wireless communication technology, and the coverage of access points in WIFI systems is small. Therefore, terminals (STAs) in WIFI systems often roam.
[0003] Roaming means that a STA in a WLAN switches from one AP to another, and the STA can still communicate normally after roaming. In the existing technology, the STA usually switches based on decisions. For example, the STA measures the signal quality of the current service AP. When the STA detects that the signal quality of the current service AP is weakened (the specific triggering conditions can be determined by the STA itself), the STA will send a neighbor list request to the current service AP. The current service AP feeds back the neighbor list. The STA selects an AP as the target AP for switching from the neighbor list fed back by the current service AP.
[0004] On the one hand, the STA making the switching decision is prone to produce a ping-pong switching effect; on the other hand, the existing switching process leads to a large switching delay. Summary of the invention
[0005] The embodiments of the present application provide a cell switching method and device, which reduce the switching delay of STA and ensure that STA quickly switches from a source cell to a target cell.
[0006] The first aspect of the present application provides a cell switching method, including: a first network device determines to switch an accessed terminal device to a second network device, and the coverage area of the second network device is a neighboring area of the coverage area of the first network device. The first network device sends capability information and first authentication information of the terminal device to the second network device, the first authentication information is used by the second network device to perform link authentication on the terminal device, the first network device receives access permission information from the second network device, and when the access permission information is used to indicate that the terminal device is allowed to access the second network device, the first network device sends a second switching command to the terminal device, the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes the second authentication information. The first network device receives a second switching command response from the terminal device, the second switching command response is used to indicate that the terminal device is ready for switching, and the first network device sends a state transition command to the second network device, the state transition command is used to indicate that the terminal device is ready for switching.
[0007] In the method, the first network device makes a cell switching decision, thereby avoiding ping-pong switching, and the first network device generates authentication information for link authentication, and sends the authentication information to the second network device and the terminal device, thereby saving the air interface signaling of the terminal device sending the authentication information to the second network device, thereby also shortening the air interface delay during switching.
[0008] In an exemplary manner, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device.
[0009] In an exemplary manner, the second authentication information includes the authentication random number, wherein the random number included in the first authentication information and the random number included in the second authentication information are the same.
[0010] In an exemplary manner, the first network device sends the capability information and first authentication information of the terminal device to the second network device, including: the first network device sends a first switching command to the second network device, and the first switching command includes the capability information and first authentication information of the terminal device. The first network device receives access permission information from the second network device, including: the first network device receives a first switching command response from the second network device, and the first switching command response includes the access permission information.
[0011] In an exemplary manner, after the terminal device accesses the second network device, the method further includes:
[0012] The first network device receives a path switching command from the second network device, where the path switching command is used to instruct the terminal device to update routing information;
[0013] The first network device sends a path switching command response to the second network device, where the path switching command response is used to indicate success or failure of updating the routing information.
[0014] In an exemplary manner, after the first network device sends the second switching command to the terminal device, it also includes: the first network device and the second network device forward data of the terminal device.
[0015] Through data forwarding, the first network device sends the downlink data that is not sent to the terminal device to the second network device. After the terminal device switches to the second network device, the second network device can send the downlink data to the terminal device, thereby ensuring that the downlink data of the STA will not be lost during the switching process.
[0016] In an exemplary manner, before the first network device determines to switch the connected terminal device to the second network device, the method further includes:
[0017] The first network device receives a neighboring area measurement result of the first network device from the terminal device;
[0018] The first network device determines to switch the connected terminal device to the second network device, including:
[0019] The first network device determines to switch the terminal device to the second network device according to the neighboring area measurement result.
[0020] The second aspect of the present application provides a cell switching method, including: a second network device receives capability information and first authentication information of a terminal device from a first network device, the terminal device has accessed the first network device, the first authentication information is used by the second network device to perform link authentication on the terminal device, the second network device sends access permission information to the first network device, the access permission information is used to indicate that the terminal device is allowed to access the second network device. The second network device receives a state transition command from the first network device, the state transition command is used to indicate that the terminal device is ready for switching, the second network device sends a first message to the terminal device, the first message is used to indicate that the link authentication between the second network device and the terminal device is successful, and the second network device associates with the terminal device.
[0021] Among them, the first message is the first message unicasted by the second network device to the terminal device. Compared with the switching method of the prior art, it saves the air interface signaling of the terminal device sending authentication information to the second network device, thereby reducing the cell switching delay.
[0022] In an exemplary manner, the second network device associates with the terminal device, including: the second network device receives a re-association request from the terminal device, and the second network device sends a re-association response to the terminal device.
[0023] In an exemplary manner, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device.
[0024] In an exemplary manner, the second network device receives the capability information and the first authentication information of the terminal device from the first network device, including: the second network device receives a handover request from the first network device, and the handover request includes the capability information and the first authentication information of the terminal device. The second network device sends access permission information to the first network device, including: the second network device sends a handover request response to the first network device, and the handover request response includes the access permission information.
[0025] In an exemplary manner, the first message is an authentication response or a quick switch action response.
[0026] In an exemplary manner, after the second network device is associated with the terminal device, the method further includes:
[0027] The second network device sends a path switching command to the first network device, where the path switching command is used to instruct the terminal device to update routing information;
[0028] The second network device receives a path switching command response from the first network device, where the path switching command response is used to indicate success or failure of updating the routing information.
[0029] In an exemplary manner, after the second network device sends access permission information to the first network device, it also includes: the second network device and the first network device forward data of the terminal device.
[0030] A third aspect of the present application provides a cell switching method, including: a terminal device receives a second switching command from a first network device, the second switching command is used to instruct the terminal device to switch to a second network device, the second switching command includes second authentication information, the terminal device sends a second switching command response to the first network device, the second switching command response is used to indicate that the terminal device is ready for switching, the terminal device receives a first message sent by the second network device, the first message is used to indicate that the link authentication between the second network device and the terminal device is successful, and in response to the first message, the terminal device associates with the second network device.
[0031] In the method, the first network device makes a cell switching decision, thereby avoiding ping-pong switching, and the first network device generates authentication information for link authentication, and sends the authentication information to the second network device and the terminal device, thereby saving the air interface signaling of the terminal device sending the authentication information to the second network device, thereby also shortening the air interface delay during switching.
[0032] In an exemplary manner, the terminal device is associated with the second network device, including:
[0033] The terminal device sends an association request to the second network device;
[0034] The terminal device receives an association response from the second network device.
[0035] In an exemplary manner, the first message is an authentication response or a quick switch action response.
[0036] In an exemplary manner, before the terminal device receives the second switching command from the first network device, the method further includes:
[0037] The terminal device performs neighboring cell measurement according to the neighboring cell measurement configuration;
[0038] The terminal device sends the neighboring area measurement result to the first network device.
[0039] In an exemplary manner, the method further includes:
[0040] The terminal device receives the neighboring cell measurement configuration from the first network device, where the neighboring cell measurement configuration is used to configure a neighboring cell and measurement resources of the neighboring cell of the first network device.
[0041] In an exemplary manner, the terminal device sends a neighboring area measurement result to the first network device, including:
[0042] The terminal device sends a wireless measurement action frame to the first network device, the wireless measurement action frame includes the neighboring cell measurement reporting field, and the neighboring cell measurement result is carried in the neighboring cell measurement reporting field.
[0043] In an exemplary manner, the terminal device receives the neighboring area measurement configuration from the first network device, including:
[0044] The terminal device receives an association response or a re-association response from the first network device, where the association response or the re-association response includes the neighboring cell measurement configuration.
[0045] In an exemplary manner, the association response or the re-association response includes a vendor-specific field, and the neighboring cell measurement configuration is carried in the vendor-specific field.
[0046] In an exemplary manner, the method further includes:
[0047] The terminal device receives neighboring area measurement update information from the first network device, where the neighboring area measurement update information is used to update the neighboring area of the first network device.
[0048] In an exemplary manner, the terminal device receives neighboring area measurement update information from the first network device, including:
[0049] The terminal device receives a wireless measurement request frame from the first network device, the wireless measurement request frame includes a neighboring cell measurement update field, and the neighboring cell measurement update information is carried in the neighboring cell measurement update field.
[0050] In an exemplary manner, the wireless measurement request frame also includes a neighboring area measurement stop field, and the neighboring area measurement stop field carries neighboring area measurement stop information, and the neighboring area measurement stop information is used to indicate to stop measuring the neighboring area.
[0051] A fourth aspect of the present application provides a first network device, including:
[0052] A determination module, used to determine to switch the terminal device from the first network device to the second network device;
[0053] A sending module, used for sending the capability information and first authentication information of the terminal device to the second network device, where the first authentication information is used for the second network device to perform link authentication on the terminal device;
[0054] A receiving module, configured to receive access permission information from the second network device, wherein the access permission information is used to indicate that the terminal device is allowed to access the second network device;
[0055] The sending module is further used to send a second switching command to the terminal device, where the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes second authentication information;
[0056] The receiving module is further used to receive a second switching command response from the terminal device, where the second switching command response is used to indicate that the terminal device is ready for switching;
[0057] The sending module is further used to send a state transition command to the second network device, where the state transition command is used to indicate that the terminal device is ready for switching.
[0058] In an exemplary manner, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device.
[0059] In an exemplary manner, the second authentication information includes the authentication random number.
[0060] In an exemplary manner, the sending module sends the capability information of the terminal device and the first authentication information to the second network device, including:
[0061] Sending a first switching command to the second network device, where the first switching command includes capability information of the terminal device and first authentication information;
[0062] The receiving module receives access permission information from the second network device, including:
[0063] A first handover command response is received from the second network device, wherein the first handover command response includes the access permission information.
[0064] In an exemplary manner, the receiving module is further used to receive a path switching command from the second network device after the terminal device accesses the second network device, wherein the path switching command is used to instruct the terminal device to update routing information;
[0065] The sending module is further used to send a path switching command response to the second network device, where the path switching command response is used to indicate whether the routing information is updated successfully or failed.
[0066] In an exemplary manner, the method further includes:
[0067] A data forwarding module is used to forward data of the terminal device with the second network device.
[0068] In an exemplary manner, the receiving module is further used to: receive a neighboring area measurement result of the first network device from the terminal device;
[0069] The determination module is specifically used to determine, according to the neighboring area measurement result, to switch the terminal device to the second network device.
[0070] A fifth aspect of the present application provides a second network device, including:
[0071] A receiving module, configured to receive capability information and first authentication information of a terminal device from a first network device, the terminal device having been connected to the first network device, and the first authentication information being used by the second network device to perform link authentication on the terminal device;
[0072] A sending module, used to send access permission information to the first network device, where the access permission information is used to indicate that the terminal device is allowed to access the second network device;
[0073] The receiving module is further used to receive a state conversion command from the first network device, wherein the state conversion command is used to indicate that the terminal device is ready for switching;
[0074] The sending module is further used to send a first message to the terminal device, where the first message is used to indicate that the link authentication between the second network device and the terminal device is successful;
[0075] An association module is used to associate the second network device with the terminal device.
[0076] In an exemplary manner, the association module is specifically used to:
[0077] receiving a reassociation request from the terminal device;
[0078] A reassociation response is sent to the terminal device.
[0079] In an exemplary manner, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device.
[0080] In an exemplary manner, the receiving module receives capability information and first authentication information of the terminal device from the first network device, including:
[0081] receiving a switching request from the first network device, the switching request including capability information of the terminal device and the first authentication information;
[0082] The sending module sends access permission information to the first network device, including:
[0083] A handover request response is sent to the first network device, wherein the handover request response includes the access permission information.
[0084] In an exemplary manner, the first message is an authentication response or a quick switch action response.
[0085] In an exemplary manner, the sending module is further used to send a path switching command to the first network device after the second network device is associated with the terminal device, wherein the path switching command is used to instruct the terminal device to update routing information;
[0086] The receiving module is further used to receive a path switching command response from the first network device, where the path switching command response is used to indicate whether the routing information is updated successfully or failed.
[0087] In an exemplary manner, the method further includes:
[0088] A data forwarding module is used to forward data of the terminal device with the first network device.
[0089] A sixth aspect of the present application provides a terminal device, including:
[0090] A receiving module, configured to receive a second switching command from the first network device, wherein the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes second authentication information;
[0091] A sending module, used for sending a second switching command response to the first network device, where the second switching command response is used to indicate that the terminal device is ready for switching;
[0092] The receiving module is further used to receive a first message sent by the second network device, where the first message is used to indicate that the link authentication between the second network device and the terminal device is successful;
[0093] An association module is used to associate the terminal device with the second network device in response to the first message.
[0094] In an exemplary manner, the association module is specifically used to:
[0095] Sending an association request to the second network device;
[0096] An association response is received from the second network device.
[0097] In an exemplary manner, the first message is an authentication response or a quick switch action response.
[0098] In an exemplary manner, the method further includes:
[0099] A measurement module, used for performing neighboring cell measurement according to a neighboring cell measurement configuration;
[0100] The sending module is further used to send the neighboring area measurement result to the first network device.
[0101] In an exemplary manner, the receiving module is further used for:
[0102] The neighboring cell measurement configuration is received from the first network device, where the neighboring cell measurement configuration is used to configure a neighboring cell and measurement resources of the neighboring cell of the first network device.
[0103] In an exemplary manner, the sending module sends the neighboring area measurement result to the first network device, including:
[0104] A wireless measurement action frame is sent to the first network device, where the wireless measurement action frame includes the neighboring cell measurement reporting field, and the neighboring cell measurement result is carried in the neighboring cell measurement reporting field.
[0105] In an exemplary manner, the receiving module receives the neighboring area measurement configuration from the first network device, including:
[0106] An association response or a re-association response is received from the first network device, where the association response or the re-association response includes the neighboring cell measurement configuration.
[0107] In an exemplary manner, the association response or the re-association response includes a vendor-specific field, and the neighboring cell measurement configuration is carried in the vendor-specific field.
[0108] In an exemplary manner, the receiving module is further used for:
[0109] The terminal device receives neighboring area measurement update information from the first network device, where the neighboring area measurement update information is used to update the neighboring area of the first network device.
[0110] In an exemplary manner, the receiving module receives neighboring area measurement update information from the first network device, including:
[0111] A wireless measurement request frame is received from the first network device, where the wireless measurement request frame includes a neighboring cell measurement update field, and the neighboring cell measurement update information is carried in the neighboring cell measurement update field.
[0112] In an exemplary manner, the wireless measurement request frame also includes a neighboring area measurement stop field, and the neighboring area measurement stop field carries neighboring area measurement stop information, and the neighboring area measurement stop information is used to indicate to stop measuring the neighboring area.
[0113] The seventh aspect of the present application provides a network device, including a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the network device executes the method described in the first aspect of the present application and in various illustrative ways.
[0114] An eighth aspect of the present application provides a network device, including a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the network device executes the method described in the second aspect of the present application and in various illustrative ways.
[0115] The ninth aspect of the present application provides a terminal device, including a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the terminal device executes the method described in the third aspect of the present application and in various illustrative ways.
[0116] In a tenth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, the computer executes the method described in the first aspect and various exemplary methods of the present application.
[0117] In an eleventh aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, the computer executes the method described in the second aspect and various exemplary methods of the present application.
[0118] A twelfth aspect of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, the computer executes the method described in the third aspect and various exemplary methods of the present application.
[0119] A thirteenth aspect of the present application provides a computer program product, which includes instructions. When the instructions are executed, the computer executes the method described in the first aspect and various exemplary methods.
[0120] A fourteenth aspect of the present application provides a computer program product, which includes instructions. When the instructions are executed, the computer executes the method described in the second aspect and various exemplary methods.
[0121] A fifteenth aspect of the present application provides a computer program product, which includes instructions. When the instructions are executed, the computer executes the method described in the third aspect and various exemplary methods.
[0122] The sixteenth aspect of the present application provides a system on chip or a system chip, which can be applied to a first network device. The system on chip or the system chip includes: at least one communication interface, at least one processor, and at least one memory. The communication interface, the memory, and the processor are interconnected through a bus. The processor executes instructions stored in the memory, so that the first network device can execute the method described in the first aspect of the present application and the various exemplary methods.
[0123] The seventeenth aspect of the present application provides a system on chip or a system chip, which can be applied to a second network device. The system on chip or the system chip includes: at least one communication interface, at least one processor, and at least one memory. The communication interface, the memory, and the processor are interconnected through a bus. The processor executes instructions stored in the memory, so that the second network device can execute the method described in the second aspect of the present application and the various exemplary methods.
[0124] The eighteenth aspect of the present application provides a system on chip or a system chip, which can be applied to a terminal device. The system on chip or the system chip includes: at least one communication interface, at least one processor, and at least one memory. The communication interface, the memory, and the processor are interconnected through a bus. The processor executes instructions stored in the memory, so that the terminal device can execute the method described in the third aspect of the present application and the various exemplary methods.
[0125] In the nineteenth aspect of the present application, a communication system is provided, including a first network device, a second network device and a terminal device, wherein the first network device is used to execute the method described in the first aspect of the present application and each exemplary method, the second network device is used to execute the method described in the second aspect of the present application and each exemplary method, and the terminal device is used to execute the method described in the third aspect of the present application and each exemplary method.
[0126] The cell switching method and device provided by the embodiment of the present application, the first network device determines to switch the accessed terminal device to the second network device, the second network device is a neighboring cell of the first network device, the first network device sends the capability information of the terminal device and the first authentication information to the second network device, the first authentication information is used by the second network device to perform link authentication on the terminal device, the first network device receives access permission information from the second network device, the access permission information is used to indicate that the terminal device is allowed to access the second network device, the first network device sends a second switching command to the terminal device, and receives a second switching command response from the terminal device, when the second switching command response indicates that the terminal device is ready for switching, the first network device sends a state transition command to the second network device, the second network device sends a first message to the terminal device according to the state transition command, the first message indicates that the link authentication between the second network device and the terminal device is successful, the terminal device is associated with the second network device, thereby completing the cell switching. In this method, the first network device makes a cell switching decision, thereby avoiding ping-pong switching, and the first network device, as an agent of the terminal device, can generate authentication information for link authentication and send the authentication information to the second network device and the terminal device, thereby saving the air interface signaling of the terminal device sending the authentication information to the second network device, and thereby shortening the air interface delay during switching. BRIEF DESCRIPTION OF THE DRAWINGS
[0127] Figure 1 A schematic diagram of a communication system applicable to an embodiment of the present application;
[0128] Figure 2 Schematic diagram of the process for STA to access AP;
[0129] Figure 3 A schematic diagram of a process of cell switching;
[0130] Figure 4 Another flowchart of cell switching is shown;
[0131] Figure 5 A flowchart of a cell switching method provided in Embodiment 1 of the present application;
[0132] Figure 6 A signaling flow chart of a cell switching method provided in Embodiment 2 of the present application;
[0133] Figure 7 A schematic diagram of supplier-specific content;
[0134] Figure 8 A schematic diagram of the neighboring cell measurement reporting fields;
[0135] Fig. 9 This is a schematic diagram of the Radio Measurement Request frame structure;
[0136] Fig.10 A signaling flow chart of a cell switching method provided in Embodiment 3 of the present application;
[0137] Fig.11 A schematic diagram of the structure of a first network device provided in Embodiment 4 of the present application;
[0138] Fig.12 A schematic diagram of the structure of a second network device provided in Embodiment 5 of the present application;
[0139] Fig.13 A schematic diagram of the structure of a terminal device provided in Embodiment 6 of the present application;
[0140] Fig.14 A schematic diagram of the structure of the first network device provided in Example 7 of the present application. DETAILED DESCRIPTION
[0141] In order to make the purpose, technical solution and effect of the present application clearer, the implementation mode of the present application will be described in detail below with reference to the accompanying drawings.
[0142] Figure 1 A schematic diagram of a communication system applicable to an embodiment of the present application is shown in FIG. Figure 1 As shown, the communication system 100 includes: a first network device 10, a second network device 20 and a third network device 30, and the elliptical area represents the coverage or service area of each network device. One or more terminal devices can be connected to each network device, and the network device can communicate with the terminal devices located in the coverage area. It can be understood that the communication system 100 may include more network devices and the coverage of each network device may include other numbers of terminal devices, which is not limited in the embodiment of the present application.
[0143] Figure 1 In the example shown, the three network devices are distributed in different locations, the coverage of the first network device 10 and the coverage of the second network device 20 have an overlapping area, the coverage of the first network device 10 and the second network device 20 is also called a cell, the first network device 10 and the second network device 20 are neighboring cells (i.e., adjacent cells), the coverage of the second network device 20 and the coverage of the third network device 30 have an overlapping area, and the second network device 20 and the third network device 30 are neighboring cells.
[0144] Figure 1 This is just an example. In actual network deployment, a cell may have one neighboring cell or multiple neighboring cells.
[0145] The communication system 100 may be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) system, a general packet radio service (GPRS), a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a new radio (NR) system, an evolution system of an NR system, an LTE-based access to unlicensed spectrum (LTE-U) system, an NR-based access to unlicensed spectrum (NR-U) system, a universal mobile telecommunication system (UMTS), a worldwide interoperability for microwave access (WiMAX) communication system, a wireless local area network (WLAN) system, a wireless LAN (WLAN-A) system, a wireless LAN (WLAN-B) system, a wireless LAN (WLAN-C) system, a wireless LAN (WLAN-D) system, a wireless LAN (WLAN-A) system, a wireless LAN (WLAN-B) system, a wireless LAN (WLAN-C) system, a wireless LAN (WLAN-A) system, a wireless LAN (WLAN-B ...A) system, a wireless LAN (WLAN-B) system, a wireless LAN (WLAN-A) system, a wireless LAN (WLAN-B) system, a wireless LAN (WLAN-A) system, networks, WLAN), wireless fidelity (WiFi), next generation communication systems or other communication systems, etc. Optionally, the NR system may also be referred to as a 5G system or a 5G network.
[0146] Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communications, but will also support, for example, device to device (D2D) communication, machine to machine (M2M) communication, machine type communication (MTC), and vehicle to vehicle (V2V) communication, etc. The embodiments of the present application can also be applied to these communication systems.
[0147] Optionally, the network device 110 can be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a base station (NodeB, NB) in a WCDMA system, or an evolved base station (Evolutional Node B, eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the network device can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or a network device in a future evolved public land mobile network (Public Land Mobile Network, PLMN), etc.
[0148] When the communication system is an NR system, the network device 110 can be a (radio) access network ((R)AN) device in the NR system, and the (R)AN device in the NR system can be: a non-3GPP access network such as an access point (AP) of a WiFi network, a next-generation base station (collectively referred to as a new generation radio access network node (NG-RAN node), where the next-generation base station includes a new radio interface base station (NR nodeB, gNB), a new generation evolved base station (NG-eNB), a central unit (CU) and a distributed unit (DU) separated gNB, etc.), a new radio controller (NR controller), a radio frequency remote module, a micro base station, a relay, a transmission receive point (TRP), a transmission point (TP) or other nodes.
[0149] The embodiments of the present application do not limit the specific technology and specific device form used by the network device. For the convenience of description, in all embodiments of the present application, the above-mentioned device that provides wireless communication function for the terminal device is collectively referred to as a network device.
[0150] In the embodiment of the present application, the terminal device 120 may be any terminal, for example, the terminal device 120 may be a user equipment of machine type communication. The terminal device 120 may also be referred to as user equipment (UE), mobile station (MS), mobile terminal, terminal, etc.
[0151] The terminal device 120 can communicate with one or more core networks via the RAN, and therefore, the terminal device 120 can also be called a wireless terminal. The wireless terminal can be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection function, or other processing devices connected to a wireless modem.
[0152] For example, the terminal device 120 may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. This is not specifically limited in the embodiments of the present application.
[0153] For another example, the terminal device 120 includes, but is not limited to, a connection via a wired line, such as via a Public Switched Telephone Networks (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or via a wireless interface, such as for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or a device of another terminal device configured to receive / send communication signals; and / or an Internet of Things (IoT) device. A terminal device configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communications System (PCS) terminals that may combine a cellular radiotelephone with data processing, fax, and data communications capabilities; PDAs that may include a radiotelephone, pager, Internet / Intranet access, a Web browser, a notepad, a calendar, and / or a Global Positioning System (GPS) receiver; and conventional laptop and / or palmtop receivers or other electronic devices that include a radiotelephone transceiver.
[0154] Optionally, the network device 110 and the terminal device 120 can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be deployed on the water surface; can also be deployed on an airplane, balloon, or artificial satellite in the air. The embodiments of the present application do not limit the application scenarios of the network device 110 and the terminal device 120.
[0155] Optionally, the network device 110 and the terminal device 120 may communicate via a licensed spectrum, or via an unlicensed spectrum, or via both a licensed spectrum and an unlicensed spectrum.
[0156] Taking the WIFI system as an example, the network device 110 is an AP and the terminal device 120 is an STA. The APs in neighboring cells are controlled by the same access controller (AC) and have the same service set identifier (SSID). The STA can roam between neighboring cells, that is, switch from one AP to another.
[0157] The initial access of a STA to an AP requires the following processes: scanning, link authentication, and association. Figure 2 The schematic diagram of the process for STA to access AP is as follows: Figure 2 As shown in the figure, the scanning process is used by STA to discover wireless networks. STA can actively scan through Probe Request messages or passively scan through beacon frames. The link authentication process is used to authenticate the wireless link between STA and AP. Only after passing the link authentication can STA be qualified to establish a wireless link with AP. After STA is qualified to establish a wireless link with AP, it negotiates the service parameters of the wireless link with AP through the association process to complete the establishment of the wireless link. After the association is completed, it indicates that the wireless link has been established between STA and AP. If access authentication is not configured, STA can access the wireless network normally after obtaining the IP address. If access authentication is configured, STA also needs to complete access authentication, key negotiation and other stages before accessing the wireless network.
[0158] After the STA accesses the AP, the AP can provide services for the STA normally, so the AP is also called the service AP or service cell of the STA, and the STA can be called the access ATA of the AP or the associated STA.
[0159] In the existing solution, when the STA needs to switch cells, the STA measures the signal quality of the current service AP. When it detects that the channel quality of the service AP becomes weak (the specific triggering conditions can be decided by the STA itself), the STA sends a neighbor list request to the service AP. The service AP feeds back a neighbor list with the same SSID to the STA. The STA selects an AP from the neighbor list fed back by the AP as the target AP for cell switching.
[0160] In the 802.11r protocol, Fast Basic Service Set (BSS) Transition (FT) is supported between STA and AP. Depending on whether the APs belong to a distributed system, the switching process is divided into two types: Over the air and Over the DS.
[0161] Figure 3 A schematic diagram of a cell switching process is shown in FIG. 1 , where the cell switching is based on Over the air. Figure 3 As shown, the process of accessing the target cell includes:
[0162] S101. STA sends an authentication request (Authentication Request) to a target AP.
[0163] The Authentication Request includes FTAA, RSNE[PMKR0name], MDE, FTE[SNonce, R0KH-ID]. It is a fast BSS transition authentication algorithm based on BSS. MDE is a Mobility Domain element, which is used to indicate whether Over the air or Over the DS is used. FTE is a Fast BSS Transition element based on BSS. FTE includes integrity protection parameters, a random number (SNonce) generated by the STA, and authentication parameters. R0KH-ID represents the pairwise master key (PMK for short) R0 key holder identifier.
[0164] RSNE stands for Robust Security Network element. PMK consists of R0 and R1. PMKR0name stands for the name of PMKR0, which is used to calculate authentication and encryption keys.
[0165] S102. The target AP sends an authentication response (Authentication Response) to the STA.
[0166] Authentication Response includes: FTAA, MDE, RSNE[PMKR0name], FTE[Anonce,SNonce,R1KH-ID,R0KH-ID].
[0167] The target AP is R1KH, the AC that manages the AP is R0KH, R0KH-ID indicates the AC ID, and R1KH-ID indicates the target AP ID. It can be considered that the channel for transmitting the key between R0KH and R1KH is secure. Compared with the authentication request, the authentication response has Anonce and R1KH-ID in FTE. Anonce indicates the random number generated by AP, and R1KH-ID indicates the identifier of another holder of PMK.
[0168] The parameters included in the Authentication Request and Authentication Response are mainly used for authentication between the STA and the AP and encryption protection during subsequent data transmission.
[0169] S103. The STA sends a reassociation request (Reassociation Request) to the target AP.
[0170] The Reassociation Request includes: RSNE [PMKR1name], MDE, FTE [Anonce, SNonce, R1KH-ID, R0KH-ID].
[0171] PMKR1name indicates the name of PMKR1, which is used to calculate the authentication and encryption keys.
[0172] S104. The target STA sends a reassociation response (Reassociation Response) to the STA.
[0173] Reassociation Response includes FTAA, RSNE[PMKR0name], MDE, FTE[Anonce, SNonce, R1KH-ID, R0KH-ID, GTK].
[0174] GTK is the group temporal key.
[0175] S101 and S102 are used for link authentication between the AP and the STA, and S103 and S104 are used for association between the AP and the STA.
[0176] Figure 4 FIG. 4 is another flowchart of a cell switching process, wherein the cell switching is based on Over the DS, such as Figure 4 As shown, the process of accessing the target cell includes:
[0177] S201. STA sends a fast transition action request (FT Action Request) to a target AP.
[0178] The FT Action Request includes the STA identifier, the target AP identifier, RSNE[PMKR0name], MDE, and FTE[SNonce, R0KH-ID].
[0179] S202: The target AP sends a fast transition action response (FT Action Response) to the STA.
[0180] The FT Action Response includes: STA identifier, target AP identifier, RSNE[PMKR0name], MDE, and FTE[Anonce, SNonce, R1KH-ID, R0KH-ID].
[0181] S203. The STA sends a reassociation request (Reassociation Request) to the target AP.
[0182] The Reassociation Request includes: RSNE [PMKR1name], MDE, FTE [Anonce, SNonce, R1KH-ID, R0KH-ID].
[0183] S204: The target STA sends a reassociation response (Reassociation Response) to the STA.
[0184] Reassociation Response includes FTAA, RSNE[PMKR0name], MDE, FTE[Anonce, SNonce, R1KH-ID, R0KH-ID, GTK].
[0185] Figure 3 and Figure 4 In the access target cell process shown in FIG. 1 , the STA makes the handover decision. The two access processes are the same, the signaling names are different, the content of the signaling is slightly different, but the signaling functions are the same. The meaning of the parameters used for authentication in the signaling refers to Figure 3 The description of the illustrated embodiment will not be repeated here.
[0186] On the one hand, the STA makes cell switching decisions, which easily leads to the ping-pong effect. In mobile communication systems, the ping-pong effect refers to the frequent switching of STAs between two adjacent cells. On the other hand, in the prior art, the measurement of the signal quality of neighboring cells is not supported during the service. The STA scans the neighboring cells only after the signal quality of the serving cell deteriorates, which may cause service interruption. In addition, during the switching to the serving cell, the STA needs to re-access the target AP according to the access process. The switching process is similar to the cell reselection process, which leads to a large switching delay.
[0187] Especially when the terminal device is in communication scenarios such as road traffic and rail transit, for example, users in high-speed high-speed trains use mobile phones and other terminal devices that are in high-speed mobile states, which may cause the terminal device to frequently switch between cells. The high-speed movement relatively reduces the time reserved for the terminal device to switch cells, and the switching method of the existing technology is obviously unable to meet the switching delay requirements of high-speed mobile terminal devices.
[0188] In order to solve the problems of the prior art, the embodiment of the present application provides a cell switching method, in which the network device makes a switching decision, and the network device can ensure that the terminal device does not have a ping-pong switching through an algorithm. After the source network device decides to switch the terminal device to the target network device, the source network device sends the authentication information required for the terminal device switching to the target network device, thereby reducing the air interface signaling between the terminal device and the target network device. While reducing the air interface signaling, the switching time can also be reduced, shortening the switching delay.
[0189] Figure 5 This is a flowchart of a cell switching method provided in Embodiment 1 of the present application. This embodiment takes the switching process of a WIFI system as an example. Correspondingly, the network device is an AP, such as Figure 5 As shown, the method provided in this embodiment includes the following steps:
[0190] S301: A first AP determines to switch an accessed STA to a second AP.
[0191] The second AP is a neighboring cell of the first AP, the first AP is the source AP of the STA, the second AP is the target AP of the STA, the source AP is the AP currently accessed by the STA, and the target AP is the AP to which the STA is about to switch. In this embodiment, the first AP makes a cell switching decision.
[0192] In an exemplary manner, a first AP receives a neighboring cell measurement result of the first AP sent by a STA, and the first AP determines to switch the STA to a second AP based on the neighboring cell measurement result. The first AP may have one or more neighboring cells, and the neighboring cell measurement result of the first AP includes the neighboring cell identifier and the signal quality of the neighboring cell. The signal quality of the neighboring cell can be characterized by the reference signal receiving power (RSRP).
[0193] Optionally, the RSRP of the neighboring cell is obtained by the STA through smoothing filtering to ensure that the RSRP of the neighboring cell does not change in a jumpy manner.
[0194] In other embodiments of the present application, the first AP may also decide whether to perform cell switching based on neighboring cell measurement results and other parameters, which is not limited in this embodiment.
[0195] S302: The first AP sends capability information and first authentication information of the STA to the second AP. The first authentication information is used by the second AP to perform link authentication on the STA.
[0196] Optionally, the capability information of the STA includes the MAC address of the STA. The capability information of the STA may also include the power level of the STA, the supported frequency band, etc., which is not limited in this embodiment.
[0197] Optionally, the first authentication information includes Figure 3 All or part of the authentication parameters used for authentication in the Authentication Request, or the first authentication information includes Figure 4 All or part of the authentication parameters used for authentication in the FT Action Request.
[0198] Exemplarily, the first authentication information only includes the authentication random number (SNonce) in the FT Action Request, and the second AP can obtain other authentication parameters in the FT Action Request except the authentication random number in other ways. For example, the authentication parameter R0KH-ID can be carried in the first authentication information and sent by the first AP to the second AP, or it can be pre-configured in the second AP, or the second AP obtains the R0KH-ID from a third-party device after receiving the first authentication information.
[0199] The authentication random number in the first authentication information is generated by the first AP and sent to the second AP. In the prior art, the authentication random number is generated by the STA, and the first AP acts as a proxy to generate the authentication random number instead of the STA.
[0200] It can be understood that the parameters in the first authentication information may be used for other purposes besides link authentication, for example, they may be used for key calculation, and the calculated key is used for encryption protection of data communication between the STA and the second AP.
[0201] In this embodiment, the capability information and the first authentication information of the STA are sent by the first AP to the second AP. In the prior art, the capability information and the first authentication information of the STA are usually sent by the STA to the second AP. Compared with the prior art, the air interface signaling of the STA can be saved.
[0202] The capability information and the first authentication information of the STA may be sent to the second AP via one signaling or message, or may be sent to the second AP via multiple signaling or messages, which is not limited in this embodiment. Exemplarily, the capability information and the first authentication information of the STA are carried in a first handover command, and the first handover command is used to request the second AP to handover the STA to the second AP, and the first handover command may be, but is not limited to, a Handover Commend.
[0203] S303: The first AP receives access permission information from the second AP, where the access permission information is used to indicate that the second AP allows the STA to access the second AP.
[0204] After the second AP receives the capability information and the first authentication information of the STA sent by the first AP, it decides whether to allow the STA to access the second AP based on the capability information, the first authentication information and its own policy of the STA. Exemplarily, if the capability information and the first authentication information of the STA both meet the switching requirements, but the current load of the second AP is large, the second AP can deny the STA access. If the current load of the second AP is small, the STA access is allowed. Alternatively, the second AP determines, based on the access information of the STA saved by itself, that the interval between the access time of the STA's last access to the second AP and the current time is small. For example, if the interval is less than the first interval, the STA access is denied. If the interval is greater than or equal to the first interval, the STA access is allowed.
[0205] The second AP generates access permission information, where the access permission information is used to indicate whether the STA is allowed or not to access the second AP. When the access permission information is used to indicate that the STA is allowed to access, step S304 is executed. When the access permission information is used to indicate that the STA is not allowed to access, the switching process is terminated.
[0206] Optionally, the second AP may send the access permission information to the first AP by carrying it in the first handover command response. When the first handover command is Handover Commend, the first handover command response is Handover CommendResponse.
[0207] Optionally, the first switching command response also includes capability information of the second AP. When the first switching command response does not include capability information of the second AP, the first AP may acquire capability information of the second AP in other ways.
[0208] The two APs exchange information through the Control And Provisioning of Wireless Access Points Protocol Specification (CAPWAP), and the first switching command and the first switching command response between the first AP and the second AP are carried as payloads of the CAPWAP frame.
[0209] S304: The first AP sends a second switching command to the STA.
[0210] When the second AP allows the STA to access, the first AP sends a second switching command to the STA. The second switching command is used to instruct the STA to switch to the second AP, and the second switching command includes second authentication information, and the second authentication information includes an authentication random number, and the authentication random number included in the second authentication information is the same as the authentication random number included in the first authentication information. The second authentication information can be used for calculating the secret key used for encryption between the STA and the second AP.
[0211] Optionally, the second switching command also includes capability information of the second AP.
[0212] Optionally, the second switching command may be a BSS transition management request (BSS Transition Management Request).
[0213] S305: The first AP receives a second handover command response from the STA, where the second handover command response is used to indicate that the STA is ready for handover.
[0214] After receiving the second switching command, the STA determines whether to access the second AP according to the second switching command.
[0215] When the second handover command is a BSS Transition Management Request, the second handover command response is a BSS Transition Management Response).
[0216] S306: The first AP sends a status transfer command to the second AP, where the status transfer command is used to indicate that the STA is ready for handover.
[0217] When the second switching command indicates that the STA is ready for switching, the first AP sends a state transition command to the second AP. The state transition command is used to notify the STA that it is ready for switching. After receiving the state transition command, the second AP sends a first message to the STA. The first message is used to indicate that the link authentication between the second AP and the STA is successful. After receiving the first message, the STA associates with the second AP to complete the cell switching.
[0218] In this embodiment, the first AP determines to switch the accessed STA to the second AP, the second AP is a neighboring cell of the first AP, the first AP sends the capability information and the first authentication information of the STA to the second AP, the first authentication information is used by the second AP to perform link authentication on the STA, the first AP receives access permission information from the second AP, the access permission information is used to indicate that the STA is allowed to access the second AP, the first AP sends a second switching command to the STA, and receives a second switching command response from the STA, when the second switching command response indicates that the STA is ready for switching, the first AP sends a state transition command to the second AP, the state transition command is used to indicate that the STA is ready for switching. In this way, the first AP makes a cell switching decision, thereby avoiding ping-pong switching, and the first AP, as the agent of the STA, can generate authentication information for link authentication, and send the authentication information to the second AP and the STA, thereby saving the air interface signaling for the STA to send the authentication information to the second AP, thereby shortening the air interface delay during switching.
[0219] Especially when the STA is in a high-speed mobile scenario, such as a rail transit scenario, the method of the embodiment of the present application can reduce the air interface delay of the STA switching, so that the STA can quickly switch to the target AP and ensure that the STA's service data packets will not be lost.
[0220] Based on Example 1, Figure 6 This is a signaling flow chart of a cell switching method provided in Embodiment 2 of the present application. This embodiment still takes a WIFI system as an example. Figure 6 As shown, the method provided in this embodiment includes the following steps:
[0221] S401. STA performs neighboring cell measurement.
[0222] The STA performs neighbor measurement according to the neighbor measurement configuration sent by the first AP, where the neighbor measurement configuration is used to configure the neighbor and measurement resources of the neighbor of the first AP. The neighbor measurement configuration can be carried by the first AP in an association response frame or a reassociation response frame and sent to the STA.
[0223] The neighbor cell measurement configuration is carried by the association response or re-association response during the access process, and there is no need for dedicated signaling to carry the neighbor cell measurement configuration, which saves network resources. The neighbor cell measurement can be started after the terminal accesses without special opening instructions.
[0224] The association response and reassociation response include a vendor-specific (VendorSpecific) field, and the neighboring cell measurement configuration may be carried in the Vendor Specific field.
[0225] Figure 7 A schematic diagram of the vendor specific content, such as Figure 7 As shown, the vendor specific content includes a content identifier (Content ID), a length (Length) and a vendor specific field (VendorSpecific field). The Content ID and the Length each occupy 8 bits (bite), and the length of the Vendor Specific field is variable.
[0226] The Vendor Specific field includes the following parameters: offset value (Offset), carrier coefficient k, interval time (Rptinterval), number of neighboring cells M, BSSID, operating class (Operating Class), number of channels (ChannelNumber), beacon frame offset (Beacon offset) and padding (Padding). Among them, BSSID, OperatingClass, Channel Number, Beacon offset are parameters of a neighboring cell, and the Vendor Specific field includes parameters of M neighboring cells.
[0227] The meaning, value, length (i.e., number of bits occupied) and unit of each parameter in the Vendor Specific content are shown in Table 1.
[0228] Table 1
[0229]
[0230]
[0231] In this embodiment, the STA can determine the signal quality of the neighboring cell based on smoothing filtering, so the neighboring cell configuration information includes the filtering factor k. The Operating Class and Channel Number have a corresponding relationship with the frequency point. The STA can determine the measurement frequency point of the neighboring cell based on the corresponding relationship, and can determine the measurement time of the neighboring cell based on the Beacon offset.
[0232] In the prior art, it is usually impossible to perform neighboring cell measurements while the STA is performing services. Usually, neighboring cell scanning is performed only after the signal quality of the serving cell deteriorates. In the embodiment of the present application, the AP configures a measurement time for the STA, and the STA performs measurements according to the measurement time. Therefore, neighboring cell measurements can also be performed while the services are in progress.
[0233] After the STA starts the measurement process, it measures the signal quality Ms of the local cell and the signal quality M of the neighboring cell. n , and smoothing filtering is performed. Optionally, the filtering formula is F n =(1-a)*F n-1 +a·M n . F n Indicates the nth neighboring cell signal quality (i.e., measurement result), F n-1 Indicates the n-1th neighboring cell signal quality, M n Indicates the instantaneous neighboring cell signal quality for the nth time. The instantaneous neighboring cell signal quality is the signal quality actually measured, a = 1 / 2 (k / 4) , k is the filtering factor.
[0234] In this embodiment, the STA performs smoothing filtering on the measured instantaneous neighboring cell signal quality so that the neighboring cell signal quality does not undergo sudden jump changes, thereby avoiding ping-pong switching.
[0235] S402: The STA sends a neighboring cell measurement result to the first AP.
[0236] If the measurement result of a neighboring cell meets the reporting condition, the neighboring cell measurement result of the neighboring cell is reported. For example, the reporting condition is Ms-M n >offset, where the signal quality Ms of the cell and the signal quality M of the neighboring cell n They are all instantaneous measurement values, while the neighboring cell signal quality included in the neighboring cell measurement results is the signal quality after filtering.
[0237] The neighboring cell measurement result may be carried in a radio measurement action frame (Radio Measurement action), the radio measurement action frame includes a neighboring cell measurement report (Neighbor Measurement Report) field, and the neighboring cell measurement result may be carried in the neighboring cell measurement report field.
[0238] The values and descriptions of the Radio Measurement action field in the Radio Measurement action frame are shown in Table 2.
[0239] Table 2
[0240]
[0241] Among them, the content of the neighboring cell measurement report field is as follows: Figure 8 As shown, the neighboring cell measurement report field includes: Category, handover measurement report and handover measurement report unit, and the handover measurement report unit includes the number of reported cells M, the RSRP of the cell, the BSSID of the neighboring cell and the RSRP of the neighboring cell. Among them, the handover measurement report unit includes the BSSID and RSRP of M neighboring cells, and RSRP is the signal quality of the cell.
[0242] If the neighboring area of the first AP is updated, the first AP may send neighbor measurement update (NeighborMeasurement Update) information to the STA, where the neighbor measurement update information is used to update the neighboring area of the first AP.
[0243] Optionally, the neighboring cell measurement update information is carried in a radio measurement request (Radio Measurement Request) frame. Optionally, the radio measurement request frame includes a neighboring cell measurement update field, and the neighboring cell measurement update information is carried in the neighboring cell measurement update field.
[0244] Optionally, the Radio Measurement Request also includes a neighbor measurement stop field and / or a measurement pause indication, where the neighbor measurement stop field carries neighbor measurement stop information, and the neighbor measurement stop information is used to indicate the stop of neighbor measurement. The measurement pause indication indicates that neighbor measurement and measurement results will no longer be performed within a set time.
[0245] Table 3 is a schematic diagram of the measurement type values included in the Radio Measurement Request.
[0246] Table 3
[0247] name Measurement Type Basic 0 CCA 1 …… …… Reserve 17-252 Neighborhood measurement update 253 Neighborhood measurement stopped 254 Measurement pause 255
[0248] Fig. 9 The following is a schematic diagram of the Radio Measurement Request frame structure: Fig. 9As shown, Flag indicates a neighboring cell update indication, and the value of flag can be a first preset value or a second preset value. When the value of flag is the first preset value, it indicates that a new neighboring cell is added, and when the value of flag is the second preset value, it indicates that a neighboring cell is deleted. Optionally, the first preset value is 1 and the second preset value is 0, or the first preset value is true and the second preset value is false. Of course, the first preset value and the second preset value can also be other values, which are not listed here one by one.
[0249] Fig. 9 In the example, the value of the first flag is 1, and the M cells after the first flag are newly added neighboring cells. The number of cells M is followed by the configuration information of the M cells. The configuration information of each cell includes BSSID, operation level, number of channels and beacon frame offset. The value of the second flag is 0, and the N cells after the second flag are deleted cells. The number of cells N is followed by the BSSIDs of the N cells.
[0250] S403: The first AP makes a cell switching decision.
[0251] The first AP determines to switch the STA to the second AP according to the neighboring cell measurement result.
[0252] S404: The first AP sends a first switching command to the second AP.
[0253] The first switching command includes capability information of the STA and first authentication information. The first authentication information is used to instruct the second AP to perform link authentication on the STA. The first authentication information includes an authentication random number generated by the first AP.
[0254] S405: The second AP sends a first switching command response to the first AP.
[0255] The first switching command response includes access permission information, where the access permission information is used to indicate whether the STA is allowed or not allowed to access the second AP.
[0256] Optionally, the first switching command response also includes capability information of the second AP.
[0257] S406: The first AP sends a second switching command to the STA.
[0258] The second switching command is used to instruct the STA to switch to the second AP. The second switching command includes second authentication information. The second authentication information includes an authentication random number generated by the first AP.
[0259] Optionally, the second switching command also includes capability information of the second AP. The capability information of the second AP included in the second switching command may be sent by the second AP in response to the first switching command, or may be acquired by the first AP in other ways.
[0260] S407: The STA sends a second switching command response to the first AP.
[0261] After receiving the second switching command, if the STA determines to switch to the second AP, it sends a second switching command response to the first AP, and the second switching command response is used to indicate that the STA is ready for switching. Correspondingly, after sending the second switching command response, the STA waits for the first message unicasted by the second AP to the STA according to the channel number of the second AP. If the second switching command response indicates that the STA is not ready for switching, the switching process ends and the STA starts the initial access process.
[0262] Optionally, if the STA determines not to switch to the second AP, the second switching command response sent by the STA to the first AP is used to indicate that the STA is not ready for switching, or the STA does not send the second switching command response to the first AP. After the first AP sends the second switching command to the STA, if it does not receive the second switching command response within a preset time, it determines that the STA is not ready for switching.
[0263] S408: The first AP sends a state transfer command to the second AP.
[0264] When the second switching command response indicates that the STA is ready for switching, the first AP sends a state transfer command to the second AP, where the state transfer command is used to indicate that the STA is ready for switching.
[0265] S409: The second AP sends a first message to the STA.
[0266] The first message is used to indicate that the link authentication between the second AP and the STA is successful. The first message is the first message unicast by the second AP to the STA. The first message can be an FT Action Response or an authentication response. In different communication systems, the specific message of the first message may be different. Through the above steps, the second AP and the STA complete the link authentication. After the link authentication is successful, the second AP and the STA are associated.
[0267] S410. The STA sends a reassociation request to the second AP.
[0268] S411. The second AP sends a reassociation response to the STA.
[0269] In this embodiment, after the first AP determines to switch the STA to the second AP, the authentication information required for the second AP authentication is sent to the second AP through the channel between the first AP and the second AP, without the STA sending the authentication information to the second AP, thereby saving the STA's air interface signaling and shortening the air interface delay during the switching process.
[0270] The cell switching process of this embodiment can save the interaction time of 3 subframes. If the duration of each subframe is 3 ms, the air interface delay can be shortened by 6 ms.
[0271] Fig.10 This is a signaling flow chart of the cell switching method provided in Example 3 of the present application. Based on Example 2, after S406, that is, after the first AP sends a second switching command to the STA, data forwarding of the STA is performed between the first AP and the second AP, thereby ensuring that the downlink data of the STA will not be lost during the switching process.
[0272] Optionally, in this embodiment, after the STA accesses the second AP, a path switching may be performed between the first AP and the second AP.
[0273] This embodiment takes the Over the DS switching process as an example for description. Fig.10 As shown, the method provided in this embodiment includes the following steps.
[0274] S501. STA performs neighboring cell measurement.
[0275] S502: The STA sends a measurement report to the first AP.
[0276] The measurement report includes the neighboring cell measurement results.
[0277] S503: The first AP makes a cell switching decision.
[0278] The first AP determines to switch the STA to the second AP according to the neighboring cell measurement result.
[0279] S504: The first AP sends a handover request (Handover Commend) to the second AP.
[0280] Handover Commend is a first handover command, used to request to handover the STA to the second AP, and the Handover Commend includes the message content that the STA needs to send to the target AP in the FT Action Request message. Exemplarily, the Handover Commend includes the STA capability information and the authentication random number.
[0281] S505: The second AP sends a handover request response (Handover Commend Response) to the first AP.
[0282] The Handover Commend Response is a first handover command response, and the Handover Commend Response includes access permission information, and optionally, may also include capability information of the second AP.
[0283] S506: The first AP sends a BSS transition management request (BSS Transition Management Request) to the STA.
[0284] The BSS Transition Management Request is a second handover command, used to instruct the STA to handover to the second AP. The BSS Transition Management Request includes an authentication random number and, optionally, capability information of the second AP. The BSS Transition Management Request is used as a Handover Request.
[0285] S507 : The first AP and the second AP forward the STA data.
[0286] Data forwarding is to send the downlink data that the first AP has not sent to the STA to the second AP, so that after the STA accesses the second AP, the second AP can send the downlink data to the STA, thereby ensuring that the downlink data of the STA will not be lost during the cell switching process.
[0287] Understandably, Fig.10 This is just a schematic diagram. During the data forwarding process, one message or multiple messages may be interacted and completed, and this embodiment does not limit this.
[0288] S508. The STA sends a BSS Transition Management Response to the first AP.
[0289] BSS Transition Management Response serves as Handover Response, BSSTransition Management Response is the second handover command response, BSS Transition ManagementRequest and BSS Transition Management Response are handover signaling in the 802.11v protocol. It can be understood that the method of the embodiment of the present application can also be applied to other protocol versions. Accordingly, the specific message name of the handover signaling will change, but the functions are similar.
[0290] S509: The first AP sends a state transfer command to the second AP.
[0291] When the BSS Transition Management Response indicates that the STA is ready for handover, the first AP sends a state transition command to the second AP, and the state transition command is used to indicate that the STA is ready for handover. If the BSS Transition Management Response indicates that the STA is not ready for handover, the STA starts the initial access process.
[0292] S510: The second AP sends a fast transition action response (FT Action Response) to the STA.
[0293] After the second AP determines that the STA is ready for switching, it sends an FT Action Response to the STA. The FT Action Response is the first message. The FT Action Response is the first message sent by the second AP to the STA. After the STA sends a BSS Transition Management Response to the first AP, if the BSS Transition Management Response indicates that the STA is ready for switching, the STA waits for the FT Action Response according to the channel number of the second AP. The FT Action Response indicates that the link authentication between the second AP and the STA is successful.
[0294] S511. The STA sends a reassociation request (Reassociation Request) to the second AP.
[0295] S512: The second AP sends a reassociation response (Reassociation Response) to the STA.
[0296] The contents of the FT Action Response, Reassociation Request, and Reassociation Response messages are the same as those defined in the existing standards and are not described in detail here.
[0297] The second AP completes the link authentication with the STA according to the BSS Transition Management Request sent by the first AP in step S506 and the FT Action Response sent by the second AP in step S510. After the link authentication is successful, the STA and the second AP complete the association through the re-association process, the switching process ends, and the STA and the second AP can communicate with each other. At this time, the second AP can send the STA's forwarding data to the STA, thereby ensuring that the STA's downlink data will not be lost during the switching process.
[0298] S513: The second AP sends a path switching command (Traffic Path Handover) to the first AP.
[0299] The path switching command is used to instruct the STA to update routing information. After the STA is successfully switched, the second AP sends the path switching command to the first AP, and the first AP updates the local routing information of the STA according to the path switching command.
[0300] S514: The first AP sends a path switching response (Traffic Path Handover Response) to the second AP.
[0301] The response to the path switch command is used to indicate whether the routing information update is successful or failed.
[0302] S515: The second AP sends a user context release command (UE context release) to the first AP.
[0303] The user context release command is used to instruct the first AP to release the stored user context of the STA. The user context release command is sent by the second AP after receiving a path switching response indicating that the routing information is successfully updated. The first AP releases the user context of the STA according to the release command.
[0304] It should be noted that steps S513 and S514 are optional steps. After determining that the STA switching is successful, the second AP may also directly send a user context release command to the first AP.
[0305] In this embodiment, after the first AP determines to switch the STA to the second AP, the authentication information required by the second AP for link authentication is sent to the second AP through the Handover Commend message, and the STA does not need to send the authentication information to the second AP through the FT Action Request after receiving the switching command sent by the first AP, thereby saving the STA's air interface signaling and shortening the air interface delay during the switching process. Since the STA does not need to send the FT Action Request to the second AP, the first unicast message between the second AP and the STA is the FT Action Response.
[0306] The cell switching process of this embodiment can save up to 3 subframes of interaction time. Assuming that after the first AP decides to perform cell switching, the first AP does not send authentication information to the second AP, but the STA sends authentication information to the second AP, then the switching time is: 7*subframe length+Q+X+Y+Z+W+P.
[0307] Q: The time from when the source AP receives the Handover Response to when the target AP can send msg1 (the first message).
[0308] Among them, msg1 is an uplink OFDMA (UORA) trigger based on random access. UORA trigger is an uplink scheduling frame used to indicate the contention resource information used by unassociated STAs to access.
[0309] X: The time from when the target AP receives a probe request (Probe Request) on the air interface to when it can send a probe response (Proberesponse) on the air interface.
[0310] Among them, Probe Request is used for STA to actively scan and discover wireless networks. If switching optimization is not performed, after the STA receives the switching command sent by the source AP, it sends a Probe Request to the target AP. After receiving the Probe Request, the target AP returns a Probe response.
[0311] Y: The time from when the STA receives the Probe Response to when it can send the FT Action Request (it is assumed that the target AP can send the UORA trigger at any time after sending the Probe Response). If the STA has sufficient capability, Y can be 0.
[0312] Z: The time from when the target AP receives the FT Action Request to when it can send the FT Action Response to the air interface.
[0313] W: The time from when the STA receives the FT Action Response to when it can send the Reassociation Request (it is assumed that the target AP can send the UORA trigger at any time after sending the FT Action Response). If the STA has sufficient capability, W can be 0.
[0314] P: The time from when the target AP receives the Reassociation Request to when it can send the ReassociationResponse to the air interface.
[0315] S: The time from when the source AP receives the Handover Response to when the target AP can send the FT Action Response. If the AP has sufficient capability, S can be 0.
[0316] Through the optimization of the embodiments of the present application, the switching time can be shortened to 4*subframe length + S + W + P. The shortening time of 4*subframe length + W + P relative to 7*subframe length + Q + X + Y + Z + W + P is 3*subframe length + Q + X + Y + ZS.
[0317] This embodiment is described by taking Over the DS switching process as an example. Of course, the above switching process is also applicable to Over the air. When based on Over the air, the switching processes of the two are the same, except that the message name and content are slightly different, but the message function is the same, and this application will not describe it in detail.
[0318] Fig.11 A schematic diagram of the structure of the first network device provided in Embodiment 4 of the present application, such as Fig.11As shown, the first network device 100 of this embodiment includes: a determination module 11, used to determine whether to switch the terminal device from the first network device to the second network device; a sending module 12, used to send the capability information and first authentication information of the terminal device to the second network device, the first authentication information is used for the second network device to perform link authentication on the terminal device; a receiving module 13, used to receive access permission information from the second network device, the access permission information is used to indicate that the terminal device is allowed to access the second network device; the sending module 12 is also used to send a second switching command to the terminal device, the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes the second authentication information; the receiving module 13 is also used to receive a second switching command response from the terminal device, the second switching command response is used to indicate that the terminal device is ready for switching; the sending module 12 is also used to send a state transition command to the second network device, the state transition command is used to indicate that the terminal device is ready for switching.
[0319] In an exemplary manner, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device.
[0320] In an exemplary manner, the second authentication information includes the authentication random number.
[0321] In an exemplary manner, the sending module 12 sends the capability information and the first authentication information of the terminal device to the second network device, including: sending a first switching command to the second network device, the first switching command including the capability information and the first authentication information of the terminal device; the receiving module 13 receives access permission information from the second network device, including: receiving a first switching command response from the second network device, the first switching command response including the access permission information.
[0322] In an exemplary manner, the receiving module 13 is also used to receive a path switching command from the second network device after the terminal device accesses the second network device, and the path switching command is used to instruct the terminal device to update routing information; the sending module 12 is also used to send a path switching command response to the second network device, and the path switching command response is used to indicate the success or failure of the routing information update.
[0323] In an exemplary manner, it also includes: a data forwarding module, which is used to forward data of the terminal device with the second network device.
[0324] In an exemplary manner, the receiving module 13 is also used to: receive the neighboring area measurement result of the first network device from the terminal device; the determining module 11 is specifically used to: determine to switch the terminal device to the second network device based on the neighboring area measurement result.
[0325] The first network device of this embodiment can be used to execute the method steps executed by the first network device or the first AP in the above method embodiment. The specific implementation method and technical effects are similar and will not be repeated here.
[0326] Fig.12 A schematic diagram of the structure of the second network device provided in Embodiment 5 of the present application, such as Fig.12 As shown, the second network device 200 of this embodiment includes: a receiving module 21, which is used to receive capability information and first authentication information of a terminal device from a first network device, the terminal device has been connected to the first network device, and the first authentication information is used by the second network device to perform link authentication on the terminal device; a sending module 22, which is used to send access permission information to the first network device, and the access permission information is used to indicate that the terminal device is allowed to access the second network device; the receiving module 21 is also used to receive a state transition command from the first network device, and the state transition command is used to indicate that the terminal device is ready to switch; the sending module 22 is also used to send a first message to the terminal device, and the first message is used to indicate that the link authentication between the second network device and the terminal device is successful; an association module 23 is used to associate the second network device with the terminal device.
[0327] In an exemplary manner, the association module 23 is specifically configured to: receive a re-association request from the terminal device; and send a re-association response to the terminal device.
[0328] In an exemplary manner, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device.
[0329] In an exemplary manner, the receiving module 21 receives capability information and first authentication information of a terminal device from a first network device, including: receiving a switching request from the first network device, the switching request including the capability information of the terminal device and the first authentication information; the sending module 22 sends access permission information to the first network device, including: sending a switching request response to the first network device, the switching request response including the access permission information.
[0330] In an exemplary manner, the first message is an authentication response or a quick switch action response.
[0331] In an exemplary manner, the sending module 22 is also used to send a path switching command to the first network device after the second network device is associated with the terminal device, and the path switching command is used to instruct the terminal device to update routing information; the receiving module 21 is also used to receive a path switching command response from the first network device, and the path switching command response is used to indicate the success or failure of the routing information update.
[0332] In an exemplary manner, it also includes: a data forwarding module, which is used to forward data of the terminal device with the first network device.
[0333] The second network device of this embodiment can be used to execute the method steps executed by the second network device or the second AP in the above method embodiment. The specific implementation method and technical effects are similar and will not be repeated here.
[0334] Fig.13 A schematic diagram of the structure of a terminal device provided in Embodiment 6 of the present application, such as Fig.13 As shown, the terminal device 300 of this embodiment includes: a receiving module 31, used to receive a second switching command from a first network device, the second switching command is used to instruct the terminal device to switch to a second network device, and the second switching command includes second authentication information; a sending module 32, used to send a second switching command response to the first network device, the second switching command response is used to indicate that the terminal device is ready for switching; the receiving module 31 is also used to receive a first message sent by the second network device, the first message is used to indicate that the link authentication between the second network device and the terminal device is successful; an association module 33, used to associate the terminal device with the second network device in response to the first message.
[0335] In an exemplary manner, the association module 33 is specifically configured to: send an association request to the second network device; and receive an association response from the second network device.
[0336] In an exemplary manner, the first message is an authentication response or a quick switch action response.
[0337] In an exemplary manner, it also includes: a measurement module, used to perform neighboring area measurement according to the neighboring area measurement configuration; the sending module 32 is also used to send the neighboring area measurement result to the first network device.
[0338] In an exemplary manner, the receiving module 31 is further used to: receive the neighboring cell measurement configuration from the first network device, where the neighboring cell measurement configuration is used to configure the neighboring cell of the first network device and the measurement resources of the neighboring cell.
[0339] In an exemplary manner, the sending module 32 sends the neighboring area measurement result to the first network device, including: sending a wireless measurement action frame to the first network device, the wireless measurement action frame including the neighboring area measurement reporting field, and the neighboring area measurement result is carried in the neighboring area measurement reporting field.
[0340] In an exemplary manner, the receiving module 31 receives the neighboring cell measurement configuration from the first network device, including: receiving an association response or a re-association response from the first network device, wherein the association response or the re-association response includes the neighboring cell measurement configuration.
[0341] In an exemplary manner, the association response or the re-association response includes a vendor-specific field, and the neighboring cell measurement configuration is carried in the vendor-specific field.
[0342] In an exemplary manner, the receiving module 31 is further used to: receive neighboring area measurement update information from the first network device, where the neighboring area measurement update information is used to update the neighboring area of the first network device.
[0343] In an exemplary manner, the receiving module 31 receives neighboring cell measurement update information from the first network device, including: receiving a wireless measurement request frame from the first network device, the wireless measurement request frame including a neighboring cell measurement update field, and the neighboring cell measurement update information is carried in the neighboring cell measurement update field.
[0344] In an exemplary manner, the wireless measurement request frame also includes a neighboring area measurement stop field, and the neighboring area measurement stop field carries neighboring area measurement stop information, and the neighboring area measurement stop information is used to indicate to stop measuring the neighboring area.
[0345] The terminal device of this embodiment can be used to execute the method steps executed by the terminal device in the above method embodiment. The specific implementation method and technical effects are similar and will not be repeated here.
[0346] Fig.14 A structural diagram of a first network device provided in Embodiment 7 of the present application, such as Fig.14 As shown, the first network device 400 of this embodiment includes: a processor 41, a memory 42 and a transceiver 43, the memory 42 is used to store instructions, the memory 42 and the transceiver 43 are connected and communicate with the processor 41 through a bus, the transceiver 43 is used to send and receive data, and the processor 41 is used to execute the instructions stored in the memory 42, so that the first network device 400 performs the method steps performed by the first network device in the method embodiment of the present application. The specific implementation method and technical effect are similar and will not be repeated here.
[0347] Embodiment 8 of the present application provides a second network device, and the structure of the second network device is as shown in FIG. Fig.14 The structure of the first network device shown in the figure, the second network device includes a processor, a memory and a transceiver, the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the second network device performs the method steps performed by the second network device in the method embodiment of the present application. The specific implementation method and technical effect are similar and will not be repeated here.
[0348] Embodiment 9 of the present application provides a terminal device, the structure of which is as shown in FIG. Fig.14 The structure of the first network device shown in the figure is that the terminal device includes a processor, a memory and a transceiver, the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the terminal device executes the method steps executed by the terminal device in the method embodiment of the present application. The specific implementation method and technical effect are similar and will not be repeated here.
[0349] It is understood that the processor used in the network device or terminal device in the present application can be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0350] The bus described in this application may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0351] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0352] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0353] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0354] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including one or more instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program code.
[0355] Each embodiment in the present application is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
Claims
1. A cell switching method, It is characterized in that include: The first network device determines to switch the access terminal device to the second network device according to the neighboring cell measurement result, wherein the neighboring cell measurement result includes an identifier of the neighboring cell and a signal quality of the neighboring cell; The first network device sends the capability information and first authentication information of the terminal device to the second network device, where the first authentication information is used by the second network device to perform link authentication on the terminal device, and the first authentication information includes an authentication random number, which is generated by the first network device; The first network device receives access permission information from the second network device, where the access permission information is used to indicate that the terminal device is allowed to access the second network device, wherein the access permission information is generated by the second network device according to the capability information of the terminal device, the first authentication information and its own policy, and the own policy is whether the interval between the access time of the last access of the terminal device to the second network device and the current time is less than the first interval time; The first network device sends a second switching command to the terminal device, where the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes second authentication information; The first network device receives a second switching command response from the terminal device, where the second switching command response is used to indicate that the terminal device is ready for switching; The first network device sends a state transfer command to the second network device, where the state transfer command is used to indicate that the terminal device is ready for switching.
2. The method according to claim 1, It is characterized in that The second authentication information includes the authentication random number.
3. The method according to claim 1 or 2, It is characterized in that The first network device sends the capability information of the terminal device and the first authentication information to the second network device, including: The first network device sends a first switching command to the second network device, where the first switching command includes capability information of the terminal device and first authentication information; The first network device receiving access permission information from the second network device includes: The first network device receives a first handover command response from the second network device, where the first handover command response includes the access permission information.
4. The method according to claim 1 or 2, It is characterized in that After the terminal device is connected to the second network device, the method further includes: The first network device receives a path switching command from the second network device, where the path switching command is used to instruct the terminal device to update routing information; The first network device sends a path switching command response to the second network device, where the path switching command response is used to indicate success or failure of updating the routing information.
5. The method according to claim 1 or 2, It is characterized in that After the first network device sends the second switching command to the terminal device, the method further includes: The first network device and the second network device forward data of the terminal device.
6. The method according to claim 1 or 2, It is characterized in that Before the first network device determines to switch the connected terminal device to the second network device, the method further includes: The first network device receives a neighboring area measurement result of the first network device from the terminal device.
7. A cell switching method, It is characterized in that include: The second network device receives capability information and first authentication information of a terminal device from the first network device, the terminal device has been connected to the first network device, the first authentication information is used by the second network device to perform link authentication on the terminal device, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device; The second network device generates access permission information according to the capability information of the terminal device, the first authentication information and its own policy, wherein the own policy is whether the interval between the access time of the last access of the terminal device to the second network device and the current time is less than the first interval time; The second network device sends access permission information to the first network device, where the access permission information is used to indicate that the terminal device is allowed to access the second network device; The second network device receives a state conversion command from the first network device, where the state conversion command is used to indicate that the terminal device is ready for switching; The second network device sends a first message to the terminal device, where the first message is used to indicate that the link authentication between the second network device and the terminal device is successful; The second network device is associated with the terminal device.
8. The method according to claim 7, It is characterized in that The second network device is associated with the terminal device, including: The second network device receives a reassociation request from the terminal device; The second network device sends a reassociation response to the terminal device.
9. The method according to claim 7 or 8, It is characterized in that The second network device receives the capability information and the first authentication information of the terminal device from the first network device, including: The second network device receives a switching request from the first network device, where the switching request includes capability information of the terminal device and the first authentication information; The second network device sending access permission information to the first network device includes: The second network device sends a handover request response to the first network device, where the handover request response includes the access permission information.
10. The method according to claim 7 or 8, It is characterized in that The first message is an authentication response or a quick switch action response.
11. The method according to claim 7 or 8, It is characterized in that After the second network device is associated with the terminal device, the method further includes: The second network device sends a path switching command to the first network device, where the path switching command is used to instruct the terminal device to update routing information; The second network device receives a path switching command response from the first network device, where the path switching command response is used to indicate success or failure of updating the routing information.
12. The method according to claim 7 or 8, It is characterized in that After the second network device sends the access permission information to the first network device, the method further includes: The second network device forwards data of the terminal device together with the first network device.
13. A cell switching method, It is characterized in that include: The terminal device sends a neighboring area measurement result to the first network device, the terminal device has been connected to the first network device, the neighboring area measurement result is used by the first network device to send the capability information and first authentication information of the terminal device to the second network device after determining to switch the terminal device to the second network device, the first authentication information is used by the second network device to perform link authentication on the terminal device, the first authentication information includes an authentication random number, the authentication random number is generated by the first network device, and the neighboring area measurement result includes an identifier of the neighboring area and a signal quality of the neighboring area; In a case where the second network device allows the terminal device to access, the terminal device receives a second switching command from the first network device, where the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes second authentication information; The terminal device sends a second switching command response to the first network device, where the second switching command response is used to indicate that the terminal device is ready for switching; The terminal device receives a first message sent by the second network device, where the first message is used to indicate that link authentication between the second network device and the terminal device is successful; In response to the first message, the terminal device associates with the second network device.
14. The method according to claim 13, It is characterized in that The terminal device is associated with the second network device, including: The terminal device sends an association request to the second network device; The terminal device receives an association response from the second network device.
15. The method according to claim 13 or 14, It is characterized in that The first message is an authentication response or a quick switch action response.
16. The method according to claim 13 or 14, wherein before the terminal device sends the neighboring area measurement result to the first network device, include: The terminal device performs neighbor cell measurement according to the neighbor cell measurement configuration.
17. The method according to claim 16, It is characterized in that Also includes: The terminal device receives the neighboring cell measurement configuration from the first network device, where the neighboring cell measurement configuration is used to configure a neighboring cell and measurement resources of the neighboring cell of the first network device.
18. The method according to claim 17, It is characterized in that The terminal device sends a neighboring area measurement result to the first network device, including: The terminal device sends a wireless measurement action frame to the first network device, the wireless measurement action frame includes a neighboring cell measurement reporting field, and the neighboring cell measurement result is carried in the neighboring cell measurement reporting field.
19. The method according to claim 17, It is characterized in that The terminal device receiving the neighboring area measurement configuration from the first network device includes: The terminal device receives an association response or a re-association response from the first network device, where the association response or the re-association response includes the neighboring cell measurement configuration.
20. The method according to claim 19, It is characterized in that The association response or the re-association response includes a vendor-specific field, and the neighboring cell measurement configuration is carried in the vendor-specific field.
21. The method according to claim 19 or 20, It is characterized in that Also includes: The terminal device receives neighboring area measurement update information from the first network device, where the neighboring area measurement update information is used to update the neighboring area of the first network device.
22. The method according to claim 21, It is characterized in that The terminal device receives neighboring area measurement update information from the first network device, including: The terminal device receives a wireless measurement request frame from the first network device, the wireless measurement request frame includes a neighboring cell measurement update field, and the neighboring cell measurement update information is carried in the neighboring cell measurement update field.
23. The method according to claim 22, It is characterized in that The wireless measurement request frame also includes a neighboring area measurement stop field, and the neighboring area measurement stop field carries neighboring area measurement stop information, and the neighboring area measurement stop information is used to indicate to stop measuring the neighboring area.
24. A first network device, It is characterized in that include: A determination module, configured to determine to switch the terminal device from the first network device to the second network device according to a neighboring cell measurement result, wherein the neighboring cell measurement result includes an identifier of the neighboring cell and a signal quality of the neighboring cell; a sending module, configured to send capability information and first authentication information of the terminal device to the second network device, wherein the first authentication information is used by the second network device to perform link authentication on the terminal device, and the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device; a receiving module, configured to receive access permission information from the second network device, wherein the access permission information is used to indicate that the terminal device is allowed to access the second network device, wherein the access permission information is generated by the second network device according to the capability information of the terminal device, the first authentication information and its own policy, and the own policy is whether the interval between the access time of the last access of the terminal device to the second network device and the current time is less than the first interval time; The sending module is further used to send a second switching command to the terminal device, where the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes second authentication information; The receiving module is further used to receive a second switching command response from the terminal device, where the second switching command response is used to indicate that the terminal device is ready for switching; The sending module is further used to send a state transition command to the second network device, where the state transition command is used to indicate that the terminal device is ready for switching.
25. The device according to claim 24, It is characterized in that The second authentication information includes the authentication random number.
26. Apparatus according to claim 24 or 25, It is characterized in that The sending module sends the capability information of the terminal device and the first authentication information to the second network device, including: Sending a first switching command to the second network device, where the first switching command includes capability information of the terminal device and first authentication information; The receiving module receives access permission information from the second network device, including: A first handover command response is received from the second network device, wherein the first handover command response includes the access permission information.
27. The apparatus according to claim 24 or 25, It is characterized in that The receiving module is further configured to receive a path switching command from the second network device after the terminal device accesses the second network device, wherein the path switching command is used to instruct the terminal device to update routing information; The sending module is further used to send a path switching command response to the second network device, where the path switching command response is used to indicate whether the routing information is updated successfully or failed.
28. The apparatus according to claim 24 or 25, It is characterized in that Also includes: A data forwarding module is used to forward data of the terminal device with the second network device.
29. The apparatus according to claim 24 or 25, It is characterized in that The receiving module is further used to: receive the neighboring area measurement result of the first network device from the terminal device.
30. A second network device, It is characterized in that include: A receiving module, configured to receive capability information and first authentication information of a terminal device from a first network device, the terminal device having been connected to the first network device, the first authentication information being used by the second network device to perform link authentication on the terminal device, the first authentication information comprising an authentication random number, the authentication random number being generated by the first network device; a sending module, configured to generate access permission information according to the capability information of the terminal device, the first authentication information and its own policy, and send the access permission information to the first network device, wherein the access permission information is used to indicate that the terminal device is allowed to access the second network device, and the own policy is whether the interval between the access time of the last access of the terminal device to the second network device and the current time is less than the first interval time; The receiving module is further used to receive a state conversion command from the first network device, wherein the state conversion command is used to indicate that the terminal device is ready for switching; The sending module is further used to send a first message to the terminal device, where the first message is used to indicate that the link authentication between the second network device and the terminal device is successful; An association module is used to associate the second network device with the terminal device.
31. The device according to claim 30, It is characterized in that The association module is specifically used for: receiving a reassociation request from the terminal device; A reassociation response is sent to the terminal device.
32. The apparatus according to claim 30 or 31, It is characterized in that The receiving module receives capability information and first authentication information of a terminal device from a first network device, including: receiving a switching request from the first network device, the switching request including capability information of the terminal device and the first authentication information; The sending module sends access permission information to the first network device, including: A handover request response is sent to the first network device, wherein the handover request response includes the access permission information.
33. The apparatus according to claim 30 or 31, It is characterized in that The first message is an authentication response or a quick switch action response.
34. The apparatus according to claim 30 or 31, It is characterized in that The sending module is further used to send a path switching command to the first network device after the second network device is associated with the terminal device, wherein the path switching command is used to instruct the terminal device to update routing information; The receiving module is further used to receive a path switching command response from the first network device, where the path switching command response is used to indicate whether the routing information is updated successfully or failed.
35. The apparatus according to claim 30 or 31, It is characterized in that Also includes: A data forwarding module is used to forward data of the terminal device with the first network device.
36. A terminal device, It is characterized in that include: A receiving module, configured to receive a second switching command from the first network device, wherein the second switching command is used to instruct the terminal device to switch to the second network device, and the second switching command includes second authentication information; A sending module, used for sending a second switching command response to the first network device, where the second switching command response is used to indicate that the terminal device is ready for switching; The receiving module is further used to receive a first message sent by the second network device, where the first message is used to indicate that the link authentication between the second network device and the terminal device is successful; an associating module, configured to associate the terminal device with the second network device in response to the first message; The sending module, before the receiving module receives the second switching command from the first network device, is further specifically configured to: Sending a neighboring area measurement result to a first network device, where the terminal device has been connected to the first network device, and the neighboring area measurement result is used by the first network device to send capability information and first authentication information of the terminal device to the second network device after determining to switch the terminal device to the second network device, where the first authentication information is used by the second network device to perform link authentication on the terminal device, the first authentication information includes an authentication random number, and the authentication random number is generated by the first network device, and the neighboring area measurement result includes an identifier of a neighboring area and a signal quality of the neighboring area; In a case where the second network device allows the terminal device to access, the sending module executes sending a second switching command response to the first network device.
37. The apparatus according to claim 36, It is characterized in that The association module is specifically used for: Sending an association request to the second network device; An association response is received from the second network device.
38. Apparatus according to claim 36 or 37, It is characterized in that The first message is an authentication response or a quick switch action response.
39. The device according to claim 36 or 37, characterized in that include: The measurement module is used to perform neighboring cell measurement according to the neighboring cell measurement configuration.
40. The apparatus according to claim 39, It is characterized in that The receiving module is also used for: The neighboring cell measurement configuration is received from the first network device, where the neighboring cell measurement configuration is used to configure a neighboring cell and measurement resources of the neighboring cell of the first network device.
41. The apparatus according to claim 40, It is characterized in that The sending module sends the neighboring area measurement result to the first network device, including: A wireless measurement action frame is sent to the first network device, where the wireless measurement action frame includes a neighboring cell measurement reporting field, and the neighboring cell measurement result is carried in the neighboring cell measurement reporting field.
42. The apparatus according to claim 40, It is characterized in that The receiving module receives the neighboring area measurement configuration from the first network device, including: An association response or a re-association response is received from the first network device, where the association response or the re-association response includes the neighboring cell measurement configuration.
43. The apparatus according to claim 42, It is characterized in that The association response or the re-association response includes a vendor-specific field, and the neighboring cell measurement configuration is carried in the vendor-specific field.
44. The apparatus according to any one of claims 40 to 43, It is characterized in that The receiving module is also used for: The terminal device receives neighboring area measurement update information from the first network device, where the neighboring area measurement update information is used to update the neighboring area of the first network device.
45. The apparatus according to claim 44, It is characterized in that The receiving module receives neighboring area measurement update information from the first network device, including: A wireless measurement request frame is received from the first network device, where the wireless measurement request frame includes a neighboring cell measurement update field, and the neighboring cell measurement update information is carried in the neighboring cell measurement update field.
46. The apparatus according to claim 45, It is characterized in that The wireless measurement request frame also includes a neighboring area measurement stop field, and the neighboring area measurement stop field carries neighboring area measurement stop information, and the neighboring area measurement stop information is used to indicate to stop measuring the neighboring area.
47. A first network device, It is characterized in that It comprises a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the network device executes the method as described in any one of claims 1-6.
48. A second network device, It is characterized in that It comprises a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the network device executes the method as described in any one of claims 7-12.
49. A terminal device, It is characterized in that It includes a processor, a memory and a transceiver, the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the terminal device executes the method as described in any one of claims 13-23.
50. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, which, when executed, enable a computer to perform the method according to any one of claims 1 to 6.
51. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, which, when executed, enable a computer to perform the method according to any one of claims 7 to 12.
52. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, which, when executed, cause a computer to perform the method according to any one of claims 13 to 23.
53. A computer program product, It is characterized in that The computer program product comprises instructions, which, when executed, cause a computer to perform the method according to any one of claims 1 to 6.
54. A computer program product, It is characterized in that The computer program product comprises instructions which, when executed, cause a computer to perform the method according to any one of claims 7 to 12.
55. A computer program product, It is characterized in that The computer program product comprises instructions which, when executed, cause a computer to perform the method according to any one of claims 13 to 23.
56. A communication system, It is characterized in that The communication system includes a first network device, a second network device and a terminal device, the first network device is used to execute the method as described in any one of claims 1-6, the second network device is used to execute the method as described in any one of claims 7-12, and the terminal device is used to execute the method as described in any one of claims 13-23.
57. A chip, the chip is applied to a terminal device, It is characterized in that The chip includes at least one communication interface, at least one processor, and at least one memory, wherein the memory is used to store instructions. The communication interface, memory, and processor are interconnected via a bus, and the processor executes the instructions stored in the memory, so that the chip can execute the method described in any one of claims 13-23.
Citation Information
Patent Citations
Cell switching method and device in multi-carrier aggregation system
CN101808374A
AP (access point) switching method, device and system
CN108966302A
Communication method, source base station, target base station, core network device, and terminal device
CN109392038A
Switching method, terminal device and network equipment
CN110035464A
Switching method and device in wireless local area network
WO2015101040A1
