EP2852227A1 - Method and apparatus for controlling wireless fidelity device in terminal, and terminal - Google Patents
Method and apparatus for controlling wireless fidelity device in terminal, and terminal Download PDFInfo
- Publication number
- EP2852227A1 EP2852227A1 EP12890864.7A EP12890864A EP2852227A1 EP 2852227 A1 EP2852227 A1 EP 2852227A1 EP 12890864 A EP12890864 A EP 12890864A EP 2852227 A1 EP2852227 A1 EP 2852227A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- wifi access
- wifi
- access point
- coverage
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0241—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where no transmission is received, e.g. out of range of the transmitter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- 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
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/021—Terminal devices adapted for Wireless Local Loop operation
-
- 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
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a control method and apparatus for a wireless fidelity (wireless fidelity, wifi) device, and a terminal.
- a wireless fidelity wireless fidelity, wifi
- test data in a certain mobile phone indicates that if no wifi access point identifier has been stored, a current is about 5 milliamps when the screen of the mobile phone is turned off, while if a wifi access point identifier has been stored, a current is about 10 milliamps when the screen of the mobile phone is turned off.
- a wifi device in a terminal is turned off immediately after the terminal is disconnected from a wifi access point, when re-entering an area covered by the wifi access point, the wifi device cannot be automatically connected to the wifi access point.
- the inventor of the present invention finds that, a common problem for a wifi device is that, after leaving an area covered by a wifi access point, the wifi device enters a standby state, thereby causing an additional current consumption of 5-10mA, and if the wifi device is turned off, when re-entering the area covered by the wifi access point, the wifi device cannot be automatically turned on.
- Embodiments of the present invention provide a control method for a wifi device in a terminal, which can trigger turning-off or turning-on of the wifi device in the terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- the present invention provides a control method for a wireless fidelity wifi device in a terminal, including:
- the step of triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment specifically includes:
- the step of triggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment specifically includes:
- control method further includes:
- control method further includes:
- control method further includes:
- control apparatus including:
- the first control unit includes: a first determining subunit and a first control subunit, where the first determining subunit is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and the first control subunit is configured to trigger the turning-off of the wifi device when the first determining subunit determines that the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- the second control unit includes: a second determining subunit and a second control subunit, where the second determining subunit is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and the second control subunit is configured to trigger the turning-on of the wifi device when the second determining subunit determines that the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points.
- control apparatus further includes an associative storage unit, where the acquiring unit is further configured to acquire a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point, and acquire the identifier of the new wifi access point and coverage of the new wifi access point; and the associative storage unit is configured to associatively store the identifier of the new wifi access point and the coverage of the new wifi access point that are acquired by the acquiring unit.
- the control apparatus further includes a first sending unit, where the first sending unit is configured to send a first search instruction to the wifi device after the second control unit triggers the turning-on of the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points.
- the second sending unit is configured to send a second search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
- the receiving unit is configured to receive identifiers of found wifi access points sent by the wifi device;
- the determining unit is configured to determine an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points received by the receiving unit;
- the second sending unit is configured to send, to the wifi device, the identifier, which is determined by the determining unit, of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times.
- the present invention provides a terminal, including: a control apparatus and a wifi device, where the control apparatus controls the wifi device; and the control apparatus is the control apparatus described in the foregoing technical solutions.
- first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal are acquired, where the first moment is earlier than the second moment; turning-off of the wifi device is triggered when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and turning-on of the wifi device is triggered when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- a wifi device in a standby state wastes power, and after the wifi device is turned off, the wifi device cannot be automatically turned on
- the control method for a wifi device in a terminal provided in the embodiments of the present invention, turning-off or turning-on of the wifi device in the terminal can be triggered according to a location of the terminal in a moving process, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- Embodiments of the present invention provide a control method for a wifi device in a terminal, which can trigger turning-off or turning-on of the wifi device in the terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- the embodiments of the present invention further provide a corresponding apparatus and terminal, which are described separately in detail in the following.
- an embodiment of a control method for a wireless fidelity (wireless fidelity, wifi) device in a terminal provided in the embodiments of the present invention includes:
- a network is connected through a radio wave, generally a wireless router is used, and a network can always be connected in a wifi connection manner within an effective area covered by a radio wave of the wireless router.
- the wifi device is a wifi module in the terminal, where the wifi module establishes a connection to a wifi access point.
- the wifi access point may be a terminal device such as a wireless router, and a computer or a mobile phone with a wifi function.
- the terminal in the embodiment of the present invention may be a device such as a mobile phone, a personal digital assistant (personal digital assistant, PDA), and a notebook computer.
- a mobile phone such as a mobile phone, a personal digital assistant (personal digital assistant, PDA), and a notebook computer.
- PDA personal digital assistant
- the terminal After establishing a connection to a wifi access point for the first time, the terminal stores an identifier of the wifi access point, such as an identifier of a wireless router.
- Each wifi access point has coverage.
- coverage of wifi access points corresponding to wifi access point identifiers stored in the terminal may all overlap, or partially overlap, or not overlap at all.
- the terminal may move out of coverage of a wifi access point from the coverage of the wifi access point. If the terminal moves out of the coverage of the wifi access point, a wifi connection is disconnected, and if the wifi is still in an on-state, power is consumed.
- location information of the terminal may be acquired continuously, where location information of a location where the terminal is located may be an identifier of a serving cell where the terminal is located, and preferably, is location information of accurate longitude and latitude obtained through positioning of a global positioning system (Global Positioning System, GPS).
- Global Positioning System GPS
- Each wifi access point has a unique identifier, and coverage of a wifi access point may be set before the wifi access point leaves the factory, for example, an identifier of a wireless router corresponds to coverage of the wireless router.
- the determining whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment and whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment may be determining whether a location of the terminal at the first moment and a location of the terminal at the second moment are within or outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- the terminal stores 5 wifi access point identifiers, which are wifi1, wifi2, wifi3, wifi4, and wifi5, and coverage of a wifi access point corresponding to each of the wifi access point identifiers has been determined. It is assumed that coverage of a wifi access point corresponding to wifi1 and coverage of a wifi access point corresponding to wifi2 partially overlap, and coverage of a wifi access point corresponding to each of wifi3, wifi4, and wifi5 does not overlap with coverage of the other 4 wifi access points, and when the terminal begins to move in the coverage of the wifi access point corresponding to wifi1, first location information at a first moment and second location information at a second moment are acquired.
- 5 wifi access point identifiers which are wifi1, wifi2, wifi3, wifi4, and wifi5
- a location corresponding to the first location information is within the coverage of the wifi access point corresponding to wifi1
- a location corresponding to the second location information is within the coverage of the wifi access point corresponding to wifi2
- a handover between the wifi access points occurs; and if the location corresponding to the second location information is not within the coverage of the wifi access points corresponding to wifi1, wifi2, wifi3, wifi4, and wifi5, the turning-off of the wifi device can be triggered, so as to reduce power consumption of the wifi device.
- the determining whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment and whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment may be determining whether a location of the terminal at the first moment and a location of the terminal at the second moment are within or outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- the terminal stores 5 wifi access point identifiers, which are wifi1, wifi2, wifi3, wifi4, and wifi5, and coverage of a wifi access point corresponding to each of the wifi access point identifiers has been determined. It is assumed that coverage of a wifi access point corresponding to wifi1 and coverage of a wifi access point corresponding to wifi2 partially overlap, and coverage of a wifi access point corresponding to each of wifi3, wifi4, and wifi5 does not overlap with coverage of the other 4 wifi access points, and when the terminal begins to move in the coverage of the wifi access point corresponding to wifi1, first location information at a first moment and second location information at a second moment are acquired.
- 5 wifi access point identifiers which are wifi1, wifi2, wifi3, wifi4, and wifi5
- a location corresponding to the first location information is outside the coverage of the wifi access points corresponding to wifi1, wifi2, wifi3, wifi4, and wifi5, and a location corresponding to the second location information is within the coverage of the wifi access point corresponding to wifi1, and the turning-on of the wifi device can be triggered.
- first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal are acquired, where the first moment is earlier than the second moment; turning-off of the wifi device is triggered when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and turning-on of the wifi device is triggered when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- a wifi device in a standby state wastes power, and after the wifi device is turned off, the wifi device cannot be automatically turned on
- the control method for a wifi device in a terminal provided in the embodiment of the present invention, turning-off or turning-on of the wifi device in the terminal can be triggered according to a location of the terminal in a moving process, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- the step of triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment may specifically include:
- whether the location corresponding to the first location information of the terminal and the location corresponding to the second location information are within or outside the coverage of the wifi access points corresponding to the wifi access point identifiers stored in the terminal may be determined in a GPS positioning manner.
- a wifi access point corresponding to a wifi access point identifier stored in the terminal is the Shenzhen International Trading Building, and it is acquired that in a moving process of the terminal, a location corresponding to first location information at a first moment is in the hall of the International Trading Building, and a location corresponding to second location information at a second moment is outside the entrance of the International Trading Building, it can be determined that the terminal has moved outside the coverage of the wifi access point, and turning-off of the wifi device can be triggered.
- the step of triggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment may specifically include:
- the terminal if it is determined, through positioning of a GPS, that the location corresponding to the first location information of the terminal at the first moment is outside the entrance of the Shenzhen International Trading Building, and the location corresponding to the second location information at the second moment is the hall of the Shenzhen International Trading Building, it can be determined that the terminal enters the coverage of the wifi access point, and turning-on of the wifi device of the terminal can be triggered.
- control method for a wifi device in a terminal provided in the embodiments of the present invention, may further include:
- the terminal after the terminal receives a trigger instruction triggered by a user for connecting to a new wifi access point, the terminal can acquire an identifier of the new wifi access point and coverage of the new wifi access point, and associatively store the identifier of the new wifi access point and the coverage of the new wifi access point.
- control method for a wifi device in a terminal provided in the embodiments of the present invention, after the step of turning on the wifi device, the control method may further include:
- the wifi device after the terminal enters coverage of a wifi access point, the wifi device is turned on, and after the wifi device is turned on, the wifi device can search for wifi access points corresponding to wifi access point identifiers stored in the terminal, where coverage of the wifi access points may overlap.
- the wifi device finds only one wifi access point, the wifi device may establish a wifi connection to the found wifi access point. If the wifi device finds several wifi access points, the wifi device may establish a wifi connection to one selected found wifi access point.
- control method for a wifi device in a terminal provided in the embodiments of the present invention, after the step of turning on the wifi device, the control method may further include:
- a control apparatus may send a search instruction to the wifi device, so that the wifi device can search for wifi access points corresponding to wifi access point identifiers stored in the terminal, where coverage of the wifi access points may overlap.
- the wifi device finds only one or multiple wifi access points, the wifi device may return identifiers of the found wifi access points to the control apparatus, so that the control apparatus can determine an identifier of a wifi access point to which a connection is established for the most times, and instruct the wifi device to establish a connection to the wifi access point to which the connection is established for the most times.
- coverage of a wifi access point 10 is determined, and a location where the wifi access point 10 is located may be used as the origin of coordinates, and the coverage of the wifi access point 10 is a circular area with a radius of 100 meters and centered on the origin of coordinates.
- a terminal 20 acquires, in a GPS or another manner, that first location information of the moving terminal 20 at a first moment is 90 meters to the left of the origin, and second location information of the moving terminal 20 at a second moment is 101 meters to the left of the origin, so that it can be determined that the terminal 20 moves outside the coverage of the wifi access point 10, and the terminal 20 can trigger turning-off of a wifi device in the terminal 20.
- the terminal 20 acquires, in a GPS or another manner, that the first location information of the moving terminal 20 at the first moment is 101 meters to the left of the origin, and the second location information of the moving terminal 20 at the second moment is 90 meters to the left of the origin, it can be determined that the terminal 20 moves into the coverage of the wifi access point 10, and the terminal 20 can trigger turning-on of the wifi device in the terminal 20.
- an embodiment of a control apparatus provided in the embodiments of the present invention includes:
- the acquiring unit 301 acquires first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment; the first control unit 302 triggers turning-off of the wifi device when it is determined that the terminal is located within coverage, which is acquired by the acquiring unit 301, of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and the second control unit 303 triggers turning-on of the wifi device when it is determined that the terminal is located outside the coverage, which is acquired by the acquiring unit 301, of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- control apparatus provided in the embodiments of the present invention can trigger turning-off or turning-on of a wifi device in a terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- the first control unit 302 includes a first determining subunit 3021 and a first control subunit 3022, where the first determining subunit 3021 is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and the first control subunit 3022 is configured to trigger the turning-off of the wifi device when the first determining subunit 3021 determines that the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- the second control unit 303 includes a second determining subunit 3031 and a second control subunit 3032, where the second determining subunit 3031 is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and the second control subunit 3032 is configured to trigger the turning-on of the wifi device when the second determining subunit 3031 determines that the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points.
- another embodiment of the terminal provided in the embodiments of the present invention further includes an associative storage unit 304, where the acquiring unit 301 is further configured to acquire a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point, and acquire the identifier of the new wifi access point and coverage of the new wifi access point; and the associative storage unit 304 is configured to associatively store the identifier of the new wifi access point and the coverage of the new wifi access point that are acquired by the acquiring unit 301.
- another embodiment of the terminal provided in the embodiments of the present invention further includes a first sending unit 305, where the first sending unit 305 is configured to send a first search instruction to the wifi device after the second control unit 303 triggers the turning-on of the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points.
- another embodiment of the terminal provided in the embodiments of the present invention further includes a second sending unit 305, a receiving unit 306, and a determining unit 307, where the second sending unit 305 is configured to send a second search instruction to the wifi device after the second control unit 303 triggers the turning-on of the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
- the receiving unit 306 is configured to receive identifiers of found wifi access points sent by the wifi device;
- the determining unit 307 is configured to determine an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points received by the receiving unit 306; and the second sending unit 305 is further configured to send, to the wifi device, the identifier, which is determined by the determining unit 307, of the wifi access point to which the connection is established for the most times, so
- An embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores an executable program, and when the program is run, the following steps are performed:
- step may further be performed:
- an embodiment of a terminal provided in the embodiments of the present invention includes: a wifi device 200, a detection apparatus 210, a memory 220, and a processor 230, where the detection apparatus 210 is configured to detect, in a moving process of the terminal, first location information at a first moment and second location information at a second moment; the memory 220 is configured to store coverage of each of wifi access points corresponding to each of all wifi access point identifiers, where all wifi access points have established a connection to the terminal before; and the processor 230 is configured to trigger turning-off of the wifi device 200 when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and trigger turning-on of the wifi device 200 when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the
- the processor 230 is specifically configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and trigger the turning-off of the wifi device 200 when the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- the processor 230 is specifically configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and trigger the turning-on of the wifi device 200 when it is determined that the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points.
- another embodiment of the terminal provided in the embodiments of the present invention further includes a receiver 240, where the receiver 240 is configured to receive a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point; the detection apparatus 210 is further configured to detect coverage of the new wifi access point corresponding to the identifier of the new wifi access point; and the memory 220 is further configured to associatively store the identifier of the new wifi access point and the coverage of the new wifi access point.
- another embodiment of the terminal provided in the embodiments of the present invention further includes a sender 250, where the sender 250 is configured to send a first search instruction to the wifi device 200, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points.
- the sender 250 is further configured to send a second search instruction to the wifi device 200, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal; the receiver 240 is further configured to receive identifiers of found wifi access points sent by the wifi device 200; the processor 230 is further configured to determine an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points; and the sender 250 is further configured to send, to the wifi device 200, the identifier of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times.
- another embodiment of the terminal 20 provided in the embodiments of the present invention includes: a control apparatus 30 and a wifi device 200, where the control apparatus 30 controls the wifi device 200; and the control apparatus 30 is configured to acquire first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment; trigger turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and trigger turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- the terminal provided in the embodiments of the present invention can trigger turning-off or turning-on of a wifi device in a terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- the program may be stored in a computer readable storage medium.
- the storage medium may include a ROM, a RAM, a magnetic disk, or an optical disc, or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
- The present invention relates to the field of communications technologies, and in particular, to a control method and apparatus for a wireless fidelity (wireless fidelity, wifi) device, and a terminal.
- When a terminal does not use a wifi function, a wifi device for starting a wifi connection in the terminal is in a standby state, and therefore certain power is still consumed. For example, test data in a certain mobile phone indicates that if no wifi access point identifier has been stored, a current is about 5 milliamps when the screen of the mobile phone is turned off, while if a wifi access point identifier has been stored, a current is about 10 milliamps when the screen of the mobile phone is turned off.
- If a wifi device in a terminal is turned off immediately after the terminal is disconnected from a wifi access point, when re-entering an area covered by the wifi access point, the wifi device cannot be automatically connected to the wifi access point.
- The inventor of the present invention finds that, a common problem for a wifi device is that, after leaving an area covered by a wifi access point, the wifi device enters a standby state, thereby causing an additional current consumption of 5-10mA, and if the wifi device is turned off, when re-entering the area covered by the wifi access point, the wifi device cannot be automatically turned on.
- Embodiments of the present invention provide a control method for a wifi device in a terminal, which can trigger turning-off or turning-on of the wifi device in the terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- In a first aspect, the present invention provides a control method for a wireless fidelity wifi device in a terminal, including:
- acquiring first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment;
- triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and
- triggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- With reference to the first aspect, in a first possible implementation manner, the step of triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment specifically includes:
- determining a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
- triggering the turning-off of the wifi device when the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- With reference to the first aspect, in a second possible implementation manner, the step of triggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment specifically includes:
- determining a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
- triggering the turning-on of the wifi device when the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points.
- With reference to the first aspect and the first or the second possible implementation manner of the first aspect, in a third possible implementation manner, the control method further includes:
- acquiring a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point; and
- acquiring and associatively storing the identifier of the new wifi access point and coverage of the new wifi access point.
- With reference to the first aspect and the first to the third possible implementation manners of the first aspect, in a fourth possible implementation manner, after the step of turning on the wifi device, the control method further includes:
- sending a first search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points.
- With reference to the first aspect and the first to the third possible implementation manners of the first aspect, in a fifth possible implementation manner, after the step of turning on the wifi device, the control method further includes:
- sending a second search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
- receiving identifiers of found wifi access points sent by the wifi device;
- determining an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points; and
- sending, to the wifi device, the identifier of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times.
- In a second aspect, the present invention provides a control apparatus, including:
- an acquiring unit, configured to acquire first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment;
- a first control unit, configured to trigger turning-off of the wifi device when it is determined that the terminal is located within coverage, which is acquired by the acquiring unit, of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and
- a second control unit, configured to trigger turning-on of the wifi device when it is determined that the terminal is located outside the coverage, which is acquired by the acquiring unit, of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- With reference to the second aspect, in a first possible implementation manner, the first control unit includes: a first determining subunit and a first control subunit, where
the first determining subunit is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
the first control subunit is configured to trigger the turning-off of the wifi device when the first determining subunit determines that the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers. - With reference to the second aspect, in a second possible implementation manner, the second control unit includes: a second determining subunit and a second control subunit, where
the second determining subunit is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
the second control subunit is configured to trigger the turning-on of the wifi device when the second determining subunit determines that the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points. - With reference to the second aspect and the first or the second possible implementation manner of the second aspect, in a third possible implementation manner, the control apparatus further includes an associative storage unit, where
the acquiring unit is further configured to acquire a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point, and acquire the identifier of the new wifi access point and coverage of the new wifi access point; and
the associative storage unit is configured to associatively store the identifier of the new wifi access point and the coverage of the new wifi access point that are acquired by the acquiring unit. - With reference to the second aspect and the first to the third possible implementation manners of the second aspect, in a fourth possible implementation manner,
the control apparatus further includes a first sending unit, where
the first sending unit is configured to send a first search instruction to the wifi device after the second control unit triggers the turning-on of the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points. - With reference to the second aspect and the first to the third possible implementation manners of the second aspect, in a fifth possible implementation manner,
the second sending unit is configured to send a second search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
the receiving unit is configured to receive identifiers of found wifi access points sent by the wifi device;
the determining unit is configured to determine an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points received by the receiving unit; and
the second sending unit is configured to send, to the wifi device, the identifier, which is determined by the determining unit, of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times. - In a third aspect, the present invention provides a terminal, including: a control apparatus and a wifi device, where the control apparatus controls the wifi device; and
the control apparatus is the control apparatus described in the foregoing technical solutions. - In the embodiments of the present invention, first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal are acquired, where the first moment is earlier than the second moment; turning-off of the wifi device is triggered when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and turning-on of the wifi device is triggered when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment. Compared with the prior art in which a wifi device in a standby state wastes power, and after the wifi device is turned off, the wifi device cannot be automatically turned on, with the control method for a wifi device in a terminal provided in the embodiments of the present invention, turning-off or turning-on of the wifi device in the terminal can be triggered according to a location of the terminal in a moving process, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
-
FIG. 1 is a schematic diagram of an embodiment of a control method according to the embodiments of the present invention; -
FIG. 2 is a schematic diagram of an embodiment of an application scenario according to the embodiments of the present invention; -
FIG. 3 is a schematic diagram of an embodiment of a control apparatus according to the embodiments of the present invention; -
FIG. 4 is a schematic diagram of another embodiment of the control apparatus according to the embodiments of the present invention; -
FIG. 5 is a schematic diagram of another embodiment of the control apparatus according to the embodiments of the present invention; -
FIG. 6 is a schematic diagram of another embodiment of the control apparatus according to the embodiments of the present invention; -
FIG. 7 is a schematic diagram of another embodiment of the control apparatus according to the embodiments of the present invention; -
FIG. 8 is a schematic diagram of another embodiment of the control apparatus according to the embodiments of the present invention; -
FIG. 9 is a schematic diagram of an embodiment of a terminal according to the embodiments of the present invention; -
FIG. 10 is a schematic diagram of another embodiment of the terminal according to the embodiments of the present invention; -
FIG. 11 is a schematic diagram of another embodiment of the terminal according to the embodiments of the present invention; and -
FIG. 12 is a schematic diagram of another embodiment of the terminal according to the embodiments of the present invention. - Embodiments of the present invention provide a control method for a wifi device in a terminal, which can trigger turning-off or turning-on of the wifi device in the terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user. The embodiments of the present invention further provide a corresponding apparatus and terminal, which are described separately in detail in the following.
- The following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the embodiments to be described are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
- Referring to
FIG. 1 , an embodiment of a control method for a wireless fidelity (wireless fidelity, wifi) device in a terminal provided in the embodiments of the present invention includes: - 101: Acquire a first location of the terminal at a first moment, a second location of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment.
- For wireless fidelity (wireless fidelity, wifi), a network is connected through a radio wave, generally a wireless router is used, and a network can always be connected in a wifi connection manner within an effective area covered by a radio wave of the wireless router.
- The wifi device is a wifi module in the terminal, where the wifi module establishes a connection to a wifi access point.
- The wifi access point may be a terminal device such as a wireless router, and a computer or a mobile phone with a wifi function.
- The terminal in the embodiment of the present invention may be a device such as a mobile phone, a personal digital assistant (personal digital assistant, PDA), and a notebook computer.
- After establishing a connection to a wifi access point for the first time, the terminal stores an identifier of the wifi access point, such as an identifier of a wireless router.
- Each wifi access point has coverage. Definitely, coverage of wifi access points corresponding to wifi access point identifiers stored in the terminal may all overlap, or partially overlap, or not overlap at all.
- In a moving process, the terminal may move out of coverage of a wifi access point from the coverage of the wifi access point. If the terminal moves out of the coverage of the wifi access point, a wifi connection is disconnected, and if the wifi is still in an on-state, power is consumed.
- In the moving process of the terminal, location information of the terminal may be acquired continuously, where location information of a location where the terminal is located may be an identifier of a serving cell where the terminal is located, and preferably, is location information of accurate longitude and latitude obtained through positioning of a global positioning system (Global Positioning System, GPS).
- Each wifi access point has a unique identifier, and coverage of a wifi access point may be set before the wifi access point leaves the factory, for example, an identifier of a wireless router corresponds to coverage of the wireless router.
- 102: Trigger turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment.
- In the embodiment of the present invention, the determining whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment and whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment may be determining whether a location of the terminal at the first moment and a location of the terminal at the second moment are within or outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- For example, it is assumed that the terminal stores 5 wifi access point identifiers, which are wifi1, wifi2, wifi3, wifi4, and wifi5, and coverage of a wifi access point corresponding to each of the wifi access point identifiers has been determined. It is assumed that coverage of a wifi access point corresponding to wifi1 and coverage of a wifi access point corresponding to wifi2 partially overlap, and coverage of a wifi access point corresponding to each of wifi3, wifi4, and wifi5 does not overlap with coverage of the other 4 wifi access points, and when the terminal begins to move in the coverage of the wifi access point corresponding to wifi1, first location information at a first moment and second location information at a second moment are acquired. It is assumed that a location corresponding to the first location information is within the coverage of the wifi access point corresponding to wifi1, and if a location corresponding to the second location information is within the coverage of the wifi access point corresponding to wifi2, a handover between the wifi access points occurs; and if the location corresponding to the second location information is not within the coverage of the wifi access points corresponding to wifi1, wifi2, wifi3, wifi4, and wifi5, the turning-off of the wifi device can be triggered, so as to reduce power consumption of the wifi device.
- 103: Trigger turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- In the embodiment of the present invention, the determining whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment and whether the terminal is located within the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment may be determining whether a location of the terminal at the first moment and a location of the terminal at the second moment are within or outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- For example, it is assumed that the terminal stores 5 wifi access point identifiers, which are wifi1, wifi2, wifi3, wifi4, and wifi5, and coverage of a wifi access point corresponding to each of the wifi access point identifiers has been determined. It is assumed that coverage of a wifi access point corresponding to wifi1 and coverage of a wifi access point corresponding to wifi2 partially overlap, and coverage of a wifi access point corresponding to each of wifi3, wifi4, and wifi5 does not overlap with coverage of the other 4 wifi access points, and when the terminal begins to move in the coverage of the wifi access point corresponding to wifi1, first location information at a first moment and second location information at a second moment are acquired. It is assumed that a location corresponding to the first location information is outside the coverage of the wifi access points corresponding to wifi1, wifi2, wifi3, wifi4, and wifi5, and a location corresponding to the second location information is within the coverage of the wifi access point corresponding to wifi1, and the turning-on of the wifi device can be triggered.
- In the embodiment of the present invention, first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal are acquired, where the first moment is earlier than the second moment; turning-off of the wifi device is triggered when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and turning-on of the wifi device is triggered when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment. Compared with the prior art in which a wifi device in a standby state wastes power, and after the wifi device is turned off, the wifi device cannot be automatically turned on, with the control method for a wifi device in a terminal provided in the embodiment of the present invention, turning-off or turning-on of the wifi device in the terminal can be triggered according to a location of the terminal in a moving process, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- Optionally, based on the embodiment corresponding to
FIG. 1 , in another embodiment of the control method for a wifi device in a terminal provided in the embodiments of the present invention, the step of triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment may specifically include: - determining a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
- triggering the turning-off of the wifi device when the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- In the embodiment of the present invention, whether the location corresponding to the first location information of the terminal and the location corresponding to the second location information are within or outside the coverage of the wifi access points corresponding to the wifi access point identifiers stored in the terminal may be determined in a GPS positioning manner.
- For example, if coverage of a wifi access point corresponding to a wifi access point identifier stored in the terminal is the Shenzhen International Trading Building, and it is acquired that in a moving process of the terminal, a location corresponding to first location information at a first moment is in the hall of the International Trading Building, and a location corresponding to second location information at a second moment is outside the entrance of the International Trading Building, it can be determined that the terminal has moved outside the coverage of the wifi access point, and turning-off of the wifi device can be triggered.
- Optionally, based on the embodiment corresponding to
FIG. 1 , in another embodiment of the control method for a wifi device in a terminal provided in the embodiments of the present invention, the step of triggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment may specifically include: - determining a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
- triggering the turning-on of the wifi device when the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points.
- In the embodiment of the present invention, if it is determined, through positioning of a GPS, that the location corresponding to the first location information of the terminal at the first moment is outside the entrance of the Shenzhen International Trading Building, and the location corresponding to the second location information at the second moment is the hall of the Shenzhen International Trading Building, it can be determined that the terminal enters the coverage of the wifi access point, and turning-on of the wifi device of the terminal can be triggered.
- Optionally, based on the embodiment corresponding to
FIG. 1 and an optional embodiment corresponding toFIG. 1 , in another embodiment of the control method for a wifi device in a terminal provided in the embodiments of the present invention, the control method may further include: - acquiring a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point; and
- acquiring and associatively storing the identifier of the new wifi access point and coverage of the new wifi access point.
- In the embodiment of the present invention, after the terminal receives a trigger instruction triggered by a user for connecting to a new wifi access point, the terminal can acquire an identifier of the new wifi access point and coverage of the new wifi access point, and associatively store the identifier of the new wifi access point and the coverage of the new wifi access point.
- Optionally, based on the embodiment corresponding to
FIG. 1 and an optional embodiment corresponding toFIG. 1 , in another embodiment of the control method for a wifi device in a terminal provided in the embodiments of the present invention, after the step of turning on the wifi device, the control method may further include: - sending a first search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points.
- In the embodiment of the present invention, after the terminal enters coverage of a wifi access point, the wifi device is turned on, and after the wifi device is turned on, the wifi device can search for wifi access points corresponding to wifi access point identifiers stored in the terminal, where coverage of the wifi access points may overlap. When the wifi device finds only one wifi access point, the wifi device may establish a wifi connection to the found wifi access point. If the wifi device finds several wifi access points, the wifi device may establish a wifi connection to one selected found wifi access point.
- Optionally, based on the embodiment corresponding to
FIG. 1 and an optional embodiment corresponding toFIG. 1 , in another embodiment of the control method for a wifi device in a terminal provided in the embodiments of the present invention, after the step of turning on the wifi device, the control method may further include: - sending a second search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
- receiving identifiers of found wifi access points sent by the wifi device;
- determining an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points; and
- sending, to the wifi device, the identifier of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times.
- In the embodiment of the present invention, after the terminal enters coverage of a wifi access point, the wifi device is turned on, and after the wifi device is turned on, a control apparatus may send a search instruction to the wifi device, so that the wifi device can search for wifi access points corresponding to wifi access point identifiers stored in the terminal, where coverage of the wifi access points may overlap. When the wifi device finds only one or multiple wifi access points, the wifi device may return identifiers of the found wifi access points to the control apparatus, so that the control apparatus can determine an identifier of a wifi access point to which a connection is established for the most times, and instruct the wifi device to establish a connection to the wifi access point to which the connection is established for the most times.
- For ease of understanding, a process of the control method for a wifi device in a terminal provided in the embodiments of the present invention is described in detail in the following by using an application scenario as an example.
- Referring to
FIG. 2 , coverage of awifi access point 10 is determined, and a location where thewifi access point 10 is located may be used as the origin of coordinates, and the coverage of thewifi access point 10 is a circular area with a radius of 100 meters and centered on the origin of coordinates. A terminal 20 acquires, in a GPS or another manner, that first location information of the movingterminal 20 at a first moment is 90 meters to the left of the origin, and second location information of the movingterminal 20 at a second moment is 101 meters to the left of the origin, so that it can be determined that the terminal 20 moves outside the coverage of thewifi access point 10, and the terminal 20 can trigger turning-off of a wifi device in the terminal 20. If the terminal 20 acquires, in a GPS or another manner, that the first location information of the movingterminal 20 at the first moment is 101 meters to the left of the origin, and the second location information of the movingterminal 20 at the second moment is 90 meters to the left of the origin, it can be determined that the terminal 20 moves into the coverage of thewifi access point 10, and the terminal 20 can trigger turning-on of the wifi device in the terminal 20. - In this way, through the description of the foregoing application scenario, it can be clearly seen that, with the control method provided in the embodiments of the present invention, turning-off or turning-on of a wifi device in a terminal can be triggered according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- Referring to
FIG. 3 , an embodiment of a control apparatus provided in the embodiments of the present invention includes: - an acquiring
unit 301, configured to acquire first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment; - a
first control unit 302, configured to trigger turning-off of the wifi device when it is determined that the terminal is located within coverage, which is acquired by the acquiringunit 301, of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and - a
second control unit 303, configured to trigger turning-on of the wifi device when it is determined that the terminal is located outside the coverage, which is acquired by the acquiringunit 301, of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment. - In the embodiment of the present invention, the acquiring
unit 301 acquires first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment; thefirst control unit 302 triggers turning-off of the wifi device when it is determined that the terminal is located within coverage, which is acquired by the acquiringunit 301, of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and thesecond control unit 303 triggers turning-on of the wifi device when it is determined that the terminal is located outside the coverage, which is acquired by the acquiringunit 301, of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment. Compared with the prior art, the control apparatus provided in the embodiments of the present invention can trigger turning-off or turning-on of a wifi device in a terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user. - Based on the embodiment corresponding to
FIG. 3 , referring toFIG. 4 , in another embodiment of a terminal provided in the embodiments of the present invention, thefirst control unit 302 includes a first determining subunit 3021 and a first control subunit 3022, where
the first determining subunit 3021 is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
the first control subunit 3022 is configured to trigger the turning-off of the wifi device when the first determining subunit 3021 determines that the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers. - Based on the embodiment corresponding to
FIG. 3 , referring toFIG. 5 , in another embodiment of the terminal provided in the embodiments of the present invention, thesecond control unit 303 includes a second determining subunit 3031 and a second control subunit 3032, where
the second determining subunit 3031 is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
the second control subunit 3032 is configured to trigger the turning-on of the wifi device when the second determining subunit 3031 determines that the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points. - Based on the embodiment corresponding to
FIG. 3 , referring toFIG. 6 , another embodiment of the terminal provided in the embodiments of the present invention further includes anassociative storage unit 304, where
the acquiringunit 301 is further configured to acquire a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point, and acquire the identifier of the new wifi access point and coverage of the new wifi access point; and
theassociative storage unit 304 is configured to associatively store the identifier of the new wifi access point and the coverage of the new wifi access point that are acquired by the acquiringunit 301. - Based on the embodiment corresponding to
FIG. 6 , referring toFIG. 7 , another embodiment of the terminal provided in the embodiments of the present invention further includes afirst sending unit 305, where
the first sendingunit 305 is configured to send a first search instruction to the wifi device after thesecond control unit 303 triggers the turning-on of the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points. - Based on the embodiment corresponding to
FIG. 6 , referring toFIG. 8 , another embodiment of the terminal provided in the embodiments of the present invention further includes asecond sending unit 305, a receivingunit 306, and a determiningunit 307, where
thesecond sending unit 305 is configured to send a second search instruction to the wifi device after thesecond control unit 303 triggers the turning-on of the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
the receivingunit 306 is configured to receive identifiers of found wifi access points sent by the wifi device;
the determiningunit 307 is configured to determine an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points received by the receivingunit 306; and
thesecond sending unit 305 is further configured to send, to the wifi device, the identifier, which is determined by the determiningunit 307, of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times. - An embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores an executable program, and when the program is run, the following steps are performed:
- acquiring first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment;
- triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and
- triggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- When the program is run, the following steps may further be performed:
- acquiring a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point; and
- acquiring and associatively storing the identifier of the new wifi access point and coverage of the new wifi access point.
- When the program is run, the following step may further be performed:
- sending a first search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points.
- When the program is run, the following steps may further be performed:
- sending a second search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
- receiving identifiers of found wifi access points sent by the wifi device;
- determining an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points; and
- sending, to the wifi device, the identifier of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times.
- Referring to
FIG. 9 , an embodiment of a terminal provided in the embodiments of the present invention includes: awifi device 200, adetection apparatus 210, a memory 220, and aprocessor 230, where
thedetection apparatus 210 is configured to detect, in a moving process of the terminal, first location information at a first moment and second location information at a second moment;
the memory 220 is configured to store coverage of each of wifi access points corresponding to each of all wifi access point identifiers, where all wifi access points have established a connection to the terminal before; and
theprocessor 230 is configured to trigger turning-off of thewifi device 200 when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and trigger turning-on of thewifi device 200 when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment. - Based on the embodiment corresponding to
FIG. 9 , in another embodiment of the terminal provided in the embodiments of the present invention,
theprocessor 230 is specifically configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and trigger the turning-off of thewifi device 200 when the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers. - Based on the embodiment corresponding to
FIG. 9 , in another embodiment of the terminal provided in the embodiments of the present invention,
theprocessor 230 is specifically configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and trigger the turning-on of thewifi device 200 when it is determined that the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points. - Based on the embodiment corresponding to
FIG. 9 , referring toFIG. 10 , another embodiment of the terminal provided in the embodiments of the present invention further includes areceiver 240, where
thereceiver 240 is configured to receive a trigger instruction for connecting to a new wifi access point, where the trigger instruction carries an identifier of the new wifi access point;
thedetection apparatus 210 is further configured to detect coverage of the new wifi access point corresponding to the identifier of the new wifi access point; and
the memory 220 is further configured to associatively store the identifier of the new wifi access point and the coverage of the new wifi access point. - Based on the embodiment corresponding to
FIG. 10 , referring toFIG. 11 , another embodiment of the terminal provided in the embodiments of the present invention further includes asender 250, where
thesender 250 is configured to send a first search instruction to thewifi device 200, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points. - Referring to
FIG. 11 , in another embodiment of the terminal provided in the embodiments of the present invention,
thesender 250 is further configured to send a second search instruction to thewifi device 200, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
thereceiver 240 is further configured to receive identifiers of found wifi access points sent by thewifi device 200;
theprocessor 230 is further configured to determine an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points; and
thesender 250 is further configured to send, to thewifi device 200, the identifier of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times. - Referring to
FIG. 12 , another embodiment of the terminal 20 provided in the embodiments of the present invention includes: acontrol apparatus 30 and awifi device 200, where thecontrol apparatus 30 controls thewifi device 200; and
thecontrol apparatus 30 is configured to acquire first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, where the first moment is earlier than the second moment; trigger turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; and trigger turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment. - The terminal provided in the embodiments of the present invention can trigger turning-off or turning-on of a wifi device in a terminal according to location information of the terminal, so that power of the terminal is saved, and furthermore, the wifi device does not need to be turned on manually by a user.
- A person of ordinary skill in the art may understand that all or part of the steps of the methods in the foregoing embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. The storage medium may include a ROM, a RAM, a magnetic disk, or an optical disc, or the like.
- The control method and apparatus for a wifi device in a terminal, and the terminal provided in the embodiments of the present invention are described in the foregoing in detail. Although the principles and implementation manners of the present invention are described through specific examples in this specification, the descriptions of the foregoing embodiments are only intended to help understand the method and core ideas of the present invention. Meanwhile, a person of ordinary skill in the art may make modifications to the specific implementation manners and application scopes according to the ideas of the present invention. In conclusion, the content of the specification shall not be construed as a limitation to the present invention.
Claims (13)
- A control method for a wireless fidelity wifi device in a terminal, comprising:acquiring first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, wherein the first moment is earlier than the second moment;triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; andtriggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- The control method according to claim 1, wherein the step of triggering turning-off of the wifi device when it is determined that the terminal is located within coverage of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment specifically comprises:determining a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; andtriggering the turning-off of the wifi device when the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers.
- The control method according to claim 1, wherein the step of triggering turning-on of the wifi device when it is determined that the terminal is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment specifically comprises:determining a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; andtriggering the turning-on of the wifi device when the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points.
- The control method according to any one of claims 1 to 3, further comprising:acquiring a trigger instruction for connecting to a new wifi access point, wherein the trigger instruction carries an identifier of the new wifi access point; andacquiring and associatively storing the identifier of the new wifi access point and coverage of the new wifi access point.
- The control method according to any one of claims 1 to 4, after the step of turning on the wifi device, further comprising:sending a first search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points.
- The control method according to any one of claims 1 to 4, after the step of turning on the wifi device, further comprising:sending a second search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;receiving identifiers of found wifi access points sent by the wifi device;determining an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points; andsending, to the wifi device, the identifier of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times.
- A control apparatus, comprising:an acquiring unit, configured to acquire first location information of the terminal at a first moment, second location information of the terminal at a second moment, and coverage of each of wifi access points corresponding to each of all wifi access point identifiers stored in the terminal, wherein the first moment is earlier than the second moment;a first control unit, configured to trigger turning-off of the wifi device when it is determined that the terminal is located within coverage, which is acquired by the acquiring unit, of at least one wifi access point among the wifi access points at the first moment, and is located outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers at the second moment; anda second control unit, configured to trigger turning-on of the wifi device when it is determined that the terminal is located outside the coverage, which is acquired by the acquiring unit, of each of the wifi access points corresponding to each of all the wifi access point identifiers at the first moment, and is located within coverage of at least one wifi access point among the wifi access points at the second moment.
- The control apparatus according to claim 7, wherein the first control unit comprises: a first determining subunit and a first control subunit, wherein
the first determining subunit is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
the first control subunit is configured to trigger turning-off of the wifi device when the first determining subunit determines that the location corresponding to the first location information is within the coverage of the at least one wifi access point among the wifi access points, and the location corresponding to the second location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers. - The control apparatus according to claim 7, wherein the second control unit comprises: a second determining subunit and a second control subunit, wherein
the second determining subunit is configured to determine a relationship between a location corresponding to the first location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and a relationship between a location corresponding to the second location information and the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers; and
the second control subunit is configured to trigger the turning-on of the wifi device when the second determining subunit determines that the location corresponding to the first location information is outside the coverage of each of the wifi access points corresponding to each of all the wifi access point identifiers, and the location corresponding to the second location information is within the coverage of the at least one wifi access point among the wifi access points. - The control apparatus according to any one of claims 7 to 9, further comprising an associative storage unit, wherein
the acquiring unit is further configured to acquire a trigger instruction for connecting to a new wifi access point, wherein the trigger instruction carries an identifier of the new wifi access point, and acquire the identifier of the new wifi access point and coverage of the new wifi access point; and
the associative storage unit is configured to associatively store the identifier of the new wifi access point and the coverage of the new wifi access point that are acquired by the acquiring unit. - The control apparatus according to any one of claims 7 to 10, further comprising a first sending unit, wherein
the first sending unit is configured to send a first search instruction to the wifi device after the second control unit triggers the turning-on of the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal, and the wifi device establishes a connection to one of found wifi access points. - The control apparatus according to any one of claims 7 to 10, further comprising a second sending unit, a receiving unit, and a determining unit, wherein
the second sending unit is configured to send a second search instruction to the wifi device, so that the wifi device searches for each of the wifi access points corresponding to each of all the wifi access point identifiers stored in the terminal;
the receiving unit is configured to receive identifiers of found wifi access points sent by the wifi device;
the determining unit is configured to determine an identifier of a wifi access point to which a connection is established for the most times among the identifiers of the found wifi access points received by the receiving unit; and
the second sending unit is configured to send, to the wifi device, the identifier, which is determined by the determining unit, of the wifi access point to which the connection is established for the most times, so that the wifi device establishes a connection to the wifi access point corresponding to the identifier of the wifi access point to which the connection is established for the most times. - A terminal, comprising: a control apparatus and a wifi device, wherein the control apparatus controls the wifi device; and
the control apparatus is the control apparatus according to any one of claims 7 to 12.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/087310 WO2014100943A1 (en) | 2012-12-24 | 2012-12-24 | Method and apparatus for controlling wireless fidelity device in terminal, and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
EP2852227A1 true EP2852227A1 (en) | 2015-03-25 |
EP2852227A4 EP2852227A4 (en) | 2015-10-28 |
Family
ID=50086349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP12890864.7A Withdrawn EP2852227A4 (en) | 2012-12-24 | 2012-12-24 | Method and apparatus for controlling wireless fidelity device in terminal, and terminal |
Country Status (5)
Country | Link |
---|---|
US (1) | US20150109983A1 (en) |
EP (1) | EP2852227A4 (en) |
KR (1) | KR20150018629A (en) |
CN (1) | CN103596635A (en) |
WO (1) | WO2014100943A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106211293A (en) * | 2016-08-26 | 2016-12-07 | 广东欧珀移动通信有限公司 | Control method, device and the mobile terminal of a kind of Wireless Fidelity function |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394513A (en) * | 2014-12-18 | 2015-03-04 | 中科创达软件股份有限公司 | Control method and device for mobile terminal to access wireless network |
US10009715B2 (en) | 2015-01-06 | 2018-06-26 | Microsoft Technology Licensing, Llc | Geographic information for wireless networks |
CN104581891A (en) * | 2015-01-27 | 2015-04-29 | 深圳市宏电技术股份有限公司 | Network mode switching method and device |
CN105636089A (en) * | 2015-04-23 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Access control method and access control device for wireless local area network |
CN105657651A (en) * | 2015-07-31 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | WiFi connection control method, terminal equipment and server |
CN106470459A (en) * | 2015-08-18 | 2017-03-01 | 中兴通讯股份有限公司 | terminal control method and device |
CN106060897A (en) * | 2016-05-31 | 2016-10-26 | 合肥联宝信息技术有限公司 | Method for automatically starting WiFi and electronic device using same |
CN106255146B (en) * | 2016-08-16 | 2018-01-19 | 广东欧珀移动通信有限公司 | A kind of electricity-saving control method of terminal, device and terminal |
US10187745B1 (en) * | 2017-09-19 | 2019-01-22 | Comcast Cable Communications, Ltd. | System and method for energy efficient geofencing implementation and management |
CN108401280B (en) * | 2018-02-07 | 2021-09-17 | 新华三技术有限公司 | AP energy saving method and device and AC |
CN108810949B (en) * | 2018-07-11 | 2022-05-24 | 奇安信科技集团股份有限公司 | Management and control wifi hotspot processing method and terminal |
CN109874164A (en) * | 2019-01-04 | 2019-06-11 | 刘中生 | A kind of method of the bonded net of smart machine one |
CN109862515A (en) * | 2019-01-24 | 2019-06-07 | 南京泛在地理信息产业研究院有限公司 | Terminal based on geographical location connects control device and method |
CN110503423A (en) * | 2019-08-27 | 2019-11-26 | 广东小天才科技有限公司 | Subway payment method and device, terminal equipment and computer readable storage medium |
CN112449411A (en) * | 2019-08-27 | 2021-03-05 | 北京君正集成电路股份有限公司 | Intelligent equipment working mode switching method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100542119B1 (en) * | 2002-12-12 | 2006-01-11 | 한국전자통신연구원 | Method for Automatically Searching Wireless LAN Access Point and Terminal for Processing The Same |
EP2083599A3 (en) * | 2008-01-24 | 2013-05-29 | Fujitsu Limited | Wireless communication terminal and wireless communication terminal control method |
JP5476880B2 (en) * | 2009-09-14 | 2014-04-23 | ソニー株式会社 | Information providing apparatus, information providing method, computer program, and wireless communication apparatus |
KR101645461B1 (en) * | 2010-01-12 | 2016-08-12 | 삼성전자주식회사 | Apparatus and method for auto conntecting wlan in portable terminal |
CN102238693B (en) * | 2010-04-20 | 2015-03-11 | 深圳富泰宏精密工业有限公司 | System and method for automatically searching WiFi (wireless fidelity) hotspots |
CN102448187B (en) * | 2011-10-29 | 2015-10-07 | 华为终端有限公司 | The method of automatic access Wi-Fi network and terminal |
-
2012
- 2012-12-24 WO PCT/CN2012/087310 patent/WO2014100943A1/en active Application Filing
- 2012-12-24 EP EP12890864.7A patent/EP2852227A4/en not_active Withdrawn
- 2012-12-24 CN CN201280014451.XA patent/CN103596635A/en active Pending
- 2012-12-24 KR KR1020157000347A patent/KR20150018629A/en not_active Application Discontinuation
-
2014
- 2014-12-29 US US14/584,461 patent/US20150109983A1/en not_active Abandoned
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106211293A (en) * | 2016-08-26 | 2016-12-07 | 广东欧珀移动通信有限公司 | Control method, device and the mobile terminal of a kind of Wireless Fidelity function |
Also Published As
Publication number | Publication date |
---|---|
KR20150018629A (en) | 2015-02-23 |
WO2014100943A1 (en) | 2014-07-03 |
CN103596635A (en) | 2014-02-19 |
EP2852227A4 (en) | 2015-10-28 |
US20150109983A1 (en) | 2015-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2852227A1 (en) | Method and apparatus for controlling wireless fidelity device in terminal, and terminal | |
US20150024787A1 (en) | Mobile device tracking prevention method and system | |
CN102714885B (en) | From the method and apparatus of the short-distance radio network that is dynamically connected in portable terminal | |
JP4651697B2 (en) | Mobile station and radio communication method | |
EP1645144B1 (en) | Obtaining service when in a no-coverage area of a communication system | |
KR102213110B1 (en) | Beacon apparatus for seamless service, and control method thereof | |
US9794734B2 (en) | Terminal switching method, access device, terminal, and system | |
CN103052152A (en) | Method and device for positioning mobile terminal and mobile terminal | |
US9451511B2 (en) | Method and apparatus for providing wireless connection quality guidance | |
US20170311126A1 (en) | Collaborative positioning method and wireless terminal | |
WO2012109207A1 (en) | System and method for managing wireless connections and radio resources | |
US8818421B2 (en) | Mobile communication terminal and location system selection method | |
CN105517192A (en) | Wireless network connecting method and device | |
KR20140059724A (en) | Assistant method and system for retrieving wireless signals for mobile devices | |
KR101717163B1 (en) | Mobile Terminal And Method Of Performing Data Communication Using The Same | |
EP2654354B1 (en) | Providing a current position while reducing an overall power consumption | |
CN106465254B (en) | Network access processing method, device and terminal | |
US9763052B2 (en) | Terminal device and communication method | |
JP2013201656A (en) | Mobile terminal device | |
JP7132690B2 (en) | Mobile terminal, program and method for recognizing communication method in non-standalone wireless communication network | |
JP2010171993A (en) | Wireless communication control apparatus | |
EP3029962B1 (en) | Radio communication system and location characteristic determination method | |
JP6013238B2 (en) | Mobile communication device and program | |
WO2024210995A2 (en) | Low earth orbit satellite communication using device diversity reception and transmission | |
US20150163736A1 (en) | Method for registering mobile network and mobile communication apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20141217 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
RA4 | Supplementary search report drawn up and despatched (corrected) |
Effective date: 20150928 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04W 52/02 20090101AFI20150922BHEP |
|
DAX | Request for extension of the european patent (deleted) | ||
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
18D | Application deemed to be withdrawn |
Effective date: 20160426 |