CN108738053A - The roaming detection method and device of terminal - Google Patents

The roaming detection method and device of terminal Download PDF

Info

Publication number
CN108738053A
CN108738053A CN201810486175.6A CN201810486175A CN108738053A CN 108738053 A CN108738053 A CN 108738053A CN 201810486175 A CN201810486175 A CN 201810486175A CN 108738053 A CN108738053 A CN 108738053A
Authority
CN
China
Prior art keywords
information
terminal
roaming
bssid
beginning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810486175.6A
Other languages
Chinese (zh)
Other versions
CN108738053B (en
Inventor
王涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks Co Ltd
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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201810486175.6A priority Critical patent/CN108738053B/en
Publication of CN108738053A publication Critical patent/CN108738053A/en
Application granted granted Critical
Publication of CN108738053B publication Critical patent/CN108738053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection

Abstract

The invention discloses a kind of roaming detection method and device of terminal, this method includes:Monitor the WLAN of terminal connection the first BSSID be changed to the 2nd BSSID after, obtain the corresponding first AP information of the first BSSID and the corresponding 2nd AP information of the 2nd BSSID;Determine whether the terminal roams according to the first AP information and the 2nd AP information;If it is determined that the terminal roams, it is determined that the beginning and ending time and switching time that the terminal roaming occurs, and determine the first signal strength values before the terminal roaming and the second signal intensity value after roaming;Determine the packet loss information in the beginning and ending time;The roaming event of the terminal is generated according to the first AP information, the 2nd AP information, first signal strength values, the second signal intensity value, the beginning and ending time, the switching time and the packet loss information.It in the program, can effectively simplify the process of roaming detection, reduce and check and accept cost and maintenance cost.

Description

The roaming detection method and device of terminal
Technical field
The present invention relates to field of communication technology, the roaming detection method and device of espespecially a kind of terminal.
Background technology
WLAN is the LAN without using any conducting wire or cable connection, and radio wave is used to be passed as data The medium sent, transmitting range generally only have tens meters.The Backbone network of WLAN passes through one usually using cable, terminal Or multiple wireless access point (Access Point, AP) access WLAN.WLAN has been widely applied now In business district, university, airport and other public domains.
With the gradually expansion that WLAN is applied, user requires the mobility for accessing network higher and higher.One The coverage area of AP is limited, and when terminal distance AP is distant, communication quality will decline, in order to improve the removable of terminal Dynamic range, produces roaming function.Roaming function from the signal cover of an AP in terminal i.e. for being moved to another During the signal cover of AP, keep the address Internet protocol (Internet Protocol, IP) constant and data service It does not interrupt.Here key is that data service is not interrupted, if terminal is offline in an AP, data traffic interruptions, and a period of time IP address is reacquired to reaching the standard grade again on another AP again afterwards, then cannot be known as roaming.
Since the behavior of roaming is typically the application program of transparent seamless roam, terminal and its installation, will not perceive The generation of roaming, user can only provide the fuzzy feedback of similar " roaming is bad ", can not provide more valuable information feedback.For Solve the roaming test problems of terminal, it usually needs put into many professional technicians and be supported, give equipment supplier Bring the waste of huge manpower and financial resources.Therefore, the process for how effectively simplifying roaming detection, reduces and checks and accepts cost and dimension Cost is protected, each equipment supplier's urgent problem to be solved is become.
Invention content
The embodiment of the present invention provides a kind of roaming detection method and device of terminal, effectively simplifies roaming inspection to realize The process of survey reduces and checks and accepts cost and maintenance cost.
According to embodiments of the present invention, a kind of roaming detection method of terminal is provided, is applied in the terminal, feature exists In, the method includes:
The the first basic service set identifier BSSID for monitoring the WLAN of the terminal connection is changed to second After BSSID, the corresponding first wireless access point AP information of the first BSSID and the 2nd BSSID corresponding second are obtained AP information;
Determine whether the terminal roams according to the first AP information and the 2nd AP information;
If it is determined that the terminal roams, it is determined that the beginning and ending time and switching time that the terminal roaming occurs, with And determine the first signal strength values before the terminal roaming and the second signal intensity value after roaming;
Determine the packet loss information in the beginning and ending time;
According to the first AP information, the 2nd AP information, first signal strength values, the second signal intensity Value, the beginning and ending time, the switching time and the packet loss information generate the roaming event of the terminal.
Specifically, obtaining the corresponding first AP information of the first BSSID and the corresponding 2nd AP letters of the 2nd BSSID Breath, specifically includes:
The wireless controller AC communication connections for the WLAN being connect with the terminal;
First BSSID and the 2nd BSSID are sent to the AC, so that the AC obtains described first It is sent to the terminal after the corresponding first AP information of BSSID and the corresponding 2nd AP information of the 2nd BSSID;
Receive the first AP information and the 2nd AP information that the AC is sent.
If specifically, the first AP information includes the first name information and the first Internet protocol IP of the first AP Address, the 2nd AP information include the second name information and the second IP address of the 2nd AP, then according to the first AP Information and the 2nd AP information determine whether the terminal roams, and specifically include:
It determines whether first name information and second name information are identical, and determines first IP address It is whether identical as second IP address;
If it is determined that first name information is different from second name information and first IP address and described the Two IP address are different, it is determined that the terminal roams.
Specifically, determining beginning and ending time and switching time that the terminal roaming occurs, specifically include:
The MAC address of the terminal is sent to the AC, so that the AC obtains the terminal and overflows It is sent to the terminal after swimming the beginning and ending time and switching time occurred;
Receive the beginning and ending time and the switching time that the AC is sent.
Optionally, further include:Periodic broadcasting heartbeat detection message;And receive heartbeat response message;
It determines the packet loss information in the beginning and ending time, specifically includes:
The heartbeat response message received in the beginning and ending time is obtained, selected response message is obtained;
Delay and sequence of message number are obtained from the selected response message;
Packet loss is determined according to the sequence of message number in the selected message;
It combines the Delay and the packet loss obtains the packet loss information in the beginning and ending time.
Optionally, further include:
The roaming track of the terminal is formed according to the roaming event of the terminal;
Show the roaming track of the terminal.
According to embodiments of the present invention, a kind of roaming detection device of terminal is also provided, is applied in the terminal, the dress Set including:
Acquisition module, the first basic service set identifier of the WLAN for monitoring the terminal connection After BSSID is changed to the 2nd BSSID, the corresponding first wireless access point AP information of the first BSSID and described second are obtained The corresponding 2nd AP information of BSSID;
First determining module, for determining whether the terminal is sent out according to the first AP information and the 2nd AP information Raw roaming;
Second determining module, for if it is determined that the terminal roams, it is determined that the start-stop that the terminal roaming occurs Time and switching time, and determine the first signal strength values before the terminal roaming and the second signal intensity after roaming Value;
Third determining module, for determining the packet loss information in the beginning and ending time;
Generation module, for according to the first AP information, the 2nd AP information, first signal strength values, institute State the roaming thing that second signal intensity value, the beginning and ending time, the switching time and the packet loss information generate the terminal Part.
Specifically, the acquisition module, is specifically used for:
The wireless controller AC communication connections for the WLAN being connect with the terminal;
First BSSID and the 2nd BSSID are sent to the AC, so that the AC obtains described first It is sent to the terminal after the corresponding first AP information of BSSID and the corresponding 2nd AP information of the 2nd BSSID;
Receive the first AP information and the 2nd AP information that the AC is sent.
If specifically, the first AP information includes the first name information and the first Internet protocol IP of the first AP Address, the 2nd AP information include the second name information and the second IP address of the 2nd AP, then described first determine mould Block is specifically used for:
It determines whether first name information and second name information are identical, and determines first IP address It is whether identical as second IP address;
If it is determined that first name information is different from second name information and first IP address and described the Two IP address are different, it is determined that the terminal roams.
Specifically, second determining module, is specifically used for:
The MAC address of the terminal is sent to the AC, so that the AC obtains the terminal and overflows It is sent to the terminal after swimming the beginning and ending time and switching time occurred;
Receive the beginning and ending time and the switching time that the AC is sent.
Optionally, further include broadcast module and receiving module, wherein:
The broadcast module is used for periodic broadcasting heartbeat detection message;
The receiving module, for receiving heartbeat response message;
The third determining module, is specifically used for:
The heartbeat response message received in the beginning and ending time is obtained, selected response message is obtained;
Delay and sequence of message number are obtained from the selected response message;
Packet loss is determined according to the sequence of message number in the selected message;
It combines the Delay and the packet loss obtains the packet loss information in the beginning and ending time.
Optionally, further include:
Form module, the roaming track for forming the terminal according to the roaming event of the terminal;
Display module, the roaming track for showing the terminal.
The present invention has the beneficial effect that:
The embodiment of the present invention provides a kind of roaming detection method and device of terminal, by monitoring the terminal connection After first BSSID of WLAN is changed to the 2nd BSSID, the corresponding first AP information of the first BSSID and institute are obtained State the corresponding 2nd AP information of the 2nd BSSID;Determine that the terminal is according to the first AP information and the 2nd AP information It is no to roam;If it is determined that the terminal roams, it is determined that the beginning and ending time and switching time that the terminal roaming occurs, And determine the first signal strength values before the terminal roaming and the second signal intensity value after roaming;When determining the start-stop Interior packet loss information;According to the first AP information, the 2nd AP information, first signal strength values, described second Signal strength values, the beginning and ending time, the switching time and the packet loss information generate the roaming event of the terminal.The party In case, the roaming that terminal may be implemented detects automatically, and generates roaming event, is not necessarily to the participation of professional technician, so as to Effectively to simplify the process of roaming detection, reduces and check and accept cost and maintenance cost.
Description of the drawings
Fig. 1 is a kind of flow chart of the roaming detection method of terminal in the embodiment of the present invention;
A kind of structural schematic diagram of the roaming detection device of terminal in Fig. 2 embodiment of the present invention.
Specific implementation mode
In order to realize the process for effectively simplifying roaming detection, reduces and check and accept cost and maintenance cost, the embodiment of the present invention A kind of roaming detection method of terminal is provided, using in the terminal, the flow of this method is as shown in Figure 1, execute that steps are as follows:
S11:Monitor the first basic service set identifier (Basic Service of the WLAN of terminal connection Set Identifier, BSSID) be changed to the 2nd BSSID after, obtain the corresponding first AP information of the first BSSID and second The corresponding 2nd AP information of BSSID.
Currently, terminal is insensitive for roaming event, roaming does not influence terminal and normally accesses network, to It is also transparent for family, also monitors interface to application developer without providing roaming event.Therefore, in order in terminal Identify roaming event, just the BSSID of the WLAN of necessary real-time monitoring terminal connection, can provide a buffering area and use To record the result of real time monitoring.
Since terminal can not get the name information of the AP currently connected, can only be distinguished by BSSID.But actually Different AP cannot be distinguished in BSSID, because the different frequency range signal of the same AP can be indicated using different BSSID.Such as The 2.4G signals of the same AP and the BSSID of 5G signals are different, and a terminal is switched to 5G signals from 2.4G signals, although The BSSID shown in terminal is different, and that actually it is connected is the same AP.
Therefore, monitor terminal connection WLAN the first BSSID be changed to the 2nd BSSID after, obtain first The corresponding AP information of BSSID and the corresponding AP information of the 2nd BSSID, the corresponding AP information of the first BSSID are defined as the first AP letters Breath, the corresponding AP information of the 2nd BSSID are defined as the 2nd AP information.
S12:Determine whether terminal roams according to the first AP information and the 2nd AP information.
Monitor terminal connection WLAN the first BSSID be changed to the 2nd BSSID after, cannot directly determine end End roams, but to be further determined according to the first AP information and the 2nd AP information.
S13:If it is determined that terminal roams, it is determined that the beginning and ending time and switching time that terminal roaming occurs, and really Determine the first signal strength values before terminal roaming and the second signal intensity value after roaming.
When receiving signal, meeting tracer signal intensity value can get the signal strength before terminal roaming and overflow terminal Signal strength after trip, wherein the signal strength before terminal roaming is defined as the first signal strength, and the signal after terminal roaming is strong Degree is defined as second signal intensity.
S14:Determine the packet loss information in the beginning and ending time.
Terminal is during roaming, that is, from during an AP is switched to another AP, it may occur that packet loss, because This, it is thus necessary to determine that the packet loss information within the terminal roaming beginning and ending time.
S15:According to the first AP information, the 2nd AP information, the first signal strength values, second signal intensity value, the beginning and ending time, Switching time and packet loss information generate the roaming event of terminal.
The first AP information, the 2nd AP information, the first signal strength values, the second signal intensity got through the above steps Value, beginning and ending time, switching time and packet loss information, so that it may to generate the roaming event of terminal.
In the program, the roaming that terminal may be implemented detects automatically, and generates roaming event, without professional technician's It participates in, so as to effectively simplify the process of roaming detection, reduces and check and accept cost and maintenance cost.
Specifically, obtaining the corresponding first AP information of the first BSSID and corresponding 2nd AP of the 2nd BSSID in above-mentioned S11 Information specifically includes:Wireless controller (Access Controller, the AC) communication link for the WLAN being connect with terminal It connects;First BSSID and the 2nd BSSID are sent to AC, so that AC obtains the corresponding first AP information of the first BSSID and second It is sent to terminal after the corresponding 2nd AP information of BSSID;Receive the first AP information and the 2nd AP information that AC is sent.
Since the AP information of each AP can be preserved on AC, terminal can obtain the corresponding AP of BSSID with AC communications Information, wherein terminal can be, but not limited to communicate to connect by telnet modes and AC.
If specifically, the first AP information includes the first name information and the first IP address of the first AP, the 2nd AP packets The second name information and the second IP address for including the 2nd AP, then determine whether terminal is sent out according to the first AP information and the 2nd AP information Raw roaming, specifically includes:It determines whether the first name information is identical as the second name information, and determines the first IP address and the Whether two IP address are identical;If it is determined that the first name information is different from the second name information and the first IP address with the 2nd IP Location is different, it is determined that terminal roams.
Each AP has name information and IP address on AC, can accurately determine one according to name information and IP address Therefore a AP can determine whether terminal roams according to whether the name information of AP and IP address are identical.
Specifically, determining beginning and ending time and switching time that terminal roaming occurs, specifically include:By the media interviews of terminal Control the address (Media Access Control, MAC) be sent to AC so that AC obtain terminal roaming occur beginning and ending time and Terminal is sent to after switching time;Receive beginning and ending time and switching time that AC is sent.
This important indicator of the beginning and ending time and switching time of terminal roaming is also that can not get in terminal itself, root It is obtained from AC according to the MAC Address of terminal.
Optionally, terminal can be with:Periodic broadcasting heartbeat detection message;And receive heartbeat response message.
Heartbeat detection message can be ping orders, after AP receives heartbeat detection message, can reply heartbeat response report Text is received by terminal.
Correspondingly, the packet loss information in the beginning and ending time is determined in above-mentioned S14, is specifically included:It obtains in the beginning and ending time and receives The heartbeat response message arrived obtains selected response message;Delay and sequence of message number are obtained from selected response message;Root Packet loss is determined according to the sequence of message number in selected message;Combination Delay and packet loss obtain the letter of the packet loss in the beginning and ending time Breath.
When determining packet loss information of the terminal within the beginning and ending time, it is necessary first to obtain the heartbeat received in the beginning and ending time Response message, these messages are just needed message, can be defined as selected response message.Heartbeat response report is exemplified below The main contents that text includes.
For example, the heartbeat response message main contents that terminal receives are as follows:
64bytes from 192.168.0.1(192.168.0.1):Icmp_seq=1ttl=50time=177ms;
64bytes from 192.168.0.1(192.168.0.1):Icmp_seq=3ttl=50time=156ms.
As it can be seen that can be with time delay information and sequence of message number, therefore in heartbeat response message, terminal can therefrom directly Delay is got, but packet loss cannot be directly obtained, due to carrying sequence of message number in heartbeat response message, Packet loss can be calculated according to sequence of message, wherein sequence of message number can use the icmp_ in above-mentioned heartbeat response message Seq fields indicate.
Optionally, further include:The roaming track of terminal is formed according to the roaming event of terminal;The roaming rail of display terminal Mark.Roaming time can also be formed roaming track by terminal, be presented to the user or professional technique with more visual formed Personnel carry out analysis use.
Based on same inventive concept, the embodiment of the present invention provides a kind of roaming detection device of terminal, using in the terminal In, the structure of the device is as shown in Fig. 2, include:
Acquisition module 21 is changed to the 2nd BSSID for monitoring the first BSSID of WLAN of terminal connection Afterwards, the corresponding first AP information of the first BSSID and the corresponding 2nd AP information of the 2nd BSSID are obtained;
First determining module 22, for determining whether terminal roams according to the first AP information and the 2nd AP information;
Second determining module 23, for if it is determined that terminal roams, it is determined that terminal roaming occur beginning and ending time and Switching time, and determine the first signal strength values before terminal roaming and the second signal intensity value after roaming;
Third determining module 24, for determining the packet loss information in the beginning and ending time;
Generation module 25, for according to the first AP information, the 2nd AP information, the first signal strength values, second signal intensity Value, beginning and ending time, switching time and packet loss information generate the roaming event of terminal.
In the program, the roaming that terminal may be implemented detects automatically, and generates roaming event, without professional technician's It participates in, so as to effectively simplify the process of roaming detection, reduces and check and accept cost and maintenance cost.
Specifically, acquisition module 21, is specifically used for:
The wireless controller AC communication connections for the WLAN being connect with terminal;
First BSSID and the 2nd BSSID are sent to AC so that AC obtain the corresponding first AP information of the first BSSID and It is sent to terminal after the corresponding 2nd AP information of 2nd BSSID;
Receive the first AP information and the 2nd AP information that AC is sent.
If specifically, the first AP information includes the first name information and the first IP address of the first AP, the 2nd AP packets The second name information and the second IP address of the 2nd AP are included, then the first determining module 22, is specifically used for:
It determines whether the first name information is identical as the second name information, and determines the first IP address and the second IP address It is whether identical;
If it is determined that the first name information is different from the second name information and the first IP address is different with the second IP address, then Determine that terminal roams.
Specifically, the second determining module 23, is specifically used for:
The MAC Address of terminal is sent to AC, so that after AC obtains the beginning and ending time and switching time that terminal roaming occurs It is sent to terminal;
Receive beginning and ending time and switching time that AC is sent.
Optionally, further include broadcast module and receiving module, wherein:
Broadcast module is used for periodic broadcasting heartbeat detection message;
Receiving module, for receiving heartbeat response message;
Third determining module 24, is specifically used for:
The heartbeat response message received in the beginning and ending time is obtained, selected response message is obtained;
Delay and sequence of message number are obtained from selected response message;
Packet loss is determined according to the sequence of message number in selected message;
Combination Delay and packet loss obtain the packet loss information in the beginning and ending time.
Optionally, further include:
Module is formed, the roaming track for forming terminal according to the roaming event of terminal;
Display module is used for the roaming track of display terminal.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the alternative embodiment of the present invention has been described, created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as include can It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out the embodiment of the present invention various modification and variations without departing from this hair The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of roaming detection method of terminal, is applied in the terminal, which is characterized in that the method includes:
The the first basic service set identifier BSSID for monitoring the WLAN of the terminal connection is changed to the 2nd BSSID Afterwards, the corresponding first wireless access point AP information of the first BSSID and the corresponding 2nd AP letters of the 2nd BSSID are obtained Breath;
Determine whether the terminal roams according to the first AP information and the 2nd AP information;
If it is determined that the terminal roams, it is determined that the beginning and ending time and switching time that the terminal roaming occurs, and really The second signal intensity value after the first signal strength values and roaming before the fixed terminal roaming;
Determine the packet loss information in the beginning and ending time;
According to the first AP information, the 2nd AP information, first signal strength values, the second signal intensity value, The beginning and ending time, the switching time and the packet loss information generate the roaming event of the terminal.
2. the method as described in claim 1, which is characterized in that obtain the corresponding first AP information of the first BSSID and institute The corresponding 2nd AP information of the 2nd BSSID is stated, is specifically included:
The wireless controller AC communication connections for the WLAN being connect with the terminal;
First BSSID and the 2nd BSSID are sent to the AC, so that BSSID pairs of AC acquisitions the described first It is sent to the terminal after the first AP information and the corresponding 2nd AP information of the 2nd BSSID answered;
Receive the first AP information and the 2nd AP information that the AC is sent.
3. method as claimed in claim 2, which is characterized in that if the first AP information includes the first place of the first AP It includes the second name information and second of the 2nd AP to claim information and the first internet protocol address, the 2nd AP information IP address then determines whether the terminal roams according to the first AP information and the 2nd AP information, specifically includes:
It determines whether first name information and second name information are identical, and determines first IP address and institute Whether identical state the second IP address;
If it is determined that first name information is different from second name information and first IP address and the 2nd IP Address is different, it is determined that the terminal roams.
4. method as claimed in claim 2, which is characterized in that when determining the beginning and ending time and switching that the terminal roaming occurs Between, it specifically includes:
The MAC address of the terminal is sent to the AC, so that the AC obtains the terminal roaming hair It is sent to the terminal after the raw beginning and ending time and switching time;
Receive the beginning and ending time and the switching time that the AC is sent.
5. the method as described in claim 1, which is characterized in that further include:Periodic broadcasting heartbeat detection message;And it receives To heartbeat response message;
It determines the packet loss information in the beginning and ending time, specifically includes:
The heartbeat response message received in the beginning and ending time is obtained, selected response message is obtained;
Delay and sequence of message number are obtained from the selected response message;
Packet loss is determined according to the sequence of message number in the selected message;
It combines the Delay and the packet loss obtains the packet loss information in the beginning and ending time.
6. method according to any one of claims 1 to 5, which is characterized in that further include:
The roaming track of the terminal is formed according to the roaming event of the terminal;
Show the roaming track of the terminal.
7. a kind of roaming detection device of terminal, is applied in the terminal, which is characterized in that described device includes:
Acquisition module, for monitoring the first basic service set identifier BSSID of the WLAN that the terminal connects more After being changed to the 2nd BSSID, the corresponding first wireless access point AP information of the first BSSID and the described 2nd BSSID pairs are obtained The 2nd AP information answered;
First determining module, for determining whether the terminal overflows according to the first AP information and the 2nd AP information Trip;
Second determining module, for if it is determined that the terminal roams, it is determined that the beginning and ending time that the terminal roaming occurs And switching time, and determine the first signal strength values before the terminal roaming and the second signal intensity value after roaming;
Third determining module, for determining the packet loss information in the beginning and ending time;
Generation module, for according to the first AP information, the 2nd AP information, first signal strength values, described the Binary signal intensity value, the beginning and ending time, the switching time and the packet loss information generate the roaming event of the terminal.
8. device as claimed in claim 7, which is characterized in that the acquisition module is specifically used for:
The wireless controller AC communication connections for the WLAN being connect with the terminal;
First BSSID and the 2nd BSSID are sent to the AC, so that BSSID pairs of AC acquisitions the described first It is sent to the terminal after the first AP information and the corresponding 2nd AP information of the 2nd BSSID answered;
Receive the first AP information and the 2nd AP information that the AC is sent.
9. device as claimed in claim 8, which is characterized in that if the first AP information includes the first place of the first AP It includes the second name information and second of the 2nd AP to claim information and the first internet protocol address, the 2nd AP information IP address, then first determining module, is specifically used for:
It determines whether first name information and second name information are identical, and determines first IP address and institute Whether identical state the second IP address;
If it is determined that first name information is different from second name information and first IP address and the 2nd IP Address is different, it is determined that the terminal roams.
10. device as claimed in claim 8, which is characterized in that second determining module is specifically used for:
The MAC address of the terminal is sent to the AC, so that the AC obtains the terminal roaming hair It is sent to the terminal after the raw beginning and ending time and switching time;
Receive the beginning and ending time and the switching time that the AC is sent.
11. device as claimed in claim 7, which is characterized in that further include broadcast module and receiving module, wherein:
The broadcast module is used for periodic broadcasting heartbeat detection message;
The receiving module, for receiving heartbeat response message;
The third determining module, is specifically used for:
The heartbeat response message received in the beginning and ending time is obtained, selected response message is obtained;
Delay and sequence of message number are obtained from the selected response message;
Packet loss is determined according to the sequence of message number in the selected message;
It combines the Delay and the packet loss obtains the packet loss information in the beginning and ending time.
12. the device as described in claim 7-11 is any, which is characterized in that further include:
Form module, the roaming track for forming the terminal according to the roaming event of the terminal;
Display module, the roaming track for showing the terminal.
CN201810486175.6A 2018-05-21 2018-05-21 Terminal roaming detection method and device Active CN108738053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810486175.6A CN108738053B (en) 2018-05-21 2018-05-21 Terminal roaming detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810486175.6A CN108738053B (en) 2018-05-21 2018-05-21 Terminal roaming detection method and device

Publications (2)

Publication Number Publication Date
CN108738053A true CN108738053A (en) 2018-11-02
CN108738053B CN108738053B (en) 2021-09-14

Family

ID=63937648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810486175.6A Active CN108738053B (en) 2018-05-21 2018-05-21 Terminal roaming detection method and device

Country Status (1)

Country Link
CN (1) CN108738053B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596864A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Terminal roaming guiding method, device, equipment and computer readable storage medium
CN116887248A (en) * 2023-09-06 2023-10-13 新华三技术有限公司 Roaming control method, roaming control device, AC and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448099A (en) * 2012-01-18 2012-05-09 北京傲天动联技术有限公司 Method and device for quickly detecting and switching during roaming of wireless terminal
CN103686890A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Method and system for realizing wireless terminal roaming switch in wireless local area network
WO2015165006A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Handover processing method and apparatus
CN105072605A (en) * 2015-08-18 2015-11-18 北京星网锐捷网络技术有限公司 Terminal roaming method in independent AP (Access Point) mode and AP
WO2017101070A1 (en) * 2015-12-17 2017-06-22 Intel Corporation Fast moving scenario access point switching
CN107295559A (en) * 2017-08-17 2017-10-24 迈普通信技术股份有限公司 Terminal roaming management method and access control equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448099A (en) * 2012-01-18 2012-05-09 北京傲天动联技术有限公司 Method and device for quickly detecting and switching during roaming of wireless terminal
CN103686890A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Method and system for realizing wireless terminal roaming switch in wireless local area network
WO2015165006A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Handover processing method and apparatus
CN105072605A (en) * 2015-08-18 2015-11-18 北京星网锐捷网络技术有限公司 Terminal roaming method in independent AP (Access Point) mode and AP
WO2017101070A1 (en) * 2015-12-17 2017-06-22 Intel Corporation Fast moving scenario access point switching
CN107295559A (en) * 2017-08-17 2017-10-24 迈普通信技术股份有限公司 Terminal roaming management method and access control equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596864A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Terminal roaming guiding method, device, equipment and computer readable storage medium
CN113596864B (en) * 2020-04-30 2023-08-22 华为技术有限公司 Terminal roaming guide method, device, equipment and computer readable storage medium
CN116887248A (en) * 2023-09-06 2023-10-13 新华三技术有限公司 Roaming control method, roaming control device, AC and storage medium
CN116887248B (en) * 2023-09-06 2023-12-22 新华三技术有限公司 Roaming control method, roaming control device, AC and storage medium

Also Published As

Publication number Publication date
CN108738053B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
EP3843333B1 (en) Communication method and apparatus
CN103945443B (en) A kind of TD-LTE wireless network traffic performance test methods and system
US7835704B2 (en) Method for generating test signal for testing accuracy of carrier to interference plus noise ratio measurement of subscriber station through base station emulator
US9246698B2 (en) Apparatus, and associated method, for facilitating a radio resource measurement in a radio communication system
CN102461260B (en) The method and apparatus of management mobile handoff
CN112468338A (en) Communication method, device and system
CN106162714A (en) A kind of calling information processing method and processing device
Shayea et al. Performance analysis of mobile broadband networks with 5g trends and beyond: Urban areas scope in malaysia
CN107969026A (en) The wireless method and wireless controller AC for throwing screen is realized in a wireless local area network
CN106465328A (en) Method and system for estimating the geographical distance or for estimating a range of the geographical distance between at least two user equipments, mobile communication network, user equipment, program and computer program product
CN105407477A (en) Parameter configuration method and terminal for terminal
US20200358653A1 (en) Method, apparatus and system for changing a network based on received network information
CN108738053A (en) The roaming detection method and device of terminal
CN103916898B (en) A kind of method, apparatus and system of the leakage of automatic detection indoor signal
US20210385646A1 (en) End to end troubleshooting of mobility services
CN109952806A (en) The determination method, apparatus and storage medium of SR configuration
CN104869644B (en) A kind of data transmission method and equipment
CN105009625A (en) Service testing method, device and system, network node and quality processing node
CN111586602B (en) Policy management method and device
CN108668317A (en) A kind of Modulation and Coding Scheme MCS processing methods, device and base station based on switching
CN103702353B (en) Fault Locating Method and system, and access point and Network Management Equipment
CN114363879B (en) Roaming processing method and system for wireless terminal
CN111669796A (en) Network redirection method, terminal, access network equipment and mobile management equipment
CN109714722B (en) Management method and device of indoor antenna, electronic equipment and storage medium
CN108156607A (en) Frequency priority information processing method and system and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant