Terminal roaming control and method and device for generating roaming strategy library
By acquiring and matching the roaming policy library through the gateway device, the terminal is controlled to perform channel changes and power adjustments, which solves the problems of low roaming handover efficiency and poor communication quality in wireless networks, and realizes efficient terminal roaming and high-quality communication.
Patent Information
- Application Number
- CN202111006333.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-30
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2041-08-30
AI Technical Summary
In existing technologies, when a terminal roams and switches in a wireless network, there is a problem of low signal strength affecting communication quality or wasting resources, especially due to low efficiency and poor communication quality caused by the mismatch between the roaming and switching thresholds of the AP and the terminal.
The gateway device obtains the roaming policy library, matches the most suitable roaming policy based on the terminal's roaming capability information, and controls the terminal to change channels, reduce power, or forcibly disconnect to achieve efficient roaming handover.
This improves the efficiency and communication quality of terminal roaming, avoids resource waste, and ensures that signal strength meets business requirements.
Smart Images

Figure CN115734301B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the network technical field, in particular to a terminal roaming control method and a roaming policy library generation method and device. BACKGROUND
[0002] The process that a terminal switches from a current connected access point (AP) to another AP is called roaming.
[0003] In a wireless network, a superior device (for example, a gateway device) of an AP controls terminal roaming by sending a switching instruction to a terminal when a signal strength between the terminal and the AP is lower than a threshold, instructing the terminal to perform roaming switching. SUMMARY
[0004] The present application provides a terminal roaming control method and a roaming policy library generation method and device, which can improve roaming efficiency and communication quality.
[0005] In a first aspect, the present application provides a terminal roaming control method, which is executed by a gateway device and includes the following steps: the gateway device acquires a roaming policy library; the gateway device acquires a first roaming policy matched with a first terminal from the roaming policy library according to the roaming policy library, the first terminal being a terminal connected to the gateway device; and the gateway device controls the first terminal to perform roaming according to the first roaming policy. The roaming capability information is used to describe various indicators involved in roaming of the first terminal.
[0006] In this implementation, a roaming policy matched with the first terminal is determined from the roaming policy library, so that the determined roaming policy is most matched with the capability of the first terminal, enabling the first terminal to successfully implement roaming according to the roaming policy, thereby ensuring roaming efficiency and communication quality of the terminal.
[0007] Here, controlling roaming of the first terminal means that when the first terminal is moving, when a roaming switching condition (for example, a signal strength reaching a threshold) in the roaming policy is met, the terminal is controlled to perform roaming switching according to the roaming policy. The control includes but is not limited to: controlling the first terminal to change a channel; reducing a management power of the first terminal; and forcibly disconnecting the first terminal. The above-mentioned manners are usually used for terminals capable of automatically performing switching. For some terminals, a threshold set for switching is too high, causing the signal strength to be too low before the terminal performs roaming switching, affecting operation of a terminal service. The above-mentioned manners can enable the terminal to forcibly perform roaming switching by changing a channel, reducing power, and forcibly kicking out (disconnecting) before the terminal performs switching, thereby ensuring the signal strength. The channel changing can enable roaming switching between APs and roaming switching between 2.4G and 5G in the same AP.
[0008] In addition, if the roaming switching threshold of the AP is low, the AP sends a switching instruction before the terminal initiates switching, but if the terminal does not follow the opinion of the AP, the instruction will waste resources, and the scheme of the present application forces switching without the need for the AP to send an instruction, thereby saving resources.
[0009] In addition to the roaming strategy described above, the roaming strategy of the present application also includes: not performing active roaming control, and completing roaming by the terminal autonomously; controlling multiple APs to provide independent wireless fidelity (WIFI) access for the terminal, for example, repeatedly switching between multiple APs when the terminal does not move, for such a terminal, only one AP of the multiple APs can access the terminal, and the remaining APs do not respond to the access request of the AP, thereby realizing independent WIFI access.
[0010] Exemplarily, the roaming capability information includes at least one of the following:
[0011] Mobility, radio frequency capability, roaming protocol capability, roaming behavior after switching, autonomous switching capability.
[0012] The mobility refers to whether the terminal is a mobile terminal, for example, a mobile phone, a notebook computer, a tablet computer, etc. have mobility, while a desktop computer does not have mobility. The radio frequency capability includes whether to support dual frequency, transmit power, receive sensitivity, power difference between 2.4G and 5G, etc. The roaming protocol capability refers to whether the terminal supports 802.11kvr, 802.11kv, 802.11r, etc. The roaming behavior after switching includes normal roaming, sticky terminal, and subsequent access problems caused by being kicked, etc. The sticky terminal refers to a terminal that is still connected to the original AP after being kicked. The autonomous switching capability refers to whether the roaming switching is performed autonomously by the terminal or needs to be controlled by the AP to complete the switching.
[0013] In the implementation manner of the present application, the manner of obtaining the roaming strategy matching the roaming capability information of the first terminal includes at least the following two manners:
[0014] The first manner is to obtain the roaming capability information of the first terminal, and determine the roaming strategy matching the roaming capability information of the first terminal. That is, before determining the roaming strategy matching the roaming capability information of the first terminal, the method needs to obtain the roaming capability information of the first terminal.
[0015] Exemplarily, the roaming capability information of the first terminal is obtained by:
[0016] Obtaining the device index of the first terminal.
[0017] Determining the roaming capability information of the first terminal according to the device index of the first terminal.
[0018] Exemplarily, the device index is at least one of a device model and a media access control (MAC) address.
[0019] The correspondence between the device index and the roaming capability information is configured in advance by the network management device to the gateway device, so that the gateway device can accurately determine the roaming capability information of the first terminal.
[0020] Exemplarily, the roaming policy library includes roaming sub-policies corresponding to respective roaming capability information of the first terminal at different values; it should be noted that the roaming capability information of different terminals in the present application involves the same items, but the values of the same item of roaming capability information of different terminals may be the same or different, so here "the respective roaming capability information of the first terminal at different values" actually covers the value conditions of the roaming capability information that any terminal may have, that is, the roaming policy library can be used to determine the roaming sub-policies corresponding to any terminal. When a terminal is selected as the first terminal, the values of the respective roaming capability information of the first terminal are determined, and thus the roaming policy can be determined through the roaming policy library.
[0021] Exemplarily, the first roaming policy matched with the first terminal is obtained, including:
[0022] determining a plurality of roaming sub-policies corresponding to the first terminal based on the roaming sub-policies corresponding to the respective roaming capability information of the first terminal at different values;
[0023] obtaining the first roaming policy based on the plurality of roaming sub-policies corresponding to the first terminal.
[0024] Here, the roaming policy is determined for the first terminal according to the roaming capability of the first terminal, so that the determined roaming policy is most matched with the capability of the first terminal, and the first terminal can successfully implement roaming according to the roaming policy.
[0025] The roaming policy library is configured in advance by the network management device to the gateway device, so that the gateway device can accurately determine the roaming policy matched with the roaming capability information of the first terminal.
[0026] Exemplarily, the roaming sub-policies corresponding to the respective roaming capability information of the first terminal at different values include at least one of:
[0027] a first roaming sub-policy corresponding to the mobility of the first terminal at different values, the first roaming sub-policy being used to indicate whether the terminal roams;
[0028] a second roaming sub-policy corresponding to the radio frequency capability of the first terminal at different values, the second roaming sub-policy being used to indicate a roaming parameter when the terminal roams;
[0029] The roaming agreement capability of the first terminal corresponds to a third roaming sub-strategy at different values, and the third roaming sub-strategy is used to indicate a roaming agreement or a switching mode of the terminal.
[0030] The roaming behavior of the first terminal after performing switching corresponds to a fourth roaming sub-strategy at different values, and the fourth roaming sub-strategy is used to indicate whether the terminal performs roaming and a switching mode when the terminal performs roaming.
[0031] The autonomous switching capability of the first terminal corresponds to a fifth roaming sub-strategy at different values, and the fifth roaming sub-strategy is used to indicate a switching subject when the terminal performs roaming.
[0032] For example, based on the plurality of roaming sub-strategies corresponding to the first terminal, a first roaming strategy is obtained, including:
[0033] When all the roaming sub-strategies corresponding to the first terminal indicate that roaming is performed, at least one of a roaming agreement, a roaming parameter, a switching mode, and a switching subject when roaming is performed is determined from the plurality of roaming sub-strategies corresponding to the first terminal, and the first roaming strategy is obtained.
[0034] Any one of the roaming agreement, the roaming parameter, the switching mode, and the switching subject adopts a default value if the any one is not limited in the roaming strategy.
[0035] Optionally, when the roaming sub-strategy corresponding to any item in the roaming capability information of the first terminal is not to perform roaming, it is determined that the roaming strategy matched by the roaming capability information of the first terminal is not to perform roaming.
[0036] Optionally, the method further includes:
[0037] Receiving the correspondence between the device index and the roaming capability information and the roaming strategy library sent by the network management device.
[0038] Secondly, obtaining a device index of the first terminal; and determining a roaming strategy matched by the roaming capability information of the first terminal according to the device index.
[0039] For example, the roaming strategy library includes a correspondence between a device index and a roaming strategy.
[0040] Obtaining a first roaming strategy matched by the first terminal includes:
[0041] Obtaining a device index of the first terminal.
[0042] Determining a first roaming strategy corresponding to the device index of the first terminal according to the correspondence between the device index and the roaming strategy.
[0043] In a possible implementation manner of the present application, controlling the first terminal to perform roaming according to the roaming strategy includes:
[0044] When the first terminal satisfies the roaming switching condition in the roaming policy, the first terminal is controlled in at least one of the following manners to make the first terminal roam:
[0045] The first terminal is controlled to change a channel, to reduce a management power of the first terminal, and to force the first terminal to disconnect.
[0046] In a second aspect, the present application provides a method for generating a roaming policy library, the method comprising:
[0047] The network management device acquires roaming data;
[0048] The network management device generates a roaming policy library according to the roaming data, the roaming policy library being used for the gateway device to acquire a first roaming policy matched with the first terminal, and to control the first terminal to roam according to the first roaming policy, the first terminal being a terminal connected to the gateway device.
[0049] In this implementation manner, the gateway device generates the roaming policy library according to the roaming data, so that the gateway device can determine a matched roaming policy for the first terminal from the roaming policy library, and thus the determined roaming policy is most matched with the capability of the first terminal, and if the first terminal has the roaming capability, the first terminal can successfully implement roaming according to the roaming policy, thereby ensuring the roaming efficiency and the communication quality of the terminal.
[0050] Optionally, the roaming policy library comprises roaming sub-policies respectively corresponding to different values of each item of roaming capability information of the first terminal.
[0051] The roaming policy library is generated according to the roaming data, comprising:
[0052] Based on the roaming data, a terminal roaming behavior library is constructed, the terminal roaming behavior library comprising each item of roaming capability information and a roaming fingerprint of a plurality of terminals;
[0053] According to each item of roaming capability information and the roaming fingerprint of the plurality of terminals, roaming sub-policies respectively corresponding to different values of each item of roaming capability information of the first terminal are determined.
[0054] Optionally, the method further comprises:
[0055] Device information and roaming behavior records of the plurality of terminals are acquired;
[0056] According to the device information and the roaming behavior records of the plurality of terminals, each item of roaming capability information of the plurality of terminals is determined.
[0057] According to a device index in the device information of the plurality of terminals, a corresponding relationship between the device index and the roaming capability information is generated, so as to be used by the gateway device to determine the roaming capability information of the first terminal.
[0058] send the correspondence between the device index and the roaming capability information to the gateway device.
[0059] Optionally, the roaming capability information of each of the plurality of terminals is determined according to the device information and the roaming behavior record of the plurality of terminals, including:
[0060] determining a second terminal in the plurality of terminals that does not support the fast roaming protocol according to at least one of the device information and the roaming behavior record of the plurality of terminals;
[0061] determining the roaming behavior after switching of the second terminal according to the roaming capability information of the second terminal in the following manner:
[0062] sending an instruction to the gateway device, the instruction being used to instruct the gateway device to control the second terminal to disconnect from the network when the signal strength of the second terminal is lower than a threshold value;
[0063] if the second terminal successfully switches after disconnecting from the network, determining that the roaming behavior after switching of the second terminal is normal roaming; if the second terminal is still connected to the original access device, determining that the roaming behavior after switching of the second terminal belongs to the roaming behavior of a sticky terminal; if the second terminal cannot normally access, determining that the roaming behavior after switching of the second terminal has an access problem.
[0064] Optionally, the roaming capability information includes at least one of:
[0065] mobility, radio frequency capability, roaming protocol capability, roaming behavior after switching, autonomous switching capability.
[0066] Optionally, the roaming policy library includes a correspondence between the device index and the roaming policy;
[0067] generating the roaming policy library according to the roaming data, including:
[0068] constructing a terminal roaming behavior library based on the roaming data, the terminal roaming behavior library including the roaming capability information of each of the plurality of terminals and the roaming fingerprint;
[0069] determining a roaming sub-policy corresponding to each of the roaming capability information of the first terminal at different values according to the roaming capability information of each of the plurality of terminals and the roaming fingerprint;
[0070] determining a plurality of roaming sub-policies corresponding to a third terminal in the plurality of terminals based on the roaming sub-policy corresponding to each of the roaming capability information of the first terminal at different values, the third terminal being any terminal in the plurality of terminals;
[0071] obtaining the roaming policy of the third terminal based on the plurality of roaming sub-policies corresponding to the third terminal;
[0072] The roaming strategy of the third terminal is associated with the device index of the third terminal, so as to obtain a corresponding relationship between the device index and the roaming strategy.
[0073] Optionally, the device index is at least one of a device model and a media access control (MAC) address.
[0074] Optionally, the method further comprises:
[0075] The roaming strategy library is sent to a gateway device.
[0076] In a third aspect, the present application provides a terminal roaming control apparatus, which comprises:
[0077] a first obtaining unit configured to obtain a roaming strategy library;
[0078] a second obtaining unit configured to obtain, according to the roaming strategy library, a first roaming strategy matched with a first terminal connected to the terminal roaming control apparatus;
[0079] a control unit configured to control the first terminal to roam according to the first roaming strategy.
[0080] Optionally, the roaming strategy library comprises roaming sub-strategies respectively corresponding to different values of each item of roaming capability information of the first terminal.
[0081] The second obtaining unit is configured to determine, based on the roaming sub-strategies respectively corresponding to different values of each item of roaming capability information of the first terminal, a plurality of roaming sub-strategies corresponding to the first terminal; and obtain the first roaming strategy based on the plurality of roaming sub-strategies corresponding to the first terminal.
[0082] Optionally, the roaming sub-strategies respectively corresponding to different values of each item of roaming capability information of the first terminal comprise at least one of:
[0083] a first roaming sub-strategy respectively corresponding to different values of mobility of the first terminal, the first roaming sub-strategy being used to indicate whether the terminal roams;
[0084] a second roaming sub-strategy respectively corresponding to different values of radio frequency capability of the first terminal, the second roaming sub-strategy being used to indicate a roaming parameter when the terminal roams;
[0085] a third roaming sub-strategy respectively corresponding to different values of roaming protocol capability of the first terminal, the third roaming sub-strategy being used to indicate a roaming protocol or a switching mode of the terminal;
[0086] a fourth roaming sub-strategy respectively corresponding to different values of roaming behavior of the first terminal after performing switching, the fourth roaming sub-strategy being used to indicate whether the terminal roams and a switching mode when the terminal roams;
[0087] The autonomous handover capability of the first terminal corresponds to a fifth roaming sub-strategy, and the fifth roaming sub-strategy is used to indicate a handover subject when the terminal roams.
[0088] Optionally, the second obtaining unit is configured to determine at least one of a roaming agreement, a roaming parameter, a handover mode, and a handover subject when roaming from the plurality of roaming sub-strategies corresponding to the first terminal when all the roaming sub-strategies corresponding to the first terminal indicate roaming, and obtain a first roaming strategy.
[0089] Optionally, the first obtaining unit is further configured to obtain a device index of the first terminal before obtaining the first roaming strategy matched with the first terminal; and determine roaming capability information of the first terminal according to the device index of the first terminal.
[0090] Optionally, the roaming capability information includes at least one of the following:
[0091] mobility, radio frequency capability, roaming agreement capability, roaming behavior after performing handover, autonomous handover capability.
[0092] Optionally, the roaming strategy library includes a correspondence between a device index and a roaming strategy.
[0093] The second obtaining unit is configured to obtain a device index of the first terminal; and determine a first roaming strategy corresponding to the device index of the first terminal according to the correspondence between the device index and the roaming strategy.
[0094] Optionally, the device index is at least one of a device model and a medium access control (MAC) address.
[0095] Optionally, the control unit is configured to control the first terminal in at least one of the following manners to make the first terminal roam when the first terminal meets a roaming handover condition in the roaming strategy: control the first terminal to change a channel; reduce a management power of the first terminal; and force the first terminal to disconnect.
[0096] In a fourth aspect, the present application provides a device for generating a roaming strategy library, and the device includes:
[0097] The obtaining unit is configured to obtain roaming data.
[0098] The processing unit is configured to generate the roaming strategy library according to the roaming data, and the roaming strategy library is used for a gateway device to obtain a first roaming strategy matched with a first terminal, and control the first terminal to roam according to the first roaming strategy, the first terminal being a terminal connected to the gateway device.
[0099] Optionally, the roaming strategy library includes roaming sub-strategies corresponding to each roaming capability information of the first terminal at different values.
[0100] The processing unit is configured to construct a terminal roaming behavior library based on the roaming data, the terminal roaming behavior library comprising roaming capability information and roaming fingerprints of a plurality of terminals; and determine respective roaming sub-strategies corresponding to respective roaming capability information of the first terminal at different values according to the roaming capability information and the roaming fingerprints of the plurality of terminals.
[0101] Optionally, the obtaining unit is further configured to obtain device information and roaming behavior records of the plurality of terminals.
[0102] The processing unit is further configured to determine the roaming capability information of the plurality of terminals according to the device information and the roaming behavior records of the plurality of terminals; and generate a correspondence between the device index and the roaming capability information according to the device index in the device information of the plurality of terminals, so as to enable the gateway device to determine the roaming capability information of the first terminal.
[0103] The apparatus further comprises a sending unit configured to send the correspondence between the device index and the roaming capability information to the gateway device.
[0104] Optionally, the processing unit is configured to determine a second terminal that does not support a fast roaming protocol from the plurality of terminals according to at least one of the device information and the roaming behavior records of the plurality of terminals; and determine the roaming behavior after performing handover in the roaming capability information of the second terminal in the following manner.
[0105] The control sending unit is configured to send an instruction to the gateway device, the instruction being used to instruct the gateway device to control the second terminal to disconnect from a network when a signal strength of the second terminal is lower than a threshold value.
[0106] If the second terminal successfully performs handover after disconnecting from the network, it is determined that the roaming behavior after performing handover of the second terminal is normal roaming; if the second terminal is still connected to the original access device, it is determined that the roaming behavior after performing handover of the second terminal belongs to the roaming behavior of a sticky terminal; and if the second terminal cannot normally access, it is determined that there is an access problem in the roaming behavior after performing handover of the second terminal.
[0107] Optionally, the roaming capability information comprises at least one of the following:
[0108] mobility, radio frequency capability, roaming protocol capability, roaming behavior after performing handover, autonomous handover capability.
[0109] Optionally, the roaming strategy library comprises a correspondence between a device index and a roaming strategy.
[0110] The processing unit is configured to construct a terminal roaming behavior library based on the roaming data, the terminal roaming behavior library comprising roaming capability information and roaming fingerprints of a plurality of terminals; determine roaming sub-strategies corresponding to the roaming capability information of the first terminal at different values respectively according to the roaming capability information and the roaming fingerprints of the plurality of terminals; determine a plurality of roaming sub-strategies corresponding to a third terminal in the plurality of terminals based on the roaming sub-strategies corresponding to the roaming capability information of the first terminal at different values respectively, the third terminal being any terminal in the plurality of terminals; obtain a roaming strategy of the third terminal based on the plurality of roaming sub-strategies corresponding to the third terminal; and associate the roaming strategy of the third terminal with a device index of the third terminal to obtain a correspondence between the device index and the roaming strategy.
[0111] Optionally, the device index is at least one of a device model and a media access control (MAC) address.
[0112] Optionally, the apparatus further comprises:
[0113] The sending unit is configured to send the roaming strategy library to a gateway device.
[0114] In a fifth aspect, the present application provides a gateway device, the gateway device comprising a processor and a memory; the memory is configured to store software programs and modules, and the processor is configured to implement the method in any possible implementation manner of the first aspect by running or executing the software programs and / or modules stored in the memory.
[0115] Optionally, the processor is one or more, and the memory is one or more.
[0116] Optionally, the memory can be integrated with the processor, or the memory and the processor are separately arranged.
[0117] In the implementation process, the memory can be a non-transitory memory, for example, a read only memory (ROM), which can be integrated on the same chip with the processor, or can be arranged on different chips respectively, and the type of the memory and the arrangement manner of the memory and the processor are not limited in the present application.
[0118] In a sixth aspect, the present application provides a network management device, the network management device comprising a processor and a memory; the memory is configured to store software programs and modules, and the processor is configured to implement the method in any possible implementation manner of the second aspect by running or executing the software programs and / or modules stored in the memory.
[0119] In a seventh aspect, the present application provides a computer program (product), which comprises computer program code, which, when executed by a computer, causes the computer to perform the method in any possible implementation of the first aspect or the second aspect.
[0120] In an eighth aspect, the present application provides a computer readable storage medium for storing program code executed by a processor, the program code comprising instructions for implementing the method in any possible implementation of the first aspect or the second aspect.
[0121] In a ninth aspect, a chip is provided, comprising a processor configured to invoke and execute instructions stored in a memory, so that a communication device installed with the chip performs the method in any possible implementation of the first aspect or the second aspect.
[0122] In a tenth aspect, another chip is provided, comprising an input interface, an output interface, a processor and a memory, which are connected through internal connection paths, and the processor is configured to execute code in the memory, and when the code is executed, the processor is configured to perform the method in any possible implementation of the first aspect or the second aspect. BRIEF DESCRIPTION OF DRAWINGS
[0123] Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0124] Figure 2 is a structural schematic diagram of a gateway device provided by an embodiment of the present application;
[0125] Figure 3 is a structural schematic diagram of a network management device provided by an embodiment of the present application;
[0126] Figure 4 is a flowchart of a terminal roaming control method provided by an embodiment of the present application;
[0127] Figure 5 is a flowchart of another terminal roaming control method provided by an embodiment of the present application;
[0128] Figure 6 is a flowchart of another terminal roaming control method provided by an embodiment of the present application;
[0129] Figure 7 is a schematic diagram of a sticky terminal verification process provided by an embodiment of the present application;
[0130] Figure 8is a schematic diagram of a terminal roaming control method provided by an embodiment of the present application;
[0131] Figure 9 is a structural schematic diagram of a terminal roaming control device provided by an embodiment of the present application;
[0132] Figure 10 is a structural schematic diagram of a terminal roaming control device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0133] For the purpose, technical solutions and advantages of the present application to be clearer, the embodiments of the present application will be described in further detail below with reference to the drawings.
[0134] For the purpose, technical solutions and advantages of the present application to be clearer, the embodiments of the present application will be described in further detail below with reference to the drawings.
[0135] In the home network scenario, the terminal is also a station (STA), for example, a mobile phone, a tablet computer, a notebook computer, a smart wearable device, etc.; the access device is an AP, the AP is a wireless fidelity (WIFI) relay device, used for enhancing the coverage of the home network; the gateway device is an optical network terminal (ONT), the ONT is installed with a gateway agent, the agent is a runnable program, used for realizing the connection between the network management device and the gateway device (the ONT does not connect to the network management device by default); the network management device is a cloud management system, for example, a network cloud engine (NCE), used for remotely managing the home gateway.
[0136] Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present application. Referring to Figure 1 , one NCE 100 connects multiple ONTs 200, one ONT 200 serves as a gateway of one family, and can be connected with multiple APs 300 below, and the STA 400 accesses one of the APs 300, when the STA 400 moves, it can be switched from the originally accessed AP 300 to a new AP 300, thereby realizing roaming.
[0137] The roaming is determined by the AP and the terminal together, different terminals and APs have different capabilities, which can cause the following problems to occur:
[0138] When a terminal and an access point (AP) perform roaming handover, the handover thresholds may differ. For example, if the AP's roaming handover threshold is lower than the terminal's handover threshold, the AP may send a handover command before the terminal initiates the handover. However, if the terminal does not heed the AP's advice, the command will waste resources. Furthermore, if the terminal's roaming handover threshold is too high, the signal strength may be too low and the communication quality may be poor before the terminal initiates roaming, failing to meet the terminal's service requirements.
[0139] If the terminal falsely supports the 802.11kv protocol (the terminal claims to support the protocol but does not actually support it in operation), or if the terminal is a sticky terminal (when the signal is weak, it will still connect to the original AP after disconnecting and reconnecting), without intervention, the terminal's roaming efficiency will be poor and the communication quality will be poor, which will not meet the terminal's service requirements.
[0140] Figure 2 for Figure 1 The diagram illustrates a possible hardware structure for a gateway device (such as an ONT) in the application scenario shown. Figure 2 As shown, the gateway device includes a processor 10, a memory 20, and a communication interface 30. Those skilled in the art will understand that... Figure 2 The structure shown does not constitute a limitation on the gateway device and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. Wherein:
[0141] Processor 10 is the control center of the gateway device. It connects various parts of the gateway device via various interfaces and lines. By running or executing software programs stored in memory 20 and calling data stored in memory 20, it performs various functions and processes data, thereby controlling the gateway device as a whole. Processor 10 can be a CPU, or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting Advanced Reduced Instruction Set Computing (RISC) machines (ARM) architecture.
[0142] The memory 20 can be used to store software programs and modules. The processor 10 performs various function applications and data processing by running the software programs and modules stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system 21, a first acquisition module 22, a second acquisition module 23, a control module 24, and an application program 25 (such as an encoding application program, etc.) required by one or more functions, etc.; and the data storage area can store data (such as a service type identification model, etc.) created according to the use of the UE or the target server, etc. The memory 20 can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example, but not limitation, many forms of RAM can be used. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM). Accordingly, the memory 20 can also include a memory controller to provide the processor 10 with access to the memory 20.
[0143] The processor 20 performs the following functions by running the first acquisition module 22: acquiring a roaming policy library; the processor 20 performs the following functions by running the second acquisition module 23: acquiring a first roaming policy matched with a first terminal according to the roaming policy library, the first terminal being a terminal connected to the terminal roaming control device; and the processor 20 performs the following functions by running the control module 24: controlling the first terminal to roam according to the first roaming policy.
[0144] The embodiment of the present application further provides a chip, comprising a processor, the processor is used for calling and running instructions stored in a memory, so that a communication device installed with the chip executes any one of the terminal roaming control methods provided by the present application.
[0145] The embodiment of the present application further provides a chip, comprising an input interface, an output interface, a processor and a memory, the input interface, the output interface, the processor and the memory are connected through internal connection paths, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing any one of the terminal roaming control methods.
[0146] It should be understood that the processor can be a CPU, and can also be other general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. It should be noted that the processor can be a processor supporting ARM architecture.
[0147] Further, in an optional embodiment, the processor is one or more, and the memory is one or more. Optionally, the memory can be integrated with the processor, or the memory is arranged separately from the processor. The memory can include read-only memory and random access memory, and provide instructions and data for the processor. The memory can also include non-volatile random access memory. For example, the memory can also store reference blocks and target blocks.
[0148] The memory can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. The non-volatile memory can be ROM, PROM, EPROM, EEPROM or flash memory. The volatile memory can be RAM, which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, SRAM, DRAM, SDRAM, DDR SDRAM, ESDRAM, SLDRAM and DR RAM.
[0149] Figure 3 For Figure 1 A possible hardware structure of a network management device (such as NCE) in the application scenario shown. As shown in Figure 3 The network management device includes a processor 10, a memory 20 and a communication interface 30. Those skilled in the art can understand that the processor 10 can be a CPU, and can also be other general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. It should be noted that the processor can be a processor supporting ARM architecture. Figure 3 The structure shown in the figure does not constitute a limitation on the network management device, and can include more or fewer components than shown, or combine certain components, or different component arrangements. Among them:
[0150] The processor 10 is a control center of the network management device, connects each part of the network management device by using various interfaces and lines, executes various functions of the network management device and processes data by running or executing software programs stored in the memory 20 and calling data stored in the memory 20, thereby performing overall control on the network management device. The processor 10 can be a CPU, and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. It is worth noting that the processor can be a processor supporting an advanced RISC machine (ARM) architecture.
[0151] The memory 20 can be used to store software programs and modules. The processor 10 performs various function applications and data processing by running the software programs and modules stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system 21, an acquisition module 26, a processing module 27, and application programs 25 (such as an encoding application program, etc.) required by one or more functions, etc.; and the data storage area can store data (such as a service type identification model, etc.) created according to the use of the UE or the target server, etc. The memory 20 can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example, but not limitation, many forms of RAM can be used. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM). Accordingly, the memory 20 can also include a memory controller to provide the processor 10 with access to the memory 20.
[0152] The processor 20 performs the following functions by running the acquisition module 26: acquiring roaming data; the processor 20 performs the following functions by running the processing module 27: generating a roaming policy library according to the roaming data, the roaming policy library being used for the gateway device to acquire a first roaming policy matched with the first terminal, and controlling the first terminal to roam according to the first roaming policy, the first terminal being a terminal connected by the gateway device.
[0153] The embodiment of the present application further provides a chip, comprising a processor, the processor is used for calling and running instructions stored in a memory, so that a communication device installed with the chip executes any one of the roaming policy library generation methods provided by the present application.
[0154] The embodiment of the present application further provides a chip, comprising an input interface, an output interface, a processor and a memory, the input interface, the output interface, the processor and the memory are connected through internal connection paths, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing any one of the terminal roaming control methods.
[0155] It should be understood that the processor can be a CPU, and can also be other general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. It should be noted that the processor can be a processor supporting ARM architecture.
[0156] Further, in an optional embodiment, the processor is one or more, and the memory is one or more. Optionally, the memory can be integrated with the processor, or the memory is arranged separately from the processor. The memory can include read-only memory and random access memory, and provide instructions and data for the processor. The memory can also include non-volatile random access memory. For example, the memory can also store reference blocks and target blocks.
[0157] The memory can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. The non-volatile memory can be ROM, PROM, EPROM, EEPROM or flash memory. The volatile memory can be RAM, which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, SRAM, DRAM, SDRAM, DDR SDRAM, ESDRAM, SLDRAM and DR RAM.
[0158] Figure 4 is a flowchart of a terminal roaming control method provided by the embodiment of the present application. The method can be executed by a gateway device (such as an ONT) in the application scenario shown in Figure 1 , as shown in Figure 4 , the method comprises the following steps.
[0159] S41: The gateway device acquires a roaming policy library.
[0160] The roaming strategy library is used to provide roaming strategies suitable for various terminals, so that the roaming efficiency of the terminal can be improved, thereby improving the communication quality. In addition to the roaming strategy (or roaming sub-strategies constituting the roaming strategy), the roaming strategy library also includes index information corresponding to the roaming strategy, which is used to match the terminal and the roaming strategy, such as roaming capability information or device index.
[0161] S42: The gateway device acquires a first roaming strategy matched with the first terminal according to the roaming strategy library.
[0162] The first terminal is a terminal accessed under the gateway device that executes the method.
[0163] The gateway device acquires a first roaming strategy matched with the roaming capability information of the first terminal. The roaming capability information is used to describe various indicators involved in roaming of the first terminal.
[0164] The roaming capability information includes at least one of the following:
[0165] Mobility, radio frequency capability, roaming protocol capability, roaming behavior after performing handover, autonomous handover capability.
[0166] The mobility refers to whether the terminal is a mobile terminal, such as a mobile phone, a notebook computer, a tablet computer, and the like, which have mobility, while a desktop computer does not have mobility. The radio frequency capability includes whether to support dual frequency, transmit power, receive sensitivity, power difference between 2.4G and 5G, and the like. The roaming protocol capability refers to whether the terminal supports roaming protocols such as 802.11kvr, 802.11kv, 802.11r, and the like. The roaming behavior after performing handover includes normal roaming, sticky terminal, and subsequent access problem caused by being kicked, and the like. The sticky terminal refers to a terminal that is still connected to the original AP after being kicked. The autonomous handover capability refers to whether the roaming handover is performed autonomously by the terminal or needs to be completed by the AP master.
[0167] The roaming strategy matched with the roaming capability information of the first terminal refers to the best roaming scheme that can be achieved within the roaming capability range of the first terminal. If the first terminal can support roaming, the scheme can ensure the roaming efficiency of the first terminal and the communication quality of the terminal.
[0168] In the embodiments of the present application, S41 includes at least the following two ways:
[0169] The first way is to acquire the roaming capability information of the first terminal, and determine the roaming strategy matched with the roaming capability information of the first terminal.
[0170] The second way is to acquire the device index of the first terminal, and determine the roaming strategy matched with the roaming capability information of the first terminal according to the device index.
[0171] S43: The gateway device controls the first terminal to roam according to the first roaming strategy.
[0172] Here, the roaming of the first terminal is controlled, that is, when the first terminal is in the process of moving, when the roaming switching condition in the roaming strategy is met (for example, the signal strength reaches a threshold), the terminal is controlled to perform roaming switching according to the roaming strategy. The control here includes but is not limited to: controlling the first terminal to change the channel; reducing the management power of the first terminal; forcing the first terminal to disconnect, etc. The above-mentioned manner is usually for terminals that can automatically switch. If the threshold of the terminal switching is set too high, the signal strength will be too low before the terminal roaming switches, which will affect the operation of the terminal service. The above-mentioned several ways can make the terminal forcibly perform roaming switching by changing the channel, reducing the power, and forcibly kicking out (disconnecting) before the terminal switches, so as to ensure the signal strength. Among them, changing the channel can realize roaming switching between APs, as well as roaming switching between 2.4G and 5G in the same AP.
[0173] In addition, if the roaming switching threshold of the AP is low, the switching instruction will be sent before the terminal actively switches, but if the terminal does not follow the opinion of the AP, it will cause the instruction to waste resources. By the scheme of the present application, the switching is forcibly performed, and the AP does not need to send the instruction again, thereby saving resources.
[0174] In addition to the above-mentioned roaming strategy, the roaming strategy of the present application also includes: not performing active roaming control, and completing roaming by the terminal autonomously; controlling multiple APs to provide independent wireless fidelity (WIFI) access for the terminal, for example, repeatedly switching between multiple APs when the terminal does not move. For such a terminal, only one AP in the multiple APs can access the terminal, and the remaining APs do not respond to the access request of the AP, thereby realizing independent WIFI access.
[0175] In the embodiment of the present application, a matching roaming strategy is determined for the first terminal from the roaming strategy library, so that the determined roaming strategy and the capability of the first terminal are most matched, so that the first terminal can successfully realize roaming according to the roaming strategy, thereby ensuring the roaming efficiency and the communication quality of the terminal.
[0176] Figure 5 is a flowchart of a roaming strategy library generation method provided by the present application. The method can be executed by the network management device (such as NCE) in the application scenario shown in Figure 1 , and the method includes the following steps. Figure 5
[0177] S51: The network management device obtains roaming data.
[0178] The roaming data includes at least one of laboratory roaming data and network roaming data.
[0179] S52: The network management device generates a roaming policy library according to the roaming data, and the roaming policy library is used for the gateway device to obtain a first roaming policy matched with the first terminal, and control the first terminal to roam according to the first roaming policy. The first terminal is a terminal connected to the gateway device.
[0180] Here, the roaming policy library can be described with reference to Figure 4 the corresponding embodiments.
[0181] In the embodiments of the present application, the gateway device generates a roaming policy library according to the roaming data, so that the gateway device can determine a matched roaming policy for the first terminal from the roaming policy library. In this way, the determined roaming policy is most matched with the capability of the first terminal, and if the first terminal has roaming capability, the first terminal can successfully implement roaming according to the roaming policy, thereby ensuring roaming efficiency and communication quality of the terminal.
[0182] Figure 6 is a flowchart of a terminal roaming control method provided by the embodiments of the present application. The method can be jointly executed by the gateway device (such as an ONT) and the network management device (such as an NCE) in the application scenario shown in Figure 1 , and the method includes the following steps as shown in Figure 6 .
[0183] S60: The network management device sends an information acquisition instruction to the gateway device; and the gateway device receives the information acquisition instruction sent by the network management device.
[0184] Exemplarily, the home network integrates the gateway Agent into the gateway device according to a certain specification. After the gateway Agent is started, the gateway Agent is connected to the network management device through a remote protocol (for example, an MQTT protocol). The network management device of the home network controls the home gateway by sending a request.
[0185] The network management device sends a GET_SUB_DEVICE_LIST command to the gateway Agent through a remote channel, so as to collect device information and roaming behavior records of the terminals connected to the gateway device.
[0186] The remote channel refers to a channel between the network management device and the gateway device.
[0187] S61: The gateway device acquires the device information and the roaming behavior records in response to the information acquisition instruction.
[0188] In the embodiments of the present application, the terminal / access device accesses the gateway device through a dynamic host configuration protocol (DHCP) protocol, and the gateway device records the allocated DHCP information, including: media access control (MAC) address of the device, device name, access frequency band (for example, 2.4 / 5G), negotiated number of antennas (for example, 1*1, 2*2, 4*4, etc.), negotiated rate, Wi-Fi access mode (for example, b: 802.11b; g: 802.11g; n: 802.11n; a: 802.11a; ac: 802.11ac; ax: 802.11ax, etc.), user agent (User Agent), 11kvr support capability, and other device information.
[0189] In the embodiments of the present application, the gateway device obtains the device information in the following manner: obtaining the device information from the recorded DHCP information.
[0190] Optionally, in addition to the device information contained in the DHCP information, the device information further includes a terminal model, and the terminal model is obtained in the following manner: the gateway agent intercepts all hyper text transfer protocol (HTTP) protocol messages, and parses User Agent list information in a HTTP protocol message header to obtain the terminal model.
[0191] Table 1 below shows an example of obtaining the terminal model by parsing the User Agent list information in the HTTP protocol message header.
[0192] Table 1
[0193]
[0194] In the embodiments of the present application, the gateway device obtains the roaming behavior record in the following manner: collecting terminal offline and online messages, and recording roaming events to obtain the roaming behavior record. The roaming behavior record is shown in Table 2 below:
[0195] Table 2: Roaming Behavior Record
[0196]
[0197] In combination with Table 2, the following explains and describes each field in Table 2:
[0198] roamMode: switching mode, taking values supporting internationalization, including the following: 0-11v switching / 1-selected target AP after kicking out / 2-forced to kick out / 3-terminal actively initiates, etc.
[0199] apNameBefore: the name of the upper device before switching, the device name is returned if the upper device exists, and the device model is returned if there is no name;
[0200] apMacBefore: the MAC address of the upper device before switching;
[0201] interval: time delay, unit: millisecond;
[0202] fbtAPMac: MAC address of the service AP;
[0203] fbtAPName: device name of the service AP;
[0204] fbtSTAMac: MAC address of the terminal;
[0205] targetAPMac: MAC address of the target AP of the roaming switching, valid when the roaming switching mode is 0 / 1;
[0206] targetAPName: device name of the target AP of the roaming switching, valid when the roaming switching mode is 0 / 1;
[0207] currentRssi: signal strength of the terminal connecting the current AP, unit: dBm;
[0208] targetRssi: signal strength of the terminal detected by 11k probe to the target AP, unit: dBm;
[0209] fbtResult: roaming result this time, the value is enumerated as follows:
[0210] Canceled - roaming is canceled,
[0211] StaRefused - STA refuses to switch,
[0212] StaNotExecute - STA does not respond to switching,
[0213] ApRefused - target AP refuses,
[0214] TimeOut - timeout;
[0215] SteeringTime: switching time
[0216] SteeringReason: switching reason;
[0217] OldBand: original frequency band;
[0218] OldRSSI: signal strength under the original frequency band, unit: dBm;
[0219] NewBand: New Band;
[0220] NewRSSI: New Band RSSI, unit dBm;
[0221] Result: this result, the value of the following enumeration:
[0222] Success - success,
[0223] Failed - failure.
[0224] It is worth noting that the signal strength collected in the above roaming behavior record is collected periodically (for example, collected once every 5 minutes), that is, the record includes a string of signal strength values.
[0225] S62: The gateway device sends device information and roaming behavior records to the network management device; the network management device receives the device information and roaming behavior records sent by the gateway device.
[0226] S63: The network management device determines the roaming capability information of each terminal according to the device information and roaming behavior records of the plurality of terminals.
[0227] In the embodiments of the present application, the roaming capability information is at least one of:
[0228] mobility, radio frequency capability, roaming protocol capability, roaming behavior after performing handover, autonomous handover capability.
[0229] The network management device determines the above roaming capability information based on the device information and roaming behavior records. The determination method of each item is described below in conjunction with Table 3:
[0230] Table 3
[0231]
[0232]
[0233] Among them, whether the terminal supports dual frequency, in addition to judging according to the maximum model access capability, can also be carried directly in the device information, that is, the device information also includes whether to support dual frequency, this information can be marked by artificial, for example, through the interface or tool of the gateway device. Artificial marking.
[0234] Optionally, the sticky terminal referred to in Table 3 refers to a terminal that is still connected to the original AP after being kicked. When judging the sticky terminal, the scene mainly targets the topology with two or more APs of the same model, because the terminal cannot roam with only one AP, and having multiple APs of the same model excludes the problem that the AP cannot be accessed due to different models.
[0235] For example, the network management device determines a second terminal among the multiple terminals that does not support the Fast Roaming Protocol (802.11kvr) based on at least one of the device information and roaming behavior records of multiple terminals;
[0236] The roaming behavior after the handover is determined in the following manner for each roaming capability information of the second terminal:
[0237] Send a command to the gateway device, which instructs the gateway device to disconnect the network connection of the second terminal when the signal strength of the second terminal is lower than the threshold.
[0238] If the second terminal successfully switches over after disconnecting the network, then the roaming behavior of the second terminal after the switch is determined to be normal roaming (non-sticky terminal); if the second terminal remains connected to the original access device, then the roaming behavior of the second terminal after the switch is determined to be the roaming behavior of a sticky terminal; if the second terminal cannot access the network normally, then the roaming behavior of the second terminal after the switch is determined to have an access problem.
[0239] For terminals that support the Fast Roaming Protocol (802.11kvr), the default behavior after the switchover is normal roaming.
[0240] Figure 7 This is a schematic diagram of the adhesive terminal verification provided in this application. See also... Figure 8 Terminal STA1 401 was originally connected to AP1 301. As terminal STA1 401 moved (the arrow in the diagram indicates the direction of movement), the signal strength between terminal STA1 401 and AP1 gradually weakened. At this point, ONT 200 controlled AP1 301 to disconnect STA1 401. The line marked with an "X" in the diagram was interrupted as STA1 401 was disconnected. STA1 401 then reconnected to AP2 302. This situation indicates that STA1 is not a sticky terminal. If the disconnected STA1 reconnects to AP1, then STA1 is a sticky terminal.
[0241] In addition, most parameters in the roaming capability information acquisition scheme provided by this solution are automatically completed by the roaming learning algorithm, which requires no manual maintenance, making it highly efficient and low-cost.
[0242] Based on Table 3 and the terminal model information, roaming capability information for various terminal models can be obtained, as shown in Table 4:
[0243] Table 4
[0244]
[0245] S64: The network management device generates a correspondence between the device index and the roaming capability information of the multiple terminals according to the device index in the device information of the multiple terminals, so as to enable the gateway device to determine the roaming capability information of the first terminal.
[0246] The device index is at least one of a device model and a MAC address. Table 4 shows a correspondence in which the device model is used as the device index.
[0247] S65: The network management device generates a roaming policy library.
[0248] In a possible implementation, the roaming policy library includes roaming sub-policies corresponding to respective roaming capability information of the terminal at different values (since the terminal here is not limited, the roaming sub-policies corresponding to respective roaming capability information of the first terminal at different values can also be regarded as the roaming sub-policies corresponding to respective roaming capability information of the terminal at different values), and correspondingly, step S65 includes:
[0249] Based on the roaming data, a terminal roaming behavior library is constructed, and the terminal roaming behavior library includes respective roaming capability information and roaming fingerprints of the multiple terminals.
[0250] According to the respective roaming capability information and the roaming fingerprints of the multiple terminals, roaming sub-policies corresponding to respective roaming capability information of the terminal at different values are determined.
[0251] Here, the roaming data includes at least one of laboratory roaming data and network roaming data.
[0252] Exemplarily, the network management device constructs the terminal roaming behavior library based on the roaming data by using a roaming learning algorithm.
[0253] The roaming capability information is similar to Table 3 in step S63, and can be further simplified to the format of Table 5 as follows:
[0254] Table 5
[0255]
[0256] The model corresponds to the mobility and radio frequency capability in Table 3. The roaming protocol capabilities K / V / R represent 802.11k, 802.11kv, and 802.11kvr respectively.
[0257] The roaming fingerprint refers to information of each roaming of the terminal, and the contents included are shown in Table 6. The delay and the packet loss in the roaming fingerprint can indicate success or failure of the roaming.
[0258] Table 6
[0259] Time Way Duration ms Signal dbm Delay ms Packet loss % STA1 16:08 Instruction 220 -72 350 0.8% STA2 17:00 Instruction 250 -68 260 0 STA3 17:25 Autonomous 500 -80 1315 5%
[0260] Exemplarily, according to the roaming capability information and the roaming fingerprint of the plurality of terminals, the roaming sub-strategies corresponding to the roaming capability information of the first terminal in different values are determined, as shown in Table 7:
[0261] According to the mobility in the roaming capability information, whether the terminal needs to perform roaming is determined, and the roaming sub-strategies corresponding to the mobility in different values are obtained. The correspondence between the mobility and whether the terminal needs to perform roaming can be preset in the network management device.
[0262] According to the radio frequency capability in the roaming capability information, a suitable roaming switching mode is determined, for example, whether to perform 2.4G and 5G frequency band roaming; and based on the threshold values of the roaming switching (including successful switching and failed switching) in the roaming fingerprint of the plurality of terminals of the same type, a threshold range suitable for the roaming of the terminal is determined. The determined switching mode and threshold range and the radio frequency capability are corresponded, and the roaming sub-strategies corresponding to the radio frequency capability in different values are obtained.
[0263] According to the roaming protocol capability in the roaming capability information, the switching protocol supported by the terminal is determined, and the roaming sub-strategies corresponding to the roaming protocol capability in different values are obtained.
[0264] According to the roaming behavior after performing switching in the roaming capability information, the switching mode of the terminal is determined, and the roaming sub-strategies corresponding to the roaming behavior after performing switching in different values are obtained. The roaming behavior after performing switching and the switching mode can be preset in the network management device.
[0265] According to the autonomous switching capability in the roaming capability information, whether the gateway performs active control is determined, and the roaming sub-strategies corresponding to the autonomous switching capability in different values are obtained. The autonomous switching capability and whether the gateway performs active control can be preset in the network management device.
[0266] In summary, according to the roaming capability information and the roaming fingerprint of the plurality of terminals, the roaming sub-strategies corresponding to the roaming capability information of the first terminal in different values are determined, as shown in Table 7:
[0267] Table 7
[0268]
[0269]
[0270] In another possible implementation, the roaming strategy library includes a correspondence between the device index and the roaming strategy, and correspondingly, the step S65 includes:
[0271] Based on the roaming data, a terminal roaming behavior library is constructed, and the terminal roaming behavior library includes the roaming capability information and the roaming fingerprint of the plurality of terminals;
[0272] determine, according to the roaming capability information and the roaming fingerprint of each of the plurality of terminals, a plurality of sub-strategies corresponding to the roaming capability information of the first terminal at different values;
[0273] determine, according to the roaming capability information and the roaming fingerprint of each of the plurality of terminals, a plurality of sub-strategies corresponding to the roaming capability information of the first terminal at different values;
[0274] determine, according to the roaming capability information and the roaming fingerprint of each of the plurality of terminals, a plurality of sub-strategies corresponding to the roaming capability information of the first terminal at different values;
[0275] determine, according to the roaming capability information and the roaming fingerprint of each of the plurality of terminals, a plurality of sub-strategies corresponding to the roaming capability information of the first terminal at different values;
[0276] The difference between the first scheme and the second scheme is that, after determining the plurality of sub-strategies corresponding to the roaming capability information of the first terminal at different values, the roaming strategies of different device models or MAC addresses are directly determined and the corresponding relationship is generated, so as to facilitate the use of the gateway device and save the computing resources of the gateway device.
[0277] It should be noted that the order of steps S65 and steps S61-S64 is not limited, for example, steps S65 and steps S61-S64 are performed simultaneously, or step S65 is performed before steps S61-S64, or step S65 is performed after steps S61-S64, etc.
[0278] S66: The network management device sends the first roaming information to the gateway device. The gateway device receives the first roaming information sent by the network management device.
[0279] In the embodiments of the present application, the first roaming information sent by the network management device to the gateway device includes the corresponding relationship between the device index and the roaming capability information and the roaming strategy library. In this case, the roaming strategy library usually includes the plurality of sub-strategies corresponding to the roaming capability information at different values. The subsequent steps are described taking this as an example.
[0280] In other embodiments, the first roaming information only includes the roaming strategy library. In this case, the roaming strategy library includes the corresponding relationship between the device index and the roaming strategy.
[0281] In the present application, the corresponding relationship between the device index and the roaming capability information and the roaming strategy library are sent to the gateway device at the same time, or the corresponding relationship between the device index and the roaming capability information and the roaming strategy library are sent to the gateway device separately.
[0282] Figure 8 The schematic diagram of the roaming control of the home network in the present application is shown, see Figure 8The NCE 100 as the network management device sends the correspondence between the device index and the roaming capability information and the roaming strategy library to the ONT 200 as the gateway device, so that the ONT 200 can realize roaming control on the terminal 400 such as a mobile phone and a notebook computer through the AP 300.
[0283] The gateway device acquires the roaming capability information of the first terminal.
[0284] Exemplarily, the step S67 comprises:
[0285] acquiring the device index of the first terminal;
[0286] determining the roaming capability information of the first terminal according to the device index of the first terminal.
[0287] The gateway device determines the roaming strategy matching the roaming capability information of the first terminal.
[0288] Exemplarily, the step S68 comprises:
[0289] acquiring the first roaming strategy matching the first terminal, comprising:
[0290] determining the multiple roaming sub-strategies corresponding to the first terminal based on the roaming sub-strategies respectively corresponding to different values of each item of the roaming capability information of the first terminal;
[0291] obtaining the first roaming strategy based on the multiple roaming sub-strategies corresponding to the first terminal.
[0292] Exemplarily, the roaming sub-strategies respectively corresponding to different values of each item of the roaming capability information of the first terminal comprise at least one of:
[0293] the first roaming sub-strategy corresponding to different values of the mobility of the first terminal, the first roaming sub-strategy being used for indicating whether the terminal performs roaming;
[0294] the second roaming sub-strategy corresponding to different values of the radio frequency capability of the first terminal, the second roaming sub-strategy being used for indicating the roaming parameter when the terminal performs roaming;
[0295] the third roaming sub-strategy corresponding to different values of the roaming protocol capability of the first terminal, the third roaming sub-strategy being used for indicating the roaming protocol or the switching mode of the terminal;
[0296] the fourth roaming sub-strategy corresponding to different values of the roaming behavior after performing switching of the first terminal, the fourth roaming sub-strategy being used for indicating whether the terminal performs roaming and the switching mode when the terminal performs roaming;
[0297] The autonomous switching capability of the first terminal corresponds to a fifth roaming sub-strategy, and the fifth roaming sub-strategy is used to indicate a switching subject when the terminal roams.
[0298] The first roaming strategy is obtained based on the multiple roaming sub-strategies corresponding to the first terminal, and the obtaining includes:
[0299] When all the roaming sub-strategies corresponding to the first terminal indicate roaming, at least one of a roaming agreement, a roaming parameter, a switching mode, and a switching subject when roaming is determined from the multiple roaming sub-strategies corresponding to the first terminal, and the first roaming strategy is obtained.
[0300] Table 8 is a simple example of a roaming strategy table of a terminal determined by the present application:
[0301] Table 8
[0302] Roaming trigger point Roaming execution way STA1 Signal strength difference > 8 dbm Protocol fast roaming STA2 Signal strength < -68 dbm Normal roaming STA3 Signal strength difference > 6 dbm Force offline
[0303] S69: The gateway device controls the first terminal to roam according to the first roaming strategy.
[0304] For example, when the first terminal meets the roaming switching condition in the roaming strategy, the first terminal is controlled to roam in at least one of the following manners:
[0305] The first terminal is controlled to change a channel, reduce a management power of the first terminal, and forcibly disconnect the first terminal.
[0306] Here, the roaming of the first terminal is controlled to perform roaming switching when the first terminal meets the roaming switching condition (for example, a signal strength reaches a threshold) in the roaming strategy during movement. The control includes but is not limited to: controlling the first terminal to change a channel, reduce a management power of the first terminal, and forcibly disconnect the first terminal. The above manners are usually used for terminals that can automatically perform switching. If the threshold of the terminal switching is set too high, the signal strength is too low before the terminal roams and switches, which affects the operation of the terminal service. The above several manners can make the terminal forcibly perform roaming switching by changing a channel, reducing a power, and forcibly kicking out (disconnecting) before the terminal switches, so as to ensure the signal strength. The channel changing can realize roaming switching between APs and roaming switching between 2.4G and 5G in the same AP.
[0307] In addition, if the threshold of the roaming switching of the AP is low, the switching instruction is sent before the terminal actively switches, but if the terminal does not follow the opinion of the AP, the instruction will waste resources. The terminal is forcibly switched by the scheme of the present application, and the AP does not need to send the instruction, thereby saving resources.
[0308] In addition to the roaming strategy described above, the roaming strategy of the application further includes: not performing active roaming control, and roaming is completed by the terminal autonomously; and controlling multiple APs to provide independent wireless fidelity (WIFI) access for the terminal. For example, the terminal repeatedly switches between multiple APs when no movement occurs. For such a terminal, only one AP of the multiple APs can access the terminal, and the remaining APs do not respond to the access request of the AP, thereby realizing independent WIFI access.
[0309] In this step, the gateway device control mode includes but is not limited to sending an instruction to control through an AP or directly controlling a terminal.
[0310] The method provided by the application adopts different roaming strategies for different terminal devices, can ensure the roaming success rate, improve the bandwidth of the terminal in the roaming process, and can ensure that the service of the terminal does not interrupt in the roaming process and the service normally operates due to the correct roaming opportunity.
[0311] Figure 9 is a block diagram of a terminal roaming control device provided by an embodiment of the application. The terminal roaming control device can be realized by software, hardware, or a combination of both to become all or part of a gateway device. The terminal roaming control device can include a first acquisition unit 701, a second acquisition unit 702, and a control module 703.
[0312] The first acquisition unit 701 is configured to acquire a roaming strategy library.
[0313] The second acquisition unit 702 is configured to acquire a first roaming strategy matched with a first terminal from the roaming strategy library, the first terminal being a terminal connected to the terminal roaming control device.
[0314] The control unit 703 is configured to control the first terminal to roam according to the first roaming strategy.
[0315] Optionally, the roaming strategy library includes roaming sub-strategies respectively corresponding to different values of each item of roaming capability information of the first terminal.
[0316] The second acquisition unit 702 is configured to determine multiple roaming sub-strategies corresponding to the first terminal based on the roaming sub-strategies respectively corresponding to different values of each item of roaming capability information of the first terminal, and obtain the first roaming strategy based on the multiple roaming sub-strategies corresponding to the first terminal.
[0317] Optionally, the roaming sub-strategies respectively corresponding to different values of each item of roaming capability information of the first terminal include at least one of the following:
[0318] The first roaming sub-strategy respectively corresponding to different values of the mobility of the first terminal is used to indicate whether the terminal roams.
[0319] the radio frequency capability of the first terminal corresponds to a second roaming sub-strategy, the second roaming sub-strategy being used to indicate roaming parameters when the terminal roams;
[0320] the roaming protocol capability of the first terminal corresponds to a third roaming sub-strategy, the third roaming sub-strategy being used to indicate a roaming protocol or a switching mode of the terminal;
[0321] the roaming behavior of the first terminal after performing switching corresponds to a fourth roaming sub-strategy, the fourth roaming sub-strategy being used to indicate whether the terminal roams and a switching mode when the terminal roams;
[0322] the autonomous switching capability of the first terminal corresponds to a fifth roaming sub-strategy, the fifth roaming sub-strategy being used to indicate a switching subject when the terminal roams.
[0323] Optionally, the second obtaining unit 702 is configured to, when all the roaming sub-strategies corresponding to the first terminal indicate roaming, determine at least one of a roaming protocol, roaming parameters, a switching mode and a switching subject when roaming from the plurality of roaming sub-strategies corresponding to the first terminal, to obtain a first roaming strategy.
[0324] Optionally, the first obtaining unit 701 is further configured to, before obtaining the first roaming strategy matched with the first terminal, obtain a device index of the first terminal; and determine roaming capability information of the first terminal according to the device index of the first terminal.
[0325] Optionally, the roaming capability information comprises at least one of:
[0326] mobility, radio frequency capability, roaming protocol capability, roaming behavior after performing switching, autonomous switching capability.
[0327] Optionally, the roaming strategy library comprises a corresponding relationship between a device index and a roaming strategy.
[0328] The second obtaining unit 702 is configured to obtain a device index of the first terminal; and determine a first roaming strategy corresponding to the device index of the first terminal according to the corresponding relationship between the device index and the roaming strategy.
[0329] Optionally, the device index is at least one of a device model and a medium access control (MAC) address.
[0330] Optionally, the control unit 703 is configured to, when the first terminal satisfies a roaming switching condition in the roaming strategy, control the first terminal in at least one of the following manners to make the first terminal roam: control the first terminal to change a channel; reduce a management power of the first terminal; and force the first terminal to disconnect.
[0331] It should be noted that the terminal roaming control device provided in the above embodiment is only exemplified by the division of the above functional units when performing roaming control, and in actual application, the above functions can be completed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. In addition, the terminal roaming control device and the terminal roaming control method provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0332] Figure 10 is a block diagram of a roaming policy library generation provided by an embodiment of the present application. The roaming policy library generation device can be realized by software, hardware or a combination of both to become all or part of the network management device. The roaming policy library generation device can include an acquisition unit 801 and a processing unit 802.
[0333] The acquisition unit 801 is configured to acquire roaming data.
[0334] The processing unit 802 is configured to generate a roaming policy library according to the roaming data, and the roaming policy library is configured to be used by a gateway device to acquire a first roaming policy matched with a first terminal, and control the first terminal to perform roaming according to the first roaming policy. The first terminal is a terminal connected by the gateway device.
[0335] Optionally, the roaming policy library includes roaming sub-policies respectively corresponding to different values of each roaming capability information of the first terminal.
[0336] The processing unit 802 is configured to construct a terminal roaming behavior library based on the roaming data, and the terminal roaming behavior library includes each roaming capability information and a roaming fingerprint of a plurality of terminals. The processing unit 802 is configured to determine roaming sub-policies respectively corresponding to different values of each roaming capability information of the first terminal according to each roaming capability information and the roaming fingerprint of the plurality of terminals.
[0337] Optionally, the acquisition unit 801 is further configured to acquire device information and roaming behavior records of the plurality of terminals.
[0338] The processing unit 802 is further configured to determine each roaming capability information of the plurality of terminals according to the device information and the roaming behavior records of the plurality of terminals, and generate a correspondence between the device index and the roaming capability information according to a device index in the device information of the plurality of terminals, so as to be used by the gateway device to determine the roaming capability information of the first terminal.
[0339] The device further includes a sending unit 803 configured to send the correspondence between the device index and the roaming capability information to the gateway device.
[0340] Optionally, the processing unit 802 is configured to determine, according to at least one of the device information and the roaming behavior record of the plurality of terminals, a second terminal of the plurality of terminals that does not support the fast roaming protocol; and determine the post-handover roaming behavior of the second terminal in the roaming capability information of the second terminal in the following manner:
[0341] The control sending unit 803 sends an instruction to the gateway device, the instruction being used to instruct the gateway device to control the second terminal to disconnect the network connection when the signal strength of the second terminal is lower than a threshold value.
[0342] If the second terminal successfully performs handover after the network connection is disconnected, it is determined that the post-handover roaming behavior of the second terminal is normal roaming; if the second terminal is still connected to the original access device, it is determined that the post-handover roaming behavior of the second terminal belongs to the roaming behavior of a sticky terminal; and if the second terminal cannot normally access, it is determined that the post-handover roaming behavior of the second terminal has an access problem.
[0343] Optionally, the roaming capability information includes at least one of the following:
[0344] mobility, radio frequency capability, roaming protocol capability, post-handover roaming behavior, autonomous handover capability.
[0345] Optionally, the roaming policy library includes a correspondence between a device index and a roaming policy.
[0346] The processing unit 802 is configured to construct a terminal roaming behavior library based on the roaming data, the terminal roaming behavior library including the roaming capability information and the roaming fingerprint of the plurality of terminals; determine, according to the roaming capability information and the roaming fingerprint of the plurality of terminals, a roaming sub-policy corresponding to each roaming capability information of the first terminal at different values; determine, based on the roaming sub-policy corresponding to each roaming capability information of the first terminal at different values, a plurality of roaming sub-policies corresponding to a third terminal of the plurality of terminals, the third terminal being any terminal of the plurality of terminals; obtain a roaming policy of the third terminal based on the plurality of roaming sub-policies corresponding to the third terminal; and associate the roaming policy of the third terminal with a device index of the third terminal to obtain a correspondence between the device index and the roaming policy.
[0347] Optionally, the device index is at least one of a device model and a medium access control (MAC) address.
[0348] Optionally, the apparatus further includes:
[0349] The sending unit 803 is configured to send the roaming policy library to the gateway device.
[0350] It should be noted that the roaming policy library generation device provided in the above embodiments is only used as an example to illustrate the division of the above functional units when generating the roaming policy library. In actual applications, the above functions can be completed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. In addition, the roaming policy library generation device and the roaming policy library generation method provided in the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be repeated here.
[0351] The description of the flow corresponding to each of the above figures has its own emphasis, and the parts not described in detail in a certain flow can be referred to the related description of other flows.
[0352] In the embodiments of the present application, a computer readable storage medium is also provided, which stores computer instructions. When the computer instructions stored in the computer readable storage medium are executed by a computer device, the computer device executes the terminal roaming control method or the roaming policy library generation method provided above.
[0353] In the embodiments of the present application, a computer program product containing instructions is also provided, which, when running on a computer device, causes the computer device to execute the terminal roaming control method or the roaming policy library generation method provided above.
[0354] In the above embodiments, all or part of them can be realized by software, hardware, firmware or any combination thereof. When realized by software, all or part of them can be realized in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (for example, floppy disk, hard disk, magnetic tape), optical media (for example, DVD), or semiconductor media (for example, solid state disk) and the like.
[0355] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or can be instructed by programs to complete the related hardware, and the programs can be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0356] The above only describes optional embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A terminal roaming control method, characterized by, The method is applied in a home network scenario, terminal roaming refers to switching from an original wireless access node to a new wireless access node, the original wireless access node and the new wireless access node are connected with a gateway device, and the method comprises: The gateway device acquires a roaming policy library; The gateway device acquires a first roaming policy matched with a first terminal according to the roaming policy library, the first terminal is a terminal connected with the gateway device; When the first roaming policy in the first terminal meets the roaming switching condition, the gateway device sends an instruction to a wireless access node to control the first terminal through the wireless access node in at least one of the following ways, or directly controls the first terminal in at least one of the following ways, so as to force the first terminal to perform roaming switching: Control the first terminal to change the channel; reduce the management power of the first terminal; force the first terminal to disconnect.
2. The method of claim 1, wherein, The roaming policy library comprises roaming sub-policies corresponding to each roaming capability information of the first terminal at different values; The first roaming policy matched with the first terminal is acquired by: Based on the roaming sub-policies corresponding to each roaming capability information of the first terminal at different values, a plurality of roaming sub-policies corresponding to the first terminal are determined; Based on the plurality of roaming sub-policies corresponding to the first terminal, the first roaming policy is obtained.
3. The method of claim 2, wherein, The roaming sub-policies corresponding to each roaming capability information of the first terminal at different values comprise at least one of: The first roaming sub-policy corresponding to the mobility of the first terminal at different values, the first roaming sub-policy is used to indicate whether the terminal performs roaming; The second roaming sub-policy corresponding to the radio frequency capability of the first terminal at different values, the second roaming sub-policy is used to indicate roaming parameters when the terminal performs roaming; The third roaming sub-policy corresponding to the roaming protocol capability of the first terminal at different values, the third roaming sub-policy is used to indicate the roaming protocol or switching mode of the terminal; The fourth roaming sub-policy corresponding to the roaming behavior of the first terminal after performing switching at different values, the fourth roaming sub-policy is used to indicate whether the terminal performs roaming and the switching mode when the terminal performs roaming; The fifth roaming sub-policy corresponding to the autonomous switching capability of the first terminal at different values, the fifth roaming sub-policy is used to indicate the switching subject when the terminal performs roaming.
4. The method according to claim 2 or 3, characterized in that, The first roaming policy is obtained based on the plurality of roaming sub-policies corresponding to the first terminal, comprising: When all the roaming sub-policies corresponding to the first terminal indicate performing roaming, at least one of the roaming protocol, the roaming parameter, the switching mode and the switching subject when performing roaming is determined from the plurality of roaming sub-policies corresponding to the first terminal, and the first roaming policy is obtained.
5. The method according to any one of claims 2 to 4, characterized in that, Before acquiring the first roaming policy matched with the first terminal, the method further comprises: Acquiring the device index of the first terminal; Determining the roaming capability information of the first terminal according to the device index of the first terminal.
6. The method according to any one of claims 2 to 5, characterized in that, The roaming capability information includes at least one of the following: Mobility, radio frequency capability, roaming protocol capability, roaming behavior after performing handover, autonomous handover capability.
7. The method of claim 1, wherein, The roaming policy library includes a correspondence between device indexes and roaming policies; The method further includes: Obtaining device information and roaming behavior records of the plurality of terminals; Determining roaming capability information of the plurality of terminals according to the device information and the roaming behavior records of the plurality of terminals; 8. The method according to claim 5 or 7, characterized in that, Generating a correspondence between device indexes and roaming capability information according to device indexes in the device information of the plurality of terminals, so as to enable the gateway device to determine roaming capability information of the first terminal; 9. A method of generating a roaming policy library, the method comprising: Sending the correspondence between device indexes and roaming capability information to the gateway device. The determining of the roaming capability information of the plurality of terminals according to the device information and the roaming behavior records of the plurality of terminals includes: Determining a second terminal in the plurality of terminals that does not support a fast roaming protocol according to at least one of the device information and the roaming behavior records of the plurality of terminals; 10. The method of claim 9, wherein, Determining the roaming behavior after performing handover in the roaming capability information of the second terminal in the following manner: 11. The method according to claim 9 or 10, characterized in that, 12. The method of claim 11, wherein, sending an instruction to the gateway device, the instruction being used to instruct the gateway device to control the second terminal to disconnect from the network when the signal strength of the second terminal is lower than a threshold value; if the second terminal successfully switches after disconnecting from the network, determining that the roaming behavior of the second terminal after performing the switching is normal roaming; if the second terminal is still connected to the original access device, determining that the roaming behavior of the second terminal after performing the switching belongs to the roaming behavior of a sticky terminal; if the second terminal cannot normally access, determining that the roaming behavior of the second terminal after performing the switching has an access problem.
13. The method according to any one of claims 9 to 12, characterized in that, The roaming capability information includes at least one of the following: mobility, radio frequency capability, roaming protocol capability, roaming behavior after performing the switching, autonomous switching capability.
14. The method of claim 9, wherein, The roaming policy library includes a correspondence between a device index and a roaming policy; The roaming policy library is generated according to the roaming data, and includes: constructing a terminal roaming behavior library based on the roaming data, the terminal roaming behavior library including the roaming capability information and the roaming fingerprint of each terminal; determining, according to the roaming capability information and the roaming fingerprint of each terminal, a roaming sub-policy corresponding to each roaming capability information of the first terminal at different values; determining, based on the roaming sub-policy corresponding to each roaming capability information of the first terminal at different values, a plurality of roaming sub-policies corresponding to a third terminal in the plurality of terminals, the third terminal being any terminal in the plurality of terminals; obtaining a roaming policy of the third terminal based on the plurality of roaming sub-policies corresponding to the third terminal; associating the roaming policy of the third terminal with the device index of the third terminal to obtain a correspondence between the device index and the roaming policy.
15. The method according to claim 11 or 14, characterized in that, The device index is at least one of a device model and a media access control (MAC) address.
16. The method according to any one of claims 9 to 15, characterized in that, The method further includes: sending the roaming policy library to the gateway device.
17. A terminal roaming control apparatus characterized by comprising: The device is applied in a home network scenario, and terminal roaming refers to switching from an originally accessed wireless access node to a new wireless access node, both the originally accessed wireless access node and the new wireless access node being connected to a gateway device, and the device includes: a first obtaining unit configured to obtain a roaming policy library; a second obtaining unit configured to obtain a first roaming policy matched with a first terminal according to the roaming policy library, the first terminal being a terminal connected to the terminal roaming control device; a control unit configured to, when the first terminal meets a roaming switching condition in the first roaming policy, send an instruction to a wireless access node to control the first terminal through the wireless access node in at least one of the following manners or directly control the first terminal in at least one of the following manners to force the first terminal to perform roaming switching: controlling the first terminal to change a channel; reducing the management power of the first terminal; and forcing the first terminal to disconnect.
18. The apparatus of claim 17, wherein, The roaming policy library includes roaming sub-policies corresponding to each roaming capability information of the first terminal at different values. The second obtaining unit is configured to determine a plurality of roaming sub-strategies corresponding to the first terminal based on roaming sub-strategies corresponding to respective values of the roaming capability information of the first terminal, and obtain the first roaming strategy based on the plurality of roaming sub-strategies corresponding to the first terminal.
19. The apparatus of claim 17, wherein, The roaming strategy library comprises a correspondence between device indexes and roaming strategies. The second obtaining unit is configured to obtain a device index of the first terminal, and determine a first roaming strategy corresponding to the device index of the first terminal based on the correspondence between device indexes and roaming strategies.
20. A device for generating a roaming strategy library, characterized in that, The device is applied in a home network scenario, and terminal roaming refers to switching from an originally accessed wireless access node to a new wireless access node, wherein the originally accessed wireless access node and the new wireless access node are both connected to a gateway device, and the device comprises: An obtaining unit is configured to obtain roaming data. A processing unit is configured to generate a roaming strategy library based on the roaming data, wherein the roaming strategy library is used for a gateway device to obtain a first roaming strategy matched with a first terminal, and when the first terminal satisfies a roaming switching condition in the first roaming strategy, the gateway device sends an instruction to a wireless access node to control the first terminal through the wireless access node in at least one of the following manners or directly controls the first terminal in at least one of the following manners to force the first terminal to perform roaming switching: controlling the first terminal to change a channel; reducing a management power of the first terminal; and forcing the first terminal to disconnect, wherein the first terminal is a terminal connected to the gateway device.
21. A gateway device, comprising: The gateway device comprises a processor and a memory; the memory is configured to store a software program, and the processor is configured to run or execute the software program stored in the memory, so that the gateway device implements the method according to any one of claims 1 to 8.
22. A network management device, comprising: The network management device comprises a processor and a memory; the memory is configured to store a software program, and the processor is configured to run or execute the software program stored in the memory, so that the network management device implements the method according to any one of claims 9 to 16.
23. A computer-readable storage medium, characterized in that, The computer readable storage medium is configured to store program codes executed by the processor, wherein the program codes comprise instructions for implementing the method according to any one of claims 1 to 8, or the program codes comprise instructions for implementing the method according to any one of claims 9 to 16.
Citation Information
Patent Citations
Methods for controlling access domain switching, network nodes, user terminal and computer program product therefor
US20100322215A1