CN105282821A - Terminal and method for connecting the terminal with wireless fidelity WiFi access point - Google Patents

Terminal and method for connecting the terminal with wireless fidelity WiFi access point Download PDF

Info

Publication number
CN105282821A
CN105282821A CN201410349186.1A CN201410349186A CN105282821A CN 105282821 A CN105282821 A CN 105282821A CN 201410349186 A CN201410349186 A CN 201410349186A CN 105282821 A CN105282821 A CN 105282821A
Authority
CN
China
Prior art keywords
hotspot
terminal
preset range
information
network address
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.)
Withdrawn
Application number
CN201410349186.1A
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 CN201410349186.1A priority Critical patent/CN105282821A/en
Priority to PCT/CN2014/092022 priority patent/WO2015117467A1/en
Publication of CN105282821A publication Critical patent/CN105282821A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The embodiment of the invention discloses a terminal and a method for connecting the terminal with a WiFi access point. The method comprises steps that the terminal sends a verification message to a preset network address after being connected with the WiFi access point; and the terminal confirms that the data service of the WiFi access point is available and displays that the terminal is successfully connected with the WiFi access point when receiving a verification reply message returned from the preset network address within preset time.

Description

A kind of terminal and terminal connect the method for Wireless Fidelity Wi-Fi hotspot
Technical field
The present invention relates to the Network Connection of mobile terminal, particularly relate to a kind of method of terminal and terminal connection Wireless Fidelity (WiFi, WirelessFidelity) focus.
Background technology
Current nearly all mobile terminal can carry out data service by connecting Wi-Fi hotspot, but not all Wi-Fi hotspot can both provide data service for mobile terminal; Although that is terminal normally connects upper Wi-Fi hotspot, terminal still cannot by the Wi-Fi hotspot browsing page etc. connected.Such situation is more common in some specific internal network among a small circle, the internal network etc. of such as certain company.Above-mentioned situation can make terminal in connection after Wi-Fi hotspot, to be needed user to pass through manually to carry out network data access practically and can learn whether the Wi-Fi hotspot that mobile terminal connects provides data service.Add mobile phone users and understand the complexity whether Wi-Fi hotspot possesses data services capability.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention is expected to provide a kind of terminal and terminal to connect the method for Wi-Fi hotspot, can simplify mobile phone users and understand the complexity whether Wi-Fi hotspot possesses data services capability.
Technical scheme of the present invention is achieved in that
First aspect, embodiments provide a kind of method that terminal connects Wi-Fi hotspot, described method comprises:
Terminal after Wi-Fi hotspot, sends checking message in connection to the network address of presetting;
When described terminal receive within the time limit of presetting checking that the described default network address returns reply message time, described in described terminal check, the data service of Wi-Fi hotspot can be used, and illustrates that described terminal successfully connects described Wi-Fi hotspot.
Alternatively, described terminal sends checking message to the network address of presetting, and comprising:
Described terminal sends Internet Control Message Protocol ICMP message to the described default network address, and described ICMP message is for confirming the accessibility of the described default network address.
Alternatively, before described terminal connects described Wi-Fi hotspot, described method also comprises:
Wi-Fi hotspot around described terminal scanning in preset range, and the Wi-Fi hotspot link information obtained in described preset range, wherein, the Wi-Fi hotspot link information in described preset range comprises the signal strength signal intensity of the Wi-Fi hotspot in the safe mode indication information of the Wi-Fi hotspot in the identification information of the Wi-Fi hotspot in described preset range, described preset range and described preset range;
The Wi-Fi hotspot stated in preset range arranges according to the Wi-Fi hotspot link information in described preset range and default priority rule by described terminal, generates Wi-Fi hotspot list to be connected;
Described terminal connects the highest Wi-Fi hotspot of described Wi-Fi hotspot list medium priority.
Alternatively, when described terminal does not connect the highest Wi-Fi hotspot of upper described priority, or within the time limit of presetting, not receiving checking that the described network address returns when replying message, described method also comprises: described terminal connects the high Wi-Fi hotspot of described Wi-Fi hotspot list medium priority second.
Alternatively, the Wi-Fi hotspot stated in preset range arranges according to the link information of the Wi-Fi hotspot in described preset range and default priority rule by described terminal, generates Wi-Fi hotspot list to be connected, comprising:
The identification information of the Wi-Fi hotspot in described preset range mates with the Wi-Fi hotspot information of self preserving by described terminal, obtain the Wi-Fi hotspot that described terminal once connected in described preset range, and the Wi-Fi hotspot once connected in described preset range is arranged according to default putting in order, form the first Wi-Fi hotspot set, wherein, the Wi-Fi hotspot information that described terminal self is preserved comprises the identification information of the Wi-Fi hotspot that described terminal self is preserved, the safe mode indication information of the Wi-Fi hotspot that described terminal self is preserved, the authentication information of the Wi-Fi hotspot that described terminal self is preserved, the opening time that the Wi-Fi hotspot that described terminal is preserved with self is connected for the last time,
Described terminal will not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information be empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the second Wi-Fi hotspot set;
Described terminal will not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information for empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the 3rd Wi-Fi hotspot set;
Described terminal arranges according to the order of described first Wi-Fi hotspot set, described second Wi-Fi hotspot set and the 3rd Wi-Fi hotspot set, generates described Wi-Fi hotspot list to be connected.
Alternatively, described the Wi-Fi hotspot once connected in described preset range put in order arrange according to what preset, form the first Wi-Fi hotspot set, comprising:
The signal strength signal intensity of the Wi-Fi hotspot once connected in described preset range and described terminal are sued for peace with the opening time that the Wi-Fi hotspot be once connected in described preset range connects for the last time by described terminal, draw the order weights of the Wi-Fi hotspot once connected in described preset range;
The Wi-Fi hotspot once connected in described preset range arranges according to the order weights of the Wi-Fi hotspot once connected in described preset range are descending by described terminal, forms described first Wi-Fi hotspot set.
Second aspect, embodiments provides a kind of terminal, and described terminal comprises: linkage unit, transmitting element, receiving element, confirmation unit and Tip element, wherein,
Described linkage unit, for connecting Wi-Fi hotspot;
Described transmitting element, after connecting Wi-Fi hotspot at described linkage unit, sends checking message to the network address of presetting;
Described receiving element, message is replied in the checking returned for receiving the described network address;
Described determining unit, when message is replied in the checking returned, confirms that the data service of described Wi-Fi hotspot can be used for receiving the described network address within the time limit of presetting when described receiving element, and trigger prompts unit;
Described Tip element, for illustrating that described terminal successfully connects described Wi-Fi hotspot.
Alternatively, described transmitting element, for sending Internet Control Message Protocol ICMP message to the described default network address, described ICMP message is for confirming the accessibility of the described default network address.
Alternatively, described terminal also comprises acquiring unit and generation unit, wherein,
Described acquiring unit, for scanning the Wi-Fi hotspot in around preset range, and the Wi-Fi hotspot link information obtained in described preset range, wherein, the Wi-Fi hotspot link information in described preset range comprises the signal strength signal intensity of the Wi-Fi hotspot in the safe mode indication information of the Wi-Fi hotspot in the identification information of the Wi-Fi hotspot in described preset range, described preset range and described preset range;
Described generation unit, for the Wi-Fi hotspot stated in preset range being arranged according to the Wi-Fi hotspot link information in described preset range and default priority rule, generates Wi-Fi hotspot list to be connected;
Described linkage unit, also for connecting the highest Wi-Fi hotspot of described Wi-Fi hotspot list medium priority.
Alternatively, described linkage unit, also for not connecting the highest Wi-Fi hotspot of upper described priority when described linkage unit, or described receiving element does not receive checking that the described network address returns when replying message within the time limit of presetting, and connects the Wi-Fi hotspot that described Wi-Fi hotspot list medium priority second is high.
Alternatively, described generation unit, for:
The identification information of the Wi-Fi hotspot in described preset range is mated with the Wi-Fi hotspot information of self preserving, obtain the Wi-Fi hotspot that described terminal once connected in described preset range, and the Wi-Fi hotspot once connected in described preset range is arranged according to default putting in order, form the first Wi-Fi hotspot set, wherein, the Wi-Fi hotspot information that described terminal self is preserved comprises the identification information of the Wi-Fi hotspot that described terminal self is preserved, the safe mode indication information of the Wi-Fi hotspot that described terminal self is preserved, the authentication information of the Wi-Fi hotspot that described terminal self is preserved, the opening time that the Wi-Fi hotspot that described terminal is preserved with self is connected for the last time, and,
To not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information be empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the second Wi-Fi hotspot set; And,
To not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information for empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the 3rd Wi-Fi hotspot set; And,
Arrange according to the order of described first Wi-Fi hotspot set, described second Wi-Fi hotspot set and the 3rd Wi-Fi hotspot set, generate described Wi-Fi hotspot list to be connected.
Alternatively, described generation unit, for:
The signal strength signal intensity of the Wi-Fi hotspot once connected in described preset range and described terminal were sued for peace with the opening time that the Wi-Fi hotspot be once connected in described preset range connects for the last time, draws the order weights of the Wi-Fi hotspot once connected in described preset range; And,
The Wi-Fi hotspot once connected in described preset range is arranged according to the order weights of the Wi-Fi hotspot once connected in described preset range are descending, forms described first Wi-Fi hotspot set.
Embodiments provide a kind of method of terminal and terminal connection Wi-Fi hotspot, by terminal in the process connecting Wi-Fi hotspot, this Wi-Fi hotspot is carried out to the availability verification of data service, thus without the need to terminal use manually operate just can understand mobile terminal connect Wi-Fi hotspot whether provide data service.Reduce mobile phone users and understand the complexity whether Wi-Fi hotspot possesses data services capability, improve Consumer's Experience.
Accompanying drawing explanation
The schematic flow sheet of the method for a kind of terminal connection Wi-Fi hotspot that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 determines the schematic flow sheet of the method connecting Wi-Fi hotspot for a kind of terminal that the embodiment of the present invention provides;
Fig. 3 generates the method flow schematic diagram of Wi-Fi hotspot list to be connected for a kind of terminal that the embodiment of the present invention provides;
The structural representation of a kind of terminal that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of terminal that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
See Fig. 1, a kind of terminal that it illustrates the embodiment of the present invention provides connects the flow process of the method for Wi-Fi hotspot, in embodiments of the present invention, to enumerate and infinite, described terminal can be the smart mobile phone with WiFi linkage function, panel computer, E-book reader, personal digital assistant (PDA, PersonalDigitalAssistant), point-of-sale terminal (POS, PointofSales), vehicle-mounted computer, dynamic image expert compression standard audio frequency aspect 3 player (MP3, MovingPictureExpertsGroupAudioLayerIII), dynamic image expert compression standard audio frequency aspect 4 (MP4, MovingPictureExpertsGroupAudioLayerIV) player etc., described method can comprise:
S110: terminal after Wi-Fi hotspot, sends checking message in connection to the network address of presetting;
Exemplary, described terminal sends checking message to the network address of presetting, and can comprise:
Described terminal sends Internet Control Message Protocol (ICMP, InternetControlMessageProtocol) message to the described default network address, and described ICMP message is for confirming the accessibility of the described default network address.
Particularly, after terminal connects upper Wi-Fi hotspot, ping order can be sent by the Wi-Fi hotspot connected to the network address of presetting and carry out connectivity checks, thus Wi-Fi hotspot in connection whether supported data business can be verified.Such as, in the present embodiment, the network address that can be public domain to the telecommunication server of this locality or Baidu, Google etc. sends ping order, thus can verify whether Wi-Fi hotspot is communicated with.
S120: when described terminal receive within the time limit of presetting checking that the described default network address returns reply message time, described in described terminal check, the data service of Wi-Fi hotspot can be used, and illustrates that described terminal successfully connects described Wi-Fi hotspot.
Exemplarily, within the time limit of presetting, terminal receives the checking returned by the network address of presetting and replys message, describe between terminal and the default network address and be communicated with, due to the network address of the network address normally public domain of presetting, therefore, can illustrate that the Wi-Fi hotspot that terminal connects can supported data business;
In the present embodiment, because terminal is verified connectedness by ping order, so when terminal preset time limit in receive by the network address of presetting to the response of ping order in, illustrate terminal connection on Wi-Fi hotspot supported data business;
When terminal does not receive by the response of the network address of presetting to ping order within the time limit of presetting, or when the time-out response to ping order of what terminal received the is default network address, the Wi-Fi hotspot not supported data business in terminal connection is described.
It should be noted that, terminal just can on being connected after Wi-Fi hotspot by S110 with S120, automatically the data services capability that whether possesses of Wi-Fi hotspot is judged, thus without the need to after WiFi in connection, manually by carrying out, real data service is next actual to be judged, reduce user and understand the complexity whether Wi-Fi hotspot possesses data services capability, improve Consumer's Experience.
Under normal conditions, terminal is before connection Wi-Fi hotspot, can scan the Wi-Fi hotspot in preset range around self, then to scanning to Wi-Fi hotspot connect, the signal strength signal intensity that described preset range can receive Wi-Fi hotspot by described terminal determines.Therefore, before S110, see Fig. 2, the method can also comprise:
S100: the Wi-Fi hotspot around terminal scanning in preset range, and obtain the Wi-Fi hotspot link information in described preset range;
Exemplarily, the Wi-Fi hotspot link information in described preset range comprises the signal strength signal intensity of the Wi-Fi hotspot in the safe mode indication information of the Wi-Fi hotspot in the identification information of the Wi-Fi hotspot in described preset range, described preset range and described preset range;
Further, in the present embodiment, the identification information of the Wi-Fi hotspot in preset range can with the service set (SSID of this Wi-Fi hotspot, ServiceSetIdentifier) represent, as a rule, SSID can be the name that the owner of Wi-Fi hotspot carries out for this Wi-Fi hotspot, and therefore, SSID can be used for distinguishing different Wi-Fi hotspot;
In the present embodiment, whether the safe mode indication information of the Wi-Fi hotspot in preset range is used for characterizing this Wi-Fi hotspot is open state, such as, when Wi-Fi hotspot just can directly connect without the need to authentication time, the safe mode indication information of this Wi-Fi hotspot can be set to sky; When Wi-Fi hotspot needs authentication to connect time, the safe mode indication information of this Wi-Fi hotspot can be set to 1; The present embodiment does not do concrete restriction to this;
The signal strength signal intensity of the Wi-Fi hotspot in preset range then can represent by the signal to noise ratio that terminal receives this WiFi signal, and the present embodiment does not do concrete restriction to this, and the Wi-Fi hotspot link information in concrete preset range can be as shown in table 1.
Table 1
Can know from table 1, the Wi-Fi hotspot of SSID to be the Wi-Fi hotspot of A and C be open state; The Wi-Fi hotspot signal strength signal intensity of SSID to be the Wi-Fi hotspot signal strength signal intensity of A and B higher than SSID be C and D, therefore, SSID is the signal quality that the signal quality of the Wi-Fi hotspot of A and B is higher than that SSID is the Wi-Fi hotspot of C and D.
S101: the Wi-Fi hotspot stated in preset range arranges according to the Wi-Fi hotspot link information in described preset range and default priority rule by terminal, generates Wi-Fi hotspot list to be connected;
Understandable, the Wi-Fi hotspot information that self all can once connect by usual terminal is preserved, in the present embodiment, the opening time that the Wi-Fi hotspot that the authentication information of the Wi-Fi hotspot that the safe mode indication information of the Wi-Fi hotspot that the Wi-Fi hotspot information that terminal self is preserved comprises the identification information of Wi-Fi hotspot that terminal self preserves, terminal self is preserved, terminal self are preserved, terminal are preserved with self is connected for the last time;
It should be noted that, similar with table 1, in the Wi-Fi hotspot information that terminal self is preserved, the identification information of the Wi-Fi hotspot that terminal self is preserved can represent with the SSID of this Wi-Fi hotspot;
But when to characterize this Wi-Fi hotspot be open state to the safe mode indication information of Wi-Fi hotspot that terminal self is preserved, the safe mode indication information of this Wi-Fi hotspot be empty, and the authentication information of this Wi-Fi hotspot is sky; When to characterize this Wi-Fi hotspot be non-open state to the safe mode indication information of Wi-Fi hotspot that terminal self is preserved, the safe mode indication information of this Wi-Fi hotspot is 1, the authentication information of this Wi-Fi hotspot is the authentication information connecting the use of this Wi-Fi hotspot for the last time, such as password string etc.;
And the opening time that the Wi-Fi hotspot that terminal is preserved with self is connected for the last time can be current time and terminal are connected the moment of disconnection for the last time time period with this Wi-Fi hotspot.
Particularly, the Wi-Fi hotspot information that terminal self is preserved can be as shown in table 2:
Table 2
Can learn from table 2, SSID is that the Wi-Fi hotspot of A is in open state, is connected before one day with terminal; SSID is that the Wi-Fi hotspot of B is in non-open state, and authentication information is be connected with terminal before 123456, three days; SSID is that the Wi-Fi hotspot of E is in open state, is connected before five days with terminal; SSID is that the Wi-Fi hotspot of F is in non-open state, and authentication information is be connected with terminal before 253614, two days; SSID is that the Wi-Fi hotspot of G is in open state, is connected before six days with terminal.
Further, in the present embodiment, the link information of the Wi-Fi hotspot in the preset range that the Wi-Fi hotspot information of preserving in conjunction with terminal self and terminal acquire, see Fig. 3, step S101 specifically can comprise:
S1011: the identification information of the Wi-Fi hotspot in preset range mates with the Wi-Fi hotspot information of self preserving by terminal, obtain the Wi-Fi hotspot that terminal once connected in described preset range, and the Wi-Fi hotspot once connected in described preset range is arranged according to default putting in order, form the first Wi-Fi hotspot set;
In the present embodiment, the identification information of the Wi-Fi hotspot in table 1 can mate with the Wi-Fi hotspot information in table 2 by terminal, can learn, SSID is the Wi-Fi hotspot of A with B is the Wi-Fi hotspot that in described preset range, terminal was once connected;
Particularly, the Wi-Fi hotspot once connected in described preset range arranges according to default putting in order by terminal, forms the first Wi-Fi hotspot set, comprising:
The signal strength signal intensity of the Wi-Fi hotspot once connected in described preset range and described terminal are sued for peace with the opening time that the Wi-Fi hotspot be once connected in described preset range connects for the last time by terminal, draw the order weights of the Wi-Fi hotspot once connected in described preset range; And
The Wi-Fi hotspot once connected in described preset range arranges according to the order weights of the Wi-Fi hotspot once connected in described preset range are descending by terminal, forms described first Wi-Fi hotspot set.
In the present embodiment, according to table 1, the signal strength signal intensity of to be-45dbm, SSID the be Wi-Fi hotspot of B that SSID is the signal strength signal intensity of the Wi-Fi hotspot of A is-50dbm; According to table 2, SSID is that the Wi-Fi hotspot of A is open state and was connected with terminal before one day, SSID is that the Wi-Fi hotspot of B is non-open state and was connected with terminal before three days, and therefore, in the first Wi-Fi hotspot set, the SSID of Wi-Fi hotspot is: A, B.
S1012: terminal did not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information be empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the second Wi-Fi hotspot set;
In the present embodiment, known to S1011 and table 1, SSID is that the Wi-Fi hotspot of C and E did not all carry out link with terminal, and these two Wi-Fi hotspot are open state, therefore, the signal strength signal intensity of the Wi-Fi hotspot of E that to be the signal strength signal intensity of the Wi-Fi hotspot of C according to SSID higher than SSID be, therefore, in the second Wi-Fi hotspot set, the SSID of Wi-Fi hotspot is: C, E.
S1013: terminal did not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information for empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the 3rd Wi-Fi hotspot set;
In the present embodiment, known to S1011, S1012 and table 1, SSID is that the Wi-Fi hotspot of D and F did not all carry out link with terminal, and these two Wi-Fi hotspot are non-open state, therefore, the signal strength signal intensity of the Wi-Fi hotspot of D that to be the signal strength signal intensity of the Wi-Fi hotspot of F according to SSID higher than SSID be, therefore, in the 3rd Wi-Fi hotspot set, the SSID of Wi-Fi hotspot is: F, D.
S1014: terminal arranges according to the order of described first Wi-Fi hotspot set, described second Wi-Fi hotspot set and the 3rd Wi-Fi hotspot set, generates Wi-Fi hotspot list to be connected;
In the present embodiment, associative list 1 and above-mentioned three Wi-Fi hotspot set, can learn, Wi-Fi hotspot list to be connected is: A, B, C, E, F, D.
S102: terminal connects the highest Wi-Fi hotspot of described Wi-Fi hotspot list medium priority.
In the present embodiment, first terminal is that the Wi-Fi hotspot of A is connected with SSID; The process that concrete connection procedure and terminal under normal circumstances connect Wi-Fi hotspot is consistent, is the routine techniques means of those skilled in the art, does not repeat them here.
Further, after terminal connects the highest Wi-Fi hotspot of upper priority, just can confirm whether the data service of the Wi-Fi hotspot that priority is the highest can be used, and detailed process repeats no more by the step S110 shown in Fig. 1 and S120.
Understandable, when terminal does not connect the highest Wi-Fi hotspot of upper described priority, or terminal is after connecting the highest Wi-Fi hotspot of described priority, according to step S110 and S120 do not receive within the time limit of presetting checking that the described network address returns reply message time, the Wi-Fi hotspot that Wi-Fi hotspot cannot connect or described priority the is the highest not supported data business that described priority is the highest is described, now, described method can also comprise:
Terminal connects the high Wi-Fi hotspot of described Wi-Fi hotspot list medium priority second;
In the present embodiment, the Wi-Fi hotspot of the Wi-Fi hotspot that Wi-Fi hotspot list medium priority second is high to be SSID be B; Understandable, when terminal does not connect the Wi-Fi hotspot that upper SSID is B, or terminal is after connection SSID is the Wi-Fi hotspot of B, according to step S110 and S120 do not receive within the time limit of presetting checking that the described network address returns reply message time, terminal can proceed to connect, till terminal successfully connects upper Wi-Fi hotspot to the Wi-Fi hotspot in list according to the order of described Wi-Fi hotspot list successively.
Present embodiments provide a kind of method that terminal connects Wi-Fi hotspot, by terminal in the process connecting Wi-Fi hotspot, this Wi-Fi hotspot is carried out to the availability verification of data service, thus without the need to user manually operate just can understand terminal connect Wi-Fi hotspot whether provide data service.Reduce terminal use and understand the complexity whether Wi-Fi hotspot possesses data services capability, improve Consumer's Experience.
See Fig. 4, it illustrates the structure of a kind of terminal 40 that the embodiment of the present invention provides, terminal 40 can comprise: linkage unit 401, transmitting element 402, receiving element 403, confirmation unit 404 and Tip element 405, wherein,
Described linkage unit 401, for connecting Wi-Fi hotspot;
Described transmitting element 402, after connecting Wi-Fi hotspot at described linkage unit 401, sends checking message to the network address of presetting;
Described receiving element 403, message is replied in the checking returned for receiving the described network address;
Described determining unit 404, when message is replied in the checking returned, confirms that the data service of described Wi-Fi hotspot can be used for receiving the described network address within the time limit of presetting when described receiving element 403, and trigger prompts unit 405;
Described Tip element 405, for illustrating that described terminal 40 successfully connects described Wi-Fi hotspot.
Exemplarily, transmitting element 402, for sending ICMP message to the described default network address, described ICMP message is for confirming the accessibility of the described default network address.
Particularly, after linkage unit 401 connects upper Wi-Fi hotspot, transmitting element 402 can send ping order by the Wi-Fi hotspot connected to the network address of presetting carry out connectivity checks, thus can verify Wi-Fi hotspot in connection whether supported data business.Such as, in the present embodiment, the network address that transmitting element 402 can be public domain to the telecommunication server of this locality or Baidu, Google etc. sends ping order, thus can verify whether Wi-Fi hotspot is communicated with.
Exemplarily, within the time limit of presetting, receiving element 403 receives the checking returned by the network address of presetting and replys message, describe between terminal 40 with the network address of presetting and be communicated with, due to the network address of the network address normally public domain of presetting, therefore, can illustrate that the Wi-Fi hotspot that linkage unit 401 connects can supported data business;
In the present embodiment, because terminal 40 is verified connectedness by ping order, so when receiving element 403 preset time limit in receive by the network address of presetting to the response of ping order in, illustrate terminal connection on Wi-Fi hotspot supported data business;
When receiving element 403 does not receive by the response of the network address of presetting to ping order within the time limit of presetting, or when the time-out response to ping order of what receiving element 403 received the is default network address, determining unit 404 can also be used for the Wi-Fi hotspot not supported data business determining to connect, and trigger prompts unit 405 illustrates that described terminal 40 can successfully not connect described Wi-Fi hotspot.
Under normal conditions, terminal 40 is before connection Wi-Fi hotspot, can scan the Wi-Fi hotspot in preset range around self, then to scanning to Wi-Fi hotspot connect, the signal strength signal intensity that described preset range can receive Wi-Fi hotspot by described terminal 40 determines.
Therefore, see Fig. 5, terminal 40 can also comprise: acquiring unit 406 and generation unit 407, wherein,
Described acquiring unit 406, for scanning the Wi-Fi hotspot in around preset range, and obtains the Wi-Fi hotspot link information in described preset range;
Described generation unit 407, for the Wi-Fi hotspot stated in preset range being arranged according to the Wi-Fi hotspot link information in described preset range and default priority rule, generates Wi-Fi hotspot list to be connected;
Described linkage unit 401, also for connecting the highest Wi-Fi hotspot of described Wi-Fi hotspot list medium priority.
In addition, described linkage unit 401, also for not connecting the highest Wi-Fi hotspot of upper described priority when described linkage unit 401, or described receiving element 403 does not receive checking that the described network address returns when replying message within the time limit of presetting, and connects the Wi-Fi hotspot that described Wi-Fi hotspot list medium priority second is high.
Exemplarily, the Wi-Fi hotspot link information in described preset range comprises the signal strength signal intensity of the Wi-Fi hotspot in the safe mode indication information of the Wi-Fi hotspot in the identification information of the Wi-Fi hotspot in described preset range, described preset range and described preset range;
Further, in the present embodiment, the identification information of the Wi-Fi hotspot in preset range can with the service set (SSID of this Wi-Fi hotspot, ServiceSetIdentifier) represent, as a rule, SSID can be the name that the owner of Wi-Fi hotspot carries out for this Wi-Fi hotspot, and therefore, SSID can be used for distinguishing different Wi-Fi hotspot;
In the present embodiment, whether the safe mode indication information of the Wi-Fi hotspot in preset range is used for characterizing this Wi-Fi hotspot is open state, such as, when Wi-Fi hotspot just can directly connect without the need to authentication time, the safe mode indication information of this Wi-Fi hotspot can be set to sky; When Wi-Fi hotspot needs authentication to connect time, the safe mode indication information of this Wi-Fi hotspot can be set to 1; The present embodiment does not do concrete restriction to this;
In the present embodiment, the signal strength signal intensity of the Wi-Fi hotspot in preset range then can represent by the signal to noise ratio that receiving element 403 receives this WiFi signal.
Exemplarily, the Wi-Fi hotspot information that self all can once connect by usual terminal 40 is preserved, in the present embodiment, the opening time that the Wi-Fi hotspot that the authentication information of the Wi-Fi hotspot that the safe mode indication information of the Wi-Fi hotspot that the Wi-Fi hotspot information that terminal 40 self is preserved comprises the identification information of Wi-Fi hotspot that terminal 40 self preserves, terminal 40 self is preserved, terminal 40 self are preserved, terminal 40 are preserved with self is connected for the last time;
It should be noted that, in the Wi-Fi hotspot information that terminal 40 self is preserved, the identification information of the Wi-Fi hotspot that terminal 40 self is preserved can represent with the SSID of this Wi-Fi hotspot;
But when to characterize this Wi-Fi hotspot be open state to the safe mode indication information of Wi-Fi hotspot that terminal 40 self is preserved, the safe mode indication information of this Wi-Fi hotspot be empty, and the authentication information of this Wi-Fi hotspot is sky; When to characterize this Wi-Fi hotspot be non-open state to the safe mode indication information of Wi-Fi hotspot that terminal 40 self is preserved, the safe mode indication information of this Wi-Fi hotspot is 1, the authentication information of this Wi-Fi hotspot is the authentication information connecting the use of this Wi-Fi hotspot for the last time, such as password string etc.;
And, section interval time between the moment that the opening time that the Wi-Fi hotspot that terminal 40 is preserved with self is connected for the last time, can be current time and terminal 40 be connected disconnection for the last time with this Wi-Fi hotspot.
Further, in the present embodiment, the link information of the Wi-Fi hotspot in the preset range that the Wi-Fi hotspot information of preserving in conjunction with terminal 40 self and acquiring unit 406 acquire, generation unit 407, may be used for:
The identification information of the Wi-Fi hotspot in described preset range is mated with the Wi-Fi hotspot information of self preserving, obtain the Wi-Fi hotspot that described terminal once connected in described preset range, and the Wi-Fi hotspot once connected in described preset range is arranged according to default putting in order, form the first Wi-Fi hotspot set; And,
To not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information be empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the second Wi-Fi hotspot set; And,
To not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information for empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the 3rd Wi-Fi hotspot set; And,
Arrange according to the order of described first Wi-Fi hotspot set, described second Wi-Fi hotspot set and the 3rd Wi-Fi hotspot set, generate described Wi-Fi hotspot list to be connected.
Particularly, generation unit 407, for:
The signal strength signal intensity of the Wi-Fi hotspot once connected in described preset range and described terminal 40 were sued for peace with the opening time that the Wi-Fi hotspot be once connected in described preset range connects for the last time, draws the order weights of the Wi-Fi hotspot once connected in described preset range; And,
The Wi-Fi hotspot once connected in described preset range is arranged according to the order weights of the Wi-Fi hotspot once connected in described preset range are descending, forms described first Wi-Fi hotspot set.
A kind of terminal 40 that the present embodiment provides, by in the process connecting Wi-Fi hotspot, this Wi-Fi hotspot is carried out to the availability verification of data service, thus manually operate without the need to user and just can understand the Wi-Fi hotspot be connected with terminal 40 and whether provide data service.Reduce terminal use and understand the complexity whether Wi-Fi hotspot possesses data services capability, improve Consumer's Experience.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (12)

1. terminal connects a method for Wireless Fidelity Wi-Fi hotspot, and it is characterized in that, described method comprises:
Terminal after Wi-Fi hotspot, sends checking message in connection to the network address of presetting;
When described terminal receive within the time limit of presetting checking that the described default network address returns reply message time, described in described terminal check, the data service of Wi-Fi hotspot can be used, and illustrates that described terminal successfully connects described Wi-Fi hotspot.
2. method according to claim 1, is characterized in that, described terminal sends checking message to the network address of presetting, and comprising:
Described terminal sends Internet Control Message Protocol ICMP message to the described default network address, and described ICMP message is for confirming the accessibility of the described default network address.
3. method according to claim 1, is characterized in that, before described terminal connects described Wi-Fi hotspot, described method also comprises:
Wi-Fi hotspot around described terminal scanning in preset range, and the Wi-Fi hotspot link information obtained in described preset range, wherein, the Wi-Fi hotspot link information in described preset range comprises the signal strength signal intensity of the Wi-Fi hotspot in the safe mode indication information of the Wi-Fi hotspot in the identification information of the Wi-Fi hotspot in described preset range, described preset range and described preset range;
The Wi-Fi hotspot stated in preset range arranges according to the Wi-Fi hotspot link information in described preset range and default priority rule by described terminal, generates Wi-Fi hotspot list to be connected;
Described terminal connects the highest Wi-Fi hotspot of described Wi-Fi hotspot list medium priority.
4. method according to claim 3, it is characterized in that, when described terminal does not connect the highest Wi-Fi hotspot of upper described priority, or within the time limit of presetting, not receiving checking that the described network address returns when replying message, described method also comprises: described terminal connects the high Wi-Fi hotspot of described Wi-Fi hotspot list medium priority second.
5. method according to claim 3, it is characterized in that, the Wi-Fi hotspot stated in preset range arranges according to the link information of the Wi-Fi hotspot in described preset range and default priority rule by described terminal, generates Wi-Fi hotspot list to be connected, comprising:
The identification information of the Wi-Fi hotspot in described preset range mates with the Wi-Fi hotspot information of self preserving by described terminal, obtain the Wi-Fi hotspot that described terminal once connected in described preset range, and the Wi-Fi hotspot once connected in described preset range is arranged according to default putting in order, form the first Wi-Fi hotspot set, wherein, the Wi-Fi hotspot information that described terminal self is preserved comprises the identification information of the Wi-Fi hotspot that described terminal self is preserved, the safe mode indication information of the Wi-Fi hotspot that described terminal self is preserved, the authentication information of the Wi-Fi hotspot that described terminal self is preserved, the opening time that the Wi-Fi hotspot that described terminal is preserved with self is connected for the last time,
Described terminal will not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information be empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the second Wi-Fi hotspot set;
Described terminal will not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information for empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the 3rd Wi-Fi hotspot set;
Described terminal arranges according to the order of described first Wi-Fi hotspot set, described second Wi-Fi hotspot set and the 3rd Wi-Fi hotspot set, generates described Wi-Fi hotspot list to be connected.
6. method according to claim 5, is characterized in that, described the Wi-Fi hotspot once connected in described preset range is put in order arranged according to what preset, forms the first Wi-Fi hotspot set, comprising:
The signal strength signal intensity of the Wi-Fi hotspot once connected in described preset range and described terminal are sued for peace with the opening time that the Wi-Fi hotspot be once connected in described preset range connects for the last time by described terminal, draw the order weights of the Wi-Fi hotspot once connected in described preset range;
The Wi-Fi hotspot once connected in described preset range arranges according to the order weights of the Wi-Fi hotspot once connected in described preset range are descending by described terminal, forms described first Wi-Fi hotspot set.
7. a terminal, is characterized in that, described terminal comprises: linkage unit, transmitting element, receiving element, confirmation unit and Tip element, wherein,
Described linkage unit, for connecting Wi-Fi hotspot;
Described transmitting element, after connecting Wi-Fi hotspot at described linkage unit, sends checking message to the network address of presetting;
Described receiving element, message is replied in the checking returned for receiving the described network address;
Described determining unit, when message is replied in the checking returned, confirms that the data service of described Wi-Fi hotspot can be used for receiving the described network address within the time limit of presetting when described receiving element, and trigger prompts unit;
Described Tip element, for illustrating that described terminal successfully connects described Wi-Fi hotspot.
8. terminal according to claim 7, is characterized in that, described transmitting element, and for sending Internet Control Message Protocol ICMP message to the described default network address, described ICMP message is for confirming the accessibility of the described default network address.
9. terminal according to claim 7, is characterized in that, described terminal also comprises acquiring unit and generation unit, wherein,
Described acquiring unit, for scanning the Wi-Fi hotspot in around preset range, and the Wi-Fi hotspot link information obtained in described preset range, wherein, the Wi-Fi hotspot link information in described preset range comprises the signal strength signal intensity of the Wi-Fi hotspot in the safe mode indication information of the Wi-Fi hotspot in the identification information of the Wi-Fi hotspot in described preset range, described preset range and described preset range;
Described generation unit, for the Wi-Fi hotspot stated in preset range being arranged according to the Wi-Fi hotspot link information in described preset range and default priority rule, generates Wi-Fi hotspot list to be connected;
Described linkage unit, also for connecting the highest Wi-Fi hotspot of described Wi-Fi hotspot list medium priority.
10. terminal according to claim 9, it is characterized in that, described linkage unit, also for not connecting the highest Wi-Fi hotspot of upper described priority when described linkage unit, or described receiving element does not receive checking that the described network address returns when replying message within the time limit of presetting, and connects the Wi-Fi hotspot that described Wi-Fi hotspot list medium priority second is high.
11. terminals according to claim 9, is characterized in that, described generation unit, for:
The identification information of the Wi-Fi hotspot in described preset range is mated with the Wi-Fi hotspot information of self preserving, obtain the Wi-Fi hotspot that described terminal once connected in described preset range, and the Wi-Fi hotspot once connected in described preset range is arranged according to default putting in order, form the first Wi-Fi hotspot set, wherein, the Wi-Fi hotspot information that described terminal self is preserved comprises the identification information of the Wi-Fi hotspot that described terminal self is preserved, the safe mode indication information of the Wi-Fi hotspot that described terminal self is preserved, the authentication information of the Wi-Fi hotspot that described terminal self is preserved, the opening time that the Wi-Fi hotspot that described terminal is preserved with self is connected for the last time, and,
To not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information be empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the second Wi-Fi hotspot set; And,
To not connect in described preset range, and in described Wi-Fi hotspot link information safe mode indication information for empty Wi-Fi hotspot according to signal strength signal intensity in described Wi-Fi hotspot link information by arranging to weak by force, form the 3rd Wi-Fi hotspot set; And,
Arrange according to the order of described first Wi-Fi hotspot set, described second Wi-Fi hotspot set and the 3rd Wi-Fi hotspot set, generate described Wi-Fi hotspot list to be connected.
12. terminals according to claim 11, is characterized in that, described generation unit, for:
The signal strength signal intensity of the Wi-Fi hotspot once connected in described preset range and described terminal were sued for peace with the opening time that the Wi-Fi hotspot be once connected in described preset range connects for the last time, draws the order weights of the Wi-Fi hotspot once connected in described preset range; And,
The Wi-Fi hotspot once connected in described preset range is arranged according to the order weights of the Wi-Fi hotspot once connected in described preset range are descending, forms described first Wi-Fi hotspot set.
CN201410349186.1A 2014-07-21 2014-07-21 Terminal and method for connecting the terminal with wireless fidelity WiFi access point Withdrawn CN105282821A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410349186.1A CN105282821A (en) 2014-07-21 2014-07-21 Terminal and method for connecting the terminal with wireless fidelity WiFi access point
PCT/CN2014/092022 WO2015117467A1 (en) 2014-07-21 2014-11-24 Terminal, method for terminal to connect to wireless fidelity (wifi) hotspot, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410349186.1A CN105282821A (en) 2014-07-21 2014-07-21 Terminal and method for connecting the terminal with wireless fidelity WiFi access point

Publications (1)

Publication Number Publication Date
CN105282821A true CN105282821A (en) 2016-01-27

Family

ID=53777275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410349186.1A Withdrawn CN105282821A (en) 2014-07-21 2014-07-21 Terminal and method for connecting the terminal with wireless fidelity WiFi access point

Country Status (2)

Country Link
CN (1) CN105282821A (en)
WO (1) WO2015117467A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107801228A (en) * 2016-09-05 2018-03-13 腾讯科技(深圳)有限公司 A kind of recording method of user data and device, system
US10401470B2 (en) * 2014-08-12 2019-09-03 Signify Holding B.V. Method and apparatus for locating of a mobile device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131834B (en) * 2016-06-30 2020-01-10 宇龙计算机通信科技(深圳)有限公司 Network connection method, network connection device and terminal
CN109819092A (en) * 2017-11-20 2019-05-28 中移(杭州)信息技术有限公司 A kind of network connection management-control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662771A (en) * 2009-10-14 2010-03-03 中国电信股份有限公司 Method for realizing automatic certification of wireless access short message and system thereof
CN101977382A (en) * 2010-10-27 2011-02-16 福州星网视易信息系统有限公司 Audio and video integrated control circuit and method for accessing access point
CN102821443A (en) * 2012-07-24 2012-12-12 上海意卓信息技术有限公司 Automatic regional-information acquiring method and device based on WIFI (wireless fidelity) technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662771A (en) * 2009-10-14 2010-03-03 中国电信股份有限公司 Method for realizing automatic certification of wireless access short message and system thereof
CN101977382A (en) * 2010-10-27 2011-02-16 福州星网视易信息系统有限公司 Audio and video integrated control circuit and method for accessing access point
CN102821443A (en) * 2012-07-24 2012-12-12 上海意卓信息技术有限公司 Automatic regional-information acquiring method and device based on WIFI (wireless fidelity) technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10401470B2 (en) * 2014-08-12 2019-09-03 Signify Holding B.V. Method and apparatus for locating of a mobile device
CN107801228A (en) * 2016-09-05 2018-03-13 腾讯科技(深圳)有限公司 A kind of recording method of user data and device, system

Also Published As

Publication number Publication date
WO2015117467A1 (en) 2015-08-13

Similar Documents

Publication Publication Date Title
US11039299B2 (en) ESIM card activation method, wireless router, and user terminal
JP5897137B2 (en) Wireless local area network authentication method and mobile terminal
CN104636924B (en) Secure payment method, server and system
US20150024688A1 (en) Automatic Pairing of a Vehicle and a Mobile Communications Device
US20160210632A1 (en) Secured payment method and relevant device and system
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
CN104080194A (en) Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
CN101873719A (en) Method, device and system for configuring wireless fidelity (WIFI) parameter
US10887745B2 (en) Method and device for sharing file between different terminals
CN103826226A (en) Method and device for controlling wireless internet access
CN105933888A (en) Burning method and device of eSIM (Subscriber Identity Module) card based on NFC
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
CN105657781B (en) WiFi network access method and device
CN107623908A (en) A kind of hair fastener method and subscriber identification module card
CN105025433A (en) Bluetooth pairing method and terminal
CN104584490A (en) Data transmitting method and device
CN105282821A (en) Terminal and method for connecting the terminal with wireless fidelity WiFi access point
CN105744517A (en) Information authentication method and network side device
CN102325319A (en) Method and system for wireless connection between mobile phone and computer
CN105163317A (en) Network access method, server, terminal and system
CN107426718A (en) A kind of mobile terminal and its APN update method
CN106028323A (en) Network access method, terminal and access point
CN105009680A (en) Method, apparatus and system for establishing cooperative communication
CN111740963B (en) Data communication method and device
CN108156586A (en) Phone number acquisition methods and system, server, storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160127