CN105323244B - Network Recognition method and apparatus - Google Patents

Network Recognition method and apparatus Download PDF

Info

Publication number
CN105323244B
CN105323244B CN201510609719.XA CN201510609719A CN105323244B CN 105323244 B CN105323244 B CN 105323244B CN 201510609719 A CN201510609719 A CN 201510609719A CN 105323244 B CN105323244 B CN 105323244B
Authority
CN
China
Prior art keywords
access point
wifi access
target
wifi
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510609719.XA
Other languages
Chinese (zh)
Other versions
CN105323244A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510609719.XA priority Critical patent/CN105323244B/en
Publication of CN105323244A publication Critical patent/CN105323244A/en
Application granted granted Critical
Publication of CN105323244B publication Critical patent/CN105323244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to a kind of Network Recognition method and apparatus, belong to network technique field.The described method includes: obtaining the facility information of target WiFi access point;Judge whether terminal accessed the WiFi network that the target WiFi access point provides according to the facility information;The instruction information of target WiFi access point according to judgment result displays, the instruction information include: once connection instruction or do not connect instruction.The disclosure judges whether terminal accessed the WiFi network of target WiFi access point offer by the facility information of target WiFi access point, and information is indicated according to judgment result displays, solve the problems, such as that the identical WiFi access point of SSID cannot be distinguished in terminal in the related technology;Achieve the effect that terminal can be according to whether access the WiFi network of WiFi access point offer once to distinguish WiFi access point.

Description

Network Recognition method and apparatus
Technical field
This disclosure relates to network technique field, in particular to a kind of Network Recognition method and apparatus.
Background technique
WiFi (Wireless Fidelity, Wireless-Fidelity) technology is a kind of wireless connection technology.With the hair of science and technology Exhibition, using the wireless network of WiFi technology throughout each corner of people's daily life, and WiFi technology is for the daily of people Life also more important.
There is a kind of Network Recognition method in the related technology, broadcasts the SSID (clothes of oneself by wireless router in the method Business set identifier, Service Set Identifier) and the address MAC (media access control, Media Access Control), Wherein SSID is set by the user, facilitates memory, terminal is usually in the SSID and MAC Address for obtaining multiple wireless routers Afterwards, the SSID of each wireless router is shown in WiFi list, is provided with SSID to distinguish different wireless routers Wireless network.
Summary of the invention
In order to solve the problems in the relevant technologies, the embodiment of the present disclosure provides a kind of Network Recognition method and apparatus.Institute It is as follows to state technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of Network Recognition method is provided, this method comprises:
Obtain the facility information of target WiFi access point;
Judge whether terminal accessed the WiFi network of target WiFi access point offer according to facility information;
According to the instruction information of judgment result displays target WiFi access point, indicate information include: once connection instruction or Instruction had not been connected.
Optionally, facility information includes MAC address,
Judge whether terminal accessed the WiFi network of target WiFi access point offer according to facility information, comprising:
Whether the MAC Address of detection target WiFi access point is recorded in historical record, and record is provided in historical record The MAC Address of the WiFi access point for the WiFi network that terminal accessed;
If the MAC Address of target WiFi access point is recorded in historical record, determine that terminal accessed target WiFi access The WiFi network that point provides;
If the MAC Address of target WiFi access point is not recorded in historical record, determine that terminal did not accessed target WiFi The WiFi network that access point provides.
It optionally, also include service set SSID in facility information,
Obtain the facility information of target WiFi access point, comprising:
Obtain the facility information of at least two target WiFi access points;
Whether the MAC Address of detection target WiFi access point is recorded in historical record, comprising:
Whether the SSID for detecting each target WiFi access point at least two target WiFi access points is identical;
In target WiFi access point identical there are SSID, the identical target WiFi access point of each SSID is detected Whether MAC Address is recorded in historical record.
Optionally, geographical location when record has terminal to access WiFi network in historical time section in historical record, ground Reason position is corresponding with history MAC Address, and history MAC Address is to provide the WiFi access point for the WiFi network that terminal accessed MAC Address,
Determine that terminal accessed the WiFi network of target WiFi access point offer, comprising:
The corresponding target geographic position of MAC Address of target WiFi access point is obtained in historical record;
Whether detection terminal current geographic position is less than distance threshold at a distance from target geographic position;
When distance is less than distance threshold, determine that terminal accessed the WiFi network of target WiFi access point offer.
It optionally, include SSID in facility information,
Judge whether terminal accessed the WiFi network of target WiFi access point offer according to facility information, comprising:
When the WiFi network that target WiFi access point provides is refined net, whether it is stored in detection history record The corresponding password of SSID;
When being stored with the corresponding password of SSID in historical record, passes through password and access what target WiFi access point provided WiFi network;
If being successfully accessed, determine that terminal accessed the WiFi network of target WiFi access point offer;
If failed access determines that terminal did not accessed the WiFi network of target WiFi access point offer.
Optionally, at the time of record has terminal to access WiFi network in historical time section in historical record, according to judgement The instruction information of target WiFi access point as the result is shown, comprising:
When judging result is that terminal accessed the WiFi network that target WiFi access point provides, determined in historical record At the time of terminal accesses the WiFi network that target WiFi access point provides;
Instruction information is generated, instruction information includes: that once connection instruction and terminal access target WiFi access point provide At the time of WiFi network.
According to the second aspect of an embodiment of the present disclosure, a kind of Network Recognition device is provided, which includes:
Module is obtained, is configured as obtaining the facility information of target WiFi access point;
Judgment module is configured as judging whether terminal accessed the offer of target WiFi access point according to facility information WiFi network;
Display module is configured as the instruction information according to judgment result displays target WiFi access point, indicates packet Include: once connection instruction does not connect instruction.
Optionally, facility information includes MAC address,
Judgment module, comprising:
Whether detection sub-module, the MAC Address for being configured as detection target WiFi access point are recorded in historical record, go through Record is provided with the MAC Address of the WiFi access point for the WiFi network that terminal accessed in Records of the Historian record;
First determines submodule, if the MAC Address for being configured as target WiFi access point is recorded in historical record, determines Terminal accessed the WiFi network of target WiFi access point offer;
Second determines submodule, if the MAC Address for being configured as target WiFi access point is not recorded in historical record, really Determine the WiFi network that terminal did not accessed the offer of target WiFi access point.
It optionally, also include service set SSID in facility information,
Module is obtained, is configured as obtaining the facility information of at least two target WiFi access points;
Detection sub-module is configured as:
Whether the SSID for detecting each target WiFi access point at least two target WiFi access points is identical;
In target WiFi access point identical there are SSID, the identical target WiFi access point of each SSID is detected Whether MAC Address is recorded in historical record.
Optionally, geographical location when record has terminal to access WiFi network in historical time section in historical record, ground Reason position is corresponding with history MAC Address, and history MAC Address is to provide the WiFi access point for the WiFi network that terminal accessed MAC Address,
First determines submodule, is configured as:
The corresponding target geographic position of MAC Address of target WiFi access point is obtained in historical record;
Whether detection terminal current geographic position is less than distance threshold at a distance from target geographic position;
When distance is less than distance threshold, determine that terminal accessed the WiFi network of target WiFi access point offer.
It optionally, include SSID in facility information,
Judgment module is configured as:
When the WiFi network that target WiFi access point provides is refined net, whether it is stored in detection history record The corresponding password of SSID;
When being stored with the corresponding password of SSID in historical record, passes through password and access what target WiFi access point provided WiFi network;
If being successfully accessed, determine that terminal accessed the WiFi network of target WiFi access point offer;
If failed access determines that terminal did not accessed the WiFi network of target WiFi access point offer.
Optionally, at the time of record has terminal to access WiFi network in historical time section in historical record,
Display module is configured as:
When judging result is that terminal accessed the WiFi network that target WiFi access point provides, determined in historical record At the time of terminal accesses the WiFi network that target WiFi access point provides;
Instruction information is generated, instruction information includes: that once connection instruction and terminal access target WiFi access point provide At the time of WiFi network.
According to the third aspect of an embodiment of the present disclosure, a kind of Network Recognition device is provided, comprising:
Processor;
The memory of executable instruction for storage processor;
Wherein, processor is configured as:
Obtain the facility information of target WiFi access point;
Judge whether terminal accessed the WiFi network of target WiFi access point offer according to facility information;
According to the instruction information of judgment result displays target WiFi access point, indicate information include: once connection instruction or Instruction had not been connected.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
Judge whether terminal accessed the offer of target WiFi access point by the facility information of target WiFi access point WiFi network, and information is indicated according to judgment result displays, it is identical to solve the indistinguishable SSID of terminal in the related technology The problem of WiFi access point;Having reached terminal can be according to whether the WiFi network for once accessing the offer of WiFi access point comes area Divide the effect of WiFi access point.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the schematic diagram of implementation environment involved in each embodiment of the disclosure;
Fig. 2 is a kind of flow chart of Network Recognition method shown according to an exemplary embodiment;
Fig. 3-1 is the flow chart of another Network Recognition method shown according to an exemplary embodiment;
Fig. 3-2 is the flow chart that facility information is obtained in Fig. 3-1 illustrated embodiment;
Fig. 3-3 is the SSID display schematic diagram of WiFi access point in the related technology;
Fig. 3-4 is the schematic diagram of the instruction information of displaying target WiFi access point in Fig. 3-1 illustrated embodiment;
Fig. 3-5 is a kind of flow for displaying figure of the instruction information of WiFi access point in Fig. 3-1 illustrated embodiment;
Fig. 3-6 is the schematic diagram of the instruction information of another displaying target WiFi access point in Fig. 3-1 illustrated embodiment;
Fig. 4-1 is the flow chart of another Network Recognition method shown according to an exemplary embodiment;
Fig. 4-2 is to determine that terminal accessed the WiFi network of target WiFi access point offer in Fig. 4-1 illustrated embodiment Flow chart;
Fig. 5 is the flow chart of another Network Recognition method shown according to an exemplary embodiment;
Fig. 6-1 is a kind of block diagram of Network Recognition device shown according to an exemplary embodiment;
Fig. 6-2 is the block diagram of judgment module in Fig. 6-1 illustrated embodiment;
Fig. 7 is a kind of block diagram of device for Network Recognition shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the schematic diagram of implementation environment involved in each embodiment of the disclosure, which may include: terminal 11 and WiFi access point 12.
Terminal 11 can be mobile phone, tablet computer, pocket computer on knee and desktop computer etc..
WiFi access point 12 can be the equipment that router etc. has network access facility, and WiFi access point 12 can be with end End 11, which is established, WiFi connection, in addition, WiFi access point 12 can also be established with public internet connection.
This implementation environment does not restrict the quantity of terminal 11 and WiFi access point 12.
Fig. 2 is a kind of flow chart of Network Recognition method shown according to an exemplary embodiment, and the present embodiment is with the net Network recognition methods is applied to the terminal 11 in implementation environment shown in Fig. 1 to illustrate.The Network Recognition method may include as Under several steps:
In step 201, the facility information of target WiFi access point is obtained.
In step 202, judge whether terminal accessed the WiFi net of target WiFi access point offer according to facility information Network.
In step 203, according to the instruction information of judgment result displays target WiFi access point, indicate that information includes: once Instruction is not connected through connection instruction or.
In conclusion the Network Recognition method that the embodiment of the present disclosure provides, passes through the facility information of target WiFi access point Judge whether terminal accessed the WiFi network of target WiFi access point offer, and indicates information, solution according to judgment result displays It has determined the problem of SSID identical WiFi access point cannot be distinguished in terminal in the related technology;Having reached terminal can be according to whether once The WiFi network of WiFi access point offer was accessed to distinguish the effect of WiFi access point.
Fig. 3-1 is the flow chart of another Network Recognition method shown according to an exemplary embodiment, the present embodiment with The Network Recognition method is applied to the terminal 11 in implementation environment shown in Fig. 1 to illustrate.The Network Recognition method can wrap Include the following steps:
In step 301, the facility information of at least two target WiFi access points is obtained, includes SSID in facility information And MAC Address.
Terminal can obtain at least two targets in the Network Recognition method provided using the embodiment of the present disclosure first The facility information of WiFi access point can wrap containing SSID and MAC Address in facility information.
As shown in figure 3-2, this step may include following two sub-step:
In sub-step 3011, terminal receives WiFi network acquisition instruction.
In the Network Recognition method provided using the embodiment of the present disclosure, WiFi network can be received by terminal first and obtained Instruction, the WiFi network acquisition instruction can be by user's sending.Illustratively, user can need to connect WiFi network When operating terminal, to terminal issue WiFi network acquisition instruction.Alternatively, terminal can also obtain WiFi network in booting automatically Acquisition instruction.
In sub-step 3012, terminal searches for WiFi access point according to WiFi network acquisition instruction and obtains at least two mesh Mark the facility information of WiFi access point.
Terminal can connect after obtaining WiFi network acquisition instruction according to WiFi network acquisition instruction to search for WiFi Access point, wherein WiFi access point would generally continue to broadcast the facility information of itself.Terminal may search for neighbouring WiFi access point The facility information of broadcast, and these facility informations are obtained, it can wrap in facility information containing SSID and MAC Address.
It should be noted that target WiFi access point can be from terminal searching to multiple WiFi access points in filter out Come, illustratively, can by terminal searching to multiple WiFi access points in WiFi signal intensity be greater than preset value WiFi Access point is as target WiFi access point.The embodiment of the present disclosure does not restrict the screening technique of WiFi access point.
In step 302, detect at least two target WiFi access points in each target WiFi access point SSID whether It is identical.In target WiFi access point identical there are SSID, step 303 is executed, the identical target WiFi of SSID is being not present When access point, step 307 is executed.
Terminal can detecte at least two targets after the facility information for obtaining at least two target WiFi access points Whether the SSID of each target WiFi access point is identical in WiFi access point.Illustratively, multiple WiFi access that terminal obtains SSID and MAC Address in the facility information of point can be as shown in table 1.
Table 1
SSID MAC Address
CMCC xx-xx-xx-xx-xx-x1
123 xx-xx-xx-xx-xx-x2
CMCC xx-xx-xx-xx-xx-x3
In table 1, the first behavior gauge outfit, for explaining the content of two column in table 1, the left side one is classified as SSID and arranges, in the column The SSID of each target WiFi access point is had recorded, the right one is classified as MAC Address column, has recorded in the column corresponding with SSID The MAC Address of WiFi access point.Such as second SSID in row be the MAC Address of WiFi access point of " CMCC " be xx-xx-xx- Xx-xx-x1, wherein " x " can indicate any 16 system number.As shown in Fig. 3-3, terminal is being obtained as in table 1 in the related technology Facility information after, it will usually show the SSID31 of each WiFi access point, and in the SSID for two WiFi access points occur Equally, when being CMCC, user simultaneously can not effectively distinguish the two WiFi access points, and in the two WiFi access points also There may be have dangerous " fishing WiFi access point " (to steal privacy number by fishing WiFi access point when terminal connects According to), user accesses the WiFi network that one of WiFi access point provides rashly and may cause to the safety of data in terminal It seriously affects.
It should be noted that, although the MAC Address of each WiFi access point is usually different, but MAC Address is not Have the string number of practical significance, it is difficult to memory and discrimination, even if terminal shows the MAC Address of each WiFi access point, user Also it is difficult to effectively distinguish each WiFi access point.
In step 303, whether the MAC Address for detecting the identical target WiFi access point of each SSID is recorded in history note In record.When the MAC Address of target WiFi access point is recorded in historical record, step 304 is executed, in target WiFi access point MAC Address when being not recorded in historical record, execute step 305.
It is identical can to continue to test each SSID when detecting the presence of the identical target WiFi access point of SSID for terminal Whether the MAC Address of target WiFi access point is recorded in historical record.Terminal wherein can recorde in historical record in mistake Remove the MAC Address and SSID of WiFi access point once connected, and the WiFi access point that connected in the past of terminal can be Ensure the safety of the WiFi access point to a certain extent.
It should be added that terminal can not also execute step 302, and directly detect each target WiFi access point MAC Address whether be recorded in historical record, and held when the MAC Address of target WiFi access point is recorded in historical record Row step 304, step 305 is executed when the MAC Address of target WiFi access point is not recorded in historical record, and the disclosure is implemented Example does not restrict.
In step 304, determine that terminal accessed the WiFi network of target WiFi access point offer.Execute step 306.
If the MAC Address of target WiFi access point is recorded in historical record, it can determine that terminal accessed target WiFi The WiFi network that access point provides.Wherein, target WiFi access point is either one or more.
In step 305, determine that terminal did not accessed the WiFi network of target WiFi access point offer.Execute step 306.
If the MAC Address of target WiFi access point is not recorded in historical record, it can determine that terminal did not accessed target The WiFi network that WiFi access point provides.Wherein, target WiFi access point is either one or more.
Within step 306, according to the instruction information of judgment result displays target WiFi access point, indicate that information includes: once Instruction is not connected through connection instruction or.
Terminal, can be according to sentencing after judging whether to access the WiFi network that each target WiFi access point provides The instruction information of disconnected target WiFi access point each as the result is shown, instruction information may include: once connection instruction or do not connect Connect instruction.It illustratively, as shown in Figure 3-4, is the schematic diagram of the instruction information of displaying target WiFi access point, wherein eventually Hold after judging whether to access the WiFi network that the WiFi access point that two SSID31 are CMCC provides, can this two Instruction information 32 is shown after the SSID31 of a WiFi access point.Instruction information can also have other display modes, the disclosure Embodiment does not restrict.In addition, terminal can also audibly play back instruction information, to prompt user.
It should be noted that when judging result is that terminal accessed the WiFi network that target WiFi access point provides, such as Shown in Fig. 3-5, this step may include following two sub-step:
In sub-step 3061, when judging result is that terminal accessed the WiFi network that target WiFi access point provides, At the time of determining the WiFi network that terminal access target WiFi access point provides in historical record.
The WiFi access of the WiFi network of its offer was provided in judging multiple target WiFi access points there are terminal When point, at the time of can determining that terminal accesses the WiFi network of these targets WiFi access point offer in historical record.Example Property, for the WiFi access point shown in the table 1, terminal judges once to access that the second row SSID is CMCC, MAC Address is The WiFi network that the WiFi access point of xx-xx-xx-xx-xx-x1 provides can obtain terminal access from historical record at this time At the time of the WiFi network that the WiFi access point provides, for example the moment can be 52 minutes for No. 8 10 points of in September, 2015.
It should be noted that when terminal repeatedly accesses the WiFi network that the same WiFi access point provides, historical record In at the time of can recorde each access, can also be at the time of only record has the last access.It is recorded in historical record Be at the time of terminal accesses every time when, in this step terminal it is available wherein apart from current time it is nearest at the time of.
In sub-step 3062, instruction information is generated, instruction information includes: that once connection instruction and terminal access target At the time of the WiFi network that WiFi access point provides.
After terminal is at the time of obtaining the WiFi network that terminal access target WiFi access point provides, instruction can be generated Information, instruction information may include: once connection instruction and terminal access target WiFi access point provide WiFi network when It carves.At the time of i.e. terminal can prompt user once to access target WiFi access point and access the target access.It is depositing In the identical target WiFi access point of multiple SSID, and terminal accessed the WiFi network of these targets WiFi access point offer When, being prompted to user at the time of terminal is accessed the WiFi network that these targets WiFi access point provides can facilitate user to distinguish These targets WiFi access point.Exemplary, as seen in figures 3-6, terminal will once connect instruction 321 and terminal access target WiFi 322 are depicted in interface at the time of the WiFi network that access point provides, and user can access target WiFi access according to terminal 322 at the time of the WiFi network that point provides to distinguish two SSID be the WiFi network that CMCC and terminal accessed that it was provided Target WiFi access point.
In step 307, stop Network Recognition.
In target WiFi access point identical there is no SSID, user can directly distinguish WiFi access by SSID Point, terminal can stop carrying out Network Recognition.
It should be added that the Network Recognition method that the embodiment of the present disclosure provides, identical more by detection SSID Whether the MAC Address of a target WiFi access point, which is recorded in historical record, determines whether terminal accessed target WiFi access The WiFi network that point provides has achieved the effect that reduce the WiFi access point that terminal needs to identify.
It should be added that the Network Recognition method that the embodiment of the present disclosure provides, is connect by that will access target WiFi It is prompted to user at the time of the WiFi network that access point provides, the WiFi net that multiple terminals accessed its offer can be distinguished by having reached The effect of the WiFi access point of network.
In conclusion the Network Recognition method that the embodiment of the present disclosure provides, passes through the facility information of target WiFi access point Judge whether terminal accessed the WiFi network of target WiFi access point offer, and indicates information, solution according to judgment result displays It has determined the problem of SSID identical WiFi access point cannot be distinguished in terminal in the related technology;Having reached terminal can be according to whether once The WiFi network of WiFi access point offer was accessed to distinguish the effect of WiFi access point.
Fig. 4-1 is the flow chart of another Network Recognition method shown according to an exemplary embodiment, the present embodiment with The Network Recognition method is applied to the terminal 11 in implementation environment shown in Fig. 1 to illustrate.The Network Recognition method can wrap Include the following steps:
In step 401, the facility information of target WiFi access point is obtained.
Terminal can obtain target WiFi access point in the Network Recognition method provided using the embodiment of the present disclosure first Facility information, can wrap containing SSID and MAC Address in facility information.This step can be with reference in Fig. 3-1 illustrated embodiment Step 301, details are not described herein.
In step 402, whether the MAC Address for detecting target WiFi access point is recorded in historical record.In target When the MAC Address of WiFi access point is recorded in historical record, execute step 403, target WiFi access point MAC Address not When being recorded in historical record, step 404 is executed.
After the facility information for obtaining target WiFi, the MAC Address that can detecte target WiFi access point is terminal It is no to be recorded in historical record.Wherein, it can recorde in historical record and be provided with the WiFi of the WiFi network that terminal accessed and connect The MAC Address of access point.Wherein, the WiFi access point for providing the WiFi network that terminal accessed once accessed it for terminal and provided WiFi network WiFi access point.That is terminal can be incited somebody to action when once accessing the WiFi network that a certain WiFi access point provides The MAC Address of the WiFi access point is recorded in historical record.
In step 403, determine that terminal accessed the WiFi network of target WiFi access point offer.Execute step 405.
When the MAC Address of target WiFi access point is recorded in historical record, it can determine that terminal accessed target The WiFi network that WiFi access point provides.
As shown in the Fig. 4-2, this step may include following 3 sub-steps:
In sub-step 4031, the corresponding target geographic of MAC Address of target WiFi access point is obtained in historical record Position.
If the MAC Address of target WiFi access point is recorded in historical record, terminal can obtain mesh in historical record Mark the corresponding target geographic position of MAC Address of WiFi access point.Wherein, terminal has been can recorde in historical record in history Between geographical location when accessing WiFi network in section, which can be corresponding with history MAC Address, the history MAC Address For provide the WiFi network that terminal accessed WiFi access point MAC Address.Wherein historical time section can be current time A period of time before, for example can be 6 months.Illustratively, 6 months before current time numbers are had recorded in historical record According to then historical time section can be 6 months.It should be noted that terminal can pass through GPS in access WiFi network every time (Global Positioning System, global positioning system), Beidou satellite navigation system or other location technologies obtain eventually The geographical location at end, and the geographical location is recorded in historical record, the geographical location can with accessed as terminal The MAC Address of the WiFi access point of the provider of WiFi network is corresponding to be saved.
In sub-step 4032, whether detection terminal current geographic position is less than apart from threshold at a distance from target geographic position Value.
After terminal obtains the corresponding target geographic position of MAC Address of target WiFi access point in historical record, The available current geographical location of terminal, and detect the current geographic position whether be less than at a distance from target geographic position away from From threshold value, which can be set in advance.
It should be noted that when distance threshold is arranged, it can be with reference to the WiFi signal that WiFi access point is issued most Big effective range, and make distance threshold much larger than this maximum effective range.
In sub-step 4033, when distance is less than distance threshold, determine that terminal accessed the offer of target WiFi access point WiFi network.
When distance is less than distance threshold, illustrate what current geographic position was provided with access target WiFi access point before The geographical location of terminal is closer when WiFi network, can determine that terminal accessed the WiFi of target WiFi access point offer Network.
It should be noted that can determine that terminal did not accessed target WiFi access point when distance is greater than distance threshold The WiFi network of offer, this is because illustrating the current geographical location of terminal when distance is greater than distance threshold and accessing before The distance in the geographical location of terminal is issued much larger than WiFi access point when the WiFi network that target WiFi access point provides The maximum effective range of WiFi signal illustrates terminal since large variation will not usually occur for the position of WiFi access point The WiFi network of target WiFi access point offer was not accessed, target WiFi access point may forge MAC Address.Exist It when distance is less than distance threshold, then determines that terminal accessed the WiFi network of target WiFi access point offer, can identify puppet Make the WiFi access point of MAC Address.
In step 404, determine that terminal did not accessed the WiFi network of target WiFi access point offer.Execute step 405.
If the MAC Address of target WiFi access point is not recorded in historical record, it can determine that terminal did not accessed target The WiFi network that WiFi access point provides.
Terminal can judge whether terminal entered WiFi all near terminal and connect according to step 401 to step 404 The WiFi network that access point provides.
In step 405, according to the instruction information of judgment result displays target WiFi access point, indicate that information includes: once Instruction is not connected through connection instruction or.
Terminal, can be according to judging result after the WiFi network for judging whether to access the offer of target WiFi access point The instruction information of displaying target WiFi access point, instruction information include: once connection instruction or do not connect instruction.Terminal can be with It, can also the neighbouring part WiFi of display terminal according to the instruction information of WiFi access points all near judgment result displays terminal The instruction information of access point, such as can only instruction of the display WiFi signal intensity greater than the WiFi access point of preset threshold believe Breath, or only display security (can be assessed by the relevant technologies, the embodiment of the present disclosure repeats no more) higher WiFi Instruction information of access point etc..The schematic diagram of the instruction information of terminal displaying target WiFi access point can be as shown in Figure 3-4.
It should be added that the Network Recognition method that the embodiment of the present disclosure provides, by detecting terminal current geographic Whether position is less than distance threshold at a distance from target geographic position, and having reached can identify that the WiFi for forging MAC Address connects The effect of access point.
In conclusion the Network Recognition method that the embodiment of the present disclosure provides, passes through the facility information of target WiFi access point Judge whether terminal accessed the WiFi network of target WiFi access point offer, and indicates information, solution according to judgment result displays It has determined the problem of SSID identical WiFi access point cannot be distinguished in terminal in the related technology;Having reached terminal can be according to whether once The WiFi network of WiFi access point offer was accessed to distinguish the effect of WiFi access point.
Fig. 5 is the flow chart of another Network Recognition method shown according to an exemplary embodiment, and the present embodiment is with this Network Recognition method is applied to the terminal 11 in implementation environment shown in Fig. 1 to illustrate.The Network Recognition method may include The following steps:
In step 501, the facility information of target WiFi access point is obtained.
Terminal can obtain target WiFi access point in the Network Recognition method provided using the embodiment of the present disclosure first Facility information, can wrap containing SSID and MAC Address in facility information.This step can be with reference in Fig. 3-1 illustrated embodiment Step 301, details are not described herein.
In step 502, when the WiFi network that target WiFi access point provides is refined net, in detection history record Whether SSID corresponding password is stored with.
After the facility information for obtaining target WiFi access point, the WiFi of target WiFi access point offer can detecte Whether network is refined net, when the WiFi network is refined net, can detecte in historical record whether be stored with SSID Corresponding password.In historical record, SSID and password can be with corresponding records, and the SSID and password can be terminal and once accessed The SSID and password recorded when WiFi network.Illustratively, terminal once accessed the WiFi network that SSID is CMCC, should The password of WiFi network is 123, and terminal records the correspondence of CMCC and 123, in the multiple or mesh that terminal currently obtains When the SSID for marking WiFi access point is CMCC, terminal can detecte the corresponding password of CMCC whether has been recorded in historical record.
In step 503, when being stored with the corresponding password of SSID in historical record, target WiFi is accessed by password and is connect The WiFi network that access point provides.When being successfully accessed, step 504 is executed, in failed access, executes step 505.
When being stored with the corresponding password of SSID in historical record, the password attempt can be passed through and access target WiFi access The WiFi network that point provides, to judge whether the WiFi network is WiFi network that terminal once accessed.
In step 504, when being successfully accessed, determine that terminal accessed the WiFi network of target WiFi access point offer. Execute step 506.
If terminal can be successfully accessed the WiFi network of target WiFi access point offer, illustrate to record in historical record close Code is the password of the WiFi network, can determine that terminal accessed the WiFi network of target WiFi access point offer.Illustratively, For the WiFi access point as shown in table 1, if it is xx-xx-xx-xx-xx-x1 that terminal, which has been successfully accessed MAC Address, SSID is The WiFi network that the WiFi access point of CMCC provides can then determine that terminal once accessed the WiFi net of WiFi access point offer Network.
In step 505, in failed access, determine that terminal did not accessed the WiFi net of target WiFi access point offer Network.Execute step 506.
If the terminal WiFi network that access target WiFi access point provides not successfully, illustrates the password recorded in historical record It is not the password of the WiFi network, can determines that terminal did not accessed the WiFi network of target WiFi access point offer.It is exemplary , for the WiFi access point as shown in table 1, if it is xx-xx-xx-xx-xx-x2 that terminal, which has been successfully accessed MAC Address, SSID is the WiFi network that the WiFi access point of CMCC provides, then can determine that terminal once accessed WiFi access point offer WiFi network.
In step 506, according to the instruction information of judgment result displays target WiFi access point, indicate that information includes: once Instruction is not connected through connection instruction or.
Terminal, can be according to judging result after the WiFi network for judging whether to access the offer of target WiFi access point The instruction information of displaying target WiFi access point, instruction information include: once connection instruction or do not connect instruction.This step can With with reference to the step 405 in Fig. 4-1 illustrated embodiment, details are not described herein.
It should be added that the Network Recognition method that the embodiment of the present disclosure provides, passes through the password in historical record It attempts the WiFi network for the encryption that access target WiFi access point provides, and according to whether is successfully accessed whether to judge terminal The WiFi network of target WiFi access point offer was once accessed, having reached may determine that whether terminal once connected encryption The effect of WiFi network.
In conclusion the Network Recognition method that the embodiment of the present disclosure provides, passes through the facility information of target WiFi access point Judge whether terminal accessed the WiFi network of target WiFi access point offer, and indicates information, solution according to judgment result displays It has determined the problem of SSID identical WiFi access point cannot be distinguished in terminal in the related technology;Having reached terminal can be according to whether once The WiFi network of WiFi access point offer was accessed to distinguish the effect of WiFi access point.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 6-1 is a kind of block diagram of Network Recognition device shown according to an exemplary embodiment, the Network Recognition device Can by software, hardware or both be implemented in combination with as in implementation environment shown in Fig. 1 terminal 11 it is some or all of. The Network Recognition device may include:
Module 610 is obtained, is configured as obtaining the facility information of target WiFi access point.
Judgment module 620 is configured as judging whether terminal accessed the offer of target WiFi access point according to facility information WiFi network.
Display module 630 is configured as the instruction information according to judgment result displays target WiFi access point, indicates information It include: that once connection indicates or do not connect instruction.
In conclusion the Network Recognition device that the embodiment of the present disclosure provides, passes through the facility information of target WiFi access point Judge whether terminal accessed the WiFi network of target WiFi access point offer, and indicates information, solution according to judgment result displays It has determined the problem of SSID identical WiFi access point cannot be distinguished in terminal in the related technology;Having reached terminal can be according to whether once The WiFi network of WiFi access point offer was accessed to distinguish the effect of WiFi access point.
Optionally, facility information includes MAC address.
As in fig. 6-2, judgment module 620, comprising:
Whether detection sub-module 621, the MAC Address for being configured as detection target WiFi access point are recorded in historical record In, record is provided with the MAC Address of the WiFi access point for the WiFi network that terminal accessed in historical record.
First determines submodule 622, if the MAC Address for being configured as target WiFi access point is recorded in historical record, Determine that terminal accessed the WiFi network of target WiFi access point offer.
Second determines submodule 623, if the MAC Address for being configured as target WiFi access point is not recorded in historical record In, determine that terminal did not accessed the WiFi network of target WiFi access point offer.
It optionally, also include service set SSID in facility information.
Module 610 is obtained, is configured as obtaining the facility information of at least two target WiFi access points.
Detection sub-module 621, is configured as:
Whether the SSID for detecting each target WiFi access point at least two target WiFi access points is identical.
In target WiFi access point identical there are SSID, the identical target WiFi access point of each SSID is detected Whether MAC Address is recorded in historical record.
Optionally, geographical location when record has terminal to access WiFi network in historical time section in historical record, ground Reason position is corresponding with history MAC Address, and history MAC Address is to provide the WiFi access point for the WiFi network that terminal accessed MAC Address.
First determines submodule 622, is configured as:
The corresponding target geographic position of MAC Address of target WiFi access point is obtained in historical record.
Whether detection terminal current geographic position is less than distance threshold at a distance from target geographic position.
When distance is less than distance threshold, determine that terminal accessed the WiFi network of target WiFi access point offer.
It optionally, include SSID in facility information.
Judgment module 620, is configured as:
When the WiFi network that target WiFi access point provides is refined net, whether it is stored in detection history record The corresponding password of SSID.
When being stored with the corresponding password of SSID in historical record, passes through password and access what target WiFi access point provided WiFi network.
If being successfully accessed, determine that terminal accessed the WiFi network of target WiFi access point offer.
If failed access determines that terminal did not accessed the WiFi network of target WiFi access point offer.
Optionally, at the time of record has terminal to access WiFi network in historical time section in historical record.
Display module 630, is configured as:
When judging result is that terminal accessed the WiFi network that target WiFi access point provides, determined in historical record At the time of terminal accesses the WiFi network that target WiFi access point provides.
Instruction information is generated, instruction information includes: that once connection instruction and terminal access target WiFi access point provide At the time of WiFi network.
It should be added that the Network Recognition device that the embodiment of the present disclosure provides, identical more by detection SSID Whether the MAC Address of a target WiFi access point, which is recorded in historical record, determines whether terminal accessed target WiFi access The WiFi network that point provides has achieved the effect that reduce the WiFi access point that terminal needs to identify.
It should be added that the Network Recognition device that the embodiment of the present disclosure provides, is connect by that will access target WiFi It is prompted to user at the time of the WiFi network that access point provides, the WiFi net that multiple terminals accessed its offer can be distinguished by having reached The effect of the WiFi access point of network.
It should be added that the Network Recognition device that the embodiment of the present disclosure provides, by detecting terminal current geographic Whether position is less than distance threshold at a distance from target geographic position, and having reached can identify that the WiFi for forging MAC Address connects The effect of access point.
It should be added that the Network Recognition device that the embodiment of the present disclosure provides, passes through the password in historical record It attempts the WiFi network for the encryption that access target WiFi access point provides, and according to whether is successfully accessed whether to judge terminal The WiFi network of target WiFi access point offer was once accessed, having reached may determine that whether terminal once connected encryption The effect of WiFi network.
In conclusion the Network Recognition device that the embodiment of the present disclosure provides, passes through the facility information of target WiFi access point Judge whether terminal accessed the WiFi network of target WiFi access point offer, and indicates information, solution according to judgment result displays It has determined the problem of SSID identical WiFi access point cannot be distinguished in terminal in the related technology;Having reached terminal can be according to whether once The WiFi network of WiFi access point offer was accessed to distinguish the effect of WiFi access point.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 7 is a kind of block diagram of device 700 for Network Recognition shown according to an exemplary embodiment.For example, dress Setting 700 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 7, device 700 may include following one or more components: processing component 702, memory 704, power supply Component 706, multimedia component 708, audio component 710, the interface 712 of input/output (I/O), sensor module 714, and Communication component 716.
The integrated operation of the usual control device 700 of processing component 702, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 702 may include that one or more processors 720 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 702 may include one or more modules, just Interaction between processing component 702 and other assemblies.For example, processing component 702 may include multi-media module, it is more to facilitate Interaction between media component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support the operation in device 700.These data are shown Example includes the instruction of any application or method for operating on device 700, contact data, and telephone book data disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 706 provides electric power for the various assemblies of device 700.Power supply module 706 may include power management system System, one or more power supplys and other with for device 700 generate, manage, and distribute the associated component of electric power.
Multimedia component 708 includes the screen of one output interface of offer between described device 700 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 708 includes a front camera and/or rear camera.When device 700 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 710 is configured as output and/or input audio signal.For example, audio component 710 includes a Mike Wind (MIC), when device 700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 704 or via communication set Part 716 is sent.In some embodiments, audio component 710 further includes a loudspeaker, is used for output audio signal.
I/O interface 712 provides interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor module 714 can detecte the state that opens/closes of device 700, and the relative positioning of component, for example, it is described Component is the display and keypad of device 700, and sensor module 714 can be with 700 1 components of detection device 700 or device Position change, the existence or non-existence that user contacts with device 700,700 orientation of device or acceleration/deceleration and device 700 Temperature change.Sensor module 714 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 714 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 716 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 704 of instruction, above-metioned instruction can be executed by the processor 720 of device 700 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 700 When device executes, so that device 700 is able to carry out the Network Recognition method that above-mentioned each embodiment provides.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (9)

1. a kind of network equipment recognition methods, which is characterized in that the described method includes:
Obtain the facility information of target WiFi access point;
Judge whether terminal accessed the WiFi network that the target WiFi access point provides according to the facility information;
The instruction information of target WiFi access point according to judgment result displays, the instruction information include: that once connection refers to Show or do not connect instruction,
The facility information includes MAC address,
It is described to judge whether terminal accessed the WiFi network that the target WiFi access point provides, packet according to the facility information It includes:
Whether the MAC Address for detecting the target WiFi access point is recorded in historical record, there is record in the historical record The MAC Address of the WiFi access point for the WiFi network that the terminal accessed is provided;
If the MAC Address of the target WiFi access point is recorded in the historical record, it is described to determine that the terminal accessed The WiFi network that target WiFi access point provides;
If the MAC Address of the target WiFi access point is not recorded in the historical record, determine that the terminal did not accessed The WiFi network that the target WiFi access point provides,
Geographical location when record has the terminal to access WiFi network in historical time section in the historical record, describedly It is corresponding with history MAC Address to manage position, the history MAC Address is to provide the WiFi of the WiFi network that the terminal accessed to connect The MAC Address of access point,
The determination terminal accessed the WiFi network that the target WiFi access point provides, comprising:
The corresponding target geographic position of MAC Address of the target WiFi access point is obtained in the historical record;
Detect whether the terminal current geographic position is less than distance threshold at a distance from the target geographic position;
When the distance is less than the distance threshold, determine that the terminal accessed what the target WiFi access point provided WiFi network,
Wherein, the distance threshold is greater than the maximum effective range for the WiFi signal that WiFi access point is issued.
2. the method according to claim 1, wherein also including service set in the facility information SSID,
The facility information for obtaining target WiFi access point, comprising:
Obtain the facility information of at least two target WiFi access points;
Whether the MAC Address of the detection target WiFi access point is recorded in historical record, comprising:
Whether the SSID for detecting each target WiFi access point in at least two targets WiFi access point is identical;
In target WiFi access point identical there are SSID, the identical target WiFi access point of each SSID is detected Whether MAC Address is recorded in the historical record.
3. the method according to claim 1, wherein include SSID in the facility information,
It is described to judge whether terminal accessed the WiFi network that the target WiFi access point provides, packet according to the facility information It includes:
When the WiFi network that the target WiFi access point provides is refined net, whether stored in detection history record State the corresponding password of SSID;
When being stored with the corresponding password of the SSID in the historical record, the target WiFi is accessed by the password and is connect The WiFi network that access point provides;
If being successfully accessed, determine that the terminal accessed the WiFi network that the target WiFi access point provides;
If failed access determines that the terminal did not accessed the WiFi network that the target WiFi access point provides.
4. method according to any one of claims 1 to 3, which is characterized in that record has the terminal in the historical record At the time of accessing WiFi network in historical time section, the instruction of the target WiFi access point according to judgment result displays Information, comprising:
When the judging result is that terminal accessed the WiFi network that the target WiFi access point provides, remember in the history At the time of determining that the terminal accesses the WiFi network that the target WiFi access point provides in record;
The instruction information is generated, the instruction information includes: that the once connection instruction and the terminal access the target At the time of the WiFi network that WiFi access point provides.
5. a kind of network equipment identification device, which is characterized in that described device includes:
Module is obtained, is configured as obtaining the facility information of target WiFi access point;
Judgment module is configured as judging whether terminal accessed the target WiFi access point and provide according to the facility information WiFi network;
Display module is configured as the instruction information of the target WiFi access point according to judgment result displays, the instruction letter Breath includes: once connection instruction or does not connect instruction,
The facility information includes MAC address,
The judgment module, comprising:
Whether detection sub-module, the MAC Address for being configured as detecting the target WiFi access point are recorded in historical record, institute State the MAC Address that record in historical record is provided with the WiFi access point for the WiFi network that the terminal accessed;
First determines submodule, if the MAC Address for being configured as the target WiFi access point is recorded in the historical record, Determine that the terminal accessed the WiFi network that the target WiFi access point provides;
Second determines submodule, if the MAC Address for being configured as the target WiFi access point is not recorded in the historical record In, determine that the terminal did not accessed the WiFi network that the target WiFi access point provides,
Geographical location when record has the terminal to access WiFi network in historical time section in the historical record, describedly It is corresponding with history MAC Address to manage position, the history MAC Address is to provide the WiFi of the WiFi network that the terminal accessed to connect The MAC Address of access point,
Described first determines submodule, is configured as:
The corresponding target geographic position of MAC Address of the target WiFi access point is obtained in the historical record;
Detect whether the terminal current geographic position is less than distance threshold at a distance from the target geographic position;
When the distance is less than the distance threshold, determine that the terminal accessed what the target WiFi access point provided WiFi network,
Wherein, the distance threshold is greater than the maximum effective range for the WiFi signal that WiFi access point is issued.
6. device according to claim 5, which is characterized in that also include service set in the facility information SSID,
The acquisition module is configured as obtaining the facility information of at least two target WiFi access points;
The detection sub-module, is configured as:
Whether the SSID for detecting each target WiFi access point in at least two targets WiFi access point is identical;
In target WiFi access point identical there are SSID, the identical target WiFi access point of each SSID is detected Whether MAC Address is recorded in the historical record.
7. device according to claim 5, which is characterized in that it include SSID in the facility information,
The judgment module, is configured as:
When the WiFi network that the target WiFi access point provides is refined net, whether stored in detection history record State the corresponding password of SSID;
When being stored with the corresponding password of the SSID in the historical record, the target WiFi is accessed by the password and is connect The WiFi network that access point provides;
If being successfully accessed, determine that the terminal accessed the WiFi network that the target WiFi access point provides;
If failed access determines that the terminal did not accessed the WiFi network that the target WiFi access point provides.
8. according to any device of claim 5 to 7, which is characterized in that record has the terminal in the historical record At the time of accessing WiFi network in historical time section,
The display module, is configured as:
When the judging result is that terminal accessed the WiFi network that the target WiFi access point provides, remember in the history At the time of determining that the terminal accesses the WiFi network that the target WiFi access point provides in record;
The instruction information is generated, the instruction information includes: that the once connection instruction and the terminal access the target At the time of the WiFi network that WiFi access point provides.
9. a kind of Network Recognition device characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
Obtain the facility information of target WiFi access point;
Judge whether terminal accessed the WiFi network that the target WiFi access point provides according to the facility information;
The instruction information of target WiFi access point according to judgment result displays, the instruction information include: that once connection refers to Show or do not connect instruction,
The facility information includes MAC address,
It is described to judge whether terminal accessed the WiFi network that the target WiFi access point provides, packet according to the facility information It includes:
Whether the MAC Address for detecting the target WiFi access point is recorded in historical record, there is record in the historical record The MAC Address of the WiFi access point for the WiFi network that the terminal accessed is provided;
If the MAC Address of the target WiFi access point is recorded in the historical record, it is described to determine that the terminal accessed The WiFi network that target WiFi access point provides;
If the MAC Address of the target WiFi access point is not recorded in the historical record, determine that the terminal did not accessed The WiFi network that the target WiFi access point provides,
Geographical location when record has the terminal to access WiFi network in historical time section in the historical record, describedly It is corresponding with history MAC Address to manage position, the history MAC Address is to provide the WiFi of the WiFi network that the terminal accessed to connect The MAC Address of access point,
The determination terminal accessed the WiFi network that the target WiFi access point provides, comprising:
The corresponding target geographic position of MAC Address of the target WiFi access point is obtained in the historical record;
Detect whether the terminal current geographic position is less than distance threshold at a distance from the target geographic position;
When the distance is less than the distance threshold, determine that the terminal accessed what the target WiFi access point provided WiFi network,
Wherein, the distance threshold is greater than the maximum effective range for the WiFi signal that WiFi access point is issued.
CN201510609719.XA 2015-09-22 2015-09-22 Network Recognition method and apparatus Active CN105323244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510609719.XA CN105323244B (en) 2015-09-22 2015-09-22 Network Recognition method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510609719.XA CN105323244B (en) 2015-09-22 2015-09-22 Network Recognition method and apparatus

Publications (2)

Publication Number Publication Date
CN105323244A CN105323244A (en) 2016-02-10
CN105323244B true CN105323244B (en) 2019-02-22

Family

ID=55249839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510609719.XA Active CN105323244B (en) 2015-09-22 2015-09-22 Network Recognition method and apparatus

Country Status (1)

Country Link
CN (1) CN105323244B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744523A (en) * 2016-02-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 WIFI connection method and mobile terminal
CN105916191A (en) * 2016-04-15 2016-08-31 北京小米移动软件有限公司 Displaying method and apparatus of wireless local area network title
CN109076594B (en) * 2016-06-16 2020-12-25 华为技术有限公司 Method and device for accessing low-power-consumption terminal to network
CN106534157B (en) * 2016-11-30 2019-08-23 Oppo广东移动通信有限公司 A kind of data transmission method, device and terminal
CN106792698A (en) * 2017-02-20 2017-05-31 广东欧珀移动通信有限公司 A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal
CN106973384B (en) 2017-02-20 2018-07-06 广东欧珀移动通信有限公司 A kind of Wireless Fidelity Wi-Fi connection method and mobile terminal
CN107396299A (en) * 2017-06-01 2017-11-24 北京三快在线科技有限公司 Localization method and device, the method for building up and device of database
CN109462851A (en) * 2018-12-28 2019-03-12 北京奇安信科技有限公司 Fishing hot spot detecting method, device, electronic equipment and storage medium
CN111970750B (en) * 2020-08-18 2024-07-09 维沃移动通信有限公司 Multi-frequency WiFi identification method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856957A (en) * 2012-12-04 2014-06-11 航天信息股份有限公司 Method and device for detecting counterfeit AP in wireless local area network
CN104394263A (en) * 2014-09-30 2015-03-04 小米科技有限责任公司 Accessing point list displaying method and device
CN104394579A (en) * 2014-12-15 2015-03-04 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2168402B1 (en) * 2007-07-17 2018-09-05 Orange Dynamic appropriation of at least one multimedia device during communication establishment
CN104105165A (en) * 2013-04-08 2014-10-15 中兴通讯股份有限公司 Method and terminal for processing accessing of WLAN

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856957A (en) * 2012-12-04 2014-06-11 航天信息股份有限公司 Method and device for detecting counterfeit AP in wireless local area network
CN104394263A (en) * 2014-09-30 2015-03-04 小米科技有限责任公司 Accessing point list displaying method and device
CN104394579A (en) * 2014-12-15 2015-03-04 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105323244A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN105323244B (en) Network Recognition method and apparatus
US10623963B2 (en) Proactive security for mobile devices
CN104159275B (en) Method for connecting network and device
CN104540184B (en) Equipment networking method and device
CN104933351B (en) The treating method and apparatus of information security
US20140031066A1 (en) Determining the last location of lost and stolen portable electronic devices when wireless communications access to the lost or stolen devices is lost or intermittent
CN104506443B (en) Router sets interface display method and device
CN108632796B (en) Bluetooth connection method, device, terminal and computer readable storage medium
CN105101202B (en) Information processing method and device
CN104834878A (en) Terminal information display method and device
CN105100061B (en) Network address kidnaps the method and device of detection
EP3113051A1 (en) Method and apparatus for acquiring search results, computer program and recording medium
CN108629178A (en) The resource access rights configuration method and device of application program
CN104837181A (en) Network access method and device
CN105898573A (en) Method and device for multimedia file playing
CN105430639B (en) Information processing method and device
CN107506670A (en) Parameter loading method and device
CN105912202A (en) Application sharing method and device
CN105530332B (en) The processing method and processing device of location information
CN106339452B (en) Event response method and device
CN105512542B (en) Data inputting method and device
CN108401519A (en) Internet of Things method for connecting network and device
CN107463809A (en) The display methods and device of application icon
CN106303008A (en) Information prompting method and device
CN104869538B (en) Localization method and device

Legal Events

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