CN107548030A - The control of WiFi switches, data query method of servicing, equipment and medium - Google Patents
The control of WiFi switches, data query method of servicing, equipment and medium Download PDFInfo
- Publication number
- CN107548030A CN107548030A CN201710743491.2A CN201710743491A CN107548030A CN 107548030 A CN107548030 A CN 107548030A CN 201710743491 A CN201710743491 A CN 201710743491A CN 107548030 A CN107548030 A CN 107548030A
- Authority
- CN
- China
- Prior art keywords
- hotspot
- mobile terminal
- base station
- data
- communication base
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
This application discloses WiFi method of controlling switch, equipment and the medium applied to mobile terminal, data query method of servicing, equipment and the medium of Wi-Fi hotspot, to solve the problems, such as electricity that the normally open of WiFi switches in the prior art often wastes mobile terminal.The WiFi method of controlling switch includes:The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is the service coverage area of communication base station corresponding to presently described mobile terminal;The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, switchs the WiFi of the mobile terminal and is closed.
Description
Technical field
The application is related to field of computer technology, more particularly to WiFi method of controlling switch applied to mobile terminal, sets
Data query method of servicing, equipment and the medium of standby and medium, Wi-Fi hotspot.
Background technology
With internet develop rapidly and the use of mobile terminal popularization, types of applications also emerges in multitude.User's profit
With the application on mobile terminal, various Above-the-line can be advantageously carried out.The thing followed is user for mobile data stream
The substantial increase of amount demand.Wherein, mobile terminal can such as include:Mobile phone, tablet personal computer, intelligent wearable device etc..
In the prior art, compared to fixed broadband, still costly, many users are inclined to mobile data campus network
In using Wi-Fi hotspot as much as possible, the WiFi switches on the mobile terminal of this kind of user are substantially normally open.
But in actual applications, the normally open of WiFi switches often wastes the electricity of mobile terminal.
The content of the invention
The embodiment of the present application provides WiFi method of controlling switch, equipment and medium applied to mobile terminal, WiFi heat
Data query method of servicing, equipment and the medium of point, to solve following technical problem of the prior art:WiFi switches
Normally open often wastes the electricity of mobile terminal.
The embodiment of the present application uses following technical proposals:
A kind of WiFi method of controlling switch applied to mobile terminal that the embodiment of the present application provides, including:
The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described shifting
The service coverage area of communication base station corresponding to dynamic terminal;
The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes institute
The WiFi switches for stating mobile terminal are closed.
Alternatively, the control method also includes:
The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot be present in the designated area, make described
The WiFi switches of mobile terminal are in open mode.
Alternatively, the data of the Wi-Fi hotspot into server lookup designated area, are specifically included:
Obtain the identification information of communication base station corresponding to presently described mobile terminal;
According to the identification information of the acquisition, the data of the Wi-Fi hotspot into server lookup designated area.
Alternatively, the server is the incidence relation according to communication base station and Wi-Fi hotspot, determines the Query Result
, wherein, Wi-Fi hotspot is in the service coverage area of the communication base station of its association.
The control method also includes:
Obtain the linkage record information of the mobile terminal connection Wi-Fi hotspot;
The linkage record information is sent to the server, in order to which the server is believed according to the linkage record
Breath, the incidence relation established between communication base station and Wi-Fi hotspot.
Alternatively, the control method also includes:
When the mobile terminal connects Wi-Fi hotspot in the service coverage area, if the server is not yet built
Vertical incidence relation between the Wi-Fi hotspot and the communication base station, the server is set to establish the incidence relation.
Alternatively, the control method also includes:
When the mobile terminal leaves the service coverage area, if WiFi switches are in open mode, close
The WiFi switches.
Alternatively, the control method also includes:
When service coverage area of the mobile terminal from the service coverage area being presently in into another communication base station
When interior, detect in the service coverage area of another communication base station with the presence or absence of available Wi-Fi hotspot;
If so, the WiFi switches are made to be in open mode;
If it is not, it is closed the WiFi switches.
Alternatively, the control method also includes:
When the mobile terminal is in Wi-Fi hotspot connection status, the connection status is detected;
If detect that the connection status is converted to off-state, the WiFi switches are closed.
A kind of data query method of servicing for Wi-Fi hotspot that the embodiment of the present application provides, including:
Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the specified area
Domain is the service coverage area of communication base station corresponding to presently described mobile terminal;
According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, with
It is easy to the mobile terminal to control WiFi switches according to the Query Result.
Alternatively, the data of the storage Wi-Fi hotspot, are specifically included:
Obtain the linkage record information that multiple mobile terminals are sent, the multiple movement of the linkage record information record
The Wi-Fi hotspot that terminal connected;
According to the linkage record information, establish and store the incidence relation between communication base station and Wi-Fi hotspot, wherein,
Wi-Fi hotspot is in the service coverage area of the communication base station of its association, and the incidence relation includes corresponding Wi-Fi hotspot
Data.
Alternatively, the data of the storage Wi-Fi hotspot, in addition to:
When the mobile terminal connects Wi-Fi hotspot in the service coverage area, if the server is not yet built
Vertical incidence relation between the Wi-Fi hotspot and the communication base station, then establish and store the incidence relation.
Alternatively, the data for the Wi-Fi hotspot that the basis prestores, inquiry knot corresponding to the inquiry request is determined
Fruit, specifically include:
Determine the identification information of communication base station corresponding to presently described mobile terminal;
According to the identification information of the determination, and the incidence relation established and stored, determine that the inquiry please
Seek corresponding Query Result.
A kind of WiFi switching control devices applied to mobile terminal that the embodiment of the present application provides, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described shifting
The service coverage area of communication base station corresponding to dynamic terminal;
The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes institute
The WiFi switches for stating mobile terminal are closed.
A kind of data query service equipment for Wi-Fi hotspot that the embodiment of the present application provides, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the specified area
Domain is the service coverage area of communication base station corresponding to presently described mobile terminal;
According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, with
It is easy to the mobile terminal to control WiFi switches according to the Query Result.
A kind of WiFi switch control non-volatile computer storages applied to mobile terminal that the embodiment of the present application provides
Medium, is stored with computer executable instructions, and the computer executable instructions are arranged to:
The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described shifting
The service coverage area of communication base station corresponding to dynamic terminal;
The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes institute
The WiFi switches for stating mobile terminal are closed.
A kind of data query service nonvolatile computer storage media for Wi-Fi hotspot that the embodiment of the present application provides, is deposited
Computer executable instructions are contained, the computer executable instructions are arranged to:
Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the specified area
Domain is the service coverage area of communication base station corresponding to presently described mobile terminal;
According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, with
It is easy to the mobile terminal to control WiFi switches according to the Query Result.
Above-mentioned at least one technical scheme that the embodiment of the present application uses can reach following beneficial effect:It is if current mobile
Wi-Fi hotspot is not present in the service coverage area of communication base station corresponding to terminal, automatically can switch the WiFi of mobile terminal
Close, so as to avoid wasting the electricity of mobile terminal, therefore, can partially or entirely solve above-mentioned technical problem.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen
Schematic description and description please is used to explain the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is a kind of flow signal for WiFi method of controlling switch applied to mobile terminal that the embodiment of the present application provides
Figure;
Fig. 2 is a kind of schematic flow sheet of the data query method of servicing for Wi-Fi hotspot that the embodiment of the present application provides;
Fig. 3 is that a kind of WiFi switch controls applied to mobile terminal corresponding to Fig. 1 that the embodiment of the present application provides are set
Standby structural representation;
Fig. 4 is a kind of knot of the data query service equipment for Wi-Fi hotspot corresponding to Fig. 2 that the embodiment of the present application provides
Structure schematic diagram.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
The scheme of the application is related to mobile terminal and server, and the angle from every end illustrates separately below.
Fig. 1 is a kind of flow signal for WiFi method of controlling switch applied to mobile terminal that the embodiment of the present application provides
Figure.For slave unit angle, the executive agent of the flow is such as can be as the following equipment of mobile terminal:Mobile phone, flat board electricity
Brain, intelligent wearable device, notebook computer, vehicle device, point-of-sale terminal (Point Of Sale, POS) machine etc..From program angle
For, the executive agent of the flow can be the program on mobile terminal, such as, operating system, applications client, page end
Deng.
Flow in Fig. 1 may comprise steps of:
S101:The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is current institute
The service coverage area of communication base station corresponding to mobile terminal is stated, that is, communication base station corresponding to presently described mobile terminal
Signal cover.
S102:The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area,
The WiFi of the mobile terminal is switched to be closed.
Unless otherwise noted, the mobile terminal that following embodiment is mentioned refers to the mobile terminal in the flow.
In the embodiment of the present application, the Wi-Fi hotspot described in flow can be encryption or not encrypt.
The data of Wi-Fi hotspot can refer to:The essential information of Wi-Fi hotspot;Such as service set (Service Set
Identifier, SSID), password, supplier's information etc.;The data of Wi-Fi hotspot can also refer to:For the statistics of Wi-Fi hotspot
Information, such as, if Wi-Fi hotspot be present, how many Wi-Fi hotspot, specific distribution situation etc. be present.
In the embodiment of the present application, user can be carried out on mobile terminals according to the experience for using Wi-Fi hotspot in the past
Set to show oneself preference for Wi-Fi hotspot.Such as, it is desirable to which Wi-Fi hotspot of preferential attachment, which Wi-Fi hotspot by
Be not desired to after the not handy or existence information potential safety hazard again with (equivalent to adding blacklist, for the mobile terminal,
This kind of Wi-Fi hotspot can not be considered as to the Wi-Fi hotspot described in flow).
In the embodiment of the present application, server can prestore the data of Wi-Fi hotspot, in order to be carried for mobile terminal
Serviced for inquiry.
Because the signal reception of mobile terminal is limited, can only often receive in the range of tens meters or more than ten meters
The total data collected by server is not necessarily required in WiFi signal, therefore, mobile terminal, but is typically moved to server lookup
The related partial data in the current location of terminal, such as, the data of the Wi-Fi hotspot of mobile terminal near zone.
The designated area at least partly includes region near mobile terminal, designated area can be based on mobile terminal to
The customizing messages that server is sent is designated.
The customizing messages can be carried on mobile terminal into the inquiry request sent during server lookup, or,
Server etc. can be individually sent to.Customizing messages is generally:For identifying the area identification in one or more region;When
So, in actual applications, customizing messages can also include more contents, such as, the performance data of mobile terminal, current location
Data, for represent for setting data of preference of Wi-Fi hotspot etc..
In the embodiment of the present application, if designated area in Wi-Fi hotspot is not present, mean mobile terminal currently have compared with
Maximum probability does not connect Wi-Fi hotspot.In this case, if the WiFi switches of mobile terminal are in open mode, can cause
To the electricity of mobile terminal and the meaningless wave of other related resources (such as thread resources for scanning WiFi signal etc.)
Take;In order to avoid this waste, WiFi can be switched automatically and closed, controlled manually without user;In addition, if WiFi is switched
Natively it is closed, then remains off.
Similar reason, for step S102, the Query Result returned according to the server, however, it is determined that in designated area
Wi-Fi hotspot be present, can switch the WiFi of mobile terminal and be in open mode.Under another optional embodiment, if
The WiFi switches of mobile terminal are closed originally, and determine Wi-Fi hotspot be present in designated area, then can also enter one
Step ground determines whether the Wi-Fi hotspot is in the signal range of receiving of mobile terminal, if so, WiFi switches are automatically opened up again,
Otherwise, WiFi switches can wouldn't be opened, so as to also contribute to save the electricity of mobile terminal.
It should be noted that the step for for determining to whether there is Wi-Fi hotspot in designated area, except according to service
Beyond the Query Result that device returns, it can be combined with considering the Wi-Fi hotspot that mobile terminal connected.In this case, if this
Two classes foundation shows that Wi-Fi hotspot is not present in designated area, then can switch WiFi and be closed.
In the embodiment of the present application, can be using the service coverage area of communication base station corresponding to current mobile terminal as upper
The designated area stated, in this case, above-mentioned customizing messages can be specifically the identification informations of the communication base station.Lead below
If illustrated based on this scene.
By Fig. 1 method, designated area can include region near mobile terminal, if mobile terminal is nearby not present
Wi-Fi hotspot, the WiFi of mobile terminal can be switched automatically and closed, therefore, can so as to avoid wasting the electricity of mobile terminal
Partially or entirely to solve above-mentioned technical problem.
Method based on Fig. 1, the embodiment of the present application additionally provide some specific embodiments of this method, and extension side
Case, it is illustrated below.
In the embodiment of the present application, mobile terminal can corresponding communication base station directly or indirectly communicate, and
The identification information of communication base station can be obtained.Mobile terminal can according to corresponding to it is current communication base station identification information, to
The data of Wi-Fi hotspot in server lookup designated area.
Further, mobile terminal can be when being communicated, according to the mark of the communication base station of acquisition with communication base station
Information is known, to the data of server lookup Wi-Fi hotspot.So, it can be ensured that mobile terminal is currently in the communication base station really
Service coverage area in.
Further, in order to prevent mobile terminal continually to server lookup, mobile terminal can only with the base that communicates
Stand when carrying out some specific communications, just to server lookup.For example mobile terminal can be only at oneself every time to communication base station
When reporting position (being typically reporting subdistrict number), just to server lookup;For another example, mobile terminal only can also enter communication
When reporting position after the service coverage area of base station for the first time, just to server lookup;Etc..
In the embodiment of the present application, server can obtain the data of Wi-Fi hotspot in advance, further, if certain WiFi is warm
In service coverage area of the point in certain communication base station, then it can establish and store the pass between the communication base station and Wi-Fi hotspot
Connection relation.The incidence relation can include the identification information of the communication base station, and the data of the Wi-Fi hotspot.
One communication base station can associate one or more Wi-Fi hotspot, a Wi-Fi hotspot can also associate one or
The multiple communication base stations of person.
And then for step S102, server can be the pass established and stored according to communication base station and Wi-Fi hotspot
Connection relation, determine the Query Result.
In the embodiment of the present application, server can be obtained simultaneously by modes such as mobile terminal reporting or automatic detections
Store the data of Wi-Fi hotspot and establish the incidence relation.
Exemplified by a manner of mobile terminal reporting.
Multiple mobile terminals (can be specifically any mobile terminal that server is serviced, including the movement in Fig. 1 flows
Terminal) Wi-Fi hotspot that oneself was connected the identification information of corresponding communication base station (and during connection) can be recorded,
Linkage record information is obtained, linkage record information is sent to server, then server can be according to linkage record acquisition of information
And store the data of Wi-Fi hotspot and establish the incidence relation.
Process in the preceding paragraph can also have more real-time.Such as when service of the mobile terminal in present communications base station is covered
When some upper Wi-Fi hotspot is connected in cover area, if server not yet establishes associating between the Wi-Fi hotspot and the communication base station
Relation, then it can establish server and store the incidence relation.In this way, be also beneficial to improve server on data it is complete
Property.
In the embodiment of the present application, when mobile terminal leaves the service coverage area of present communications base station, if WiFi is opened
Pass is in open mode, temporarily first automatic can close WiFi switches.And then the region residing for following mobile terminal can be waited
In Wi-Fi hotspot presence situation it is clear and definite after, yet further control WiFi switch.
For example, when mobile terminal enters in the service coverage area of another communication base station from service coverage area is presently in
When, it can detect in the service coverage area of another communication base station with the presence or absence of available Wi-Fi hotspot;If so, switch WiFi
In open mode, and then it can attempt to connect the Wi-Fi hotspot in the service coverage area of another communication base station;If it is not, can
So that WiFi switches are closed, to save the electricity of mobile terminal.
It should be noted that above-mentioned available Wi-Fi hotspot refers mainly to free Wi-Fi hotspot, it can including unencryption
With the Wi-Fi hotspot being directly connected to, and encryption Wi-Fi hotspot shared etc..
The mode of above-mentioned detection such as can be to server lookup or voluntarily to search for WiFi signal etc..
In the embodiment of the present application, WiFi real-time status can also be connected according to mobile terminal, WiFi is switched and carried out
Control.
For example, when mobile terminal is in Wi-Fi hotspot connection status, the connection status can be detected, work as inspection
When measuring the connection status and being converted to off-state, WiFi switches can be closed.
Use the example above and go on to say, in actual applications, if mobile terminal nearby has multiple Wi-Fi hotspots, work as movement
When terminal disconnects with the Wi-Fi hotspot being currently connected, another Wi-Fi hotspot may be connected rapidly, or even may also be again
The Wi-Fi hotspot connected originally in connection.Under the circumstances, it can give mobile terminal one time for attempting connection, than
Such as, when detecting that the connection status is converted to off-state, wait for a period of time, if mobile terminal fails in this time
Wi-Fi hotspot in connection, turn off WiFi switches.
In superincumbent each embodiment, covered with the service that designated area is communication base station corresponding to current mobile terminal
Exemplified by region.In actual applications, it can also according to demand expand or reduce designated area, in order to make it easy to understand, below
Illustrate.
For example, user is likely to be on the vehicles quickly moved, such as, bus, train etc., then mobile terminal is past
Quickly it is moved in the service coverage area of another communication base station from the service coverage area with user toward meeting, and can also holds
Continuous movement, so as to which mobile terminal may be continually to server lookup.For such case, designated area can be expanded, with honeybee
Exemplified by nest network, it is assumed that communication base station corresponding to current mobile terminal is A base stations, then clothes of the designated area except including A base stations
It is engaged in beyond overlay area, for example can also be covered including other 6 communication base station services adjacent with the service coverage area of A base stations
Cover area, so advantageously reduce the inquiry times of mobile terminal.
It is of course also possible to reduce designated area.For example for directional base station, it typically has the antenna of multiple different directions,
So as to which the service coverage area of the directional base station to be divided into multiple cells of respective numbers, in this case, designated area
Can be that mobile terminal is currently located cell;Mobile terminal can be according to the cell id for being currently located cell and corresponding communication base station
Identification information, the data of the Wi-Fi hotspot into server lookup designated area.In this way, because designated area reduces, then
Mobile terminal can more accurately understand neighbouring situation by inquiry, and then be advantageous to reasonably control WiFi to switch.
Further, in actual applications, it might even be possible to independent of communication base station, specify the designated area.In order to
Readily appreciate, illustrated separately below by taking two class schemes as an example.
First kind scheme:Specified coordinate point and distance to a declared goal can be used for mark and specify seat with this as area identification
Centered on punctuate, and the region using the distance to a declared goal as the distance at the center to edges of regions.Mobile terminal can be according to specified
Coordinate points and distance to a declared goal, the data of the Wi-Fi hotspot into server lookup designated area.
In the case of the preceding paragraph, usually, designated area can be identified by the specified coordinate point and distance to a declared goal
Region.It is that border circular areas (mainly considering plane coordinates) or spheric region are (main to consider that solid space is sat with designated area
Mark) exemplified by, then the distance to a declared goal is the circular or spherical radius.
This kind of project plan comparison is adapted to the mobile terminal for making capability by oneself, such as, being capable of global positioning system (Global
Positioning System, GPS) positioning mobile terminal etc..These mobile terminals can obtain working as oneself by positioning
The data of front position, and then the data of the current location according to oneself (as above-mentioned specified coordinate point, usually, are specially
The coordinate points represented with longitude and latitude), to Wi-Fi hotspot of the server lookup in the designated area centered on the current location
Data.
Wherein, preset value is designated as from the distance (that is, above-mentioned) at the center to designated area edge, or, should
Distance is specified by the performance data based on the mobile terminal.
For the former mode of the preceding paragraph, such as, the preset value can in advance on mobile terminals by user
Selection or input obtain;For another example, the preset value can also be obtained by the configuration information of server.For the latter of the preceding paragraph
Kind mode, such as, the performance data can reflect the WiFi signal receiving ability of mobile terminal, be adapted to the ability to this
Distance is specified;It is assumed that mobile terminal can receive the WiFi signal at farthest 30 meters, for example the distance can be appointed as
30 meters of several times or 30 meters are plus fixed range, etc..
Second class scheme:POI is specified to can be used for the region that mark belongs to the POI as area identification in electronic map.
The buildings such as market, hotel, government organs, office building, school shown in electronic map can serve as POI.Mobile terminal can be with
The POI (being typically also required to determine by positioning) being presently according to oneself, the WiFi heat into server lookup designated area
The data of point.
In the case of the preceding paragraph, usually, designated area can be to belong to the region of the POI.
For example, when user is in certain market, mobile terminal is currently at by mounted electronic map application determination
In the market, then the title in the market is sent to server, to inquire about the data of the Wi-Fi hotspot in the market.
Based on same thinking, the embodiment of the present application additionally provides a kind of data query method of servicing of Wi-Fi hotspot, is
Illustrated from the angle of server, Fig. 2 is the schematic flow sheet of the service method for inquiring.For slave unit angle, the stream
The executive agent of journey is such as can be as the following equipment of server:Computer cluster, big-and-middle-sized computer, personal computer
Deng.For program angle, the executive agent of the flow can be the program on server, such as operating system, service end journey
Sequence etc..
Flow in Fig. 2 may comprise steps of:
S201:Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the finger
Determine the service coverage area that region is communication base station corresponding to presently described mobile terminal.
S202:According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return
Return, in order to which the mobile terminal controls WiFi switches according to the Query Result.
In this specification embodiment, server can on a large scale obtain on a large scale in advance and store the number of Wi-Fi hotspot
According to, the mode of collection is unlimited, such as, mobile terminal reporting or automatic detection etc..Further, for the ease of mobile terminal
During inquiry can quick-searching, server can handle the data of the Wi-Fi hotspot obtained according to certain strategy,
For example establish incidence relation etc..Have been carried out describing in detail above, for the sake of simplicity, be only briefly described here.
In the embodiment of the present application, for step S202, the data of the storage Wi-Fi hotspot, can specifically include:Obtain
The linkage record information that takes multiple mobile terminals to send, the multiple mobile terminal of the linkage record information record connected
Wi-Fi hotspot;According to the linkage record information, establish and store the incidence relation between communication base station and Wi-Fi hotspot, its
In, Wi-Fi hotspot is in the service coverage area of the communication base station of its association, and the incidence relation includes corresponding WiFi heat
The data of point.
In the embodiment of the present application, for step S202, the data of the storage Wi-Fi hotspot, can also include:Work as institute
When stating mobile terminal Wi-Fi hotspot is connected in the service coverage area, if the server not yet establishes the Wi-Fi hotspot
With the incidence relation between the communication base station, then establish and store the incidence relation.
In the embodiment of the present application, for the data of step S202, the basis Wi-Fi hotspot prestored, institute is determined
Query Result corresponding to inquiry request is stated, can specifically be included:Determine the mark of communication base station corresponding to presently described mobile terminal
Know information;According to the identification information of the determination, and the incidence relation established and stored, determine the inquiry request
Corresponding Query Result.
In the embodiment of the present application, the data of Wi-Fi hotspot may change over time, such as, have newly-increased or have
Reduce, it is existing to change, etc..Therefore, server generally will be periodically or in real time to the Wi-Fi hotspot of storage
Data are updated, to ensure the reliability of data.
Based on same thinking, the embodiment of the present application additionally provides corresponding equipment and non-volatile computer storage is situated between
Matter.
Fig. 3 is that a kind of WiFi switch controls applied to mobile terminal corresponding to Fig. 1 that the embodiment of the present application provides are set
Standby structural representation.
Equipment in Fig. 3, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described shifting
The service coverage area of communication base station corresponding to dynamic terminal;
The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes institute
The WiFi switches for stating mobile terminal are closed.
Fig. 4 is a kind of knot of the data query service equipment for Wi-Fi hotspot corresponding to Fig. 2 that the embodiment of the present application provides
Structure schematic diagram.
Equipment in Fig. 4, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the specified area
Domain is the service coverage area of communication base station corresponding to presently described mobile terminal;
According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, with
It is easy to the mobile terminal to control WiFi switches according to the Query Result.
A kind of WiFi switch controls applied to mobile terminal that the embodiment of the present application is additionally provided corresponding to Fig. 1 are non-volatile
Property computer-readable storage medium, is stored with computer executable instructions, the computer executable instructions are arranged to:
The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described shifting
The service coverage area of communication base station corresponding to dynamic terminal;
The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes institute
The WiFi switches for stating mobile terminal are closed.
The embodiment of the present application additionally provides the non-volatile calculating of data query service corresponding to a kind of Fig. 2 Wi-Fi hotspot
Machine storage medium, is stored with computer executable instructions, and the computer executable instructions are arranged to:
Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the specified area
Domain is the service coverage area of communication base station corresponding to presently described mobile terminal;
According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, with
It is easy to the mobile terminal to control WiFi switches according to the Query Result.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for equipment and
For media embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to method
The part explanation of embodiment.
The equipment and medium that the embodiment of the present application provides are one-to-one with method, and therefore, equipment and medium also have
The similar advantageous effects of corresponding method, due to having been carried out specifically to the advantageous effects of method above
It is bright, therefore, the advantageous effects of equipment and medium are repeated no more here.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art
For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (17)
- A kind of 1. WiFi method of controlling switch applied to mobile terminal, it is characterised in that including:The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described mobile whole The service coverage area of communication base station corresponding to end;The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes the shifting The WiFi switches of dynamic terminal are closed.
- 2. the method as described in claim 1, it is characterised in that methods described also includes:The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot be present in the designated area, make the movement The WiFi switches of terminal are in open mode.
- 3. the method as described in claim 1, it is characterised in that the Wi-Fi hotspot into server lookup designated area Data, specifically include:Obtain the identification information of communication base station corresponding to presently described mobile terminal;According to the identification information of the acquisition, the data of the Wi-Fi hotspot into server lookup designated area.
- 4. the method as described in claim 1, it is characterised in that the server is the pass according to communication base station and Wi-Fi hotspot Connection relation, the Query Result is determined, wherein, Wi-Fi hotspot is in the service coverage area of the communication base station of its association.
- 5. method as claimed in claim 4, it is characterised in that methods described also includes:Obtain the linkage record information of the mobile terminal connection Wi-Fi hotspot;The linkage record information is sent to the server, in order to which the server is according to the linkage record information, The incidence relation established between communication base station and Wi-Fi hotspot.
- 6. method as claimed in claim 4, it is characterised in that methods described also includes:When the mobile terminal connects Wi-Fi hotspot in the service coverage area, if the server not yet establishes this Incidence relation between Wi-Fi hotspot and the communication base station, the server is set to establish the incidence relation.
- 7. the method as described in claim 1, it is characterised in that methods described also includes:When the mobile terminal leaves the service coverage area, if the WiFi, which is switched, is in open mode, described in closing WiFi is switched.
- 8. the method as described in claim 1, it is characterised in that methods described also includes:When the mobile terminal enters in the service coverage area of another communication base station from the service coverage area being presently in, Detect in the service coverage area of another communication base station with the presence or absence of available Wi-Fi hotspot;If so, the WiFi switches are made to be in open mode;If it is not, it is closed the WiFi switches.
- 9. the method as described in claim 1, it is characterised in that methods described also includes:When the mobile terminal is in Wi-Fi hotspot connection status, the connection status is detected;If detect that the connection status is converted to off-state, the WiFi switches are closed.
- A kind of 10. data query method of servicing of Wi-Fi hotspot, it is characterised in that including:Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the designated area is The service coverage area of communication base station corresponding to presently described mobile terminal;According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, in order to The mobile terminal controls WiFi switches according to the Query Result.
- 11. method as claimed in claim 10, it is characterised in that the data of the storage Wi-Fi hotspot, specifically include:Obtain the linkage record information that multiple mobile terminals are sent, the multiple mobile terminal of the linkage record information record The Wi-Fi hotspot connected;According to the linkage record information, establish and store the incidence relation between communication base station and Wi-Fi hotspot, wherein, WiFi Focus is in the service coverage area of the communication base station of its association, and the incidence relation includes the number of corresponding Wi-Fi hotspot According to.
- 12. method as claimed in claim 11, it is characterised in that the data of the storage Wi-Fi hotspot, in addition to:When the mobile terminal connects Wi-Fi hotspot in the service coverage area, if the server not yet establishes this Incidence relation between Wi-Fi hotspot and the communication base station, then establish and store the incidence relation.
- 13. the method as described in claim 11 or 12, it is characterised in that the number for the Wi-Fi hotspot that the basis prestores According to, determine the inquiry request corresponding to Query Result, specifically include:Determine the identification information of communication base station corresponding to presently described mobile terminal;According to the identification information of the determination, and the incidence relation established and stored, determine the inquiry request pair The Query Result answered.
- A kind of 14. WiFi switching control devices applied to mobile terminal, it is characterised in that including:At least one processor;AndThe memory being connected with least one processor communication;Wherein,The memory storage has can be by the instruction of at least one computing device, and the instruction is by least one place Manage device to perform, so that at least one processor can:The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described mobile whole The service coverage area of communication base station corresponding to end;The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes the shifting The WiFi switches of dynamic terminal are closed.
- A kind of 15. data query service equipment of Wi-Fi hotspot, it is characterised in that including:At least one processor;AndThe memory being connected with least one processor communication;Wherein,The memory storage has can be by the instruction of at least one computing device, and the instruction is by least one place Manage device to perform, so that at least one processor can:Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the designated area is The service coverage area of communication base station corresponding to presently described mobile terminal;According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, in order to The mobile terminal controls WiFi switches according to the Query Result.
- 16. a kind of WiFi switch control nonvolatile computer storage medias applied to mobile terminal, being stored with computer can Execute instruction, the computer executable instructions are arranged to:The data of Wi-Fi hotspot into server lookup designated area, wherein, the designated area is presently described mobile whole The service coverage area of communication base station corresponding to end;The Query Result returned according to the server, however, it is determined that Wi-Fi hotspot is not present in the designated area, makes the shifting The WiFi switches of dynamic terminal are closed.
- 17. a kind of data query service nonvolatile computer storage media of Wi-Fi hotspot, is stored with the executable finger of computer Order, the computer executable instructions are arranged to:Inquiry request of the mobile terminal for the data of the Wi-Fi hotspot in designated area is received, wherein, the designated area is The service coverage area of communication base station corresponding to presently described mobile terminal;According to the data of the Wi-Fi hotspot prestored, determine Query Result corresponding to the inquiry request and return, in order to The mobile terminal controls WiFi switches according to the Query Result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710743491.2A CN107548030B (en) | 2017-08-25 | 2017-08-25 | WiFi switch control and data query service method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710743491.2A CN107548030B (en) | 2017-08-25 | 2017-08-25 | WiFi switch control and data query service method, device and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107548030A true CN107548030A (en) | 2018-01-05 |
CN107548030B CN107548030B (en) | 2022-03-11 |
Family
ID=60958853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710743491.2A Active CN107548030B (en) | 2017-08-25 | 2017-08-25 | WiFi switch control and data query service method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107548030B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110248398A (en) * | 2019-03-25 | 2019-09-17 | 生迪智慧科技有限公司 | The control method and device of smart machine |
CN111970745A (en) * | 2019-05-20 | 2020-11-20 | 青岛海信移动通信技术股份有限公司 | WLAN (Wireless local area network) connection method of terminal and terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674689A (en) * | 2003-12-16 | 2005-09-28 | 三星电子株式会社 | Method and system for providing information in interworking between mobile communication network and wireless local area network |
US20070049211A1 (en) * | 2003-12-19 | 2007-03-01 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling auxiliary pilot channel in a CDMA2000 wireless network |
CN102256334A (en) * | 2010-05-21 | 2011-11-23 | 鼎桥通信技术有限公司 | Method for finding radio local area network in mobile network |
CN103582076A (en) * | 2012-08-07 | 2014-02-12 | 中兴通讯股份有限公司 | WLAN WifiTrak control method and device |
CN103781172A (en) * | 2012-10-17 | 2014-05-07 | 中国移动通信集团江苏有限公司 | Wireless local area network (WLAN) coverage prompting method and system |
CN104144477A (en) * | 2013-05-08 | 2014-11-12 | 上海掌门科技有限公司 | Wi-Fi power-saving method and system |
WO2017031845A1 (en) * | 2015-08-24 | 2017-03-02 | 中兴通讯股份有限公司 | Wireless access method and terminal |
CN106790743A (en) * | 2016-11-28 | 2017-05-31 | 北京小米移动软件有限公司 | Information transferring method, device and mobile terminal |
-
2017
- 2017-08-25 CN CN201710743491.2A patent/CN107548030B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674689A (en) * | 2003-12-16 | 2005-09-28 | 三星电子株式会社 | Method and system for providing information in interworking between mobile communication network and wireless local area network |
US20070049211A1 (en) * | 2003-12-19 | 2007-03-01 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling auxiliary pilot channel in a CDMA2000 wireless network |
CN102256334A (en) * | 2010-05-21 | 2011-11-23 | 鼎桥通信技术有限公司 | Method for finding radio local area network in mobile network |
CN103582076A (en) * | 2012-08-07 | 2014-02-12 | 中兴通讯股份有限公司 | WLAN WifiTrak control method and device |
CN103781172A (en) * | 2012-10-17 | 2014-05-07 | 中国移动通信集团江苏有限公司 | Wireless local area network (WLAN) coverage prompting method and system |
CN104144477A (en) * | 2013-05-08 | 2014-11-12 | 上海掌门科技有限公司 | Wi-Fi power-saving method and system |
WO2017031845A1 (en) * | 2015-08-24 | 2017-03-02 | 中兴通讯股份有限公司 | Wireless access method and terminal |
CN106790743A (en) * | 2016-11-28 | 2017-05-31 | 北京小米移动软件有限公司 | Information transferring method, device and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110248398A (en) * | 2019-03-25 | 2019-09-17 | 生迪智慧科技有限公司 | The control method and device of smart machine |
CN111970745A (en) * | 2019-05-20 | 2020-11-20 | 青岛海信移动通信技术股份有限公司 | WLAN (Wireless local area network) connection method of terminal and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107548030B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Narayanan et al. | Lumos5G: Mapping and predicting commercial mmWave 5G throughput | |
CN107192390B (en) | Localization method, device and the terminal device of shared vehicle | |
US9408027B2 (en) | Mobile device, method and recording medium | |
JP6448906B2 (en) | Information providing method of system including electronic device and information providing server, and electronic device to which the method is applied | |
CN106792992B (en) | Method and equipment for providing wireless access point information | |
US20140153485A1 (en) | Information processing apparatus, communication system, information processing method, and program | |
WO2016112045A1 (en) | Information collection and processing method, client terminal and server | |
CN104041085A (en) | Information processing device, method, and non-transitory recording medium | |
US20180262982A1 (en) | Wifi access system | |
CN103822638B (en) | The treating method and apparatus of customer position information | |
CN102227611A (en) | Method, apparatus and computer program product for providing cursor for indicating context data in mapping application | |
CN105025101A (en) | Hand-drawn map-based intelligent guide and navigation system of Android system | |
CN109672980A (en) | Determine the method, apparatus and storage medium of the corresponding WLAN hot spot of point of interest | |
CN106413041A (en) | Mobile terminal cell dwelling method and apparatus | |
CN106231650A (en) | A kind of method for network access and terminal | |
CN103796302A (en) | Method and device for detecting entrance/exit location area of mobile terminal, and mobile terminal | |
CN107820302A (en) | Mobile terminal wireless local area network scan method and apparatus, computer equipment | |
CN107548030A (en) | The control of WiFi switches, data query method of servicing, equipment and medium | |
US20230403612A1 (en) | Cell data transmission method and apparatus and electronic device | |
CN106657950A (en) | Projection device management device, method and projection data sharing device | |
US20230325804A1 (en) | Program function triggering method and apparatus, device, system, medium, and program product | |
CN103828431A (en) | Changing the machine-to-machine (M2M) group of an M2M device | |
Caruso et al. | Mobility management for smart sightseeing | |
EP4106353A1 (en) | Method and apparatus for acquiring installation information of network access device | |
CN116266899A (en) | Tracking area boundary information processing method and device, electronic equipment and readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |