CN117651270B - Roaming processing method, device and storage medium - Google Patents
Roaming processing method, device and storage medium Download PDFInfo
- Publication number
- CN117651270B CN117651270B CN202410126082.8A CN202410126082A CN117651270B CN 117651270 B CN117651270 B CN 117651270B CN 202410126082 A CN202410126082 A CN 202410126082A CN 117651270 B CN117651270 B CN 117651270B
- Authority
- CN
- China
- Prior art keywords
- gateway
- message
- slave
- terminal
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 37
- 238000000034 method Methods 0.000 claims abstract description 56
- 238000004891 communication Methods 0.000 claims abstract description 17
- 238000012545 processing Methods 0.000 abstract description 25
- 230000006855 networking Effects 0.000 description 38
- 230000006870 function Effects 0.000 description 25
- 230000008859 change Effects 0.000 description 24
- 230000008569 process Effects 0.000 description 18
- 239000013307 optical fiber Substances 0.000 description 16
- 241000465502 Tobacco latent virus Species 0.000 description 14
- 230000003993 interaction Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 7
- 238000012795 verification Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 239000012634 fragment Substances 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure relates to the technical field of communication, in particular to a roaming processing method, a roaming processing device and a storage medium, which are used for solving the problem that a terminal is difficult to support for network roaming in a cross-networking mobile scene. The method is applied to a first main gateway and comprises the following steps: sending a first message to a second master gateway, wherein the first message is used for requesting state information of a target second slave gateway managed by the second master gateway, and the target second slave gateway is a roaming candidate slave gateway of the terminal; receiving a second message from a second primary gateway; the second message includes state information of the target second slave gateway; and determining whether to allow the terminal to access the target second slave gateway according to the second message.
Description
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a roaming processing method, a roaming processing device and a storage medium.
Background
At present, a full-house optical fiber networking mode from optical fibers to rooms (fiber to the remote, FTTR) is widely used. The whole house optical fiber network can be a wireless network formed by a plurality of gateways (or wireless access points) in a master-multiple-slave mode. In the coverage area of the wireless network, the terminal can be supported to perform network roaming in a network side roaming guiding mode.
However, in a wide range of scenarios such as industrial parks and dormitory buildings, a large number of gateways often need to be deployed to meet the needs of network coverage. In addition, considering that the hardware resource of one main gateway often cannot meet the service requirement, a plurality of gateways can be combined into a plurality of full-house optical fiber networks. In this case, if the terminal moves across the network, it is difficult to support the terminal for network roaming, and network interruption on the terminal side is likely to occur.
Disclosure of Invention
The embodiment of the application provides a roaming processing method, a roaming processing device and a storage medium, which are used for solving the problem that a terminal is difficult to support for network roaming in a cross-networking mobile scene.
In one aspect, a roaming processing method is provided, applied to a first primary gateway, including:
Sending a first message to a second master gateway, wherein the first message is used for requesting state information of a target second slave gateway managed by the second master gateway, and the target second slave gateway is a roaming candidate slave gateway of the terminal;
Receiving a second message from a second primary gateway; the second message includes state information of the target second slave gateway;
and determining whether to allow the terminal to access the target second slave gateway according to the second message.
In still another aspect, a roaming processing method is provided, applied to a second primary gateway, including:
receiving a first message of a first main gateway; the first master gateway is used for managing a target first slave gateway currently connected with the terminal; the first message is used for requesting state information of a target second slave gateway managed by the second master gateway, wherein the target second slave gateway is a roaming candidate slave gateway of the terminal;
And sending a second message to the first master gateway, wherein the second message comprises the state information of the target second slave gateway.
In yet another aspect, a roaming processing apparatus is provided, which is applied to a first primary gateway, and includes: the device comprises a sending module, a receiving module and a determining module;
The sending module is used for sending a first message to the second master gateway, wherein the first message is used for requesting the state information of a target second slave gateway managed by the second master gateway, and the target second slave gateway is a roaming candidate slave gateway of the terminal;
The receiving module is used for receiving a second message from a second main gateway; the second message includes state information of the target second slave gateway;
And the determining module is used for determining whether the terminal is allowed to access the target second slave gateway according to the second message.
In yet another aspect, a roaming processing apparatus is provided, which is applied to a second primary gateway, and includes: a receiving module and a transmitting module;
The receiving module is used for receiving a first message of the first main gateway; the first master gateway is used for managing a target first slave gateway currently connected with the terminal; the first message is used for requesting state information of a target second slave gateway managed by the second master gateway, wherein the target second slave gateway is a roaming candidate slave gateway of the terminal;
And the sending module is used for sending a second message to the first master gateway, wherein the second message comprises the state information of the target second slave gateway.
In yet another aspect, there is provided a communication apparatus comprising: a memory and a processor; the memory is coupled to the processor; the memory is used for storing instructions executable by the processor; the processor, when executing the instructions, implements the roaming processing method described in any of the above embodiments.
In yet another aspect, a computer readable storage medium is provided, on which computer instructions are stored which, when run on a computer, cause the computer to implement the roaming processing method described in any of the above embodiments.
In yet another aspect, a computer program product is provided, comprising computer program instructions which, when executed by a processor, implement the roaming processing method described in any of the above embodiments.
In the embodiment of the application, under the condition that the target second slave gateway in the second network is the roaming candidate slave gateway of the terminal, the first master gateway of the first network can send the first message to the second master gateway of the second network so as to request the state information of the target second slave gateway managed by the second master gateway. Based on the method, the device and the system, under the condition that the terminal moves from the current network (such as the first network) to other networks (such as the second network), the master gateway supporting the current network requests the state information of the slave gateway of the current network to the master gateway of the other networks, so that the state information of the slave gateway of the other networks can be acquired in time. Further, the first primary gateway may receive a second message from the second primary gateway. Since the second message carries the status information of the target second slave gateway, the first master gateway can determine whether to allow the terminal to access the target second slave gateway according to the second message, thereby effectively processing the roaming guidance for the terminal.
Based on the method, the device and the system, the master gateway of the current network can be supported to acquire the slave gateway information of other networks, and the terminal is guided to perform cross-networking roaming in time, so that the cross-networking seamless roaming guidance in a FTTR full-house optical fiber networking scene is realized, the service interruption at the terminal side is avoided, and the roaming experience of a user is improved. Therefore, the application can be used for improving the problem that the terminal is difficult to support for network roaming in a cross-networking mobile scene, and effectively avoiding network interruption at the terminal side.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are required to be used in some embodiments of the present application will be briefly described below, and it is apparent that the drawings in the following description are only drawings of some embodiments of the present application, and other drawings may be obtained according to these drawings to those of ordinary skill in the art.
Fig. 1 is a schematic structural diagram of a networking system according to some embodiments of the present application;
Fig. 2 is a schematic structural diagram of a primary gateway according to some embodiments of the present application;
FIG. 3 is a schematic diagram of a message interaction flow provided in some embodiments of the present application;
fig. 4 is a flow chart of a roaming processing method according to some embodiments of the present application;
FIG. 5 is a flowchart illustrating a roaming processing method according to some embodiments of the present application;
FIG. 6 is a flowchart illustrating a roaming processing method according to some embodiments of the present application;
FIG. 7 is a flowchart illustrating a roaming processing method according to some embodiments of the present application;
FIG. 8 is a flowchart illustrating a roaming processing method according to some embodiments of the present application;
FIG. 9 is a flowchart illustrating a roaming processing method according to some embodiments of the present application;
FIG. 10 is a flowchart illustrating a roaming processing method according to some embodiments of the present application;
FIG. 11 is a flowchart illustrating a roaming processing method according to some embodiments of the present application;
Fig. 12 is a schematic structural diagram of a roaming processing device according to some embodiments of the present application;
FIG. 13 is a schematic diagram illustrating a roaming processing device according to some embodiments of the present application;
fig. 14 is a schematic structural diagram of another roaming processing device according to some embodiments of the present application.
Detailed Description
The following description of the embodiments of the present application will be made more apparent and fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the application are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the present application, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature.
In the description of the present application, "/" means "or" unless otherwise indicated, for example, A/B may mean A or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. Furthermore, "at least one" means one or more, and "a plurality" means two or more.
With the rapid development of network access technology, intelligent home networks have evolved to FTTR full-house optical fiber networking. A full-house optical fiber networking may establish a wireless network consisting of a plurality of wireless Access Points (APs) to enhance wireless coverage and network capacity. An AP may also be understood as a Wi-Fi enabled gateway. For example, the whole-house optical fiber networking may be a wireless network formed by a plurality of gateways in a master multi-slave mode. In the coverage area of the wireless network, network roaming can be carried out through the support terminal, so that the user can be connected to the nearest AP at any time in the process of free movement.
At present, network roaming of a terminal can be supported generally through two modes of terminal-side autonomous decision and network-side roaming guidance. The terminal side autonomous decision is to autonomously monitor the current network state by the terminal, autonomously find a new AP when the current network condition is perceived to be poor, and further autonomously switch to the new AP at a proper time. The network side roaming guiding refers to detecting the network state of the terminal in real time by the network side, and when detecting the AP with the more suitable terminal, sending a roaming guiding instruction to the terminal so as to guide the terminal to switch from the current AP to the more suitable AP under the condition of not interrupting network connection.
In comparison, the network side can more fully know the information of the whole network, and can more accurately judge the roaming time of the terminal and select the AP which is more suitable for the terminal in a network standard and superior mode. The master gateway or the slave gateway can determine the target slave gateway most suitable for the terminal according to the real-time measurement information such as the signal intensity of the terminal, the load information of the slave gateway and the like, and send a roaming guiding instruction to the terminal when appropriate, so as to guide the terminal to roam and switch to the target slave gateway, and realize roaming guiding.
However, in a wide range of scenarios such as industrial parks and dormitory buildings, a large number of gateways often need to be deployed to meet the needs of network coverage. In addition, considering that the hardware resource of one main gateway often cannot meet the service requirement, a plurality of gateways can be combined into a plurality of full-house optical fiber networks. In this case, if the terminal moves across the network, it is difficult to support the terminal for network roaming, and network interruption on the terminal side is likely to occur.
In order to solve the problem that network interruption is easy to occur when a terminal moves across a network, the embodiment of the application provides a roaming processing method, and in the case that a target second slave gateway in a second network is a roaming candidate slave gateway of the terminal, a first master gateway of a first network can send a first message to a second master gateway of the second network so as to request state information of the target second slave gateway managed by the second master gateway.
Based on the method, the device and the system, under the condition that the terminal moves from the current network (such as the first network) to other networks (such as the second network), the master gateway supporting the current network requests the state information of the slave gateway of the current network to the master gateway of the other networks, so that the state information of the slave gateway of the other networks can be acquired in time.
Further, the first primary gateway may receive a second message from the second primary gateway. Since the second message carries the status information of the target second slave gateway, the first master gateway can determine whether to allow the terminal to access the target second slave gateway according to the second message, thereby effectively processing the roaming guidance for the terminal.
Based on the method, the device and the system, the master gateway of the current network can be supported to acquire the slave gateway information of other networks, and the terminal is guided to perform cross-networking roaming in time, so that the cross-networking seamless roaming guidance in a FTTR full-house optical fiber networking scene is realized, the service interruption at the terminal side is avoided, and the roaming experience of a user is improved. Therefore, the application can be used for improving the problem that the terminal is difficult to support for network roaming in a cross-networking mobile scene, and effectively avoiding network interruption at the terminal side.
In some embodiments of the present application, the roaming processing method may be applied to a first primary gateway in a networking system. The networking system provided by the embodiment of the application is described below.
Fig. 1 is a schematic diagram of a networking system 100 according to an embodiment of the present application. As shown in fig. 1, the networking system 100 may include a terminal 10, a first master gateway 20, a plurality of first slave gateways 30, a second master gateway 40, and a plurality of second slave gateways 50.
Wherein the first primary gateway 20 and the second primary gateway 40 may be connected through a wired network or a wireless network. The first master gateway 20 and the plurality of first slave gateways 30 may constitute a first full-house optical fiber networking (hereinafter referred to as "first subnetwork"). The first master gateway 20 may be connected to a plurality of first slave gateways 30 through optical splitters, respectively. The terminal 10 may be connected to any one of the plurality of first slave gateways 30. The arbitrary first slave gateway 30 may also be referred to as a target first slave gateway.
The second master gateway 40 and the plurality of second slave gateways 50 may also constitute a second full-house optical fiber network (hereinafter referred to as "second subnetwork"). The second master gateway 40 may be connected to a plurality of second slave gateways 50 through optical splitters, respectively. Any one of the plurality of second slave gateways 50 may be a candidate roaming gateway for the terminal 10. The arbitrary second slave gateway 50 may also be referred to as a target second slave gateway.
As shown in fig. 1, the terminal 10 may move from the coverage of a first slave gateway 30 to the coverage of a second slave gateway 50 of the current connection. In other words, the terminal 10 may move from the coverage of the target first slave gateway to the coverage of the target second slave gateway.
In practical applications, the networking system 100 in fig. 1 may include a plurality of terminals, and other gateways of the master gateway and the slave gateway under the networking. For example, the networking system 100 in fig. 1 may further include a third master gateway and a plurality of third slave gateways under a third full-house optical fiber networking, and so on. For easy understanding, the networking system of the embodiment of the present application is illustrated as including one terminal, and two primary gateways and secondary gateways under the networking.
The terminal 10 of fig. 1 may be provided with a wireless network access function for supporting access to an internet network by a user. An example of a device configuration of the terminal 10 is shown in fig. 1, and is not intended to limit the device configuration of the terminal 10.
Alternatively, the terminal 10 may be a User Equipment (UE), an access terminal, a terminal unit, a subscriber station, a terminal station, a mobile station, a remote terminal, a user terminal (terminal equipment, TE), a mobile device, a wireless communication device, a terminal proxy, a tablet, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle-mounted transceiver unit, a wearable device, or a terminal apparatus in a fifth generation mobile communication technology (5th generation,5G) network or a public land mobile network (public land mobile network, PLMN) that evolves after 5G. An access terminal may be a cellular telephone, a cordless telephone, a session initiation protocol (session initiation protocol) telephone, a wireless local loop (wireless local loop, WLL) station, personal Digital Assistant (PDA), a wireless terminal in a smart home, etc.
The first and second primary gateways 20 and 40 in fig. 1 may have a roaming processing function for guiding a terminal to intra-network roaming or inter-network roaming. Furthermore, the first primary gateway 20 and the second primary gateway 40 in fig. 1 may also be used for connecting to an upper layer network element for supporting data interaction between the terminal and the external network.
The plurality of first slave gateways 30 and the plurality of second slave gateways 50 in fig. 1 may have Wi-Fi functions, and may be used to establish a wireless connection with the terminal 10, supporting access of the terminal 10 to an external network. For example, the plurality of first slave gateways 30 may forward the message from the terminal 10 to the first master gateway 20, and then the first master gateway 20 forwards the message to an upper layer network element, thereby implementing the access of the terminal 10 to the external network. As another example, the plurality of second slave gateways 50 may forward the message from the terminal 10 to the second master gateway 40, and then the second master gateway 40 forwards the message to an upper layer network element, thereby implementing the access of the terminal 10 to the external network.
Alternatively, the first primary gateway 20 and the second primary gateway 40 may have Wi-Fi functions or may not have Wi-Fi functions while having roaming processing functions. In other words, the first and second primary gateways 20 and 40 may be deployed as APs for establishing wireless connections with the terminal 10 while performing roaming guidance. Or the first and second primary gateways 20 and 40 may not be deployed as APs and dedicated to roaming steering. The embodiment of the present application is not limited thereto.
For ease of understanding, some embodiments of the present application are described by taking the example that the first and second primary gateways 20 and 40 do not have Wi-Fi functionality.
In a possible manner, a message may be exchanged between the first master gateway 20 and the second master gateway 40, so that the first master gateway 20 obtains configuration information or state information of the second slave gateway 50 in the second sub-network, or the second master gateway 40 obtains configuration information or state information of the first slave gateway 30 in the first sub-network.
Illustratively, as shown in fig. 2, the primary gateway 200 (e.g., the first primary gateway 20 and the second primary gateway 40) in the embodiment of the present application may be configured with a cross-networking coordination management function for supporting coordination management of configuration information or status information of the secondary gateways among the primary gateways, and the like. The cross-networking coordination management function can be realized through a WAN side message receiving module, a WAN side message management module and a WAN side message sending module.
The WAN side message receiving module may be configured to receive a cross-subnetwork coordination management message from the WAN network. The cross-sub-network coordination management message may be sent by other master gateways for coordination management of configuration information or status information of slave gateways, etc. For example, the cross-subnetwork coordination management message may be a first message, a second message, a third message, an eighth message, a ninth message, or a tenth message. The WAN side message management module may be configured to coordinate management messages across the sub-networks in response to receipt. Or the WAN side message management module may also be used to actively edit cross-subnetwork coordination management messages directed to other primary gateways. The WAN side messaging module may be used to send cross-subnetwork coordination management messages to other primary gateways within the WAN network.
For example, the cross-subnetwork coordination management message may be a first message for obtaining state information of a target second slave gateway within the second subnetwork. The first main gateway 20 may actively edit the cross-sub-network coordination management message through the WAN side message management module and transmit the cross-sub-network coordination management message to the second main gateway 40 through the WAN side message transmission module. Correspondingly, the second master gateway 40 may receive the cross-sub-network coordination management message from the first master gateway 20 through the WAN side message receiving module, respond to the received cross-sub-network coordination management message through the WAN side message management module, read the state information of the target second slave gateway, and send the state information of the target second slave gateway to the first master gateway 20 through the WAN side message sending module. Based on the interaction flow, the first master gateway 20 may obtain state information of the target second slave gateway.
Alternatively, the connection between the first primary gateway 20 and the second primary gateway 40 may be established based on a data link layer protocol, so as to implement the connectivity of the data link layer. Or the first main gateway 20 and the second main gateway 40 can also establish connection based on the network layer protocol to realize the communication of the network layer. The embodiment of the present application is not limited thereto.
In one possible manner, the primary gateway of each sub-network in the networking system may be preconfigured with a preset message structure. The preset message structure can be used for indicating the message structure of a plurality of messages in the interaction process between the main gateways and supporting the information interaction between the main gateways. For example, the message structure of the first message, the second message, the third message, the eighth message, the ninth message, and the tenth message. The first primary gateway 20 may generate the first message in accordance with the preset message structure. The second primary gateway may parse the first message according to the preset message structure.
In a possible manner, in connection with fig. 2, the preset message structure may be preconfigured in the WAN side message management module of the primary gateway. For example, the first primary gateway 20 may process the received message according to a preset message structure through a configured WAN side message management module to determine a message type and purpose, and the like.
Alternatively, the preset message structure may be defined based on an Institute of Electrical and Electronics Engineers (IEEE) 1905 protocol, may be defined based on an ethernet frame format, may be defined based on an internet protocol (internet protocol, IP), or may be defined based on other means. The embodiment of the present application is not limited thereto.
Illustratively, the preset message structure may be defined based on the IEEE1905 protocol. Six kinds of information including a first information, a second information, a third information, an eighth information, a ninth information and a tenth information can be added in the IEEE1905 protocol information for information interaction between the main gateways.
The first message may be referred to as a roaming candidate slave gateway real-time information request message for requesting real-time status information of the roaming candidate slave gateway, divided by function type. The second message may be referred to as a roaming candidate slave gateway real-time information report message for reporting real-time status information of the roaming candidate slave gateway. The third message may be referred to as a cross-subnet coordination management acknowledgement message for indicating acknowledgement of receipt of the relevant message. The eighth message may be referred to as a subnet access point information request message for requesting information of all slave gateways in other subnets. The ninth message may be referred to as a subnet access point information reporting message for requesting configuration information of all slave gateways within the current subnet. The tenth message may be referred to as a subnet access point information change notification message for indicating the configuration information updated from the gateway in the current subnet.
The six messages may be newly defined 1905.1 messages. As shown in table 1 below, a message type (MESSAGE TYPE), a Value (Value), a transmission type (Transmission Type), and a relay indication field (Relay Indicator Field) are for the six messages. The transmission type may be Unicast (Unicast) or Unicast or Multicast (Multicast).
TABLE 1
As shown in table 2 below, for the specific structure of the six messages, a destination Media Access Control (MAC) address, a source MAC address, an ethernet type 0x893A, a Message Version (Message Version), a reserved field (RESERVED FIELD), a Message type, a Message Identifier (ID), a fragment ID, a last fragment indication, a relay indication, a plurality of 1905.1 protocol type-length-values (TYPE LENGTH value, TLVs), and an end-of-Message TLV may be included. Wherein the field "message type" may be used to carry a value indicating a message.
For example, when the field "message type" is 0x1000, the message may be indicated as a cross-subnet coordinated management acknowledgement message.
When the field "message type" is 0x1001, the message may be indicated as a subnet access point information change notifying message.
When the field "message type" is 0x1002, the message may be indicated as a subnet access point information request message.
When the field "message type" is 0x1003, the message may be indicated as a subnet access point information report message.
When the field "message type" is 0x1004, the message may be indicated as a roaming candidate request message from the gateway real-time information.
When the field "message type" is 0x1005, the message may be indicated as a roaming candidate slave gateway real time information report message.
TABLE 2
To support information interaction between primary gateways, three TLV structures may be newly defined in the newly defined 1905.1 message, as shown in table 3 below.
Within the subnet access point information reporting message, the Base Service Set Identifiers (BSSIDs) of all slave gateways in the current subnet may be carried by a subnet access point information reporting TLV.
In the roaming candidate slave gateway real-time information request message, the roaming candidate slave gateway BSSID which needs to be queried can be carried through the roaming candidate slave gateway real-time information request TLV.
The roaming candidate slave gateway real-time information report TLV can be used for carrying the current state information of the roaming candidate slave gateway in the roaming candidate slave gateway real-time information report message.
The current status information of the roaming candidate slave gateway may include information related to roaming decisions such as a working channel of the roaming candidate slave gateway, an operation class, a bandwidth, an associated user number, a signal to noise ratio, indication information indicating whether a new terminal is allowed to access, and the like.
TABLE 3 Table 3
An example of a structure of the subnet-access point information reporting TLV is shown in table 4 below.
TABLE 4 Table 4
An example of a structure of a request TLV from gateway real-time information for roaming candidates is shown in table 5 below.
TABLE 5
An example of a structure for reporting TLVs from gateway real-time information for roaming candidates is shown in table 6 below. The value of the roaming candidate from gateway real-time information report TLV may be a variable length for carrying information such as BSSID, channel Number (Channel Number), operation class (Operate Class), bandwidth (Band Width), and Number of wireless Stations (STAs).
TABLE 6
Based on the six messages, the information interaction about the slave gateway can be realized between the master gateway and the slave gateway.
Fig. 3 is a schematic diagram of a message interaction flow between primary gateways according to an embodiment of the present application. The message interaction flow may include S301-S307.
S301, after the first primary gateway 20 starts, a subnet access point information request message may be sent to other primary gateways in the networking system by multicast (i.e. multicasting). Accordingly, the second primary gateway 40 may receive the subnet access point information request message from the first primary gateway 20.
S302, the second primary gateway 40 may unicast a subnet access point information report message to the first primary gateway 20 in response to the subnet access point information request message. Accordingly, the first primary gateway 20 may receive a subnet access point information reporting message from the second primary gateway 40.
S303, the first primary gateway 20 may unicast a cross-subnet coordination management acknowledgement message to the second primary gateway 40 in response to the subnet access point information reporting message. Accordingly, the second primary gateway 40 may receive the cross-subnet coordination management acknowledgement message from the first primary gateway 20.
S304, after the slave gateway in the first sub-network changes (for example, the slave gateway starts, the new slave gateway joins and the configuration information changes, etc.), the first master gateway 20 may multicast and send the sub-network access point information change notification message to other master gateways in the networking system. Accordingly, the second primary gateway 40 may receive the subnet access point information change notification message from the first primary gateway 20.
S305, when the first master gateway 20 performs the cross-network roaming guidance, the roaming candidate slave gateway real-time information request message may be unicast sent to the master gateway of the sub-network where the target slave gateway is located. For example, when the target slave gateway is the second slave gateway, the first master gateway 20 may unicast a roaming candidate slave gateway real-time information request message to the second master gateway 40. Accordingly, the second master gateway 40 may receive the roaming candidate slave gateway real time information request message from the first master gateway 20.
S306, the second master gateway 40 may unicast a roaming candidate slave gateway real-time information report message to the first master gateway 20 in response to the roaming candidate slave gateway real-time information request message. Accordingly, the first master gateway 20 may receive the roaming candidate slave gateway real time information report message from the second master gateway 40.
S307, the first master gateway 20 may unicast a cross-subnet coordination management acknowledgement message to the second master gateway 40 in response to the roaming candidate slave gateway real-time information reporting message. Accordingly, the second primary gateway 40 may receive the cross-subnet coordination management acknowledgement message from the first primary gateway 20.
The roaming processing method provided by the embodiment of the present application is described below with reference to the networking system shown in fig. 1. Fig. 4 is a flow chart of a roaming processing method according to an embodiment of the present application. The method shown in fig. 4 may be applied to the networking system shown in fig. 1. As shown in fig. 4, the roaming processing method may include: S401-S403.
S401, the first main gateway sends a first message to the second main gateway.
Corresponding to the process of S401, the second primary gateway may receive a first message from the first primary gateway.
Wherein the first message may be used to request status information of a target second slave gateway managed by the second master gateway. The target second slave gateway may be a roaming candidate slave gateway for the terminal.
In a possible manner, in conjunction with the application scenario shown in fig. 1, the terminal may be located within the coverage area of the target first slave gateway in the first sub-network, and establish a wireless connection with the target first slave gateway. The first sub-network is a full-house optical fiber networking consisting of a first master gateway and a plurality of first slave gateways. The first master gateway is used for managing a target first slave gateway to which the terminal is currently connected. The target first slave gateway is a first slave gateway connected with the terminal among a plurality of first slave gateways managed by the first master gateway.
The user carrying the terminal can move from the coverage of the target first slave gateway to the coverage of the target second slave gateway in the second sub-network, and gradually moves away from the coverage of the target first slave gateway, namely gradually moves away from the first sub-network. And the second sub-network is a full-house optical fiber networking consisting of a second main gateway and a plurality of second auxiliary gateways. The target second slave gateway is a second slave gateway on the terminal mobile path among the plurality of second slave gateways.
The first main gateway can detect that the terminal moves far through a position tracking mode or a channel strength change trend measuring mode and the like, and determines to conduct roaming guidance on the terminal. In this case, the first master gateway may interact with the terminal through the target first slave gateway to obtain a list of optional access points within the receiving range of the terminal. The list of optional access points may include information such as the channel strength from the gateway measured by the terminal at the current location. For example, the target second slave gateway may be measured when the terminal is in the position shown in fig. 1. I.e. the list of optional access points may include information such as the channel strength of the target second slave gateway.
Further, the first master gateway may parse the list of optional access points to determine a roaming candidate slave gateway for which the target second slave gateway is a terminal. The first master gateway may send a first message to the second master gateway requesting status information of the target second slave gateway in order to determine whether terminal roaming may be directed to the target second slave gateway.
In one possible manner, the target second slave gateway may be a slave gateway meeting a preset condition from among roaming candidate slave gateways around the terminal. The preset condition may include at least one of: the slave gateway with the greatest channel strength with the terminal and the slave gateway with the nearest distance with the terminal.
For example, the first master gateway may parse the optional access point list to obtain information such as channel intensities of a plurality of roaming candidate slave gateways including the target second slave gateway, and compare the channel intensities of the plurality of roaming candidate slave gateways to determine that the target second slave gateway is the slave gateway with the largest channel intensity between the target second slave gateway and the terminal, that is, determine that the target second slave gateway is the slave gateway meeting the preset condition.
For another example, the first master gateway may pre-store configuration information of slave gateways of each sub-network in the networking system. The configuration information may include deployment location information from the gateway. The terminal may send the current location information to the first master gateway while sending the list of selectable access points to the first master gateway through the target first slave gateway. After the first master gateway analyzes the optional access point list to determine a plurality of roaming candidate slave gateways, the first master gateway can read the pre-stored deployment position information of the plurality of roaming candidate slave gateways and determine the distance between the plurality of roaming candidate slave gateways and the terminal by combining the current position information of the terminal. Furthermore, the first master gateway may compare the distances between the plurality of roaming candidate slave gateways and the terminal, and determine that the target second slave gateway is the slave gateway closest to the terminal, that is, determine that the target second slave gateway is the slave gateway meeting the preset condition.
In one possible approach, the first message may include identification information of the target second slave gateway. The identification information may be used to uniquely identify the target second slave gateway. For example, the first message may be a roaming candidate slave gateway real-time information request message, through which the TLV may be requested to carry the BSSID of the target second slave gateway. The BSSID may be used to uniquely identify an AP (i.e., gateway) in the wireless local area network and may be generated based on the MAC address of the AP.
In a possible manner, after the second master gateway receives the first message from the first master gateway, the first message may be parsed based on a preset message structure to obtain the BSSID of the target second slave gateway, and the first message is determined to be used for requesting the state information of the target second slave gateway.
S402, the second main gateway sends a second message to the first main gateway.
Corresponding to the process of S402, the first primary gateway may receive a second message from the second primary gateway.
Wherein the second message may include state information of the target second slave gateway.
The state information of the target second slave gateway may include at least one of: working channel, operation class, bandwidth, number of associated users, signal to noise ratio, indication information for indicating whether a new terminal is allowed to access. The working channel may be used to indicate the wireless channel on which the target second slave gateway is currently working. The operation class may be used to indicate the type of operation of the target second slave gateway on the channel information. The bandwidth may be used to indicate the amount of data that the target second slave gateway may transmit in a unit of time. The number of associated users may be used to indicate the number of terminals establishing a connection with the target second slave gateway. The signal to noise ratio may be used to indicate the current channel quality of the target second slave gateway.
In one possible manner, the second master gateway may instruct the target second slave gateway to measure and report the current state information, so as to obtain the current state information of the target second slave gateway. Further, the second master gateway may send a second message carrying state information of the target second slave gateway to the first master gateway. For example, the second message may be a roaming candidate slave gateway real-time information report message, through which TLV the current state information of the target second slave gateway may be carried.
In one possible approach, the first message may also include a first message identifier (MESSAGE IDENTIFIER, MID). The first MID may be used to uniquely identify the first message. The second master gateway may parse the first message to obtain the first MID and add the first MID to the second message so that the first master gateway determines that the second message is used to respond to the first message.
In one possible manner, after the first primary gateway receives the second message from the second primary gateway, the first primary gateway may parse the MID field in the second message to obtain the first MID, and determine that the second message is used to respond to the first message. Further, the first master gateway may parse the TLV field in the second message to obtain the state information of the target second slave gateway.
S403, the first master gateway determines whether to allow the terminal to access the target second slave gateway according to the second message.
In one possible manner, after the first master gateway parses the second message to obtain the state information of the target second slave gateway, a determination may be made based on the state information of the target second slave gateway to determine whether to allow the terminal to access the target second slave gateway.
For example, in the case that the indication information in the state information of the target second slave gateway is used to indicate that the new terminal is not allowed to access, the first master gateway may determine that the terminal is not allowed to access the target second slave gateway.
For another example, in the case that the indication information in the state information of the target second slave gateway is used to indicate that the new terminal is allowed to access, and the signal to noise ratio in the state information of the target second slave gateway is less than or equal to the preset signal to noise ratio threshold, the first master gateway may determine that the terminal is not allowed to access the target second slave gateway.
For another example, the first master gateway may determine to allow the terminal to access the target second slave gateway in case the indication information in the state information of the target second slave gateway is used to indicate that the new terminal is allowed to access.
For another example, in the case that the indication information in the state information of the target second slave gateway is used to indicate that the new terminal is allowed to access, and the signal to noise ratio in the state information of the target second slave gateway is greater than the preset signal to noise ratio threshold, the first master gateway may determine to allow the terminal to access the target second slave gateway.
Based on the method, the device and the system, the master gateway of the current network can be supported to acquire the slave gateway information of other networks, and the terminal is guided to perform cross-networking roaming in time, so that the cross-networking seamless roaming guidance in a FTTR full-house optical fiber networking scene is realized, the service interruption at the terminal side is avoided, and the roaming experience of a user is improved. Therefore, the application can be used for improving the problem that the network roaming is difficult to be carried out by the terminal in the cross-networking mobile scene, and effectively avoiding the network interruption at the terminal side.
In an embodiment, in conjunction with fig. 4, after S402, that is, after the second primary gateway sends the second message to the first primary gateway, as shown in fig. 5, the roaming processing method provided in the embodiment of the present application may further include: s501.
S501, the first main gateway sends a third message to the second main gateway.
Corresponding to the process of S501, the second primary gateway may receive a third message sent by the first primary gateway.
Wherein the third message may be used to acknowledge receipt of the second message.
In one possible manner, after the first primary gateway receives the second message, a third message may be sent to the second primary gateway. And, the first main gateway may add the first MID in the third message, so that the second main gateway determines that the third message is responsive to the second message, and is configured to instruct the first main gateway to receive the second message, so as to avoid the second main gateway retransmitting the second message.
Correspondingly, the second main gateway can receive the third message sent by the first main gateway and analyze the third message to obtain related information so as to determine that the first main gateway receives the second message.
For example, the second message may be the cross-subnet coordination management acknowledgement message in table 1 above. In combination with table 2, after the second primary gateway receives the third message, the second primary gateway may parse the third message to obtain a value of field "message type" of 0x1000 and a value of field "message ID" of the first MID, so as to determine that the third message is a cross-subnet coordinated management acknowledgement message, and is used for acknowledging receipt of the second message.
Alternatively, the above-described step numbers do not limit the execution order of S403 and S501. For example, S403 may be executed before S501, may be executed after S501, or may be executed simultaneously with S501. The embodiment of the present application is not limited thereto.
In an embodiment, in conjunction with fig. 4, after S403, that is, after the first master gateway determines whether to allow the terminal to access the target second slave gateway according to the second message, as shown in fig. 6, the roaming processing method provided in the embodiment of the present application may further include: s601.
S601, the first master gateway sends a fourth message to the target first slave gateway under the condition that the terminal is allowed to access the target second slave gateway.
Wherein the fourth message may be used to instruct the terminal to access the target second slave gateway.
In a possible manner, the first master gateway may send a fourth message to the target first slave gateway in case it is determined to allow the terminal to access the target second slave gateway, so as to complete the roaming process of the terminal switched from the target first slave gateway to the target second slave gateway. The fourth message may include an operating channel of the target second slave gateway, indication information for indicating that the terminal accesses the target second slave gateway, and the like.
The target first slave gateway may receive the fourth message from the first master gateway and forward information in the fourth message to the terminal. Accordingly, the terminal may receive information in the fourth message from the target first slave gateway and disconnect the connection with the target first slave gateway and establish a connection with the target second slave gateway.
Or after the target first slave gateway forwards the information in the fourth message to the terminal, the target first slave gateway can actively disconnect the connection with the terminal. After receiving the information in the fourth message from the target first slave gateway, the terminal can establish a connection with the target second slave gateway.
In one embodiment, in order to support the first primary gateway to determine whether roaming guidance is needed for the terminal, and support the first primary gateway to determine a roaming candidate secondary gateway for the terminal, before the first primary gateway sends the first message to the second primary gateway, as shown in fig. 7, the roaming processing method provided in the embodiment of the present application further includes: S701-S704.
S701, the first master gateway receives a sixth message sent by the terminal through the target first slave gateway.
Wherein the sixth message may be used to indicate the channel strength between the terminal and the target first slave gateway. The channel strength may be used to characterize the transmission quality of the wireless communication channel between the terminal and the target first slave gateway, etc.
In one implementation, the terminal may measure the channel strength with the target first slave gateway in real time or periodically, and may add the measured channel strength with the target first slave gateway to a sixth message, and send the sixth message to the first master gateway through the target first slave gateway. Correspondingly, the first master gateway can receive a sixth message sent by the terminal through the target first slave gateway and analyze the sixth message to obtain the channel strength between the terminal and the target first slave gateway.
S702, the first master gateway sends a seventh message to the terminal through the target first slave gateway under the condition that the channel intensity between the terminal and the target first slave gateway is smaller than or equal to a first threshold value.
Wherein the seventh message may be used to instruct the terminal to measure the channel strength of the slave gateway around the terminal, i.e. instruct the terminal to measure the channel strength of the slave gateway within the access range.
The first threshold may be preset in the first master gateway, for determining whether the channel strength between the terminal and the slave gateway can support the communication service of the terminal.
In one possible approach, the first master gateway may compare the channel strength between the terminal and the target first slave gateway to a first threshold.
Under the condition that the channel intensity between the terminal and the target first slave gateway is larger than a first threshold value, the channel intensity between the terminal and the target first slave gateway can support the communication service of the terminal, and the terminal does not need to be switched to other slave gateways. In this case, the first primary gateway may determine that roaming guidance for the terminal is not required.
In the case that the channel strength between the terminal and the target first slave gateway is less than or equal to the first threshold, it may be indicated that the channel strength between the terminal and the target first slave gateway is insufficient to support the communication service of the terminal, and the terminal needs to be switched to the other slave gateway. In this case, the first master gateway may determine that roaming guidance is required for the terminal, and send a seventh message to the terminal through the target first slave gateway to obtain a roaming candidate slave gateway for the terminal.
S703, the first master gateway receives a fifth message sent by the terminal through the target first slave gateway.
Wherein the fifth message may be used to indicate the channel strength of the slave gateway around the terminal.
In one possible approach, the terminal may receive a seventh message sent by the first master gateway through the target first slave gateway, and may measure the channel strength of the surrounding slave gateways in response to the seventh message. Further, the terminal may add the measured channel strengths of the surrounding slave gateways to the fifth message and transmit the fifth message to the first master gateway through the target first slave gateway. Correspondingly, the first master gateway can receive a fifth message sent by the terminal through the target first slave gateway, and analyze the fifth message to obtain the channel intensity of the slave gateways around the terminal.
And S704, the first master gateway determines roaming candidate slave gateways of the terminal from slave gateways around the terminal according to the fifth message.
In one possible manner, the first master gateway may compare the channel strength of the slave gateway around the terminal in the fifth message with the second threshold, and determine the slave gateway around the terminal with the channel strength greater than the second threshold as the roaming candidate slave gateway of the terminal. The second threshold may be preset in the first master gateway, and is used for determining the slave gateway with the channel strength meeting the communication service requirement of the terminal.
In a possible manner, in the case that the number of roaming candidate slave gateways of the terminal is two or more, the first master gateway may further perform screening according to a preset condition to obtain an optimal roaming candidate slave gateway. This process may refer to the description in S401, and will not be described again here.
In one embodiment, the coordination management of the slave gateways can be realized through message interaction between the master gateways in the networking system. The following describes a coordinated management flow of the slave gateway by taking a message interaction procedure between the first master gateway and the second master gateway shown in fig. 8 as an example. As shown in fig. 8, the roaming processing method provided by the embodiment of the present application further includes: S801-S802.
S801, the first main gateway sends an eighth message to the second main gateway.
Corresponding to the process of S801, the second primary gateway receives the eighth message sent by the first primary gateway.
Wherein the eighth message may be used to request configuration information of the second slave gateway managed by the second master gateway.
In a possible manner, after the first main gateway is powered on and started, an eighth message may be multicast to the main gateways of other sub-networks in the networking system to obtain configuration information of the slave gateways in the other sub-networks, so as to establish a complete slave gateway information list, and obtain access point information in the networking system.
For example, in connection with fig. 2, the first primary gateway may determine that it is powered on by the configured WAN side message management module, multicast and send an eighth message (i.e. a subnet access point information request message) to the WAN side by the configured WAN side message sending module, and wait for a ninth message (i.e. a subnet access point information report message) sent by the primary gateway of the other subnet through the WAN side by the configured WAN side message receiving module. In this case, the second primary gateway may receive the eighth message from the first primary gateway through the configured WAN side message receiving module.
S802, the second main gateway sends a ninth message to the first main gateway.
Corresponding to the process of S802, the first primary gateway receives a ninth message sent by the second primary gateway.
Wherein the ninth message may include configuration information of the second slave gateway managed by the second master gateway. The configuration information of the second slave gateway may include a BSSID of the second slave gateway.
In a possible manner, after the second master gateway receives the eighth message from the first master gateway, the second master gateway may read the configuration information of each managed second slave gateway in response to the eighth message, and unicast the ninth message to the first master gateway. Correspondingly, the first master gateway may receive the ninth message sent by the second master gateway, and parse the ninth message to obtain configuration information of each second slave gateway.
For example, in connection with fig. 2, after the second primary gateway receives the eighth message from the first primary gateway through the configured WAN side message receiving module, the eighth message may be checked through the configured WAN side message management module.
If the eighth message is verified to be in accordance with the message structure of the subnet-access-point-information-request message defined in the preset message structure, and the MID in the eighth message is the same as the subnet-access-point-information-request message received before, the eighth message may be indicated to be a repeatedly received message, and the second primary gateway may determine that the verification fails and discard the eighth message. If the check of the eighth message does not conform to any message structure defined in the preset message structure, it may indicate that the eighth message is an abnormal message, and the second primary gateway may also determine that the check fails and discard the eighth message.
If the eighth message is verified to be in accordance with the message structure of the subnet-access-point-information-request message defined in the preset message structure and the MID in the eighth message is different from the subnet-access-point-information-request message received before, the second main gateway can determine that the verification is passed, construct a ninth message through the configured WAN-side message management module, and unicast and send the ninth message to the first main gateway through the configured WAN-side message sending module. Correspondingly, the first main gateway can receive the ninth message from the second main gateway through the configured WAN side message receiving module, and the ninth message is checked through the configured WAN side message management module. If the verification is passed, the first master gateway can analyze the ninth message through the configured WAN side message management module to obtain the configuration information of each second slave gateway.
In a possible manner, the second primary gateway may add the MID carried by the eighth message to the ninth message, so that the first primary gateway determines that the ninth message is responsive to the eighth message.
Based on the process of S801-S802, the first master gateway may obtain static configuration information of the slave gateway (i.e., the second slave gateway) in the second sub-network, and establish a slave gateway information list about the second sub-network, so as to support implementing coordinated management of the slave gateway in the second sub-network. Subsequently, in the case that the terminal roaming needs to be guided to the slave gateway in the second sub-network, the first master gateway may acquire real-time status information of the slave gateway in the second sub-network based on the above-mentioned process of S401-S402, so as to effectively perform roaming decision.
In an alternative embodiment, after S802, that is, after the second primary gateway sends the ninth message to the first primary gateway, as shown in fig. 9, the roaming processing method provided in the embodiment of the present application may further include: s901.
And S901, the first main gateway sends a cross-subnet coordination management confirmation message to the second main gateway.
In a possible manner, in conjunction with fig. 2, when the first primary gateway determines, through the configured WAN side message management module, that the ninth message passes the verification, the cross-subnet coordination management acknowledgement message may be sent to the second primary gateway through the configured WAN side message sending module. The cross-subnet coordinated management acknowledgement message may carry the same MID as the eighth message and the ninth message in order for the second primary gateway to acknowledge receipt of the ninth message by the first primary gateway.
In one embodiment, when a slave gateway configured in the networking system changes, the master gateway of the corresponding sub-network may multicast a sub-network access point information change notification message to the master gateways of other sub-networks. The subnet access point information change notification message may carry updated configuration information, so that other master gateways can establish a complete slave gateway information list. The following describes a change notification flow of the slave gateway information, taking a message interaction procedure between the first master gateway and the second master gateway shown in fig. 10 as an example. As shown in fig. 10, the roaming processing method provided by the embodiment of the present application further includes: s1001.
S1001, the second primary gateway sends a tenth message to the first primary gateway.
Corresponding to the process of S1001, the first primary gateway receives a tenth message sent by the second primary gateway.
Wherein the tenth message may include updated configuration information of the second slave gateway.
In a possible manner, the second master gateway is started up on the second slave gateway in the original configuration, or when the configuration information of the second slave gateway in the original configuration is updated, or when a new second slave gateway in the configuration is added to the second sub-network, the second slave gateway in the second sub-network can be determined to be changed, and a tenth message is multicast to other master gateways in the networking system. Accordingly, the first primary gateway may receive the tenth message sent by the second primary gateway.
For example, in connection with fig. 2, the second master gateway may determine, via the configured WAN side message management module, whether there is a change to the second slave gateway within the second subnetwork. And, the second master gateway may construct a subnet access point information change notification message (i.e., tenth message) through the configured WAN side message management module and send the subnet access point information change notification message to the WAN side multicast through the configured WAN side message sending module when it is determined that there is a change in the second slave gateway in the second subnet. Correspondingly, the first main gateway can receive the subnet access point information change notification message sent by the second main gateway through the configured WAN side message receiving module. The subnet access point information change notification message may carry BSSID information of the second master gateway and each second slave gateway through a subnet access point information report TLV.
In one embodiment, when a slave gateway configured in the networking system changes, the master gateway of the corresponding sub-network may multicast a sub-network access point information change notification message to the master gateways of other sub-networks. The subnet access point information change notification message may not carry updated configuration information. After receiving the subnet access point information change notification message, the master gateway of other subnets can request updated configuration information from the master gateway sending the subnet access point information change notification message to establish a complete slave gateway information list. The following describes a change notification flow of the slave gateway information, taking a message interaction procedure between the first master gateway and the second master gateway shown in fig. 11 as an example. As shown in fig. 11, the roaming processing method provided by the embodiment of the present application further includes: S1101-S1104.
S1101, the second primary gateway sends a subnet access point information change notification message to the first primary gateway.
Corresponding to the process of S1101, the first primary gateway receives a subnet-access-point-information-change-notification message sent by the second primary gateway.
The subnet access point information change notification message may be used to notify that the second slave gateway in the second subnet has the configuration information update condition, and does not carry the updated configuration information of the second slave gateway.
In one possible manner, the second master gateway may multicast the subnet access point information change notification message to other master gateways in the networking system if it determines that the second slave gateway in the second subnet has changed. Correspondingly, the first main gateway can receive the subnet access point information change notification message sent by the second main gateway.
S1102, the first main gateway sends a subnet access point information request message to the second main gateway.
Corresponding to the process of S1102, the second primary gateway receives the subnet-access-point-information-request message sent by the first primary gateway.
In a possible manner, after receiving the subnet access point information change notification message of the second master gateway, the first master gateway may unicast a subnet access point information request message to the second master gateway to request updated configuration information of the second slave gateway. Correspondingly, the second primary gateway may receive the subnet access point information request message sent by the first primary gateway.
And S1103, the second main gateway sends a subnet access point information report message to the first main gateway.
Corresponding to the process of S1103, the first primary gateway receives the subnet-access-point-information-reporting message sent by the second primary gateway.
In a possible manner, in conjunction with fig. 2, after the second primary gateway may receive, through the configured WAN side message receiving module, the subnet access point information request message sent by the first primary gateway, the subnet access point information request message may be checked through the configured WAN side message management module. If the verification is passed, the second main gateway can construct a subnet access point information report message through the configured WAN side message management module, and unicast transmits the subnet access point information report message to the first main gateway.
The subnet access point information reporting message may carry updated configuration information of the second slave gateway and may carry BSSID information of the second master gateway and the plurality of second slave gateways through a subnet access point information reporting TLV. And, the subnet access point information reporting message may carry the same MID as the subnet access point information request message.
S1104, the first main gateway sends a cross-subnet coordination management confirmation message to the second main gateway.
Corresponding to the process of S1104, the second primary gateway receives the cross-subnet coordination management confirmation message sent by the first primary gateway.
In a possible manner, in conjunction with fig. 2, the first primary gateway may receive, through a configured WAN side message receiving module, a subnet access point information reporting message sent by the second primary gateway, and may perform a verification process on the subnet access point information reporting message through a configured WAN side message management module. If the verification is passed, the first main gateway can reply to the second main gateway with a cross-subnet coordination management confirmation message. The cross-subnet coordination management acknowledgement message may carry the same MID as the subnet access point information reporting message.
It will be appreciated that the primary gateway (e.g., the first primary gateway and the second primary gateway) within the networking system, in order to achieve the above-described functionality, comprises corresponding hardware structures and/or software modules that perform the respective functions. Those skilled in the art will readily appreciate that the algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
According to the embodiment of the application, the function modules of the main gateway in the networking system can be divided according to the embodiment of the method, for example, each function module can be divided corresponding to each function, and two or more functions can be integrated in one function module. The integrated modules may be implemented in hardware or software. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation. The following description will take an example of dividing each function module into corresponding functions.
Fig. 12 shows a schematic configuration of a roaming processing device 300 in the case where respective functional blocks are divided corresponding to respective functions in the form of software. As shown in fig. 12, the roaming processing apparatus 300 may include: a transmitting module 1201, a receiving module 1202 and a determining module 1203. The roaming processing device 300 may be applied to a first primary gateway in a networking system, and is configured to perform the roaming processing method performed by the first primary gateway in the foregoing method embodiment.
And the sending module 1201 is configured to send a first message to the second master gateway, where the first message is used to request state information of a target second slave gateway managed by the second master gateway, and the target second slave gateway is a roaming candidate slave gateway of the terminal.
A receiving module 1202, configured to receive a second message from a second primary gateway; the second message includes state information of the target second slave gateway.
A determining module 1203 is configured to determine whether to allow the terminal to access the target second slave gateway according to the second message.
In a possible embodiment, the first message includes: and the identification information of the target second slave gateway.
In a possible embodiment, the state information of the target second slave gateway includes at least one of: working channel, operation class, bandwidth, number of associated users, signal to noise ratio, indication information for indicating whether a new terminal is allowed to access.
In a possible embodiment, the sending module 1201 is further configured to send a third message to the second primary gateway, where the third message is used to acknowledge receipt of the second message.
In a possible embodiment, the sending module 1201 is further configured to send a fourth message to the target first slave gateway, where the terminal is allowed to access the target second slave gateway, where the fourth message is used to instruct the terminal to access the target second slave gateway; the target first slave gateway is a slave gateway connected with the terminal in the first slave gateway managed by the first master gateway.
In a possible embodiment, the target second slave gateway is a slave gateway meeting a preset condition in roaming candidate slave gateways around the terminal; wherein the preset conditions include at least one of the following: a slave gateway closest to the terminal; the slave gateway with the greatest channel strength with the terminal.
In a possible embodiment, the receiving module 1202 is further configured to receive, by the target first slave gateway, a fifth message sent by the terminal, where the fifth message is used to indicate a channel strength of the slave gateway around the terminal; the target first slave gateway is a slave gateway connected with the terminal in the first slave gateway managed by the first master gateway.
The determining module 1203 is further configured to determine roaming candidate slave gateways of the terminal from slave gateways around the terminal according to the fifth message.
In a possible embodiment, the receiving module 1202 is further configured to receive, through the target first slave gateway, a sixth message sent by the terminal, where the sixth message is used to indicate a channel strength between the terminal and the target first slave gateway.
The sending module 1201 is further configured to send, to the terminal, a seventh message through the target first slave gateway, where the channel strength between the terminal and the target first slave gateway is less than or equal to the first threshold, where the seventh message is used to instruct the terminal to measure the channel strength of the slave gateway around the terminal.
In a possible embodiment, the sending module 1201 is further configured to send an eighth message to the second master gateway, where the eighth message is used to request configuration information of the second slave gateway managed by the second master gateway.
The receiving module 1202 is further configured to receive a ninth message sent by the second master gateway, where the ninth message includes configuration information of the second slave gateway.
In a possible embodiment, the configuration information in the ninth message includes a BSSID corresponding to the second slave gateway.
In a possible embodiment, the receiving module 1202 is further configured to receive a tenth message sent by the second master gateway, where the tenth message includes updated configuration information of the second slave gateway.
Fig. 13 shows a schematic configuration of still another roaming processing device 400 in the case where respective functional blocks are divided corresponding to respective functions in the form of software. As shown in fig. 13, the roaming processing apparatus 400 may include: a receiving module 1301 and a transmitting module 1302. The roaming processing device 400 may be applied to a second primary gateway in a networking system, and is configured to perform the roaming processing method performed by the second primary gateway in the foregoing method embodiment.
A receiving module 1301, configured to receive a first message of a first primary gateway; the first master gateway is used for managing a target first slave gateway currently connected with the terminal; the first message is used for requesting state information of a target second slave gateway managed by the second master gateway, wherein the target second slave gateway is a roaming candidate slave gateway of the terminal.
A sending module 1302, configured to send a second message to the first master gateway, where the second message includes status information of the target second slave gateway.
In a possible embodiment, the first message includes: and the identification information of the target second slave gateway.
In a possible embodiment, the state information of the target second slave gateway includes at least one of: working channel, operation class, bandwidth, number of associated users, signal to noise ratio, indication information for indicating whether a new terminal is allowed to access.
In a possible embodiment, the receiving module 1301 is further configured to receive a third message sent by the first primary gateway, where the third message is used to acknowledge receipt of the second message.
In a possible embodiment, the receiving module 1301 is further configured to receive an eighth message sent by the first master gateway, where the eighth message is used to request configuration information of the second slave gateway managed by the second master gateway;
the sending module 1302 is further configured to send a ninth message to the first master gateway, where the ninth message includes configuration information of the second slave gateway.
In a possible embodiment, the configuration information in the ninth message includes a BSSID corresponding to the second slave gateway.
In a possible embodiment, the sending module 1302 is further configured to send a tenth message to the first master gateway, where the tenth message includes updated configuration information of the second slave gateway.
In the case of implementing the functions of the integrated modules in the form of hardware, the embodiment of the present application provides another possible structure of the roaming processing device referred to in the above embodiment. As shown in fig. 14, as a communication apparatus, the roaming processing apparatus 500 may include: a processor 1402, a bus 1404. Optionally, the roaming processing device 500 may further include a memory 1401; optionally, the roaming processing device 500 may further comprise a communication interface 1403.
For example, some or all of the functions of the transmitting module 1201, the receiving module 1202, the determining module 1203, and the like included in the roaming processing apparatus 300 in fig. 12 may be implemented by the processor 1402. As another example, some or all of the functions of the modules, such as the receiving module 1301 and the transmitting module 1302, included in the roaming processing apparatus 400 in fig. 13 may be implemented by the processor 1402.
The processor 1402 may be any of various exemplary logic blocks, modules, and circuits that implement or perform the description of the embodiments of the application. The processor 1402 may be a central processor, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with embodiments of the application. The processor 1402 may also be a combination that performs computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
A communication interface 1403 for connection with other devices through a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc.
The memory 1401 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
As a possible implementation, the memory 1401 may exist separately from the processor 1402, and the memory 1401 may be connected to the processor 1402 by the bus 1404 for storing instructions or program code. The processor 1402, when calling and executing instructions or program codes stored in the memory 1401, can implement the roaming processing method provided by the embodiment of the present application.
In another possible implementation, memory 1401 may be integrated with processor 1402.
The bus 1404 may be an extended industry standard architecture (extended industry standard architecture, EISA) bus or the like. The bus 1404 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 14, but not only one bus or one type of bus.
Some embodiments of the present application provide a computer readable storage medium (e.g., a non-transitory computer readable storage medium) having stored therein computer program instructions that, when run on a computer, cause the computer to perform a roaming processing method as described in any of the above embodiments.
By way of example, the computer-readable storage media described above can include, but are not limited to: magnetic storage devices (e.g., hard Disk, floppy Disk or tape, etc.), optical disks (e.g., compact Disk (CD), digital versatile Disk (DIGITAL VERSATILE DISK, DVD), etc.), smart cards, and flash Memory devices (e.g., erasable programmable read-Only Memory (EPROM), card, stick, or key drive, etc.).
Various computer-readable storage media described herein can represent one or more devices and/or other machine-readable storage media for storing information.
The term "machine-readable storage medium" can include, without being limited to, wireless channels and various other media capable of storing, containing, and/or carrying instruction(s) and/or data.
An embodiment of the present application provides a computer program product containing instructions, which when executed on a computer, cause the computer to perform the roaming processing method according to any of the above embodiments.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (16)
1. A roaming processing method, applied to a first primary gateway, the method comprising:
transmitting an eighth message to a second master gateway, wherein the eighth message is used for requesting configuration information of a second slave gateway managed by the second master gateway;
receiving a ninth message sent by the second master gateway, wherein the ninth message comprises configuration information of the second slave gateway; the configuration information in the ninth message includes a BSSID corresponding to the second slave gateway;
sending a first message to a second master gateway, wherein the first message is used for requesting state information of a target second slave gateway managed by the second master gateway, and the target second slave gateway is a roaming candidate slave gateway of a terminal;
Receiving a second message from the second primary gateway; the second message includes state information of the target second slave gateway;
and determining whether the terminal is allowed to access the target second slave gateway according to the second message.
2. The method of claim 1, wherein the first message comprises: and the identification information of the target second slave gateway.
3. The method of claim 1, wherein the status information of the target second slave gateway comprises at least one of: working channel, operation class, bandwidth, number of associated users, signal to noise ratio, indication information for indicating whether a new terminal is allowed to access.
4. The method according to claim 1, wherein the method further comprises:
And sending a third message to the second main gateway, wherein the third message is used for confirming that the second message is received.
5. The method according to claim 1, wherein the method further comprises:
Transmitting a fourth message to the target first slave gateway under the condition that the terminal is allowed to access the target second slave gateway, wherein the fourth message is used for indicating the terminal to access the target second slave gateway; the target first slave gateway is a slave gateway connected with the terminal in the first slave gateway managed by the first master gateway.
6. The method according to claim 1, wherein the target second slave gateway is a slave gateway meeting a preset condition from among roaming candidate slave gateways around the terminal; wherein the preset conditions include at least one of:
A slave gateway nearest to the terminal;
And the slave gateway with the greatest channel intensity between the slave gateway and the terminal.
7. The method of claim 1, wherein prior to said sending the first message to the second primary gateway, the method further comprises:
Receiving, by the target first slave gateway, a fifth message sent by the terminal, where the fifth message is used to indicate channel strength of slave gateways around the terminal; the target first slave gateway is a slave gateway connected with the terminal in a first slave gateway managed by the first master gateway;
And determining roaming candidate slave gateways of the terminal from slave gateways around the terminal according to the fifth message.
8. The method of claim 7, wherein prior to the receiving, by the target first, the fifth message sent by the terminal from the gateway, the method further comprises:
Receiving, by the target first slave gateway, a sixth message sent by the terminal, where the sixth message is used to indicate a channel strength between the terminal and the target first slave gateway;
And under the condition that the channel intensity between the terminal and the target first slave gateway is smaller than or equal to a first threshold value, a seventh message is sent to the terminal through the target first slave gateway, and the seventh message is used for indicating the terminal to measure the channel intensity of slave gateways around the terminal.
9. The method according to claim 1, wherein the method further comprises:
and receiving a tenth message sent by the second master gateway, wherein the tenth message comprises updated configuration information of the second slave gateway.
10. A roaming processing method, applied to a second primary gateway, the method comprising:
receiving an eighth message sent by a first master gateway, wherein the eighth message is used for requesting configuration information of a second slave gateway managed by the second master gateway;
Transmitting a ninth message to the first master gateway, the ninth message including configuration information of the second slave gateway; the configuration information in the ninth message includes a BSSID corresponding to the second slave gateway;
Receiving a first message of a first main gateway; the first master gateway is used for managing a target first slave gateway currently connected with the terminal; the first message is used for requesting state information of a target second slave gateway managed by the second master gateway, wherein the target second slave gateway is a roaming candidate slave gateway of the terminal;
Sending a second message to the first master gateway so that the first master gateway determines whether to allow the terminal to access the target second slave gateway according to the second message; the second message includes status information of the target second slave gateway.
11. The method of claim 10, wherein the first message comprises: and the identification information of the target second slave gateway.
12. The method of claim 10, wherein the status information of the target second slave gateway comprises at least one of: working channel, operation class, bandwidth, number of associated users, signal to noise ratio, indication information for indicating whether a new terminal is allowed to access.
13. The method according to claim 10, wherein the method further comprises:
And receiving a third message sent by the first main gateway, wherein the third message is used for confirming that the second message is received.
14. The method according to claim 10, wherein the method further comprises:
and sending a tenth message to the first master gateway, wherein the tenth message comprises updated configuration information of the second slave gateway.
15. A communication device, comprising: a memory and a processor; the memory is coupled to the processor; the memory is used for storing instructions executable by the processor; the processor, when executing the instructions, performs the method of any one of claims 1-9 or the method of any one of claims 10-14.
16. A computer readable storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-9 or the method of any of claims 10-14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410126082.8A CN117651270B (en) | 2024-01-30 | 2024-01-30 | Roaming processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410126082.8A CN117651270B (en) | 2024-01-30 | 2024-01-30 | Roaming processing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117651270A CN117651270A (en) | 2024-03-05 |
CN117651270B true CN117651270B (en) | 2024-05-07 |
Family
ID=90045576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410126082.8A Active CN117651270B (en) | 2024-01-30 | 2024-01-30 | Roaming processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117651270B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118175545B (en) * | 2024-05-15 | 2024-07-23 | 中兴通讯股份有限公司 | FTTR wireless terminal authentication method and wireless terminal authentication network |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557633A (en) * | 2008-04-09 | 2009-10-14 | 中国移动通信集团公司 | Target network selection method and access point device |
CN103974358A (en) * | 2013-02-05 | 2014-08-06 | 电信科学技术研究院 | Switching method, switching device and switching system for heterogeneous networks |
CN108491222A (en) * | 2018-03-27 | 2018-09-04 | 青岛海信智慧家居系统股份有限公司 | Gateway device upgrade method, device, gateway device and storage medium |
CN115022750A (en) * | 2022-06-27 | 2022-09-06 | 中国电信股份有限公司 | Master-slave gateway device, fiber-to-room system and communication method |
WO2022223092A1 (en) * | 2021-04-19 | 2022-10-27 | Huawei Technologies Co., Ltd. | Dual output directly modulated laser device, optical network unit, and passive optical network |
WO2022222811A1 (en) * | 2021-04-19 | 2022-10-27 | 华为技术有限公司 | Data transmission method and data transmission apparatus |
-
2024
- 2024-01-30 CN CN202410126082.8A patent/CN117651270B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557633A (en) * | 2008-04-09 | 2009-10-14 | 中国移动通信集团公司 | Target network selection method and access point device |
CN103974358A (en) * | 2013-02-05 | 2014-08-06 | 电信科学技术研究院 | Switching method, switching device and switching system for heterogeneous networks |
CN108491222A (en) * | 2018-03-27 | 2018-09-04 | 青岛海信智慧家居系统股份有限公司 | Gateway device upgrade method, device, gateway device and storage medium |
WO2022223092A1 (en) * | 2021-04-19 | 2022-10-27 | Huawei Technologies Co., Ltd. | Dual output directly modulated laser device, optical network unit, and passive optical network |
WO2022222811A1 (en) * | 2021-04-19 | 2022-10-27 | 华为技术有限公司 | Data transmission method and data transmission apparatus |
CN115022750A (en) * | 2022-06-27 | 2022-09-06 | 中国电信股份有限公司 | Master-slave gateway device, fiber-to-room system and communication method |
Also Published As
Publication number | Publication date |
---|---|
CN117651270A (en) | 2024-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6710307B2 (en) | Method for controlling handover in mobile communication network and device and system implementing the method | |
US20200053544A1 (en) | Beacon Management for Network Assisted Device-to-Device Communication | |
US11134427B2 (en) | Terminal, base station, cell access method, and data transmission method for reconfiguring a wireless connection to communicate with a secondary cell | |
KR100544249B1 (en) | Mobile wireless router | |
JP4121959B2 (en) | Coordination between mobile stations serving terminal equipment | |
CN104980991B (en) | Communication device and method for network signal | |
CA2873486C (en) | Local device identity allocation for network assisted device-to-device d2d communication | |
JP6130974B2 (en) | Manage WLAN selection | |
CN117651270B (en) | Roaming processing method, device and storage medium | |
CN101730188B (en) | Method for transmitting access network policy and home access network discovery and selection functional unit | |
US8359030B2 (en) | Method and apparatus of searching for base station using paging procedure in mobile communication network | |
JP2015521417A (en) | Network access method and apparatus | |
JP2018515013A (en) | Device manager for service routing | |
RU2406268C2 (en) | Method for transfer of mobile unit service and network system using this method | |
CN104254145A (en) | WLAN (wireless local area network) based direct-communication establishment method and device | |
CN110446274B (en) | Tunnel establishment method and device | |
CN114390634A (en) | Relay terminal selection method, terminal and storage medium | |
WO2014170541A1 (en) | Providing wifi radio availability information | |
KR101159861B1 (en) | A method for candidate access router capability discovery | |
WO2018075233A2 (en) | Wlan assisted cellular network discovery and selection | |
JP2018148478A (en) | Controller, mobile communication system, and control method | |
JP6518029B2 (en) | Management device, wireless communication system, wireless terminal device and communication control program | |
JP2012090245A (en) | Radio communication equipment | |
CN115134877A (en) | Switching method and device | |
WO2016115911A1 (en) | Method and apparatus for issuing indication information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |