CN104394579B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104394579B CN104394579B CN201410776280.5A CN201410776280A CN104394579B CN 104394579 B CN104394579 B CN 104394579B CN 201410776280 A CN201410776280 A CN 201410776280A CN 104394579 B CN104394579 B CN 104394579B
- Authority
- CN
- China
- Prior art keywords
- hot spot
- information
- wireless network
- electronic equipment
- mark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of information processing method and electronic equipments, method can be applied in electronic equipment, electronic equipment includes wireless network communication module, this method comprises: the hot spot for obtaining wireless network hot spot identifies and the first information corresponding with wireless network hot spot when searching the wireless network hot spot in range for wireless communication using wireless communication module;Wherein, hot spot mark and the first information are for uniquely characterizing wireless network hot spot;Judge target hot information corresponding with hot spot mark and the first information whether is stored in the pre-stored corresponding relationship of electronic equipment;When determining that controlling electronic devices establishes connection using the target hot information and the wireless network hot spot when be stored in corresponding relationship with hot spot mark and the first information corresponding target hot information;The present invention can be to avoid generation the case where connection failure when there are identical hot spot mark, and is manually operated without user, improves user experience.
Description
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of information processing method and electronics are set
It is standby.
Background technique
With popularizing for electronic equipment, wireless network is supported to have become the indispensable function of each class of electronic devices.Work as electricity
Sub- equipment was established with a certain wireless network hot spot connect after, electronic equipment can save heat relevant to the wireless network hot spot
Point information, when to search the wireless network hot spot next time, can use saved hot information directly with its company of foundation
It connects.
But in practical applications, there can be the service set of the wireless network hot spot positioned at different location
(Service Set Identifier, SSID) unanimously, and the situation that other related hot informations are inconsistent.In such case
Under, if electronic equipment established connection in first position and wireless network hot spot, when being then transferred to the second position, if the second position
Wireless network hot spot service set it is identical as the service set of wireless network hot spot of first position, even if protecting before
There is hot information relevant to the wireless network hot spot of the second position, electronic equipment also will use the wireless network at first position
The hot information of network hot spot and the wireless network hot spot of the second position establish connection, will will lead to electronic equipment and second in this way
Set the wireless network hot spot connection failure at place.
When there is above situation, user can only re-enter manually or be arranged and the wireless network hot spot of the second place
Relevant hot information, operation is very complicated, and user experience is low.
Summary of the invention
In view of this, the present invention provides a kind of information processing method and electronic equipment, to solve in the prior art, when out
When situation mentioned by existing background technique, user needs to re-enter or be arranged manually, cumbersome technical problem.
To achieve the above object, the invention provides the following technical scheme:
A kind of information processing method is applied in electronic equipment, and the electronic equipment includes wireless network communication module, should
Method includes:
When searching the wireless network hot spot in range for wireless communication using the wireless communication module, obtain described wireless
The hot spot of network hotspot identifies and the first information corresponding with the wireless network hot spot;Wherein, the hot spot mark and institute
The first information is stated for uniquely characterizing the wireless network hot spot;
Judge whether to be stored in the pre-stored corresponding relationship of the electronic equipment and hot spot mark and described the
The corresponding target hot information of one information;
Target heat corresponding with hot spot mark and the first information is stored in the corresponding relationship when determining
When point information, the electronic equipment is controlled using the target hot information and the wireless network hot spot and establishes connection.
Preferably, the electronic equipment specifically includes locating module;
The hot spot mark for obtaining the wireless network hot spot and the first letter corresponding with the wireless network hot spot
Breath, comprising:
Receive the hot spot mark that the wireless network hot spot is sent;
Geographical location information locating for the electronic equipment is obtained using the locating module, and determines the geographical location
Information is the first information.
Preferably, the acquisition wireless network hot spot and the first information corresponding with the wireless network hot spot,
Include:
Receive the medium access control of hot spot mark and the wireless network hot spot that the wireless network hot spot is sent
Address information;
Determine that the Media Access Control address information is the first information.
Preferably, whether it is stored in the corresponding relationship for judging that the electronic equipment is pre-stored and is identified with the hot spot
And after the corresponding target hot information of the first information, further includes:
When determining not stored in the corresponding relationship have and hot spot mark and the corresponding target of the first information
When hot information, when the electronic equipment and the wireless network hot spot establish connection, the wireless network hot spot is obtained
Target hot information;
Establish and save the corresponding relationship of the hot spot mark and the first information and the target hot information.
Preferably, whether it is stored in the corresponding relationship for judging that the electronic equipment is pre-stored and is identified with the hot spot
And before the corresponding target hot information of the first information, further includes:
Judge whether the geographical location information is information in preset geographical position range;
If so, terminating current information processing;
If it is not, enter judge whether to be stored in corresponding relationship that the electronic equipment is pre-stored with hot spot mark with
And the step of first information corresponding target hot information.
A kind of electronic equipment, the electronic equipment include wireless network communication module, the electronic equipment further include:
First acquisition unit, for hot when using the wireless communication module to search the wireless network in range for wireless communication
When point, the hot spot for obtaining the wireless network hot spot identifies and the first information corresponding with the wireless network hot spot;Wherein,
The hot spot mark and the first information are for uniquely characterizing the wireless network hot spot;
First judging unit, for judging whether be stored with and the heat in the pre-stored corresponding relationship of the electronic equipment
Point identification and the corresponding target hot information of the first information;
First control unit, for being stored in the corresponding relationship and hot spot mark and described first when determining
When the corresponding target hot information of information, controls the electronic equipment and use the target hot information and wireless network heat
Point establishes connection.
Preferably, the electronic equipment specifically includes locating module;
The first acquisition unit, comprising:
First receiving module, for hot when using the wireless communication module to search the wireless network in range for wireless communication
When point, the hot spot mark that the wireless network hot spot is sent is received;
Determining module is obtained, for obtaining geographical location information locating for the electronic equipment using the locating module,
And determine that the geographical location information is the first information.
Preferably, the first acquisition unit, comprising:
Second receiving module, for hot when using the wireless communication module to search the wireless network in range for wireless communication
When point, the Media Access Control address of hot spot mark and the wireless network hot spot that the wireless network hot spot is sent is received
Information;
First determining module, for determining that the Media Access Control address information is the first information.
Preferably, further includes:
Second acquisition unit, for when determining not stored in the corresponding relationship have and hot spot mark and described the
When the corresponding target hot information of one information, when the electronic equipment and the wireless network hot spot establish connection, institute is obtained
State the target hot information of wireless network hot spot;
Storage unit is established, for establishing and saving the hot spot mark and the first information and the target hot spot
The corresponding relationship of information.
Preferably, further includes:
Second judgment unit, for judging whether the geographical location information is information in preset geographical position range;
First end unit, for terminating when the geographical location information is the information in preset geographical position range
Current information processing;
Second control unit, for controlling when the geographical location information is not the information in preset geographical position range
It makes the first judging unit execution and judges whether be stored with and the hot spot in the pre-stored corresponding relationship of the electronic equipment
The step of mark and the first information corresponding target hot information.
It can be seen via above technical scheme that compared with prior art, the embodiment of the invention discloses a kind of information processings
Method, by when searching the wireless network hot spot in same range for wireless communication using wireless communication module, obtaining wireless network heat
The hot spot mark and the corresponding first information of wireless network hot spot of point, since hot spot mark and the first information can be characterized uniquely
Therefore wireless network hot spot can automatically control electronic equipment use target hot spot corresponding with hot spot mark and the first information
Information and wireless network hot spot establish connection, so as to avoid hair the case where connection failure when there are identical hot spot mark
It is raw, and be manually operated without user, improve user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of information processing method disclosed in one embodiment of the invention;
Fig. 2 is a kind of flow diagram of information processing method disclosed in another embodiment of the present invention;
Fig. 3 is a kind of flow diagram of information processing method disclosed in further embodiment of this invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment disclosed in one embodiment of the invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed in another embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment disclosed in further embodiment of this invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
One embodiment of the invention discloses a kind of information processing method, can be applied to mobile phone, tablet computer, palm electricity
In the electronic equipments such as brain.
Wherein, electronic equipment includes wireless network communication module, which can be used for searching wirelessly
Network hotspot.
As shown in Figure 1, this method may comprise steps of:
Step 101: when using the wireless network hot spot in radio communication mold block search range for wireless communication, obtaining wireless
The hot spot of network hotspot identifies and the first information corresponding with wireless network hot spot;
Range for wireless communication is the maximum magnitude that wireless communication module can search wireless network hot spot, i.e. radio communication mold
Block is merely able to search the wireless network hot spot in range for wireless communication.
The hot spot mark of wireless network hot spot is specifically as follows SSID (Service Set Identifier, services set mark
Know).
Wherein, the hot spot mark of wireless network hot spot and the first information corresponding with wireless network hot spot are used for only table
Levy wireless network hot spot.
It should be noted that the hot spot mark of wireless network hot spot and the first information corresponding with wireless network hot spot are only
One characterization wireless network hot spot can specifically refer to through the hot spot of wireless network hot spot mark and corresponding with wireless network hot spot
The first information can determine the wireless network hot spot in unique location.
For example, the hot spot mark of the wireless network hot spot of location A and B location is identical, it is ThinkAp, and electronic equipment
When searching wireless network hot spot using wireless communication module within the scope of location A, then, the heat of acquired wireless network hot spot
Point identification and the first information corresponding with wireless network hot spot can uniquely characterize the wireless network hot spot at location A.
Step 102: judging whether be stored in the pre-stored corresponding relationship of electronic equipment and hot spot mark and the first letter
Cease corresponding target hot information;
Wherein, the corresponding relationship of hot spot mark and the first information and target hot information is pre-stored in electronic equipment,
Therefore, corresponding target hot information can be determined by acquired hot spot mark and the first information.
The target hot information is information needed for electronic equipment and wireless network hot spot establish connection, e.g., at least can be with
Including connection password mark and/or connection type.
Step 103: target hot spot letter corresponding with hot spot mark and the first information is stored in corresponding relationship when determining
When breath, controlling electronic devices establishes connection using target hot information and wireless network hot spot.
In embodiments of the present invention, by the wireless network heat searched using wireless communication module in same range for wireless communication
Point when, obtain wireless network hot spot hot spot mark and the corresponding first information of wireless network hot spot, due to hot spot mark and
The first information can uniquely characterize wireless network hot spot, therefore, can automatically control electronic equipment use and hot spot mark and the
The corresponding target hot information of one information and wireless network hot spot establish connection, so as to avoid there are identical hot spot marks
When connection failure the case where occur, and without user be manually operated, improve user experience.
In order to make it easy to understand, being briefly described with an application example, it is assumed that user uses electronics in Startbuck of Pekinese
The wireless network hot spot of equipment and entitled " Starbucks " establish connection, password Aa123;Then, user goes on business to Shenzhen,
Startbuck in Shenzhen establishes connection using the wireless network hot spot of electronic equipment and entitled " Starbucks ", and password is
Bb123.Then, user returns to Beijing again, when using electronic equipment and entitled " Starbucks " in Startbuck of Pekinese again
When wireless network hot spot establishes connection, in the prior art, electronic equipment uses corresponding with " Starbucks " before will use
Password be that Bb123 and wireless network hot spot establish connection, and since the password of Beijing Startbuck is Aa123, electronics is set
Standby meeting connection failure.
And in the present invention, electronic equipment can be previously stored with the hot spot mark of the wireless network hot spot of Startbuck of Pekinese
Know " Starbucks " and the first information corresponding with the wireless network hot spot of Startbuck of Pekinese and target hot information is (close
Code is Aa123) corresponding relationship search wireless network using electronic equipment in Startbuck of Pekinese again when user returns to Beijing
When network hot spot, electronic equipment can determine with the hot spot of the wireless network hot spot of Startbuck of Pekinese mark " Starbucks " with
And the corresponding target hot information (password Aa123) of the first information, so that electronic equipment is able to use the target hot information
The wireless network hot spot of (password Aa123) and Startbuck of Pekinese establishes connection.
Certainly, electronic equipment can also be stored with the hot spot mark of the wireless network hot spot of the Startbuck in Shenzhen
" Starbucks " and the first information corresponding with the wireless network hot spot of Startbuck of Pekinese and target hot information (password
For the corresponding relationship of Bb123), when so that user going to Shenzhen again, also can with the wireless network hot spot of the Startbuck in Shenzhen
Successfully establish connection.
In the present invention, there are many implementations of the first information;
Specifically, electronic equipment may include locating module as a kind of implementation;
The hot spot for obtaining wireless network hot spot identifies and the first information corresponding with wireless network hot spot, may include:
A1: the hot spot mark that wireless network hot spot is sent is received;
Wherein, electronic equipment is searching the wireless network hot spot in range for wireless communication using wireless network communication module
When, specifically can wireless network hot spot into range for wireless communication send wireless network connection request, to receive wireless network
The hot spot mark that network hot spot returns.
A2: obtaining geographical location information locating for electronic equipment using locating module, and determines that geographical location information is the
One information.
In embodiments of the present invention, the locating module being arranged in electronic equipment is for geographical position locating for Positioning Electronic Devices
It sets, and electronic equipment opens locating module to use locating module to be positioned at the time of, limits in the present invention there is no specific;
In a kind of situation, can when searching the wireless network hot spot in range for wireless communication using wireless communication module,
Start locating module, and in the hot spot mark for receiving the transmission of wireless network hot spot, obtains electronic equipment using locating module
Locating geographical location information.
In another case, the locating module of electronic equipment can be constantly in open state, electronic equipment is being received
When the hot spot sent to wireless network hot spot identifies, geographical location locating for electronic equipment directly is obtained using locating module and is believed
Breath.
The hot spot of wireless network hot spot identifies and geographical location information corresponding with wireless network hot spot can be used for only
One characterizes the wireless network hot spot.
For example, the hot spot in the wireless network hot spot of a certain Startbuck's acquisition in Pekinese is identified as " Starbucks ", use
It is " area A of Beijing street the B mansion C " that locating module, which obtains geographical location information locating for electronic equipment,.So, " Starbucks "
And " area A of Beijing street the B mansion C " can uniquely be characterized in the wireless network in the Startbuck in the area A of Beijing street the B mansion C
Hot spot can't be determined according to " Starbucks " and " area A of Beijing street the B mansion C " into the Startbuck in Shenzhen
Wireless network hot spot.
As another implementation, wireless network hot spot and the first information corresponding with wireless network hot spot are obtained,
May include:
B1: the Media Access Control address letter of hot spot mark and wireless network hot spot that wireless network hot spot is sent is received
Breath;
Wherein, medium access control geological information can be referred to as mac address information, specifically, electronic equipment is to nothing
After wireless network hot spot in line communication range sends wireless network connection request, wireless network hot spot can return to wireless network
The hot spot mark and mac address information or electronic equipment of hot spot, which directly receive and obtain wireless network hot spot, passes through broadcast letter
The hot spot mark and mac address information that road is sent.
B2: determine that Media Access Control address information is the first information.
Wherein, the hot spot mark and Media Access Control address information of wireless network hot spot can be used for uniquely characterizing
The wireless network hot spot.
For the corresponding relationship being pre-stored in electronic equipment, user can store manually.As another implementation, electricity
Sub- equipment can be automatically stored, specifically, another embodiment of the present invention also discloses a kind of information processing method, as shown in Fig. 2,
This method may comprise steps of:
Step 201: when using the wireless network hot spot in radio communication mold block search range for wireless communication, obtaining wireless
The hot spot of network hotspot identifies and the first information corresponding with wireless network hot spot;
Step 202: judging whether be stored in the pre-stored corresponding relationship of electronic equipment and hot spot mark and the first letter
Cease corresponding target hot information;
Step 203: target hot spot letter corresponding with hot spot mark and the first information is stored in corresponding relationship when determining
When breath, controlling electronic devices establishes connection using target hot information and wireless network hot spot;
Step 204: when determining not stored in corresponding relationship have and hot spot mark and the corresponding target hot spot of the first information
When information, when electronic equipment and wireless network hot spot establish connection, the target hot information of wireless network hot spot is obtained;
Step 205: establishing and save the corresponding relationship of hot spot mark and the first information and target hot information.
Wherein, there is mesh corresponding with hot spot mark and the first information when not stored in the corresponding relationship for determine electronic equipment
When marking hot information, it can determine that electronic equipment searches the wireless network hot spot for the first time, then, user can establish electronics manually
The connection of equipment and wireless network hot spot, is such as manually entered password.And for the ease of next time can directly with the wireless network heat
Point establishes connection, or for the ease of distinguishing the wireless network hot spot with identical hot spot mark of different location, can be in electricity
When sub- equipment and wireless network hot spot establish connection, the target hot information of wireless network hot spot, wireless network hot spot are obtained
Hot spot mark and the first information corresponding with the wireless network hot spot, to establish and save hot spot mark and the first information
With the corresponding relationship of target hot information.
Wherein, which can be the electronic equipment obtained using locating module when receiving wireless network hot spot
Geographical location information, or the Media Access Control address information that received wireless network hot spot is sent.
In embodiments of the present invention, by the wireless network heat searched using wireless communication module in same range for wireless communication
Point when, obtain wireless network hot spot hot spot mark and the corresponding first information of wireless network hot spot, due to hot spot mark and
The first information can uniquely characterize wireless network hot spot, therefore, can automatically control electronic equipment use and hot spot mark and the
The corresponding target hot information of one information and wireless network hot spot establish connection, so as to avoid there are identical hot spot marks
When connection failure the occurrence of, and without user be manually operated, improve user experience.
In practical applications, for some wireless network hot spots for being erected at certain occasions, as set up in user own home
Wireless network hot spot or company in wireless network hot spot, since the wireless network hot spot for being erected at these occasions is more special
It very, therefore, is generally not in the case where there are the wireless network hot spots of hot spot having the same mark.In response to this,
Further embodiment of this invention also discloses a kind of information processing method, as shown in figure 3, this method may comprise steps of:
Step 301: when searching the wireless network hot spot in range for wireless communication using wireless communication module, receiving wireless
The hot spot mark that network hotspot is sent;
Step 302: obtaining geographical location information locating for electronic equipment using locating module, and determine geographical location information
For the first information;
Step 303: judging whether geographical location information is information in preset geographical position range;If it is not, entering step
304;If so, entering step 306, that is, terminate current information processing;
Preset geographical position range is the geographical position range preset in the electronic device, is had to be substantially not present
The geographical position range of the wireless network hot spot of identical hot spot mark, can be by user's manual setting.
Such as the preset geographical position range can for by user be in interior location centered on it is a certain range of
Geographical position range.Alternatively, the preset geographical position range can for by user in the location company Li Nei centered on
A certain range of geographical position range.
When using geographical location information locating for electronic equipment acquired in locating module in the preset geographical position range
When interior, it can determine that another nothing with identical hot spot mark is not present in the wireless network hot spot for appearing in the geographical location information
Therefore line network hotspot in order to simplify message processing flow, can terminate current information processing.
And works as and use geographical location information locating for electronic equipment acquired in locating module not in the preset geographical position
When in range, 304 can be entered step;
Step 304: judging whether be stored in the pre-stored corresponding relationship of electronic equipment and hot spot mark and the first letter
Cease corresponding target hot information;
Step 305: target hot spot letter corresponding with hot spot mark and the first information is stored in corresponding relationship when determining
When breath, controlling electronic devices establishes connection using target hot information and wireless network hot spot.
One embodiment of the invention also discloses a kind of electronic equipment, which can be mobile phone, tablet computer, the palm
Upper computer etc..
Wherein, electronic equipment includes wireless communication module, which can be used for searching wireless network hot spot.
As shown in figure 4, the electronic equipment may include: first acquisition unit 401, the first judging unit 402 and first
Control unit 403;Wherein:
First acquisition unit 401 can be used for when using the wireless network in wireless communication module search range for wireless communication
When network hot spot, the hot spot for obtaining wireless network hot spot identifies and the first information corresponding with wireless network hot spot;
Wherein, hot spot mark and the first information are for uniquely characterizing wireless network hot spot.
First judging unit 402 can be used for judging whether be stored in the pre-stored corresponding relationship of electronic equipment and heat
Point identification and the corresponding target hot information of the first information;
First control unit 403, can be used for when determine corresponding relationship in be stored with and hot spot mark and the first information
When corresponding target hot information, controlling electronic devices establishes connection using target hot information and wireless network hot spot.
In embodiments of the present invention, by the wireless network heat searched using wireless communication module in same range for wireless communication
Point when, obtain wireless network hot spot hot spot mark and the corresponding first information of wireless network hot spot, due to hot spot mark and
The first information can uniquely characterize wireless network hot spot, therefore, can automatically control electronic equipment use and hot spot mark and the
The corresponding target hot information of one information and wireless network hot spot establish connection, so as to avoid there are identical hot spot marks
When connection failure the case where occur, and without user be manually operated, improve user experience.
In the present invention, there are many implementations of the first information;
As a kind of implementation, electronic equipment may include locating module;
First acquisition unit may include: the first receiving module and acquisition determining module;
Wherein, the first receiving module can be used for wireless in range for wireless communication when using wireless communication module to search
When network hotspot, the hot spot mark that wireless network hot spot is sent is received;
Determining module is obtained, locating module is used for and obtains geographical location information locating for electronic equipment, and really
Determining geographical location information is the first information.
As another implementation, first acquisition unit may include: the second receiving module and the first determining module;
Wherein, the second receiving module can be used for wireless in range for wireless communication when using wireless communication module to search
When network hotspot, the Media Access Control address letter of hot spot mark and wireless network hot spot that wireless network hot spot is sent is received
Breath;
First determining module, being determined for Media Access Control address information is the first information.
Another embodiment of the present invention also discloses a kind of electronic equipment, as shown in figure 5, the electronic equipment may include:
One acquiring unit 501, the first judging unit 502, first control unit 503, second acquisition unit 504 and establish storage unit
505;Wherein:
First acquisition unit 501 can be used for when using the wireless network in wireless communication module search range for wireless communication
When network hot spot, the hot spot for obtaining wireless network hot spot identifies and the first information corresponding with wireless network hot spot;
Wherein, hot spot mark and the first information are for uniquely characterizing wireless network hot spot.
First judging unit 502 can be used for judging whether be stored in the pre-stored corresponding relationship of electronic equipment and heat
Point identification and the corresponding target hot information of the first information;
First control unit 503, can be used for when determine corresponding relationship in be stored with and hot spot mark and the first information
When corresponding target hot information, controlling electronic devices establishes connection using target hot information and wireless network hot spot;
Second acquisition unit 504, can be used for when determine corresponding relationship in it is not stored have and hot spot mark and first letter
When ceasing corresponding target hot information, when electronic equipment and wireless network hot spot establish connection, wireless network hot spot is obtained
Target hot information;
Storage unit 505 is established, can be used for establishing and saving hot spot mark and the first information and target hot information
Corresponding relationship.
Wherein, there is mesh corresponding with hot spot mark and the first information when not stored in the corresponding relationship for determine electronic equipment
When marking hot information, it can determine that electronic equipment searches the wireless network hot spot for the first time, then, user can establish electronics manually
The connection of equipment and wireless network hot spot, is such as manually entered password.And for the ease of next time can directly with the wireless network heat
Point establishes connection, or for the ease of distinguishing the wireless network hot spot with identical hot spot mark of different location, can be in electricity
When sub- equipment and wireless network hot spot establish connection, the target hot information of wireless network hot spot, wireless network hot spot are obtained
Hot spot mark and the first information corresponding with the wireless network hot spot, to establish and save hot spot mark and the first information
With the corresponding relationship of target hot information.
Wherein, which can be the electronic equipment obtained using locating module when receiving wireless network hot spot
Geographical location information, or the Media Access Control address information that received wireless network hot spot is sent.
Further embodiment of this invention also discloses a kind of electronic equipment, as shown in fig. 6, the electronic equipment may include:
One acquiring unit 601, second judgment unit 602, the first end unit 603, the second control unit 604, the first judging unit 605
And first control unit 606;First acquisition unit 601 includes: the first receiving module 6011 and acquisition determining module 6012;Its
In:
First receiving module 6011 can be used for when using the wireless network in wireless communication module search range for wireless communication
When network hot spot, the hot spot mark that wireless network hot spot is sent is received;
Determining module 6012 is obtained, locating module is used for and obtains geographical location information locating for electronic equipment,
And determine that geographical location information is the first information;
Second judgment unit 602 can be used for judging whether geographical location information is letter in preset geographical position range
Breath;
First end unit 603 can be used for when geographical location information is the information in preset geographical position range, knot
The processing of beam current information;
Second control unit 604 can be used for when geographical location information is not the information in preset geographical position range,
Control the first judging unit 605 execute judge whether to be stored in corresponding relationship that electronic equipment is pre-stored identified with hot spot and
The corresponding target hot information of the first information;
First control unit 606, can be used for when determine corresponding relationship in be stored with and hot spot mark and the first information
When corresponding target hot information, controlling electronic devices establishes connection using target hot information and wireless network hot spot.
In embodiments of the present invention, by the wireless network heat searched using wireless communication module in same range for wireless communication
Point when, obtain wireless network hot spot hot spot mark and the corresponding first information of wireless network hot spot, due to hot spot mark and
The first information can uniquely characterize wireless network hot spot, therefore, can automatically control electronic equipment use and hot spot mark and the
The corresponding target hot information of one information and wireless network hot spot establish connection, so as to avoid there are identical hot spot marks
When connection failure the occurrence of, and without user be manually operated, improve user experience.
The embodiment of above each device is corresponding with embodiment of the method, and for details, reference can be made to embodiments of the method, herein no longer in detail
It repeats.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of information processing method, which is characterized in that be applied in electronic equipment, the electronic equipment includes that wireless network is logical
Believe module, this method comprises:
When searching the wireless network hot spot in range for wireless communication using the wireless communication module, the wireless network is obtained
The hot spot of hot spot identifies and the first information corresponding with the wireless network hot spot;Wherein, hot spot mark and described the
One information is for uniquely characterizing the wireless network hot spot;The hot spot mark and the first information are for described in uniquely characterization
Wireless network hot spot refer specifically on behalf of by the hot spot of wireless network hot spot mark and with the wireless network hot spot pair
The first information answered determines the wireless network hot spot for being in unique location;
Judge whether be stored in the pre-stored corresponding relationship of the electronic equipment and hot spot mark and first letter
Cease corresponding target hot information;
Target hot spot letter corresponding with hot spot mark and the first information is stored in the corresponding relationship when determining
When breath, the electronic equipment is controlled using the target hot information and the wireless network hot spot and establishes connection.
2. the method according to claim 1, wherein the electronic equipment specifically includes locating module;
The hot spot mark for obtaining the wireless network hot spot and the first information corresponding with the wireless network hot spot, packet
It includes:
Receive the hot spot mark that the wireless network hot spot is sent;
Geographical location information locating for the electronic equipment is obtained using the locating module, and determines the geographical location information
For the first information.
3. the method according to claim 1, wherein it is described obtain the wireless network hot spot and with the nothing
The corresponding first information of line network hotspot, comprising:
Receive the Media Access Control address of hot spot mark and the wireless network hot spot that the wireless network hot spot is sent
Information;
Determine that the Media Access Control address information is the first information.
4. the method according to claim 1, wherein the corresponding relationship that the judgement electronic equipment is pre-stored
In whether be stored with after hot spot mark and the corresponding target hot information of the first information, further includes:
When determining not stored in the corresponding relationship have and hot spot mark and the corresponding target hot spot of the first information
When information, when the electronic equipment and the wireless network hot spot establish connection, the target of the wireless network hot spot is obtained
Hot information;
Establish and save the corresponding relationship of the hot spot mark and the first information and the target hot information.
5. method according to claim 2, which is characterized in that in the pre-stored corresponding relationship of the judgement electronic equipment
Whether it is stored with before target hot information corresponding with hot spot mark and the first information, further includes:
Judge whether the geographical location information is information in preset geographical position range;
If so, terminating current information processing;
If it is not, whether entrance judges to be stored in the pre-stored corresponding relationship of the electronic equipment and the hot spot identifies and institute
The step of stating the first information corresponding target hot information.
6. a kind of electronic equipment, which is characterized in that the electronic equipment includes wireless network communication module, which also wraps
It includes:
First acquisition unit, for working as the wireless network hot spot for using the wireless communication module to search in range for wireless communication
When, the hot spot for obtaining the wireless network hot spot identifies and the first information corresponding with the wireless network hot spot;Wherein, institute
Hot spot mark and the first information are stated for uniquely characterizing the wireless network hot spot;The hot spot mark and first letter
Breath for uniquely characterize the wireless network hot spot refer specifically on behalf of by the hot spot of wireless network hot spot mark and with
The corresponding first information of the wireless network hot spot determines the wireless network hot spot for being in unique location;
First judging unit, for judging whether be stored with and the hot spot mark in the pre-stored corresponding relationship of the electronic equipment
Knowledge and the corresponding target hot information of the first information;
First control unit, for being stored in the corresponding relationship and hot spot mark and the first information when determining
When corresponding target hot information, controls the electronic equipment and built using the target hot information and the wireless network hot spot
Vertical connection.
7. electronic equipment according to claim 6, which is characterized in that the electronic equipment specifically includes locating module;
The first acquisition unit, comprising:
First receiving module, for working as the wireless network hot spot for using the wireless communication module to search in range for wireless communication
When, receive the hot spot mark that the wireless network hot spot is sent;
Determining module is obtained, for obtaining geographical location information locating for the electronic equipment using the locating module, and really
The fixed geographical location information is the first information.
8. electronic equipment according to claim 6, which is characterized in that the first acquisition unit, comprising:
Second receiving module, for working as the wireless network hot spot for using the wireless communication module to search in range for wireless communication
When, receive the Media Access Control address letter of hot spot mark and the wireless network hot spot that the wireless network hot spot is sent
Breath;
First determining module, for determining that the Media Access Control address information is the first information.
9. electronic equipment according to claim 6, which is characterized in that further include:
Second acquisition unit, for when determining not stored in the corresponding relationship have and hot spot mark and first letter
When ceasing corresponding target hot information, when the electronic equipment and the wireless network hot spot establish connection, the nothing is obtained
The target hot information of line network hotspot;
Storage unit is established, for establishing and saving the hot spot mark and the first information and the target hot information
Corresponding relationship.
10. electronic equipment according to claim 7, which is characterized in that further include:
Second judgment unit, for judging whether the geographical location information is information in preset geographical position range;
First end unit, for terminating current when the geographical location information is the information in preset geographical position range
Information processing;
Second control unit, for controlling institute when the geographical location information is not the information in preset geographical position range
It states the first judging unit and executes and judge whether to be stored in corresponding relationship that the electronic equipment is pre-stored and hot spot mark
And the step of first information corresponding target hot information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410776280.5A CN104394579B (en) | 2014-12-15 | 2014-12-15 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410776280.5A CN104394579B (en) | 2014-12-15 | 2014-12-15 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104394579A CN104394579A (en) | 2015-03-04 |
CN104394579B true CN104394579B (en) | 2018-12-14 |
Family
ID=52612396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410776280.5A Active CN104394579B (en) | 2014-12-15 | 2014-12-15 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104394579B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106304259A (en) * | 2015-05-18 | 2017-01-04 | 中兴通讯股份有限公司 | Vehicle-mounted WIFI method for intelligent connection and device |
CN104994501A (en) * | 2015-06-12 | 2015-10-21 | 小米科技有限责任公司 | Connection method of wireless network and terminal equipment |
CN106454884B (en) * | 2015-08-10 | 2018-05-29 | 上海连尚网络科技有限公司 | For distinguishing the method and apparatus of wireless access point of the same name |
CN105323244B (en) * | 2015-09-22 | 2019-02-22 | 小米科技有限责任公司 | Network Recognition method and apparatus |
CN105338659B (en) * | 2015-11-27 | 2018-08-03 | 深圳市朗科科技股份有限公司 | A kind of equipment connection method and terminal |
CN105392142B (en) * | 2015-12-26 | 2018-12-07 | 魅族科技(中国)有限公司 | A kind of Wireless Fidelity Wi-Fi access-in point information storage method and device |
CN107547485B (en) * | 2016-06-29 | 2021-04-09 | 上海连尚网络科技有限公司 | Method and device for identifying phishing hotspots based on big data |
CN106488532B (en) * | 2016-09-14 | 2020-02-07 | 珠海格力电器股份有限公司 | Automatic network distribution method and device, intelligent network distribution equipment and repeater |
CN107979865A (en) * | 2017-12-22 | 2018-05-01 | 广东小天才科技有限公司 | Method and device for connecting WiFi hotspot, mobile terminal and storage medium |
CN111599034A (en) * | 2020-04-22 | 2020-08-28 | 深圳市点嘀互联网络有限公司 | System and method for automatically adapting embedded equipment and controlling automobile data recorder |
CN111653021B (en) * | 2020-06-02 | 2022-07-08 | Tcl通讯(宁波)有限公司 | WiFi-Aware network-based user identity authentication method and device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026513A (en) * | 2006-02-17 | 2007-08-29 | 联想(北京)有限公司 | Wireless network configuration method and terminal, and wireless network predicting method and device |
CN101536587A (en) * | 2006-09-07 | 2009-09-16 | 爱尔瓦纳股份有限公司 | Configuring preferred user zone lists for private access points for wireless networking |
CN103209464A (en) * | 2012-01-11 | 2013-07-17 | 联想(北京)有限公司 | Wireless access method and electronic device using same |
CN103298142A (en) * | 2012-02-24 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and terminal equipment for wireless network connection |
CN103313388A (en) * | 2013-07-02 | 2013-09-18 | 张洁昕 | Method and device for positioning mobile communication terminal |
CN103475996A (en) * | 2013-08-19 | 2013-12-25 | 小米科技有限责任公司 | Network connecting method, network sharing method and devices |
-
2014
- 2014-12-15 CN CN201410776280.5A patent/CN104394579B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026513A (en) * | 2006-02-17 | 2007-08-29 | 联想(北京)有限公司 | Wireless network configuration method and terminal, and wireless network predicting method and device |
CN101536587A (en) * | 2006-09-07 | 2009-09-16 | 爱尔瓦纳股份有限公司 | Configuring preferred user zone lists for private access points for wireless networking |
CN103209464A (en) * | 2012-01-11 | 2013-07-17 | 联想(北京)有限公司 | Wireless access method and electronic device using same |
CN103298142A (en) * | 2012-02-24 | 2013-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and terminal equipment for wireless network connection |
CN103313388A (en) * | 2013-07-02 | 2013-09-18 | 张洁昕 | Method and device for positioning mobile communication terminal |
CN103475996A (en) * | 2013-08-19 | 2013-12-25 | 小米科技有限责任公司 | Network connecting method, network sharing method and devices |
Also Published As
Publication number | Publication date |
---|---|
CN104394579A (en) | 2015-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104394579B (en) | A kind of information processing method and electronic equipment | |
TWI539847B (en) | Method of automatic sim card selection according to network environment | |
CN101959321B (en) | Scene mode switching method based on mobile phone WIFI and mobile phone | |
CN103428708B (en) | Radio switch-in method in a kind of cognition wireless network and system | |
CN104735814A (en) | Access method, system and related device for automatically getting access to WiFi network | |
CN105916151A (en) | Intelligent equipment wireless network access method and system thereof | |
US20150244810A1 (en) | Communication apparatus and network connection method | |
CN111107610A (en) | Method and apparatus for connecting to access point in portable terminal | |
CN107613544A (en) | A kind of method for connecting network of internet of things equipment and a kind of wireless router | |
CN105992390B (en) | Method and system for connecting mobile terminal with WIFI router | |
CN104837180A (en) | Intelligent handset roaming network-searching method and device | |
CN107613471A (en) | A kind of WIFI hot spot information-pushing method, method of reseptance and device | |
CN108173725A (en) | Apparatus control method, device, terminal and computer readable storage medium | |
JP2008258666A (en) | Radio access system and radio access method | |
CN105282820A (en) | Terminal management and control method and device | |
CN104869621B (en) | A kind of Network Recognition method and apparatus | |
US9609506B2 (en) | Identity suspension method for a mobile device | |
CN104010380B (en) | Network selecting method and user equipment | |
WO2015101023A1 (en) | Network switching method and apparatus for multi-mode card terminal | |
CN101616468B (en) | Mobile communication terminal and data service control method thereof | |
CN105264966B (en) | A kind of mark exchange method and equipment | |
JP2005192163A (en) | Communication method and mobile phone | |
CN105848251B (en) | Hotspot access method, device and terminal | |
CN105493540A (en) | Wireless local area network user side device and information processing method | |
EP2733992B1 (en) | Method and apparatus for connecting to an access point in portable terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |