WO2017197777A1 - 检测方法及装置 - Google Patents

检测方法及装置 Download PDF

Info

Publication number
WO2017197777A1
WO2017197777A1 PCT/CN2016/093270 CN2016093270W WO2017197777A1 WO 2017197777 A1 WO2017197777 A1 WO 2017197777A1 CN 2016093270 W CN2016093270 W CN 2016093270W WO 2017197777 A1 WO2017197777 A1 WO 2017197777A1
Authority
WO
WIPO (PCT)
Prior art keywords
target area
user
wireless access
access device
target
Prior art date
Application number
PCT/CN2016/093270
Other languages
English (en)
French (fr)
Inventor
周世全
傅强
侯恩星
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2017197777A1 publication Critical patent/WO2017197777A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Definitions

  • the invention relates to the field of intelligent electrical appliances, and in particular to a detection method and device.
  • Smart appliances are embodied in the Internet under the influence of the Internet. Smart appliances use the Internet of Things technology to bring various devices in the region (such as audio and video equipment, lighting systems, curtain control, security systems, digital cinema systems, audio and video servers, movies). Cabinet systems, network appliances, etc.) are connected together for intelligent control.
  • One scenario of a smart appliance is to intelligently control (eg, turn on an air conditioner, etc.) according to the user reaching the target area, so it is important to detect that the user arrives at the target area.
  • intelligently control eg, turn on an air conditioner, etc.
  • Embodiments of the present invention provide a detection method and apparatus.
  • a detection method including:
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: after searching for the target area wireless access device at the set frequency, establishing a connection with the searched target area wireless router, determining that the user reaches the target area, thereby being able to search in time
  • the wireless access device is connected to the target area and establishes a communication connection with the device. If the connection is successful, the user is determined to reach the target area, so that the user can be more accurately detected to reach the target area.
  • the searching for the target wireless access device at the set frequency according to the instruction comprises:
  • the target wireless access device is searched for at the set frequency.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: searching for the target area wireless access device at a set frequency after detecting that the user is about to reach the target area, so that the target area wireless access can be searched more timely. device.
  • the searching for the target wireless access device at the set frequency according to the instruction comprises:
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: searching for the target area wireless access device by setting the frequency by turning on the screen to be turned on, which is convenient to implement.
  • the detecting that the user is about to reach the target area includes:
  • the wireless access device around the target area belongs to the pre-stored device in the wireless access device list near the target area, it is determined that the user is about to reach the target area.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: determining that the user is about to reach the target area by searching for the surrounding wireless access device, determining that the user is about to reach the target area, and then searching for the target area wireless access device at the set frequency, After establishing a connection with the searched target area wireless access device, it is determined that the user reaches the target area, so that the user can be more accurately detected to reach the target area.
  • the detecting that the user is about to reach the target area includes:
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: determining, by the Bluetooth device in the vicinity of the target area, that the user is about to reach the target area, determining that the user is about to reach the target area, and then opening the uninterrupted search target area wireless access device, and searching for After the target area wireless access device establishes a connection, it is determined that the user arrives at the target area, so that the user can be more accurately detected to reach the target area.
  • the detecting that the user is about to reach the target area includes:
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: determining, by the distance between the location of the self and the location of the target area, that the user is about to reach the target area, and determining that the user is about to reach the target area and then opening the uninterrupted search target area. After establishing a connection with the searched target wireless access device, the wireless access device determines that the user reaches the target area, so that the user can be more accurately detected to reach the target area.
  • the method further includes:
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: after accurately determining that the user reaches the target area, performing an operation of the set user to reach the target area scene, thereby enhancing the user experience.
  • a detecting apparatus including:
  • control module configured to search for a target wireless access device at a set frequency according to the instruction, where the target wireless access device is located in the target area;
  • connection module configured to establish a connection with the target wireless access device after the control module searches for the target wireless access device
  • a determining module configured to determine that the user arrives after the connection module establishes a connection with the target wireless access device The target area.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: after searching for the target area wireless access device at the set frequency, establishing a connection with the searched target area wireless router, determining that the user reaches the target area, thereby being able to search in time
  • the wireless access device is connected to the target area and establishes a communication connection with the device. If the connection is successful, the user is determined to reach the target area, so that the user can be more accurately detected to reach the target area.
  • control module includes:
  • the first control submodule is configured to search for the target wireless access device at the set frequency by detecting that the user is about to reach the target area.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: searching for the target area wireless access device at a set frequency after detecting that the user is about to reach the target area, so that the target area wireless access can be searched more timely. device.
  • control module includes:
  • a detecting submodule configured to prompt the user to light up the screen after detecting that the user is about to reach the target area
  • the second control submodule is configured to search for the target wireless access device at the set frequency after receiving the lighting screen operation instruction.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: searching for the target area wireless access device by setting the frequency by turning on the screen to be turned on, which is convenient to implement.
  • the detecting submodule comprises:
  • a searching unit configured to search for a wireless access device around the target area
  • the first determining unit is configured to determine that the user is about to reach the target area when the wireless access device around the target area belongs to a pre-stored device in the wireless access device list near the target area.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: determining that the user is about to reach the target area by searching for the surrounding wireless access device, determining that the user is about to reach the target area, and then searching for the target area wireless access device at the set frequency, After establishing a connection with the searched target area wireless access device, it is determined that the user reaches the target area, so that the user can be more accurately detected to reach the target area.
  • the detecting submodule comprises:
  • the communication unit sends a broadcast message to the vicinity of the Bluetooth device in the vicinity of the target area through the Bluetooth, so that the Bluetooth device in the vicinity of the target area returns a response message after receiving the broadcast message;
  • a second determining unit configured to determine, after the communication unit receives the response message returned by the Bluetooth device in the vicinity of the target area, that the user is about to reach the target area.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: determining, by the Bluetooth device in the vicinity of the target area, that the user is about to reach the target area, determining that the user is about to reach the target area, and then opening the uninterrupted search target area wireless access device, and searching for After the target area wireless access device establishes a connection, it is determined that the user arrives at the target area, so that the user can be more accurately detected to reach the target area.
  • the detecting submodule comprises:
  • a third determining unit configured to determine a distance between the self location and a pre-stored location of the target area
  • a fourth determining unit configured to determine that the user is about to reach the target area when the distance between the self position and the position of the target area is less than a preset distance.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: determining, by the distance between the location and the location of the user, that the user is about to reach the target area, and determining that the user is about to reach the target area, and then opening the uninterrupted search target area wireless access device. After establishing a connection with the searched target wireless access device, it is determined that the user reaches the target area, so that the user can be more accurately detected to reach the target area.
  • the method further includes:
  • an execution module configured to perform an operation of the set user to reach the target area after the determining module determines that the user reaches the target area.
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: after accurately determining that the user reaches the target area, performing an operation of the set user to reach the target area scene, thereby enhancing the user experience.
  • a detecting apparatus including:
  • a memory for storing processor executable instructions
  • the memory is configured to:
  • the technical solution provided by the embodiment of the present invention may include the following beneficial effects: after searching for the target area wireless access device at the set frequency, establishing a connection with the searched target area wireless router, determining that the user reaches the target area, thereby being able to search in time
  • the wireless access device is connected to the target area and establishes a communication connection with the device. If the connection is successful, the user is determined to reach the target area, so that the user can be more accurately detected to reach the target area.
  • FIG. 1 is one of flowcharts of a detecting method according to an exemplary embodiment 1.
  • FIG. 2 is a second flowchart of a detection method according to an exemplary embodiment 1.
  • FIG. 3 is one of flowcharts of a method of detecting that a user is about to reach a target area, according to an exemplary embodiment 1.
  • FIG. 4 is a second flowchart of a method of detecting that a user is about to reach a target area, according to an exemplary embodiment 1.
  • FIG. 5 is a third flowchart of a method of detecting that a user is about to reach a target area, according to an exemplary embodiment 1.
  • FIG. 6 is a third flowchart of a detecting method according to an exemplary embodiment 1.
  • FIG. 7 is a flowchart of a detecting method according to an exemplary embodiment 2.
  • FIG. 8 is a flowchart of a detecting method according to an exemplary embodiment 3.
  • FIG. 9 is a flowchart of a detecting method according to an exemplary embodiment 4.
  • FIG. 10 is one of block diagrams of a detecting apparatus according to an exemplary embodiment 5.
  • FIG. 11 is a second block diagram of a detecting apparatus according to an exemplary embodiment 5.
  • FIG. 12 is a third block diagram of a detecting apparatus according to an exemplary embodiment 5.
  • FIG. 13 is a fourth block diagram of a detecting apparatus according to an exemplary embodiment 5.
  • FIG. 14 is a fifth block diagram of a detecting apparatus according to an exemplary embodiment 5.
  • FIG. 15 is a sixth block diagram of a detecting apparatus according to an exemplary embodiment 5.
  • FIG. 16 is one of block diagrams suitable for a detecting device, according to an exemplary embodiment 6.
  • 17 is a second block diagram of a block diagram suitable for a detection device, according to an exemplary embodiment 6.
  • Smart appliances are embodied in the Internet under the influence of the Internet. Smart appliances use the Internet of Things technology to bring various devices in the region (such as audio and video equipment, lighting systems, curtain control, security systems, digital cinema systems, audio and video servers, movies). Cabinet systems, network appliances, etc.) are connected together for intelligent control.
  • One scenario of a smart appliance is to intelligently control (eg, turn on an air conditioner, etc.) according to the user reaching the target area, so it is important to detect that the user arrives at the target area. If the detection user reaches the target area is inaccurate, it will affect the operation of the smart appliance.
  • the wireless access device in the target area is searched by setting the frequency to realize timely searching for the wireless access device in the target area and establishing a communication connection with the wireless access device in the target area. If the connection is successful, the user is determined to reach the target area, thereby being more accurate. Detects that the user has reached the target area.
  • the target area is a specific area.
  • the target area may be a residence, an office, or the like.
  • the target area wireless access device may be a device that provides wireless network communication services for the target area.
  • a wireless router a wireless AP (Access Point, an access point), and the like.
  • FIG. 1 is a flowchart of a detection method according to an exemplary embodiment.
  • the method can be applied to a portable device (eg, a mobile phone, a tablet, a wearable device, etc.) having a wireless communication function.
  • a portable device eg, a mobile phone, a tablet, a wearable device, etc.
  • the method includes the following steps S11-S13:
  • step S11 the target wireless access device is searched at the set frequency according to the instruction, and the target wireless access device is located in the target area.
  • the search frequency whose frequency is greater than the state of the screen is set, for example, to search for the target wireless access device in time
  • the set frequency may be 20 times per minute, 30 times per minute, etc.
  • the set frequency can be changed by setting.
  • the search duration of the target wireless access device may be searched at a set frequency, and the search frequency may also be changed according to the search duration, for example, the search frequency is decreased as the search duration increases.
  • the target wireless access device may be determined according to a preset and the name of the target wireless access device is stored.
  • the target wireless access device may be a device with a wireless access function such as a router, an AP (Wireless Access Point) hotspot, or the like.
  • a wireless access function such as a router, an AP (Wireless Access Point) hotspot, or the like.
  • step S12 After the target wireless access device is searched for in step S12, a connection is established with the target wireless access device.
  • an access password of the target wireless access device may be stored. After searching for the target wireless access device, the access password of the stored target wireless access device is automatically connected to the target wireless access device.
  • step S13 After establishing a connection with the target wireless access device in step S13, it is determined that the user arrives at the target area.
  • a prompt for successful connection may be issued after the connection with the target wireless access device is successful.
  • the foregoing method of the embodiment of the present invention after searching for the target area wireless access device at the set frequency, establishing a connection with the searched target area wireless router, determining that the user reaches the target area, thereby being able to search for the target area wireless access device in time. And establishing a communication connection with the connection, the connection is successful, that is, the user reaches the target area, so that the user can reach the target area more accurately.
  • step S11 after detecting that the user is about to reach the target area, the target wireless access device may be searched at the set frequency.
  • the uninterrupted search target wireless access device is turned on, so that the target wireless access device can be searched in a timely manner.
  • step S11 may include:
  • the reminder for illuminating the screen may be the default reminder mode, and the default reminder mode may be a voice reminder, a vibration reminder, or the like.
  • the reminder for illuminating the screen may be a set reminding manner, and the set reminding manner may be a voice reminder, a vibration reminder, or the like.
  • the embodiment of the present invention can detect that the user is about to reach the target area in a plurality of manners, and the embodiment of the present invention does not limit the specific detection manner.
  • the method for searching for the target wireless access device by setting the frequency by turning on the screen is enabled, and the implementation manner is more convenient.
  • the method for detecting that the user is about to reach the target area in the above S111 includes:
  • the surrounding wireless access devices can be intermittently searched at a fixed frequency.
  • the wireless access device near the target area may be searched for before the above S32, and the searched home will be searched.
  • the name of the nearby wireless access device is stored in the wireless access device list near the target area, thereby establishing a list of wireless access devices near the home.
  • the foregoing method of the embodiment of the present invention determines that the user is about to reach the target area by searching for the wireless access device around the target area, and determines that the target wireless access device is searched at the set frequency after the user is about to arrive home, and the searched target wireless access device After the connection is established, it is determined that the user reaches the target area, so that the user can be more accurately detected to reach the target area.
  • the method for detecting that the user is about to reach the target area in the above S111 includes:
  • the identifier of the Bluetooth device in the vicinity of the target area may be recorded in advance, and the Bluetooth device in the vicinity of the target area receives the broadcast message and returns a response message carrying the identifier, thereby determining the Bluetooth device in the vicinity of the target area according to the identifier.
  • the Bluetooth device in the vicinity of the target area may be a Bluetooth device within a certain distance (for example, 50 meters) from the target area.
  • the nearby Bluetooth device can be set at a position where the user returns to the door of the residence or the door of the residence.
  • the foregoing method of the embodiment of the present invention determines that the user is about to reach the target area by using the Bluetooth device in the vicinity of the target area, determines that the user is about to reach the target area, and then starts an uninterrupted search target wireless router, and establishes a connection with the searched target wireless router, and determines the user.
  • the target area is reached, so that the user can be detected more accurately to reach the target area.
  • the method for detecting that the user is about to reach the target area in the above S111 includes:
  • the location of the self may be obtained by the self-positioning module, or the location of the user may be acquired in real time, and the location of the user may be acquired periodically.
  • the location of the target area is pre-stored such that the distance between its own location and the location of the target area is derived after determining its position.
  • the distance between the self position and the target area position is less than can be preset, for example, set to 50 meters, 100 meters, and the like.
  • the foregoing method of the embodiment of the present invention determines that the user is about to reach the target area by using the distance between the location of the user and the location of the target area, and determines that the user is about to reach the target area, and then starts the uninterrupted search target wireless access device, and the searched target wireless device. After the access device establishes a connection, it is determined that the user reaches the target area, so that the user can be more accurately detected to reach the target area.
  • the foregoing method of the embodiment of the present invention determines that the user is about to reach the target area by using the distance between the self location and the pre-stored target area location, and determines that the user is about to reach the target area, and then opens the uninterrupted search target wireless access device, and the searched After the target wireless access device establishes a connection, it is determined that the user reaches the target area, so that the user can be detected more accurately. Reach the target area.
  • the method further includes:
  • the operation of the set user to reach the target area may include various forms of operations, such as turning on the air conditioner, turning on the water heater, and the like.
  • the operation of the set user to reach the target area is performed, thereby enhancing the user experience.
  • the user after searching for the target wireless access device at the set frequency, and establishing a connection with the searched target wireless device, the user is determined to reach the target area, thereby realizing timely searching for the target wireless access device.
  • the connection is determined to be that the user reaches the target area, so that the user can be more accurately detected to reach the target area.
  • this embodiment provides a detailed description of an application scenario.
  • the scenario in this embodiment is that the foregoing method provided by the embodiment of the present invention is applied to a mobile phone, and the target wireless access device is a wireless in the home.
  • the router and the mobile phone start to search for the wireless router in the home at the set frequency when the user is about to arrive home, and determine the user to go home after establishing a connection with the wireless router in the home.
  • the method for detecting a user going home in this embodiment includes:
  • the wireless router list near the home stores at least one wireless router name near the home.
  • the mobile phone searches for a wireless router near the home, and searches for the name of the wireless router near the home to be stored in the list of wireless access devices near the home, and establishes a list of wireless routers near the home.
  • the mobile phone searches for a wireless router around the home at a set frequency.
  • the set frequency can be set in advance according to different scenes. For example, search 30 times per minute, search 40 times per minute, and so on.
  • certain conditions may also be set, for example, when at least two surrounding wireless routers belong to a list of wireless access devices near the home, it is determined that the user is about to arrive home.
  • the mobile phone reminds the user to light up the screen.
  • the reminder for illuminating the screen may be the default reminder mode, and the default reminder mode may be a voice reminder, a vibration reminder, or the like.
  • the reminder for illuminating the screen may be a set reminding manner, and the set reminding manner may be a voice reminder, a vibration reminder, or the like.
  • the mobile phone After receiving the operation command of lighting the screen, the mobile phone starts to search for the wireless router in the home at the set frequency.
  • the wireless access device in the uninterrupted search home may be automatically turned on without prompting the user.
  • the access password of the wireless router in the home may be pre-stored, and the access password is used to establish a connection with the wireless router in the home.
  • the operation of the set user home scene can be performed after the user returns home.
  • the operation of the user's home scene may include various forms of operations, such as turning on the air conditioner, turning on the water heater, and the like.
  • the embodiment is described by taking an example in which the execution subject is a mobile phone and the wireless access device in the home is a wireless router in the home. Referring to the foregoing steps of the embodiment, the method in this embodiment may also be applied to other devices (for example, wearable devices), and the wireless access device in the home is an AP access point in the home.
  • the mobile phone determines, according to the wireless router around the home, that the user is about to turn to the home and then searches for the home wireless router at the set frequency, and establishes a connection with the searched home wireless router, and then determines that the user goes home, thereby realizing timely.
  • the home wireless router is searched and a communication connection is established with the connection. If the connection is successful, it is determined that the user is going home, so that the user can be detected more accurately.
  • the embodiment provides a detailed description of the application scenario.
  • the scenario in this embodiment is that the foregoing method provided by the embodiment of the present invention is applied to a mobile phone, and the target wireless access device is at home.
  • the wireless router when the user is about to arrive at home, starts to search for the wireless router in the home at the set frequency, and establishes a connection with the wireless router in the home to determine that the user goes home.
  • the method for detecting a user going home in this embodiment includes:
  • the broadcast message may be sent around the Bluetooth device near the home in real time, or the broadcast message may be sent around the Bluetooth device near the home in a fixed period.
  • the identifier of the Bluetooth device in the vicinity of the home is pre-recorded, and the Bluetooth device in the vicinity of the home receives the broadcast message and returns a response message carrying the identifier, thereby determining the Bluetooth device in the vicinity of the home according to the identifier.
  • the Bluetooth device near the home can be a Bluetooth device within a certain distance (for example, 50 meters) from home.
  • the Bluetooth device near the home can be placed at a location at the door of the cell or at the door of the home, where the user goes home.
  • the mobile phone reminds the user to light up the screen.
  • the reminder for illuminating the screen may be the default reminder mode, and the default reminder mode may be a voice reminder, a vibration reminder, or the like.
  • the reminder for illuminating the screen may be a set reminder mode, a set reminder The mode can be a voice reminder, a vibration reminder, and the like.
  • the mobile phone After receiving the operation command of lighting the screen, the mobile phone searches for the wireless router in the home at the set frequency.
  • the user can automatically start searching for the wireless access device in the home at the set frequency without initiating a reminder to the user.
  • the access password of the wireless router in the home may be pre-stored, and the access password is used to establish a connection with the wireless router in the home.
  • the mobile phone After the mobile phone establishes a connection with the wireless router at home, the user is determined to go home.
  • the operation of the set user home scene can be performed after the user returns home.
  • the operation of the user's home scene may include various forms of operations, such as turning on the air conditioner, turning on the water heater, and the like.
  • the embodiment is described by taking the example that the execution subject is a mobile phone and the target wireless access device is a wireless router in the home. Referring to the foregoing steps of the embodiment, the method in this embodiment may also be applied to other devices (for example, wearable devices), and the target wireless access device is an AP access point in the home.
  • the Bluetooth device in the vicinity of the home, it is determined that the user opens the home to set the frequency of the searched home wireless router, and after establishing a connection with the searched home wireless router, the user is determined to go home, thereby realizing timely search.
  • the wireless router at home When you get to the wireless router at home and establish a communication connection with it, if the connection is successful, it is determined that the user is going home, so that the user can be detected more accurately.
  • the embodiment provides a detailed description of the application scenario.
  • the scenario in this embodiment is that the foregoing method provided by the embodiment of the present invention is applied to a mobile phone, and the target wireless access device is at home.
  • the wireless router when the mobile phone is about to arrive at home, opens the wireless router in the uninterrupted search home, and establishes a connection with the wireless router in the home to determine that the user goes home.
  • the method for detecting a user's return home in this embodiment includes:
  • the mobile phone obtains its own location.
  • the mobile phone can obtain its own location through its own positioning, and the mobile phone can obtain its own location in real time or periodically acquire its own location.
  • the mobile phone determines the distance between its location and the location of the pre-stored home.
  • the mobile phone can determine that the user is about to arrive when the distance between the location of the home and the location of the home is less than the preset distance.
  • the preset distance may be 100 meters, 200 meters, and the like.
  • the mobile phone reminds the user to light up the screen.
  • the reminder for illuminating the screen may be the default reminder mode, and the default reminder mode may be a voice reminder, a vibration reminder, or the like.
  • the reminder for illuminating the screen may be a set reminding manner, and the set reminding manner may be a voice reminder, a vibration reminder, or the like.
  • the mobile phone After receiving the operation command of lighting the screen, the mobile phone starts to search for the wireless router in the home at the set frequency.
  • the mobile phone may also open the uninterrupted search target wireless access device by itself after determining that the user is about to arrive home, and does not initiate a reminder to the user.
  • the mobile phone may pre-store the access password of the wireless router in the home, and apply the access password to establish a connection with the wireless router in the home.
  • the mobile phone After the mobile phone establishes a connection with the wireless router at home, the user is determined to go home.
  • the operation of the set user home scene can be performed after the user returns home.
  • the operation of the user's home scene may include various forms of operations, such as turning on the air conditioner, turning on the water heater, and the like.
  • the embodiment is described by taking the example that the execution subject is a mobile phone and the target wireless access device is a wireless router in the home. Referring to the foregoing steps of the embodiment, the method in this embodiment may also be applied to other devices (for example, wearable devices), and the target wireless access device is an AP access point in the home.
  • the location distance it is determined that the user opens the home to set the frequency of the searched home wireless router, and after establishing a connection with the searched home wireless router, the user is determined to go home, thereby realizing timely search to the home wireless.
  • the router establishes a communication connection with the router, and if the connection is successful, it is determined that the user is going home, so that the user can be detected more accurately.
  • FIG. 10 is a diagram showing a detecting apparatus according to an exemplary embodiment, including:
  • the control module 91 is configured to enable an uninterrupted search target wireless access device.
  • the connection module 92 is configured to establish a connection with the target wireless access device after the control module 91 searches for the target wireless access device.
  • the determining module 93 is configured to determine that the user goes home after the connection module 92 establishes a connection with the target wireless access device.
  • control module 91 includes:
  • the first control sub-module 911 is configured to start an uninterrupted search target wireless access device when detecting that the user is about to arrive home.
  • control module 91 includes:
  • the detecting sub-module 912 is configured to detect a reminder that the user lights up the screen after the user is about to arrive at the home to remind the user to light up the screen.
  • the second control sub-module 913 is configured to start an uninterrupted search target wireless access device after receiving the lighting screen operation instruction.
  • the detection sub-module 912 includes:
  • the searching unit 9121 is configured to search for a wireless access device around the target area.
  • the first determining unit 9122 is configured to determine that the user is about to reach the target area when the wireless access device around the target area belongs to the device in the wireless access device list in the vicinity of the pre-stored target area.
  • detecting the submodule 912 block includes:
  • the communication unit 9123 is configured to send a broadcast message to the vicinity of the Bluetooth device in the vicinity of the target area by using the Bluetooth, so that the Bluetooth device in the vicinity of the target area returns a response message after receiving the broadcast message.
  • the second determining unit 9124 is configured to determine that the user is about to reach the target area after the communication unit receives the response message returned by the Bluetooth device in the vicinity of the target area.
  • the detection sub-module 912 includes:
  • An obtaining unit 9125 configured to acquire a location of the self
  • a third determining unit 9126 configured to determine a distance between a position of the self and a pre-stored target area
  • the fourth determining unit 9127 is configured to determine that the user is about to reach the target area when the distance between the position of the self area and the position of the target area is less than the preset distance.
  • the foregoing apparatus for detecting a user returning home further includes:
  • the executing module 94 is configured to perform an operation of the set user to reach the target area after the determining module determines that the user reaches the target area.
  • the foregoing apparatus of the embodiment of the present invention determines that the user goes home after searching for the target wireless access device at the set frequency, and establishes a connection with the searched home wireless device, thereby realizing timely searching for the target wireless access device and A communication connection is established, and if the connection is successful, it is determined that the user is going home, so that the user can be detected more accurately.
  • FIG. 16 is a block diagram of a detection device 1200 that is suitable for use in a portable device (eg, a cell phone, tablet, wearable device, etc.) having wireless communication capabilities or in an application, in accordance with an exemplary embodiment.
  • a portable device eg, a cell phone, tablet, wearable device, etc.
  • device 1200 can be a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • device 1200 can include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, And a communication component 1216.
  • processing component 1202 memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, And a communication component 1216.
  • Processing component 1202 typically controls the overall operation of device 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 1202 can include one or more processors 1220 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 1202 can include one or more modules to facilitate interaction between component 1202 and other components.
  • processing component 1202 can include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202.
  • Memory 1204 is configured to store various types of data to support operation at device 1200. Examples of such data include instructions for any application or method operating on device 1200, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programming Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programming Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1206 provides power to various components of device 1200.
  • Power component 1206 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1200.
  • the multimedia component 1208 includes a screen between the device 1200 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1208 includes a front camera and/or a rear camera. When the device 1200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 1210 is configured to output and/or input an audio signal.
  • audio component 1210 includes a microphone (MIC) that is configured to receive an external audio signal when device 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 1204 or transmitted via communication component 1216.
  • audio component 1210 also includes a speaker for outputting an audio signal.
  • the I/O interface 1212 provides an interface between the processing component 1202 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1214 includes one or more sensors for providing status assessment of various aspects to device 1200.
  • sensor component 1214 can detect an open/closed state of device 1200, a relative positioning of components, such as a display and a keypad of device 1200, and sensor component 1214 can also detect a change in position of a component of device 1200 or device 1200, the user The presence or absence of contact with device 1200, device 1200 orientation or acceleration/deceleration and temperature change of device 1200.
  • Sensor assembly 1214 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1214 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1216 is configured to facilitate wired or wireless communication between device 1200 and other devices.
  • the device 1200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 1216 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 1216 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 1200 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), A controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • a controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1204 comprising instructions executable by processor 820 of apparatus 1200 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the embodiment provides a detecting device, including:
  • a memory for storing processor executable instructions
  • the memory is configured to:
  • searching for the target wireless access device at the set frequency according to the instruction including:
  • the target wireless access device is searched at the set frequency.
  • searching for the target wireless access device at the set frequency according to the instruction including:
  • the target wireless access device After receiving the lighting screen operation command, the target wireless access device is searched at the set frequency.
  • the target area including:
  • the wireless access device around the target area belongs to the device in the list of wireless access devices in the vicinity of the pre-stored target area, it is determined that the user is about to reach the target area.
  • the target area including:
  • the target area including:
  • the method further includes:
  • the embodiment provides a non-transitory computer readable storage medium, which enables a service providing device to perform a detection when an instruction in the storage medium is executed by a processor that detects a device (such as a mobile phone or a wearable device) that the user returns home.
  • a device such as a mobile phone or a wearable device
  • the instructions in the storage medium may also include:
  • the target wireless access device is searched at the set frequency.
  • the instructions in the storage medium may also include:
  • the target wireless access device After receiving the lighting screen operation command, the target wireless access device is searched at the set frequency.
  • the instructions in the storage medium may also include:
  • the wireless access device around the target area belongs to the device in the list of wireless access devices in the vicinity of the pre-stored target area, it is determined that the user is about to reach the target area.
  • the instructions in the storage medium may also include:
  • the instructions in the storage medium may also include:
  • the instructions in the storage medium may also include:
  • FIG. 17 is a block diagram of a detection device 1800, shown according to an exemplary embodiment.
  • device 1800 can be provided as a computer.
  • apparatus 1800 includes a processing component 1822 that further includes one or more processors, and memory resources represented by memory 1832 for storing instructions executable by processing component 1822, such as an application.
  • An application stored in memory 1832 can include one or more modules each corresponding to a set of instructions.
  • processing component 1822 is configured to execute instructions to perform the method described above to select a picture.
  • Apparatus 1800 can also include a power supply component 1826 configured to perform power management of apparatus 1800, a wired or wireless network interface 1850 configured to connect apparatus 1800 to the network, and an input/output (I/O) interface 1858.
  • the device 1800 can operate based on an operating system stored in the memory 1832, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • the device of the embodiment of the present invention determines that the user reaches the target area by establishing a connection with the searched target wireless access device and the device by using the search target wireless access device with the set frequency, thereby realizing timely searching for the target wireless connection. After entering the device and establishing a communication connection with the device, if the connection is successful, it is determined that the user reaches the target area, so that the user can be more accurately detected to reach the target area.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明是关于检测方法及装置,能够更准确的检测用户到达目标区域。所述方法包括:开启以设定频率搜索目标无线接入设备;搜索到所述目标无线接入设备后,与所述目标无线接入设备建立连接;与所述目标无线接入设备建立连接后,确定用户到达目标区域。本发明技术方案,通过不间断的搜索目标无线接入设备,与搜索到的目标无线路由器建立连接后,确定用户到达目标区域,从而能够及时搜索到目标无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。

Description

检测方法及装置
本申请基于申请号为201610340568.7、申请日为2016年05月19日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及智能电器领域,尤其涉及一种检测方法及装置。
背景技术
智能电器是在互联网影响之下的物联化体现,智能电器通过物联网技术将区域中的各种设备(如音视频设备、照明系统、窗帘控制、安防系统、数字影院系统、影音服务器、影柜系统、网络电器等)连接到一起,进行智能控制。
智能电器的一种场景是根据用户到达目标区域而进行智能控制(例如,开启空调等),因此检测用户到达目标区域至关重要。
发明内容
本发明实施例提供一种检测方法及装置。
本发明实施例采用如下技术方案:
根据本发明实施例的第一方面,提供一种检测方法,包括:
根据指令以设定频率搜索目标无线接入设备,所述目标无线接入设备位于目标区域;
搜索到所述目标无线接入设备后,与所述目标无线接入设备建立连接;
与所述目标无线接入设备建立连接后,确定用户到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过以设定频率搜索目标区域无线接入设备,与搜索到的目标区域无线路由器建立连接后,确定用户到达目标区域,从而能够及时搜索到目标区域无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,所述根据指令以设定频率搜索目标无线接入设备,包括:
检测到用户即将到达所述目标区域,则以所述设定频率搜索所述目标无线接入设备。
本发明的实施例提供的技术方案可以包括以下有益效果:通过在检测到用户即将到达目标区域后,开启以设定频率搜索目标区域无线接入设备,从而能够更及时的搜索目标区域无线接入设备。
在一个实施例中,所述根据指令以设定频率搜索目标无线接入设备,包括:
检测到用户即将到达所述目标区域,则提醒用户点亮屏幕;
收到点亮屏幕操作指令后,以所述设定频率搜索所述目标无线接入设备。
本发明的实施例提供的技术方案可以包括以下有益效果:通过点亮屏幕开启以设定频率搜索所述目标区域无线接入设备,实现方式较为便捷。
在一个实施例中,所述检测到用户即将到达所述目标区域,包括:
搜索所述目标区域周围的无线接入设备;
所述目标区域周围的无线接入设备属于预存的所述目标区域附近无线接入设备列表中设备时,确定用户即将到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过搜索周围的无线接入设备确定用户即将达到目标区域,确定用户即将到达目标区域后开启以设定频率搜索目标区域无线接入设备,与搜索到的目标区域无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,所述检测到用户即将到达所述目标区域,包括:
通过蓝牙向所述目标区域附近的蓝牙设备发送广播消息,使得所述蓝牙设备收到所述广播消息后返回应答消息;
收到所述应答消息后,确定用户即将到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过目标区域附近蓝牙设备确定用户即将到达目标区域,确定用户即将到达目标区域后开启不间断的搜索目标区域无线接入设备,与搜索到的目标区域无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,所述检测到用户即将到达所述目标区域,包括:
获取自身位置;
确定所述自身位置与预存的所述目标区域的位置之间的距离;
当所述自身位置与所述目标区域的位置之间的距离小于预设距离时,确定用户即将到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过自身位置与所述目标区域的位置之间的距离确定用户即将到达目标区域,确定用户即将到达目标区域后开启不间断的搜索目标区域无线接入设备,与搜索到的目标无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,所述确定用户到达所述目标区域之后,还包括:
执行设定的用户到达所述目标区域的操作。
本发明的实施例提供的技术方案可以包括以下有益效果:在准确判定用户到达目标区域之后,执行设定的用户到达目标区域场景的操作,从而能够增强用户体验。
根据本发明实施例的第二方面,提供一种检测装置,包括:
控制模块,用于根据指令以设定频率搜索目标无线接入设备,所述目标无线接入设备位于目标区域;
连接模块,用于在所述控制模块搜索到所述目标无线接入设备后,与所述目标无线接入设备建立连接;
确定模块,用于在所述连接模块与所述目标无线接入设备建立连接后,确定用户到达所 述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过以设定频率搜索目标区域无线接入设备,与搜索到的目标区域无线路由器建立连接后,确定用户到达目标区域,从而能够及时搜索到目标区域无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,所述控制模块包括:
第一控制子模块,用于检测到用户即将到达所述目标区域,则以所述设定频率搜索所述目标无线接入设备。
本发明的实施例提供的技术方案可以包括以下有益效果:通过在检测到用户即将到达目标区域后,开启以设定频率搜索目标区域无线接入设备,从而能够更及时的搜索目标区域无线接入设备。
在一个实施例中,所述控制模块包括:
检测子模块,用于检测到用户即将到达所述目标区域后,提醒用户点亮屏幕;
第二控制子模块,用于收到点亮屏幕操作指令后,以所述设定频率搜索所述目标无线接入设备。
本发明的实施例提供的技术方案可以包括以下有益效果:通过点亮屏幕开启以设定频率搜索所述目标区域无线接入设备,实现方式较为便捷。
在一个实施例中,所述检测子模块包括:
搜索单元,用于搜索所述目标区域周围的无线接入设备;
第一确定单元,用于在所述目标区域周围的无线接入设备属于预存的所述目标区域附近无线接入设备列表中设备时,确定用户即将到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过搜索周围的无线接入设备确定用户即将达到目标区域,确定用户即将到达目标区域后开启以设定频率搜索目标区域无线接入设备,与搜索到的目标区域无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,所述检测子模块包括:
通信单元,通过蓝牙向所述目标区域附近蓝牙设备周围发送广播消息,使得所述目标区域附近蓝牙设备收到所述广播消息后返回应答消息;
第二确定单元,用于在所述通信单元收到所述目标区域附近蓝牙设备返回的应答消息后,确定用户即将到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过目标区域附近蓝牙设备确定用户即将到达目标区域,确定用户即将到达目标区域后开启不间断的搜索目标区域无线接入设备,与搜索到的目标区域无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,所述检测子模块包括:
获取单元,用于获取自身位置;
第三确定单元,用于确定所述自身位置与预存的所述目标区域的位置之间的距离;
第四确定单元,用于当所述自身位置与所述目标区域的位置之间的距离小于预设距离时,确定用户即将到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过自身位置与的位置之间的距离确定用户即将到达目标区域,确定用户即将到达目标区域后开启不间断的搜索目标区域无线接入设备,与搜索到的目标无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,还包括:
执行模块,用于在所述确定模块确定用户到达所述目标区域之后,执行设定的用户到达所述目标区域的操作。
本发明的实施例提供的技术方案可以包括以下有益效果:在准确判定用户到达目标区域之后,执行设定的用户到达目标区域场景的操作,从而能够增强用户体验。
根据本发明实施例的第三方面,提供一种检测装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述存储器被配置为:
根据指令以设定频率搜索目标无线接入设备,所述目标无线接入设备位于目标区域;
搜索到所述目标无线接入设备后,与所述目标无线接入设备建立连接;
与所述目标无线接入设备建立连接后,确定用户到达所述目标区域。
本发明的实施例提供的技术方案可以包括以下有益效果:通过以设定频率搜索目标区域无线接入设备,与搜索到的目标区域无线路由器建立连接后,确定用户到达目标区域,从而能够及时搜索到目标区域无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例1示出的检测方法的流程图之一。
图2是根据一示例性实施例1示出的检测方法的流程图之二。
图3是根据一示例性实施例1示出的检测用户即将到达目标区域的方法的流程图之一。
图4是根据一示例性实施例1示出的检测用户即将到达目标区域的方法的流程图之二。
图5是根据一示例性实施例1示出的检测用户即将到达目标区域的方法的流程图之三。
图6是根据一示例性实施例1示出的检测方法的流程图之三。
图7是根据一示例性实施例2示出的检测方法的流程图。
图8是根据一示例性实施例3示出的检测方法的流程图。
图9是根据一示例性实施例4示出的检测方法的流程图。
图10是根据一示例性实施例5示出的检测装置的框图之一。
图11是根据一示例性实施例5示出的检测装置的框图之二。
图12是根据一示例性实施例5示出的检测装置的框图之三。
图13是根据一示例性实施例5示出的检测装置的框图之四。
图14是根据一示例性实施例5示出的检测装置的框图之五。
图15是根据一示例性实施例5示出的检测装置的框图之六。
图16是根据一示例性实施例6示出的适用于检测装置的框图之一。
图17是根据一示例性实施例6示出的适用于检测装置的框图之二。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
智能电器是在互联网影响之下的物联化体现,智能电器通过物联网技术将区域中的各种设备(如音视频设备、照明系统、窗帘控制、安防系统、数字影院系统、影音服务器、影柜系统、网络电器等)连接到一起,进行智能控制。智能电器的一种场景是根据用户到达目标区域而进行智能控制(例如,开启空调等),因此检测用户到达目标区域至关重要。如果检测用户到达目标区域不准确会影响执行智能电器的相关操作。本发明实施例通过开启以设定频率搜索目标区域无线接入设备,以实现及时搜索到目标区域无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。
本发明实施例中,目标区域为特定的区域,在不同实施例中,该目标区域可以为住所、办公场所等,目标区域无线接入设备可以是为该目标区域提供无线网络通信服务的设备,例如无线路由器、无线AP(Access Point,接入点)等。
实施例1
图1是根据一示例性实施例示出的一种检测方法的流程图,如图1所示,该方法可以应用于具有无线通信功能的便携设备(例如,手机、平板电脑、穿戴设备等)中或其应用程序中,该方法包括以下步骤S11-S13:
在步骤S11中、根据指令以设定频率搜索目标无线接入设备,目标无线接入设备位于目标区域。
在一个实施例中,设定频率大于休屏(即屏幕关闭)状态的搜索频率,例如,为及时搜索到目标无线接入设备,设定频率可以为每分钟20次、每分钟30次等,设定频率可以通过设置进行更改。
在一个实施例中,可以设置以设定频率搜索目标无线接入设备的搜索时长,还可以根据搜索时长变更搜索频率,例如随着搜索时长的增加降低搜索频率。
在一个实施例中,可以根据预先设定确定目标无线接入设备,并存储目标无线接入设备的名称。
在一个实施例中,目标无线接入设备可以为路由器、AP(Wireless Access Point,无线访问接入点)热点等具有无线接入功能的设备。
在步骤S12中、搜索到目标无线接入设备后,与目标无线接入设备建立连接。
在一个实施例中,可以存储目标无线接入设备的接入密码,搜索到目标无线接入设备后,应用存储的目标无线接入设备的接入密码自动连接到目标无线接入设备。
在步骤S13中、与目标无线接入设备建立连接后,确定用户到达目标区域。
在一个实施例中,可以在与目标无线接入设备连接成功后,发出连接成功的提示。
本发明实施例的上述方法,通过以设定频率搜索目标区域无线接入设备,与搜索到的目标区域无线路由器建立连接后,确定用户到达目标区域,从而能够及时搜索到目标区域无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,上述步骤S11中可以在检测到用户即将到达目标区域后,以设定频率搜索目标无线接入设备。
本发明实施例的上述方法,在检测到用户即将到达目标区域后,开启不间断的搜索目标无线接入设备,从而能够更及时的搜索目标无线接入设备。
在一个实施例中,如图2所示,上述步骤S11中可以包括:
S111、检测到用户即将到达目标区域,提醒用户点亮屏幕。
在一个实施例中,点亮屏幕的提醒可以为默认的提醒方式,默认的提醒方式可以为语音提醒、震动提醒等。在一个实施例中,点亮屏幕的提醒可以为设定的提醒方式,设定的提醒方式可以为语音提醒、震动提醒等。
S112、收到点亮屏幕操作指令后,以设定频率搜索目标无线接入设备。
本发明实施例可以通过多种方式检测到用户即将到达目标区域,本发明实施例不限定具体的检测方式。
本发明实施例的上述方法,通过点亮屏幕开启以设定频率搜索目标无线接入设备,实现方式更为便捷。
在一个实施例中,如图3所示,上述S111中检测用户即将到达目标区域的方法包括:
S31、搜索目标区域周围的无线接入设备。
例如,可以按固定频率间歇性搜索周围的无线接入设备。
S32、目标区域周围的无线接入设备属于预存的目标区域附近无线接入设备列表中设备时,确定用户即将到达目标区域。
在一个实施例中,可多在上述S32之前搜索目标区域附近无线接入设备,将搜索到的家 附近无线接入设备的名称存入目标区域附近无线接入设备列表中,从而建立家附近无线接入设备列表。
本发明实施例的上述方法,通过搜索目标区域周围的无线接入设备确定用户即将到达目标区域,确定用户即将到家后以设定频率搜索目标无线接入设备,与搜索到的目标无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,如图4所示,上述S111中检测用户即将到达目标区域的方法包括:
S41、通过蓝牙向目标区域附近的蓝牙设备发送广播消息,使得蓝牙设备收到广播消息后返回应答消息。
在一个实施例中,可以预先记录目标区域附近蓝牙设备的标识,目标区域附近蓝牙设备收到广播消息后返回应答消息携带该标识,从而根据该标识确定目标区域附近蓝牙设备。
其中,目标区域附近蓝牙设备可以为在离目标区域特定距离(例如50米)范围内的蓝牙设备。例如,目标区域为住所时,附近蓝牙设备可以设置在住所小区门口或者住所的楼门口等用户回住所经过的位置。
S42、收到应答消息后,确定用户即将到达目标区域。
本发明实施例的上述方法,通过目标区域附近蓝牙设备确定用户即将到达目标区域,确定用户即将到达目标区域后开启不间断的搜索目标无线路由器,与搜索到的目标无线路由器建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
在一个实施例中,如图5所示,上述S111中检测用户即将到达目标区域的方法包括:
S51、获取自身位置。
在一个实施例中,可以通过自身定位模块获取自身位置,也可以实时获取自身位置,还可以周期性获取自身位置。
S52、确定自身位置与预存的目标区域的位置之间的距离。
在一个实施例中,预先存储目标区域的位置,从而在确定自身位置之后得出自身位置与目标区域位置之间的距离。
S53、当自身位置与目标区域的位置之间的距离小于预设距离时,确定用户即将到达目标区域。
在一个实施例中,自身位置与目标区域位置之间的距离小于可以预先设定,例如设定为50米、100米等。
本发明实施例的上述方法,通过自身位置与目标区域位置之间的距离确定用户即将到达目标区域,确定用户即将到达目标区域后开启不间断的搜索目标无线接入设备,与搜索到的目标无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户到达目标区域。
本发明实施例的上述方法,通过自身位置与预存的目标区域位置之间的距离确定用户即将到达目标区域,确定用户即将到达目标区域后开启不间断的搜索目标无线接入设备,与搜索到的目标无线接入设备建立连接后,确定用户到达目标区域,从而能够更准确的检测用户 到达目标区域。
在一个实施例中,如图6所示,上述步骤S13之后还包括:
S14、执行设定的用户到达目标区域的操作。
本发明实施例中,设定的用户到达目标区域的操作可以包含各种形式的操作,例如开启空调、开启热水器等等。
本发明实施例的上述方法,在准确判定用户到达目标区域之后,执行设定的用户到达目标区域的操作,从而能够增强用户体验。
本发明实施例的上述方法,通过以设定频率搜索目标无线接入设备,与搜索到的目标无线接,设备建立连接后,确定用户到达目标区域,从而实现及时搜索到目标无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。
实施例2
利用本发明实施例提供的上述方法,本实施例提供一种应用场景进行详细介绍,本实施例的场景为,本发明实施例提供的上述方法应用于手机,目标无线接入设备为家中的无线路由器,手机在用户即将到家时开启以设定频率搜索家中的无线路由器,与家中的无线路由器建立连接后,确定用户回家。
如图7所示,本实施例的检测用户回家的方法包括:
61、手机存储家附近无线路由器列表。
其中,家附近无线路由器列表存储家附近至少一个无线路由器名称。
例如,手机搜索家附近无线路由器,将搜索得到家附近无线路由器的名称存入家附近无线接入设备列表中,建立家附近无线路由器列表。
62、手机以设定频率搜索家周围的无线路由器。
例如,可以根据不同的场景预先设置设定频率。例如每分钟搜索30次、每分钟搜索40次等。
63、手机在周围的无线路由器属于预存的家附近无线接入设备列表时,确定用户即将到家。
例如,可以根据搜索到周围的无线路由器与家附近无线接入设备列表中设备的重合程度,得出用户即将到家。例如,重合程度越高越能准确判定用户即将到家。在一个实施例中,也可以设定特定的条件,例如,至少两个周围的无线路由器属于家附近无线接入设备列表时,判定用户即将到家。
64、手机向提醒用户点亮屏幕。
在一个实施例中,点亮屏幕的提醒可以为默认的提醒方式,默认的提醒方式可以为语音提醒、震动提醒等。在一个实施例中,点亮屏幕的提醒可以为设定的提醒方式,设定的提醒方式可以为语音提醒、震动提醒等。
65、手机收到点亮屏幕操作指令后,开启以设定频率搜索家中无线路由器。
在一个实施例中,还可以在确定用户即将到家之后,自行开启不间断的搜索家中无线接入设备,不向用户发起提醒。
66、手机搜索到家中无线路由器后,与家中无线路由器建立连接。
在一个实施例中,可以预先存储家中无线路由器的接入密码,应用该接入密码与家中无线路由器建立连接。
67、手机与家中无线路由器建立连接后,确定用户回家。
本发明实施例中,确定用户回家之后可以执行设定的用户回家场景的操作。其中,用户回家场景的操作可以包含各种形式的操作,例如开启空调、开启热水器等等。
应当理解,本实施例仅以执行主体为手机、家中无线接入设备为家中的无线路由器为例进行说明。参照本实施例的上述步骤,本实施例的方法还可以应用于其他设备(例如穿戴设备),家中无线接入设备为家中AP接入点。
本发明实施例的上述方法,手机根据家周围的无线路由器,判定用户即将到家后开启以设定频率搜索家中无线路由器,与搜索到的家中无线路由器建立连接后,确定用户回家,从而实现及时搜索到家中无线路由器并与其建立通信连接,连接成功即判定为用户回家,从而能够更准确的检测用户回家。
实施例3
利用本发明实施例提供的上述方法,本实施例提供了一种应用场景进行详细介绍,本实施例的场景为,本发明实施例提供的上述方法应用于手机,目标无线接入设备为家中的无线路由器,手机在用户即将到家时开启以设定频率搜索家中的无线路由器,与家中的无线路由器建立连接后,确定用户回家。
如图8所示,本实施例的检测用户回家的方法包括:
71、开启蓝牙功能,通过蓝牙向家附近蓝牙设备周围发送广播消息,使得家附近蓝牙设备收到广播消息后返回应答消息。
在一个实施例中,可以实时向家附近蓝牙设备周围发送广播消息,也可以采用固定周期向家附近蓝牙设备周围发送广播消息。
在一个实施例中,预先记录家附近蓝牙设备的标识,家附近蓝牙设备收到广播消息后返回应答消息携带该标识,从而根据该标识确定家附近蓝牙设备。
其中,家附近蓝牙设备可以为在离家特定距离(例如50米)范围内的蓝牙设备。在一个实施例中,家附近蓝牙设备可以设置在小区门口或者家的楼门口等用户回家经过的位置。
72、收到家附近蓝牙设备返回的应答消息后,确定用户即将到家。
73、手机提醒用户点亮屏幕。
在一个实施例中,点亮屏幕的提醒可以为默认的提醒方式,默认的提醒方式可以为语音提醒、震动提醒等。在一个实施例中,点亮屏幕的提醒可以为设定的提醒方式,设定的提醒 方式可以为语音提醒、震动提醒等。
74、手机收到点亮屏幕操作指令后,以设定频率搜索家中无线路由器。
在一个实施例中,还可以在确定用户即将到家之后,自行开启以设定频率搜索家中无线接入设备,不向用户发起提醒。
75、手机搜索到家中无线路由器后,与家中无线路由器建立连接。
在一个实施例中,可以预先存储家中无线路由器的接入密码,应用该接入密码与家中无线路由器建立连接。
76、手机与家中无线路由器建立连接后,确定用户回家。
本发明实施例中,确定用户回家之后可以执行设定的用户回家场景的操作。其中,用户回家场景的操作可以包含各种形式的操作,例如开启空调、开启热水器等等。
应当理解,本实施例仅以执行主体为手机、目标无线接入设备为家中的无线路由器为例进行说明。参照本实施例的上述步骤,本实施例的方法还可以应用于其他设备(例如穿戴设备),目标无线接入设备为家中AP接入点。
本发明实施例的上述方法,根据家附近的蓝牙设备判定用户即将到家后开启以设定频率的搜索家中无线路由器,与搜索到的家中无线路由器建立连接后,确定用户回家,从而实现及时搜索到家中无线路由器并与其建立通信连接,连接成功即判定为用户回家,从而能够更准确的检测用户回家。
实施例4
利用本发明实施例提供的上述方法,本实施例提供了一种应用场景进行详细介绍,本实施例的场景为,本发明实施例提供的上述方法应用于手机,目标无线接入设备为家中的无线路由器,手机在即将到家时开启不间断的搜索家中的无线路由器,与家中的无线路由器建立连接后,确定用户回家。
如图9所示,本实施例的检测用户回家的方法包括:
81、手机获取自身位置。
在一个实施例中,手机可以通过自身定位获取自身位置,手机可以实时获取自身位置也可以周期性获取自身位置。
82、手机确定自身位置与预存的家的位置之间的距离。
83、手机可以在当自身位置与家的位置之间的距离小于预设距离时,确定用户即将到家。
例如,预设距离可以为100米、200米等。
84、手机提醒用户点亮屏幕。
在一个实施例中,点亮屏幕的提醒可以为默认的提醒方式,默认的提醒方式可以为语音提醒、震动提醒等。在一个实施例中,点亮屏幕的提醒可以为设定的提醒方式,设定的提醒方式可以为语音提醒、震动提醒等。
85、手机收到点亮屏幕操作指令后,开启以设定频率搜索家中无线路由器。
在一个实施例中,手机还可以在确定用户即将到家之后,自行开启不间断的搜索目标无线接入设备,不向用户发起提醒。
86、手机搜索到家中无线路由器后,与家中无线路由器建立连接。
在一个实施例中,手机可以预先存储家中无线路由器的接入密码,应用该接入密码与家中无线路由器建立连接。
87、手机与家中无线路由器建立连接后,确定用户回家。
本发明实施例中,确定用户回家之后可以执行设定的用户回家场景的操作。其中,用户回家场景的操作可以包含各种形式的操作,例如开启空调、开启热水器等等。
应当理解,本实施例仅以执行主体为手机、目标无线接入设备为家中的无线路由器为例进行说明。参照本实施例的上述步骤,本实施例的方法还可以应用于其他设备(例如穿戴设备),目标无线接入设备为家中AP接入点。
本发明实施例的上述方法,根据位置距离判定用户即将到家后开启以设定频率的搜索家中无线路由器,与搜索到的家中无线路由器建立连接后,确定用户回家,从而实现及时搜索到家中无线路由器并与其建立通信连接,连接成功即判定为用户回家,从而能够更准确的检测用户回家。
实施例5
图10是根据一示例性实施例示出的一种检测装置,包括:
控制模块91,用于开启不间断的搜索目标无线接入设备。
连接模块92,用于在控制模块91搜索到目标无线接入设备后,与目标无线接入设备建立连接。
确定模块93,用于在连接模块92与目标无线接入设备建立连接后,确定用户回家。
在一个实施例中,如图11所示,控制模块91包括:
第一控制子模块911,用于检测到用户即将到家,则开启不间断的搜索目标无线接入设备。
在一个实施例中,如图11所示,控制模块91包括:
检测子模块912,用于检测到用户即将到家后,向用户发起点亮屏幕的提醒,以提醒用户点亮屏幕。
第二控制子模块913,用于收到点亮屏幕操作指令后,开启不间断的搜索目标无线接入设备。
在一个实施例中,如图12所示,检测子模块912包括:
搜索单元9121,用于搜索目标区域周围的无线接入设备。
第一确定单元9122,用于在目标区域周围的无线接入设备属于预存的目标区域附近无线接入设备列表中设备时,确定用户即将到达目标区域。
在一个实施例中,如图13所示,检测子模912块包括:
通信单元9123,用于通过蓝牙向目标区域附近蓝牙设备周围发送广播消息,使得目标区域附近蓝牙设备收到广播消息后返回应答消息。
第二确定单元9124,用于在通信单元收到目标区域附近蓝牙设备返回的应答消息后,确定用户即将到达目标区域。
在一个实施例中,如图14所示,检测子模块912包括:
获取单元9125,用于获取自身位置;
第三确定单元9126,用于确定自身位置与预存的目标区域的位置之间的距离;
第四确定单元9127,用于当自身位置与目标区域的位置之间的距离小于预设距离时,确定用户即将到达目标区域。
在一个实施例中,如图15所示,上述检测用户回家的装置还包括:
执行模块94,用于在确定模块确定用户到达目标区域之后,执行设定的用户到达目标区域的操作。
本实施例的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本发明实施例的上述装置,通过以设定频率搜索目标无线接入设备,与搜索到的家中无线接,设备建立连接后,确定用户回家,从而实现及时搜索到目标无线接入设备并与其建立通信连接,连接成功即判定为用户回家,从而能够更准确的检测用户回家。
实施例6
图16是根据一示例性实施例示出的一种检测装置1200的框图,该装置适用于具有无线通信功能的便携设备(例如,手机、平板电脑、穿戴设备等)中或应用程序中。例如,装置1200可以是计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图16,装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。
处理组件1202通常控制装置1200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理部件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。
存储器1204被配置为存储各种类型的数据以支持在设备1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程 只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1206为装置1200的各种组件提供电力。电源组件1206可以包括电源管理系统,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。
多媒体组件1208包括在装置1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1208包括一个前置摄像头和/或后置摄像头。当设备1200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当装置1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。
I/O接口1212为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1214包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1214可以检测到设备1200的打开/关闭状态,组件的相对定位,例如组件为装置1200的显示器和小键盘,传感器组件1214还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1216被配置为便于装置1200和其他设备之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信部件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、 控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器820执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本实施例提供一种检测装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,存储器被配置为:
根据指令以设定频率搜索目标无线接入设备,目标无线接入设备位于目标区域;
搜索到目标无线接入设备后,与目标无线接入设备建立连接;
与目标无线接入设备建立连接后,确定用户到达目标区域。
其中,根据指令以设定频率搜索目标无线接入设备,包括:
检测到用户即将到达目标区域,则以设定频率搜索目标无线接入设备。
其中,根据指令以设定频率搜索目标无线接入设备,包括:
检测到用户即将到达目标区域,则提醒用户点亮屏幕;
收到点亮屏幕操作指令后,以设定频率搜索目标无线接入设备。
其中,检测到用户即将到达目标区域,包括:
搜索目标区域周围的无线接入设备;
目标区域周围的无线接入设备属于预存的目标区域附近无线接入设备列表中设备时,确定用户即将到达目标区域。
其中,检测到用户即将到达目标区域,包括:
通过蓝牙向目标区域附近的蓝牙设备发送广播消息,使得蓝牙设备收到广播消息后返回应答消息;
收到应答消息后,确定用户即将到达目标区域。
其中,检测到用户即将到达目标区域,包括:
获取自身位置;
确定自身位置与预存的目标区域的位置之间的距离;
当自身位置与目标区域的位置之间的距离小于预设距离时,确定用户即将到达目标区域。
其中,确定用户到达目标区域之后,还包括:
执行设定的用户到达目标区域的操作。
本实施例提供一种非临时性计算机可读存储介质,当存储介质中的指令由检测用户回家的装置(如手机、穿戴设备)的处理器执行时,使得服务提供设备能够执行一种检测方法,该方法包括:
根据指令以设定频率搜索目标无线接入设备,目标无线接入设备位于目标区域;
搜索到目标无线接入设备后,与目标无线接入设备建立连接;
与目标无线接入设备建立连接后,确定用户到达目标区域。
存储介质中的指令还可以包括:
检测到用户即将到达目标区域,则以设定频率搜索目标无线接入设备。
存储介质中的指令还可以包括:
检测到用户即将到达目标区域,则提醒用户点亮屏幕;
收到点亮屏幕操作指令后,以设定频率搜索目标无线接入设备。
存储介质中的指令还可以包括:
搜索目标区域周围的无线接入设备;
目标区域周围的无线接入设备属于预存的目标区域附近无线接入设备列表中设备时,确定用户即将到达目标区域。
存储介质中的指令还可以包括:
通过蓝牙向目标区域附近的蓝牙设备发送广播消息,使得蓝牙设备收到广播消息后返回应答消息;
收到应答消息后,确定用户即将到达目标区域。
存储介质中的指令还可以包括:
获取自身位置;
确定自身位置与预存的目标区域的位置之间的距离;
当自身位置与目标区域的位置之间的距离小于预设距离时,确定用户即将到达目标区域。
存储介质中的指令还可以包括:
执行设定的用户到达目标区域的操作。
图17是根据一示例性实施例示出的一种用于检测装置1800的框图。例如,装置1800可以被提供为一计算机。参照图17,装置1800包括处理组件1822,其进一步包括一个或多个处理器,以及由存储器1832所代表的存储器资源,用于存储可由处理组件1822的执行的指令,例如应用程序。存储器1832中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1822被配置为执行指令,以执行上述方法选择图片。
装置1800还可以包括一个电源组件1826被配置为执行装置1800的电源管理,一个有线或无线网络接口1850被配置为将装置1800连接到网络,和一个输入输出(I/O)接口1858。装置1800可以操作基于存储在存储器1832的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
本发明实施例的上述装置,通过以设定频率的搜索目标无线接入设备,与搜索到的目标无线接入设备,设备建立连接后,确定用户到达目标区域,从而实现及时搜索到目标无线接入设备并与其建立通信连接,连接成功即判定为用户到达目标区域,从而能够更准确的检测用户到达目标区域。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本发明的其它实施 方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (15)

  1. 一种检测方法,其特征在于,包括:
    根据指令以设定频率搜索目标无线接入设备,所述目标无线接入设备位于目标区域;
    搜索到所述目标无线接入设备后,与所述目标无线接入设备建立连接;
    与所述目标无线接入设备建立连接后,确定用户到达所述目标区域。
  2. 根据权利要求1所述的方法,其特征在于,所述根据指令以设定频率搜索目标无线接入设备,包括:
    检测到用户即将到达所述目标区域,则以所述设定频率搜索所述目标无线接入设备。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据指令以设定频率搜索目标无线接入设备,包括:
    检测到用户即将到达所述目标区域,则提醒用户点亮屏幕;
    收到点亮屏幕操作指令后,以所述设定频率搜索所述目标无线接入设备。
  4. 根据权利要求2或3所述的方法,其特征在于,所述检测到用户即将到达所述目标区域,包括:
    搜索所述目标区域周围的无线接入设备;
    所述目标区域周围的无线接入设备属于预存的所述目标区域附近无线接入设备列表中设备时,确定用户即将到达所述目标区域。
  5. 根据权利要求2至4中任一项所述的方法,其特征在于,所述检测到用户即将到达所述目标区域,包括:
    通过蓝牙向所述目标区域附近的蓝牙设备发送广播消息,使得所述蓝牙设备收到所述广播消息后返回应答消息;
    收到所述应答消息后,确定用户即将到达所述目标区域。
  6. 根据权利要求2至5中任一项所述的方法,其特征在于,所述检测到用户即将到达所述目标区域,包括:
    获取自身位置;
    确定所述自身位置与预存的所述目标区域的位置之间的距离;
    当所述自身位置与所述目标区域的位置之间的距离小于预设距离时,确定用户即将到达所述目标区域。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述确定用户到达所述目标区域之后,还包括:
    执行设定的用户到达所述目标区域的操作。
  8. 一种检测装置,其特征在于,包括:
    控制模块,用于根据指令以设定频率搜索目标无线接入设备,所述目标无线接入设备位于目标区域;
    连接模块,用于在所述控制模块搜索到所述目标无线接入设备后,与所述目标无线接入设备建立连接;
    确定模块,用于在所述连接模块与所述目标无线接入设备建立连接后,确定用户到达所述目标区域。
  9. 根据权利要求8所述的装置,其特征在于,所述控制模块包括:
    第一控制子模块,用于检测到用户即将到达所述目标区域,以所述设定频率搜索所述目标无线接入设备。
  10. 根据权利要求8或9所述的装置,其特征在于,所述控制模块包括:
    检测子模块,用于检测到用户即将到达所述目标区域后,提醒用户点亮屏幕;
    第二控制子模块,用于收到点亮屏幕操作指令后,以所述设定频率搜索所述目标无线接入设备。
  11. 根据权利要求9或10所述的装置,其特征在于,所述检测子模块包括:
    搜索单元,用于搜索所述目标区域周围的无线接入设备;
    第一确定单元,用于在所述目标区域周围的无线接入设备属于预存的所述目标区域附近无线接入设备列表中设备时,确定用户即将到达所述目标区域。
  12. 根据权利要求9至11中任一项所述的装置,其特征在于,所述检测子模块包括:
    通信单元,用于通过蓝牙向所述目标区域附近蓝牙设备周围发送广播消息,使得所述目标区域附近蓝牙设备收到所述广播消息后返回应答消息;
    第二确定单元,用于在所述通信单元收到所述目标区域附近蓝牙设备返回的应答消息后,确定用户即将到达所述目标区域。
  13. 根据权利要求9至12中任一项所述的装置,其特征在于,所述检测子模块包括:
    获取单元,用于获取自身位置;
    第三确定单元,用于确定所述自身位置与预存的所述目标区域的位置之间的距离;
    第四确定单元,用于当所述自身位置与所述目标区域的位置之间的距离小于预设距离时,确定用户即将到达所述目标区域。
  14. 根据权利要求8至13中任一项所述的装置,其特征在于,还包括:
    执行模块,用于在所述确定模块确定用户到达所述目标区域之后,执行设定的用户到达所述目标区域的操作。
  15. 一种检测装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述存储器被配置为:
    根据指令以设定频率搜索目标无线接入设备,所述目标无线接入设备位于目标区域;
    搜索到所述目标无线接入设备后,与所述目标无线接入设备建立连接;
    与所述目标无线接入设备建立连接后,确定用户到达所述目标区域。
PCT/CN2016/093270 2016-05-19 2016-08-04 检测方法及装置 WO2017197777A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610340568.7 2016-05-19
CN201610340568.7A CN105828294B (zh) 2016-05-19 2016-05-19 检测方法及装置

Publications (1)

Publication Number Publication Date
WO2017197777A1 true WO2017197777A1 (zh) 2017-11-23

Family

ID=56530947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/093270 WO2017197777A1 (zh) 2016-05-19 2016-08-04 检测方法及装置

Country Status (4)

Country Link
US (1) US10111026B2 (zh)
EP (1) EP3247137B1 (zh)
CN (1) CN105828294B (zh)
WO (1) WO2017197777A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017068520A (ja) * 2015-09-29 2017-04-06 本田技研工業株式会社 リマインダ通知システム及びリマインダ通知方法
CN105828294B (zh) * 2016-05-19 2019-03-12 北京小米移动软件有限公司 检测方法及装置
CN108286793A (zh) * 2017-01-09 2018-07-17 芜湖美的厨卫电器制造有限公司 热水器及其控制方法
CN107564139A (zh) * 2017-07-25 2018-01-09 深圳市盛路物联通讯技术有限公司 一种唤醒家庭门禁系统的方法及ap
CN113709714B (zh) * 2021-09-26 2024-03-12 广东万和新电气股份有限公司 一种组网方法、浴控器及其控制装置以及热水器系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2665237A1 (en) * 2012-05-16 2013-11-20 Nokia Corporation Method, apparatus, and computer program product for controlling network access to guest apparatus based on presence of hosting apparatus
CN103582076A (zh) * 2012-08-07 2014-02-12 中兴通讯股份有限公司 Wlan热点搜索的控制方法及装置
CN105009645A (zh) * 2013-03-12 2015-10-28 高通股份有限公司 用于扫描无线接入点的方法和设备
CN105101085A (zh) * 2015-07-23 2015-11-25 小米科技有限责任公司 出行日志的建立方法和装置
CN105828294A (zh) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 检测方法及装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006013594A (ja) * 2004-06-22 2006-01-12 Nec Corp 無線lan通信システムおよび無線lan接続方法と無線lan端末装置
US20100232401A1 (en) * 2005-03-23 2010-09-16 Nxp B.V. Wireless local area network scan based on location
US9319967B2 (en) * 2006-05-15 2016-04-19 Boingo Wireless, Inc. Network access point detection and use
KR20090012579A (ko) * 2007-07-30 2009-02-04 삼성전자주식회사 휴대 단말기의 대역 검색 및 셀 선택 방법 및 이를 위한장치
US20120172027A1 (en) * 2011-01-03 2012-07-05 Mani Partheesh Use of geofences for location-based activation and control of services
US8805360B2 (en) 2012-02-14 2014-08-12 Apple Inc. Wi-Fi process
KR101911252B1 (ko) * 2012-08-13 2018-10-24 엘지전자 주식회사 휴대 단말기 및 그 제어 방법
CN106464551A (zh) * 2014-01-06 2017-02-22 魅力能源公司 一种使用网络装置和基于遥感的信息来协调环境的系统、装置和设备
CN103926890B (zh) * 2014-04-08 2018-02-16 小米科技有限责任公司 智能终端控制方法及装置
CN104363590B (zh) * 2014-10-24 2016-05-04 腾讯科技(深圳)有限公司 接入点连接方法及装置
CN105228224A (zh) * 2015-10-29 2016-01-06 小米科技有限责任公司 无线网络的接入方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2665237A1 (en) * 2012-05-16 2013-11-20 Nokia Corporation Method, apparatus, and computer program product for controlling network access to guest apparatus based on presence of hosting apparatus
CN103582076A (zh) * 2012-08-07 2014-02-12 中兴通讯股份有限公司 Wlan热点搜索的控制方法及装置
CN105009645A (zh) * 2013-03-12 2015-10-28 高通股份有限公司 用于扫描无线接入点的方法和设备
CN105101085A (zh) * 2015-07-23 2015-11-25 小米科技有限责任公司 出行日志的建立方法和装置
CN105828294A (zh) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 检测方法及装置

Also Published As

Publication number Publication date
CN105828294A (zh) 2016-08-03
EP3247137A1 (en) 2017-11-22
CN105828294B (zh) 2019-03-12
US20170339513A1 (en) 2017-11-23
US10111026B2 (en) 2018-10-23
EP3247137B1 (en) 2020-07-29

Similar Documents

Publication Publication Date Title
US10291713B2 (en) Smart device control method and apparatus
US10375296B2 (en) Methods apparatuses, and storage mediums for adjusting camera shooting angle
EP3136793B1 (en) Method and apparatus for awakening electronic device
EP3035738B1 (en) Method for connecting appliance to network and corresponding device
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
CN106791921B (zh) 视频直播的处理方法、装置及存储介质
WO2016183992A1 (zh) 对账户与设备的控制关系进行管理的方法、装置和系统
WO2016023340A1 (zh) 一种切换摄像头的方法和装置
WO2017101518A1 (zh) 定位信息提示方法及装置
WO2016045320A1 (zh) 智能灯的控制方法及装置
WO2017197777A1 (zh) 检测方法及装置
WO2017036037A1 (zh) 拍摄控制方法和装置
WO2016065823A1 (zh) 一种空气净化提醒方法、提醒装置、用户设备和系统
WO2015154360A1 (zh) 一种智能终端控制方法及装置
WO2016155304A1 (zh) 无线访问接入点的控制方法及装置
WO2016127669A1 (zh) 终端设备接入无线网络的方法及装置
WO2017071074A1 (zh) 建立连接的方法及装置
WO2016155231A1 (zh) 网络接入方法及装置
US20170063758A1 (en) Method, device, terminal, and router for sending message
TWI659662B (zh) 定位資訊收集方法、裝置及移動終端
WO2017008400A1 (zh) 控制智能设备的方法及装置
US20160349779A1 (en) Method and device for controlling smart home power supply
WO2018000710A1 (zh) WiFi信号图标的展示方法、装置和移动终端
WO2017088371A1 (zh) 闹钟设置方法及装置
CN106572268B (zh) 信息显示方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16902157

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902157

Country of ref document: EP

Kind code of ref document: A1