FTTR network management method, system, device and storage medium

By distributing network access control rules to slave gateways in the FTTR network, the problem of overloaded processing on the master gateway is solved, and network processing capabilities and user experience are improved.

CN118382086BActive Publication Date: 2024-08-27ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410599006.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-27
Estimated Expiration
2044-05-15

AI Technical Summary

Technical Problem

The processing burden of the main gateway in the FTTR network is too heavy, resulting in a decrease in network processing capabilities and affecting user experience. Existing technologies increase system complexity and cost but have insignificant effects.

Method used

The master gateway receives the terminal information sent from the slave gateway, determines the network access control rules and sends them to the slave gateway, reducing the master gateway's management of the terminal's network access behavior and reducing the processing burden of the master gateway.

Benefits of technology

It improves the processing capacity of the FTTR network, reduces the load on the main gateway, improves user experience and network stability, and avoids lags and delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118382086B
    Figure CN118382086B
Patent Text Reader

Abstract

The disclosed embodiments provide a FTTR network management method, system, device and storage medium, which relate to the field of communication technology and are used to reduce the processing burden of a master gateway. The method includes: receiving information of a terminal to be managed by a slave gateway sent by a slave gateway, the information of the terminal including an identifier of the terminal; determining a network access control rule of the terminal based on the information of the terminal; and sending the network access control rule of the terminal to the slave gateway.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a FTTR network management method, system, device and storage medium. Background Art

[0002] The improvement of network infrastructure has provided a solid foundation for the prosperity of Internet services, and innovative applications are emerging in an endless stream. New services such as 8K ultra-high-definition video, cloud virtual reality, cloud games, and live streaming are emerging. The emerging new services have put forward higher requirements for network bandwidth, latency, and jitter, and broadband networks are in urgent need of upgrading. In the face of stronger network demands from new services, fiber to the room (FTTR) technology came into being. The traditional home network is a first-level architecture, that is, there is only one main gateway. The home network using FTTR technology (which can be called FTTR network) is a second-level architecture, consisting of a main gateway and a slave gateway. This is the most important part that distinguishes the FTTR network from the traditional home network. Therefore, FTTR technology is considered to be the most cutting-edge and most suitable technology in the current home network, which can provide greater broadband support for the home network.

[0003] Currently, the main gateway in the FTTR network has a heavy processing burden, which leads to a decrease in the processing capacity of the FTTR network and affects the user experience. Summary of the invention

[0004] The embodiments of the present disclosure provide a FTTR network management method, system, device and storage medium for reducing the processing burden of a main gateway.

[0005] In order to achieve the above objectives, the present disclosure adopts the following technical solutions:

[0006] In a first aspect, a FTTR network management method is provided, which is applied to a primary gateway, and the method includes:

[0007] receiving information of a terminal to be managed by the gateway sent from the gateway, the information of the terminal including an identifier of the terminal;

[0008] Determine the network access control rules of the terminal based on the information of the terminal;

[0009] Send network access control rules to the terminal from the gateway.

[0010] In a second aspect, a FTTR network management method is provided, which is applied to a slave gateway, and the method includes:

[0011] Sending information of the terminal to be managed to the main gateway, the terminal information including the terminal identification;

[0012] The network access control rule of the terminal is received and sent by the main gateway based on the information of the terminal.

[0013] In a third aspect, a communication device is provided, which is applied to a main gateway, and the device includes:

[0014] A receiving unit, used for receiving information of a terminal to be managed by the gateway sent from the gateway, wherein the information of the terminal includes an identification of the terminal;

[0015] A processing unit, configured to determine a network access control rule for a terminal based on information of the terminal;

[0016] The sending unit is used to send the network access control rules of the terminal to the gateway.

[0017] In a fourth aspect, a communication device is provided, which is applied to a slave gateway, and the device includes:

[0018] A sending unit, used to send information of the terminal to be managed to the main gateway, where the information of the terminal includes an identifier of the terminal;

[0019] The receiving unit is used to receive the network access control rule of the terminal sent by the main gateway based on the information of the terminal.

[0020] In a fifth aspect, a communication system is provided, which includes a master gateway and a slave gateway; wherein the slave gateway is used to send information about a terminal to be managed to the master gateway, the terminal information including an identifier of the terminal; the master gateway is used to determine a network access control rule for the terminal based on the terminal information; and send the network access control rule for the terminal to the slave gateway; the slave gateway is also used to receive the network access control rule for the terminal sent by the master gateway based on the terminal information.

[0021] In a sixth aspect, a network device is provided, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the network device implements the method provided in any one of the first or second aspects above.

[0022] In a seventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the method provided in either the first aspect or the second aspect.

[0023] In an eighth aspect, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer executes the method provided in any one of the first aspect or the second aspect.

[0024] In the disclosed embodiment, the master gateway determines the network access control rules of the terminal based on the information of the terminal to be managed by the slave gateway sent by the slave gateway, and then sends the network access control rules of the terminal to the slave gateway. That is, the master gateway sends the management authority (that is, the network access control rules) for the terminal to the slave gateway, so that the slave gateway can manage the network access behavior of the terminal based on the network access control rules of the terminal. The master gateway does not need to manage the network access behavior of the terminal. The master gateway only needs to save the configuration record of the network access control rules of the terminal, thereby reducing the processing burden of the master gateway, releasing the load of the master gateway, and improving the processing capacity of the FTTR network. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings are used to provide further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0026] Figure 1 A schematic diagram of the composition of a communication system provided in an embodiment of the present disclosure;

[0027] Figure 2 A flowchart of a FTTR network management method provided by an embodiment of the present disclosure;

[0028] Figure 3 A flowchart of another FTTR network management method provided by an embodiment of the present disclosure;

[0029] Figure 4 A flowchart of another FTTR network management method provided by an embodiment of the present disclosure;

[0030] Figure 5 A flowchart of another FTTR network management method provided by an embodiment of the present disclosure;

[0031] Figure 6 A flowchart of another FTTR network management method provided by an embodiment of the present disclosure;

[0032] Figure 7 A flowchart of another FTTR network management method provided by an embodiment of the present disclosure;

[0033] Figure 8 A flowchart of another FTTR network management method provided by an embodiment of the present disclosure;

[0034] Fig. 9 A schematic diagram of the structure of a main gateway provided in an embodiment of the present disclosure;

[0035] Fig.10A schematic diagram of the structure of a slave gateway provided in an embodiment of the present disclosure;

[0036] Fig.11 A schematic diagram of the overall process of a FTTR network management method provided by an embodiment of the present disclosure;

[0037] Fig.12 A schematic diagram of a STA movement process provided by an embodiment of the present disclosure;

[0038] Fig.13 A schematic diagram of another STA movement process provided by an embodiment of the present disclosure;

[0039] Fig.14 A schematic diagram of the composition of a communication device provided in an embodiment of the present disclosure;

[0040] Fig.15 A schematic diagram of the composition of a communication device provided in an embodiment of the present disclosure;

[0041] Fig.16 A schematic diagram of the structure of a network device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0043] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and other forms thereof, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open, inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" and the like are intended to indicate that specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics described may be included in any one or more embodiments or examples in any appropriate manner.

[0044] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, unless otherwise specified, "plurality" means two or more.

[0045] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0046] Additionally, the use of “based on” is meant to be open and inclusive, as a process, step, calculation, or other action “based on” one or more stated conditions or values ​​may, in practice, be based on additional conditions or values ​​beyond those stated.

[0047] With the emergence of various new network services, people have higher demands on network capabilities. In order to meet the network needs of new services, FTTR technology came into being and gradually became popular. For example, the fiber to the room – business (FTTR-B) solution for businesses has gradually become popular.

[0048] Currently, the FTTR network uses a centralized control method to manage user authorization, that is, the main gateway centrally manages the network access control rules of wireless terminal devices (station, STA). When the number of STAs increases, it will cause greater pressure on the resources and performance of the main gateway, making the main gateway's processing burden heavier, resulting in a decrease in the processing capacity of the FTTR network and affecting the user experience.

[0049] Related technologies usually use optimization algorithms or add additional hardware support to reduce the processing burden of the main gateway, but related technologies will increase the complexity and cost of the system, or the improvement effect is not significant. For example, some related technologies propose to use a load balancer to disperse traffic, or use a distributed database to store user information. These methods require additional hardware and software support. However, the solutions provided by related technologies cannot solve the problem that when there are a large number of STAs in the FTTR network, large-scale centralized management has a high resource and performance occupation of the main gateway, which affects the stability of the FTTR network and the user experience.

[0050] Therefore, how to reduce the processing burden of the main gateway is an urgent problem to be solved.

[0051] Based on this, the embodiments of the present disclosure provide a FTTR network management method, system, device and storage medium. After the master gateway receives the information of the terminal to be managed by the slave gateway sent by the slave gateway, it determines the network access control rule of the terminal based on the information of the terminal, and then sends the network access control rule of the terminal to the slave gateway, so that the slave gateway can manage the network access behavior of the terminal based on the network access control rule of the terminal. That is, the master gateway sends the management authority of the terminal to the slave gateway, and the slave gateway manages the network access behavior of the terminal. In this way, the master gateway does not need to manage the network access behavior of the terminal, which reduces the processing burden of the master gateway and releases the load of the master gateway, thereby improving the processing capacity of the FTTR network.

[0052] The technical solution of the present disclosure is described below in conjunction with the accompanying drawings.

[0053] Figure 1 A schematic diagram of the composition of a communication system provided by an embodiment of the present disclosure. Figure 1 The communication system includes a master gateway 11, multiple slave gateways (such as slave gateway 21, slave gateway 22 and slave gateway 23) and a terminal 31. The master gateway 11, the multiple slave gateways and the terminal 31 can be connected through a wired network or a wireless network.

[0054] In some embodiments, the communication system is a FTTR network communication system, and the communication system may also include other devices, such as an optical line terminal (OLT). The OLT may be connected to the master gateway 11 through a wired network (such as an optical fiber network) or a wireless network. The master gateway 11 may be connected to multiple slave gateways managed by the master gateway 11 through a wired network or a wireless network. The master gateway 11 may form a whole-house optical fiber network with multiple slave gateways managed by the master gateway 11.

[0055] In some embodiments, the master gateway, slave gateway and terminal may also have other names. For example, the master gateway may also be called a main fiber unit (MFU), an access controller, etc., the slave gateway may also be called a subfiber unit (SFU), an access point, etc., and the terminal may also be called a mobile device.

[0056] In some embodiments, the slave gateway is used to send information about the terminal to be managed to the master gateway, the terminal information including the terminal identification; the master gateway is used to determine the network access control rules of the terminal based on the terminal information; and send the network access control rules of the terminal to the slave gateway; the slave gateway is also used to receive the network access control rules of the terminal sent by the master gateway based on the terminal information.

[0057] In some embodiments, the terminal 31 may be a device with wireless transceiver function and access to a wireless local area network (WLAN), which may be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; may also be deployed on the water (such as a ship, etc.); may also be deployed in the air (such as an airplane, a balloon, and a satellite, etc.). The terminal 31 may be a STA, a workstation, a mobile phone, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable terminal device, or an Internet of Things (IoT) terminal, etc. The embodiment of the present disclosure does not limit the specific type of the terminal 31 .

[0058] It should be understood that Figure 1 is an exemplary structural diagram, Figure 1 The communication system shown in the figure includes an unlimited number of devices, such as the number of master gateways, the number of slave gateways, and the number of terminals. Figure 1 In addition to the equipment shown, Figure 1 The communication system shown may also include other devices, which is not limited thereto.

[0059] Next, if Figure 2 As shown, the embodiment of the present disclosure provides a FTTR network management method, which can be applied to the main gateway, which can be the above-mentioned Figure 1 The main gateway 11 shown, the method may include the following steps:

[0060] S101. Receive information of a terminal to be managed by the gateway, which is sent from the gateway.

[0061] In some embodiments, after the slave gateway determines the terminal to be managed by the slave gateway, the slave gateway sends information about the terminal to be managed by the slave gateway to the master gateway, and accordingly, the master gateway receives the information about the terminal to be managed by the slave gateway sent by the slave gateway. The terminal information includes the terminal identifier, which is used to uniquely indicate a terminal, and may be the name of the terminal, or the address of the terminal, for example, the media access control (MAC) address of the terminal. The slave gateway may be the above Figure 1 One of the multiple slave gateways shown, for example, slave gateway 21.

[0062] S102: Determine a network access control rule of the terminal based on the information of the terminal.

[0063] After receiving the information of the terminal to be managed by the slave gateway sent by the slave gateway, the master gateway can query the network access control rule of the terminal based on the terminal identifier included in the terminal information, that is, determine the network access control rule of the terminal. The network access control rule includes at least one of the following: access control list (ACL) rule, flow control rule, and bandwidth control rule.

[0064] S103: Send the network access control rules of the terminal to the slave gateway.

[0065] In some embodiments, the master gateway sends the network access control rule of the terminal to the slave gateway based on at least one of the following: FTTR channel, hypertext transfer protocol (HTTP), secure copy protocol (SCP).

[0066] based on Figure 2In the embodiment shown, the master gateway determines the network access control rules of the terminal based on the information of the terminal to be managed by the slave gateway sent by the slave gateway, and then sends the network access control rules of the terminal to the slave gateway, that is, the master gateway sends the management authority (that is, the network access control rules) of the terminal to the slave gateway, so that the slave gateway can manage the network access behavior of the terminal based on the network access control rules of the terminal, and the master gateway does not need to manage the network access behavior of the terminal. The master gateway only needs to save the configuration record of the network access control rules of the terminal, thereby reducing the processing burden of the master gateway, releasing the load of the master gateway, and improving the processing capacity of the FTTR network. In addition, in the embodiment of the present disclosure, the master gateway sends the network access control rules of the terminal to be managed by the slave gateway to the slave gateway in advance, so that when the terminal connects to the slave gateway for network access, the slave gateway can directly manage the network access behavior of the terminal based on the network access control rules of the terminal received in advance, which can avoid the occurrence of freezes, reduce the delay of the terminal when roaming between different slave gateways, and help improve the user experience.

[0067] In the above embodiment, after the master gateway determines the network access control rules of the terminal, it directly sends the network access control rules of the terminal to the slave gateway. In some embodiments, in order to improve the security of the FTTR network, after the master gateway determines the network access control rules of the terminal, the master gateway can determine whether the terminal has passed the authentication, and if the terminal has passed the authentication, send the network access control rules of the terminal to the slave gateway. In this way, if the terminal has passed the authentication, the network access control rules of the terminal are sent to the slave gateway, so that the slave gateway can manage the network access behavior of the terminal based on the network access control rules of the terminal, which can improve the security of the FTTR network.

[0068] The main gateway determines whether the terminal has passed the authentication by querying the user authentication information list of the main gateway based on the terminal's identifier. If the terminal's identifier exists in the user authentication information list, it means that the terminal is an authenticated terminal and has passed the authentication. If the terminal's identifier does not exist in the user authentication information list, it means that the terminal is not an authenticated terminal and has not passed the authentication.

[0069] In some embodiments, Figure 3 As shown, in the case where the terminal fails to pass the authentication, the method may further include the following steps:

[0070] S104: When the terminal fails to pass the authentication, send indication information indicating that the terminal fails to pass the authentication to the secondary gateway.

[0071] In this way, the gateway can learn that the terminal has not passed the authentication.

[0072] In some embodiments, Figure 4 As shown, after step S104, the method may further include the following steps:

[0073] S201. Receive a message sent by a terminal transparently transmitted from a gateway.

[0074] In some embodiments, when the slave gateway receives indication information sent by the master gateway indicating that the terminal has not passed the authentication, after the terminal connects to the slave gateway through a wireless network (e.g., wireless fidelity (WIFI)) and sends a message to the slave gateway to request access to the network, the slave gateway determines that the terminal has not passed the authentication, and the slave gateway transparently transmits the message sent by the terminal to the master gateway. Accordingly, the master gateway receives the message sent by the terminal transparently transmitted by the slave gateway.

[0075] It should be noted that, in the case where the terminal passes the authentication, after receiving the message sent by the terminal, the slave gateway can add a preset identifier to the message based on the network access control rules of the terminal, obtain the message with the preset identifier added, and then send the message with the preset identifier added to the main gateway. The preset identifier is an identifier that the main gateway can recognize, so that after receiving the message with the preset identifier added, the main gateway can determine that the message is a message from a terminal that has passed the authentication based on the preset identifier in the message, and then send the message to the network to enable the terminal to access the network. Adding a preset identifier to the message can be to tag the message.

[0076] S202: Authenticate the terminal based on the message.

[0077] After receiving the message, the main gateway identifies the message, that is, determines whether the message carries a preset identifier, and then determines that the message does not add a preset identifier, that is, determines that the terminal corresponding to the message has not passed the authentication, and the main gateway can authenticate the terminal based on the message.

[0078] As an example, the main gateway can send a request message to the terminal based on the address of the message, and the request message is used to request the terminal to perform. As an example, the request message is a redirection request message, and the redirection request message is used to request the terminal to redirect to the authentication page for authentication.

[0079] After receiving the request information sent by the main gateway, the terminal can perform an authentication process with the cloud server. For example, taking the request information as a redirection request information, the terminal can redirect to the authentication page, and then the terminal responds to the relevant authentication information entered by the user on the authentication page, and sends the relevant authentication information to the cloud server, and the cloud server authenticates the relevant authentication information. In the case of successful authentication, the terminal receives the authentication pass information sent by the cloud server, and then the terminal can send the authentication pass information to the main gateway. Correspondingly, the main gateway receives the authentication pass information sent by the terminal, and based on the authentication pass information, determines that the terminal has passed the authentication.

[0080] S203: When the terminal passes the authentication, send indication information indicating that the terminal passes the authentication to the secondary gateway.

[0081] The indication information includes a network access control rule of the terminal.

[0082] In some embodiments, when the terminal passes authentication, the main gateway may store the identifier of the terminal in a user authentication information list.

[0083] In the case that the terminal fails to pass the authentication, indication information indicating that the terminal fails to pass the authentication is sent to the secondary gateway, so that the secondary gateway ignores the network access behavior of the terminal, for example, transparently transmits the message sent by the terminal.

[0084] based on Figure 4 In the illustrated embodiment, if the terminal fails to pass the authentication, the master gateway may perform a re-authentication process for the terminal based on the message sent by the terminal transmitted through the slave gateway, and if the terminal passes the authentication, the master gateway may send indication information to the slave gateway indicating that the terminal passes the authentication, and the indication information includes the network access control rules of the terminal, so that the slave gateway can manage the network access behavior based on the network access control rules of the terminal. That is, the FTTR network management method of the embodiment of the present disclosure provides a re-authentication method for terminals that fail to pass the authentication, which can improve the flexibility of FTTR network management while improving the security of the FTTR network.

[0085] In some embodiments, when the terminal fails to pass authentication, indication information indicating that the terminal fails to pass authentication is sent to the secondary gateway, so that the secondary gateway ignores the network access behavior of the terminal, for example, transparently transmits the message sent by the terminal.

[0086] In some embodiments, Figure 5 As shown, before step S101, the method may further include the following steps:

[0087] S301: Obtain a preset threshold.

[0088] The preset threshold includes at least one of a strength threshold and a distance threshold. Obtaining the preset threshold may be receiving a preset threshold input by a network administrator. The strength threshold may be called by other names, such as a signal strength threshold, a wireless signal strength threshold StrengthThreshold, etc., which is not limited in the embodiments of the present disclosure. The signal strength may also be called by other names, such as a wireless signal strength, which is not limited in the embodiments of the present disclosure.

[0089] S302: Send a preset threshold to the slave gateway, so that the slave gateway determines a terminal to be managed based on the preset threshold.

[0090] It should be understood that the terminal can be constantly moving, and the terminal does not connect to the slave gateway to surf the Internet when it moves to the network coverage of the slave gateway. If the slave gateway sends the information of each terminal that moves to the network coverage of the slave gateway to the master gateway to request the master gateway to issue the network access control rules of the terminal, it will lead to a large amount of signaling interaction between the master gateway and the slave gateway, and cause a waste of transmission resources. Therefore, the master gateway sends a preset threshold to the slave gateway, so that the slave gateway determines the terminal to be managed based on the preset threshold, thereby reducing the amount of signaling interaction between the master gateway and the slave gateway and improving the utilization rate of transmission resources.

[0091] In some embodiments, Figure 6 As shown, after step S103, the method may further include the following steps:

[0092] S401. In response to a terminal going offline, sending offline indication information to a secondary gateway.

[0093] In some embodiments, in order to improve the storage space utilization of the slave gateway, when the master gateway detects that the terminal is offline, in response to the terminal being offline, it sends offline indication information to the slave gateway. The offline indication information is used to trigger the slave gateway to delete the network access control rules of the terminal. In this way, the slave gateway can delete the network access control rules of the terminal in a timely manner, thereby improving the storage space utilization of the slave gateway.

[0094] In some embodiments, the terminal goes offline, which can be the terminal actively going offline or the terminal passively going offline. Exemplarily, the terminal actively going offline can be the terminal actively disconnecting from the slave gateway, and then the master gateway detects that the terminal is offline. The terminal passively goes offline can be the master gateway storing the authentication authorization duration of the terminal in the user authentication information list of the master gateway, and after detecting that the connection duration of the terminal reaches the authentication authorization duration of the terminal, the master gateway forces the terminal to go offline, and the authentication authorization duration is used to indicate the online duration of the terminal.

[0095] In some embodiments, Figure 7As shown, the embodiment of the present disclosure provides a FTTR network management method, which is applied to a slave gateway, and the slave gateway can be the above Figure 1 For one of the multiple slave gateways shown, for example, slave gateway 21, the method may include the following steps:

[0096] S501. Send information of a terminal to be managed to a main gateway.

[0097] In some embodiments, in order to reduce the processing burden of the master gateway, during the operation of the slave gateway, the slave gateway determines the terminal to be managed, and after determining the terminal to be managed, sends the information of the terminal to be managed to the master gateway, wherein the information of the terminal to be managed includes the identification of the terminal, so that the master gateway determines whether the terminal is authenticated based on the identification of the terminal, and determines the network access control rule of the terminal based on the identification of the terminal. The terminal to be managed by the slave gateway can be a terminal that meets the following first preset condition.

[0098] As an example, sending the information of the terminal to be managed to the main gateway may be receiving a preset threshold sent by the main gateway, the preset threshold including a strength threshold and a distance threshold, and the preset threshold is used to determine the terminal to be managed from the gateway. When it is determined according to the preset threshold that the first preset condition is met, the information of the terminal to be managed is sent to the main gateway. The first preset condition includes at least one of the following:

[0099] Condition 1: The first signal strength of the terminal detected at the first moment is greater than or equal to the strength threshold;

[0100] Condition 2: a first distance between the terminal and the slave gateway detected at the first moment is less than or equal to a distance threshold;

[0101] Condition 3: a first signal strength of the terminal detected at a first moment and a second signal strength of the terminal detected at a second moment are both greater than or equal to a strength threshold, and there is a preset time interval between the first moment and the second moment;

[0102] Condition 4: a first distance between the terminal and the slave gateway detected at a first moment and a second distance between the terminal and the slave gateway detected at a second moment are both less than or equal to a distance threshold.

[0103] It can be seen from the above conditions 1 to 4 that for conditions 1 and 2, when the slave gateway detects that the first signal strength of a terminal at the first moment is greater than or equal to the strength threshold, or detects that the first distance between the terminal and the slave gateway at the first moment is less than or equal to the distance threshold, the terminal can be determined as a terminal to be managed by the slave gateway, and then the information of the terminal is sent to the master gateway.

[0104] As for conditions 3 and 4, when the first signal strength of the terminal detected by the slave gateway at the first moment and the second signal strength of the terminal detected at the second moment are both greater than or equal to the strength threshold, or when the first distance between the terminal and the slave gateway detected at the first moment and the second distance between the terminal and the slave gateway detected at the second moment are both less than or equal to the distance threshold, it means that when the terminal is in the network coverage of the slave gateway at the first moment, the terminal is still in the network coverage of the slave gateway at the second moment, and the terminal is determined as a terminal to be managed by the slave gateway, which improves the accuracy of determining the terminal to be managed by the slave gateway and helps to reduce the signaling overhead between the master gateway and the slave gateway.

[0105] In some embodiments, the preset time interval is the timer duration, and the timer may be a signal strength reporting delay time (AuthDelay) timer. Exemplarily, taking condition 3 as an example, when the first signal strength of the terminal detected by the slave gateway at the first moment is greater than or equal to the strength threshold, the AuthDelay timer is started, and after the set duration of the AuthDelay timer is reached, the second signal strength of the terminal is detected at the second moment, and when the second signal strength is greater than or equal to the strength threshold, the terminal is determined to be a terminal to be managed by the slave gateway, and the information of the terminal is sent to the master gateway. If the second signal strength is less than the strength threshold, it is determined that the terminal has left the network coverage of the slave gateway, and the slave gateway ignores the processing and does not send the information of the terminal to the master gateway.

[0106] In some embodiments, when it is determined according to a preset threshold that the first preset condition is satisfied, it is determined whether the network access control rules of the terminal are stored on the slave gateway; when the network access control rules of the terminal are not stored on the slave gateway, the information of the terminal to be managed is sent to the master gateway. It should be understood that when it is determined according to the preset threshold that the first preset condition is satisfied, if the network access control rules of the terminal are already stored on the slave gateway, the slave gateway does not need to send the information of the terminal to be managed to the master gateway. Therefore, when it is determined according to the preset threshold that the first preset condition is satisfied, it is first determined whether the network access control rules of the terminal are stored on the slave gateway; when the network access control rules of the terminal are not stored on the slave gateway, the information of the terminal to be managed is sent to the master gateway, which can avoid repeatedly sending the information of the terminal to be managed to the master gateway when the network access control rules of the terminal are already stored on the slave gateway, and can reduce the signaling overhead between the master gateway and the slave gateway.

[0107] As an example, the slave gateway detects the distance between the terminal and the slave gateway, which may be that the slave gateway detects the distance between the terminal and the slave gateway based on a three-dimensional positioning technology.

[0108] S502: Receive a network access control rule for a terminal sent by the primary gateway based on information of the terminal.

[0109] In some embodiments, after receiving the information of the terminal, the master gateway determines the network access control rule of the terminal based on the information of the terminal, and then sends the network access control rule of the terminal to the slave gateway. Accordingly, the slave gateway receives the network access control rule of the terminal sent by the master gateway. The network access control rule includes at least one of the following: ACL rule, flow control rule, bandwidth control rule. For the description of the network access control rule, please refer to the above Figure 2 The description of the illustrated embodiments will not be repeated here.

[0110] As an example, when the terminal passes the authentication, the master gateway sends the network access control rules of the terminal to the slave gateway. Correspondingly, the slave gateway receives the network access control rules of the terminal sent by the master gateway. Figure 2 The description of the illustrated embodiments will not be repeated here.

[0111] based on Figure 5 In the embodiment shown, the slave gateway sends information about the terminal to be managed by the slave gateway to the master gateway, and then receives the network access control rules of the terminal sent by the master gateway, so that the slave gateway manages the network access behavior of the terminal based on the network access control rules of the terminal, and the master gateway does not need to manage the network access behavior of the terminal. The master gateway only needs to save the configuration record of the network access control rules of the terminal, thereby reducing the processing burden of the master gateway, releasing the load of the master gateway, and improving the processing capacity of the FTTR network. In addition, in the embodiment of the present disclosure, the slave gateway sends information about the terminal to be managed by the slave gateway to the master gateway in advance, and then receives the network access control rules of the terminal to be managed by the slave gateway sent by the master gateway in advance, so that when the terminal connects to the slave gateway for network access behavior, the slave gateway can directly manage the network access behavior of the terminal based on the network access control rules of the terminal received in advance. Compared with obtaining the network access control rules of the terminal only when the network access behavior of the terminal is detected, it can avoid the occurrence of jams, reduce the delay of the terminal when roaming between different slave gateways, and help improve the user experience.

[0112] In some embodiments, when the slave gateway receives the network access control rules of the terminal sent by the main gateway based on the information of the terminal, after the terminal establishes a connection with the slave gateway, the slave gateway manages the network access control behavior of the terminal based on the network access control rules. For example, after receiving the message sent by the terminal, a preset identifier is added to the message, and then the message with the preset identifier added is sent to the main gateway. After the main gateway receives the message with the preset identifier added, it can directly access the Internet because the preset identifier matches the main gateway. The preset identifier is an identifier that the main gateway can recognize. For the description of the preset identifier, please refer to the above Figure 4 The corresponding description in the illustrated embodiment is not repeated here. The terminal establishes a connection with the secondary gateway, which may be that the terminal establishes a connection with the secondary gateway via a wireless network.

[0113] In some embodiments, when a slave gateway receives a network access control rule for a terminal sent by a master gateway based on information from the terminal, the network access control rule is deleted if a second preset condition is met, and the second preset condition includes at least one of the following: detecting that the signal strength of the terminal is less than a strength threshold for a duration greater than a first duration threshold; detecting that the distance between the terminal and the slave gateway is less than a distance threshold for a duration greater than a second duration threshold; receiving offline indication information sent by the master gateway, and the offline indication information is used to trigger the deletion of the network access control rule from the slave gateway.

[0114] The first duration threshold and the second duration threshold may be preset by a network administrator, or may be sent by the master gateway to the slave gateway, that is, the preset threshold sent by the master gateway may also include the first duration threshold and the second duration threshold. The embodiment of the present disclosure is not limited to this. The first duration threshold and the second duration threshold may be the same or different.

[0115] In some embodiments, the first duration threshold and the second duration threshold may be a weak signal offline duration DownTime.

[0116] In this way, the slave gateway can delete the network access control rule of the terminal when the second preset condition is met, so as to release the storage space of the slave gateway in time and improve the storage space utilization of the slave gateway.

[0117] Above Figure 7 The embodiment shown is described by taking the example that after the slave gateway sends the information of the terminal to be managed to the master gateway, the terminal receives the network access control rule of the terminal sent by the master gateway based on the information of the terminal when the terminal passes the authentication. In some embodiments, Figure 8 As shown, after step S501, the method may further include the following steps:

[0118] S503. After receiving the indication information sent by the main gateway indicating that the terminal has not passed the authentication, transparently transmit the received message sent by the terminal to the main gateway, so that the main gateway authenticates the terminal based on the message, and sends the indication information indicating that the terminal has passed the authentication if the terminal has passed the authentication.

[0119] The indication information includes a network access control rule of the terminal.

[0120] The above embodiment describes that when the terminal passes the authentication, after the terminal establishes a connection with the slave gateway, for the message sent by the terminal, the slave gateway adds a preset identifier to the message sent by the terminal, and then sends the message with the preset identifier added to the master gateway, so that the master gateway allows the terminal to access the network based on the preset identifier. In the case where the terminal fails to pass the authentication, the master gateway sends an indication message to the slave gateway indicating that the terminal fails to pass the authentication. After receiving the indication message, the slave gateway determines that the terminal fails to pass the authentication and ignores the processing. Afterwards, after receiving the message sent by the terminal, the slave gateway transparently transmits the received message sent by the terminal to the master gateway, that is, does not process the message, and forwards the message to the master gateway, so that the master gateway authenticates the terminal based on the message, and sends an indication message indicating that the terminal passes the authentication when the terminal passes the authentication, and the indication message includes the network access control rule of the terminal. After receiving the indication message indicating that the terminal passes the authentication, the slave gateway determines that the terminal has passed the authentication and stores the network access control rule of the terminal, so that after the terminal establishes a connection with the slave gateway, the network access behavior of the terminal is managed based on the network access control rule of the terminal.

[0121] The functional modules of the master gateway and the slave gateway are exemplarily described below.

[0122] Fig. 9 FIG. 1 is a schematic diagram of a main gateway structure provided by an embodiment of the present disclosure, see Fig. 9 The main gateway includes a user control module and a configuration management module. Among them, the user control module of the main gateway is mainly responsible for user authentication and authorization, storage of user authentication information list, STA information update, establishment of communication channel between master and slave gateways, and response to slave gateway request processing. The configuration management module of the main gateway is mainly responsible for the configuration and storage of relevant parameters of the authentication control of the main gateway, and the establishment of a master-slave synchronization channel.

[0123] Fig.10 FIG. 1 is a schematic diagram of a structure of a slave gateway provided by an embodiment of the present disclosure, see Fig.10The slave gateway includes a user control module and a wireless sensing module. Among them, the user control module of the slave gateway is mainly responsible for STA retrieval, that is, retrieving the control status of the STA, updating the network access control rules of the STA, such as ACL rule update, requesting STA information from the master gateway, etc. The wireless sensing module of the slave gateway is used to monitor the signal strength of the terminals around the slave gateway in real time, that is, to perform signal strength detection, and the threshold comparison module is used to compare the detected signal strength with the strength threshold, and then send the MAC of the terminal whose signal strength is greater than or equal to the strength threshold to the user control module.

[0124] In some embodiments, the wireless sensing module of the gateway is also used to monitor the distance between the terminals around the gateway and the gateway in real time, and the threshold comparison module is used to compare the detected distance with the distance threshold, and then send the MAC of the terminal whose distance is less than the distance threshold to the user control module.

[0125] It should be noted that the communication between modules in the gateway is handled by inter-process communication, such as pipelines and message queues. The wireless sensing module obtains the signal strength from the wireless associated 802.11 protocol message.

[0126] The following is an example of the overall process of a FTTR network management method provided by the embodiment of the present disclosure, combined with the structure of the master gateway and the slave gateway. For example, the terminal is a STA, the network access control rule is an ACL rule, the preset threshold is a signal strength threshold, and the terminal information includes the terminal's MAC. Fig.11 , the method may include the following steps:

[0127] 1. Set the signal strength threshold for the slave gateway.

[0128] The network administrator sends the signal strength threshold through the configuration management module of the master gateway, and synchronizes the threshold to all slave gateways through the master-slave synchronization channel.

[0129] 2. When approaching, the STA wireless signal strength is detected to exceed the threshold.

[0130] When the STA approaches the slave gateway, the wireless sensing module of the slave gateway senses that the STA wireless signal strength exceeds the threshold, and predicts that the STA may connect to the current WIFI access network.

[0131] 3. The wireless sensing module compares the STA wireless signal strength with the threshold.

[0132] The wireless sensing module of the slave gateway compares the STA wireless signal strength with the threshold value issued by the master gateway device. The comparison step calculation is set in the slave gateway to reduce the processing burden of the master gateway.

[0133] 4. Send the STA's MAC and wireless signal strength to the user control module.

[0134] If the wireless signal strength of the perceived STA exceeds a threshold, the wireless perception module sends the MAC of the STA and the wireless signal strength to the user control module.

[0135] 5. Query the STA's authentication status through MAC.

[0136] The user control module queries the authentication status of the STA through the obtained MAC.

[0137] 6. Request STA authentication information from the main gateway.

[0138] For STAs that are not configured with ACL rules, the user control module of the slave gateway will request STA authentication information from the master gateway. The content of the requested STA authentication information includes the STA's MAC information, wireless signal strength, etc. If ACL rules for the STA already exist, they will be ignored.

[0139] 7. Check the STA authentication status. If not authenticated, authentication authorization is required.

[0140] The user control module of the main gateway parses and processes the data packet, and queries the user authentication information list based on the MAC of the STA to see whether there is an ACL rule for the STA. If no STA-related ACL rule is found, the user has not been authenticated yet, and the main gateway needs to cooperate in authentication; if it exists, the main gateway sends the ACL rule of the STA to the slave gateway.

[0141] 8. Send STA information to the slave gateway.

[0142] The user control module of the master gateway sends the STA information to the slave gateway, that is, sends the ACL rule of the STA to the slave gateway.

[0143] 9. Update ACL rules based on STA authentication status.

[0144] The slave gateway adds the corresponding ACL access rules for STA according to the reply of the master gateway (tags the MAC). In this way, when the STA actually connects to the WIFI to access the network, the slave gateway directly makes decisions, controls and manages it.

[0145] 10. When the STA wireless signal strength is detected to be continuously lower than the threshold when away from the STA, the ACL rule is cleared.

[0146] When the STA is far away from the slave gateway, after the signal strength detection module of the slave gateway detects that the wireless signal strength of the STA is continuously lower than the threshold for a preset period of time, the slave gateway clears the ACL rule of the STA.

[0147] The following is an example of an FTTR network management method provided by an embodiment of the present disclosure, in conjunction with the terminal movement process.

[0148] Combined with the above condition 1, Fig.12 A schematic diagram of a STA movement process provided by an embodiment of the present disclosure, see Fig.12 When the STA is in position 1, the STA wirelessly connects to the slave gateway 21 and the authentication is successful; then the slave gateway 21 receives the STA authorization information sent by the main gateway. The STA authorization information includes the STA's ACL rules, and the slave gateway 21 adds the STA's MAC message tagging rules.

[0149] When the STA moves to position 2, the STA moves close to the slave gateway 22. The slave gateway 22 detects that the signal strength of the STA reaches the threshold, and the slave gateway 22 reports the STA information to the master gateway. Then, the master gateway queries the ACL configuration information of the STA and sends the query result to the slave gateway 22. The slave gateway 22 receives the configuration information of the STA and adds the ACL rules of the STA. When the STA roams and wirelessly connects to the slave gateway 22, the request messages of the STA are matched to the ACL rules. The request messages of the STA are marked with a fixed tag and sent to the master gateway. After receiving the message marked with the fixed tag, the master gateway matches the specified tag and directly allows Internet access.

[0150] When the STA moves to position 3, the STA continues to move closer to the slave gateway 23 and away from the slave gateway 21. The processing flow of the slave gateway 23 is consistent with that of the slave gateway 22. The slave gateway 21 monitors that the signal strength of the STA is continuously lower than the threshold. After exceeding the DownTime, the ACL rule of the STA is cleared.

[0151] The actions of the master gateway and the slave gateway at different STA locations can be shown in the following Table 1:

[0152] Table 1

[0153]

[0154] Combined with the above condition 3, Fig.13 Another STA moving process diagram provided in the embodiment of the present disclosure is shown in FIG. Fig.13 When the STA is in position 1, the STA wirelessly connects to the slave gateway 21 and the authentication is successful; then the slave gateway 21 receives the STA authorization information sent by the main gateway. The STA authorization information includes the STA's ACL rules, and the slave gateway 21 adds the STA message tagging rules.

[0155] When the STA moves to position 2, the STA moves close to the slave gateway 22. The slave gateway 22 detects that the signal strength of the STA reaches the threshold, and the slave gateway 22 starts the AuthDelay timer (the purpose of starting the timer is to avoid the intermediate state where the signal exceeds the threshold instantaneously during the movement of the STA, and to ensure that the STA is stable before requesting the STA's ACL rules from the master gateway). After the timer expires, the slave gateway 22 determines that the signal strength of the STA still exceeds the threshold, and reports the STA information to the master gateway.

[0156] The STA is also approaching the slave gateway 23. The slave gateway 23 detects that the signal strength of the STA reaches the threshold, starts the AuthDelay timer, and when the timer expires, it determines that the signal strength of the STA is lower than the threshold, and does not report the STA information to the master gateway.

[0157] The STA approaches the slave gateway 24, and the slave gateway 24 detects that the signal strength of the STA reaches a threshold, and starts the AuthDelay timer. When the timer expires, if it is determined that the signal strength of the STA still exceeds the threshold, the STA information is reported to the master gateway.

[0158] The master gateway receives the STA information reported by the slave gateways 22 and 24 , and sends the STA configuration information to the slave gateways 22 and 24 .

[0159] The slave gateway 22 and the slave gateway 24 receive the configuration information of the STA sent by the master gateway, and add ACL rules for the STA.

[0160] The actions of the master gateway and the slave gateway at different STA locations can be shown in the following Table 2:

[0161] Table 2

[0162]

[0163] It should be noted that the above Fig.12 The example shown can be understood as a single-point mode. Fig.13 The example shown can be understood as a multi-point mode. Whether it is a single-point mode or a multi-point mode can be configured according to the actual application scenario, and the embodiments of the present disclosure are not limited to this.

[0164] In the disclosed embodiment, the access control rules of the terminal are distributed to the slave gateways to achieve distribution of the access control rules of the terminal, which can reduce the processing burden of the master gateway, improve the processing capacity of the FTTR network, and enhance the security of the FTTR network.

[0165] The above mainly introduces the solution provided by the present disclosure from the perspective of interaction between various devices. It is understandable that each device, such as a master gateway or a slave gateway, includes a hardware structure and / or software module corresponding to the execution of each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.

[0166] The embodiments of the present disclosure may divide the functional modules of the master gateway or the slave gateway according to the above method embodiments. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one functional module. The above integrated modules may be implemented in the form of hardware or software. It should be noted that the division of modules in the embodiments of the present disclosure is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.

[0167] Fig.14 The following is a schematic diagram of the composition of a communication device provided in an embodiment of the present disclosure. Fig.14 As shown, the communication device 60 includes a receiving unit 601 , a processing unit 602 and a sending unit 603 .

[0168] The communication device 60 may be the above-mentioned master gateway or a chip of the master gateway. When the communication device 60 is used to implement the function of the master gateway in the above-mentioned embodiment, each unit is specifically used to implement the following functions.

[0169] The receiving unit 601 is used to receive information of a terminal to be managed by the gateway sent from the gateway, where the information of the terminal includes an identifier of the terminal;

[0170] The processing unit 602 is used to determine a network access control rule of the terminal based on the information of the terminal;

[0171] The sending unit 603 is used to send the network access control rules of the terminal to the slave gateway.

[0172] In some embodiments, the sending unit 603 is specifically configured to send the network access control rules of the terminal to the slave gateway when the terminal passes the authentication.

[0173] In some embodiments, the sending unit 603 is further configured to send indication information indicating that the terminal has not passed the authentication to the secondary gateway when the terminal has not passed the authentication.

[0174] In some embodiments, the receiving unit 601 is further configured to receive a message sent by a terminal transparently transmitted from a gateway;

[0175] The processing unit 602 is further configured to authenticate the terminal based on the message;

[0176] The sending unit 603 is further configured to send indication information indicating that the terminal has passed the authentication to the secondary gateway when the terminal has passed the authentication, wherein the indication information includes a network access control rule of the terminal.

[0177] In some embodiments, the sending unit 603 is further used to send offline indication information to the slave gateway in response to the terminal going offline, and the offline indication information is used to trigger the deletion of the network access control rule from the slave gateway.

[0178] In some embodiments, the receiving unit 601 is further configured to obtain a preset threshold, where the preset threshold includes at least one of an intensity threshold and a distance threshold;

[0179] The sending unit 603 is further configured to send a preset threshold to the slave gateway, so that the slave gateway determines the terminal to be managed based on the preset threshold.

[0180] Fig.15 A schematic diagram of another communication device provided in an embodiment of the present disclosure. Fig.15 As shown, the communication device 70 includes a sending unit 701 and a receiving unit 702. In some embodiments, the communication device 70 further includes a processing unit 703.

[0181] The communication device 70 may be the above-mentioned slave gateway or a chip in the slave gateway. When the communication device 70 is used to implement the function of the slave gateway in the above-mentioned embodiment, each unit is specifically used to implement the following functions.

[0182] The sending unit 701 is used to send information of the terminal to be managed to the main gateway, where the information of the terminal includes an identifier of the terminal;

[0183] The receiving unit 702 is configured to receive a network access control rule of a terminal sent by the primary gateway based on information of the terminal.

[0184] In some embodiments, the receiving unit 702 is further configured to receive a preset threshold sent by the master gateway, where the preset threshold includes at least one of a strength threshold and a distance threshold;

[0185] The sending unit 701 is specifically used to send information of the terminal to be managed to the master gateway when it is determined that the first preset condition is met according to a preset threshold, and the first preset condition includes at least one of the following: the first signal strength of the terminal detected at the first moment is greater than or equal to the strength threshold; the first distance between the terminal and the slave gateway detected at the first moment is less than or equal to the distance threshold; the first signal strength of the terminal detected at the first moment and the second signal strength of the terminal detected at the second moment are both greater than or equal to the strength threshold, and there is a preset time interval between the first moment and the second moment; the first distance between the terminal and the slave gateway detected at the first moment and the second distance between the terminal and the slave gateway detected at the second moment are both less than or equal to the distance threshold.

[0186] In some embodiments, the sending unit 701 is specifically used to determine whether the network access control rules of the terminal are stored on the slave gateway when it is determined that the first preset condition is met according to a preset threshold; if the network access control rules of the terminal are not stored on the slave gateway, send information of the terminal to be managed to the main gateway.

[0187] In some embodiments, the processing unit 703 is used to manage the network access behavior of the terminal based on the network access control rules after the terminal establishes a connection with the slave gateway.

[0188] In some embodiments, the processing unit 703 is used to delete the network access control rules when a second preset condition is met, and the second preset condition includes at least one of the following: detecting that the signal strength of the terminal is less than the strength threshold for a duration greater than the first duration threshold; detecting that the distance between the terminal and the slave gateway is less than the distance threshold for a duration greater than the second duration threshold; receiving the offline indication information sent by the master gateway, and the offline indication information is used to trigger the deletion of the network access control rules from the slave gateway.

[0189] In some embodiments, the sending unit 701 is also used to, after receiving the indication information sent by the main gateway indicating that the terminal has not passed the authentication, transparently transmit the message sent by the terminal to the main gateway, so that the main gateway authenticates the terminal based on the message, and when the terminal passes the authentication, sends the indication information indicating that the terminal has passed the authentication, and the indication information includes the network access control rules of the terminal.

[0190] It should be noted that Fig.14 and Fig.15 The units in the system may also be referred to as modules, for example, the sending unit may be referred to as a sending module. Fig.14 and Fig.15 In the illustrated embodiment, the names of the various units may not be the names shown in the figure. For example, the sending unit may be called a communication unit, and the receiving unit may be called a communication unit.

[0191] Fig.14 and Fig.15 If each unit in the embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of each embodiment of the present disclosure. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.

[0192] When the communication device 60 or the communication device 70 implements the functions of the integrated modules in the form of hardware, the embodiment of the present disclosure provides a schematic diagram of the structure of a network device. Fig.16 As shown, the network device 80 includes: a processor 802 , a communication interface 803 , and a bus 804 . Optionally, the network device 80 may also include a memory 801 .

[0193] The processor 802 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure. The processor 802 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure. The processor 802 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0194] The communication interface 803 is used to connect to other devices via a communication network, which may be Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0195] The memory 801 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0196] As a possible implementation, the memory 801 may exist independently of the processor 802, and the memory 801 may be connected to the processor 802 via a bus 804 to store instructions or program codes. When the processor 802 calls and executes the instructions or program codes stored in the memory 801, the FTTR network management method provided in the embodiment of the present disclosure can be implemented.

[0197] In another possible implementation, the memory 801 may also be integrated with the processor 802 .

[0198] The bus 804 may be an extended industry standard architecture (EISA) bus, etc. The bus 804 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.16 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0199] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the base station or terminal is divided into different functional modules to complete all or part of the functions described above.

[0200] The embodiment of the present disclosure also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The above computer-readable storage medium can also be an external storage device of the above master device or the first slave device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above master device or the first slave device. Further, the above computer-readable storage medium can also include both the internal storage unit of the above master device or the first slave device and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above master device or the first slave device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.

[0201] The embodiments of the present disclosure also provide a computer program product, which includes computer instructions. When the computer instructions are executed on a computer, the computer is enabled to execute any one of the FTTR network management methods provided in the above embodiments.

[0202] Although the present disclosure is described herein in conjunction with various embodiments, in the process of implementing the claimed disclosure, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0203] Although the present disclosure has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely exemplary illustrations of the present disclosure as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

[0204] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A FTTR network management method, It is characterized in that Applied to the main gateway, the method includes: Receiving information of a terminal to be managed by the slave gateway sent by the slave gateway, wherein the terminal to be managed is a terminal that has not established a connection with the slave gateway and meets a preset threshold, wherein the preset threshold is used to determine the terminal to be managed, and the information of the terminal includes an identifier of the terminal; Determining a network access control rule for the terminal based on the information of the terminal; The network access control rule of the terminal is sent to the secondary gateway.

2. The method according to claim 1, It is characterized in that The sending of the network access control rule of the terminal to the slave gateway comprises: In the case where the terminal passes the authentication, the network access control rule of the terminal is sent to the secondary gateway.

3. The method according to claim 1, It is characterized in that The method further comprises: In the case that the terminal fails to pass the authentication, indication information indicating that the terminal fails to pass the authentication is sent to the secondary gateway.

4. The method according to claim 3, It is characterized in that After sending the indication information indicating that the terminal has not passed the authentication to the secondary gateway, the method further includes: Receiving the message sent by the terminal through the gateway; authenticating the terminal based on the message; In the case that the terminal passes the authentication, indication information indicating that the terminal passes the authentication is sent to the secondary gateway, wherein the indication information includes a network access control rule for the terminal.

5. The method according to claim 1, It is characterized in that The method further comprises: In response to the terminal going offline, offline indication information is sent to the slave gateway, where the offline indication information is used to trigger the slave gateway to delete the network access control rule.

6. The method according to claim 1, It is characterized in that The method further comprises: Acquire a preset threshold, where the preset threshold includes at least one of an intensity threshold and a distance threshold; The preset threshold is sent to the slave gateway, so that the slave gateway determines the terminal to be managed based on the preset threshold.

7. The method according to claim 1, It is characterized in that The network access control rule includes at least one of the following: Access control list ACL rules; Traffic control rules; Bandwidth control rules.

8. A FTTR network management method, It is characterized in that Applied to a slave gateway, the method comprises: Sending information of a terminal to be managed to the master gateway, where the terminal to be managed is a terminal that has not established a connection with the slave gateway and meets a preset threshold, where the preset threshold is used to determine the terminal to be managed, and the information of the terminal includes an identifier of the terminal; The network access control rule of the terminal is received and sent by the main gateway based on the information of the terminal.

9. The method according to claim 8, It is characterized in that The sending of information of the terminal to be managed to the main gateway includes: receiving a preset threshold sent by the master gateway, wherein the preset threshold includes at least one of a strength threshold and a distance threshold; When it is determined according to the preset threshold that a first preset condition is met, information of the terminal to be managed is sent to the main gateway, where the first preset condition includes at least one of the following: A first signal strength of the terminal detected at a first moment is greater than or equal to the strength threshold; A first distance between the terminal and the slave gateway detected at the first moment is less than or equal to the distance threshold; A first signal strength of the terminal detected at the first moment and a second signal strength of the terminal detected at the second moment are both greater than or equal to the strength threshold, and there is a preset time interval between the first moment and the second moment; A first distance between the terminal and the slave gateway detected at the first moment and a second distance between the terminal and the slave gateway detected at the second moment are both less than or equal to the distance threshold.

10. The method according to claim 9, It is characterized in that The sending the information of the terminal to be managed to the main gateway when it is determined according to the preset threshold that the first preset condition is met includes: In the case where it is determined according to the preset threshold that the first preset condition is satisfied, determining whether the network access control rule of the terminal is stored on the slave gateway; In the case that the network access control rule of the terminal is not stored in the slave gateway, the information of the terminal to be managed is sent to the master gateway.

11. The method according to claim 8, It is characterized in that The method further comprises: After the terminal establishes a connection with the slave gateway, the network access behavior of the terminal is managed based on the network access control rule.

12. The method according to claim 8, It is characterized in that The method further comprises: If a second preset condition is met, the network access control rule is deleted, and the second preset condition includes at least one of the following: It is detected that the duration for which the signal strength of the terminal is less than the strength threshold is greater than a first duration threshold; It is detected that the duration for which the distance between the terminal and the slave gateway is less than the distance threshold is greater than a second duration threshold; The offline indication information sent by the master gateway is received, where the offline indication information is used to trigger the slave gateway to delete the network access control rule.

13. The method according to claim 8, It is characterized in that After sending the information of the terminal to be managed to the main gateway, the method further includes: After receiving the indication information sent by the main gateway to indicate that the terminal has not passed the authentication, the main gateway transparently transmits the received message sent by the terminal to the main gateway, so that the main gateway authenticates the terminal based on the message, and when the terminal passes the authentication, sends the indication information to indicate that the terminal has passed the authentication, wherein the indication information includes the network access control rule of the terminal.

14. A communication system, It is characterized in that include: Master gateway and slave gateway; The slave gateway is used to send information of a terminal to be managed to the master gateway, where the terminal to be managed is a terminal that has not established a connection with the slave gateway and meets a preset threshold, where the preset threshold is used to determine the terminal to be managed, and the information of the terminal includes an identifier of the terminal; The master gateway is used to determine the network access control rule of the terminal based on the information of the terminal; and send the network access control rule of the terminal to the slave gateway; The slave gateway is further configured to receive the network access control rule of the terminal sent by the master gateway based on the information of the terminal.

15. A network device, It is characterized in that include: a processor and a memory for storing instructions executable by the processor; The processor is configured to execute the instructions so that the network device performs the method according to any one of claims 1 to 13.

16. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 13.

17. A computer program product, It is characterized in that The computer program product comprises computer instructions, which, when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 13.