WO2018171280A1 - 终端的控制方法及装置、无线接入点设备和存储介质 - Google Patents

终端的控制方法及装置、无线接入点设备和存储介质 Download PDF

Info

Publication number
WO2018171280A1
WO2018171280A1 PCT/CN2017/118922 CN2017118922W WO2018171280A1 WO 2018171280 A1 WO2018171280 A1 WO 2018171280A1 CN 2017118922 W CN2017118922 W CN 2017118922W WO 2018171280 A1 WO2018171280 A1 WO 2018171280A1
Authority
WO
WIPO (PCT)
Prior art keywords
orientation information
information
relative
access point
wireless access
Prior art date
Application number
PCT/CN2017/118922
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 WO2018171280A1 publication Critical patent/WO2018171280A1/zh

Links

Images

Classifications

    • 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/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • 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
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the present application relates to the field of communications, and in particular, to a terminal control method and apparatus, a wireless access point device, and a storage medium.
  • various remote controllers When controlling the terminal, various remote controllers are often used, but various remote controllers bring a lot of inconvenience to people's use. For example, when a user uses a household appliance, it is often necessary to look for a remote controller of the home appliance. For example, a seasonal appliance (such as an air conditioner) may have an embarrassing situation in which the remote controller cannot be used and the seasonal appliance cannot be used, and the user is different. When the household appliances are operated, it is often necessary to exchange different remote controllers, which brings inconvenience to the user.
  • a seasonal appliance such as an air conditioner
  • the embodiment of the present application provides a method and device for controlling a terminal, a wireless access point device, a terminal, a storage medium, and a remote control system, so as to at least solve the remote control required by the user due to a single product type supported by the remote controller in the related art.
  • a remote control system so as to at least solve the remote control required by the user due to a single product type supported by the remote controller in the related art.
  • a method for controlling a terminal includes: acquiring first orientation information of a first device, and second orientation information of at least one second device; comparing the first orientation information with at least a difference between the second orientation information, a comparison result is obtained, and a comparison result is obtained; determining, by the comparison result, the designated device in the at least one second device, and using the designated device as the current control of the first device Object.
  • a wireless access point device including: a wireless communication module, configured to receive a first radio frequency signal sent by the first device and a second radio frequency signal sent by at least one second device a signal, wherein the first radio frequency signal carries first orientation information, the second radio frequency signal carries second orientation information, and the processor is configured to compare the first orientation information with at least one of the first The difference between the two-direction information is obtained, and the specified device in the at least one second device is determined according to the comparison result, and the designated device is used as the current control object of the first device.
  • a method for controlling a controlled terminal includes: receiving a notification sent by a wireless access point device, where the notification carries control object information of the first device, where the control The control object indicated by the object information is determined by: acquiring first orientation information of the first device, and second orientation information of the at least one second device; comparing the first orientation information with at least one of the second Determining the difference between the orientation information, obtaining a comparison result, determining, according to the comparison result, the designated device in the at least one of the second devices, the designated device as a current control object of the first device; A device sends a control instruction to the second device indicated by the control object information, wherein the control instruction is used to control the second device to perform an operation indicated by the control instruction.
  • a remote control system includes: a wireless access point device configured to acquire first orientation information of a first device, and second orientation information of at least one second device; Determining a difference between the first orientation information and the at least one second orientation information, obtaining a comparison result; determining, according to the comparison result, a designated device in the at least one second device, using the designated device as the first a current control object of the device; and notifying the control device to the first device; the first device, coupled to the wireless access point device, configured to receive the notification of the first device, and The control object of the notification indication sends a control instruction; the second device is coupled to the first device, configured to receive the control instruction, and perform an operation indicated by the control instruction.
  • a terminal comprising: a processor; and a memory coupled to the processor, configured to store a computer program, to cause the processor to execute when the computer program is executed The following steps: acquiring first orientation information of the first device, and second orientation information of the at least one second device; comparing differences between the first orientation information and the at least one second orientation information, to obtain a comparison result Determining, according to the comparison result, a designated device in the at least one second device, and using the designated device as a current control object of the first device.
  • a control device for a terminal comprising: an obtaining module configured to acquire first orientation information of the first device, and second orientation information of the at least one second device; and a comparison module, Configuring to compare a difference between the first orientation information and the at least one second orientation information; the determining module configured to determine a designated device in the at least one second device according to the comparison result, using the designated device as The current control object of the first device.
  • a storage medium includes a stored program, and a method for determining a device in which the storage medium is located to execute the controlled terminal described above when the program is running .
  • a first device since the control object of the first device may be determined according to the comparison result between the first orientation information of the first device and the second orientation information of the second device, a first device may control multiple seconds.
  • the control device of the device can determine the controlled device based on the first orientation information and the second orientation information, and can select the currently controlled device from the plurality of devices that can be controlled by the control device, thereby avoiding when one device controls multiple devices.
  • the solution provided by the embodiment can implement the control of the second device according to the orientation information of the first device, and therefore,
  • the remote control supports a single product type, which leads to many types of remote controllers required by the user, and requires frequent replacement of the remote controller, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for controlling a terminal according to Embodiment 1 of the present application;
  • FIG. 2 is a schematic diagram of an optional orientation information of a first device according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of relative orientation information of an optional first device according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a rotation direction of an optional first device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the principle of optional relative direction information according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an orientation of an optional second device relative to a WiFi device in a coordinate axis according to an embodiment of the present application
  • FIG. 7 is a schematic diagram of an orientation of another optional second device relative to a WiFi device in a coordinate axis according to an embodiment of the present application
  • FIG. 8 is a schematic diagram of calculating a difference in angle between a first device and a second device according to an embodiment of the present application.
  • FIG. 9 is a block diagram showing the structure of a control apparatus for a terminal according to Embodiment 1 of the present application.
  • FIG. 10 is a block diagram showing the hardware structure of a computer device for implementing a method for controlling a terminal according to Embodiment 2 of the present application;
  • FIG. 11 is a flowchart of a method for controlling a terminal according to Embodiment 2 of the present application.
  • FIG. 12 is a block diagram showing the structure of a control apparatus for a terminal according to Embodiment 2 of the present application.
  • FIG. 13 is a flowchart of a method for controlling a controlled terminal according to Embodiment 6 of the present application.
  • Figure 14 is a block diagram showing the structure of a remote control system according to Embodiment 7 of the present application.
  • the control object also referred to as the controlled object, generally refers to the controlled device, and the control flow can be implemented by the following process, but is not limited to: receiving the control command sent by the terminal, and then performing the related action according to the control instruction.
  • the embodiment provides a method and a device for controlling the first device.
  • the first device determines the rotation angle according to the direction sensor, and determines the distance and the angle with respect to the wifi device according to the wifi device, and calculates the first device and the controlled device.
  • the orientation information is performed when the first device points to the controlled device.
  • FIG. 1 is a flowchart of a method for controlling a terminal according to Embodiment 1 of the present application. As shown in FIG. 1, the method includes the following steps:
  • the orientation information includes self-orientation information and relative orientation information; as shown in FIG. 2, the self-azimuth information refers to that the first device determines the rotation angle according to the direction sensor, which is the terminal itself.
  • the orientation information as shown in FIG. 3, the relative orientation information refers to the distance and angle of the terminal relative to the wifi device as the orientation information of a point relative to the wifi device.
  • the first device determines the rotation angle according to the direction sensor, which is the orientation information of the terminal itself, and the rotation direction and angle of the Android device acquired by the Android (android) are calculated by the acceleration sensor and the geomagnetic sensor. This is the recommended way for android.
  • the direction sensor records the angle of rotation of the phone in all directions. As shown in Figure 4.
  • the direction of the device is the Z-axis direction in the direction perpendicular to the ground, and the rotation direction of the device in the horizontal plane is described by the rotation angle of the device along the Z-axis. Place the phone on the table with the z-axis pointing from the phone to the sky.
  • values[0] This value indicates the orientation, which is the angle at which the phone rotates around the Z axis. “0” means North (North); “90” means East (East); “180” means South (South); “270” means West (West).
  • the acquisition of the relative orientation information of the first device refers to the distance and angle of the terminal relative to the wifi device as the orientation information of a point relative to the wifi device.
  • the gain antennas are evenly distributed in various directions around the circumference of the horizontal plane centered on the body of the wifi device.
  • Wifi devices with different number of gain antennas can be designed according to different angular resolution requirements.
  • the Wifi device sends a wifi device connection handshake broadcast signal to each direction through each of the gain antennas, the broadcast signal includes a direction coding ID of each of the gain antennas, and the Wifi device monitors the reply information of the first device, where the reply information includes the mobile terminal receiving the The direction code ID, the WiFi device obtains the strength and direction code ID of the first device access request signal by parsing, and the Wifi device can determine the signal strength by analyzing the signal strength of the first device reply information and the received direction code ID.
  • the distance and direction of a device relative to a wifi device Through the same operation of the gain antennas in other directions, the WiFi device can determine the relative distance and/or direction of the first device in the 360° direction of the surrounding water, and generate an access device azimuth table for the WiFi device to manage itself. Use, or exchange, access device management information with other smart devices.
  • each of the gain antennas is activated at the same time, and the WiFi device connection information broadcast signal is sent to each direction through each of the gain antennas.
  • the direction of the WiFi device is the direction perpendicular to the ground in the Z-axis direction, 90 is East (East); 180 is South (South); 270 is West.
  • a gain antenna in a 0 degree direction is activated, and a WiFi device connection handshake information containing a 0 degree direction information code ID is broadcast through the antenna. If there is a first device in this angle region, the first device sends a reply signal containing the 0 degree direction information code ID to the WiFi device.
  • the WiFi device obtains the strength of the first device access request signal and the code ID of the 0 degree direction information by parsing, and can locate the distance and direction of the first device relative to the WiFi device.
  • the WiFi device can determine the relative distance and/or direction of the first device in the 360° direction of the surrounding water, and generate a first device orientation table accordingly.
  • the orientation information only includes relative orientation information; the self orientation information means that the first device determines the rotation angle according to the direction sensor, and is the terminal's own orientation information, and the relative orientation information refers to the distance and angle of the terminal relative to the wifi device. As a point relative to the orientation information of the wifi device.
  • determining the orientation information of the second device is the same as step S102, and only the relative orientation information of the second device needs to be determined.
  • the relative orientation information of the second device may be set by the user according to his own habits, and may be written in the database in advance, or may be designed at the factory. Pre-set by personnel.
  • the first device determines which second device to point to based on the orientation information.
  • calculating a difference between the first device orientation information and the second device orientation information acquiring the orientation information with the smallest difference, determining a second device, calculating first device orientation information, and the second device
  • the difference between the orientation information is converted into the problem of calculating the angle within the triangle.
  • the value of ⁇ CAB may be the angle of the second azimuth direction information of the first device (the angle at which the first device rotates about the Z axis, 0 represents North) minus the angle of the relative orientation information of the second device (second device) Relative to the angle of rotation of the wifi device about the Z axis.
  • 0 indicates the absolute value of the difference of the north (North);
  • the line segment AC is the relative orientation information of the second device (the distance from the second device to the wifi device), and the line segment AB is Relative orientation information of the first device (distance from the first device to the wifi device).
  • the angle value of ⁇ ABC can be calculated from ⁇ CAB, line segment AC and line segment AB, that is, the problem is to convert the two sides of the known triangle and their angles, and how to find another angle.
  • BC 2 AB 2 +AC 2 -2*AB*AC*cosA, you can find the line segment BC
  • the direction angle ⁇ ABC + the direction angle of the second orientation of the first device - 180 degrees.
  • the direction angle is compared with the angle information of the first orientation of the first device (the angle at which the first device rotates about the Z axis. 0 degrees represents North), and the absolute value of the difference is obtained.
  • the orientation information of each preset second device with the first device orientation information, and obtaining the second device with the smallest absolute value of the difference is determined to be the second device that the first device is pointing at at this time. device.
  • the first device sends an operation instruction to the second device, and sends the control signal to the second device.
  • the embodiment also provides an apparatus for intelligently controlling based on orientation information.
  • 9 is a block diagram showing the structure of a control apparatus of a terminal according to Embodiment 1 of the present application. As shown in Figure 9, the device includes:
  • the acquiring unit 90 is configured to acquire the orientation information of the device.
  • the orientation information includes the self-orientation information and the relative orientation information.
  • the self-orientation information refers to the first device determining the rotation angle according to the direction sensor, and is the terminal's own orientation information.
  • the orientation information refers to the distance and angle of the terminal relative to the wifi device as the orientation information of a point relative to the wifi device.
  • the processing unit 92 is configured to compare the relationship between the first device orientation information and the second device orientation information, and determine the second device based on the comparison result. In this way, the first device determines which second device to point to based on the orientation information.
  • the receiving unit 94 is configured to receive an operation instruction sent by the user
  • the sending unit 96 is configured to send the operation instruction to the second device to perform a predefined operation when the first device points to the second device.
  • the first device in the present application may be a smart terminal, such as a computer device such as a smart phone or a tablet computer, and the second device may also include, but not limited to, a smart terminal, a home appliance, and the like.
  • each of the above units may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • FIG. 10 is a block diagram showing a hardware structure of a computer device for implementing a terminal control method according to an embodiment of the present application.
  • the mobile terminal 100 may include one or more (only one shown) processor 1002 (the processor 1002 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 100 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 1004 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the control method of the terminal in the embodiment of the present application, and the processor 1002 executes by executing the software program and the module stored in the memory 1004.
  • application software such as program instructions/modules corresponding to the control method of the terminal in the embodiment of the present application
  • the processor 1002 executes by executing the software program and the module stored in the memory 1004.
  • the memory 1004 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 1004 can further include memory remotely located relative to processor 1002, which can be connected to mobile terminal 100 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 1006 is configured to receive or transmit data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 100.
  • transmission device 1006 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • NIC Network Interface Controller
  • the transmission device 1006 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • RF Radio Frequency
  • a method for operating on the above computer device is provided. As shown in FIG. 11, the process includes steps S1102 to S1106:
  • Step S1102 Acquire first orientation information of the first device, and second orientation information of the at least one second device;
  • the step S1102 may be implemented as the following implementation process, but is not limited thereto: acquiring the first self-azimuth information of the first device and the first relative orientation information of the first device, where the first self-azimuth information
  • the first relative orientation information is used to indicate the relative distance and/or direction of the first device relative to the wireless access point device accessed by the first device
  • the first device and the at least one second device are connected to the same wireless access point device; and the second relative orientation information of the at least one second device is obtained, wherein the second relative orientation information is used to indicate the second device Relative distance and/or direction relative to the wireless access point device described above.
  • the first relative orientation information and the second relative orientation information may include only the direction, so that the remote control device may select the terminal device to be controlled according to different directions; or may only include the relative distance, such that The remote control device can select the terminal device to be controlled according to different distances.
  • the first relative orientation information and the second relative orientation information may both include: relative distance and relative direction.
  • the first self-azimuth information is obtained by using the direction and angle information collected by the acceleration sensor and the geomagnetic sensor of the first device.
  • the first relative orientation information and/or the second relative orientation information are obtained by: using the boost antenna disposed on the wireless access point device to the first device or the second The device sends a broadcast signal, where the broadcast signal carries the direction identifier ID of the gain antenna; wherein the gain antenna is evenly distributed on the circumference of the horizontal plane centered on the wireless access point device; receiving the first device or The reply information of the broadcast signal sent by the second device, wherein the reply information carries the direction ID, and the direction indicated by the direction ID carried in the reply information is used as the first relative orientation information or the second The relative direction indicated by the relative orientation information; determining the relative distance indicated by the first relative orientation information or the second relative orientation information according to the signal strength of the signal carrying the reply information.
  • the execution body of the foregoing processing procedure may be the foregoing wireless access point device, that is, the relative location information is determined by the wireless access point device.
  • the second orientation information may also be predefined location information from a preset database. This solution can be applied to equipment that does not move frequently, such as household appliances.
  • Step S1104 Comparing the difference between the first orientation information and the at least one second orientation information; the comparison process may be performed by comparing the magnitude of the difference between the two types of orientation information, that is, comparing the first orientation information with multiple The difference in the second orientation information. For example, in the first orientation information described above
  • Step S1106 Determine, according to the comparison result, the designated device in the at least one second device, and use the designated device as the current control object of the first device.
  • the comparison result may be expressed as a second device corresponding to the second orientation information having the smallest difference between the two types of orientation information as the designated device.
  • the step S1106 may be performed as follows: acquiring a relationship value between the first orientation information and the second orientation information, and obtaining a plurality of first relationship values; Selecting a second relationship value from a relationship value; the second device corresponding to the second relationship value is used as the designated device, wherein the relationship value is used to represent between the first orientation information and the second orientation information The degree of difference.
  • the second device corresponding to the minimum value among the plurality of first relationship values is set as the foregoing designation. Since the difference can represent the degree of difference between the two types of information, the relationship value can be expressed as a difference between the first orientation information and the second orientation information, since only the difference is obtained, and the specific value is not concerned.
  • the size is such that the above-mentioned difference value can be taken as an absolute value. In this case, the second device corresponding to the smallest absolute value among the absolute values of the plurality of relationship values is used as the designated device.
  • the relationship value may be converted into an angle value: acquiring an angle that the first device needs to rotate to the second device according to the first orientation information, and then acquiring the angle and the first self-azimuth information. And indicating the difference between the current rotation angle and the difference value as the relationship between the first orientation information and the second orientation information.
  • the wireless access point device is used as the vertex A of the triangle ABC
  • the first device is used as the vertex B of the triangle ABC
  • the first device is used as the vertex C of the triangle ABC
  • the angle value of the ⁇ ABC is obtained
  • the angle value of ⁇ ABC is used as the first angle corresponding to the first orientation information; and the difference between the first angle and the current rotation angle indicated by the first self-azimuth information is obtained.
  • the execution body of the foregoing steps may be the computer device shown in FIG. 1 , such as a smart terminal or a wireless access point device, but is not limited thereto.
  • the second device since the control object of the first device is determined according to the comparison result between the first orientation information of the first device and the second orientation information of the second device, the second device may be implemented according to the orientation information of the first device. Control, therefore, can solve the problem that the terminal control scheme has many types of remote controllers, complicated operation, and a single product type supported by the remote controller, thereby improving the user experience.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a first device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.
  • a control device for the terminal is also provided, which is used to implement the foregoing embodiments and optional implementations, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 12 is a structural block diagram of a control apparatus of a terminal according to Embodiment 2 of the present application. As shown in FIG. 12, the apparatus includes:
  • the obtaining module 120 is configured to acquire first orientation information of the first device and second orientation information of the at least one second device;
  • the comparison module 122 is connected to the obtaining module 120, configured to compare the difference between the first orientation information and the at least one second orientation information to obtain a comparison result;
  • the determining module 124 is connected to the comparing module 122, and configured to determine, according to the comparison result, the designated device in the at least one second device, and use the specified device as the current control object of the first device.
  • the determining module 124 is further configured to obtain a relationship value between the first orientation information and the second orientation information, to obtain a plurality of relationship values, and to obtain a minimum absolute value among the absolute values of the plurality of relationship values.
  • the relationship value is used to indicate a degree of difference between the first orientation information and the second orientation information.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the embodiment further provides a wireless access point device, including: a wireless communication module, configured to receive a first radio frequency signal sent by the first device, and a second radio frequency signal sent by at least one second device, where the first The radio frequency signal carries the first orientation information, and the second radio frequency signal carries the second orientation information; the processor is configured to compare the first orientation information with the at least one second orientation information; and determine the at least one according to the comparison result.
  • the designated device in the second device uses the specified device as the current control object of the first device.
  • the radio frequency antenna is a booster antenna
  • the gain antenna is uniformly distributed in each direction of a horizontal plane of the center of the wireless access point device body, and is configured to send a broadcast signal to the first device and the second device.
  • the first radio frequency signal and the second radio frequency signal carry the foregoing direction ID;
  • the processor is configured to determine, according to the direction ID carried in the first radio frequency signal, a direction of the first device relative to the wireless access point device, and according to the direction carried in the second radio frequency signal The ID determines the direction of the second device relative to the wireless access point device.
  • the processor is further configured to determine, according to the strength of the first radio frequency signal, a distance of the first device relative to the wireless access point device, and determine, according to the strength of the second radio frequency signal, the second device The distance of the above wireless access point device.
  • Embodiments of the present application also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps: acquiring first orientation information of the first device, and second orientation information of the at least one second device; comparing Determining the first orientation information and the at least one second orientation information; determining, according to the comparison result, the designated device in the at least one second device, using the designated device as the current control object of the first device
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk a magnetic memory.
  • the above storage medium may be a non-transitory storage medium.
  • This embodiment provides a method for controlling a controlled terminal. As shown in FIG. 13, the method includes:
  • Step S1302 Receive a notification sent by the wireless access point device, where the notification carries the control object information of the first device, where the control object indicated by the control object information is determined by: acquiring the first device The orientation information, and the second orientation information of the at least one second device; comparing the difference between the first orientation information and the at least one second orientation information to obtain a comparison result; determining the at least one second device according to the comparison result
  • the designated device in the above, the specified device is used as the current control object of the first device;
  • Step S1304 The first device sends a control instruction to the second device indicated by the control object information, where the control command is used to control the second device to perform the operation indicated by the control instruction.
  • the embodiment provides a remote control system.
  • the remote control system includes:
  • a wireless access point device 140 configured to acquire first orientation information of the first device 142, and second orientation information of the at least one second device 144; compare between the first orientation information and the at least one second orientation information The difference is obtained, the comparison result is obtained; the specified device in the at least one second device 144 is determined according to the comparison result, the designated device is used as the current control object of the first device 142; and the control object is notified to the first device 142;
  • the first device 142 is coupled to the wireless access point device 140 for receiving the notification of the first device 142, and sending a control instruction to the control object indicated by the notification;
  • the second device 144 is coupled to the first device 142 for receiving the control command and performing the operation indicated by the control command.
  • modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.
  • the location relationship between the controlled terminal and the control device is first determined, and the control object currently controlled by the control device is determined based on the location relationship, so that the current control device of the control device can be determined. Therefore, it is possible to realize control of a plurality of controlled devices by a control device, reduce required control devices, have positive industrial effects, and are simple to implement and industrially achievable.

Abstract

本申请实施例提供了一种终端的控制方法及装置、无线接入点设备,其中,上述终端的控制方法,包括:获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异;依据比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。本申请实施例还提供了一种存储介质。

Description

终端的控制方法及装置、无线接入点设备和存储介质
相关申请的交叉引用
本申请基于申请号为201710184569.1、申请日为2017年03月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及通信领域,尤其涉及一种终端的控制方法及装置、无线接入点设备和存储介质。
背景技术
在对终端进行控制时,往往使用各种各样的遥控器,但是,由于各种各样的遥控器给人们的使用带来了诸多的不便。例如用户在使用家用电器时往往需要寻找该家用电器的遥控器,像是季节性电器(如空调)就可能发生找不到遥控器而无法使用上述季节性电器的尴尬局面,同时用户在对不同的家用电器进行操作时,往往需要调换不同的遥控器,给用户使用带来不便。
发明内容
本申请实施例提供了一种终端的控制方法及装置、无线接入点设备、终端、存储介质、遥控系统,以至少解决相关技术中由于遥控器支持的产品类型单一,导致用户所需要的遥控器种类较多、需要频繁更换遥控器等问题。
根据本申请的一个实施例,提供了一种终端的控制方法,包括:获取 第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果,得到比较结果;依据比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
根据本申请的另一个实施例,提供了一种无线接入点设备,包括:无线通信模块,配置为接收所述第一设备发送的第一射频信号和至少一个第二设备发送的第二射频信号,其中,所述第一射频信号中携带有第一方位信息,所述第二射频信号中携带有第二方位信息;处理器,配置为比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
根据本申请的另一个实施例,提供了一种被控终端的控制方法,包括:接收无线接入点设备发送的通知,该通知中携带有第一设备的控制对象信息,其中,所述控制对象信息所指示的控制对象通过以下方式确定:获取所述第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据所述比较结果确定所述至少一个所述第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象;所述第一设备向所述控制对象信息指示的第二设备发送控制指令,其中,该控制指令用于控制所述第二设备执行所述控制指令所指示的操作。
根据本申请的又一个实施例,提供了一种遥控系统,包括:无线接入点设备,配置为获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据所述比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象;以及将 控制对象通知给所述第一设备;所述第一设备,与所述无线接入点设备耦合连接,配置为接收所述第一设备的通知,并向所述通知指示的所述控制对象发送控制指令;所述第二设备,与所述第一设备耦合连接,配置为接收所述控制指令,并执行所述控制指令所指示的操作。
根据本申请的又一个实施例,提供了一种终端,包括:处理器;以及存储器,与所述处理器连接,配置为存储器存储计算机程序,当计算机程序被执行时,使所述处理器执行下述步骤:获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据所述比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
根据本申请的另一个实施例,提供了一种终端的控制装置,包括:获取模块,配置为获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较模块,配置为比较所述第一方位信息和至少一个所述第二方位信息之间的差异;确定模块,配置为依据比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
根据本申请的又一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,在所述程序运行时控制所述存储介质所在设备执行以上所述的被控终端的确定方法。
在本申请实施例中,由于可以依据第一设备的第一方位信息与第二设备的第二方位信息的比较结果确定第一设备的控制对象,因此,一个第一设备可以控制多个第二设备的控制设备,可以基于第一方位信息及第二方位信息确定出被控制的设备,就可以从多个设备可被控制设备的选择出当前被控设备,避免了一个设备控制多个设备时,若多个设备都能够接收到 信号导致的不知道控制哪一个设备的问题,故本实施例提供的方案,可以实现依据第一设备的方位信息对第二设备进行控制,因此,可以解决由于遥控器支持的产品类型单一,导致用户所需要的遥控器种类较多、需要频繁更换遥控器等问题,提升了用户体验。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请实施例1的终端的控制方法的流程图;
图2是根据本申请实施例的可选的第一设备的自身方位信息的示意图;
图3是根据本申请实施例的可选的第一设备的相对方位信息的示意图;
图4是根据本申请实施例的可选的第一设备的旋转方向示意图;
图5是根据本申请实施例的可选的相对方向信息的原理示意图;
图6是根据本申请实施例的可选的第二设备在坐标轴中相对于WiFi设备的方位示意图;
图7是根据本申请实施例的另一可选的第二设备在坐标轴中相对于WiFi设备的方位示意图;
图8是根据本申请实施例的计算第一设备与第二设备的角度差值的原理示意图;
图9是根据本申请实施例1的终端的控制装置的结构框图;
图10是本申请实施例2的一种用于实现终端的控制方法的计算机设备的硬件结构框图;
图11是本申请实施例2的一种终端的控制方法的流程图;
图12是根据本申请实施例2的终端的控制装置的结构框图;
图13是根据本申请实施例6的被控终端的控制方法的流程图;
图14是根据本申请实施例7的遥控系统的结构框图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在使用遥控器的时候,常常发现一个问题:不同的电器需要换不同的遥控器。另外,在公共场合常常遇到一个问题:用户想和对面的某位用户建立联系时,相关技术中需要手动识别该设备然后建立连接,识别的过程中需要用户输入对端设备的标识比较繁琐。如果可以通过终端的指向就可以向另外一个终端发起连接时,方便公共场合的好友添加等场景,则可以提升用户体验。针对上述问题,本申请实施例提供了相应的解决方案,以下详细说明。
为便于理解本申请实施例,以下对本申请实施例中所涉及的技术术语解释如下:
控制对象:又称为被控对象,一般指被控制的设备,其控制流程可以通过以下过程实现,但不限于此:接收终端发送的控制指令,然后依据该控制指令执行相关的动作。
实施例1
本实施例提供了一种第一设备的控制的方法和装置,第一设备根据方向传感器判断出旋转角度,根据wifi设备判断出相对于wifi设备的距离和角度,计算第一设备和被控制设备的方位信息,当第一设备指向被控制设 备时执行预定义的操作。
图1是根据本申请实施例1的终端的控制方法的流程图,如图1所示,包括以下步骤:
S101:获取第一设备的方位信息;其中,所述方位信息包括自身方位信息和相对方位信息;如图2所示,自身方位信息是指第一设备根据方向传感器判断出旋转角度,是终端自身方位信息,如图3所示,相对方位信息是指终端作相对于wifi设备的距离和角度,作为一个点相对于wifi设备的方位信息。
第一设备的自身方位信息的获取:第一设备根据方向传感器判断出旋转角度,是终端自身方位信息,安卓(android)获取手机的旋转方向和角度是通过加速度传感器和地磁传感器共同计算得出的,这是android目前推荐使用的方式。方向传感器会记录手机在所有方向上的旋转角度。如图4所示。设备方向为以垂直于地面的方向为Z轴方向,用设备沿Z轴旋转角度来描述设备的在水平面的旋转方向。将手机放在桌子上,z轴的方向是从手机指向天空。方向传感器中values变量的3个值都表示度数,它们的含义如下:values[0]:该值表示方位,也就是手机绕着Z轴旋转的角度。“0”表示北(North);“90”表示东(East);“180”表示南(South);“270”表示西(West)。
如图5所示,第一设备的相对方位信息的获取:是指终端作相对于wifi设备的距离和角度,做为一个点相对于wifi设备的方位信息。
增益天线平均分布在以wifi设备本体为圆心的水平面圆周的各个方向上。根据不同的角度分辨率需求可以设计出不同增益天线数量的wifi设备。Wifi设备通过各个增益天线向各个方向发送wifi设备连接握手广播信号,所述广播信号包含各个增益天线的方向编码ID,Wifi设备监听第一设备的回复信息,所述回复信息包含移动终端接收到的方向编码ID,WiFi设备通 过解析,得到该第一设备接入申请信号的强度和方向编码ID,Wifi设备通过分析第一设备回复信息的信号强度和包含的接收到的方向编码ID可以确定出第一设备相对wifi设备的距离和方向。通过其他各个方向的增益天线相同的操作,WiFi设备可以确定其周围水360°方向上,第一设备的相对距离和/或方向,并据此生成接入设备方位表,以供WiFi设备自己管理用,或与其它智能设备交换接入设备管理信息。
可选地,WiFi设备工作时,同时激活各个增益天线,通过各个增益天线,向各个方向发送WiFi设备连接信息广播信号。WiFi设备方向为以垂直于地面的方向为Z轴方向,用90表示东(East);180表示南(South);270表示西(West)。
例如激活0度方向的增益天线,并通过该天线广播含有0度方向信息编码ID的WiFi设备连接握手信息。如果在这个角度区域内有第一设备,则该第一设备向WiFi设备发出包含0度方向信息编码ID的回复信号。WiFi设备通过解析得到该第一设备接入申请信号的强度和0度方向信息的编码ID,可以定位第一设备相对WiFi设备的距离和方向。通过其他各个方向的增益天线相同的操作,WiFi设备可以确定其周围水360°方向上,第一设备的相对距离和/或方向,并据此生成第一设备方位表。
S102:获取第二设备的方位信息。其中,所述方位信息只包括相对方位信息;自身方位信息是指第一设备根据方向传感器判断出旋转角度,是终端自身方位信息,相对方位信息是指终端作相对于wifi设备的距离和角度,做为一个点相对于wifi设备的方位信息。
如图7所示,当第二设备为移动终端时,确定第二设备的方位信息同步骤S102,只需要确定第二设备的相对方位信息即可。
当第二设备为其他设备时,例如,如图6所示的家用电器,第二设备的相对方位信息可以是用户根据自己的习惯设定的,预先写到数据库中, 也可以是出厂时设计人员预先设定的。
S103:当第一设备指向第二设备时执行预定义操作;
比较所述第一设备方位信息和所述第二设备方位信息之间的关系,并基于比较结果确定所述第二设备。所述第一设备基于所述方位信息确定指向哪个第二设备。
可选地,计算第一设备方位信息和所述第二设备方位信息之间的差值,获取所述差值最小的方位信息确定第二设备,计算第一设备方位信息和所述第二设备方位信息之间的差值转换为三角形内计算角度的问题。
如图8所示,在三角形ABC内:
∠CAB的值可以由第一设备的第二方位方向信息的角度(第一设备绕Z轴旋转的角度。0表示北(North))减去第二设备的相对方位信息的角度(第二设备相对于wifi设备绕Z轴旋转的角度。0表示北(North))的差值的绝对值得到;线段AC为第二设备的相对方位信息(第二设备到wifi设备的距离),线段AB为第一设备的相对方位信息(第一设备到wifi设备的距离)。根据三角形的计算原理,由∠CAB、线段AC和线段AB可以计算出∠ABC的角度值,即转换为已知三角形两边及其夹角,怎么求另外一个夹角的问题。
已知线段AC,线段AB和∠A,由余弦定理
BC 2=AB 2+AC 2-2*AB*AC*cosA,可以求出线段BC
由正弦定理BC/sinA=AB/sinC=AC/sinB,求出∠ABC。
根据∠ABC的角度值可以得到如果此刻第一设备指向带控制设备1应该具有的方向角,该方向角=∠ABC+第一设备的第二方位的方向角-180度。
将该方向角并与第一设备的第一方位的角度信息(第一设备绕Z轴旋转的角度。0度表示北(North))进行比较,得到差值的绝对值。重复执行以上技术步骤,对预置的每一个第二设备的方位信息与第一设备方位信息 进行比较,得到差值的绝对值最小的第二设备确定是第一设备此时正在指向的第二设备。
第一设备发送操作指令给第二设备,将所述控制信号发送给所述第二设备。
本实施例还提供了一种根据方位信息进行智能控制的装置。图9是根据本申请实施例1的终端的控制装置的结构框图。如图9所示,该装置包括:
获取单元90,配置为获取设备的方位信息;其中,所述方位信息包括自身方位信息和相对方位信息;自身方位信息是指第一设备根据方向传感器判断出旋转角度,是终端自身方位信息,相对方位信息是指终端相对于wifi设备的距离和角度,作为一个点相对于wifi设备的方位信息。
处理单元92,配置为比较所述第一设备方位信息和所述第二设备方位信息之间的关系,并基于比较结果确定所述第二设备。这样,所述第一设备便会基于所述方位信息确定指向哪个第二设备。
接收单元94,配置为接收用户发送的操作指令;
发送单元96,配置为将所述操作指令发送给第二设备,以便当第一设备指向第二设备时执行预定义操作。
需要说明的是,本申请中的第一设备可以为智能终端,例如智能手机、平板电脑等计算机设备,第二设备也可以包括但不限于:智能终端、家用电器等。
需要说明的是,上述各个单元是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例2
本申请实施例1所提供的方法实施例可以在移动终端、计算机终端或 者类似的运算装置中执行。以运行在计算机设备上为例,图10是本申请实施例的一种用于实现终端的控制方法的计算机设备的硬件结构框图。如图1所示,移动终端100可以包括一个或多个(图中仅示出一个)处理器1002(处理器1002可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器1004、以及用于通信功能的传输装置1006。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端100还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器1004可配置为存储应用软件的软件程序以及模块,如本申请实施例中的终端的控制方法对应的程序指令/模块,处理器1002通过运行存储在存储器1004内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器1004可包括:高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1004可进一步包括相对于处理器1002远程设置的存储器,这些远程存储器可以通过网络连接至移动终端100。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置1006配置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端100的通信供应商提供的无线网络。在一个实例中,传输装置1006包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置1006可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述计算机设备的方法,如图11所示,该流程包括步骤S1102至S1106:
步骤S1102,获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;
可选地,该步骤S1102可以表现为以下实现过程,但不限于此:获取上述第一设备的第一自身方位信息以及上述第一设备的第一相对方位信息,其中,上述第一自身方位信息用于指示上述第一设备的当前旋转角度和方向,上述第一相对方位信息用于指示上述第一设备相对于上述第一设备接入的无线接入点设备的相对距离和/或方向;上述第一设备和上述至少一个第二设备接入同一无线接入点设备;以及获取上述至少一个上述第二设备的第二相对方位信息,其中,该第二相对方位信息用于指示上述第二设备相对于上述无线接入点设备的相对距离和/或方向。
在一个可选实施例中,第一相对方位信息和第二相对方位信息可以仅包括方向,这样,遥控设备便可以依据不同的指向选择要控制的终端设备;也可以仅包括相对距离,这样,遥控设备便可以依据不同的距离选择要控制的终端设备。当然,为了使控制过程更加精确,第一相对方位信息和第二相对方位信息可以均包括:相对距离和相对方向两种信息。
可选地,上述第一自身方位信息通过上述第一设备的加速度传感器和地磁传感器所采集的方向和角度信息获取。
作为本实施例的一个可选实施方式,上述第一相对方位信息和/或第二相对方位信息通过以下方式获取:通过无线接入点设备上设置的增益天线向上述第一设备或上述第二设备发送广播信号,其中,该广播信号中携带有上述增益天线的方向标识ID;其中,上述增益天线均匀的分布于以上述无线接入点设备为圆心的水平面圆周上;接收上述第一设备或上述第二设备发送的上述广播信号的回复信息,其中,上述回复信息中携带有上述方向ID,将上述回复信息中携带的上述方向ID所指示的方向作为上述第一相对方位信息或上述第二相对方位信息所指示的相对方向;依据承载上述回 复信息的信号的信号强度确定上述第一相对方位信息或上述第二相对方位信息所指示的相对距离。此方案可以适用于智能终端等经常移动的设备,当然也可以适用于家用电器等不经常移动的设备。需要说明的是,上述处理过程的执行主体可以为上述无线接入点设备,即由上述无线接入点设备确定相对位置信息。
作为本实施例的一个可选实施方式,上述第二方位信息也可以从预设数据库中预先定义的方位信息。此方案可以适用于家用电器等不经常移动的设备。
步骤S1104,比较上述第一方位信息和至少一个上述第二方位信息之间的差异;该比较过程可以表现为比较上述两类方位信息之间的差异的大小,即比较第一方位信息与多个第二方位信息的差异。例如在上述第一方位信息
步骤S1106,依据比较结果确定上述至少一个第二设备中的指定设备,将上述指定设备作为上述第一设备当前的控制对象。上述比较结果可以表现为两类方位信息之间差异最小的第二方位信息所对应的第二设备作为上述指定设备。
作为本实施例的一个可选实施例,该步骤S1106可以表现为以下处理过程:获取上述第一方位信息与上述第二方位信息之间的关系值,得到多个第一关系值;从上述第一关系值中选择第二关系值;将与上述第二关系值对应的上述第二设备作为上述指定设备,其中,上述关系值用于表示上述第一方位信息和上述第二方位信息之间的差异程度。在一个可选实施例中,将上述多个第一关系值中最小值所对应的上述第二设备作为上述指定设。由于差值可以表现两类信息的差异程度,因此,上述关系值可以表现为用于指示第一方位信息和第二方位信息之间的差值,由于仅是获取差异,并不关注具体数值的大小,因此,可以将上述差值取绝对值,此时将上述 多个关系值的绝对值中最小绝对值所对应的上述第二设备作为上述指定设备。
在一个可选实施例中,上述关系值可以转换为角度值:依据上述第一方位信息获取上述第一设备指向上述第二设备所需要旋转的角度,然后获取上述角度与上述第一自身方位信息所指示的上述当前旋转角度的差值,将上述差值作为上述第一方位信息与上述第二方位信息之间的关系值。例如:将上述无线接入点设备作为三角形ABC的顶点A,将上述第一设备作为上述三角形ABC的顶点B,将上述第一设备作为上述三角形ABC的顶点C,获取∠ABC的角度值,并将∠ABC的角度值作为上述第一方位信息所对应的第一角度;获取上述第一角度与上述第一自身方位信息所指示的上述当前旋转角度的差值。
可选地,上述步骤的执行主体可以为图1所示的计算机设备,例如智能终端或无线接入点设备等,但不限于此。
本实施例由于可以依据第一设备的第一方位信息与第二设备的第二方位信息的比较结果确定第一设备的控制对象,因此,可以实现依据第一设备的方位信息对第二设备进行控制,因此,可以解决终端的控制方案存在的遥控器种类较多、操作繁琐以及遥控器支持的产品类型单一的问题,提升了用户体验。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台第一设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述 的方法。
实施例3
在本实施例中还提供了一种终端的控制装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图12是根据本申请实施例2的终端的控制装置的结构框图,如图12所示,该装置包括:
获取模块120,配置为获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;
比较模块122,连接至获取模块120,配置为比较上述第一方位信息和至少一个上述第二方位信息之间的差异,得到比较结果;
确定模块124,连接至比较模块122,配置为依据比较结果确定上述至少一个第二设备中的指定设备,将上述指定设备作为上述第一设备当前的控制对象。
可选地,确定模块124,还配置为获取上述第一方位信息与上述第二方位信息之间的关系值,得到多个关系值;将所述多个关系值的绝对值中最小绝对值所对应的所述第二设备作为所述指定设备,其中,所述关系值用于表示所述第一方位信息和所述第二方位信息之间的差异程度。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
需要说明的是,本实施例中的可选实施方式可以参见实施例1中的相关描述,此处不再赘述。
实施例4
本实施例还提供一种无线接入点设备,包括:无线通信模块,用于接收上述第一设备发送的第一射频信号和至少一个第二设备发送的第二射频信号,其中,上述第一射频信号中携带有第一方位信息,上述第二射频信号中携带有第二方位信息;处理器,用于比较上述第一方位信息和至少一个上述第二方位信息;依据比较结果确定上述至少一个第二设备中的指定设备,将上述指定设备作为上述第一设备当前的控制对象。
可选地,上述射频天线为增益天线,该增益天线,均匀分布于以无线接入点设备本体为圆心的水平面圆周的各个方向上,用于向上述第一设备和上述第二设备发送广播信号;以及接收上述第一设备依据上述广播信号反馈的上述第一射频信号和至少一个第二设备发送的上述第二射频信号,其中,上述广播信号中携带有与上述增益天线对应的方向标识ID,上述第一射频信号和第二射频信号中携带有上述方向ID;
可选地,上述处理器,配置为依据上述第一射频信号中携带的上述方向ID确定上述第一设备相对于上述无线接入点设备的方向,以及依据上述第二射频信号中携带的上述方向ID确定上述第二设备相对于上述无线接入点设备的方向。
可选地,上述处理器还用于依据上述第一射频信号的强度确定上述第一设备相对于上述无线接入点设备的距离,以及依据上述第二射频信号的强度确定上述第二设备相对于上述无线接入点设备的距离。
实施例5
本申请的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第 一方位信息和至少一个所述第二方位信息;依据比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。可选地,上述存储介质可为非瞬间存储介质。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
实施例6
本实施例提供一种被控终端的控制方法,如图13所示,该方法包括:
步骤S1302,接收无线接入点设备发送的通知,该通知中携带有第一设备的控制对象信息,其中,上述控制对象信息所指示的控制对象通过以下方式确定:获取上述第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较上述第一方位信息和至少一个上述第二方位信息之间的差异,得到比较结果;依据上述比较结果确定上述至少一个上述第二设备中的指定设备,将上述指定设备作为上述第一设备当前的控制对象;
步骤S1304,第一设备向上述控制对象信息指示的第二设备发送控制指令,其中,该控制指令用于控制上述第二设备执行上述控制指令所指示的操作。
需要说明的是,本实施例的可选实施方式可以参见实施例1-5中的相关描述,此处不再赘述。
实施例7
本实施例提供一种遥控系统,如图14所示,该遥控系统包括:
无线接入点设备140,用于获取第一设备142的第一方位信息,以及至少一个第二设备144的第二方位信息;比较上述第一方位信息和至少一个上述第二方位信息之间的差异,得到比较结果;依据上述比较结果确定上述至少一个第二设备144中的指定设备,将上述指定设备作为上述第一设备142当前的控制对象;以及将控制对象通知给上述第一设备142;
上述第一设备142,与上述无线接入点设备140耦合连接,用于接收上述第一设备142的通知,并向上述通知指示的上述控制对象发送控制指令;
上述第二设备144,与上述第一设备142耦合连接,用于接收上述控制指令,并执行上述控制指令所指示的操作。
需要说明的是,本实施例的可选实施方式可以参见实施例1-5中的相关描述,此处不再赘述。
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。
以上所述仅为本申请的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
工业实用性
本发明实施例提供的技术方案中,首先会确定出被控终端与控制设备之间的位置关系,基于位置关系确定出控制设备当前控制的控制对象,从而可以确定出控制设备的当前控制设备,从而可以实现一个控制设备对多个被控设备的控制,减少了所需的控制设备,具有积极的工业效果,且具体实现简单,工业可实现性强的特点。

Claims (17)

  1. 一种被控终端的确定方法,包括:
    获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;
    比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;
    依据所述比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
  2. 根据权利要求1所述的方法,其中,依据比较结果确定所述至少一个第二设备中的指定设备,包括:
    获取所述第一方位信息与所述第二方位信息之间的关系值,得到多个第一关系值,其中,所述关系值均用于表示所述第一方位信息和所述第二方位信息之间的差异程度;
    从所述第一关系值中选择第二关系值;
    将与所述第二关系值对应的所述第二设备作为所述指定设备。
  3. 根据权利要求2所述的方法,其中,
    所述从所述第一关系值中选择第二关系值包括:将所述多个第一关系值中最小值所对应的所述第二设备作为所述指定设备。
  4. 根据权利要求1所述的方法,其中,所述获取第一设备的第一方位信息,以及一个或多个至少一个第二设备的第二方位信息,包括:
    获取所述第一设备的第一自身方位信息以及所述第一设备的第一相对方位信息,其中,所述第一自身方位信息用于指示所述第一设备的当前旋转角度和方向,所述第一相对方位信息用于指示所述第一设备相对于所述第一设备接入的无线接入点设备的相对距离和/或方向;所述第一设备和所述至少一个第二设备接入同一所述无线接入点设备;
    获取所述至少一个所述第二设备的第二相对方位信息,其中,该第二相对方位信息用于指示所述第二设备相对于所述无线接入点设备的相对距离和/或方向。
  5. 根据权利要求4所述的方法,其中,获取所述第一方位信息与所述第二方位信息之间的关系值,包括:
    依据所述第一方位信息获取所述第一设备指向所述第二设备所需要旋转的角度;
    获取所述角度与所述第一自身方位信息所指示的所述当前旋转角度的差值,将所述差值作为所述第一方位信息与所述第二方位信息之间的关系值。
  6. 根据权利要求4所述的方法,其中,所述第一相对方位信息和/或第二相对方位信息通过以下方式获取:
    通过所述无线接入点设备上设置的增益天线向所述第一设备或所述第二设备发送广播信号,其中,该广播信号中携带有所述增益天线的方向标识ID;其中,所述增益天线均匀的分布于以所述无线接入点设备为圆心的水平面圆周上;
    接收所述第一设备或所述第二设备发送的所述广播信号的回复信息,其中,所述回复信息中携带有所述方向ID,将所述回复信息中携带的所述方向ID所指示的方向作为所述第一相对方位信息或所述第二相对方位信息所指示的相对方向;依据承载所述回复信息的信号的信号强度确定所述第一相对方位信息或所述第二相对方位信息所指示的相对距离。
  7. 根据权利要求6所述的方法,其中,所述增益天线的方向ID包括用于指示0至360度的方向ID。
  8. 根据权利要求4所述的方法,其中,获取所述至少一个所述第二设备的第二相对方位信息,包括:从预设数据库中获取预先定义的方位信息, 将所述预先定义的方位信息作为所述第二相对方位信息。
  9. 一种被控终端的控制方法,包括:
    接收无线接入点设备发送的通知,该通知中携带有第一设备的控制对象信息,其中,所述控制对象信息所指示的控制对象通过以下方式确定:获取所述第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据所述比较结果确定所述至少一个所述第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象;
    所述第一设备向所述控制对象信息指示的第二设备发送控制指令,其中,该控制指令用于控制所述第二设备执行所述控制指令所指示的操作。
  10. 一种遥控系统,包括:
    无线接入点设备,配置为获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据所述比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象;以及将控制对象通知给所述第一设备;
    所述第一设备,与所述无线接入点设备耦合连接,配置为接收所述第一设备的通知,并向所述通知指示的所述控制对象发送控制指令;
    所述第二设备,与所述第一设备耦合连接,配置为接收所述控制指令,并执行所述控制指令所指示的操作。
  11. 一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至8中任意一项所述的被控终端的确定方法。
  12. 一种终端,其中,包括:
    处理器;以及
    存储器,与所述处理器连接,配置为存储器存储计算机程序,当计算机程序被执行时,使所述处理器执行下述步骤:获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据所述比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
  13. 一种无线接入点设备,包括:
    无线通信模块,配置为接收所述第一设备发送的第一射频信号和至少一个第二设备发送的第二射频信号,其中,所述第一射频信号中携带有第一方位信息,所述第二射频信号中携带有第二方位信息;
    处理器,配置为比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;依据所述比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
  14. 根据权利要求13所述的无线接入点设备,其中,所述射频天线为增益天线,该增益天线均匀分布于以无线接入点设备本体为圆心的水平面圆周的各个方向上,用于向所述第一设备和所述第二设备发送广播信号;以及接收所述第一设备依据所述广播信号反馈的所述第一射频信号和至少一个第二设备发送的所述第二射频信号,其中,所述广播信号中携带有与所述增益天线对应的方向标识ID,所述第一射频信号和第二射频信号中携带有所述方向ID;
    所述处理器,配置为依据所述第一射频信号中携带的所述方向ID确定所述第一设备相对于所述无线接入点设备的方向,以及依据所述第二射频信号中携带的所述方向ID确定所述第二设备相对于所述无线接入点设备的方向。
  15. 根据权利要求13所述的无线接入点设备,其中,所述处理器还 用于依据所述第一射频信号的强度确定所述第一设备相对于所述无线接入点设备的距离,以及依据所述第二射频信号的强度确定所述第二设备相对于所述无线接入点设备的距离。
  16. 一种终端的控制装置,包括:
    获取模块,配置为获取第一设备的第一方位信息,以及至少一个第二设备的第二方位信息;
    比较模块,配置为比较所述第一方位信息和至少一个所述第二方位信息之间的差异,得到比较结果;
    确定模块,配置为依据所述比较结果确定所述至少一个第二设备中的指定设备,将所述指定设备作为所述第一设备当前的控制对象。
  17. 一种存储介质,所述存储介质包括存储的程序,在所述程序运行时控制所述存储介质所在设备执行权利要求1至8或9任一项提供的被控终端的确定方法。
PCT/CN2017/118922 2017-03-24 2017-12-27 终端的控制方法及装置、无线接入点设备和存储介质 WO2018171280A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710184569.1 2017-03-24
CN201710184569.1A CN108632744A (zh) 2017-03-24 2017-03-24 终端的控制方法及装置、无线接入点设备

Publications (1)

Publication Number Publication Date
WO2018171280A1 true WO2018171280A1 (zh) 2018-09-27

Family

ID=63585886

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/118922 WO2018171280A1 (zh) 2017-03-24 2017-12-27 终端的控制方法及装置、无线接入点设备和存储介质

Country Status (2)

Country Link
CN (1) CN108632744A (zh)
WO (1) WO2018171280A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166947B (zh) * 2019-06-20 2020-09-25 维沃移动通信有限公司 一种位置共享方法、第一移动终端及基站
CN112040402B (zh) 2020-08-31 2022-08-19 北京小米移动软件有限公司 定位方法及装置、计算机存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006279424A (ja) * 2005-03-29 2006-10-12 Yamaha Corp 電気機器遠隔操作システム
CN102057757A (zh) * 2008-06-11 2011-05-11 皇家飞利浦电子股份有限公司 无线遥控式设备选择系统和方法
CN103826007A (zh) * 2014-02-17 2014-05-28 小米科技有限责任公司 对终端进行遥控的方法、装置及终端设备
CN104809856A (zh) * 2014-01-29 2015-07-29 纬创资通股份有限公司 手持式电子装置、遥控方法、家电系统及家电装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9462108B2 (en) * 2014-05-12 2016-10-04 Lg Electronics Inc. Mobile terminal and method for controlling the mobile terminal
WO2016018040A1 (en) * 2014-07-31 2016-02-04 Samsung Electronics Co., Ltd. A terminal and a method of controlling the same
JP2016090348A (ja) * 2014-10-31 2016-05-23 古野電気株式会社 センサ遠隔制御システム、遠隔操作装置、センサ装置、及びセンサ遠隔制御方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006279424A (ja) * 2005-03-29 2006-10-12 Yamaha Corp 電気機器遠隔操作システム
CN102057757A (zh) * 2008-06-11 2011-05-11 皇家飞利浦电子股份有限公司 无线遥控式设备选择系统和方法
CN104809856A (zh) * 2014-01-29 2015-07-29 纬创资通股份有限公司 手持式电子装置、遥控方法、家电系统及家电装置
CN103826007A (zh) * 2014-02-17 2014-05-28 小米科技有限责任公司 对终端进行遥控的方法、装置及终端设备

Also Published As

Publication number Publication date
CN108632744A (zh) 2018-10-09

Similar Documents

Publication Publication Date Title
US10531285B2 (en) Method of changing profile using identification module and electronic device implementing same
US9661121B2 (en) Intuitive way to point, access, and control appliances and other objects in building interiors
EP2952856B1 (en) Method and apparatus for providing location information
US9891669B2 (en) Systems and methods for a configuration web service to provide configuration of a wireless power transmitter within a wireless power transmission system
US11095472B2 (en) Vision-based object recognition device and method for controlling the same
KR20160049759A (ko) 주변 기기 탐색 방법 및 그 전자 장치
US20140269414A1 (en) Frequency accommodation
CN105578470A (zh) 一种物联网设备接入网络的方法、装置及系统
CN105210418A (zh) 通信网络中用于发现的方案
CN107153171B (zh) 室内定位方法、装置以及系统
CN102355623A (zh) 根据移动终端的位置改变其桌面应用主题的系统及方法
US20160192147A1 (en) Heat map generation with peer-to-peer mobile device network
CN104301997A (zh) 一种服务器、移动终端、系统及定位方法
US9654992B2 (en) Handling calibration data
KR102444897B1 (ko) 통신 연결을 형성하는 방법 및 장치
KR20180098077A (ko) 전자 장치 및 액세스 포인트 장치의 설치에 적합한 위치를 결정하는 방법
US20200204673A1 (en) Internet of things user interface simplification
US20160057599A1 (en) Method of controlling transmit power and electronic device therefor
CN110557741B (zh) 终端交互的方法及终端
CN104053155A (zh) 用于iBeacon基站的数据保护方法、设备及系统
WO2018171280A1 (zh) 终端的控制方法及装置、无线接入点设备和存储介质
CN103813449A (zh) 一种无线通讯快速接入的方法及相关设备
CN113747540A (zh) 空调与遥控器的配对处理方法、装置、空调及其组网系统
TW201511570A (zh) 家電設備控制系統及方法
CN110769351A (zh) 音频设备的控制方法、音频设备及存储介质

Legal Events

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

Ref document number: 17901714

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17901714

Country of ref document: EP

Kind code of ref document: A1