WO2021197375A1 - Roaming networking processing method, apparatus, mobile terminal and readable storage medium - Google Patents

Roaming networking processing method, apparatus, mobile terminal and readable storage medium Download PDF

Info

Publication number
WO2021197375A1
WO2021197375A1 PCT/CN2021/084370 CN2021084370W WO2021197375A1 WO 2021197375 A1 WO2021197375 A1 WO 2021197375A1 CN 2021084370 W CN2021084370 W CN 2021084370W WO 2021197375 A1 WO2021197375 A1 WO 2021197375A1
Authority
WO
WIPO (PCT)
Prior art keywords
dhcp
address
response message
mobile terminal
dhcp server
Prior art date
Application number
PCT/CN2021/084370
Other languages
French (fr)
Chinese (zh)
Inventor
廖辉
Original Assignee
深圳市万普拉斯科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2021197375A1 publication Critical patent/WO2021197375A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Definitions

  • This application relates to the field of mobile communications, and in particular to a method, device, mobile terminal, and readable storage medium for roaming network processing.
  • Mobile terminals can access a network matching the roaming location through wireless roaming technology to implement network access operations. After the mobile terminal completes a roaming operation, it needs to confirm whether the mobile terminal can directly access the roaming network at that time, and apply for a new IP address from the roaming network to load the network when it cannot.
  • the mobile terminal implements the network accessibility confirmation operation by sending a response request message for the gateway device before roaming, and waiting for the response message of the gateway device before roaming. If the mobile terminal does not receive a response message from the gateway device before roaming within a long period of time after sending the response request message, the mobile terminal can determine that it cannot currently access the network where the roaming is located. Therefore, the confirmation time of this accessibility confirmation scheme is unstable, and it is impossible to quickly determine whether the mobile terminal can access the roaming network after roaming, and it is prone to long-term interruption of network access.
  • the purpose of the present application is to provide a roaming network processing method, a mobile terminal, and a readable storage medium, which can quickly confirm whether the mobile terminal can access the roaming network after roaming, and enhance the The accessibility confirms the stability of the duration, avoids the phenomenon of long-term interruption of network access, and optimizes the user's online experience.
  • a roaming network processing method which is applied to a mobile terminal, and the method includes: in response to the mobile terminal detecting a roaming event, broadcast sending a DHCP detection request message, wherein the DHCP The detection request message carries the default IP address of the mobile terminal before roaming; the DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server is received, wherein the DHCP detection response message is sent by the DHCP server.
  • the DHCP server responds to the received DHCP detection request message according to the IP address pool managed by itself; determines a target detection response message in the received DHCP detection response message, and responds to the target
  • the detection response message performs message type identification to obtain a corresponding type identification result; according to the type identification result, it is determined whether the mobile terminal can communicate to the first DHCP server that sent the target detection response message through the default IP address. Access to the managed network.
  • a roaming network processing method which is applied to a DHCP server, and the method includes: receiving a DHCP detection request message sent from a mobile terminal, wherein the DHCP detection request message carries The default IP address of the mobile terminal before roaming; a DHCP detection response message is sent, the DHCP detection response message is based on the IP address pool managed by the DHCP server in response to the received DHCP detection request message
  • the access from the mobile terminal is accepted, wherein the access of the mobile terminal is based on the mobile terminal determining the target detection response message in the received DHCP detection response message, and responding to the target
  • the detection response message performs message type identification, and a corresponding type identification result is obtained to determine whether the network managed by the first DHCP server that sent the target detection response message can be accessed through the default IP address.
  • a roaming network processing device comprising: a detection request module, configured to broadcast and send a DHCP detection request message in response to the mobile terminal detecting a roaming event, wherein The DHCP detection request message carries the default IP address of the mobile terminal before roaming; the response receiving module is configured to receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server, wherein the The DHCP detection response message is obtained by the DHCP server in response to most of the received DHCP detection request messages according to the IP address pool managed by the DHCP server; the message identification module is used to determine the target detection in the received DHCP detection response message Response message, and perform message type identification on the target detection response message to obtain the corresponding type identification result; access detection module for determining whether the mobile terminal can pass the default IP address according to the type identification result Access to the network managed by the first DHCP server that sent the target detection response message.
  • a mobile terminal including a processor and a memory, the memory storing instructions that can be executed by the processor, and the processor executing the instructions to implement the following method:
  • the mobile terminal detects a roaming event, and broadcasts a DHCP detection request message, wherein the DHCP detection request message carries the default IP address of the mobile terminal before roaming; and the DHCP detection request message fed back by the DHCP server is received.
  • the DHCP detection response message corresponding to the message wherein the DHCP detection response message is obtained by the DHCP server in response to the received DHCP detection request message according to the IP address pool managed by itself;
  • a target detection response message is determined in the DHCP detection response message, and the message type identification is performed on the target detection response message to obtain a corresponding type identification result; according to the type identification result, it is determined whether the mobile terminal is available Access the network managed by the first DHCP server that sends the target detection response message through the default IP address.
  • a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the roaming network processing method as described in the first aspect is implemented.
  • the beneficial effect of this application is that when the mobile terminal detects that there is a roaming event, the mobile terminal broadcasts and sends a DHCP detection request message carrying its default IP address before roaming, and the mobile terminal receives each The DHCP server responds to the DHCP detection request message according to its own IP address pool and obtains the DHCP detection response message, and then determines the target detection response message and the message type identification result, and then uses the type identification result to determine whether the mobile terminal is currently
  • the network managed by the first DHCP server that sent the target detection response message can be accessed through the default IP address, so that the mobile terminal can be quickly confirmed by using the feature that the DHCP server will respond to any DHCP request message it receives Whether you can access the roaming network after roaming, enhance the stability of the accessibility confirmation time, avoid the phenomenon of long-term interruption of network access, and optimize the user's online experience.
  • Figure 1 is a schematic diagram of a roaming scenario between a mobile terminal and a DHCP server provided by an embodiment of the application;
  • FIG. 2 is a schematic flowchart of a roaming network processing method provided by an embodiment of this application
  • FIG. 3 is a schematic flowchart of a roaming network processing method provided by another embodiment of this application.
  • FIG. 4 is a schematic diagram of functional modules of a roaming network processing device provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of functional modules of a roaming network processing device provided by another embodiment of this application.
  • FIG. 6 is a schematic diagram of the structural composition of a mobile terminal provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of the composition of a non-volatile storage medium provided by an embodiment of the application.
  • first and “second” and other relational terms are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply one of these entities or operations. There is any such actual relationship or order between.
  • the terms “include”, “include” or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence “including a" does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
  • the mobile terminal when the current industry mainstream determines whether the mobile terminal can access the roaming network in the case of a roaming event in a mobile terminal, the mobile terminal usually sends a ping protocol-based generation from the mobile terminal to the gateway device before roaming.
  • ICMP Internet Control Message Protocol
  • ICMP Echo Request ICMP Echo Request
  • broadcast ARP carrying the gateway address of the gateway device before roaming (Address Resolution Protocol) request message
  • the gateway device before roaming returns to the mobile terminal a response message corresponding to the sent request message, where the current gateway address does not match the gateway address recorded in the request message
  • any gateway device receives the request message, it will not respond to the request message.
  • the mobile terminal After sending the ICMP response request message and/or ARP request message, the mobile terminal will wait for the gateway device before roaming to return a response message corresponding to the sent request message, and wait for the waiting time to exceed the preset waiting time.
  • the corresponding response message is not received, it is determined that the current roaming event of the mobile terminal belongs to cross-network segment roaming, and at this time, it cannot access the network where the roaming is located. Therefore, this kind of network accessibility confirmation scheme has the phenomenon of unstable screening time. When facing a real cross-segment roaming event, it takes at least a preset waiting time, and it is impossible to quickly confirm whether the current roaming operation belongs to cross-segment roaming.
  • the inventor solves the above technical problems by providing a roaming network processing method, device, mobile terminal, and readable storage medium.
  • each DHCP (Dynamic Host Configuration Protocol, dynamic host configuration protocol) server 20 is configured with an IP address pool, and manages the network corresponding to its own IP address pool, where each DHCP server 20 is configured with an IP address pool.
  • the IP address pool corresponding to the server 20 can record the IP address of at least one network segment, and each network segment corresponds to a local area network, that is, each DHCP server 20 can correspondingly manage at least one local area network.
  • the mobile terminal 10 can roam between all local area networks managed by the same DHCP server 20, or between the local area networks managed by multiple DHCP servers 20.
  • the mobile terminal 10 After each roaming operation is completed, the mobile terminal 10 broadcasts a DHCP request message carrying the current IP address of the mobile terminal 10 (the IP address of the mobile terminal 10 before the roaming operation), so as to cover the mobile terminal
  • the DHCP server 20 of 10 can determine whether the IP address recorded in the DHCP request message is in the IP address pool of the DHCP server 20 according to its own IP address pool, so as to determine whether the mobile terminal 10 is It can access the network corresponding to the DHCP server 20 with the IP address before roaming, and then directly feed back to the mobile terminal 10 a DHCP response message that reflects the judgment result of network access, so that the mobile terminal 10 can quickly know that it is after roaming. Whether it can directly access the network of the roaming place, improve the time stability of the network accessibility confirmation operation, avoid the phenomenon of long-term interruption of network access, and optimize the user's online experience.
  • FIG. 2 is a schematic flowchart of a roaming network processing method provided by an embodiment of the present application.
  • Step S210 in response to the mobile terminal detecting a roaming event, broadcast a DHCP detection request message, where the DHCP detection request message carries the default IP address of the mobile terminal before roaming;
  • the mobile terminal 10 when the mobile terminal 10 roams under at least one local area network managed by the same DHCP server 20, or between at least one local area network managed by different DHCP servers 20, the mobile terminal 10 will Detect whether it generates a roaming event through its own underlying firmware, and when a roaming event is detected, send to the outside broadcast a DHCP requesting to detect whether the current default IP address of the mobile terminal 10 can continue to be used in the network after the roaming is completed A detection request message, wherein the DHCP detection request message records the default IP address used for network access of the mobile terminal 10 before the roaming event occurs.
  • the DHCP detection request message may be generated in a DHCP Request message format.
  • Step S220 Receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server.
  • DHCP server 20 when a roaming event occurs in the mobile terminal 10 and a DHCP detection request message is broadcasted, at least one DHCP server 20 within the DHCP message sending range of the mobile terminal 10 will receive the DHCP detection request accordingly. Request message, and then the DHCP server 20 will extract information from the DHCP detection request message to obtain the current default IP address of the mobile terminal 10 recorded in the DHCP detection request message. At this time, the DHCP server 20 compares the extracted default IP address with its own IP address pool to determine whether the mobile terminal 10 can directly access a local area network managed by itself.
  • the number of IP address pools stored by the DHCP server 20 is the same as the number of local area networks managed by the DHCP server 20, and each local area network managed by the same DHCP server 20 corresponds to an IP address pool.
  • a certain DHCP server 20 obtains a certain default IP address to be detected, it will first determine whether the original local area network corresponding to the default IP address belongs to the local area network managed by the DHCP server 20.
  • the DHCP server 20 If the original local area network corresponding to the default IP address does not belong to the local area network managed by the DHCP server 20, it indicates that the corresponding mobile terminal 10 cannot directly access any local area network managed by itself through the default IP address. At this time, the DHCP server 20 The DHCP detection response message whose message type is a negative response message directly generated is fed back to the mobile terminal 10.
  • the DHCP server 20 If the original local area network corresponding to the default IP address belongs to the local area network managed by the DHCP server 20, it indicates that the mobile terminal 10 may directly access the default IP address managed by the DHCP server 20 through the default IP address. If the original local area network is matched, the DHCP server 20 will call the IP address pool corresponding to the original local area network, and determine whether the default IP address exists in the called IP address pool through address comparison.
  • the DHCP server 20 When the default IP address does not exist in the IP address pool corresponding to the original local area network, it can indicate that the default IP address is illegal, and the mobile terminal 10 cannot access the original local area network through the default IP address. At this time, the DHCP server 20 will directly generate The DHCP detection response message whose message type is a negative response message is fed back to the mobile terminal 10.
  • the DHCP server 20 will A DHCP detection response message whose message type is an acknowledgement message is directly generated and fed back to the mobile terminal 10.
  • the above-mentioned acknowledgement message may be expressed in a DHCP ACK (ACKnowledgement) message format
  • the above-mentioned negative acknowledgement message may adopt a DHCP NAK (Negative Acknowledgment, non-acknowledgement) message format. Make an expression.
  • Step S230 Determine a target detection response message in the received DHCP detection response message, and perform message type identification on the target detection response message to obtain a corresponding type identification result.
  • the mobile terminal 10 when it receives multiple DHCP detection response messages, it usually uses the first DHCP detection response message received as the target that best matches the DHCP server 20 in the current roaming location.
  • the detection response message At this time, the DHCP server 20 sending the target detection response message is the currently selected DHCP server 20 (that is, the first DHCP server 20) that needs to be confirmed whether it is accessible.
  • the mobile terminal 10 will use the message type result of the target detection response message to determine whether it can directly use the current default IP address to access the roaming network at that time.
  • Step S240 Determine, according to the type identification result, whether the mobile terminal can access the network managed by the first DHCP server that sends the target detection response message through the default IP address.
  • the type identification result of the target detection response message indicates that the target detection response message is an affirmative response message
  • the IP address pool of the first DHCP server 20 that is, the mobile terminal 10 can access the network managed by the first DHCP server 20 through the default IP address.
  • the type identification result of the target detection response message indicates that the target detection response message is a negative response message, it can be determined that the current default IP address of the mobile terminal 10 is not in the first DHCP server that sent the target detection response message.
  • the IP address pool of 20 that is, the mobile terminal 10 cannot access the network managed by the first DHCP server 20 through the default IP address.
  • the mobile terminal 10 adopts the roaming network processing method described above to ensure that the mobile terminal 10 can quickly confirm whether it can directly access the roaming network by virtue of the IP address before roaming after a roaming event, thereby enhancing the accessibility.
  • the stability of the sexual confirmation time can avoid the phenomenon of long-term interruption of network access and optimize the user's online experience.
  • FIG. 3 is a schematic flowchart of a roaming network processing method provided by another embodiment of the present application.
  • the roaming and networking processing method shown in FIG. 3 is compared with the roaming and networking processing method shown in FIG. 2.
  • the roaming and networking processing method shown in FIG. 3 may further include step S250.
  • step S250 When it is not possible to directly access the network of the roaming place through the IP address before roaming, it is possible to obtain an IP address matching the network of the roaming place by performing step S250, and connect with the network of the roaming place according to the obtained IP address. Ensure that the mobile terminal 10 can continue to access the network.
  • Step S250 When the type identification result is that the target detection response message is a negative response message, apply for the target IP address of the current accessible network of the mobile terminal for loading.
  • the mobile terminal 10 when the mobile terminal 10 determines that the type recognition result corresponding to the acquired target detection response message indicates that the target detection response message is a negative response message, the mobile terminal 10 will not be able to directly pass the default value at that time.
  • the IP address visits the network in the roaming location, and the mobile terminal 10 will correspondingly seek its target IP address under the network that can be accessed in the current roaming location to load, so as to access the network in the roaming location to perform network access operations. .
  • the step of applying for loading the target IP address of the current accessible network of the mobile terminal 10 further includes:
  • the second DHCP server 20 is the DHCP server 20 for the requested IP address determined by the mobile terminal 10.
  • the DHCP detection message sent by the mobile terminal 10 can be generated in the DHCP Discover message format
  • the DHCP detection response message sent by the DHCP server 20 can be generated in the DHCP Offer message format
  • the DHCP detection response message received by the mobile terminal 10 The number is at least one.
  • the mobile terminal 10 can select the DHCP server 20 corresponding to the first received DHCP probe response message as the second DHCP server 20 according to the order in which the DHCP probe response message is received, and broadcast to the surroundings to indicate that the confirmation is passed.
  • the second DHCP server 20 performs a DHCP service request message for IP address application, where the DHCP service request message may be generated in a DHCP Request message format.
  • the selected second DHCP server 20 may point to the same DHCP server 20 as the aforementioned first DHCP server 20.
  • the second DHCP server 20 When the second DHCP server 20 receives the DHCP service request message, it will correspondingly allocate a target IP address under the network controlled by the second DHCP server 20 to the mobile terminal 10, and feed back to the mobile terminal 10 that it includes
  • the DHCP service response message of the target IP address enables the mobile terminal 10 to configure its own default IP address according to the target IP address, and directly access the network managed by the second DHCP server 20 through the configured default IP address.
  • the present application also provides a roaming network connection processing device 100.
  • the roaming network connection processing device 100 realizes its functions by dividing functional modules.
  • the specific composition of the roaming network processing device 100 provided in the present application will be described below. Please refer to FIG. 4, which is a schematic diagram of functional modules of a roaming network processing apparatus 100 provided by an embodiment of the present application.
  • the roaming network processing device 100 includes a detection request module 110, a response receiving module 120, a message identification module 130, and an access detection module 140.
  • the detection request module 110 is configured to broadcast a DHCP detection request message in response to the mobile terminal detecting a roaming event, where the DHCP detection request message carries the default IP address of the mobile terminal before roaming.
  • the response receiving module 120 is configured to receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server, where the DHCP detection response message is responded by the DHCP server according to the IP address pool managed by the DHCP server in response to the received DHCP detection The request message is obtained.
  • the message identification module 130 is configured to determine a target detection response message in the received DHCP detection response message, and perform message type identification on the target detection response message to obtain a corresponding type identification result.
  • the access detection module 140 is configured to determine, according to the type identification result, whether the mobile terminal can access the network managed by the first DHCP server that sends the target detection response message through the default IP address.
  • FIG. 5 is a schematic diagram of functional modules of a roaming network processing apparatus 100 provided in another embodiment of the present application.
  • the roaming network connection processing device 100 shown in FIG. 5 is compared with the roaming network connection processing device 100 shown in FIG. 4, and the roaming network connection processing device 100 shown in FIG. 150.
  • the address application module 150 is configured to apply for the target IP address of the current accessible network of the mobile terminal for loading when the type identification result is that the target detection response message is a negative response message.
  • FIG. 6 is a schematic structural composition diagram of the mobile terminal 10 provided by an embodiment of the present application.
  • the mobile terminal 10 may include a memory 11, a processor 12, and a communication unit 13.
  • the components of the memory 11, the processor 12, and the communication unit 13 are directly or indirectly electrically connected to each other to realize data transmission or interaction.
  • the memory 11, the processor 12, and the communication unit 13 may be electrically connected to each other through one or more communication buses or signal lines.
  • the memory 11 may be used to store a program, and the processor 12 may execute the program accordingly after receiving the execution instruction.
  • the memory 11 may be, but is not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), and programmable read-only memory (Programmable Read-Only Memory, PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), etc.
  • the memory 11 can also be used to store the IP address currently used by the corresponding mobile terminal 10 for implementing network access, that is, the default IP address.
  • the processor 12 may be an integrated circuit chip with signal processing capability.
  • the processor 12 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), and so on.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the communication unit 13 is configured to establish a communication connection between the mobile terminal 10 and other electronic devices through a network, and perform data interaction through the network.
  • the communication unit 13 is also used to implement the signal sending function and signal receiving function of the mobile terminal 10.
  • the processor 12 can execute the program in the memory 11 accordingly to execute the aforementioned roaming and networking processing method.
  • the parts not mentioned in this embodiment please refer to The above description of the roaming network processing method.
  • FIG. 6 is only a schematic diagram of a structural composition of the mobile terminal 10.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. Figure 6 shows the different configurations.
  • Each component shown in FIG. 6 can be implemented by hardware, software, or a combination thereof.
  • the present application also provides an embodiment of a non-volatile storage medium.
  • the non-volatile storage medium 200 stores a computer program 201 that can be run by a processor, and the computer program 201 is used to execute the above-mentioned implementation.
  • the method in the example may specifically be the memory 11 shown in FIG. 6 or a part of the memory 11.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more functions for realizing the specified logical function.
  • Executable instructions may also occur in a different order from the order marked in the drawings.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
  • the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium.
  • a computer device which may be a personal computer, a server, or a network device, etc.
  • the aforementioned readable storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc., which can store program codes. Medium.

Abstract

The present application provides a roaming networking processing method and apparatus, a mobile terminal and a readable storage medium and relates to the field of mobile communications. In the present application, when the mobile terminal detects a roaming event generated by itself, the mobile terminal broadcasts a DHCP detection request packet carrying the default IP address of the mobile terminal before the roaming so as to make use of the characteristic that a DHCP server responds to any DHCP request packet received. The mobile terminal receives the DHCP detection response packet of each DHCP server, and determines the target detection response packet and the packet type identification result, and quickly determines, according to the type identification result, whether the roaming mobile terminal can use the current default IP address to access directly the DHCP server-governed network corresponding to the target detection response packet. The stability of duration for network accessibility confirmation operation is enhanced, the prolonged interruption of network access is prevented, and the internet surfing experience of a user is optimized.

Description

漫游连网处理方法、装置、移动终端及可读存储介质Roaming network processing method, device, mobile terminal and readable storage medium 【技术领域】【Technical Field】
本申请涉及移动通信领域,具体而言,涉及一种漫游连网处理方法、装置、移动终端及可读存储介质。This application relates to the field of mobile communications, and in particular to a method, device, mobile terminal, and readable storage medium for roaming network processing.
【背景技术】【Background technique】
随着移动通信技术的不断发展,无线漫游技术的应用愈发广泛,移动终端可通过无线漫游技术接入到与漫游地匹配的网络中,以实现网络访问操作。移动终端在完成一次漫游操作后,需要确认该移动终端当时是否能够直接访问漫游地处的网络,并在不能时向漫游地处的网络申请新的IP地址进行入网加载操作。而目前,移动终端通过发送针对漫游前的网关设备的回应请求报文,并等待该漫游前的网关设备的响应报文的方式实现网络的可访问性确认操作。如果移动终端在发送完回应请求报文后的很长一段时间内并未接收到来自该漫游前的网关设备的响应报文的话,该移动终端才能得以判定自身当前无法访问漫游地处的网络。因此,这种可访问性确认方案的确认时长存在不稳定的现象,无法快速确定移动终端在漫游后是否能够访问漫游地处的网络,容易出现网络访问长时间中断现象。With the continuous development of mobile communication technology, the application of wireless roaming technology has become more and more extensive. Mobile terminals can access a network matching the roaming location through wireless roaming technology to implement network access operations. After the mobile terminal completes a roaming operation, it needs to confirm whether the mobile terminal can directly access the roaming network at that time, and apply for a new IP address from the roaming network to load the network when it cannot. At present, the mobile terminal implements the network accessibility confirmation operation by sending a response request message for the gateway device before roaming, and waiting for the response message of the gateway device before roaming. If the mobile terminal does not receive a response message from the gateway device before roaming within a long period of time after sending the response request message, the mobile terminal can determine that it cannot currently access the network where the roaming is located. Therefore, the confirmation time of this accessibility confirmation scheme is unstable, and it is impossible to quickly determine whether the mobile terminal can access the roaming network after roaming, and it is prone to long-term interruption of network access.
【发明内容】[Summary of the invention]
根据本申请的实施例,本申请的目的在于提供一种漫游连网处理方法、移动终端及可读存储介质,其能够快速确认移动终端在漫游后是否能够访问漫游地处的网络,并增强可访问性确认时长的稳定程度,避免出现网络访问长时间中断的现象,优化用户上网体验。According to the embodiments of the present application, the purpose of the present application is to provide a roaming network processing method, a mobile terminal, and a readable storage medium, which can quickly confirm whether the mobile terminal can access the roaming network after roaming, and enhance the The accessibility confirms the stability of the duration, avoids the phenomenon of long-term interruption of network access, and optimizes the user's online experience.
根据本申请的第一方面,提供一种漫游连网处理方法,应用于移动终端,所述方法包括:响应于所述移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;接收DHCP服务器反馈的与所述DHCP检测请求报文对应的DHCP检测响应报文,其中所述DHCP检测响应报文是由所述DHCP服务器根据自身所管理的IP地址池响应接收到的所述DHCP检测请求报文而得到的;在接收到的所 述DHCP检测响应报文中确定目标检测响应报文,并对所述目标检测响应报文进行报文类型识别,得到对应的类型识别结果;根据所述类型识别结果确定所述移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。According to the first aspect of the present application, there is provided a roaming network processing method, which is applied to a mobile terminal, and the method includes: in response to the mobile terminal detecting a roaming event, broadcast sending a DHCP detection request message, wherein the DHCP The detection request message carries the default IP address of the mobile terminal before roaming; the DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server is received, wherein the DHCP detection response message is sent by the DHCP server. The DHCP server responds to the received DHCP detection request message according to the IP address pool managed by itself; determines a target detection response message in the received DHCP detection response message, and responds to the target The detection response message performs message type identification to obtain a corresponding type identification result; according to the type identification result, it is determined whether the mobile terminal can communicate to the first DHCP server that sent the target detection response message through the default IP address. Access to the managed network.
根据本申请的第二方面,提供了一种漫游连网处理方法,应用于DHCP服务器,所述方法包括:接收来自移动终端发送的DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;发送DHCP检测响应报文,所述DHCP检测响应报文是根据所述DHCP服务器所管理的IP地址池响应接收到的所述DHCP检测请求报文而得到的;接受来自所述移动终端的访问,其中,所述移动终端的访问是根据所述移动终端在接收到的所述DHCP检测响应报文中确定目标检测响应报文,并对所述目标检测响应报文进行报文类型识别,得到对应的类型识别结果以确定是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。According to a second aspect of the present application, there is provided a roaming network processing method, which is applied to a DHCP server, and the method includes: receiving a DHCP detection request message sent from a mobile terminal, wherein the DHCP detection request message carries The default IP address of the mobile terminal before roaming; a DHCP detection response message is sent, the DHCP detection response message is based on the IP address pool managed by the DHCP server in response to the received DHCP detection request message The access from the mobile terminal is accepted, wherein the access of the mobile terminal is based on the mobile terminal determining the target detection response message in the received DHCP detection response message, and responding to the target The detection response message performs message type identification, and a corresponding type identification result is obtained to determine whether the network managed by the first DHCP server that sent the target detection response message can be accessed through the default IP address.
根据本申请的第三方面,提供了一种漫游连网处理装置,所述装置包括:检测请求模块,用于响应于所述移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;响应接收模块,用于接收DHCP服务器反馈的与所述DHCP检测请求报文对应的DHCP检测响应报文,其中所述DHCP检测响应报文由DHCP服务器根据自身所管理的IP地址池响应接收到的多数DHCP检测请求报文得到;报文识别模块,用于在接收到的所述DHCP检测响应报文中确定目标检测响应报文,并对所述目标检测响应报文进行报文类型识别,得到对应的类型识别结果;访问检测模块,用于根据所述类型识别结果确定该移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。According to a third aspect of the present application, there is provided a roaming network processing device, the device comprising: a detection request module, configured to broadcast and send a DHCP detection request message in response to the mobile terminal detecting a roaming event, wherein The DHCP detection request message carries the default IP address of the mobile terminal before roaming; the response receiving module is configured to receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server, wherein the The DHCP detection response message is obtained by the DHCP server in response to most of the received DHCP detection request messages according to the IP address pool managed by the DHCP server; the message identification module is used to determine the target detection in the received DHCP detection response message Response message, and perform message type identification on the target detection response message to obtain the corresponding type identification result; access detection module for determining whether the mobile terminal can pass the default IP address according to the type identification result Access to the network managed by the first DHCP server that sent the target detection response message.
根据本申请的第四方面,提供了一种移动终端,包括处理器和存储器,所述存储器存储有能够被所述处理器执行的指令,所述处理器执行指令以实现如下方法:响应于所述移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;接收DHCP服务器反馈的与所述DHCP检测请求报文对应的DHCP检测响应报文,其中所述DHCP检测响应报文是由所述DHCP服务器根据自身所管理的IP地址 池响应接收到的所述DHCP检测请求报文而得到的;在接收到的所述DHCP检测响应报文中确定目标检测响应报文,并对所述目标检测响应报文进行报文类型识别,得到对应的类型识别结果;根据所述类型识别结果确定所述移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。According to a fourth aspect of the present application, there is provided a mobile terminal including a processor and a memory, the memory storing instructions that can be executed by the processor, and the processor executing the instructions to implement the following method: The mobile terminal detects a roaming event, and broadcasts a DHCP detection request message, wherein the DHCP detection request message carries the default IP address of the mobile terminal before roaming; and the DHCP detection request message fed back by the DHCP server is received. The DHCP detection response message corresponding to the message, wherein the DHCP detection response message is obtained by the DHCP server in response to the received DHCP detection request message according to the IP address pool managed by itself; A target detection response message is determined in the DHCP detection response message, and the message type identification is performed on the target detection response message to obtain a corresponding type identification result; according to the type identification result, it is determined whether the mobile terminal is available Access the network managed by the first DHCP server that sends the target detection response message through the default IP address.
根据本申请的第五方面,提供了一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现如第一方面所述的漫游连网处理方法。According to a fifth aspect of the present application, there is provided a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the roaming network processing method as described in the first aspect is implemented.
本申请的有益效果是:本申请在移动终端检测到自身产生有漫游事件时,由该移动终端广播发送携带其在漫游前的默认IP地址的DHCP检测请求报文,并由该移动终端接收各DHCP服务器根据自身的IP地址池响应该DHCP检测请求报文得到的DHCP检测响应报文,而后确定目标检测响应报文及其报文类型识别结果,进而通过该类型识别结果确定该移动终端当时是否可通过默认IP地址对发送目标检测响应报文的第一DHCP服务器所管理的网络进行访问,从而通过利用DHCP服务器会对其接收到的任意一个DHCP请求报文进行应答的特性,快速确认移动终端在漫游后是否能够访问漫游地处的网络,增强可访问性确认时长的稳定度,避免出现网络访问长时间中断的现象,优化用户上网体验。The beneficial effect of this application is that when the mobile terminal detects that there is a roaming event, the mobile terminal broadcasts and sends a DHCP detection request message carrying its default IP address before roaming, and the mobile terminal receives each The DHCP server responds to the DHCP detection request message according to its own IP address pool and obtains the DHCP detection response message, and then determines the target detection response message and the message type identification result, and then uses the type identification result to determine whether the mobile terminal is currently The network managed by the first DHCP server that sent the target detection response message can be accessed through the default IP address, so that the mobile terminal can be quickly confirmed by using the feature that the DHCP server will respond to any DHCP request message it receives Whether you can access the roaming network after roaming, enhance the stability of the accessibility confirmation time, avoid the phenomenon of long-term interruption of network access, and optimize the user's online experience.
【附图说明】【Explanation of the drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。其中:In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. in:
图1为本申请实施例提供的移动终端与DHCP服务器的漫游场景示意图;Figure 1 is a schematic diagram of a roaming scenario between a mobile terminal and a DHCP server provided by an embodiment of the application;
图2为本申请一实施例提供的漫游连网处理方法的流程示意图;FIG. 2 is a schematic flowchart of a roaming network processing method provided by an embodiment of this application;
图3为本申请另一实施例提供的漫游连网处理方法的流程示意图;3 is a schematic flowchart of a roaming network processing method provided by another embodiment of this application;
图4为本申请一实施例提供的漫游连网处理装置的功能模块示意图;4 is a schematic diagram of functional modules of a roaming network processing device provided by an embodiment of the application;
图5为本申请另一实施例提供的漫游连网处理装置的功能模块示意图FIG. 5 is a schematic diagram of functional modules of a roaming network processing device provided by another embodiment of this application
图6为本申请实施例提供的移动终端的结构组成示意图;FIG. 6 is a schematic diagram of the structural composition of a mobile terminal provided by an embodiment of the application;
图7为本申请实施例提供的非易失性存储介质的组成示意图。FIG. 7 is a schematic diagram of the composition of a non-volatile storage medium provided by an embodiment of the application.
【具体实施方式】【Detailed ways】
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性的劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明的是,术语“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that the terms "first" and "second" and other relational terms are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply one of these entities or operations. There is any such actual relationship or order between. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
发明人通过辛苦调研发现,目前行业主流在移动终端发生漫游事件的情况下判断该移动终端是否能够访问漫游地处的网络时,通常采用在移动终端处向漫游前的网关设备发送基于ping协议生成的携带有该网关设备的网关地址的ICMP(Internet Control Message Protocol,网络控制报文协议)回应请求(ICMP Echo Request)报文,和/或广播发送携带有漫游前的网关设备的网关地址的ARP(Address Resolution Protocol,地址解析协议)请求报文,使漫游前的网关设备向该移动终端返回与发送的请求报文对应的响应报文,其中当前网关地址与请求报文记录的网关地址不符的任意一个网关设备在接收到该请求报文时,均不会对该请求报文进行响应。The inventor found through painstaking research that when the current industry mainstream determines whether the mobile terminal can access the roaming network in the case of a roaming event in a mobile terminal, the mobile terminal usually sends a ping protocol-based generation from the mobile terminal to the gateway device before roaming. ICMP (Internet Control Message Protocol) response request (ICMP Echo Request) message carrying the gateway address of the gateway device, and/or broadcast ARP carrying the gateway address of the gateway device before roaming (Address Resolution Protocol) request message, the gateway device before roaming returns to the mobile terminal a response message corresponding to the sent request message, where the current gateway address does not match the gateway address recorded in the request message When any gateway device receives the request message, it will not respond to the request message.
而移动终端在发送完ICMP回应请求报文和/或ARP请求报文后,会等待漫游前的网关设备返回与发送的请求报文对应的响应报文,并在等待时间超过预设等待时长也未接收到对应的响应报文时,判定该移动终端当前的漫游事件属于跨网段漫游,此时无法接入漫游地处的网络。因此,这种网络可访问性的确认方案存在甄别时长不稳定的现象,在面对真实跨网段漫游事件时至少需要花费一个预设等待时长,无法快速确认当前漫游操作是否属于跨网段漫游,也就 是说,无法快速确认移动终端在漫游后是否能够访问漫游地处的网络,无法减小网络连接中断时长,容易出现网络访问长时间中断的现象,用户上网体验不佳。因此,发明人通过提供一种漫游连网处理方法、装置、移动终端及可读存储介质,来解决上述技术问题。After sending the ICMP response request message and/or ARP request message, the mobile terminal will wait for the gateway device before roaming to return a response message corresponding to the sent request message, and wait for the waiting time to exceed the preset waiting time. When the corresponding response message is not received, it is determined that the current roaming event of the mobile terminal belongs to cross-network segment roaming, and at this time, it cannot access the network where the roaming is located. Therefore, this kind of network accessibility confirmation scheme has the phenomenon of unstable screening time. When facing a real cross-segment roaming event, it takes at least a preset waiting time, and it is impossible to quickly confirm whether the current roaming operation belongs to cross-segment roaming. In other words, it is impossible to quickly confirm whether the mobile terminal can access the roaming network after roaming, and it is impossible to reduce the length of network connection interruption. It is prone to long-term interruption of network access, and the user's Internet experience is poor. Therefore, the inventor solves the above technical problems by providing a roaming network processing method, device, mobile terminal, and readable storage medium.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
请参照图1,图1是本申请实施例提供的移动终端10与DHCP服务器20的漫游场景示意图。在本申请实施例中,每个DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)服务器20均配置有一个IP地址池,并对自身对应的IP地址池所对应的网络进行管理,其中每个DHCP服务器20所对应的IP地址池可记录有至少一个网段的IP地址,而每个网段对应一个局域网,即每个DHCP服务器20可相应管理至少一个局域网。所述移动终端10可在同一DHCP服务器20所管理所有局域网之间漫游,也可在多个DHCP服务器20各自管理的局域网络之间漫游。Please refer to FIG. 1, which is a schematic diagram of a roaming scene between a mobile terminal 10 and a DHCP server 20 according to an embodiment of the present application. In the embodiment of the present application, each DHCP (Dynamic Host Configuration Protocol, dynamic host configuration protocol) server 20 is configured with an IP address pool, and manages the network corresponding to its own IP address pool, where each DHCP server 20 is configured with an IP address pool. The IP address pool corresponding to the server 20 can record the IP address of at least one network segment, and each network segment corresponds to a local area network, that is, each DHCP server 20 can correspondingly manage at least one local area network. The mobile terminal 10 can roam between all local area networks managed by the same DHCP server 20, or between the local area networks managed by multiple DHCP servers 20.
而移动终端10在每次完成漫游操作后,会广播发送携带有该移动终端10当前IP地址(该移动终端10在发生该漫游操作前的IP地址)的DHCP请求报文,使覆盖该移动终端10的DHCP服务器20在接收该DHCP请求报文后,能够根据自身的IP地址池判断该DHCP请求报文中记录的IP地址是否处于该DHCP服务器20的IP地址池内,以判断该移动终端10是否能够凭借漫游前的IP地址访问该DHCP服务器20所对应的网络,而后直接向该移动终端10反馈用于体现网络访问判断结果的DHCP响应报文,使该移动终端10得以快速知晓自身在漫游后能否直接接入漫游地的网络,提高网络可访问性确认操作的时长稳定度,避免出现网络访问长时间中断的现象,优化用户上网体验。After each roaming operation is completed, the mobile terminal 10 broadcasts a DHCP request message carrying the current IP address of the mobile terminal 10 (the IP address of the mobile terminal 10 before the roaming operation), so as to cover the mobile terminal After receiving the DHCP request message, the DHCP server 20 of 10 can determine whether the IP address recorded in the DHCP request message is in the IP address pool of the DHCP server 20 according to its own IP address pool, so as to determine whether the mobile terminal 10 is It can access the network corresponding to the DHCP server 20 with the IP address before roaming, and then directly feed back to the mobile terminal 10 a DHCP response message that reflects the judgment result of network access, so that the mobile terminal 10 can quickly know that it is after roaming. Whether it can directly access the network of the roaming place, improve the time stability of the network accessibility confirmation operation, avoid the phenomenon of long-term interruption of network access, and optimize the user's online experience.
请参阅图2,图2是本申请一实施例提供的漫游连网处理方法的流程示意图。Please refer to FIG. 2, which is a schematic flowchart of a roaming network processing method provided by an embodiment of the present application.
在本申请实施例中,图2所示的漫游连网处理方法的具体流程和步骤如下文所示。In the embodiment of the present application, the specific process and steps of the roaming network processing method shown in FIG. 2 are as follows.
步骤S210,响应于移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中DHCP检测请求报文携带有移动终端在漫游前的默认IP地址;Step S210, in response to the mobile terminal detecting a roaming event, broadcast a DHCP detection request message, where the DHCP detection request message carries the default IP address of the mobile terminal before roaming;
在本实施例中,当移动终端10在同一DHCP服务器20所管理的至少一个局域网络下进行漫游,或在不同DHCP服务器20各自管理的至少一个局域网络 之间进行漫游时,该移动终端10会通过自身的底层固件检测自身是否产生漫游事件,并在检测到漫游事件时,向外部广播发送用于请求探测该移动终端10当前的默认IP地址是否能够在漫游完成后的网络中继续使用的DHCP检测请求报文,其中该DHCP检测请求报文中记录有该移动终端10在产生漫游事件前的用于网络访问的默认IP地址。在本实施例的一种实施方式中,所述DHCP检测请求报文可采用DHCP Request报文格式生成得到。In this embodiment, when the mobile terminal 10 roams under at least one local area network managed by the same DHCP server 20, or between at least one local area network managed by different DHCP servers 20, the mobile terminal 10 will Detect whether it generates a roaming event through its own underlying firmware, and when a roaming event is detected, send to the outside broadcast a DHCP requesting to detect whether the current default IP address of the mobile terminal 10 can continue to be used in the network after the roaming is completed A detection request message, wherein the DHCP detection request message records the default IP address used for network access of the mobile terminal 10 before the roaming event occurs. In an implementation manner of this embodiment, the DHCP detection request message may be generated in a DHCP Request message format.
步骤S220,接收DHCP服务器反馈的与DHCP检测请求报文对应的DHCP检测响应报文。Step S220: Receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server.
在本实施例中,当移动终端10发生了漫游事件且广播发送了DHCP检测请求报文后,处于该移动终端10的DHCP报文发送范围内的至少一个DHCP服务器20会相应地接收该DHCP检测请求报文,而后该DHCP服务器20会对该DHCP检测请求报文进行信息提取,得到该DHCP检测请求报文所记录的该移动终端10当前的默认IP地址。此时,该DHCP服务器20通过将提取得到的默认IP地址与自身的IP地址池进行地址比对,以判断该移动终端10是否能够直接访问自身所管理的某个局域网。In this embodiment, when a roaming event occurs in the mobile terminal 10 and a DHCP detection request message is broadcasted, at least one DHCP server 20 within the DHCP message sending range of the mobile terminal 10 will receive the DHCP detection request accordingly. Request message, and then the DHCP server 20 will extract information from the DHCP detection request message to obtain the current default IP address of the mobile terminal 10 recorded in the DHCP detection request message. At this time, the DHCP server 20 compares the extracted default IP address with its own IP address pool to determine whether the mobile terminal 10 can directly access a local area network managed by itself.
其中,DHCP服务器20存储的IP地址池的数目与该DHCP服务器20所管理的局域网数目相同,同一DHCP服务器20所管理的每个局域网对应一个IP地址池。当某个DHCP服务器20得到某个待检测的默认IP地址时,首先会确定该默认IP地址所对应的原始局域网是否属于该DHCP服务器20所管理的局域网。The number of IP address pools stored by the DHCP server 20 is the same as the number of local area networks managed by the DHCP server 20, and each local area network managed by the same DHCP server 20 corresponds to an IP address pool. When a certain DHCP server 20 obtains a certain default IP address to be detected, it will first determine whether the original local area network corresponding to the default IP address belongs to the local area network managed by the DHCP server 20.
若该默认IP地址所对应的原始局域网并非属于该DHCP服务器20所管理的局域网,则表明对应的移动终端10不能通过该默认IP地址直接访问自身所管理的任意一个局域网,此时该DHCP服务器20将直接生成报文类型为否定应答报文的DHCP检测响应报文反馈给所述移动终端10。If the original local area network corresponding to the default IP address does not belong to the local area network managed by the DHCP server 20, it indicates that the corresponding mobile terminal 10 cannot directly access any local area network managed by itself through the default IP address. At this time, the DHCP server 20 The DHCP detection response message whose message type is a negative response message directly generated is fed back to the mobile terminal 10.
若该默认IP地址所对应的原始局域网属于该DHCP服务器20所管理的局域网,则表明该移动终端10有一定可能通过该默认IP地址,直接访问该DHCP服务器20管理下的与所述默认IP地址匹配的原始局域网,此时该DHCP服务器20会调用与该原始局域网对应的IP地址池,并在调用的该IP地址池内通过地址比对的方式确定是否存在所述默认IP地址。If the original local area network corresponding to the default IP address belongs to the local area network managed by the DHCP server 20, it indicates that the mobile terminal 10 may directly access the default IP address managed by the DHCP server 20 through the default IP address. If the original local area network is matched, the DHCP server 20 will call the IP address pool corresponding to the original local area network, and determine whether the default IP address exists in the called IP address pool through address comparison.
当原始局域网所对应的IP地址池内不存在该默认IP地址时,可以表明该默 认IP地址不合法,移动终端10无法通过该默认IP地址访问所述原始局域网,此时该DHCP服务器20将直接生成报文类型为否定应答报文的DHCP检测响应报文反馈给移动终端10。When the default IP address does not exist in the IP address pool corresponding to the original local area network, it can indicate that the default IP address is illegal, and the mobile terminal 10 cannot access the original local area network through the default IP address. At this time, the DHCP server 20 will directly generate The DHCP detection response message whose message type is a negative response message is fed back to the mobile terminal 10.
当所述原始局域网所对应的IP地址池内存在所述默认IP地址时,可以表明所述默认IP地址合法,移动终端10可以通过该默认IP地址访问所述原始局域网,此时该DHCP服务器20将直接生成报文类型为肯定应答报文的DHCP检测响应报文反馈给移动终端10。When the default IP address exists in the IP address pool corresponding to the original local area network, it can indicate that the default IP address is legal, and the mobile terminal 10 can access the original local area network through the default IP address. At this time, the DHCP server 20 will A DHCP detection response message whose message type is an acknowledgement message is directly generated and fed back to the mobile terminal 10.
在本实施例的一种实施方式中,上述肯定应答报文可采用DHCP ACK(ACKnowledgement,确认)报文格式进行表达,上述否定应答报文可采用DHCP NAK(Negative Acknowledgment,非应答)报文格式进行表达。In an implementation of this embodiment, the above-mentioned acknowledgement message may be expressed in a DHCP ACK (ACKnowledgement) message format, and the above-mentioned negative acknowledgement message may adopt a DHCP NAK (Negative Acknowledgment, non-acknowledgement) message format. Make an expression.
步骤S230,在接收到的DHCP检测响应报文中确定目标检测响应报文,并对该目标检测响应报文进行报文类型识别,得到对应的类型识别结果。Step S230: Determine a target detection response message in the received DHCP detection response message, and perform message type identification on the target detection response message to obtain a corresponding type identification result.
在本实施例中,移动终端10在接收到多个DHCP检测响应报文时,通常会以接收到的第一个DHCP检测响应报文,作为与当前漫游地处的DHCP服务器20最为匹配的目标检测响应报文,此时发送目标检测响应报文的DHCP服务器20便是当前选定的需确认是否可访问的DHCP服务器20(即第一DHCP服务器20)。此时,移动终端10将以该目标检测响应报文的报文类型结果,判断自身在当时是否能够直接利用当前默认IP地址访问漫游地处的网络。In this embodiment, when the mobile terminal 10 receives multiple DHCP detection response messages, it usually uses the first DHCP detection response message received as the target that best matches the DHCP server 20 in the current roaming location. The detection response message. At this time, the DHCP server 20 sending the target detection response message is the currently selected DHCP server 20 (that is, the first DHCP server 20) that needs to be confirmed whether it is accessible. At this time, the mobile terminal 10 will use the message type result of the target detection response message to determine whether it can directly use the current default IP address to access the roaming network at that time.
步骤S240,根据类型识别结果确定该移动终端是否可通过默认IP地址对发送目标检测响应报文的第一DHCP服务器所管理的网络进行访问。Step S240: Determine, according to the type identification result, whether the mobile terminal can access the network managed by the first DHCP server that sends the target detection response message through the default IP address.
在本实施例中,当目标检测响应报文的类型识别结果表明该目标检测响应报文是肯定应答报文时,可以判定所述移动终端10当前的默认IP地址处于发送目标检测响应报文的第一DHCP服务器20的IP地址池内,即该移动终端10可通过所述默认IP地址对该第一DHCP服务器20所管理的网络进行访问。而当目标检测响应报文的类型识别结果表明该目标检测响应报文是否定应答报文时,可以判定移动终端10当前的默认IP地址不处于发送所述目标检测响应报文的第一DHCP服务器20的IP地址池内,即该移动终端10无法通过默认IP地址对该第一DHCP服务器20所管理的网络进行访问。In this embodiment, when the type identification result of the target detection response message indicates that the target detection response message is an affirmative response message, it can be determined that the current default IP address of the mobile terminal 10 is in the position where the target detection response message is sent. In the IP address pool of the first DHCP server 20, that is, the mobile terminal 10 can access the network managed by the first DHCP server 20 through the default IP address. When the type identification result of the target detection response message indicates that the target detection response message is a negative response message, it can be determined that the current default IP address of the mobile terminal 10 is not in the first DHCP server that sent the target detection response message. In the IP address pool of 20, that is, the mobile terminal 10 cannot access the network managed by the first DHCP server 20 through the default IP address.
在本申请中,移动终端10通过采用上述漫游连网处理方法得以确保该移动终端10在发生漫游事件后快速地确认自身是否能够凭借漫游前的IP地址直接访 问漫游地处的网络,增强可访问性确认时长的稳定度,避免出现网络访问长时间中断的现象,优化用户上网体验。In this application, the mobile terminal 10 adopts the roaming network processing method described above to ensure that the mobile terminal 10 can quickly confirm whether it can directly access the roaming network by virtue of the IP address before roaming after a roaming event, thereby enhancing the accessibility. The stability of the sexual confirmation time can avoid the phenomenon of long-term interruption of network access and optimize the user's online experience.
请参照图3,图3是本申请另一实施例提供的漫游连网处理方法的流程示意图。在本申请实施例中,图3所示的漫游连网处理方法与图2所示的漫游连网处理方法相比,图3所示的漫游连网处理方法还可以包括步骤S250,移动终端10在无法直接通过漫游前的IP地址访问漫游地的网络时,能够通过执行步骤S250获取与漫游地处的网络相匹配的IP地址,并按照获取到的IP地址与漫游地处的网络进行连接,确保移动终端10可以继续访问网络。Please refer to FIG. 3, which is a schematic flowchart of a roaming network processing method provided by another embodiment of the present application. In the embodiment of the present application, the roaming and networking processing method shown in FIG. 3 is compared with the roaming and networking processing method shown in FIG. 2. The roaming and networking processing method shown in FIG. 3 may further include step S250. When it is not possible to directly access the network of the roaming place through the IP address before roaming, it is possible to obtain an IP address matching the network of the roaming place by performing step S250, and connect with the network of the roaming place according to the obtained IP address. Ensure that the mobile terminal 10 can continue to access the network.
步骤S250,当类型识别结果为目标检测响应报文是否定应答报文时,申请该移动终端当前的可访问网络下的目标IP地址进行加载。Step S250: When the type identification result is that the target detection response message is a negative response message, apply for the target IP address of the current accessible network of the mobile terminal for loading.
在本实施例中,当移动终端10确定获取到的目标检测响应报文所对应的类型识别结果表明该目标检测响应报文是否定应答报文时,该移动终端10将无法直接通过当时的默认IP地址访问漫游地处的网络,此时该移动终端10会相应地寻求其在当前漫游地处能够访问的网络下的目标IP地址进行加载,从而接入到漫游地处的网络进行网络访问操作。In this embodiment, when the mobile terminal 10 determines that the type recognition result corresponding to the acquired target detection response message indicates that the target detection response message is a negative response message, the mobile terminal 10 will not be able to directly pass the default value at that time. The IP address visits the network in the roaming location, and the mobile terminal 10 will correspondingly seek its target IP address under the network that can be accessed in the current roaming location to load, so as to access the network in the roaming location to perform network access operations. .
具体地,申请该移动终端10当前的可访问网络下的目标IP地址进行加载的步骤进一步包括:Specifically, the step of applying for loading the target IP address of the current accessible network of the mobile terminal 10 further includes:
对当前的默认IP地址进行清空处理,并广播发送DHCP探测报文;Clear the current default IP address, and broadcast a DHCP probe message;
接收DHCP服务器20反馈的与DHCP探测报文对应的DHCP探测响应报文;Receiving a DHCP detection response message corresponding to the DHCP detection message fed back by the DHCP server 20;
在接收到的DHCP探测响应报文各自对应的DHCP服务器20中确定第二DHCP服务器20,并广播发送针对第二DHCP服务器20的DHCP服务请求报文;Determine the second DHCP server 20 in the DHCP server 20 corresponding to each of the received DHCP probe response messages, and broadcast a DHCP service request message for the second DHCP server 20;
接收来自第二DHCP服务器20的DHCP服务应答报文,并按照DHCP服务应答报文所包括的目标IP地址配置默认IP地址。Receive a DHCP service response message from the second DHCP server 20, and configure a default IP address according to the target IP address included in the DHCP service response message.
其中,第二DHCP服务器20为由移动终端10确定的被申请IP地址DHCP服务器20。移动终端10所发送的DHCP探测报文可采用DHCP Discover报文格式生成,DHCP服务器20所发送的DHCP探测响应报文可采用DHCP Offer报文格式生成,移动终端10接收到的DHCP探测响应报文的数目为至少一个。Wherein, the second DHCP server 20 is the DHCP server 20 for the requested IP address determined by the mobile terminal 10. The DHCP detection message sent by the mobile terminal 10 can be generated in the DHCP Discover message format, the DHCP detection response message sent by the DHCP server 20 can be generated in the DHCP Offer message format, and the DHCP detection response message received by the mobile terminal 10 The number is at least one.
移动终端10可按照DHCP探测响应报文的接收顺序,选取最先接收的 DHCP探测响应报文所对应的DHCP服务器20,作为第二DHCP服务器20,并向周围广播发送用于表示确认通过所述第二DHCP服务器20进行IP地址申请的DHCP服务请求报文,其中DHCP服务请求报文可采用DHCP Request报文格式生成。此时,被选定的第二DHCP服务器20可能与前述的第一DHCP服务器20指向同一DHCP服务器20。而当第二DHCP服务器20接收到DHCP服务请求报文后,会相应地为该移动终端10分配一个处于该第二DHCP服务器20所管控网络下的目标IP地址,并向该移动终端10反馈包括该目标IP地址的DHCP服务应答报文,使该移动终端10得以按照该目标IP地址配置自身的默认IP地址,并通过配置后的默认IP地址直接访问该第二DHCP服务器20所管理的网络。The mobile terminal 10 can select the DHCP server 20 corresponding to the first received DHCP probe response message as the second DHCP server 20 according to the order in which the DHCP probe response message is received, and broadcast to the surroundings to indicate that the confirmation is passed. The second DHCP server 20 performs a DHCP service request message for IP address application, where the DHCP service request message may be generated in a DHCP Request message format. At this time, the selected second DHCP server 20 may point to the same DHCP server 20 as the aforementioned first DHCP server 20. When the second DHCP server 20 receives the DHCP service request message, it will correspondingly allocate a target IP address under the network controlled by the second DHCP server 20 to the mobile terminal 10, and feed back to the mobile terminal 10 that it includes The DHCP service response message of the target IP address enables the mobile terminal 10 to configure its own default IP address according to the target IP address, and directly access the network managed by the second DHCP server 20 through the configured default IP address.
本申请还提供一种漫游连网处理装置100,漫游连网处理装置100是通过进行功能模块划分的方式实现其功能。下面对本申请提供的漫游连网处理装置100的具体组成进行相应描述。请参照图4,图4是本申请一实施例提供的漫游连网处理装置100的功能模块示意图。The present application also provides a roaming network connection processing device 100. The roaming network connection processing device 100 realizes its functions by dividing functional modules. The specific composition of the roaming network processing device 100 provided in the present application will be described below. Please refer to FIG. 4, which is a schematic diagram of functional modules of a roaming network processing apparatus 100 provided by an embodiment of the present application.
在本申请实施例中,漫游连网处理装置100包括检测请求模块110、响应接收模块120、报文识别模块130及访问检测模块140。In the embodiment of the present application, the roaming network processing device 100 includes a detection request module 110, a response receiving module 120, a message identification module 130, and an access detection module 140.
检测请求模块110,用于响应于移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址。The detection request module 110 is configured to broadcast a DHCP detection request message in response to the mobile terminal detecting a roaming event, where the DHCP detection request message carries the default IP address of the mobile terminal before roaming.
响应接收模块120,用于接收DHCP服务器反馈的与DHCP检测请求报文对应的DHCP检测响应报文,其中DHCP检测响应报文由DHCP服务器根据自身所管理的IP地址池响应接收到的该DHCP检测请求报文得到。The response receiving module 120 is configured to receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server, where the DHCP detection response message is responded by the DHCP server according to the IP address pool managed by the DHCP server in response to the received DHCP detection The request message is obtained.
报文识别模块130,用于在接收到的DHCP检测响应报文中确定目标检测响应报文,并对该目标检测响应报文进行报文类型识别,得到对应的类型识别结果。The message identification module 130 is configured to determine a target detection response message in the received DHCP detection response message, and perform message type identification on the target detection response message to obtain a corresponding type identification result.
访问检测模块140,用于根据类型识别结果确定该移动终端是否可通过默认IP地址对发送目标检测响应报文的第一DHCP服务器所管理的网络进行访问。The access detection module 140 is configured to determine, according to the type identification result, whether the mobile terminal can access the network managed by the first DHCP server that sends the target detection response message through the default IP address.
在另一实施例中,请参照图5,图5是本申请另一实施例提供的漫游连网处理装置100的功能模块示意图。在本申请实施例中,图5所示的漫游连网处理装置100与图4所示的漫游连网处理装置100相比,图5所示的漫游连网处理 装置100还可以包括地址申请模块150。In another embodiment, please refer to FIG. 5, which is a schematic diagram of functional modules of a roaming network processing apparatus 100 provided in another embodiment of the present application. In the embodiment of the present application, the roaming network connection processing device 100 shown in FIG. 5 is compared with the roaming network connection processing device 100 shown in FIG. 4, and the roaming network connection processing device 100 shown in FIG. 150.
地址申请模块150,用于当类型识别结果为目标检测响应报文是否定应答报文时,申请该移动终端当前的可访问网络下的目标IP地址进行加载。The address application module 150 is configured to apply for the target IP address of the current accessible network of the mobile terminal for loading when the type identification result is that the target detection response message is a negative response message.
需要说明的是,本申请实施例所提供的漫游连网处理装置100,其基本原理及产生的技术效果与前述的漫游连网处理方法相同,为简要描述,本实施例部分未提及之处,可参考上述的针对漫游连网处理方法的描述内容。It should be noted that the basic principles and technical effects of the roaming network processing device 100 provided in the embodiment of the present application are the same as the aforementioned roaming network processing method. For a brief description, the parts not mentioned in this embodiment are partially described. , Please refer to the above description of the roaming connection processing method.
本申请还提供一种移动终端10,请参照图6,图6是本申请实施例提供的移动终端10的结构组成示意图。在本申请实施例中,移动终端10可包括存储器11、处理器12及通信单元13。存储器11、处理器12及通信单元13各个元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,存储器11、处理器12及通信单元13这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。The present application also provides a mobile terminal 10. Please refer to FIG. 6. FIG. 6 is a schematic structural composition diagram of the mobile terminal 10 provided by an embodiment of the present application. In the embodiment of the present application, the mobile terminal 10 may include a memory 11, a processor 12, and a communication unit 13. The components of the memory 11, the processor 12, and the communication unit 13 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, the memory 11, the processor 12, and the communication unit 13 may be electrically connected to each other through one or more communication buses or signal lines.
在本实施例中,存储器11可用于存储程序,处理器12在接收到执行指令后,可相应地执行该程序。其中,存储器11可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。其中,存储器11还可用于存储对应移动终端10当前使用的用于实现网络访问的IP地址,即默认IP地址。In this embodiment, the memory 11 may be used to store a program, and the processor 12 may execute the program accordingly after receiving the execution instruction. The memory 11 may be, but is not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), and programmable read-only memory (Programmable Read-Only Memory, PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), etc. Wherein, the memory 11 can also be used to store the IP address currently used by the corresponding mobile terminal 10 for implementing network access, that is, the default IP address.
在本实施例中,处理器12可以是一种具有信号的处理能力的集成电路芯片。处理器12可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)及网络处理器(Network Processor,NP)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。In this embodiment, the processor 12 may be an integrated circuit chip with signal processing capability. The processor 12 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), and so on. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
在本实施例中,通信单元13用于通过网络建立所述移动终端10与其他电子设备之间的通信连接,并通过网络进行数据交互。此外,所述通信单元13还用于实现移动终端10的信号发送功能及信号接收功能。In this embodiment, the communication unit 13 is configured to establish a communication connection between the mobile terminal 10 and other electronic devices through a network, and perform data interaction through the network. In addition, the communication unit 13 is also used to implement the signal sending function and signal receiving function of the mobile terminal 10.
在本实施例中,处理器12在接收到执行指令后,可相应地执行存储器11的程序以执行前述的漫游连网处理方法,为简要描述,本实施例部分未提及之 处,可参考上述的针对漫游连网处理方法的描述内容。In this embodiment, after receiving the execution instruction, the processor 12 can execute the program in the memory 11 accordingly to execute the aforementioned roaming and networking processing method. For a brief description, for the parts not mentioned in this embodiment, please refer to The above description of the roaming network processing method.
可以理解的是,图6所示的方框示意图仅为移动终端10的一种结构组成示意图,所述移动终端10还可包括比图6中所示更多或者更少的组件,或者具有与图6所示不同的配置。图6中所示的各组件可以采用硬件、软件或其组合实现。It is understandable that the block diagram shown in FIG. 6 is only a schematic diagram of a structural composition of the mobile terminal 10. The mobile terminal 10 may also include more or fewer components than those shown in FIG. Figure 6 shows the different configurations. Each component shown in FIG. 6 can be implemented by hardware, software, or a combination thereof.
本申请还提供一种非易失性存储介质的实施例,如图7所示,该非易失性存储介质200存储有处理器可运行的计算机程序201,该计算机程序201用于执行上述实施例中的方法。具体地,该存储介质200具体可如图6所示的存储器11或为存储器11的一部分。The present application also provides an embodiment of a non-volatile storage medium. As shown in FIG. 7, the non-volatile storage medium 200 stores a computer program 201 that can be run by a processor, and the computer program 201 is used to execute the above-mentioned implementation. The method in the example. Specifically, the storage medium 200 may specifically be the memory 11 shown in FIG. 6 or a part of the memory 11.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本申请的实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the embodiments provided in this application, it should be understood that the disclosed device and method may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the drawings show the possible implementation architecture, functions, and operations of the devices, methods, and computer program products according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more functions for realizing the specified logical function. Executable instructions. It should also be noted that in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
另外,在本申请各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个可读存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的可读存储介质包括:U 盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium. , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned readable storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc., which can store program codes. Medium.
以上仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only implementations of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly applied to other related technical fields, The same reasoning is included in the scope of patent protection of this application.

Claims (20)

  1. 一种漫游连网处理方法,其特征在于,应用于移动终端,所述方法包括:A roaming network processing method, characterized in that it is applied to a mobile terminal, and the method includes:
    响应于所述移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;In response to the mobile terminal detecting the roaming event, broadcast sending a DHCP detection request message, wherein the DHCP detection request message carries the default IP address of the mobile terminal before roaming;
    接收DHCP服务器反馈的与所述DHCP检测请求报文对应的DHCP检测响应报文,其中所述DHCP检测响应报文是由所述DHCP服务器根据自身所管理的IP地址池响应接收到的所述DHCP检测请求报文而得到的;Receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server, where the DHCP detection response message is the DHCP server responding to the DHCP received according to the IP address pool managed by the DHCP server Obtained by detecting the request message;
    在接收到的所述DHCP检测响应报文中确定目标检测响应报文,并对所述目标检测响应报文进行报文类型识别,得到对应的类型识别结果;Determine a target detection response message in the received DHCP detection response message, and perform message type identification on the target detection response message to obtain a corresponding type identification result;
    根据所述类型识别结果确定所述移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。According to the type identification result, it is determined whether the mobile terminal can access the network managed by the first DHCP server that sent the target detection response message through the default IP address.
  2. 根据权利要求1所述的方法,其特征在于,所述DHCP检测请求报文是采用DHCP Request报文格式生成得到的。The method according to claim 1, wherein the DHCP detection request message is generated by adopting a DHCP Request message format.
  3. 根据权利要求2所述的方法,其特征在于,所述DHCP服务器的IP地址池的数目与所述DHCP服务器所管理的局域网数目相同。The method according to claim 2, wherein the number of IP address pools of the DHCP server is the same as the number of local area networks managed by the DHCP server.
  4. 根据权利要求1所述的方法,其特征在于,所述第一DHCP服务器为与所述目标检测响应报文对应的需确认是否可访问的DHCP服务器,所述根据所述类型识别结果确定该移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问,包括:The method according to claim 1, wherein the first DHCP server is a DHCP server corresponding to the target detection response message that needs to be confirmed to be accessible, and the mobile device is determined according to the type identification result. Whether the terminal can access the network managed by the first DHCP server that sends the target detection response message through the default IP address includes:
    若所述类型识别结果为所述目标检测响应报文是肯定应答报文,则判定所述默认IP地址处于所述第一DHCP服务器的IP地址池内,所述移动终端可通过所述默认IP地址对所述第一DHCP服务器所管理的网络进行访问;If the type identification result is that the target detection response message is a positive response message, it is determined that the default IP address is in the IP address pool of the first DHCP server, and the mobile terminal can pass the default IP address Access to the network managed by the first DHCP server;
    若所述类型识别结果为所述目标检测响应报文是否定应答报文,则判定所述默认IP地址不处于所述第一DHCP服务器的IP地址池内,所述移动终端无法通过所述默认IP地址对所述第一DHCP服务器所管理的网络进行访问。If the type identification result is that the target detection response message is a negative response message, it is determined that the default IP address is not in the IP address pool of the first DHCP server, and the mobile terminal cannot pass the default IP address. The address accesses the network managed by the first DHCP server.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    当所述类型识别结果为所述目标检测响应报文是否定应答报文时,申请所述移动终端当前的可访问网络下的目标IP地址进行加载。When the type recognition result is that the target detection response message is a negative response message, the target IP address of the current accessible network of the mobile terminal is requested to be loaded.
  6. 根据权利要求5所述的方法,其特征在于,所述申请所述移动终端当前的可访问网络下的目标IP地址进行加载,进一步包括:The method according to claim 5, wherein the applying for loading the target IP address of the current accessible network of the mobile terminal further comprises:
    对当前的默认IP地址进行清空处理,并广播发送DHCP探测报文;Clear the current default IP address, and broadcast a DHCP probe message;
    接收所述DHCP服务器反馈的与所述DHCP探测报文对应的DHCP探测响应报文;Receiving a DHCP detection response message corresponding to the DHCP detection message fed back by the DHCP server;
    在接收到的所述DHCP探测响应报文各自对应的DHCP服务器中确定第二DHCP服务器,并广播发送针对所述第二DHCP服务器的DHCP服务请求报文,其中所述第二DHCP服务器为被申请IP地址的DHCP服务器;Determine a second DHCP server from the DHCP servers corresponding to each of the received DHCP probe response messages, and broadcast a DHCP service request message for the second DHCP server, where the second DHCP server is an applied-for DHCP server with IP address;
    接收来自所述第二DHCP服务器的DHCP服务应答报文,并按照所述DHCP服务应答报文所包括的目标IP地址配置默认IP地址。Receive a DHCP service response message from the second DHCP server, and configure a default IP address according to the target IP address included in the DHCP service response message.
  7. 一种漫游连网处理方法,其特征在于,应用于DHCP服务器,所述方法包括:A roaming network processing method, characterized in that it is applied to a DHCP server, and the method includes:
    接收来自移动终端发送的DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;Receiving a DHCP detection request message sent from a mobile terminal, where the DHCP detection request message carries the default IP address of the mobile terminal before roaming;
    发送DHCP检测响应报文,所述DHCP检测响应报文是根据所述DHCP服务器所管理的IP地址池响应接收到的所述DHCP检测请求报文而得到的;Sending a DHCP detection response message, the DHCP detection response message being obtained in response to the received DHCP detection request message according to the IP address pool managed by the DHCP server;
    接受来自所述移动终端的访问,其中,所述移动终端的访问是根据所述移动终端在接收到的所述DHCP检测响应报文中确定目标检测响应报文,并对所述目标检测响应报文进行报文类型识别,得到对应的类型识别结果以确定是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。Accept access from the mobile terminal, wherein the access of the mobile terminal is based on the mobile terminal determining a target detection response message in the received DHCP detection response message, and responding to the target detection response message The message performs message type identification, and obtains a corresponding type identification result to determine whether the network managed by the first DHCP server that sends the target detection response message can be accessed through the default IP address.
  8. 根据权利要求7所述的方法,其特征在于,所述DHCP检测请求报文是采用DHCP Request报文格式生成得到的。The method according to claim 7, wherein the DHCP detection request message is generated by adopting a DHCP Request message format.
  9. 根据权利要求8所述的方法,其特征在于,所述DHCP服务器的IP地址池的数目与所述DHCP服务器所管理的局域网数目相同。8. The method according to claim 8, wherein the number of IP address pools of the DHCP server is the same as the number of local area networks managed by the DHCP server.
  10. 根据权利要求9所述的方法,其特征在于,所述发送DHCP检测响应报文之前进一步包括:The method according to claim 9, characterized in that, before the sending a DHCP detection response message, the method further comprises:
    确定所述默认IP地址所对应的原始局域网是否属于所述DHCP服务器所管理的局域网;Determining whether the original local area network corresponding to the default IP address belongs to the local area network managed by the DHCP server;
    若所述默认IP地址所对应的原始局域网不属于所述DHCP服务器所管理的 局域网,所述移动终端不能通过所述默认IP地址直接访问所述DHCP服务器所管理的任意一个局域网;If the original local area network corresponding to the default IP address does not belong to the local area network managed by the DHCP server, the mobile terminal cannot directly access any local area network managed by the DHCP server through the default IP address;
    若所述默认IP地址所对应的原始局域网属于所述DHCP服务器所管理的局域网,则调用与所述原始局域网对应的IP地址池,在所述IP地址池内通过比对的方式确定是否存在所述默认IP地址;If the original local area network corresponding to the default IP address belongs to the local area network managed by the DHCP server, the IP address pool corresponding to the original local area network is called, and the IP address pool is compared to determine whether there is the Default IP address;
    当所述IP地址池内不存在所述默认IP地址时,所述移动终端无法通过所述默认IP地址访问所述原始局域网;When the default IP address does not exist in the IP address pool, the mobile terminal cannot access the original local area network through the default IP address;
    当所述IP地址池内存在所述默认IP地址时,所述移动终端通过所述默认IP地址访问所述原始局域网。When the default IP address exists in the IP address pool, the mobile terminal accesses the original local area network through the default IP address.
  11. 根据权利要求10所述的方法,其特征在于,当所述IP地址池内不存在所述默认IP地址时,所述发送DHCP检测响应报文进一步包括:The method according to claim 10, wherein when the default IP address does not exist in the IP address pool, the sending a DHCP detection response message further comprises:
    生成否定应答报文的所述DHCP检测响应报文发送给所述移动终端;The DHCP detection response message that generates the negative response message is sent to the mobile terminal;
    当所述IP地址池内存在所述默认IP地址时,所述发送DHCP检测响应报文进一步包括:When the default IP address exists in the IP address pool, the sending a DHCP detection response message further includes:
    生成肯定应答报文的所述DHCP检测响应报文发送给所述移动终端。The DHCP detection response message that generates the positive response message is sent to the mobile terminal.
  12. 一种漫游连网处理装置,其特征在于,应用于移动终端,所述装置包括:A roaming network processing device, characterized in that it is applied to a mobile terminal, and the device includes:
    检测请求模块,用于响应于所述移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;The detection request module is configured to broadcast a DHCP detection request message in response to the mobile terminal detecting a roaming event, wherein the DHCP detection request message carries the default IP address of the mobile terminal before roaming;
    响应接收模块,用于接收DHCP服务器反馈的与所述DHCP检测请求报文对应的DHCP检测响应报文,其中所述DHCP检测响应报文由DHCP服务器根据自身所管理的IP地址池响应接收到的多数DHCP检测请求报文得到;The response receiving module is configured to receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server, wherein the DHCP detection response message is received by the DHCP server in response to the IP address pool managed by itself Most DHCP detection request messages are obtained;
    报文识别模块,用于在接收到的所述DHCP检测响应报文中确定目标检测响应报文,并对所述目标检测响应报文进行报文类型识别,得到对应的类型识别结果;A message identification module, configured to determine a target detection response message in the received DHCP detection response message, and perform message type identification on the target detection response message to obtain a corresponding type identification result;
    访问检测模块,用于根据所述类型识别结果确定该移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。The access detection module is configured to determine, according to the type identification result, whether the mobile terminal can access the network managed by the first DHCP server that sends the target detection response message through the default IP address.
  13. 根据权利要求12所述的装置,其特征在于,所述第一DHCP服务器为与 所述目标检测响应报文对应的需确认是否可访问的DHCP服务器,所述访问检测模块根据所述类型识别结果确定该移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问,包括:The device according to claim 12, wherein the first DHCP server is a DHCP server corresponding to the target detection response message that needs to be confirmed whether it is accessible, and the access detection module is based on the type identification result Determining whether the mobile terminal can access the network managed by the first DHCP server that sends the target detection response message through the default IP address includes:
    若所述类型识别结果为所述目标检测响应报文是肯定应答报文,则判定所述默认IP地址处于所述第一DHCP服务器的IP地址池内,该移动终端可通过所述默认IP地址对所述第一DHCP服务器所管理的网络进行访问;If the type identification result is that the target detection response message is a positive response message, it is determined that the default IP address is in the IP address pool of the first DHCP server, and the mobile terminal can use the default IP address to pair Access to the network managed by the first DHCP server;
    若所述类型识别结果为所述目标检测响应报文是否定应答报文,则判定所述默认IP地址不处于所述第一DHCP服务器的IP地址池内,该移动终端无法通过所述默认IP地址对所述第一DHCP服务器所管理的网络进行访问。If the type identification result is that the target detection response message is a negative response message, it is determined that the default IP address is not in the IP address pool of the first DHCP server, and the mobile terminal cannot pass the default IP address Access to the network managed by the first DHCP server.
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:
    地址申请模块,用于当所述类型识别结果为所述目标检测响应报文是否定应答报文时,申请该移动终端当前的可访问网络下的目标IP地址进行加载。The address application module is configured to apply for the target IP address of the current accessible network of the mobile terminal for loading when the result of the type recognition is that the target detection response message is a negative response message.
  15. 根据权利要求14所述的装置,其特征在于,所述地址申请模块申请该移动终端当前的可访问网络下的目标IP地址进行加载,进一步包括:The device according to claim 14, wherein the address application module applies for the mobile terminal's current target IP address under the accessible network for loading, further comprising:
    对当前的默认IP地址进行清空处理,并广播发送DHCP探测报文;Clear the current default IP address, and broadcast a DHCP probe message;
    接收DHCP服务器反馈的与所述DHCP探测报文对应的DHCP探测响应报文;Receiving a DHCP detection response message corresponding to the DHCP detection message fed back by the DHCP server;
    在接收到的DHCP探测响应报文各自对应的DHCP服务器中确定第二DHCP服务器,并广播发送针对所述第二DHCP服务器的DHCP服务请求报文,其中所述第二DHCP服务器为被申请IP地址的DHCP服务器;Determine the second DHCP server from the DHCP servers corresponding to each of the received DHCP probe response messages, and broadcast a DHCP service request message for the second DHCP server, where the second DHCP server is the requested IP address DHCP server;
    接收来自所述第二DHCP服务器的DHCP服务应答报文,并按照所述DHCP服务应答报文所包括的目标IP地址配置默认IP地址。Receive a DHCP service response message from the second DHCP server, and configure a default IP address according to the target IP address included in the DHCP service response message.
  16. 一种移动终端,其特征在于,包括处理器和存储器,所述存储器存储有能够被所述处理器执行的指令,所述处理器执行指令以实现如下方法:A mobile terminal, characterized by comprising a processor and a memory, the memory storing instructions that can be executed by the processor, and the processor executing the instructions to implement the following method:
    响应于所述移动终端检测到漫游事件,广播发送DHCP检测请求报文,其中所述DHCP检测请求报文携带有所述移动终端在漫游前的默认IP地址;In response to the mobile terminal detecting the roaming event, broadcast sending a DHCP detection request message, wherein the DHCP detection request message carries the default IP address of the mobile terminal before roaming;
    接收DHCP服务器反馈的与所述DHCP检测请求报文对应的DHCP检测响应报文,其中所述DHCP检测响应报文是由所述DHCP服务器根据自身所管理的IP地址池响应接收到的所述DHCP检测请求报文而得到的;Receive a DHCP detection response message corresponding to the DHCP detection request message fed back by the DHCP server, where the DHCP detection response message is the DHCP server responding to the DHCP received according to the IP address pool managed by the DHCP server Obtained by detecting the request message;
    在接收到的所述DHCP检测响应报文中确定目标检测响应报文,并对所述 目标检测响应报文进行报文类型识别,得到对应的类型识别结果;Determine a target detection response message in the received DHCP detection response message, and perform message type identification on the target detection response message to obtain a corresponding type identification result;
    根据所述类型识别结果确定所述移动终端是否可通过所述默认IP地址对发送所述目标检测响应报文的第一DHCP服务器所管理的网络进行访问。According to the type identification result, it is determined whether the mobile terminal can access the network managed by the first DHCP server that sent the target detection response message through the default IP address.
  17. 根据权利要求16所述的移动终端,其特征在于,所述第一DHCP服务器为与所述目标检测响应报文对应的需确认是否可访问的DHCP服务器,所述处理器执行指令实现的所述方法进一步包括:The mobile terminal according to claim 16, wherein the first DHCP server is a DHCP server corresponding to the target detection response message that needs to be confirmed to be accessible, and the processor executes the The method further includes:
    若所述类型识别结果为所述目标检测响应报文是肯定应答报文,则判定所述默认IP地址处于所述第一DHCP服务器的IP地址池内,所述移动终端可通过所述默认IP地址对所述第一DHCP服务器所管理的网络进行访问;If the type identification result is that the target detection response message is a positive response message, it is determined that the default IP address is in the IP address pool of the first DHCP server, and the mobile terminal can pass the default IP address Access to the network managed by the first DHCP server;
    若所述类型识别结果为所述目标检测响应报文是否定应答报文,则判定所述默认IP地址不处于所述第一DHCP服务器的IP地址池内,所述移动终端无法通过所述默认IP地址对所述第一DHCP服务器所管理的网络进行访问。If the type identification result is that the target detection response message is a negative response message, it is determined that the default IP address is not in the IP address pool of the first DHCP server, and the mobile terminal cannot pass the default IP address. The address accesses the network managed by the first DHCP server.
  18. 根据权利要求17所述的移动终端,其特征在于,所述处理器执行指令实现的所述方法进一步包括:The mobile terminal according to claim 17, wherein the method implemented by the processor executing instructions further comprises:
    当所述类型识别结果为所述目标检测响应报文是否定应答报文时,申请所述移动终端当前的可访问网络下的目标IP地址进行加载。When the type recognition result is that the target detection response message is a negative response message, the target IP address of the current accessible network of the mobile terminal is requested to be loaded.
  19. 根据权利要求18所述的移动终端,其特征在于,所述处理器执行指令实现的所述方法进一步包括:The mobile terminal according to claim 18, wherein the method implemented by the processor executing instructions further comprises:
    对当前的默认IP地址进行清空处理,并广播发送DHCP探测报文;Clear the current default IP address, and broadcast a DHCP probe message;
    接收所述DHCP服务器反馈的与所述DHCP探测报文对应的DHCP探测响应报文;Receiving a DHCP detection response message corresponding to the DHCP detection message fed back by the DHCP server;
    在接收到的所述DHCP探测响应报文各自对应的DHCP服务器中确定第二DHCP服务器,并广播发送针对所述第二DHCP服务器的DHCP服务请求报文,其中所述第二DHCP服务器为被申请IP地址的DHCP服务器;Determine a second DHCP server from the DHCP servers corresponding to each of the received DHCP probe response messages, and broadcast a DHCP service request message for the second DHCP server, where the second DHCP server is an applied-for DHCP server with IP address;
    接收来自所述第二DHCP服务器的DHCP服务应答报文,并按照所述DHCP服务应答报文所包括的目标IP地址配置默认IP地址。Receive a DHCP service response message from the second DHCP server, and configure a default IP address according to the target IP address included in the DHCP service response message.
  20. 一种非易失性存储介质,其特征在于,存储有计算机程序,所述计算机程序被处理器执行时,实现权利要求1-6中任意一项所述的漫游连网处理方法。A non-volatile storage medium, characterized in that it stores a computer program that, when executed by a processor, implements the roaming network processing method according to any one of claims 1-6.
PCT/CN2021/084370 2020-03-31 2021-03-31 Roaming networking processing method, apparatus, mobile terminal and readable storage medium WO2021197375A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010245241.8A CN113473576B (en) 2020-03-31 2020-03-31 Roaming networking processing method and device, mobile terminal and readable storage medium
CN202010245241.8 2020-03-31

Publications (1)

Publication Number Publication Date
WO2021197375A1 true WO2021197375A1 (en) 2021-10-07

Family

ID=77865515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/084370 WO2021197375A1 (en) 2020-03-31 2021-03-31 Roaming networking processing method, apparatus, mobile terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN113473576B (en)
WO (1) WO2021197375A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124581A (en) * 2022-01-27 2022-03-01 深圳融安网络科技有限公司 Message processing method, firewall and readable storage medium
CN115118518A (en) * 2022-07-21 2022-09-27 深圳安天网络安全技术有限公司 Anti-detection method and device
CN115296893A (en) * 2022-08-02 2022-11-04 北京天融信网络安全技术有限公司 Method, device, system and medium for detecting address information abnormity

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978942A (en) * 2022-05-13 2022-08-30 深信服科技股份有限公司 Router detection method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2619092A1 (en) * 2008-01-29 2009-07-29 Solutioninc Limited Method of and system for support of user devices roaming between routing realms by a single network server
CN106255089A (en) * 2016-08-26 2016-12-21 杭州迪普科技有限公司 A kind of method and apparatus of radio three layer roaming
CN107517283A (en) * 2017-08-18 2017-12-26 杭州迪普科技股份有限公司 A kind of method and device for realizing terminal roaming switching
CN107995070A (en) * 2017-11-21 2018-05-04 新华三技术有限公司 Networking control method, device and BRAS based on IPOE

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795581B (en) * 2012-10-29 2018-05-11 新华三技术有限公司 Address processing method and equipment
CN106304277B (en) * 2015-05-12 2020-12-04 中兴通讯股份有限公司 Method and terminal for realizing network access
CN107484223B (en) * 2017-08-23 2020-08-04 杭州迪普科技股份有限公司 Method and device for terminal roaming switching
CN109088955B (en) * 2018-07-23 2021-07-09 成都西加云杉科技有限公司 Message processing method and device
CN109861892A (en) * 2019-03-28 2019-06-07 新华三技术有限公司 A kind of terminal roaming method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2619092A1 (en) * 2008-01-29 2009-07-29 Solutioninc Limited Method of and system for support of user devices roaming between routing realms by a single network server
CN106255089A (en) * 2016-08-26 2016-12-21 杭州迪普科技有限公司 A kind of method and apparatus of radio three layer roaming
CN107517283A (en) * 2017-08-18 2017-12-26 杭州迪普科技股份有限公司 A kind of method and device for realizing terminal roaming switching
CN107995070A (en) * 2017-11-21 2018-05-04 新华三技术有限公司 Networking control method, device and BRAS based on IPOE

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124581A (en) * 2022-01-27 2022-03-01 深圳融安网络科技有限公司 Message processing method, firewall and readable storage medium
CN114124581B (en) * 2022-01-27 2022-05-17 深圳融安网络科技有限公司 Message processing method, firewall and readable storage medium
CN115118518A (en) * 2022-07-21 2022-09-27 深圳安天网络安全技术有限公司 Anti-detection method and device
CN115296893A (en) * 2022-08-02 2022-11-04 北京天融信网络安全技术有限公司 Method, device, system and medium for detecting address information abnormity

Also Published As

Publication number Publication date
CN113473576A (en) 2021-10-01
CN113473576B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
WO2021197375A1 (en) Roaming networking processing method, apparatus, mobile terminal and readable storage medium
KR101842316B1 (en) Method and system of providing internet protocol(ip) data communication in a nfc peer to peer communication environment
WO2021057889A1 (en) Data processing method and apparatus, electronic device, and storage medium
WO2019144742A1 (en) Binding method for user terminal and device, apparatus, and system
WO2019129154A1 (en) Service request processing method and device
US20160143071A1 (en) Method, device, and network system of establishing a tunnel
CN111405042B (en) Electronic device discovery method and device, storage medium and electronic device
CN109964493B (en) Network connection detection method, device, terminal and computer storage medium
CN104519551B (en) WiFi network DHCP negotiation method and client
CN107800745B (en) Method, apparatus, and computer-readable storage medium for service announcement and service discovery based on mDNS
CN112152940B (en) Message processing method, device and system
CN108712513B (en) Network address setting method and device, terminal equipment and storage medium
US8260942B2 (en) Cluster view performance
WO2022135132A1 (en) Service processing method and apparatus, electronic device, and storage medium
US11622263B2 (en) Wireless repeater device and configuration method for the same
CN113411228B (en) Network condition determining method and server
CN114584425A (en) Method for applying cross-domain roaming
CN111385371B (en) MAC address acquisition method, device and equipment
WO2015123986A1 (en) Data recording method and system, and access server
CN114095976B (en) Distribution method and device of network slices, electronic equipment and readable medium
WO2016202080A1 (en) Method and device for acquiring address
US20240048527A1 (en) Information processing method, device, related apparatus and storage medium
US10742445B2 (en) System for detecting loops in a pseudo-bridge
WO2024045092A1 (en) Method and apparatus for determining unique identifier of device, and electronic device
CN113992583B (en) Table item maintenance method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21780303

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 18.01.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21780303

Country of ref document: EP

Kind code of ref document: A1