Communication method and device

Through the management and control equipment, the roaming compliance of the terminal equipment and the generation of strategies is solved, and the problem of terminal equipment not obeying network instructions is achieved, and the effects of load balancing and power saving are achieved.

CN120416952APending Publication Date: 2025-08-01HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410142234.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

During the roaming of terminal devices, some terminal devices do not obey network instructions, resulting in the service access device being unable to successfully switch to the target access device. How to understand the compliance of terminal devices to network instructions is an urgent problem to be solved.

Method used

The control device receives the roaming compliance information of the terminal device, determines its compliance to network instructions, and generates a roaming strategy based on the compliance, guides the service access device to perform load balancing scheduling, avoiding unnecessary signaling interaction and power consumption.

Benefits of technology

Load balancing of service access devices is realized, unnecessary signaling interactions and power consumption of terminal devices is reduced, and the success rate of roaming switching is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416952A_ABST
    Figure CN120416952A_ABST
Patent Text Reader

Abstract

A communication method and apparatus are used for understanding the compliance of a terminal device to a network instruction. In the application, the method comprises the following steps: a management and control device receives roaming compliance information of a first terminal device from a service access device, the roaming compliance information of the first terminal device is used for indicating whether a target access device indicated by the roaming switching instruction is consistent with a target access device switched by the first terminal device in a roaming process corresponding to the roaming switching instruction; the roaming compliance information of the first terminal equipment comprises information of the target access equipment indicated by the roaming switching instruction and information of the target access equipment switched by the first terminal equipment in a roaming process corresponding to the roaming switching instruction. And the management and control device determines the compliance of the first terminal device to the network instruction according to the roaming compliance information of the first terminal device. Exemplary, the network instructions are in particular roaming handover instructions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of wireless communications, and in particular to a communication method and apparatus. Background Art

[0002] In an optical network, a terminal device (such as a station (STA)) can access an access device (such as an access point (AP)) to enable communication between the terminal devices. When there are multiple access devices in one place, the terminal device can switch from the currently serving access device (i.e., the serving access device) to another access device. This process can be called the roaming process of the terminal device. Specifically, when the serving access device detects that the received signal strength indication (RSSI) of the terminal device is less than a threshold, the serving access device sends the medium access control (MAC) address of the alternative access device to the terminal device. The terminal device can measure the signal strength of the alternative access device based on the received MAC address of the alternative access device, and send the measured signal strength of the alternative access device to the serving access device. Furthermore, the serving access device selects a target access device from the alternative access devices based on the signal strength of the alternative access device, and instructs the terminal device to switch to the target access device.

[0003] However, during the roaming process, some of the multiple terminal devices connected to the service access device obey the network instructions from the service access device, while others do not. Whether a terminal device obeys the network instructions determines whether the service access device can successfully hand over the terminal device to the target access device.

[0004] How to understand the obedience of terminal devices to network instructions is a technical problem that needs to be solved urgently. Summary of the Invention

[0005] The present application provides a communication method and apparatus for understanding the compliance of a terminal device with network instructions.

[0006] In a first aspect, the present application provides a communication method, which can be executed by a control device. The control device can specifically be a control device or a module (such as a chip) in the control device. The control device can be, for example, an access controller (AC), an optical line termination (OLT), an access network (AN) controller, an end-to-end orchestrator, a gateway, a primary optical network unit (P-ONU) in a fiber to the room (FTTR) scenario, etc.

[0007] For ease of description, the following takes the execution by the control device as an example for illustration.

[0008] The control device receives the roaming compliance information of the first terminal device from the service access device. The roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by the roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the roaming handover instruction, or the roaming compliance information of the first terminal device includes the information of the target access device indicated by the roaming handover instruction and the information of the target access device to which the first terminal device switches during the roaming process corresponding to the roaming handover instruction. Further, the control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device. Exemplarily, the network instruction is specifically a roaming handover instruction, and the compliance of the first terminal device with the network instruction is specifically the compliance of the first terminal device with the roaming handover instruction.

[0009] In the above technical solution, the service access device determines the roaming compliance information of the first terminal device and sends the roaming compliance information of the first terminal device to the control device. Correspondingly, the control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device. As above, a method for obtaining the compliance of the terminal device with the network instruction is provided. Further, the compliance of the first terminal device with the network instruction can be used for the service access device to schedule the roaming handover of the terminal device accessing the service access device, which helps to achieve the load balancing of the service access device. And for the terminal device that does not comply with the network instruction or has a relatively low compliance with the network instruction, the service access device can not schedule the terminal device, avoiding unnecessary signaling interactions on the network side and the air interface side, and the terminal device does not need to measure the signal strength of the alternative access device, reducing unnecessary channel measurements of the terminal device and saving the power of the terminal device.

[0010] In a possible implementation, the management device also sends a roaming policy to the service access device according to the compliance of the first terminal device with network instructions. The roaming policy is used for the handover of the second terminal device during the roaming process, and the first terminal device and the second terminal device may be the same or different.

[0011] Exemplarily, the second terminal device includes N terminal devices, where N is a positive integer. The roaming policy includes one or more of the following: the device identifier of the target access device for the N terminal devices to switch during the roaming process, the device identifiers of the N terminal devices, the value of N, the ratio of N to the number of terminal devices accessing the service access device, the device types of the N terminal devices, the device models of the N terminal devices, the device brands of the N terminal devices, the wireless local area network protocol (protocol of wireless local area network, protocol of WLAN) followed by the N terminal devices, the priorities of the N terminal devices, or the compliance of the first terminal device with network instructions.

[0012] Among them, the device types of the N terminal devices may be one or more. Exemplarily, multiple terminal devices among the N terminal devices correspond to the same device type; the device models of the N terminal devices may be one or more. Exemplarily, multiple terminal devices among the N terminal devices correspond to the same device model; the device brands of the N terminal devices may be one or more. Exemplarily, multiple terminal devices among the N terminal devices correspond to the same device brand; the wireless local area network protocols followed by the N terminal devices may be one or more. Exemplarily, multiple terminal devices among the N terminal devices follow the same wireless local area network protocol.

[0013] In the above technical solution, the management device sends a roaming policy to the service access device according to the compliance of the first terminal device with network instructions. The service access device can schedule the roaming handover of the second terminal device according to this roaming policy, which helps to achieve the load balancing of the service access device. And it avoids unnecessary signaling interactions on the network side and the air interface side, as well as saves the power of the terminal device.

[0014] In a possible implementation, when the management device sends a roaming policy to the service access device according to the compliance of the first terminal device with network instructions, specifically, the management device receives the load balancing target from the service access device and sends the roaming policy to the service access device according to the load balancing target of the service access device and the compliance of the first terminal device with network instructions.

[0015] In the above technical solution, the management and control device sends a roaming policy to the service access device according to the load balancing target of the service access device and the compliance of the first terminal device with network instructions, and this roaming policy helps the load of the service access device to reach the load balancing target.

[0016] In a possible implementation manner, when the management and control device determines the compliance of the first terminal device with network instructions according to the roaming compliance information of the first terminal device, specifically, it may determine the compliance of the first terminal device with network instructions according to the roaming compliance information of the first terminal device and the analysis policy. Among them, the analysis policy is used to indicate the dimension when the management and control device analyzes the compliance of the first terminal device, and the dimension may specifically be device identifier, device type, device brand, device model, and the wireless local area network protocol followed. Example (1), the analysis policy is used to indicate that the management and control device analyzes the compliance of the first terminal device according to the device identifier. Example (2), the analysis policy is used to indicate that the management and control device analyzes the compliance of the first terminal device according to any one or more dimensions among device type, device brand, device model, and the wireless local area network protocol followed.

[0017] In the above technical solution, the management and control device analyzes the compliance of the first terminal device according to different dimensions indicated by different analysis policies, which helps to achieve the comprehensiveness of compliance analysis and meet the analysis requirements of different service access devices for different dimensions.

[0018] In a possible implementation manner, the network instructions not only include a roaming handover instruction, but also include a beacon request, and the beacon request includes the device identifier of the alternative access device indicated by the service access device. Correspondingly, the service access device can also obtain the device identifier of the alternative access device measured by the first terminal device during the measurement process corresponding to the beacon request, and send the device identifier of the alternative access device measured by the first terminal device to the management and control device. The management and control device receives the device identifier of the alternative access device measured by the first terminal device from the service access device. Exemplarily, the device identifier of the alternative access device measured by the first terminal device and the roaming compliance information of the first terminal device are included in the same or different messages.

[0019] In the above technical solution, the management and control device can also determine the compliance of the first terminal device with the beacon request according to the device identifier of the alternative access device measured by the first terminal device, and then determine the compliance of the first terminal device with network instructions according to the compliance of the first terminal device with the roaming handover instruction and the beacon request, which helps to achieve the comprehensiveness of analysis.

[0020] In a possible implementation manner, the management and control device is specifically the first management and control device, and the first management and control device is controlled by the second management and control device. Based on this architecture, the following two implementation manners are provided, which helps to achieve the flexibility of the architecture.

[0021] In Implementation Mode 1, when the first control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device, specifically, the first control device determines the first compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device. The first control device also sends the first compliance of the first terminal device with the network instruction to the second control device, and the second control device determines the second compliance of the first terminal device with the network instruction according to the first compliance of the first terminal device with the network instruction. Correspondingly, the first control device receives the second compliance of the first terminal device with the network instruction from the second control device. When the first control device sends a roaming policy to the service access device according to the compliance of the first terminal device with the network instruction, specifically, it sends a roaming policy to the service access device according to the second compliance of the first terminal device with the network instruction.

[0022] In Implementation Mode 2, when the first control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device, specifically, the first control device sends the roaming compliance information of the first terminal device to the second control device, and the second control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device. Correspondingly, the first control device receives the compliance of the first terminal device with the network instruction from the second control device.

[0023] In a second aspect, the present application provides a communication method, which can be executed by a service access device. The service access device may specifically be a service access equipment or a module (such as a chip) in the service access equipment. The service access equipment is, for example, an AP in an optical network.

[0024] For ease of description, the following takes the execution by the service access equipment as an example for illustration.

[0025] The service access equipment obtains the roaming compliance information of the first terminal device. The roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by the first roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction, or the roaming compliance information of the first terminal device includes the information of the target access device indicated by the first roaming handover instruction and the information of the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction. The service access equipment sends the roaming compliance information of the first terminal device to the control device.

[0026] In a possible implementation mode, the service access equipment also determines whether the target access device indicated by the first roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction.

[0027] In a possible implementation, the service access device also receives a roaming policy from the management and control device; according to the roaming policy, it sends a second roaming handover instruction to the second terminal device, where the second roaming handover instruction is used for the handover of the second terminal device during roaming, and the first terminal device and the second terminal device may be the same or different. Exemplarily, the second terminal device includes N terminal devices, where N is a positive integer, and the roaming policy includes one or more of the following: the device identifier of the target access device to which the N terminal devices switch during roaming, the device identifiers of the N terminal devices, the value of N, the ratio of N to the number of terminal devices accessing the service access device, the device types of the N terminal devices, the device models of the N terminal devices, the device brands of the N terminal devices, the wireless local area network protocols followed by the N terminal devices, the priorities of the N terminal devices, or the compliance of the first terminal device with network instructions.

[0028] In a possible implementation, the service access device also sends a load balancing target of the service access device to the management and control device.

[0029] In a possible implementation, the service access device also sends the device identifier of the alternative access device measured by the first terminal device to the management and control device.

[0030] In a third aspect, the present application provides a communication method, which can be executed by a terminal device. The terminal device may specifically be a terminal device or a module (such as a chip) in the terminal device. The terminal device is, for example, an STA in an optical network.

[0031] For ease of description, the following takes the execution by a terminal device (specifically, the first terminal device) as an example for illustration.

[0032] The first terminal device obtains the roaming compliance information of the first terminal device. The roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by the first roaming handover instruction is consistent with the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction, or the roaming compliance information of the first terminal device includes the information of the target access device indicated by the first roaming handover instruction and the information of the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction; the first terminal device sends the roaming compliance information of the first terminal device to the service access device.

[0033] In a possible implementation, the first terminal device also determines whether the target access device indicated by the first roaming handover instruction is consistent with the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction.

[0034] In a fourth aspect, an embodiment of the present application provides a communication device.

[0035] The device has the functions of the management and control device in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0036] Or, the device has the functions of the service access device in the above-mentioned second aspect or any possible implementation manner of the second aspect.

[0037] Or, the device has the functions of the terminal device in the above-mentioned third aspect or any possible implementation manner of the third aspect.

[0038] The functions of the above-mentioned communication device can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules, units or means corresponding to the above functions.

[0039] In a possible implementation manner, the structure of the device includes a processing module and a transceiver module. Among them, the processing module is configured to support the device to execute the corresponding functions of the management and control device in the above-mentioned first aspect or any implementation manner of the first aspect, or execute the corresponding functions of the service access device in the above-mentioned second aspect or any implementation manner of the second aspect, or execute the corresponding functions of the terminal device in the above-mentioned third aspect or any implementation manner of the third aspect. The transceiver module is used to support the communication between the device and other communication devices. For example, when the device is a management and control device, it can receive the roaming compliance information of the first terminal device from the service access device. The communication device may further include a storage module, and the storage module is coupled to the processing module, and stores necessary program instructions and data of the device. As an example, the processing module may be a processor, the communication module may be a transceiver, the storage module may be a memory, and the memory may be integrated with the processor or separately provided from the processor.

[0040] In another possible implementation manner, the structure of the device includes a processor and may further include a memory. The processor is coupled to the memory and can be used to execute the computer program instructions stored in the memory, so that the device executes the corresponding functions of the management and control device in the above-mentioned first aspect or any implementation manner of the first aspect, or executes the corresponding functions of the service access device in the above-mentioned second aspect or any implementation manner of the second aspect, or executes the corresponding functions of the terminal device in the above-mentioned third aspect or any implementation manner of the third aspect. Optionally, the device further includes a communication interface, and the processor is coupled to the communication interface. When the device is a network device or a terminal device, the communication interface may be a transceiver or an input / output interface; when the device is a chip included in a network device or a chip included in a terminal device, the communication interface may be an input / output interface of the chip. Optionally, the transceiver may be a transceiver circuit, and the input / output interface may be an input / output circuit.

[0041] In a fifth aspect, an embodiment of the present application provides a chip system, including: a processor and a memory. The processor is coupled to the memory, and the memory is used to store programs or instructions. When the programs or instructions are executed by the processor, the chip system is caused to execute the corresponding functions of the control device in the first aspect or any implementation manner of the first aspect, or execute the corresponding functions of the service access device in the second aspect or any implementation manner of the second aspect, or execute the corresponding functions of the terminal device in the third aspect or any implementation manner of the third aspect.

[0042] Optionally, the chip system further includes an interface circuit, and the interface circuit is used to interact code instructions to the processor.

[0043] Optionally, the processor in the chip system can be one or more, and the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor that realizes by reading the software code stored in the memory.

[0044] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or can be separately arranged from the processor. Exemplarily, the memory can be a non-transitory processor, such as a read only memory (ROM), which can be integrated with the processor on the same chip or can be separately arranged on different chips.

[0045] In a sixth aspect, the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a communication device, the communication device is caused to execute the corresponding functions of the control device in the first aspect or any implementation manner of the first aspect, or execute the corresponding functions of the service access device in the second aspect or any implementation manner of the second aspect, or execute the corresponding functions of the terminal device in the third aspect or any implementation manner of the third aspect.

[0046] In a seventh aspect, the present application provides a computer program product, which includes a computer program or instruction. When the computer program or instruction is executed by a communication device, the communication device executes the corresponding functions of the control device in the first aspect or any implementation manner of the first aspect, or executes the corresponding functions of the service access device in the second aspect or any implementation manner of the second aspect, or executes the corresponding functions of the terminal device in the third aspect or any implementation manner of the third aspect.

[0047] In an eighth aspect, an embodiment of the present application provides a communication system, which includes one or more of the following devices:

[0048] The control device in the above-mentioned first aspect or any implementation of the first aspect, the service access device in the above-mentioned second aspect or any implementation of the second aspect, or the terminal device in the above-mentioned third aspect or any implementation of the third aspect.

[0049] The technical effects that can be achieved in any of the second to eighth aspects mentioned above can refer to the description of the beneficial effects in the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is a schematic diagram of the architecture of an end-to-end domain of a fixed network based on the F5G protocol;

[0051] Figure 2 A schematic diagram of the structure of a passive optical network;

[0052] Figure 3 This is a schematic diagram of an FTTH system architecture;

[0053] Figure 4 This is a schematic diagram of the system architecture of an FTTR;

[0054] Figure 5 A roaming flow chart of a terminal device provided by the prior art;

[0055] Figure 6 A flowchart of the first communication method provided in this application;

[0056] Figure 7 A flowchart of the second communication method provided in this application;

[0057] Figure 8 A flowchart of the third communication method provided in this application;

[0058] Figure 9 A flowchart of the fourth communication method provided in this application;

[0059] Figure 10 The structure of the first communication device provided by this application;

[0060] Figure 11 This is the structure of the second communication device provided by this application. DETAILED DESCRIPTION

[0061] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0062] The fifth-generation fixed network (F5G) is a technology based on optical fiber communication. F5G features ultra-large bandwidth, all-optical connection, low latency, security and stability, etc., and enables industries to experience high-quality networks, especially suitable for infrastructure applications such as enterprise campuses, data center interconnection, and power and transportation data bearing.

[0063] A domain is used to indicate a physical or logical entity composed of network devices within the same management scope. Exemplarily, a domain can be an end-to-end (E2E) domain of a mobile network, an E2E domain of a fixed network, a customer premises network (CPN) domain, an access network (AN) domain, an aggregation network (AggN) domain, and a core network (CN) domain, etc.

[0064] Such as Figure 1 FIG. is a schematic diagram of the architecture of an end-to-end domain of a fixed network based on the F5G protocol. Such as Figure 1 In, the end-to-end domain of the fixed network includes a CPN domain, an AN domain, an AggN domain, and a CN domain.

[0065] Each domain includes its own domain controller. The domain controller is used to control other network devices in its domain. For example, the domain controller is used to monitor the operating conditions of other network devices in its domain and perform fault management on other network devices in its domain.

[0066] Exemplarily, the CPN domain includes a CPN controller, terminal equipment, and a residential gateway (RG). The terminal equipment is connected to the RG. The CPN controller is used to control the terminal equipment and the RG.

[0067] The AN domain includes an AN controller, an optical network unit (ONU), and an optical line termination (OLT). One OLT is connected to one or more ONUs. The AN controller is used to control the ONU and the OLT. The ONU and the RG in the CPN domain are deployed separately or merged.

[0068] The AggN domain includes an AggN controller, an AggN edge device, and a broadband network gateway (BNG). The BNG is connected to the OLT in the AN domain. The AggN controller is used to control the AggN edge device and the BNG.

[0069] The CN domain includes a CN controller, core provider edge devices (core PE), data center gateways (DC GW), a core network, and cloud / local data centers (DC). The core PE and DC GW can be respectively connected to the AggN edge devices in the AggN domain. The CN controller is used to control the core PE, DC GW, core network, and cloud / local DC.

[0070] Among them, the domain controller can be controlled by a unified controller, and the unified controller is, for example, an end-to-end orchestrator (E2E Orchestrator).

[0071] It can be understood that the domain controller is equivalent to the network management system (NMS) in the 3GPP protocol, and the unified controller is equivalent to the element management system (EMS) in the 3GPP protocol.

[0072] Combined with Figure 1 the AN domain shown, such as Figure 2 is a schematic structural diagram of a passive optical network (PON). Each network device in the PON can be controlled by an AN controller.

[0073] The network devices in the PON at least include an OLT and ONUs. The data distribution between the ONUs and the OLT can be achieved through an optical distribution network (ODN). Exemplarily, the ODN includes a splitter for optical power distribution, a backbone optical fiber connected between the splitter and the OLT, and branch optical fibers connected between the splitter and the ONUs, etc. Usually, there is a certain distance or other access networks between the ONU and the terminal device. Exemplarily, the ONU receives the downstream data from the OLT through the ODN, forwards the downstream data to the terminal device, and the ONU can receive the upstream data from the terminal device and forward the upstream data to the OLT through the ODN.

[0074] The terminal device can also be referred to as the end user, user terminal, etc. The terminal device is, for example, a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a robot, a robotic arm, a smart home device, etc.

[0075] Based on different placement positions of the ONU, the following 6 examples are provided:

[0076] Example 1: The ONU is placed in the central computer room of the community. This placement method can be called fiber to the curb (FTTC).

[0077] Example 2: The ONU is placed in the equipment box of the building. This placement method can be called fiber to the building (FTTB).

[0078] Example 3: The ONU is placed at a node (such as a cable distribution box). This placement method can be called fiber to the node (FTTN).

[0079] Example 4: The ONU is placed in the service area. This placement method can be called fiber to the service area (FTTSA).

[0080] Example 5: The ONU is placed in a household. This placement method can be called fiber to the home (FTTH).

[0081] Example 6: The ONU is placed in a room. This placement method can be called fiber to room (FTTR). Further, in this placement method, the ONU is divided into a primary ONU (P-ONU) and an edge ONU (E-ONU). The P-ONU can be used to control one or more E-ONUs, and the P-ONU can also be used to communicate with other P-ONUs. It should be noted that in FTTR, the OLT can also be called an "optical gateway" or a "gateway", and the ONU can also be called an "optical modem" or an "edge ONU".

[0082] Figure 3 It is a schematic diagram of the system architecture of an FTTH. A switch is connected to the upper layer of the OLT, and the OLT and the switch are arranged in the central computer room. One or more ONUs are connected to the lower layer of the OLT through the ODN (specifically, the fiber optic cables connecting the switch, the switch and the OLT or the ONU). Exemplarily, when the ONU provides user port functions at the same time, such as when the ONU provides an Ethernet user port or a plain old telephone service (POTS) user port, the ONU can also be called an optical network termination (ONT).

[0083] Figure 4The following is a schematic diagram of the system architecture of an FTTR. The FTTR network and the FTTH network can be regarded as a two-level PON system. The OLT in the first-level PON system (FTTH network) is deployed in the central computer room, and the ONU is deployed in the household information box. The OLT in the second-level PON system (FTTR network) can replace the ONU in the FTTH and be deployed in the household information box. The OLT in the FTTR scenario has similar functions to the OLT in the FTTH scenario, and the OLT can also have similar functions to the ONU in the FTTH scenario. The ONU in the FTTR can be deployed in each room of the home to connect to the terminal devices. Furthermore, the ONU in the FTTR can also have the function of an AP, which can directly connect to the terminal device for a wireless LAN; while in the FTTH, there is usually an access point (AP) between the ONU and the terminal device, and the AP connects to the terminal device for a wireless LAN.

[0084] When there are multiple access devices in one place (such as ONU in FTTR or AP in FTTH), the terminal device can switch from the current serving access device (i.e., the serving access device) to another access device. This process can be called the roaming process of the terminal device.

[0085] like Figure 5 The following is a roaming flow chart of a terminal device in the prior art:

[0086] Step 501: The service access device periodically obtains the received signal strength indication (RSSI) of the terminal device.

[0087] In step 502, after determining that the RSSI is below a threshold, the service access device sends a query message to the gateway. The gateway receives the query message from the service access device. The query message is used to query the gateway for information about candidate access devices, which may be one or more.

[0088] Step 503: The gateway sends the information of the candidate access device to the serving access device, and the serving access device receives the information of the candidate access device from the gateway. The information of the candidate access device includes the device identification and channel parameters of the candidate access device.

[0089] In step 504, the service access device sends a beacon request to the terminal device. Correspondingly, the terminal device receives the beacon request from the service access device. The beacon request includes information about the candidate access device.

[0090] Step 505: The terminal device sends a probe request to the alternative access device according to the information of the alternative access device. Correspondingly, the alternative access device receives the probe request from the terminal device. Specifically, the terminal device sends a probe request to the alternative access device according to the device identifier of the alternative access device.

[0091] Step 506: The alternative access device sends a probe response to the terminal device. Correspondingly, the terminal device receives the probe response from the alternative access device.

[0092] Step 507: The terminal device determines the signal strength of the alternative access device according to the probe response of the alternative access device. Specifically, the terminal device measures the probe response from the alternative access device according to the channel parameters of the alternative access device to obtain the signal strength of the alternative access device.

[0093] Step 508: The terminal device sends a beacon response to the service access device. Correspondingly, the service access device receives the beacon response from the terminal device. The beacon response includes the signal strength of the alternative access device, and the alternative access device can be one or more.

[0094] Step 509: The service access device sends the signal strength of the alternative access device to the gateway.

[0095] Step 510: The gateway selects a target access device from the alternative access devices according to the signal strength of the alternative access devices and the load of the alternative access devices. Here, the target access device can be considered as the target access device determined by the gateway for the terminal device to access during the roaming process.

[0096] Step 511: The gateway sends a user relocation request to the service access device. Correspondingly, the service access device receives the user relocation request from the gateway. The user relocation request includes the device identifier of the target access device.

[0097] Step 512: The service access device sends a roaming handover instruction to the terminal device. Correspondingly, the terminal device receives the roaming handover instruction from the service access device. The roaming handover instruction includes the device identifier of the target access device, and the roaming handover instruction is used to indicate the target access device for the terminal device to access during the roaming process. The roaming handover instruction is specifically a basic service set (BSS) handover instruction.

[0098] Step 513: The terminal device sends a roaming handover response to the service access device. Correspondingly, the service access device receives the roaming handover response from the terminal device. The roaming handover response is specifically a BSS handover response.

[0099] It should be noted that in Figure 5 In the switching process of the terminal device shown, although the terminal device receives a roaming switching instruction from the access device and the roaming switching instruction carries the device identifier of the target access device, the terminal device may not serve the roaming switching instruction. Exemplarily, the terminal device can select the target access device for access based on the signal strength of the alternative access device determined by itself in step 507. For example, the alternative access devices are access device 1 and access device 2, the target access device indicated by the roaming switching instruction is access device 1, and the terminal device selects access device 2 for access during the roaming switching process corresponding to the roaming switching instruction. Of course, the terminal device may also serve the roaming switching instruction and access the target access device indicated by the roaming switching instruction during the roaming switching process corresponding to the roaming switching instruction.

[0100] In other words, among the multiple terminal devices connected to the service access device, some terminal devices may obey the network instructions of the service access device (such as roaming switching instructions), while some terminal devices do not obey the network instructions of the service access device. Whether the terminal device obeys the network instructions determines whether the service access device can successfully switch the terminal device to the target access device.

[0101] How to understand the obedience of terminal devices to network instructions is a technical problem that needs to be solved urgently.

[0102] To understand the terminal device's compliance with network instructions, this application provides an exemplary communication method. This communication method can be performed by a service access device and a control device. The service access device can specifically be a service access device or a module (such as a chip) in the service access device, and the control device can specifically be a control device or a module (such as a chip) in the control device. For ease of description, the service access device and the control device can be used as an example.

[0103] Combine Figures 1 to 4 In any of the illustrated architectures, the control devices are, for example, access controllers (ACs), OLTs, AN controllers, end-to-end orchestrators, gateways, and P-ONUs of FTTRs, and the service access devices are, for example, APs. The communication method in this application can also be applied to the network architecture of 3GPP, where the control devices are, for example, access and mobility management functions (AMFs), EMSs, and NMSs, and the service access devices are, for example, radio access nodes (RANs).

[0104] See also Figure 6Schematic flowchart of the first exemplary communication method:

[0105] Step 601, the service access device sends the roaming compliance information of the first terminal device to the management and control device.

[0106] Correspondingly, the management and control device receives the roaming compliance information of the first terminal device from the service access device.

[0107] Among them, the first terminal device may include at least one terminal device (denoted as terminal device 1). For example, the first terminal device may include M terminal devices 1, and M is an integer greater than or equal to 1.

[0108] When M is greater than 1, the service access device sending the roaming compliance information of the first terminal device to the management and control device may be that the service access device sends the roaming compliance information corresponding to each of the M terminal devices 1 in the first terminal device to the management and control device. Or rather, the service access device sends M roaming compliance information, and the M roaming compliance information corresponds one-to-one to the M terminal devices 1 in the first terminal device.

[0109] When M is greater than 1, each terminal device 1 in the first terminal device may correspond to a device identity, device model (which can also be referred to as device category, device product name, device version number), device type, device brand, the wireless local area network protocol followed (protocol of wireless local area network, protocol of WLAN), etc.

[0110] Among them, the device identity may be a MAC address, a universally unique identifier (UUID), etc.

[0111] Among them, the device type may include a computer device type, a mobile phone device type, a wearable device type, etc.

[0112] Among them, device brands such as device brand A, device brand B, etc. Device models include device model A1 of device brand A, device model A2 of device brand A, device model B1 of device brand B, device model B2 of device brand B, etc.

[0113] Among them, the wireless local area network protocol followed can also be referred to as the wireless local area network generation, including the 5th generation wireless local area network protocol, the 6th generation wireless local area network protocol, etc.

[0114] Further, among any two terminal devices 1 in the first terminal device, one or more of the device type, device brand, device model, and the wireless local area network protocol followed can be the same or different, except for the device identifiers, and this application does not limit. For example, their device types are the same, but their device brands, device models, and the wireless local area network protocols followed are all different; for another example, their device types and device brands are the same, but their device models and the wireless local area network protocols followed are all different.

[0115] For ease of description, the following uses the example where the first terminal device includes one terminal device 1 for illustration.

[0116] The roaming compliance information of the first terminal device includes the roaming compliance information of this one terminal device 1. Among them, the roaming compliance information of the first terminal device can be used to determine the compliance of the first terminal device with network instructions.

[0117] Specifically, the roaming compliance information of terminal device 1 can have the following examples a and b:

[0118] For ease of description, the target access device indicated by the roaming handover instruction can be referred to as the first target access device, that is, the target access device that the serving access device instructs terminal device 1 to switch to during the roaming process is the first target access device. The target access device that terminal device 1 accesses (or actually accesses) during the roaming process corresponding to the roaming handover instruction is referred to as the second target access device, that is, the target access device that terminal device 1 independently selects to switch to during the roaming process is the second target access device. The first target access device and the second target access device are collectively referred to as the target access device. Further, in this application, the roaming handover instruction and the roaming process corresponding to the roaming handover instruction appear in pairs. For ease of description, the roaming process corresponding to the roaming handover instruction can be simply referred to as the roaming process.

[0119] Example a, the roaming compliance information of terminal device 1 is used to indicate whether the first target access device and the second target access device are the same.

[0120] Among them, the roaming compliance information of terminal device 1 can be indicated by one bit (bit). For example, when the value of this bit is 1, it indicates that the first target access device and the second target access device are the same, that is, the first target access device and the second target access device are the same access device; when the value of this bit is 0, it indicates that the first target access device and the second target access device are different, that is, the first target access device and the second target access device are not the same access device.

[0121] Example b, the roaming compliance information of terminal device 1 includes the information of the first target access device and the information of the second target access device.

[0122] Among them, the information of the target access device may be the device identifier of the target access device.

[0123] For example, if both the first target access device and the second target access device are access device 1, then the information of the first target access device and the information of the second target access device included in the roaming compliance information of terminal device 1 are both the information of access device 1; for another example, if the first target access device is access device 1 and the second target access device is access device 2, then the information of the first target access device included in the roaming compliance information of terminal device 1 is the information of access device 1, and the information of the second target access device is the information of access device 2.

[0124] Optionally, before the service access device sends the roaming compliance information of the first terminal device to the management and control device, the service access device may obtain the roaming compliance information of terminal device 1 in the first terminal device, and the specific method may refer to the following obtaining method 1 and obtaining method 2.

[0125] Obtaining method 1: After the roaming handover of terminal device 1, it sends the information of the second target access device to the service access device. Correspondingly, the service access device receives the information of the second target access device from terminal device 1, and determines the roaming compliance information of terminal device 1 according to the information of the second target access device and the information of the first target access device.

[0126] Combined with the above example a, the service access device can first determine whether the first target access device is the same as the second target access device, and then determine the roaming compliance information of terminal device 1 according to whether the two are the same. Combining the example where one bit occupied by the roaming compliance information of terminal device 1 above, if the first target access device is the same as the second target access device, the service access device determines that the value of the bit occupied by the roaming compliance information of terminal device 1 is 1; if the first target access device is not the same as the second target access device, the service access device determines that the value of the bit occupied by the roaming compliance information of terminal device 1 is 0.

[0127] Obtaining method 2: The service access device receives the roaming compliance information of terminal device 1 from terminal device 1.

[0128] Specifically, after the roaming handover of terminal device 1, it determines the roaming compliance information of terminal device 1 according to the information of the first target access device and the information of the second target access device, and sends the roaming compliance information of terminal device 1 to the service access device.

[0129] Combined with the above example a, the terminal device 1 can first determine whether the first target access device is the same as the second target access device, and then determine the roaming compliance information of the terminal device 1 based on whether the two are the same. Combining the example where the roaming compliance information of the terminal device 1 occupies one bit, if the first target access device is the same as the second target access device, the terminal device 1 determines that the value of the bit occupied by the roaming compliance information of the terminal device 1 is 1; if the first target access device is not the same as the second target access device, the terminal device 1 determines that the value of the bit occupied by the roaming compliance information of the terminal device 1 is 0.

[0130] It should be noted that the above acquisition method is only an exemplary illustration and does not constitute a limitation on this application. The service access device can also obtain the roaming compliance information of the terminal device 1 through other means, such as obtaining the roaming compliance information of the terminal device 1 from other access devices.

[0131] It should be noted that the service access device can send the roaming compliance information of the first terminal device to the management and control device in the following multiple implementation manners.

[0132] Implementation manner a, the service access device sends the roaming compliance information of the first terminal device to the management and control device according to a preset period.

[0133] For example, when the service access device determines that the interval duration between the current moment and the first moment reaches the preset period, it sends the roaming compliance information of the first terminal device collected in the current period to the management and control device.

[0134] Among them, the first moment is the moment when the service access device last sent the roaming compliance information of the first terminal device. The preset period is, for example, 1 hour, 1 day, etc., and this application is not limited.

[0135] Implementation manner b, when the service access device obtains the roaming compliance information of a preset number of terminal devices 1, it sends the roaming compliance information of the first terminal device to the management and control device. The roaming compliance information of the first terminal device includes the roaming compliance information of a preset number of terminal devices 1.

[0136] Furthermore, when the service access device determines that it has obtained the roaming compliance information of a preset number of terminal devices 1 of a certain device type (or device brand, or device model, or the wireless local area network protocol followed, or any combination of multiple dimensions), it sends the roaming compliance information of the first terminal device to the management and control device. The preset number is, for example, 10, 50, 100, etc., and this application is not limited.

[0137] It should be added that the combination of any multiple dimensions specifically refers to the combination of any multiple dimensions among device type, device brand, device model, and the wireless local area network protocol followed. For example, the combination of device type and device brand, the combination of device type and device model, the combination of device type and the wireless local area network protocol followed, etc. This description can also be applied to other examples of this application.

[0138] Implementation method c: When the load of the service access device reaches the first preset load value, send the roaming compliance information of the first terminal device to the management and control device.

[0139] Among them, the load of the service access device can be determined according to one or more of the following parameters: the number K (K is a positive integer) of terminal devices connected to the service access device, the uplink traffic of the service access device, the ratio of the uplink bandwidth occupied by the uplink traffic of the service access device, the downlink traffic of the service access device, the ratio of the downlink bandwidth occupied by the downlink traffic of the service access device, etc.

[0140] It can be understood that the service access device can send the roaming compliance information of the first terminal device to the management and control device multiple times. The roaming compliance information of the first terminal device sent each time is the roaming compliance information of the first terminal device collected during the current sending process. Combining the above implementation method b, the service access device determines the roaming compliance information of a preset number of terminal devices 1 during the first time period, and sends the roaming compliance information of the preset number of terminal devices 1 corresponding to the first time period to the management and control device; the service access device re-determines the roaming compliance information of a preset number of terminal devices 1 during the second time period, and sends the roaming compliance information of the preset number of terminal devices 1 corresponding to the second time period to the management and control device.

[0141] Optionally, the service access device can also send a load balancing target to the management and control device. The load balancing target is used for the management and control device to generate a roaming policy. For specific details, please refer to the description in step 603 below.

[0142] Step 602: The management and control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device.

[0143] Among them, the compliance of the first terminal device with the network instruction can be understood as whether the first terminal device obeys (or follows) the network instruction, or the proportion of terminal devices 1 that obey the network instruction among the M terminal devices 1 included in the first terminal device, or whether the first terminal device executes the action indicated by the network instruction, or the proportion of terminal devices 1 that execute the action indicated by the network instruction among the M terminal devices 1 included in the first terminal device, etc. For the manifestation form of the compliance of the first terminal device with the network instruction, please refer to the description in the following embodiments.

[0144] Among them, the network instruction may be a roaming handover instruction, and the compliance of the first terminal device with respect to the network instruction may be the compliance of the first terminal device with respect to the roaming handover instruction. For the convenience of description, the compliance of the first terminal device with respect to the network instruction may also be simply referred to as the compliance of the first terminal device, or the corresponding compliance of the first terminal device.

[0145] Among them, the compliance may also be referred to as roaming compliance, network compliance, handover compliance, etc., without limitation.

[0146] In a possible manner, the management device determines the compliance of the first terminal device according to the analysis policy and the roaming compliance information of the first terminal device. Exemplarily, the management device determines the compliance of the first terminal device according to the analysis policy, the roaming compliance information of the first terminal device, and the historical roaming compliance information. Among them, the historical roaming compliance information is specifically the roaming compliance information of the terminal device received by the management device from one or more access devices before step 601, and the content in the historical roaming compliance information is similar to the content of the roaming compliance information of the first terminal device. The manner in which the management device determines the compliance of the first terminal device according to the analysis policy, the roaming compliance information of the first terminal device, and the historical roaming compliance information is similar to the manner in which the management device determines the compliance of the first terminal device according to the analysis policy and the roaming compliance information of the first terminal device, except that the management device analyzes a larger amount of roaming compliance information. For the convenience of description, the following will all be described by way of example with the management device determining the compliance of the first terminal device according to the analysis policy and the roaming compliance information of the first terminal device.

[0147] Among them, the analysis policy is used to indicate the dimension when the management device analyzes the compliance of the first terminal device. The dimension may specifically be the device identifier, device type, device brand, device model, and the wireless local area network protocol followed. This will be described in combination with the following examples (1) and (2):

[0148] Example (1), the analysis policy is used to indicate that the management device analyzes the compliance of the first terminal device according to the device identifier.

[0149] The device identifier of the terminal device and the terminal device are in one-to-one correspondence. When the management device analyzes the compliance of the first terminal device according to the device identifier, specifically, the management device determines the compliance of each of the M terminal devices 1 in the first terminal device, and then determines the compliance of the first terminal device according to the compliance of each terminal device 1.

[0150] In a specific implementation, the management device determines whether the first target access device corresponding to the terminal device 1 is the same as the second target access device according to the roaming compliance information of the terminal device 1, and then determines the compliance of the terminal device 1 according to whether the first target access device corresponding to the terminal device 1 is the same as the second target access device.

[0151] It can be understood that when the first target access device is the same as the second target access device, it indicates that the terminal device 1 obeys the network instruction; when the first target access device is different from the second target access device, it indicates that the terminal device 1 does not obey the network instruction. For example, terminal device A and terminal device B are both terminal device 1. The roaming compliance information of terminal device A indicates that the first target access device corresponding to terminal device A is the same as the second target access device, while the roaming compliance information of terminal device B indicates that the first target access device corresponding to terminal device B is different from the second target access device. Then, the management device can consider that the compliance of terminal device A is higher than that of terminal device B.

[0152] In a specific example, the management device obtains a roaming compliance information of the terminal device 1, and the management device determines the compliance of the terminal device 1 according to the roaming compliance information of the terminal device 1. The compliance can be expressed as "obey" or "disobey". For example, when the management device determines that the first target access device is the same as the second target access device according to the roaming compliance information of the terminal device 1, it determines that the compliance of the terminal device 1 is "obey"; when the management device determines that the first target access device is different from the second target access device according to the roaming compliance information of the terminal device 1, it determines that the compliance of the terminal device 1 is "disobey".

[0153] In another specific example, the same terminal device 1 roams and switches between multiple access devices. Correspondingly, each of the multiple access devices can obtain the roaming compliance information of the terminal device 1, and the multiple access devices respectively send the roaming compliance information of the terminal device 1 to the management device. The management device receives the roaming compliance information of the terminal device 1 from the multiple access devices, that is, the management device obtains multiple roaming compliance information of the terminal device 1. The management device determines the compliance of the terminal device 1 according to the multiple roaming compliance information of the terminal device 1. The compliance can be expressed as "obeying ratio" and / or "disobeying ratio". For example, the compliance is expressed as "70% obey" and "30% disobey", indicating that the ratio of the number of times the terminal device 1 obeys the network instruction is 70%, and the ratio of the number of times it does not obey the network instruction is 30%.

[0154] For example, the same terminal device 1 roams and switches between access device 1, access device 2, and access device 3 respectively. Access device 1, access device 2, and access device 3 each obtain the roaming compliance information of the terminal device 1 and send the roaming compliance information of the terminal device 1 to the management device. Correspondingly, the management device receives the roaming compliance information of the terminal device 1 from access device 1, access device 2, and access device 3 respectively. For example, the roaming compliance information of the terminal device 1 from access device 1 is used to indicate that the first target access device and the second target access device are the same. The roaming compliance information of the terminal device 1 from access device 2 is used to indicate that the first target access device and the second target access device are the same. The roaming compliance information of the terminal device 1 from access device 3 is used to indicate that the first target access device and the second target access device are different. Then, the management device determines that the compliance of the terminal device 1 is "66.67% compliant" and "33.33% non-compliant".

[0155] In another specific example, the same terminal device 1 roams and switches between multiple access devices. Correspondingly, these multiple access devices can all obtain the roaming compliance information of the terminal device 1, and the multiple access devices can respectively send the roaming compliance information of the terminal device 1 to the management device. The management device receives the roaming compliance information of the terminal device 1 from the multiple access devices, that is, the management device obtains multiple roaming compliance information of the terminal device 1. The management device determines the proportion of the number of times the terminal device 1 obeys the network instruction according to the multiple roaming compliance information of the terminal device 1. When the management device determines that this proportion is higher than the first preset ratio, it determines that the compliance of the terminal device 1 is "high compliance"; when the management device determines that this proportion is not higher than the first preset ratio, it determines that the compliance of the terminal device 1 is "low compliance". The first preset ratio is, for example, 60%, 70%, 80%, etc., and the specific value is not limited in this application.

[0156] Example (2), the analysis policy is used to instruct the management device to analyze the compliance of the first terminal device according to any one or more dimensions of device type, device brand, device model, and the followed wireless local area network protocol.

[0157] When the analysis policy is used to instruct the management device to analyze the compliance of the first terminal device according to the device type:[[]]

[0158] The management device classifies the M terminal devices 1 in the first terminal device according to the device type, and obtains the terminal devices 1 under one or more device types. Further, for each device type, the management device analyzes the compliance of the terminal devices 1 under this device type (hereinafter simply referred to as the compliance of this device type), and then determines the compliance of the one or more device types. It can be understood that the management device can also determine the compliance of the first terminal device according to the compliance of the one or more device types.

[0159] In a specific example, the compliance of the device type can be expressed as "compliance ratio" and / or "non-compliance ratio", for example, expressed as "70% compliant" and / or "30% non-compliant", that is, 70% of the terminal devices 1 under this device type are compliant with the network instructions, while 30% of the terminal devices 1 under this device type are non-compliant with the network instructions.

[0160] In another specific example, when the management device determines that the ratio of the terminal devices 1 compliant with the network instructions under this device type is higher than the second preset ratio, it determines that the compliance of this device type is "high compliance"; when the management device determines that the ratio of the terminal devices 1 compliant with the network instructions under this device type is not higher than the second preset ratio, it determines that the compliance of this device type is "low compliance". The second preset ratio is, for example, 60%, 70%, 80%, etc., and the specific value is not limited in this application.

[0161] For example, among the M terminal devices 1, specifically, computer 1, computer 2, computer 3, computer 4, mobile phone 1, mobile phone 2, mobile phone 3, and mobile phone 4, that is, M is equal to 8. The management device determines that computer 1, computer 2, computer 3, and computer 4 are of the computer device type, and determines that mobile phone 1, mobile phone 2, mobile phone 3, and mobile phone 4 are of the mobile phone device type. The management device determines the compliance of the computer device type for the computer device type. Specifically, the management device determines that the compliance of the computer device type is "75% compliant" and "25% non-compliant" according to the roaming compliance information corresponding to each of computer 1, computer 2, computer 3, and computer 4; the management device also determines the compliance of the mobile phone device type for the mobile phone device type. Specifically, the management device determines that the compliance of the mobile phone device type is "50% compliant" and "50% non-compliant" according to the roaming compliance information corresponding to each of mobile phone 1, mobile phone 2, mobile phone 3, and mobile phone 4. For another example, the second preset ratio is 60%, and the management device further determines that the compliance of the computer device type is "high compliance", and the compliance of the mobile phone device type is "low compliance".

[0162] It should be noted that in example (2), for the same terminal device 1, the management device can also receive the roaming compliance information of this terminal device 1 from multiple access devices. The management device can first determine the compliance of each terminal device 1, and then determine the compliance of a certain device type according to the compliance of each terminal device 1 and the device type of each terminal device 1.

[0163] Similarly, when the management device determines the compliance of the terminal device 1 according to any other dimension (such as device brand, device model, or the wireless local area network protocol followed), or when the management device determines the compliance of the terminal device 1 according to any multiple dimensions among device type, device brand, device model, and the wireless local area network protocol followed, the description in the above example (2) can be referred to.

[0164] It can be understood that the compliance is expressed as "high compliance" or "low compliance", which is essentially similar to the way the compliance is expressed as "compliance ratio" and / or "non-compliance ratio". The compliance is expressed as "compliance ratio" and "non-compliance ratio", the compliance is expressed as "compliance ratio", and the compliance is expressed as "non-compliance ratio", and the three are essentially similar. For the convenience of description, the following takes the compliance expressed as "compliance ratio" as an example to illustrate, and the others are similar and will not be elaborated.

[0165] Optionally, Figure 6 The method shown further includes:

[0166] Step 603, the management device sends a roaming policy to the service access device according to the compliance of the first terminal device with respect to the network instruction.

[0167] Correspondingly, the service access device receives the roaming policy from the management device.

[0168] Among them, the roaming policy is used for the handover of the second terminal device during the roaming process.

[0169] Specifically, the management device generates a roaming policy according to the compliance of the first terminal device and sends the roaming policy to the service access device.

[0170] Among them, the roaming policy can be used for the service access device to determine the terminal device that needs or is to perform a roaming handover, and the device identifier of the target access device for the roaming handover.

[0171] Among them, the roaming policy can be used for the service access device to perform a roaming handover on the terminal device connected to the service access device. Exemplarily, there are K terminal devices connected to the service access device, and the terminal device that needs to perform a roaming handover is part or all of the K terminal devices, and the source access device of the terminal device that needs to perform a roaming handover during the roaming handover is the service access device. Here, the number of terminal devices that need to perform a roaming handover is N, and N is a positive integer. The terminal devices that need to perform a roaming handover can be collectively referred to as the second terminal device, that is, the second terminal device can include at least one terminal device (denoted as terminal device 2). For example, the second terminal device can include N terminal devices 2, and N is an integer greater than or equal to 1. The following describes it with terminal device 2.

[0172] The roaming policy may include one or more of the following parameters:

[0173] The device identifier of the terminal device 2, the value of the number N of the terminal devices 2, the ratio of the number N of the terminal devices 2 to the number K of the terminal devices accessing the service access device (or referred to as the proportion of the terminal device 2), the device type of the terminal device 2, the device model of the terminal device 2, the device brand of the terminal device 2, the wireless local area network protocol followed by the terminal device 2, the priority of the device, the priority of the device type, the priority of the device model, the priority of the device brand, the priority of the wireless local area network protocol, the compliance of the first terminal device, the device identifier of the target access device for roaming handover (that is, the device identifier of the target access device to which the terminal device 2 switches during roaming).

[0174] Exemplarily, the roaming policy may be any one of the following roaming policies 1 to 3.

[0175] Of course, the following roaming policies are only exemplary descriptions and do not constitute a limitation to this application. It can be considered that any parameter combination that can be used for the service access device to schedule the second terminal device for roaming handover can be used as a roaming policy.

[0176] The roaming policy 1 includes the device identifier of the terminal device 2 and the device identifier of the target access device for roaming handover.

[0177] It can be understood that when there are multiple terminal devices 2, the roaming policy 1 may further include the priority of the device. The device identifier and the priority of the terminal device 2 may be in a one-to-one relationship and / or a many-to-one relationship. Example 1, the roaming policy 1 includes the device identifiers and priorities of the terminal devices A to C respectively; Example 2, the roaming policy 1 includes the device identifiers of the terminal devices D to F respectively, and the priority 1 of the terminal devices D and E, and the priority 2 of the terminal device F; Example 3, the roaming policy 1 includes the device identifiers of the terminal devices A to F respectively. For the priorities of each terminal device, reference can be made to the above Example 1 and Example 2.

[0178] The roaming policy 2 includes the device identifier of the target access device for roaming handover and the compliance of the first terminal device.

[0179] The roaming policy 3 includes the device type of the terminal device 2 and the device identifier of the target access device for roaming handover.

[0180] It can be understood that when there are multiple terminal devices 2, the multiple terminal devices 2 can correspond to one or more device types. When the multiple terminal devices 2 correspond to multiple device types, the roaming policy 3 may further include the priorities of the device types, and the relationship between the device types and the priorities can be a one-to-one relationship and / or a many-to-one relationship. For specific examples, refer to the description of the device identifiers and priorities in the roaming policy 1.

[0181] In addition, in the above-mentioned roaming policy 1 or roaming policy 3, the compliance of the first terminal device may also be included. When the service access device cannot determine the number of terminal devices 2 that achieve the load balancing target of the service access device according to the roaming policy 1 or the above-mentioned roaming policy 3, the service access device may further determine more terminal devices 2 according to the compliance of the first terminal device. Alternatively, the service access device may also choose not to use the terminal devices 2 indicated in the roaming policy 1, or not to use the device types of the terminal devices 2 indicated in the roaming policy 3, but directly determine the terminal devices 2 according to the compliance of the first terminal device. Here, the terminal devices 2 indicated by the roaming policy may also be considered as the terminal devices that the management and control device recommends the service access device to perform roaming handover. Alternatively, the above "device type" may also be replaced by "device brand", "device model", "followed wireless local area network protocol", or any combination of multiple dimensions, etc.

[0182] The compliance of the first terminal device included in the roaming policies 1 to 3 is specifically the compliance of the first terminal device determined by the management and control device in the above step 602. In addition, the "compliance of the first terminal device" may also be replaced by "part of the content in the compliance of the first terminal device". For example, the compliance of the first terminal device includes the compliance of the computer device type is "75% compliant", and the compliance of the mobile phone device type is "50% compliant". The part of the content is the compliance of the computer device type "75% compliant", or the compliance of the mobile phone device type "50% compliant".

[0183] The following provides an exemplary way for the management and control device to obtain other parameters in the roaming policy:

[0184] Method (1), when the management and control device determines the number N of terminal devices 2:

[0185] The management and control device determines the number N of the terminal devices 2 (or determines the value of N) according to one or more of the following: the load of the service access device, the load balancing target of the service access device, the load of the adjacent access device, and the load balancing target of the adjacent access device. Exemplarily, the management and control device determines the number N of the terminal devices 2 according to the load of the service access device and the load balancing target of the service access device; or, the management and control device determines the number N of the terminal devices 2 according to the load of the service access device, the load of the adjacent access device, and the load balancing target of the service access device. Exemplarily, the adjacent access device is an access device whose coverage area overlaps with the coverage area of the service access device, or an access device whose minimum distance between the edge of the coverage area and the edge of the coverage area of the service access device is less than a preset distance, etc.

[0186] Method (2), when the management and control device determines the device identifier of the target access device:

[0187] The management and control device obtains the network information of multiple alternative access devices, and selects the target access device from the multiple alternative access devices according to the network information of the multiple alternative access devices. Exemplarily, the alternative access device is the adjacent access device in Method (1). Exemplarily, the network information of the alternative access device includes the load of the alternative access device, the bandwidth of the alternative access device, the transmission delay, the jitter, the software running status, the hardware running status, etc. Exemplarily, the management and control device requests the network information of the alternative access device from the alternative access device, and then receives the network information from the alternative access device. Optionally, the target access device can be one or more.

[0188] Method (3), when the management and control device determines the device type of the terminal devices 2:

[0189] In the first possible scenario, the management and control device determines the compliance of each device type, and then selects the device type with relatively high compliance as the device type of the terminal devices 2. Specifically, the management and control device sorts the device types from high to low based on the compliance of each device type. The management and control device selects the device type of the terminal devices 2 from the sorting result, and the device type of the terminal devices 2 can be used by the service access device to select the terminal devices 2. The device type of the terminal devices 2 can be one or more. For example, the sorting result from high to low is the wearable device type, the computer device type, and the mobile phone device type in sequence, that is, the compliance of the wearable device type is higher than that of the computer device type, and the compliance of the computer device type is higher than that of the mobile phone device type. The management and control device can determine that the wearable device type is the device type of the terminal devices 2, or determine that the wearable device type and the computer device type are the device types of the terminal devices 2.

[0190] In the second possible scenario, the management device determines the compliance of each device type. After excluding the device types with low compliance, it selects the device type of the second terminal device from the remaining device types. Specifically, the management device may include a device type set, which may include the device types of M first terminal devices in the first terminal device. Optionally, the device type set also includes the device types of the terminal devices corresponding to the historical roaming compliance information. The management device may exclude the device types with a "compliance ratio" less than the first preset value from the device type set, and then select the device type of the second terminal device from the remaining device types in the device type set. Exemplarily, the management device uses the remaining device types in the device type set as the device type of the second terminal device.

[0191] Similarly, when the management device determines the device model of the second terminal device, the management device may select the device model of the second terminal device based on the compliance of the first terminal device under each device model. Specifically, refer to the descriptions in the above two possible scenarios, and "device type" can be replaced with "device model" for understanding. When the management device determines the device brand of the second terminal device, the management device may select the device brand of the second terminal device based on the compliance of the first terminal device under each device brand. Specifically, refer to the descriptions in the above two possible scenarios, and "device type" can be replaced with "device brand" for understanding. When the management device determines the wireless local area network protocol of the second terminal device, the management device may select the wireless local area network protocol of the second terminal device based on the compliance of the first terminal device under each wireless local area network protocol. Specifically, refer to the descriptions in the above two possible scenarios, and "device type" can be replaced with "wireless local area network protocol" for understanding.

[0192] Method (4): When the management device determines the device identifier of the second terminal device:

[0193] The management device may include the device identifiers of K terminal devices connected to the service access device. Exemplarily, the service access device sends the device identifiers of the K terminal devices connected to the service access device to the management device. In this application, the K terminal devices connected to the service access device may be simply referred to as K terminal devices, and K is an integer greater than 1.

[0194] When the management device determines the compliance of each device type, when the management device selects N second terminal devices, there are specifically two possible scenarios as follows:

[0195] In the first possible scenario, the management device selects the terminal devices under the device type with higher compliance from the K terminal devices according to the compliance of each device type as the second terminal device.

[0196] Specifically, the management device sorts the device types from high to low based on the compliance of each device type. According to the sorting result, the management device selects N terminal devices with higher compliance from the K terminal devices (i.e., terminal device 2). Exemplarily, the management device can first determine the number N of terminal device 2 (the determination method can refer to the above method (1)), and then select N terminal devices with higher compliance from the K terminal devices according to the number N. For example, the sorting result is the wearable device type, the computer device type, and the mobile phone device type. Among the K terminal devices, there are wearable devices 1 to 3, computers 1 to 3, and mobile phones 1 to 2. The management device determines that the number N of terminal device 2 is 5. Therefore, wearable devices 1 to 3 and computers 1 to 2 are selected as terminal device 2. It can be understood that the management device can arbitrarily select two computers from computers 1 to 3 as terminal device 2. Another example, the management device selects the terminal devices of the device type with higher compliance from the K terminal devices as terminal device 2. At this time, the number of selected terminal devices 2 is N. Still referring to the above example, the management device can determine that the compliance of the wearable device type and the computer device type is relatively high. Therefore, wearable devices 1 to 3 and computers 1 to 3 are selected as terminal device 2. At this time, the number of terminal devices 2 is 6.

[0197] In the second possible scenario, the management device excludes the device types with lower compliance from the device types of the K terminal devices according to the compliance of each device type, and selects terminal device 2 from the terminal devices of the remaining device types.

[0198] Specifically, the management device excludes the device types with a "compliance ratio" less than the first preset value from the device types of the K terminal devices based on the compliance of each device type, and then selects terminal device 2 from the terminal devices of the remaining device types. Exemplarily, the management device first determines the number N of terminal device 2, and then selects terminal device 2 from the terminal devices of the remaining device types according to the number N; another example, the management device uses the terminal devices of the remaining device types as terminal device 2. For specific examples, please refer to the description in the first possible scenario above.

[0199] Similarly, when the management device determines the compliance of the terminal device 1 under each device brand, it selects N terminal devices 2 from the K terminal devices based on the compliance of the terminal device 1 under each device brand. For specific details, please refer to the above description. You can understand it by replacing "device type" with "device brand". Alternatively, when the management device determines the compliance of the terminal device 1 under each device model, it selects N terminal devices 2 from the K terminal devices based on the compliance of the terminal device 1 under each device model. For specific details, please refer to the above description. You can understand it by replacing "device type" with "device model". Alternatively, when the management device determines the compliance of the terminal device 1 under each wireless local area network protocol, it selects N terminal devices 2 from the K terminal devices based on the compliance of the terminal device 1 under each wireless local area network protocol. For specific details, please refer to the above description. You can understand it by replacing "device type" with "wireless local area network protocol".

[0200] Method (5): When the management device determines the priority of a device:

[0201] The management device can determine the priority of the N terminal devices 2 based on the compliance of the N terminal devices 2, where N is greater than 1. Among them, the higher the compliance of the terminal device 2, the higher the priority of the terminal device 2.

[0202] Exemplarily, the compliance of the terminal device 2 can be the compliance of the device type (or device brand, or device model, or the followed wireless local area network protocol) to which the terminal device 2 belongs. For example, if the terminal device 2 belongs to the computer device type and the compliance of the computer device type is "75% compliant", then the compliance of the terminal device 2 is "75% compliant". For another example, if the terminal device 2 belongs to device brand A and the compliance of device brand A is "65% compliant", then the compliance of the terminal device 2 is "65% compliant".

[0203] Method (6): When the management device determines the priority of a device type:

[0204] When the N terminal devices 2 correspond to multiple device types, the management device can also determine the priority of the multiple device types based on the compliance of the multiple device types. Among them, the higher the compliance of the device type, the higher the priority of the device type.

[0205] It can be understood that the first terminal device and the second terminal device can be different. Specifically, there may or may not be an intersection between the M terminal devices 1 and the N terminal devices 2. For example, if the M terminal devices 1 are terminal devices A to terminal device C (i.e., M = 3) and the N terminal devices 2 are terminal devices C to terminal device E (i.e., N = 3), then there is an intersection between the M terminal devices 1 and the N terminal devices 2, and the intersection is terminal device C. Another example, if the M terminal devices 1 are terminal devices A to terminal device C (i.e., M = 3) and the N terminal devices 2 are terminal device D and terminal device E (i.e., N = 2), then there is no intersection between the M terminal devices 1 and the N terminal devices 2. Optionally, the terminal device 2 can be a terminal device that accesses the service access device after step 601.

[0206] It should be added that in the above solution where the control device determines the number N of terminal devices 2 included in the second terminal device according to the load balancing target of the service access device, it can also be understood that the control device sends a roaming policy to the service access device according to the load balancing target of the service access device and the compliance of the first terminal device. Exemplarily, when the service access device determines that its load reaches the second preset load value, it can send a scheduling request to the control device, and the scheduling request includes the load balancing target of the service access device. Exemplarily, the first preset load value is equal to the second preset load value. Exemplarily, the scheduling request can also include the roaming compliance information of the first terminal device. Exemplarily, the scheduling request can also include the device identifiers of the K terminal devices that access the service access device.

[0207] It also needs to be added that the control device generates a roaming policy according to the compliance of the first terminal device with respect to the network instruction. Specifically, the control device includes an artificial intelligence (AI) model. The input of the AI model includes the compliance of the first terminal device with respect to the network instruction, and the output of the AI model is the roaming policy. Optionally, the input of the AI model can also include the load balancing target of the service access device.

[0208] In addition, in another possible way, it can also be defined that the first terminal device includes a terminal device 1, the second terminal device includes a terminal device 2, and the first terminal device and the second terminal device are the same terminal device. This solution can be considered that the management and control device generates a roaming policy for the terminal device according to the compliance of a certain terminal device, and this roaming policy is used for the switching of the terminal device during the roaming process. Exemplarily, when the "compliance ratio" of the terminal device is higher than the first preset ratio, the management and control device generates a roaming policy for the terminal device; otherwise, the management and control device does not generate a roaming policy for the terminal device. The roaming policy may include the device identifier of the target access device for the terminal device to switch during the roaming process, and the determination method of the target access device can refer to the above description.

[0209] In addition, the service access device may also send a beacon request to the terminal device 1, and the beacon request includes the device identifiers of the alternative access devices. The terminal device 1 may receive the beacon request and measure the signal strength of the alternative access devices according to the device identifiers of the alternative access devices in the beacon request. Among them, the beacon request may include the device identifiers of X alternative access devices, the terminal device 1 may measure the signal strength of Y alternative access devices, and send the device identifiers and signal strengths of the Y alternative access devices to the service access device through a beacon response. The Y alternative access devices are all or part of the X alternative access devices. The service access device may also determine the measurement compliance information of the first terminal device according to the device identifiers of the X alternative access devices and the device identifiers of the Y alternative access devices in the beacon response, and send the measurement compliance information of the first terminal device to the management and control device. The management and control device determines the compliance of the first terminal device with respect to the beacon request according to the measurement compliance information of the first terminal device. This beacon request can also be considered a network instruction. In this way, the compliance of the first terminal device not only includes the compliance of the first terminal device with respect to the roaming handover instruction, but also includes the compliance with respect to the beacon request. In this way, the management and control device can determine the more comprehensive compliance of the first terminal device.

[0210] Optionally, Figure 6 The method shown further includes:

[0211] Step 604, the service access device schedules the second terminal device to perform a roaming handover according to the roaming policy.

[0212] Specifically, the service access device determines the terminal device (i.e., the second terminal device) that needs or is to perform a roaming handover according to the roaming policy, and the target access device for the second terminal device to switch during the roaming process, and sends a roaming handover instruction to the second terminal device. The roaming handover instruction includes the device identifier of the target access device.

[0213] In this application, the roaming handover instruction sent by the service access device to the first terminal device may be recorded as the first roaming handover instruction, and the roaming handover instruction sent by the service access device to the second terminal device may be recorded as the second roaming handover instruction.

[0214] Based on the above different roaming policies, the service access device can schedule the second terminal device to perform roaming handover through the following scheduling methods. Among them, the second terminal device includes N terminal devices 2, and N is a positive integer.

[0215] Scheduling method 1 corresponds to the above roaming policy 1.

[0216] The service access device obtains the device identifiers of the N terminal devices 2 and the device identifier of the target access device for roaming handover from the roaming policy 1. When the service access device schedules the terminal device 2, there are specifically the following two examples:

[0217] In one example, the service access device sends a roaming handover instruction to each of the N terminal devices 2 according to the device identifiers of the N terminal devices 2. The roaming handover instruction includes the device identifier of the target access device.

[0218] In another example, the service access device selects some of the N terminal devices 2 from the N terminal devices 2 and sends a roaming handover instruction to each of the selected terminal devices 2. The roaming handover instruction includes the device identifier of the target access device. For example, the roaming policy 1 also includes the priorities of the N terminal devices 2, and the service access device selects some of the terminal devices 2 with higher priorities from the N terminal devices 2 according to the priorities of the N terminal devices 2. Another example is that the roaming policy 1 also includes the compliance of the first terminal device, and the service access device selects some of the terminal devices 2 with higher priorities from the N terminal devices 2 according to the compliance of the first terminal device.

[0219] When there are multiple target access devices, the roaming handover instruction sent by the service access device to each terminal device 2 includes the device identifiers of the multiple target access devices; or, the service access device assigns the target access device corresponding to each terminal device 2 to each terminal device 2, and the roaming handover instruction sent to each terminal device 2 includes the device identifier of the target access device corresponding to the terminal device 2.

[0220] Scheduling method 2 corresponds to the above roaming policy 2.

[0221] The service access device can obtain the device identifier of the target access device and the compliance of the first terminal device from roaming policy 2. The service access device selects N terminal devices 2 from K terminal devices according to the compliance of the first terminal device, and sends a roaming handover instruction to the N terminal devices 2. The roaming handover instruction includes the device identifier of the target access device. Among them, the number N of terminal devices 2 can be determined by the service access device according to the load balancing target, or can be obtained by the service access device according to roaming policy 2 (for example, the number N of terminal devices 2 can also be included in this roaming policy 2; for another example, the proportion of terminal devices 2 can also be included in this roaming policy 2, and the service access device determines the number N of terminal devices 2 according to the proportion of terminal devices 2 and the number K of terminal devices accessing the service access device).

[0222] Among them, for how the service access device determines the number N of terminal devices 2 and how the service access device selects N terminal devices 2, reference can also be made to the description in step 603 above. "Management and control device" can be replaced with "service access device" for understanding. When there are multiple target access devices, the method for the service access device to send a roaming handover instruction to N terminal devices 2 can refer to the above scheduling method 1.

[0223] Scheduling method 3 corresponds to the above roaming policy 3.

[0224] The service access device can obtain the device type of terminal device 2 and the device identifier of the target access device for roaming handover from roaming policy 3. The service access device determines the terminal devices belonging to this device type from K terminal devices according to the device type of terminal device 2, and then selects N terminal devices 2 from the terminal devices belonging to this device type. Subsequently, the service access device can send a roaming handover instruction to the N terminal devices 2. The roaming handover instruction includes the device identifier of the target access device. Among them, the number N of terminal devices 2 can be determined by the service access device according to the load balancing target, or can be determined by the service access device according to roaming policy 3 (for example, the number N of terminal devices 2 can also be included in this roaming policy 3; for another example, the proportion of terminal devices 2 can also be included in this roaming policy 3, and the service access device determines the number N of terminal devices 2 according to the proportion of terminal devices 2 and the number K of terminal devices accessing the service access device).

[0225] When the roaming policy 3 also includes the priority of the device type, the service access device can also perform priority sorting on the device types corresponding to K terminal devices according to the priority of the device type, and then select N terminal devices 2 from the K terminal devices according to the priority sorting.

[0226] Among them, the method for the service access device to send a roaming handover instruction to N terminal devices 2 can refer to scheduling method 1.

[0227] Of course, the above scheduling method is only an exemplary illustration and does not constitute a limitation to this application either. The service access device may determine other scheduling methods according to the roaming policy, and then schedule the second terminal device to perform roaming handover.

[0228] In the above technical solution, the service access device determines the roaming compliance information of the first terminal device and sends the roaming compliance information of the first terminal device to the management and control device. The management and control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device. The management and control device sends a roaming policy to the service access device according to the compliance of the first terminal device with the network instruction. The roaming policy is used for the service access device to schedule the roaming handover of the second terminal device. In this way, it helps to achieve the load balancing of the service access device.

[0229] Furthermore, for a terminal device that does not comply with the network instruction or has a relatively low compliance with the network instruction, the service access device may not schedule this terminal device, that is, the service access device does not need to send a beacon request and / or a roaming handover instruction to this terminal device, which helps to avoid unnecessary signaling interactions on the network side and the air interface side. And this terminal device does not need to measure the signal strength of the alternative access device based on the beacon request, reducing the unnecessary channel measurement of this terminal device and saving the power of this terminal device.

[0230] In Figure 6 the shown embodiment, the management and control device may specifically be a first management and control device, and the first management and control device is controlled by a second management and control device. Or understood, the second management and control device is used to control multiple first management and control devices, Figure 6 and the first management and control device involved is one of the multiple first management and control devices. Exemplarily, the first management and control device is an AC, an OLT, an AN controller, a gateway or a P-ONU of an FTTR, and the second management and control device is an end-to-end orchestrator. Another example is that the first management and control device is an AMF, and the second management and control device is an EMS or an NMS.

[0231] Combined with Figure 6 the relationship between the shown embodiment, the first management and control device and the second management and control device, implementation method 1 and implementation method 2 are provided:

[0232] Implementation method 1: The first management and control device determines the first compliance of the first terminal device according to the roaming compliance information of the first terminal device, and sends the first compliance of the first terminal device to the second management and control device. The second management and control device determines the second compliance of the first terminal device according to the first compliance of the first terminal device from multiple first management and control devices.

[0233] Specifically refer to Figure 7 the schematic flowchart of the second communication method shown exemplarily:

[0234] Step 701, the service access device sends the roaming compliance information of the first terminal device to the first control device. Correspondingly, the first control device receives the roaming compliance information of the first terminal device from the service access device. For the specific implementation, refer to the description in Step 601. You can understand it by replacing "control device" in Step 601 with "first control device".

[0235] Step 702, the first control device determines the first compliance of the first terminal device according to the roaming compliance information of the first terminal device. For the specific implementation, refer to the description in Step 602. You can understand it by replacing "control device" in Step 602 with "first control device", and replacing "compliance" in Step 602 with "first compliance".

[0236] Step 703, the first control device sends the first compliance of the first terminal device to the second control device. Correspondingly, the second control device receives the first compliance of the first terminal device from the first control device.

[0237] Step 704, the second control device determines the second compliance of the first terminal device according to the first compliance of the first terminal device.

[0238] It can be understood that other first control devices also execute the steps executed by the first control device in the above Steps 701 to 703. Correspondingly, the second control device determines the second compliance of the first terminal device according to the first compliance of the first terminal device from multiple first control devices. Exemplarily, the first compliance is specifically "compliance ratio". Optionally, each first control device can also report to the second control device the number of roaming compliance information corresponding to the first control device and used to determine the first compliance of the first terminal device. Of course, each first control device can also report other information to the second control device, such as any one or more of the device brand, device model, and wireless local area network protocol followed by the terminal device 1 in the first terminal device. Thus, the second control device can determine the second compliance of the first terminal device according to this information.

[0239] For example, if the first control device 1 determines that the first compliance of the computer device type is 70% based on the roaming compliance information of 100 terminal devices 1 belonging to the computer device type, the first control device 2 determines that the first compliance of the computer device type is 80% based on the roaming compliance information of the 100 terminal devices 1 belonging to the computer device type, and the first control device 3 determines that the first compliance of the computer device type is 60% based on the roaming compliance information of the 100 terminal devices 1 belonging to the computer device type. Then, the second control device can determine that the second compliance of the computer device type is 70% based on the "70% compliance rate and 100 roaming compliance information of the computer device type" from the first control device 1, the "80% compliance rate and 100 roaming compliance information of the computer device type" from the first control device 2, and the "60% compliance rate and 100 roaming compliance information of the computer device type" from the first control device 3.

[0240] Step 705: The second control device sends the second compliance of the first terminal device to the first control device.

[0241] In step 706, the first control device sends a roaming policy to the service access device based on the second compliance of the first terminal device. In response, the service access device receives the roaming policy from the first control device. For a detailed implementation, refer to the description of step 603. Replace "control device" in step 603 with "first control device" and "compliance" in step 603 with "second compliance."

[0242] In step 707 , the service access device schedules the second terminal device to perform roaming handover according to the roaming policy. For specific implementation, please refer to the description in step 604 .

[0243] Implementation method 2: The first control device sends the roaming compliance information of the first terminal device to the second control device. The second control device collects the roaming compliance information of the first terminal devices from multiple first control devices, determines the compliance of the first terminal device based on the roaming compliance information of the first terminal devices from multiple first control devices, and sends the compliance of the first terminal device to each first control device.

[0244] See Figure 8 A schematic flow chart of an exemplary third communication method is shown below:

[0245] In step 801, the service access device sends roaming compliance information of the first terminal device to the first control device. In response, the first control device receives the roaming compliance information of the first terminal device from the service access device. For detailed implementation, refer to the description of step 601. Replace "control device" in step 601 with "first control device."

[0246] Step 802: The first control device sends the roaming compliance information of the first terminal device to the second control device. Correspondingly, the second control device receives the roaming compliance information of the first terminal device from the first control device.

[0247] Step 803: The second control device determines the compliance of the first terminal device according to the roaming compliance information of the first terminal device.

[0248] It can be understood that other first control devices also perform the steps performed by the first control device in the above steps 801 and 802. The second control device determines the compliance of the first terminal device according to the roaming compliance information of the first terminal device from multiple first control devices. For the manner in which the second control device determines the compliance of the first terminal device, reference can be made to the description in the above step 602, except that the second control device can obtain more roaming compliance information of the first terminal device, and then analyze the more roaming compliance information of the first terminal device.

[0249] Step 804: The second control device sends the compliance of the first terminal device to the first control device.

[0250] Step 805: The first control device sends a roaming policy to the service access device according to the compliance of the first terminal device. Correspondingly, the service access device receives the roaming policy from the first control device. For the specific implementation, reference can be made to the description in step 603, and the "control device" in step 603 can be replaced with the "first control device".

[0251] Step 806: The service access device schedules the second terminal device to perform a roaming handover according to the roaming policy. For the specific implementation, reference can be made to the description in step 604.

[0252] In addition, the present application also provides a communication method, which is executed by the first control device and the second control device. For the descriptions of the first control device and the second control device, reference can be made to the Figure 7 or Figure 8 descriptions in the relevant embodiments above.

[0253] Specifically, the first control device sends the roaming compliance information of the first terminal device to the second control device. Correspondingly, the second control device determines the compliance of the first terminal device according to the roaming compliance information of the first terminal device from multiple first control devices, and then sends a first roaming policy to the first control device according to the compliance of the first terminal device. The first control device sends a second roaming policy to the service access device according to the first roaming policy. The first roaming policy and the second roaming policy may be the same or different.

[0254] Specific reference can be made to Figure 9Schematic diagram of the fourth communication method shown:

[0255] Step 901, the service access device sends the roaming compliance information of the first terminal device to the first control device. Correspondingly, the first control device receives the roaming compliance information of the first terminal device from the service access device. For the specific implementation, refer to the description in Step 601. The "control device" in Step 601 can be replaced with the "first control device" for understanding.

[0256] Step 902, the first control device sends the roaming compliance information of the first terminal device to the second control device. Correspondingly, the second control device receives the roaming compliance information of the first terminal device from the first control device.

[0257] Step 903, the second control device determines the compliance of the first terminal device according to the roaming compliance information of the first terminal device.

[0258] It can be understood that other first control devices also perform the steps performed by the first control device in Step 901 and Step 902. The second control device determines the compliance of the first terminal device according to the roaming compliance information of the first terminal device from multiple first control devices. The manner in which the second control device determines the compliance of the first terminal device can be referred to the description in Step 602 above. The difference is that the second control device can obtain more roaming compliance information of the first terminal device, and then analyze this more roaming compliance information of the first terminal device.

[0259] Step 904, the second control device sends the first roaming policy to the first control device according to the compliance of the first terminal device. Specifically, the second control device generates the first roaming policy according to the compliance of the first terminal device and sends the first roaming policy to the first control device.

[0260] In this application, the second terminal device involved in the first roaming policy can be considered as the terminal device that the second control device recommends for roaming handover. The second terminal device includes one or more terminal devices 2.

[0261] The first roaming policy may include one or more of the following parameters: the device type of the terminal device 2, the device model of the terminal device 2, the device brand of the terminal device 2, the wireless local area network protocol followed by the terminal device 2, the compliance of the first terminal device.

[0262] Optionally, when there are multiple device types of the terminal device 2, the first roaming policy further includes the priority of the device type; when there are multiple device models of the terminal device 2, the first roaming policy further includes the priority of the device model; when there are multiple device brands of the terminal device 2, the first roaming policy further includes the priority of the device brand; when there are multiple wireless local area network protocols followed by the terminal device 2, the first roaming policy further includes the priority of the followed wireless local area network protocol.

[0263] The manner in which the second control device obtains each parameter in the first roaming policy can be referred to the description in step 603.

[0264] In a possible example, the second control device sends the same first roaming policy to each first control device. That is, the second control device generates a first roaming policy applicable to each first control device according to the compliance of the first terminal device.

[0265] In another possible example, for each first control device, the second control device obtains the information of the terminal devices in each access device connected to the first control device (such as device type, device model, device brand, followed wireless local area network protocol, etc.), and then determines the first roaming policy (i.e., the first roaming policy corresponding to the first control device) according to the information of the terminal devices in each access device connected to the first control device and the compliance of the first terminal device, and sends the first roaming policy to the first control device.

[0266] For example, the second control device is used to control the first control device 1 and the first control device 2. Among them, the first control device 1 is used to control the access device 1 and the access device 2. The device types connected to the access device 1 are wearable device type and computer device type, and the device type connected to the access device 2 is computer device type. The first control device 2 is used to control the access device 3, and the device type connected to the access device 3 is computer device type. When the second control device generates the first roaming policy corresponding to the first control device 1, it can carry the wearable device type and the computer device type in the first roaming policy (without carrying other device types that are not connected to the access device 1 and not connected to the access device 2). When the second control device generates the first roaming policy corresponding to the first control device 2, it can carry the computer device type in the first roaming policy (without carrying other device types that are not connected to the access device 3).

[0267] Step 905, the first control device sends a second roaming policy to the service access device according to the first roaming policy.

[0268] In a possible example, the first roaming policy is the same as the second roaming policy. That is, the first control device sends the first roaming policy to the service access device.

[0269] In yet another possible example, the first roaming policy is different from the second roaming policy. That is, the first control device generates a second roaming policy according to the first roaming policy and sends the second roaming policy to the service access device.

[0270] Exemplarily, the first control device also obtains the network information of multiple alternative access devices, and selects a target access device from the multiple alternative access devices according to the network information of the multiple alternative access devices. The target access device is the device that the second terminal device needs to access when performing a roaming handover. Exemplarily, the first control device also determines, according to the first roaming policy, the device identifier of terminal device 2 in the second terminal device, the number of terminal device 2, the proportion of terminal device 2, etc.

[0271] The following provides an exemplary form of the second roaming policy:

[0272] Example A: The second roaming policy includes the device identifier of terminal device 2 and the device identifier of the target access device for roaming handover.

[0273] Example B: The second roaming policy includes the device identifier of the target access device for roaming handover and the compliance of the first terminal device.

[0274] Example C: The second roaming policy includes the device type of terminal device 2 (or the device model, device brand, wireless local area network protocol followed by terminal device 2, any combination of multiple dimensions) and the device identifier of the target access device for roaming handover.

[0275] Furthermore, the first control device can, for the service access device, obtain the device types of the terminal devices under the service access device, and determine, according to the device types of the terminal devices under the service access device and the first roaming policy, that the second roaming policy includes the device type of terminal device 2. For example, if the device types accessed in the service access device are wearable device types and computer device types, and the first roaming policy carries wearable device types and mobile phone device types, the first control device can determine that the second roaming policy sent to the service access device includes wearable device types (without carrying other device types not accessed in the service access device). In a similar manner, the first control device can also, for the service access device, determine the device model, device brand, wireless local area network protocol followed by terminal device 2, etc. included in the second roaming policy.

[0276] For the content not described in detail in step 905, reference can be made to the description in step 603.

[0277] Step 906: The service access device schedules the second terminal device to perform a roaming handover according to the second roaming policy. For the specific implementation, refer to the description in Step 604, and "roaming policy" in Step 604 can be replaced with "second roaming policy" for understanding.

[0278] In the above technical solution, the service access device determines the roaming compliance information of the first terminal device and sends the roaming compliance information of the first terminal device to the first management and control device. The first management and control device then sends the roaming compliance information of the first terminal device to the second management and control device. The second management and control device determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device, and then sends the first roaming policy to the first management and control device according to the compliance of the first terminal device with the network instruction. The first management and control device sends the second roaming policy to the service access device according to the first roaming policy. The second roaming policy is used for the service access device to schedule the roaming handover of the second terminal device. In this way, it helps to achieve the load balancing of the service access device.

[0279] Furthermore, for a terminal device that does not comply with the network instruction or has a relatively low compliance with the network instruction, the service access device may not schedule this terminal device, that is, the service access device does not need to send a beacon request and / or a roaming handover instruction to this terminal device, which helps to avoid unnecessary signaling interactions on the network side and the air interface side. And this terminal device does not need to measure the signal strength of the alternative access device based on the beacon request, reducing the unnecessary channel measurement of this terminal device and saving the power of this terminal device.

[0280] Based on the above content and the same concept, Figure 10 and Figure 11 are the schematic structural diagrams of possible communication devices provided by this application. These communication devices can be used to implement the functions of the service access device, the management and control device, or the terminal device in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. As Figure 10 shown, the communication device 1000 includes a processing module 1001 and a transceiver module 1002.

[0281] When the communication device 1000 is used to implement Figures 6 to 8 the function of the management and control device in the method embodiment shown:

[0282] A transceiver module 1002, configured to receive roaming compliance information of a first terminal device from a service access device, where the roaming compliance information of the first terminal device is used to indicate whether a target access device indicated by a roaming handover instruction is the same as a target access device to which the first terminal device switches during a roaming process corresponding to the roaming handover instruction, or the roaming compliance information of the first terminal device includes information of the target access device indicated by the roaming handover instruction and information of the target access device to which the first terminal device switches during the roaming process corresponding to the roaming handover instruction; a processing module 1001, configured to determine compliance of the first terminal device with a network instruction according to the roaming compliance information of the first terminal device.

[0283] In a possible implementation manner, the processing module 1001 is further configured to control the transceiver module 1002 to send a roaming policy to the service access device according to the compliance of the first terminal device with the network instruction, where the roaming policy is used for a second terminal device to switch during a roaming process, and the first terminal device and the second terminal device are the same or different.

[0284] In a possible implementation manner, when the processing module 1001 controls the transceiver module 1002 to send a roaming policy to the service access device according to the compliance of the first terminal device with the network instruction, the processing module 1001 is specifically configured to control the transceiver module 1002 to send a roaming policy to the service access device according to a load balancing target of the service access device and the compliance of the first terminal device with the network instruction.

[0285] In a possible implementation manner, when the processing module 1001 determines the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device, the processing module 1001 is specifically configured to determine the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device and an analysis policy.

[0286] In a possible implementation manner, the transceiver module 1002 is further configured to receive device identifiers of alternative access devices measured by the first terminal device from the service access device.

[0287] In a possible implementation, the communication device 1000 is a first control device, and the first control device is controlled by a second control device. When determining the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device, the processing module 1001 is specifically configured to determine the first compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device. The transceiver module 1002 is further configured to send the first compliance of the first terminal device with the network instruction to the second control device; and receive the second compliance of the first terminal device with the network instruction from the second control device. When controlling the transceiver module 1002 to send a roaming policy to the service access device according to the compliance of the first terminal device with the network instruction, the processing module 1001 is specifically configured to control the transceiver module 1002 to send a roaming policy to the service access device according to the second compliance of the first terminal device with the network instruction.

[0288] In a possible implementation, the communication device 1000 is a first control device, and the first control device is controlled by a second control device. When determining the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device, the processing module 1001 is specifically configured to control the transceiver module 1002 to send the roaming compliance information of the first terminal device to the second control device; and control the transceiver module 1002 to receive the compliance of the first terminal device with the network instruction from the second control device.

[0289] When the communication device 1000 is used to implement Figure 9 the functions of the control device in the method embodiment shown, the communication device 1000 is a second control device, and the first control device is controlled by the second control device. The transceiver module 1002 is configured to receive the roaming compliance information of the first terminal device from the service access device forwarded by the first control device. The roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by the roaming handover instruction is the same as the target access device that the first terminal device switches to during the roaming process corresponding to the roaming handover instruction, or the roaming compliance information of the first terminal device includes the information of the target access device indicated by the roaming handover instruction and the information of the target access device that the first terminal device switches to during the roaming process corresponding to the roaming handover instruction; the processing module 1001 is configured to determine the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device. In a possible implementation, the processing module 1001 is further configured to control the transceiver module 1002 to send a first roaming policy to the first control device according to the compliance of the first terminal device with the network instruction.

[0290] When the communication device 1000 is used to implement Figures 6 to 9 the functions of the service access device in the method embodiment shown:

[0291] A processing module 1001, configured to obtain the roaming compliance information of a first terminal device, where the roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by a first roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction, or the roaming compliance information of the first terminal device includes the information of the target access device indicated by the first roaming handover instruction and the information of the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction; a transceiver module 1002, configured to send the roaming compliance information of the first terminal device.

[0292] In a possible implementation manner, the processing module 1001 is further configured to determine whether the target access device indicated by the first roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction.

[0293] In a possible implementation manner, the transceiver module 1002 is further configured to receive a roaming policy from a management and control device; the processing module 1001 is further configured to send a second roaming handover instruction to a second terminal device according to the roaming policy, where the second roaming handover instruction is used for the second terminal device to perform a handover during the roaming process, and the first terminal device and the second terminal device may be the same or different.

[0294] In a possible implementation manner, the transceiver module 1002 is further configured to send a load balancing target of a service access device to a management and control device.

[0295] In a possible implementation manner, the transceiver module 1002 is further configured to send the device identifier of an alternative access device measured by the first terminal device to a management and control device.

[0296] When the communication device 1000 is used to implement Figures 6 to 9 the functions of the terminal device in the method embodiment shown in

[0297] A processing module 1001, configured to obtain the roaming compliance information of a first terminal device, where the roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by a first roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction, or the roaming compliance information of the first terminal device includes the information of the target access device indicated by the first roaming handover instruction and the information of the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction; a transceiver module 1002, configured to send the roaming compliance information of the first terminal device.

[0298] In a possible implementation, the processing module 1001 is further configured to determine whether the target access device indicated by the first roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the first roaming handover instruction.

[0299] For a more detailed description of the above-mentioned processing module 1001 and transceiver module 1002, reference can be directly made to Figures 6 to 9 the relevant descriptions in the method embodiments shown, which will not be elaborated here.

[0300] As Figure 11 shown in the apparatus 1100 provided in the embodiments of the present application, Figure 11 the shown apparatus may be Figure 10 a hardware circuit implementation of the shown apparatus. This apparatus is applicable to the flowchart shown above and executes the functions of the control apparatus, service access apparatus, or terminal apparatus in the above-mentioned method embodiments. For the sake of convenience of description, Figure 11 only the main components of the apparatus are shown.

[0301] Figure 11 The shown apparatus 1100 includes a processor 1120 and a memory 1130, where the memory 1130 is used to store program instructions and / or data. The processor 1120 may cooperate with the memory 1130. The processor 1120 may execute the program instructions stored in the memory 1130. When the instructions or programs stored in the memory 1130 are executed, the processor 1120 is used to execute the functions or methods of each network element or device in the above-mentioned method embodiments.

[0302] The memory 1130 and the processor 1120 are coupled. The coupling in the embodiments of the present application is an indirect coupling or communication connection between apparatuses, units, or modules, which may be electrical, mechanical, or other forms, and is used for information interaction between apparatuses, units, or modules. At least one of the memory 1130 may be included in the processor 1120.

[0303] In the embodiments of the present application, the apparatus 1100 may further include a communication interface 1110. Among them, the communication interface may be a transceiver, a circuit, a bus, a module, or other types of communication interfaces. In the embodiments of the present application, when the communication interface is a transceiver, the transceiver may include an independent receiver, an independent transmitter; or a transceiver integrating transceiver functions, or a communication interface.

[0304] The apparatus 1100 may further include a communication line 1140. Among them, the communication interface 1110, the processor 1120, and the memory 1130 may be interconnected through the communication line 1140; the communication line 1140 may be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The communication line 1140 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 11 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0305] It can be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0306] The method steps in the embodiments of the present application may be implemented in a hardware manner or by a processor executing software instructions. The software instructions may be composed of corresponding software modules, and the software modules may be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may be located in an ASIC. In addition, the ASIC may be located in a management and control device, a service access device, or a terminal device. Of course, the processor and the storage medium may also exist as discrete components in the management and control device, the service access device, or the terminal device.

[0307] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions of the embodiments of the present application are executed in whole or in part. Among them, the computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable devices. The computer program or instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired or wireless manner. The computer-readable storage medium can be any available medium that the computer can access, or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it can also be an optical medium, such as a digital video disc; it can also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile types of storage media. Exemplarily, when the computer program or instructions are executed by a computer (or referred to as a communication device), the computer executes the corresponding functions of the control device in the method embodiments shown above, Figures 6 to 9 or executes the corresponding functions of the service access device in the method embodiments shown above, Figures 6 to 9 or executes the corresponding functions of the terminal device in the method embodiments shown above. Figures 6 to 9

[0308] Based on the above content and the same concept, the embodiments of the present application provide a communication system, which includes one or more of the following devices:

[0309] The control device in the method embodiments shown above, Figures 6 to 9 Figures 6 to 9 The service access device in the method embodiments shown above, or, Figures 6 to 9 The terminal device in the method embodiments shown above.

[0310] In each embodiment of the present application, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be mutually referred to. The technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0311] ​​In this application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the relationship between associated objects and indicates that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. In the text description of this application, the character " / " generally indicates that the associated objects before and after are in an "or" relationship; in the formulas of this application, the character " / " indicates that the associated objects before and after are in a "division" relationship. "Including at least one of A, B, and C" can represent: including A; including B; including C; including A and B; including A and C; including B and C; including A, B, and C.

[0312] It can be understood that the various numerical numbers involved in the embodiments of this application are only for the convenience of description and are not used to limit the scope of the embodiments of this application. The magnitudes of the sequence numbers of the above processes do not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic.

Claims

1. A communication method, characterized in that, Including: Receiving roaming compliance information of a first terminal device from a service access device, where the roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by a roaming handover instruction is the same as the target access device to which the first terminal device switches during the roaming process corresponding to the roaming handover instruction, or the roaming compliance information of the first terminal device includes information of the target access device indicated by the roaming handover instruction and information of the target access device to which the first terminal device switches during the roaming process corresponding to the roaming handover instruction; Determining the compliance of the first terminal device with a network instruction according to the roaming compliance information of the first terminal device.

2. The method according to claim 1, wherein Further including: Sending a roaming policy to the service access device according to the compliance of the first terminal device with the network instruction, where the roaming policy is used for the handover of a second terminal device during roaming, and the first terminal device and the second terminal device are the same or different.

3. The method according to claim 2, wherein The second terminal device includes N terminal devices, where N is a positive integer; The roaming policy includes one or more of the following: The device identifier of the target access device to which the N terminal devices switch during roaming, the device identifiers of the N terminal devices, the value of N, the ratio of N to the number of terminal devices accessing the service access device, the device types of the N terminal devices, the device models of the N terminal devices, the device brands of the N terminal devices, the wireless local area network protocols followed by the N terminal devices, the priorities of the N terminal devices, or the compliance of the first terminal device with the network instruction.

4. The method according to claim 2 or 3, characterized in that The sending the roaming policy to the service access device according to the compliance of the first terminal device with the network instruction includes: Sending the roaming policy to the service access device according to the load balancing target of the service access device and the compliance of the first terminal device with the network instruction.

5. The method according to any one of claims 1 to 4, characterized in that The determining the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device includes: Determining the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device and an analysis policy.

6. The method according to any one of claims 1-5, characterized in that, Further including: Receiving the device identifier of an alternative access device measured by the first terminal device from the service access device.

7. The method according to any one of claims 2-6, characterized in that, The method is executed by a first management and control device, and the first management and control device is controlled by a second management and control device; The determining the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device includes: determining a first compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device; The method further includes: sending the first compliance of the first terminal device with the network instruction to the second management and control device; receiving a second compliance of the first terminal device with the network instruction from the second management and control device; Sending a roaming policy to the service access device according to the compliance of the first terminal device with the network instruction includes: sending the roaming policy to the service access device according to the second compliance of the first terminal device with the network instruction.

8. The method according to any one of claims 1 to 6, characterized in that The method is executed by a first management and control device, and the first management and control device is managed by a second management and control device; Determining the compliance of the first terminal device with the network instruction according to the roaming compliance information of the first terminal device includes: Sending the roaming compliance information of the first terminal device to the second management and control device; Receiving the compliance of the first terminal device with the network instruction from the second management and control device.

9. A communication method, characterized in that, It includes: Obtaining the roaming compliance information of the first terminal device, where the roaming compliance information of the first terminal device is used to indicate whether the target access device indicated by the first roaming handover instruction is the same as the target access device switched by the first terminal device during the roaming process corresponding to the first roaming handover instruction, or the roaming compliance information of the first terminal device includes the information of the target access device indicated by the first roaming handover instruction and the information of the target access device switched by the first terminal device during the roaming process corresponding to the first roaming handover instruction; Sending the roaming compliance information of the first terminal device.

10. The method according to claim 9, characterized in that, It further includes: Determining whether the target access device indicated by the first roaming handover instruction is the same as the target access device switched by the first terminal device during the roaming process corresponding to the first roaming handover instruction.

11. The method according to claim 9 or 10, characterized in that, It further includes: Receiving a roaming policy from the management and control device; Sending a second roaming handover instruction to the second terminal device according to the roaming policy, where the second roaming handover instruction is used for the second terminal device to switch during the roaming process, and the first terminal device and the second terminal device are the same or different.

12. The method according to claim 11, characterized in that, The second terminal device includes N terminal devices, where N is a positive integer; The roaming policy includes one or more of the following: The device identifier of the target access device switched by the N terminal devices during the roaming process, the device identifiers of the N terminal devices, the value of N, the ratio of N to the number of terminal devices accessing the service access device, the device types of the N terminal devices, the device models of the N terminal devices, the device brands of the N terminal devices, the wireless local area network protocols followed by the N terminal devices, the priorities of the N terminal devices, or the compliance of the first terminal device with the network instruction.

13. The method according to any one of claims 9 to 12, characterized in that, It further includes: Sending the load balancing target of the service access device to the management and control device.

14. The method according to any one of claims 9-13, characterized in that, It further includes: Sending the device identifier of the alternative access device measured by the first terminal device to the management and control device.

15. A communication device, characterized in that, It includes a module for executing the method according to any one of claims 1 to 8, or includes a module for executing the method according to any one of claims 9 to 14.

16. A communication device, characterized in that, It includes a processor and an interface circuit. The interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor, or send signals from the processor to other communication devices outside the communication device. The processor uses logic circuits or executes code instructions to implement the method according to any one of claims 1 to 8, or the processor uses logic circuits or executes code instructions to implement the method according to any one of claims 9 to 14.

17. A computer-readable storage medium, characterized in that, A computer program or instruction is stored in the storage medium. When the computer program or instruction is executed by the communication device, it implements the method according to any one of claims 1 to 8, or implements the method according to any one of claims 9 to 14.

18. A computer program product, characterized in that, The computer program product includes a computer program or instruction. When the computer program or instruction is executed by the communication device, it implements the method according to any one of claims 1 to 8 and implements the method according to any one of claims 9 to 14.

Citation Information

Patent Citations

  • Roaming guiding method, device, equipment, storage medium and system

    CN113453312A

  • AP prediction method, device and system

    CN113498070A

  • A method and system for handling roaming in train-to-trackside wireless networks

    WO2020187430A1