CN109362091A - AP diagnostic method and device based on ad hoc network - Google Patents
AP diagnostic method and device based on ad hoc network Download PDFInfo
- Publication number
- CN109362091A CN109362091A CN201811452879.8A CN201811452879A CN109362091A CN 109362091 A CN109362091 A CN 109362091A CN 201811452879 A CN201811452879 A CN 201811452879A CN 109362091 A CN109362091 A CN 109362091A
- Authority
- CN
- China
- Prior art keywords
- hoc network
- network
- mac address
- ssid
- sub
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Abstract
The invention discloses a kind of AP diagnostic method and device based on ad hoc network, this method comprises: detecting the network state of itself;If the network state of itself is exception, it is detached from the ad hoc network, establishes the first sub- ad hoc network;Discharge the first service set identifier SSID of the first MAC address and network state corresponding with the described first sub- ad hoc network and that carry itself, so as to determine that the network state of the corresponding AP of first MAC Address is abnormal according to the network state and first MAC Address that include in the first SSID after terminal scans the first SSID.In the program, since terminal is without carrying out the corresponding WLAN of authentication connection SSID, as long as scanning diagnoses AP to SSID, to reduce AP diagnosis time-consuming, diagnosis efficiency is improved.
Description
Technical field
The present invention relates to field of communication technology, it is espespecially a kind of based on ad hoc network wireless access point (Access Point,
AP) diagnostic method and device.
Background technique
With the rapid development of WLAN (Wireless Local Area Networks, WLAN), mentioned for terminal
It is widely used for the AP of wireless traffic.Service set (Service Set Identifier, SSID) technology can be by one
A WLAN points are several sub-networks for needing different identity to verify, each sub-network requires independent authentication, only
Corresponding sub-network can just be entered by the user of authentication, to prevent unauthorized user from entering present networks.
Existing AP diagnostic mode is the diagnosis based on separate unit AP, after the SSID that terminal scanning is discharged to AP, need into
Row authentication, the corresponding WLAN of SSID is connected after being verified can just get the status information of AP.
In the above method, the state letter of AP can be just got due to needing to connect the corresponding WLAN of SSID by authentication
Breath, when diagnosing other AP, it is also necessary to which then carry out authentication again connects new WLAN to the WLAN connected before disconnecting, works as AP
When quantity is more, need to execute aforesaid operations repeatedly, AP diagnosis is time-consuming very long, and efficiency is very low.
Summary of the invention
The embodiment of the present invention provides a kind of AP diagnostic method and device based on ad hoc network, deposits in the prior art to solve
AP diagnose time-consuming very long, the low-down problem of efficiency.
According to embodiments of the present invention, a kind of AP diagnostic method based on ad hoc network is provided, applies and includes in the ad hoc network
AP in, which comprises
Detect the network state of itself;
If the network state of itself is exception, it is detached from the ad hoc network, establishes the first sub- ad hoc network;
Discharge the first MAC address and network corresponding with the described first sub- ad hoc network and that carry itself
The first service set identifier SSID of state, so as to include according in the first SSID after terminal scans the first SSID
The network state and first MAC Address determine that the network state of the corresponding AP of first MAC Address is abnormal.
Optionally, further includes:
If the network state of itself is normal, it is determined that the role in the ad hoc network;
If the role in the ad hoc network is to receive the ad hoc network that the main AP in the ad hoc network is sent from AP
In main AP the second MAC Address;
Discharge the 2nd SSID that is corresponding with the ad hoc network and carrying second MAC Address and the network state of itself.
Optionally, further includes:
Periodically determine whether the main AP in the ad hoc network is in place;
If it is determined that the main AP in the ad hoc network is not in place, then the second son is re-established with other AP in the ad hoc network
Ad hoc network;
Determine the role in the described second sub- ad hoc network;
If the role in the described second sub- ad hoc network is from AP, the main AP received in the described second sub- ad hoc network is sent
The described second sub- ad hoc network in main AP third MAC Address, discharge it is corresponding with the described second sub- ad hoc network and carrying described in
3rd SSID of third MAC Address and the network state of itself;
If the role in the described second sub- ad hoc network is main AP, first MAC Address is synchronized to described second
Slave AP in sub- ad hoc network discharges corresponding with the described second sub- ad hoc network and carries first MAC Address and the network of itself
The 3rd SSID of state.
Optionally, further includes:
If the role in the ad hoc network is main AP, first MAC Address is synchronized in the ad hoc network
From AP;
And discharge and carrying first MAC Address corresponding with the ad hoc network and described the of the network state of itself
Two SSID.
According to embodiments of the present invention, a kind of AP diagnostic method based on ad hoc network is also provided, using in the terminal, the side
Method includes:
Scan the SSID of each wireless access point AP release in current environment;
Parse the network state for including in each SSID scanned and MAC Address;
Determine that network state be the network state of the corresponding AP of abnormal MAC Address is abnormal.
According to embodiments of the present invention, a kind of AP diagnostic device based on ad hoc network is also provided, is applied in the ad hoc network packet
In the AP included, described device includes:
Detection module, for detecting itself network state;
Module is established, if the network state for itself is exception, is detached from the ad hoc network, establishes the first son from group
Net;
Release module, for discharging the first media access control that is corresponding with the described first sub- ad hoc network and carrying itself
The first service set identifier SSID of MAC Address and network state, so that after terminal scans the first SSID, according to described first
The network state and first MAC Address for including in SSID determine that the corresponding AP's of first MAC Address is network-like
State is abnormal.
It optionally, further include determining module and receiving module, in which:
The determining module, if the network state for itself is normal, it is determined that the role in the ad hoc network;
The receiving module, if being to receive the master in the ad hoc network from AP for the role in the ad hoc network
The second MAC Address for the main AP in the ad hoc network that AP is sent;
The release module, be also used to discharge and carrying second MAC Address corresponding with the ad hoc network and itself
2nd SSID of network state.
Optionally, further includes:
The determining module is also used to periodically determine whether the main AP in the ad hoc network is in place;
It is described to establish module, it is also used to if it is determined that the main AP in the ad hoc network is not in place, then and in the ad hoc network
Other AP re-establish the second sub- ad hoc network;
The determining module is also used to the role determined in the described second sub- ad hoc network;
The release module, if the role being also used in the described second sub- ad hoc network is to receive described second from AP
The third MAC Address for the main AP in the described second sub- ad hoc network that main AP in sub- ad hoc network is sent, release and second son
Ad hoc network is corresponding and carries the 3rd SSID of the third MAC Address and the network state of itself;If sub from group described second
Role in net is main AP, then first MAC Address is synchronized to the slave AP in the described second sub- ad hoc network, release with it is described
Second sub- ad hoc network is corresponding and carries the 3rd SSID of first MAC Address and the network state of itself.
It optionally, further include synchronization module, in which:
The synchronization module, it is if being main AP for the role in the ad hoc network, first MAC Address is synchronous
To the slave AP in the ad hoc network;
The release module, be also used to discharge and carrying first MAC Address corresponding with the ad hoc network and itself
The 2nd SSID of network state.
According to embodiments of the present invention, a kind of AP diagnostic device based on ad hoc network is also provided, using in the terminal, the dress
It sets and includes:
Scan module, for scanning the SSID of the release of each wireless access point AP in current environment;
Parsing module, for parsing the network state for including in each SSID scanned and MAC Address;
Determining module, for determining that network state be the network state of the corresponding AP of abnormal MAC Address is abnormal.
The present invention has the beneficial effect that:
A kind of AP diagnostic method and device based on ad hoc network provided in an embodiment of the present invention, by detecting itself network
State;If the network state of itself is exception, it is detached from the ad hoc network, establishes the first sub- ad hoc network;Release and described first
Sub- ad hoc network it is corresponding and carry itself the first MAC address and network state first service set identifier
SSID, so that after terminal scans the first SSID, according to the network state that includes in the first SSID and described the
One MAC Address determines that the network state of the corresponding AP of first MAC Address is abnormal.In the program, the AP of ad hoc network is certainly
After the network state exception of body, original ad hoc network can be detached and establish new ad hoc network, then release carries the MAC of itself
The SSID of address and network state, after the SSID is arrived in terminal scanning, so that it may according to the network state and MAC carried in SSID
Address is diagnosed to be the network state of the AP to be abnormal, since terminal is without carrying out the corresponding WLAN of authentication connection SSID, only
AP can be diagnosed by scanning SSID, to reduce AP diagnosis time-consuming, improve diagnosis efficiency.
Detailed description of the invention
Fig. 1 is a kind of using AP as the process of the AP diagnostic method based on ad hoc network of executing subject in the embodiment of the present invention
Figure;
Fig. 2 is a kind of using terminal as the process of the AP diagnostic method based on ad hoc network of executing subject in the embodiment of the present invention
Figure;
Fig. 3 is a kind of structural schematic diagram of the AP diagnostic device based on ad hoc network corresponding with Fig. 1 in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the AP diagnostic device based on ad hoc network corresponding with Fig. 2 in the embodiment of the present invention.
Specific embodiment
Time-consuming very long, the low-down problem of efficiency is diagnosed for AP existing in the prior art, the embodiment of the present invention provides
A kind of AP diagnostic method based on ad hoc network, is applied in the AP that ad hoc network includes, these AP are commonly connected to be exchanged at one
On machine, so as to realize that ad hoc network, the process of ad hoc network are not the emphasis of the embodiment of the present invention, detailed Jie is not here
It continues.The process of this method is as shown in Figure 1, execute that steps are as follows:
S11: the network state of itself is detected.
The network state of AP itself can be, but not limited to include following items: whether networking normal, whether available IP
Address, whether connect first line of a couplet gateway, wide area network (Wide Area Network, WAN) mouth whether connection cables etc., then root
Whether normally it is assured that the network state of itself is normal or abnormal according to these projects.
S12: if the network state of itself is exception, it is detached from ad hoc network, establishes the first sub- ad hoc network.
Since the network state of AP is abnormal, therefore can not be directly detached from originally with the AP normal communication of ad hoc network before
Ad hoc network establishes new ad hoc network, can be defined as the first sub- ad hoc network.
S13: the first media access control (Media Access that is corresponding with the first sub- ad hoc network and carrying itself is discharged
Control Address, MAC) address and network state the first SSID so that terminal scan the first SSID after, according to first
The network state and the first MAC Address for including in SSID determine that the network state of the corresponding AP of the first MAC Address is abnormal.
In the program, the AP of ad hoc network can detach original ad hoc network and establish after the network state exception of itself
Then new ad hoc network discharges the SSID of the MAC Address and network state that carry itself, after the SSID is arrived in terminal scanning, just
The network state of the AP can be diagnosed to be according to the network state and MAC Address carried in SSID to be abnormal, since terminal is not necessarily to
The corresponding WLAN of authentication connection SSID is carried out, as long as scanning diagnoses AP to SSID, to reduce AP
Diagnosis is time-consuming, improves diagnosis efficiency.
Optionally, the above method further include:
If the network state of itself is normal, it is determined that the role in ad hoc network;
If role in ad hoc network is to receive the of the main AP in the ad hoc network that the main AP in ad hoc network is sent from AP
Two MAC Address;
Discharge the 2nd SSID that is corresponding with ad hoc network and carrying the second MAC Address and the network state of itself.
When the network state of AP is normal, SSID can also be discharged, which can be defined as the 2nd SSID, specifically may be used
To further determine that the role in ad hoc network, if role in ad hoc network be from AP, can discharge it is corresponding with ad hoc network and
Carry the second MAC Address of the main AP in ad hoc network and the 2nd SSID of the network state of itself.
Correspondingly, the role in ad hoc network is from AP, the above method further include:
Periodically determine whether the main AP in ad hoc network is in place;
If it is determined that the main AP in ad hoc network is not in place, then the second sub- ad hoc network is re-established with other AP in ad hoc network;
Determine the role in the second sub- ad hoc network;
If the role in the second sub- ad hoc network is to receive the second son that the main AP in the second sub- ad hoc network is sent from AP
The third MAC Address of main AP in ad hoc network, discharge it is corresponding with the second sub- ad hoc network and carrying third MAC Address and itself
3rd SSID of network state;
If the role in the second sub- ad hoc network is main AP, the first MAC Address is synchronized in the second sub- ad hoc network
From AP, the 3rd SSID that is corresponding with the second sub- ad hoc network and carrying the first MAC Address and the network state of itself is discharged.
It, can also be in determining ad hoc network when the network state of AP is normal and role in ad hoc network is from AP
When main AP is not in place, new ad hoc network is established with other AP in ad hoc network again, new ad hoc network can be defined as the second son
Then ad hoc network executes corresponding operation according to the role in the second sub- ad hoc network again.
Optionally, the above method further include:
If the role in ad hoc network is main AP, the slave AP the first MAC Address being synchronized in ad hoc network;
And discharge the 2nd SSID that is corresponding with ad hoc network and carrying the first MAC Address and the network state of itself.
When the network state of AP is normal, SSID can also be discharged, which can be defined as the 2nd SSID, specific mistake
Cheng Wei may further determine that the role in ad hoc network, can be by itself first if the role in ad hoc network is main AP
MAC Address is synchronized to the slave AP in ad hoc network, then discharges corresponding with ad hoc network and carries the first MAC Address and the net of itself
2nd SSID of network state.
Come it can be seen, as main AP in ad hoc network with the SSID discharged from AP is, due in ad hoc network
Main AP and network state from AP be all normal, be all the main AP in ad hoc network so the information carried is also the same
MAC Address and network state are normal information.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of AP diagnostic method based on ad hoc network, applies
In terminal, the process of this method is as shown in Fig. 2, specifically execution step includes:
S21: the SSID of each AP release in scanning current environment.
S22: the network state and MAC Address for including in each SSID that parsing scans.
When terminal scans, many SSID may be scanned, for each SSID, can be carried out parsing, obtained
Including network state and MAC Address.
S23: determine that network state be the network state of the corresponding AP of abnormal MAC Address is abnormal.
The network of the corresponding AP of MAC Address carried in SSID can be directly determined according to the network state carried in SSID
State.
In the program, the AP of ad hoc network can detach original ad hoc network and establish after the network state exception of itself
Then new ad hoc network discharges the SSID of the MAC Address and network state that carry itself, after the SSID is arrived in terminal scanning, just
The network state of the AP can be diagnosed to be according to the network state and MAC Address carried in SSID to be abnormal, since terminal is not necessarily to
The corresponding WLAN of authentication connection SSID is carried out, as long as scanning diagnoses AP to SSID, to reduce AP
Diagnosis is time-consuming, improves diagnosis efficiency.
Based on the same inventive concept, the embodiment of the present invention provides a kind of AP diagnostic device based on ad hoc network, and shown in Fig. 1
Method it is corresponding, apply in the AP that ad hoc network includes, the structure of the device is as shown in Figure 3, comprising:
Detection module 31, for detecting itself network state;
Module 32 is established, if the network state for itself is exception, ad hoc network is detached from, establishes the first sub- ad hoc network;
Release module 33, for discharging the first MAC Address that is corresponding with the first sub- ad hoc network and carrying itself and network-like
First SSID of state, so that after terminal scans the first SSID, according to the network state and the first MAC Address for including in the first SSID
Determine that the network state of the corresponding AP of the first MAC Address is abnormal.
In the program, the AP of ad hoc network can detach original ad hoc network and establish after the network state exception of itself
Then new ad hoc network discharges the SSID of the MAC Address and network state that carry itself, after the SSID is arrived in terminal scanning, just
The network state of the AP can be diagnosed to be according to the network state and MAC Address carried in SSID to be abnormal, since terminal is not necessarily to
The corresponding WLAN of authentication connection SSID is carried out, as long as scanning diagnoses AP to SSID, to reduce AP
Diagnosis is time-consuming, improves diagnosis efficiency.
It optionally, further include determining module and receiving module, in which:
Determining module, if the network state for itself is normal, it is determined that the role in ad hoc network;
Receiving module, if for the role in ad hoc network be from AP, receive that main AP in ad hoc network sends from group
The second MAC Address of main AP in net;
Release module is also used to discharge corresponding with ad hoc network and the second MAC Address of carrying and the network state of itself the
Two SSID.
Optionally, further includes:
Determining module is also used to periodically determine whether the main AP in ad hoc network is in place;
Module is established, is also used to then build again with other AP in ad hoc network if it is determined that the main AP in ad hoc network is not in place
Vertical second sub- ad hoc network;
Determining module is also used to the role determined in the second sub- ad hoc network;
Release module, if the role being also used in the second sub- ad hoc network is to receive in the second sub- ad hoc network from AP
The third MAC Address for the main AP in the second sub- ad hoc network that main AP is sent discharges corresponding with the second sub- ad hoc network and carries third
3rd SSID of MAC Address and the network state of itself;If the role in the second sub- ad hoc network is main AP, by the first MAC
Address synchronization discharges corresponding with the second sub- ad hoc network and carries the first MAC Address and itself to the slave AP in the second sub- ad hoc network
Network state the 3rd SSID.
It optionally, further include synchronization module, in which:
First MAC Address is synchronized in ad hoc network by synchronization module if being main AP for the role in ad hoc network
From AP;
Release module is also used to discharge corresponding with ad hoc network and the first MAC Address of carrying and the network state of itself the
Two SSID.
Based on the same inventive concept, the embodiment of the present invention provides a kind of AP diagnostic device based on ad hoc network, and shown in Fig. 2
Method it is corresponding, can be using in the terminal, the structure of the device is as shown in Figure 4, comprising:
Scan module 41, for scanning the SSID of the release of each AP in current environment;
Parsing module 42, for parsing the network state for including in each SSID scanned and MAC Address;
Determining module 43, for determining that network state be the network state of the corresponding AP of abnormal MAC Address is abnormal.
In the program, the AP of ad hoc network can detach original ad hoc network and establish after the network state exception of itself
Then new ad hoc network discharges the SSID of the MAC Address and network state that carry itself, after the SSID is arrived in terminal scanning, just
The network state of the AP can be diagnosed to be according to the network state and MAC Address carried in SSID to be abnormal, since terminal is not necessarily to
The corresponding WLAN of authentication connection SSID is carried out, as long as scanning diagnoses AP to SSID, to reduce AP
Diagnosis is time-consuming, improves diagnosis efficiency.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or 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 counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although alternative embodiment of the 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 various modification and variations without departing from this hair to the embodiment of the present invention
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 (10)
1. a kind of wireless access point AP diagnostic method based on ad hoc network, is applied in the AP that the ad hoc network includes, feature
It is, which comprises
Detect the network state of itself;
If the network state of itself is exception, it is detached from the ad hoc network, establishes the first sub- ad hoc network;
Discharge the first MAC address and network state corresponding with the described first sub- ad hoc network and that carry itself
First service set identifier SSID so that after terminal scans the first SSID, according to including in the first SSID
Network state and first MAC Address determine that the network state of the corresponding AP of first MAC Address is abnormal.
2. the method as described in claim 1, which is characterized in that further include:
If the network state of itself is normal, it is determined that the role in the ad hoc network;
If the role in the ad hoc network is to receive in the ad hoc network that the main AP in the ad hoc network is sent from AP
The second MAC Address of main AP;
Discharge the 2nd SSID that is corresponding with the ad hoc network and carrying second MAC Address and the network state of itself.
3. method according to claim 2, which is characterized in that further include:
Periodically determine whether the main AP in the ad hoc network is in place;
If it is determined that the main AP in the ad hoc network is not in place, then the second son is re-established with other AP in the ad hoc network from group
Net;
Determine the role in the described second sub- ad hoc network;
If the role in the described second sub- ad hoc network is to receive the institute that the main AP in the described second sub- ad hoc network is sent from AP
The third MAC Address of the main AP in the second sub- ad hoc network is stated, discharge corresponding with the described second sub- ad hoc network and carries the third
3rd SSID of MAC Address and the network state of itself;
If the role in the described second sub- ad hoc network is main AP, first MAC Address is synchronized to second son certainly
Slave AP in networking discharges corresponding with the described second sub- ad hoc network and carries first MAC Address and the network state of itself
The 3rd SSID.
4. method according to claim 2, which is characterized in that further include:
If the role in the ad hoc network is main AP, the slave AP first MAC Address being synchronized in the ad hoc network;
And it discharges corresponding with the ad hoc network and carries first MAC Address and described the second of the network state of itself
SSID。
5. a kind of AP diagnostic method based on ad hoc network, using in the terminal, which is characterized in that the described method includes:
Scan the SSID of each wireless access point AP release in current environment;
Parse the network state for including in each SSID scanned and MAC Address;
Determine that network state be the network state of the corresponding AP of abnormal MAC Address is abnormal.
6. a kind of AP diagnostic device based on ad hoc network, is applied in the AP that the ad hoc network includes, which is characterized in that the dress
It sets and includes:
Detection module, for detecting itself network state;
Module is established, if the network state for itself is exception, the ad hoc network is detached from, establishes the first sub- ad hoc network;
Release module, for discharging the first media access control MAC that is corresponding with the described first sub- ad hoc network and carrying itself
The first service set identifier SSID of location and network state, so that after terminal scans the first SSID, according to the first SSID
In include the network state and first MAC Address determine that the network state of the corresponding AP of first MAC Address is
It is abnormal.
7. device as claimed in claim 6, which is characterized in that further include determining module and receiving module, in which:
The determining module, if the network state for itself is normal, it is determined that the role in the ad hoc network;
The receiving module, if being to receive the main AP hair in the ad hoc network from AP for the role in the ad hoc network
The second MAC Address of the main AP in the ad hoc network sent;
The release module is also used to discharge corresponding with the ad hoc network and carries second MAC Address and the network of itself
2nd SSID of state.
8. device as claimed in claim 7, which is characterized in that further include:
The determining module is also used to periodically determine whether the main AP in the ad hoc network is in place;
It is described to establish module, be also used to if it is determined that the main AP in the ad hoc network is not in place, then with other in the ad hoc network
AP re-establishes the second sub- ad hoc network;
The determining module is also used to the role determined in the described second sub- ad hoc network;
The release module, if the role being also used in the described second sub- ad hoc network is to receive second son certainly from AP
The third MAC Address for the main AP in the described second sub- ad hoc network that main AP in networking is sent, release are sub from group with described second
Net is corresponding and carries the 3rd SSID of the third MAC Address and the network state of itself;If in the described second sub- ad hoc network
Role be main AP, then first MAC Address is synchronized to the slave AP in the described second sub- ad hoc network, release and described second
Sub- ad hoc network is corresponding and carries the 3rd SSID of first MAC Address and the network state of itself.
9. device as claimed in claim 7, which is characterized in that further include synchronization module, in which:
First MAC Address is synchronized to institute if being main AP for the role in the ad hoc network by the synchronization module
State the slave AP in ad hoc network;
The release module is also used to discharge corresponding with the ad hoc network and carries first MAC Address and the network of itself
The 2nd SSID of state.
10. a kind of AP diagnostic device based on ad hoc network, using in the terminal, which is characterized in that described device includes:
Scan module, for scanning the SSID of the release of each wireless access point AP in current environment;
Parsing module, for parsing the network state for including in each SSID scanned and MAC Address;
Determining module, for determining that network state be the network state of the corresponding AP of abnormal MAC Address is abnormal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811452879.8A CN109362091B (en) | 2018-11-30 | 2018-11-30 | Ad hoc network-based AP (Access Point) diagnosis method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811452879.8A CN109362091B (en) | 2018-11-30 | 2018-11-30 | Ad hoc network-based AP (Access Point) diagnosis method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109362091A true CN109362091A (en) | 2019-02-19 |
CN109362091B CN109362091B (en) | 2022-05-20 |
Family
ID=65330348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811452879.8A Active CN109362091B (en) | 2018-11-30 | 2018-11-30 | Ad hoc network-based AP (Access Point) diagnosis method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109362091B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113365372A (en) * | 2021-06-23 | 2021-09-07 | Oppo广东移动通信有限公司 | Ad hoc network method and device, computer readable medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106231687A (en) * | 2016-09-13 | 2016-12-14 | 四川长虹电器股份有限公司 | A kind of method realizing the discovery of intelligent appliance equipment based on P2P technology |
CN106454895A (en) * | 2016-10-10 | 2017-02-22 | Tcl通力电子(惠州)有限公司 | Feedback method of equipment network configuration state and system thereof |
CN106792707A (en) * | 2016-12-13 | 2017-05-31 | 迈普通信技术股份有限公司 | The detection method and device of counterfeit WAP |
CN107071863A (en) * | 2017-05-02 | 2017-08-18 | 青岛海尔空调器有限总公司 | A kind of household electrical appliances match somebody with somebody network method, household electrical appliances and user terminal |
-
2018
- 2018-11-30 CN CN201811452879.8A patent/CN109362091B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106231687A (en) * | 2016-09-13 | 2016-12-14 | 四川长虹电器股份有限公司 | A kind of method realizing the discovery of intelligent appliance equipment based on P2P technology |
CN106454895A (en) * | 2016-10-10 | 2017-02-22 | Tcl通力电子(惠州)有限公司 | Feedback method of equipment network configuration state and system thereof |
CN106792707A (en) * | 2016-12-13 | 2017-05-31 | 迈普通信技术股份有限公司 | The detection method and device of counterfeit WAP |
CN107071863A (en) * | 2017-05-02 | 2017-08-18 | 青岛海尔空调器有限总公司 | A kind of household electrical appliances match somebody with somebody network method, household electrical appliances and user terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113365372A (en) * | 2021-06-23 | 2021-09-07 | Oppo广东移动通信有限公司 | Ad hoc network method and device, computer readable medium and electronic equipment |
CN113365372B (en) * | 2021-06-23 | 2023-03-24 | Oppo广东移动通信有限公司 | Ad hoc network method and device, computer readable medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109362091B (en) | 2022-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2681870B1 (en) | Technique for determining correlated events in a communication system | |
EP3048759B1 (en) | Fault diagnosis method, device and system | |
CN104009925B (en) | Bridge joint method for building up, device and the router of router | |
CN109104329B (en) | System for testing compatibility of router and network card | |
CN104702462A (en) | Network test system | |
CN103152343B (en) | Set up method and the network equipment in internet security Protocol virtual private network tunnel | |
US20170111360A1 (en) | Accurate detection of rogue wireless access points | |
US8432833B2 (en) | Auto MEP ID assignment within CFM maintenance association | |
CN102209323B (en) | Wireless communication device | |
CN104980965A (en) | Wireless system with wired fault self-restoring function and self-restoring method thereof | |
EP3897026A1 (en) | Network analytics | |
CN109412955B (en) | Method and device for determining link relation between IPRAN network devices | |
CN103368849A (en) | OAM (Operations, Administration and Management) message processing method and device | |
CN104519482B (en) | A kind of device parameter configuration method and device | |
CN103188171B (en) | A kind of method for dispatching message and equipment | |
CN109587687A (en) | Base station equipment and its network-building method | |
CN106603331A (en) | Wireless local area network product test method and device, and test system | |
CN111988170A (en) | Terminal fault positioning method and device | |
CN109362091A (en) | AP diagnostic method and device based on ad hoc network | |
CN105515970B (en) | A kind of method and apparatus being used for transmission message | |
CN103781188A (en) | Virtual network card constructing method and electronic equipment | |
CN111278034B (en) | Information backup method and device, storage medium and computer equipment | |
CN108259442B (en) | Slow protocol message processing method and related device | |
CN110048909B (en) | Network operation and maintenance method and device | |
CN105791036B (en) | A kind of AP access detection method and 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 |