CN107426746A - The method and apparatus for identifying WIFI types - Google Patents

The method and apparatus for identifying WIFI types Download PDF

Info

Publication number
CN107426746A
CN107426746A CN201610351414.8A CN201610351414A CN107426746A CN 107426746 A CN107426746 A CN 107426746A CN 201610351414 A CN201610351414 A CN 201610351414A CN 107426746 A CN107426746 A CN 107426746A
Authority
CN
China
Prior art keywords
network
wifi
terminal
types
hot spot
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.)
Pending
Application number
CN201610351414.8A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610351414.8A priority Critical patent/CN107426746A/en
Priority to PCT/CN2016/103281 priority patent/WO2017201961A1/en
Publication of CN107426746A publication Critical patent/CN107426746A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The present invention proposes a kind of method and apparatus of identification WIFI types, after the method for identification WIFI types is included in terminal access WIFI hot spot to be identified, the public network IP of terminal transmission request message is obtained, wherein, request message is used for the WIFI types for obtaining WIFI hot spot to be identified;Network type corresponding with public network IP is read with the corresponding relation of network type according to public network IP in database;And WIFI types are identified according to network type.The accuracy of WIFI type identifications can be effectively lifted by the present invention, lifts Consumer's Experience.

Description

The method and apparatus for identifying WIFI types
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and apparatus of identification WIFI types.
Background technology
With the development of the communication technology and intelligent terminal, intelligent terminal generally supports the function that focus creates, i.e., Connected by virtual WIFI hot spot for other-end, be used in conjunction with the mobile network resource of mobile terminal.It is empty Although the WIFI hot spot of plan can provide network connection, networking speed is undesirable.In addition, terminal should It can be automatically updated with APP when being connected to WIFI hot spot, can so expend substantial amounts of mobile network data Flow.However, it is rooting hotspot which user can not tell in the focus searched out, which is WIFI Focus.
Whether it is in fixation by the dynamic IP addressing distributed virtual WIFI hot spot in correlation technique In the range of WIFI hot spot judged that the accuracy of identification of the WIFI types of WIFI hot spot is high.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.
Therefore, it is an object of the present invention to propose a kind of method of identification WIFI types, can effectively carry The accuracy of WIFI type identifications is risen, lifts Consumer's Experience.
It is another object of the present invention to propose a kind of device of identification WIFI types.
To reach above-mentioned purpose, the method for the identification WIFI types that first aspect present invention embodiment proposes, bag Include:After terminal accesses WIFI hot spot to be identified, the public network IP of the terminal transmission request message is obtained, Wherein, the request message is used for the WIFI types for obtaining the WIFI hot spot to be identified;In database Network type corresponding with the public network IP is read with the corresponding relation of network type according to the public network IP; And the WIFI types are identified according to the network type.
The method for the identification WIFI types that first aspect present invention embodiment proposes, waits to know by accessing in terminal After other WIFI hot spot, the public network IP of terminal transmission request message is obtained, and according to public network IP to WIFI to be identified The WIFI types of focus are identified, and can effectively lift the accuracy of WIFI type identifications, lift user Experience.
To reach above-mentioned purpose, the device for the identification WIFI types that second aspect of the present invention embodiment proposes, bag Include:Acquisition module, for after terminal accesses WIFI hot spot to be identified, obtaining the terminal transmission request report The public network IP of text, wherein, the request message is used for the WIFI types for obtaining the WIFI hot spot to be identified; Read module, in database according to the corresponding relation of the public network IP and network type read with it is described Network type corresponding to public network IP;And identification module, for according to the network type to the WIFI Type is identified.
The device for the identification WIFI types that second aspect of the present invention embodiment proposes, waits to know by accessing in terminal After other WIFI hot spot, the public network IP of terminal transmission request message is obtained, and according to public network IP to WIFI to be identified The WIFI types of focus are identified, and can effectively lift the accuracy of WIFI type identifications, lift user Experience.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly be retouched from following Become obvious in stating, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage are from the following description of the accompanying drawings of embodiments It will be apparent and be readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of the method for the identification WIFI types that one embodiment of the invention proposes;
Fig. 2 is the schematic flow sheet of the method for the identification WIFI types that another embodiment of the present invention proposes;
Fig. 3 is the schematic flow sheet of the method for the identification WIFI types that another embodiment of the present invention proposes;
Fig. 4 is the schematic flow sheet of the method for the identification WIFI types that another embodiment of the present invention proposes;
Fig. 5 is the structural representation of the device for the identification WIFI types that one embodiment of the invention proposes;
Fig. 6 is the structural representation of the device for the identification WIFI types that another embodiment of the present invention proposes.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein certainly Begin to same or similar label eventually to represent same or similar element or there is the member of same or like function Part.The embodiments described below with reference to the accompanying drawings are exemplary, is only used for explaining the present invention, and can not It is interpreted as limitation of the present invention.On the contrary, embodiments of the invention include falling into attached claims All changes, modification and equivalent in the range of spirit and intension.
Fig. 1 is the schematic flow sheet of the method for the identification WIFI types that one embodiment of the invention proposes.This implementation Example is configured as illustrating in the device of identification WIFI types in the method for identification WIFI types.Should The method of identification WIFI types can be applied during the type of terminal-pair WIFI hot spot is detected, For example, terminal user open terminal connection WLAN (Wireless Local Area Networks, WLAN after function), can be chosen in wlan network list interface needs the WIFI hot spot that connects, then Terminal can trigger the WIFI hot spot chosen to user and detect.Wherein, terminal may, for example, be personal meter Calculation machine (personal computer, PC), smart mobile phone, tablet personal computer, personal digital assistant, electronics Book etc. has the hardware device of various operating systems.
Referring to Fig. 1, the method for identification WIFI types can include:
S11:After terminal accesses WIFI hot spot to be identified, the public network IP of terminal transmission request message is obtained, Wherein, request message is used for the WIFI types for obtaining WIFI hot spot to be identified.
In an embodiment of the present invention, WIFI hot spot to be identified can be terminal user in wlan network list The WIFI hot spot that the needs that interface is chosen connect, or, WIFI hot spot to be identified can also be that terminal starts When automatic detection is presently in the function of WIFI types of the WIFI hot spot in environment, traversal wlan network row In surface and interface during all WIFI hot spots, currently selected fixed WIFI hot spot, this is not restricted.
Connected using WIFI hot spot to be identified as terminal user in the needs that wlan network list interface is chosen WIFI hot spot example.
Terminal user chooses the WIFI hot spot for needing to connect in wlan network list interface, and terminal is treated in access After identifying WIFI hot spot, the HTTP request message for accessing internet can be generated, is, for example, http://zte.ip.com.cn/goform/goform_get_cmd_processCmd=get_global_ip , wherein, zte.ip.com.cn is the domain name of server, and get_global_ip is acquisition request public network IP With the instruction of network type.Terminal sends HTTP request message to server, and server is, for example, HTTP Server, server can parse HTTP request message after HTTP request message is received, obtain eventually Hold the public network IP of the TCP connections of the HTTP request message of transmission.
Wherein, public network IP be Virtual network operator (for example, UNICOM, telecommunications etc.) distribute to fixed network broadband or The exclusive IP address of mobile network, it is to be understood that Virtual network operator is distributed to fixed network broadband and mobile network The exclusive IP address of network is different.
In correlation technique, whether model is being fixed according to the machine dynamic IP for accessing WIFI hot spot terminal to be identified Enclose it is interior identify the WIFI types of WIFI hot spot, in rooting hotspot also by the machine dynamic IP allocation to fixed model When enclosing interior, WIFI type identification precision is not high.
And in embodiments of the invention, by parsing the public network IP of terminal transmission request message, because network is transported Battalion business distributes the exclusive IP address difference to fixed network broadband and mobile network, and network class is obtained according to public network IP Type, effectively lift WIFI type identification precision.
Alternatively, in an embodiment of the present invention, the TCP connections of terminal transmission HTTP request message are obtained Public network IP example:Server can parse the IP address of the TCP connections of terminal transmission HTTP request message, Using the IP address as public network IP, wherein, public network IP is, for example, the public network IP in fixed network broadband, or mobile The public network IP of network, if UNICOM, then the public network IP in fixed network broadband is, for example, 123.138.89.x, if Mobile, then the public network IP in fixed network broadband is, for example, 223.104.11.x, and this is not restricted.
S12:It is corresponding with public network IP with the corresponding relation reading of network type according to public network IP in database Network type.
In an embodiment of the present invention, database can be pre-configured with, alternatively, database includes public network IP fields and network type field, the corresponding relation of public network IP and network type passes through following step in database Rapid configuration:Network type, and starting ip corresponding to network type and termination IP are downloaded from network side;Root The network type field in database is configured according to network type, and according to starting ip, termination IP Public network IP field is configured, configured with the corresponding relation to public network IP and network type.Wherein, Network side is specially Virtual network operator side.
In an embodiment of the present invention, database can be built in end side, can also be built in server side, It is without limitation.
When database is built in end side, the TCP that server gets terminal transmission HTTP request message connects After the public network IP connect, http response message can be generated according to public network IP, http response message is sent To end side, network type corresponding with public network IP is read from database as terminal triggering, or, work as number When being built in server side according to storehouse, server triggers read network class corresponding with public network IP from database Type, and http response message is generated according to public network IP and network type, http response message was sent to end Side, so that WIFI types to be identified, this is not restricted.
In an embodiment of the present invention, network type includes fixed network broadband and mobile network, can be from database It is middle to read network type corresponding with public network IP, for example, when starting ip of the public network IP in UNICOM's fixed network broadband During with the range of termination IP, it is possible to determine that the network type of the public network IP is fixed network broadband, works as public network IP In the starting ip of mobile network and when terminating in the range of IP, it is possible to determine that the network type of the public network IP is Mobile network.
S13:WIFI types are identified according to network type.
Alternatively, WIFI types are identified according to network type, including:If network type is fixed network Broadband, then the WIFI types for judging WIFI hot spot to be identified are rooting hotspot;If network type is movement Network, then the WIFI types for judging WIFI hot spot to be identified are terminal focus.
In the present embodiment, by after terminal accesses WIFI hot spot to be identified, obtaining terminal transmission request message Public network IP, and the WIFI types of WIFI hot spot to be identified are identified according to public network IP, Neng Gouyou The accuracy of effect lifting WIFI type identifications, lifts Consumer's Experience.
Fig. 2 is the schematic flow sheet of the method for the identification WIFI types that another embodiment of the present invention proposes.This reality Example is applied to be configured as illustrating in the device of identification WIFI types in the method for identification WIFI types.
Referring to Fig. 2, the method for identification WIFI types can include:
S201:Network type, and starting ip corresponding to network type and termination IP are downloaded from network side.
Wherein, network side is specially Virtual network operator side.Can be from contained network above and below the official website of Virtual network operator side Network type, or technology can also be crawled using data and downloads network type from network side, this is not restricted.
In an embodiment of the present invention, the IP address in starting ip corresponding to network type and termination IP scopes, It can be the exclusive IP address of Virtual network operator distribution, be risen corresponding to the network type of different Virtual network operators Beginning IP is different with IP is terminated.
S202:The network type field in database is configured according to network type, and according to starting IP, termination IP configure to public network IP field.
By obtaining network type in advance, and starting ip corresponding to network type and IP is terminated, and according to Network type configures to the network type field in database, and according to starting ip, IP pairs of termination Public network IP field is configured, and is configured with the corresponding relation to public network IP and network type, due to not Starting ip corresponding to the network type of same Virtual network operator is different with IP is terminated, can be according in database Field precise positioning to network type, accuracy of identification is high.
S203:Obtain the public network IP of terminal transmission request message.
Wherein, request message is used for the WIFI types for obtaining WIFI hot spot to be identified.
S204:It is corresponding with public network IP according to public network IP and the corresponding relation reading of network type in database Network type.
S205:If network type is fixed network broadband, the WIFI types for judging WIFI hot spot to be identified are Rooting hotspot.
S206:If network type is mobile network, the WIFI types for judging WIFI hot spot to be identified are Terminal focus.
In an embodiment of the present invention, network type includes fixed network broadband and mobile network, can be from database It is middle to read network type corresponding with public network IP, for example, when starting ip of the public network IP in UNICOM's fixed network broadband During with the range of termination IP, it is possible to determine that the network type of the public network IP is fixed network broadband, works as public network IP In the starting ip of mobile network and when terminating in the range of IP, it is possible to determine that the network type of the public network IP is Mobile network.
S207:The prompt message that network is terminal focus that currently networked for warning terminal user is generated, and will Prompt message is shown to terminal user.
In an embodiment of the present invention, prompt message is used for the current network that networks of warning terminal user for terminal heat Point.
It is understood that because the net spee of the mobile network of terminal focus offer is not high, and, at end Terminate in WIFI network, application can be automatically updated, expend data traffic, therefore, in terminal access When WIFI hot spot is mobile network, user has the demand for disconnecting WIFI hot spot.
Alternatively, prompt message can also include whether warning terminal user needs to disconnect the letter of the terminal focus Breath, and the entrance for being supplied to user to select, for example, disconnect or connect, if user selects to disconnect, Triggering terminal disconnects the connection of WIFI hot spot, if user selects connection, keeps terminal to connect the WIFI Focus, this is not restricted.
By the way that current networked network is shown into terminal user for the prompt message of terminal focus, determined by user Whether keep terminal to connect the WIFI hot spot, can user select keep terminal connect the WIFI hot spot when, The continuity of terminal access network is kept, when user selects disconnected end to connect the WIFI hot spot, is effectively saved About data traffic, realize and choose whether to keep connecting the WIFI hot spot according to the demand of user, lift this method Using flexible, and lifting user usage experience.
In the present embodiment, due to starting ip corresponding to the network type of different Virtual network operators and IP is terminated Difference, can be high according to the field precise positioning in database to network type, accuracy of identification.By ought Preceding networked network is shown to terminal user for the prompt message of terminal focus, is decided whether to keep terminal by user The WIFI hot spot is connected, when user selects to keep terminal to connect the WIFI hot spot terminal can be kept to visit The continuity of network is asked, when user selects disconnected end to connect the WIFI hot spot, effectively save data traffic, Realize and choose whether to keep connecting the WIFI hot spot according to the demand of user, lift the using flexible of this method Property, and the usage experience of lifting user.By after terminal accesses WIFI hot spot to be identified, obtaining terminal The public network IP of request message is transmitted, and the WIFI types of WIFI hot spot to be identified are carried out according to public network IP Identification, the accuracy of WIFI type identifications can be effectively lifted, lift Consumer's Experience.
Fig. 3 is the schematic flow sheet of the method for the identification WIFI types that another embodiment of the present invention proposes.This reality Example is applied to be configured as illustrating in the device of identification WIFI types in the method for identification WIFI types.
Referring to Fig. 3, in the embodiment depicted in figure 2 after S206, the method for identification WIFI types may be used also With including:
S301:The machine IP for the terminal for accessing WIFI hot spot to be identified is obtained, and obtains default terminal operation System distributes IP scopes.
Wherein, it is android system or IOS systems to preset terminal operating system.
In an embodiment of the present invention, the machine IP is specially the dynamic that WIFI hot spot to be identified distributes to terminal IP.It can be, for example, the fixation IP of android system or IOS systems in correlation technique that IP scopes, which can be distributed, Address realm.
S302:Judge whether the machine IP can be being distributed in the range of IP.
It is alternatively possible to the IP scopes of distributing of default terminal operating system are pre-stored in database, from number IP scopes can be distributed according to being read in storehouse, or, can also be crawled from network side can distribute IP scopes, to this It is not restricted.
S303:When the machine IP can be being distributed in the range of IP, the WIFI classes of WIFI hot spot to be identified are judged Type is terminal focus.
It is alternatively possible to whether can distributed according to the machine IP in the range of IP, to judge WIFI heat to be identified The WIFI types of point are terminal focus.
In the present embodiment, by when network type is mobile network, further combined with WIFI hot spot to be identified The dynamic IP of terminal is distributed to identify the WIFI types of WIFI hot spot to be identified, further enhancing WIFI The accuracy of type identification.
Fig. 4 is the schematic flow sheet of the method for the identification WIFI types that another embodiment of the present invention proposes.This reality Example is applied to be configured as illustrating in the device of identification WIFI types in the method for identification WIFI types.
Referring to Fig. 4, in the embodiment shown in fig. 3 after S303, the method for identification WIFI types may be used also With including:
S401:All WIFI hot spots in current environment where traversal terminal, detect WIFI hot spot successively WIFI types, obtain testing result.
In an embodiment of the present invention, when terminal is moved to another WIFI environment by user, terminal is swept again The available WIFI hot spot in WIFI environment is retouched, and the WIFI hot spot in wlan network list interface is carried out Renewal, all WIFI hot spots after then traversal renewal, detects the WIFI types of WIFI hot spot, obtains successively Take testing result.
S402:When in testing result comprising the WIFI hot spot that network type is fixed network, network class is accessed Type is the WIFI hot spot of fixed network.
In the present embodiment, when can have the WIFI hot spot of fixed network in WIFI environment is detected, access Network type is the WIFI hot spot of fixed network, can avoid the consume of the data traffic of mobile network, is lifted Consumer's Experience.
Fig. 5 is the structural representation of the device for the identification WIFI types that one embodiment of the invention proposes.The identification The device of WIFI types can be implemented in combination with by software, hardware or both.
Referring to Fig. 5, the device 50 of identification WIFI types can include:Acquisition module 51, read module 52, and identification module 53.
Acquisition module 51, for after terminal accesses WIFI hot spot to be identified, obtaining terminal transmission request report The public network IP of text, wherein, request message is used for the WIFI types for obtaining WIFI hot spot to be identified.
Read module 52, in database according to the corresponding relation of public network IP and network type read with Network type corresponding to public network IP.
Identification module 53, for WIFI types to be identified according to network type.
Alternatively, network type includes fixed network broadband and mobile network, and identification module 53 is additionally operable in network class When type is fixed network broadband, the WIFI types for judging WIFI hot spot to be identified are rooting hotspot;In network type For mobile network when, the WIFI types for judging WIFI hot spot to be identified are terminal focus.
Alternatively, identification module 53 is additionally operable to obtain the machine IP for the terminal for accessing WIFI hot spot to be identified, And obtain default terminal operating system distributes IP scopes;Judge whether the machine IP can distribute IP scopes It is interior;When the machine IP can be being distributed in the range of IP, the WIFI types for judging WIFI hot spot to be identified are end Hold focus.
Alternatively, database includes public network IP field and network type field, in some embodiments, referring to Fig. 6, the device 50 of identification WIFI types can also include:
Download module 54, for downloading network type, and starting ip corresponding to network type from network side With termination IP.
Configuration module 55, for being configured according to network type to the network type field in database, with And according to starting ip, terminate IP public network IP field configured, with to public network IP and network type Corresponding relation is configured.
Alternatively, it is android system or IOS systems to preset terminal operating system.
Reminding module 56, it is used for the current prompting that network is terminal focus that networks of warning terminal user for generating Information, and presentation of information is will be prompted to terminal user.
Spider module 57, for traveling through all WIFI hot spots in the current environment where the terminal, according to The WIFI types of the secondary detection WIFI hot spot, obtain testing result.
AM access module 58, for including the WIFI that the network type is fixed network in the testing result During focus, the WIFI hot spot that the network type is fixed network is accessed.
It should be noted that the foregoing explanation to identifying the embodiment of the method for WIFI types is also applied for this The device 50 of the identification WIFI types of embodiment, its realization principle is similar, and here is omitted.
In the present embodiment, due to starting ip corresponding to the network type of different Virtual network operators and IP is terminated Difference, can be high according to the field precise positioning in database to network type, accuracy of identification.By ought Preceding networked network is shown to terminal user for the prompt message of terminal focus, is decided whether to keep terminal by user The WIFI hot spot is connected, when user selects to keep terminal to connect the WIFI hot spot terminal can be kept to visit The continuity of network is asked, when user selects disconnected end to connect the WIFI hot spot, effectively save data traffic, Realize and choose whether to keep connecting the WIFI hot spot according to the demand of user, lift the using flexible of this method Property, and the usage experience of lifting user.By after terminal accesses WIFI hot spot to be identified, obtaining terminal The public network IP of request message is transmitted, and the WIFI types of WIFI hot spot to be identified are carried out according to public network IP Identification, the accuracy of WIFI type identifications can be effectively lifted, lift Consumer's Experience.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for retouching Purpose is stated, and it is not intended that instruction or hint relative importance.In addition, in the description of the invention, remove Non- to be otherwise noted, " multiple " are meant that two or more.
Any process or method described otherwise above description in flow chart or herein is construed as, table Show the code of the executable instruction including one or more the step of being used to realize specific logical function or process Module, fragment or part, and the scope of the preferred embodiment of the present invention includes other realization, its In can not press order that is shown or discussing, including according to involved function by it is basic and meanwhile in the way of or In the opposite order, perform function is carried out, this should be by embodiments of the invention person of ordinary skill in the field Understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof. In the above-described embodiment, multiple steps or method can be held in memory and by suitable instruction with storage The software or firmware that row system performs are realized.If for example, realized with hardware, and in another embodiment party It is the same in formula, it can be realized with any one of following technology well known in the art or their combination:Have For the discrete logic for the logic gates that logic function is realized to data-signal, there is suitable combination The application specific integrated circuit of logic gates, programmable gate array (PGA), field programmable gate array (FPGA) Deng.
Those skilled in the art are appreciated that to realize the whole or portion that above-described embodiment method carries It is that by program the hardware of correlation can be instructed to complete step by step, described program can be stored in a kind of meter In calculation machine readable storage medium storing program for executing, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, Can also be that unit is individually physically present, can also two or more units be integrated in a module In.Above-mentioned integrated module can both be realized in the form of hardware, can also use software function module Form is realized.If the integrated module is realized in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", The description of " specific example " or " some examples " etc. means to combine the specific spy that the embodiment or example describe Sign, structure, material or feature are contained at least one embodiment or example of the present invention.In this explanation In book, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.Moreover, retouch Specific features, structure, material or the feature stated can be in any one or more embodiments or example Combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment It is exemplary, it is impossible to be interpreted as limitation of the present invention, one of ordinary skill in the art is the present invention's In the range of above-described embodiment can be changed, change, replace and modification.

Claims (14)

  1. A kind of 1. method of identification WIFI types, it is characterised in that comprise the following steps:
    After terminal accesses WIFI hot spot to be identified, the public network IP of the terminal transmission request message is obtained, Wherein, the request message is used for the WIFI types for obtaining the WIFI hot spot to be identified;
    Read and the public network IP pair according to the corresponding relation of the public network IP and network type in database The network type answered;And
    The WIFI types are identified according to the network type.
  2. 2. the method for identification WIFI types as claimed in claim 1, it is characterised in that the network class Type includes fixed network broadband and mobile network, described that the WIFI types are known according to the network type Not, including:
    If the network type is fixed network broadband, the WIFI types of the WIFI hot spot to be identified are judged For rooting hotspot;
    If the network type is mobile network, the WIFI types of the WIFI hot spot to be identified are judged For terminal focus.
  3. 3. the method for identification WIFI types as claimed in claim 2, it is characterised in that if the institute Network type is stated as after mobile network, in addition to:
    The machine IP of the terminal of the access WIFI hot spot to be identified is obtained, and obtains default terminal operation system System distributes IP scopes;
    Judge whether the machine IP is distributed in the range of IP described;
    When the machine IP is in described distribute in the range of IP, the WIFI hot spot to be identified is judged WIFI types are terminal focus.
  4. 4. the method for identification WIFI types as claimed in claim 1, it is characterised in that the database Include public network IP field and network type field, public network IP described in the database and network type Corresponding relation is configured by following steps:
    The network type, and starting ip corresponding to the network type and termination IP are downloaded from network side;
    The network type field in the database is configured according to the network type, Yi Jigen The public network IP field is configured according to the starting ip, the termination IP, with to the public network IP Configured with the corresponding relation of network type.
  5. 5. the method for identification WIFI types as claimed in claim 3, it is characterised in that the default end It is android system or IOS systems to hold operating system.
  6. 6. the method for identification WIFI types as claimed in claim 3, it is characterised in that in the judgement The WIFI types of the WIFI hot spot to be identified be terminal focus after, in addition to:
    Generate the network that currently networked for warning terminal user and be the prompt message of terminal focus, and carried described Show presentation of information to the terminal user.
  7. 7. the method for identification WIFI types as claimed in claim 1, it is characterised in that also include:
    All WIFI hot spots in the current environment where the terminal are traveled through, detect the WIFI heat successively The WIFI types of point, obtain testing result;
    When in the testing result comprising the WIFI hot spot that the network type is fixed network, described in access Network type is the WIFI hot spot of fixed network.
  8. A kind of 8. device of identification WIFI types, it is characterised in that including:
    Acquisition module, for after terminal accesses WIFI hot spot to be identified, obtaining the terminal transmission request report The public network IP of text, wherein, the request message is used for the WIFI types for obtaining the WIFI hot spot to be identified;
    Read module, in database according to the corresponding relation of the public network IP and network type read with Network type corresponding to the public network IP;And
    Identification module, for the WIFI types to be identified according to the network type.
  9. 9. the device of identification WIFI types as claimed in claim 8, it is characterised in that the network class Type includes fixed network broadband and mobile network, and the identification module is additionally operable to:
    If the network type is fixed network broadband, the WIFI types of the WIFI hot spot to be identified are judged For rooting hotspot;
    If the network type is mobile network, the WIFI types of the WIFI hot spot to be identified are judged For terminal focus.
  10. 10. the device of identification WIFI types as claimed in claim 9, it is characterised in that the identification mould Block is additionally operable to:
    The machine IP of the terminal of the access WIFI hot spot to be identified is obtained, and obtains default terminal operation system System distributes IP scopes;
    Judge whether the machine IP is distributed in the range of IP described;
    When the machine IP is in described distribute in the range of IP, the WIFI hot spot to be identified is judged WIFI types are terminal focus.
  11. 11. the device of identification WIFI types as claimed in claim 8, it is characterised in that the database Include public network IP field and network type field, in addition to:
    Download module, for downloading the network type from network side, and risen corresponding to the network type Beginning IP and termination IP;
    Configuration module, for being entered according to the network type to the network type field in the database Row configuration, and the public network IP field is configured according to the starting ip, the termination IP, with The corresponding relation of the public network IP and network type is configured.
  12. 12. the device of identification WIFI types as claimed in claim 10, it is characterised in that described default Terminal operating system is android system or IOS systems.
  13. 13. the device of identification WIFI types as claimed in claim 10, it is characterised in that also include:
    Reminding module, it is used for the current prompting letter that network is terminal focus that networks of warning terminal user for generating Breath, and the prompt message is shown to the terminal user.
  14. 14. the device of identification WIFI types as claimed in claim 8, it is characterised in that also include:
    Spider module, for traveling through all WIFI hot spots in the current environment where the terminal, examine successively The WIFI types of the WIFI hot spot are surveyed, obtain testing result;
    AM access module, for including WIFI heat of the network type for fixed network in the testing result During point, the WIFI hot spot that the network type is fixed network is accessed.
CN201610351414.8A 2016-05-24 2016-05-24 The method and apparatus for identifying WIFI types Pending CN107426746A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610351414.8A CN107426746A (en) 2016-05-24 2016-05-24 The method and apparatus for identifying WIFI types
PCT/CN2016/103281 WO2017201961A1 (en) 2016-05-24 2016-10-25 Method and device for identifying wi-fi type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610351414.8A CN107426746A (en) 2016-05-24 2016-05-24 The method and apparatus for identifying WIFI types

Publications (1)

Publication Number Publication Date
CN107426746A true CN107426746A (en) 2017-12-01

Family

ID=60410937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610351414.8A Pending CN107426746A (en) 2016-05-24 2016-05-24 The method and apparatus for identifying WIFI types

Country Status (2)

Country Link
CN (1) CN107426746A (en)
WO (1) WO2017201961A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451518A (en) * 2018-12-27 2019-03-08 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of distinguishing terminal access WLAN mode
CN109743745A (en) * 2019-02-19 2019-05-10 北京三快在线科技有限公司 The recognition methods of mobile network's access style, device, electronic equipment and storage medium
CN109982413A (en) * 2019-02-19 2019-07-05 北京三快在线科技有限公司 Recognition methods, device, electronic equipment and the storage medium of mobile hot spot
CN111866854A (en) * 2019-04-28 2020-10-30 北京数安鑫云信息技术有限公司 Automatic application updating method, device and system and computer equipment
CN112235849A (en) * 2020-10-19 2021-01-15 展讯半导体(成都)有限公司 Method, system, electronic device, and medium for identifying Wi-Fi hotspot type

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314489B (en) * 2020-03-19 2022-04-01 腾讯科技(深圳)有限公司 Method, server and device for identifying type of access network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008132414A1 (en) * 2007-03-30 2008-11-06 France Telecom Method for managing a plurality of audiovisual sessions in an ip network and related control system
CN103281799A (en) * 2013-05-31 2013-09-04 Tcl通讯(宁波)有限公司 Network connection switching method based on mobile phone hot spots and mobile phone
CN104639672A (en) * 2015-02-12 2015-05-20 广州华多网络科技有限公司 Method and device for domain name resolution (DNS)
CN104640114A (en) * 2015-01-04 2015-05-20 中国联合网络通信集团有限公司 Verification method and device of access request
CN104837179A (en) * 2015-04-02 2015-08-12 广东欧珀移动通信有限公司 Method and device for displaying wireless hotspot equipment producer information
CN105337804A (en) * 2015-11-20 2016-02-17 南京中科创达软件科技有限公司 Hot spot sharing method based on mobile terminal
CN105430713A (en) * 2015-11-30 2016-03-23 东莞酷派软件技术有限公司 Identification method of wireless fidelity WiFi hotspot and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007113429A1 (en) * 2006-03-31 2007-10-11 France Telecom Method and device for managing information for a multinetwork terminal
CN101094239B (en) * 2007-08-09 2012-05-23 中兴通讯股份有限公司 Method for registering and processing communication in multiple networks
CN104349401B (en) * 2013-09-03 2018-10-16 广州三星通信技术研究有限公司 Device and method for adjusting data policy in the terminal
CN104185294B (en) * 2014-08-04 2018-01-30 广东欧珀移动通信有限公司 The recognition methods of mobile phone focus and identification device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008132414A1 (en) * 2007-03-30 2008-11-06 France Telecom Method for managing a plurality of audiovisual sessions in an ip network and related control system
CN103281799A (en) * 2013-05-31 2013-09-04 Tcl通讯(宁波)有限公司 Network connection switching method based on mobile phone hot spots and mobile phone
CN104640114A (en) * 2015-01-04 2015-05-20 中国联合网络通信集团有限公司 Verification method and device of access request
CN104639672A (en) * 2015-02-12 2015-05-20 广州华多网络科技有限公司 Method and device for domain name resolution (DNS)
CN104837179A (en) * 2015-04-02 2015-08-12 广东欧珀移动通信有限公司 Method and device for displaying wireless hotspot equipment producer information
CN105337804A (en) * 2015-11-20 2016-02-17 南京中科创达软件科技有限公司 Hot spot sharing method based on mobile terminal
CN105430713A (en) * 2015-11-30 2016-03-23 东莞酷派软件技术有限公司 Identification method of wireless fidelity WiFi hotspot and terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451518A (en) * 2018-12-27 2019-03-08 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of distinguishing terminal access WLAN mode
CN109451518B (en) * 2018-12-27 2022-07-15 青岛海信移动通信技术股份有限公司 Method and equipment for distinguishing WLAN access mode of terminal
CN109743745A (en) * 2019-02-19 2019-05-10 北京三快在线科技有限公司 The recognition methods of mobile network's access style, device, electronic equipment and storage medium
CN109982413A (en) * 2019-02-19 2019-07-05 北京三快在线科技有限公司 Recognition methods, device, electronic equipment and the storage medium of mobile hot spot
WO2020168768A1 (en) * 2019-02-19 2020-08-27 北京三快在线科技有限公司 Mobile network access type identification
CN109743745B (en) * 2019-02-19 2021-01-22 北京三快在线科技有限公司 Mobile network access type identification method and device, electronic equipment and storage medium
CN111866854A (en) * 2019-04-28 2020-10-30 北京数安鑫云信息技术有限公司 Automatic application updating method, device and system and computer equipment
CN111866854B (en) * 2019-04-28 2023-04-18 北京数安鑫云信息技术有限公司 Automatic application updating method, device and system and computer equipment
CN112235849A (en) * 2020-10-19 2021-01-15 展讯半导体(成都)有限公司 Method, system, electronic device, and medium for identifying Wi-Fi hotspot type

Also Published As

Publication number Publication date
WO2017201961A1 (en) 2017-11-30

Similar Documents

Publication Publication Date Title
CN107426746A (en) The method and apparatus for identifying WIFI types
JP6270066B2 (en) Brand self-identification and installation of branded firmware on generic electronic devices
CN107404481B (en) User information recognition methods and device
CN103563414B (en) Mobile network operator identifies
CN106528432A (en) Construction method and apparatus for test scene data, and buried point test method
US20140348152A1 (en) Terminal and a manager for discovering and accessing local services via wifi hotspots
KR100697174B1 (en) Local and remote access to radio parametric and regulatory data and methods therefor
CN106341438A (en) Request processing method and device
CN105101271B (en) Access device information methods of exhibiting and device
US20150135087A1 (en) User interface for sensor system
RU2607615C2 (en) Methods and apparatus for obtaining service
CN102571956A (en) Correlation identification table updating method, correlation identification method, device and system
CN110769052B (en) Channel information determination method and device, storage medium and electronic device
CN104021218A (en) Information display method and device
WO2015073756A1 (en) Context-based selection of instruction sets for connecting through captive portals
CN103427994A (en) Method and device for user recognition
CN106658358A (en) Network sharing method, network sharing device and terminal
CN108337308A (en) LWM2M clients and host computer data communications method, device and its system
CN109982152A (en) P2P CDN method for processing business, intelligent gateway and CDN platform
WO2019184009A1 (en) Network access method and terminal device
CN109271778B (en) Using installation source differentiating method, electronic equipment and computer storage medium
CN109451518B (en) Method and equipment for distinguishing WLAN access mode of terminal
CN104767827A (en) Application starting method and device
CN103973753B (en) A kind of method and apparatus of data processing
CN109951549B (en) Network page access method and device and computer readable storage medium

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200602