CN113689687A - Ultra-wideband-based equipment control method and device - Google Patents

Ultra-wideband-based equipment control method and device Download PDF

Info

Publication number
CN113689687A
CN113689687A CN202111002237.XA CN202111002237A CN113689687A CN 113689687 A CN113689687 A CN 113689687A CN 202111002237 A CN202111002237 A CN 202111002237A CN 113689687 A CN113689687 A CN 113689687A
Authority
CN
China
Prior art keywords
slave
control instruction
instruction
master device
ultra
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111002237.XA
Other languages
Chinese (zh)
Inventor
马聪
赵瑞
顾逶迤
方会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN202111002237.XA priority Critical patent/CN113689687A/en
Publication of CN113689687A publication Critical patent/CN113689687A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the disclosure discloses an ultra-wideband-based device control method and an ultra-wideband-based device control device. The specific implementation mode of the method comprises the following steps: acquiring a control instruction; the method comprises the steps of sending a ranging signal by timing broadcast and receiving a response signal fed back from equipment; calculating the distance between the master device and the slave device according to the time difference between the ranging signal and the response signal; judging whether the slave equipment meets a receiving condition or not according to the distance; and if so, sending the control instruction to the slave equipment, so that the slave equipment executes the control instruction. This embodiment is based on ultra wide band technique range finding, and master equipment can send the instruction to slave unit, and under different scenes, can send different instructions, carries out corresponding processing after slave unit receives master unit's instruction, practices thrift the cost, has improved the convenience.

Description

Ultra-wideband-based equipment control method and device
Technical Field
The embodiment of the disclosure relates to the technical field of communication, in particular to an ultra-wideband-based equipment control method and an ultra-wideband-based equipment control device.
Background
Currently, iBeacon (byken) by apple company uses BLE (bluetooth low energy) technology, and specifically, uses a broadcast frame named "Advertising frame" in BLE. The advertisement frame is a frame that is periodically transmitted and can be received by any device that supports BLE. Apple does not carefully infer distance in iOS, but only adopts three distance states of close (Immediate), within 1m (Near), and above 1m (Far). When the distance is within 1m, the received signal strength value is reduced substantially in proportion, and when the distance is more than 1m, the received signal strength is not reduced but fluctuates up and down due to the influence of the reflected wave or the like. That is, since the distance cannot be inferred when the distance is more than 1m, it is simply determined as Far, and it is usually placed at a fixed location in a room, thereby performing continuous broadcasting to the surroundings, and is limited by the transmission distance of BLE bluetooth, the coverage area of the bluetooth beacon is limited, and it is necessary for the user to push information by a certain distance near the location of the bluetooth beacon. The same mobile phone is close to the position of the Bluetooth beacon for many times and can repeatedly receive the push information.
Disclosure of Invention
The embodiment of the disclosure provides an ultra-wideband-based device control method and an ultra-wideband-based device control device.
In a first aspect, an embodiment of the present disclosure provides an ultra-wideband-based device control method, applied to a master device, including: acquiring a control instruction; the method comprises the steps of sending a ranging signal by timing broadcast and receiving a response signal fed back from equipment; calculating the distance between the master device and the slave device according to the time difference between the ranging signal and the response signal; judging whether the slave equipment meets a receiving condition or not according to the distance; and if so, sending the control instruction to the slave equipment, so that the slave equipment executes the control instruction.
In some embodiments, the response signal includes a device identification; and the judging whether the slave equipment meets the receiving condition according to the distance comprises the following steps: and if the distance is smaller than a first threshold value and the residence time of the slave equipment is determined to be larger than a second threshold value according to the equipment identification in the response signals received for many times, determining that the slave equipment meets the receiving condition.
In some embodiments, the obtaining the control instruction comprises: downloading the instruction packet through a network; installing the instruction packet to update the native instruction.
In some embodiments, the method further comprises: in response to detecting that the slave device is directed to a master device, sending an authorization request to the slave device, causing the slave device to whitelist the master device.
In some embodiments, the downloading the instruction packet via the network includes: acquiring scene information of the main equipment; and downloading the instruction packet matched with the scene information through a network.
In a second aspect, an embodiment of the present disclosure provides an ultra-wideband-based device control method, applied to a slave device, including: in response to receiving a ranging signal from a master device, transmitting a response signal to the master device; in response to receiving a control instruction from a master device, determining whether the master device can be trusted; and if the trust is available, executing the control instruction.
In some embodiments, the method further comprises: in response to detecting that a user operates the slave device in a predetermined action, transmitting a ranging signal to the master device; in response to receiving an authorization request sent by the master device, adding the master device to a whitelist that can be trusted.
In some embodiments, the method further comprises: and if the main equipment can not trust but is not in the blacklist, a pop-up message box prompts a user to confirm whether to execute the control instruction.
In some embodiments, the method further comprises: in response to detecting that the distance to the master device is not less than a first threshold, resuming the settings prior to executing the system-level control instructions.
In some embodiments, the method further comprises: recording the received control command; and if the user deletes the target control instruction, the target control instruction is not received any more.
In some embodiments, the executing the control instruction comprises: counting the times of receiving the control instruction; and if the control instruction is received for the first time, executing the control instruction.
In a third aspect, an embodiment of the present disclosure provides an apparatus control device based on an ultra-wideband, applied to a master device, including: an instruction management module configured to obtain a control instruction; an ultra-wideband module configured to periodically broadcast a transmission ranging signal and receive a response signal fed back from a device; a ranging module configured to calculate a distance between a master device and a slave device according to a time difference between the ranging signal and the response signal; a judging module configured to judge whether the slave device satisfies a receiving condition according to the distance; and the sending module is configured to send the control instruction to the slave device if the control instruction is satisfied, so that the slave device executes the control instruction.
In a fourth aspect, an embodiment of the present disclosure provides an ultra-wideband-based device control apparatus, applied to a slave device, including: an ultra-wideband module configured to transmit a response signal to a master device in response to receiving a ranging signal from the master device; a determination module configured to determine whether a master device is trustworthy in response to receiving a control instruction from the master device; an instruction processing module configured to execute the control instruction if trusted.
In a fifth aspect, an embodiment of the present disclosure provides an electronic device for controlling a device based on an ultra-wideband, including: one or more processors; a storage device having one or more computer programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the method of the first and second aspects.
In a sixth aspect, embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to the first and second aspects.
According to the Ultra Wide Band (UWB) -based device control method and device provided by the embodiment of the disclosure, when a master device is set and a user approaches the master device, the master device can send an instruction to a slave device, different instructions can be sent according to different scenes, and an instruction set can be expanded or updated by a plug-in method.
The embodiment of the disclosure is suitable for one-to-many scenes, based on a UWB ranging technology, the method is more accurate and convenient, the master device and the slave device do not need to be paired, the master device is unique, the slave device is not unique, and therefore the master device can send a plurality of instructions to the slave device simultaneously without one-to-one operation of a user.
By adopting the technical scheme, the data is sent without using a server side, and the data is sent by the main equipment carrying the UWB chip, so that the cost is saved. The multi-device interaction mode enables users to be more convenient in many scenes, operation of the users is omitted, complexity of pushing messages to the existing required server is avoided, and user experience is better.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
figure 2 is a flow diagram of one embodiment of an ultra-wideband based device control method according to the present disclosure as applied to a master device;
figure 3 is a flow diagram of one embodiment of an ultra-wideband based device control method applied to a slave device in accordance with the present disclosure;
figure 4 is a flow chart of the interaction between a master device and a slave device of an ultra-wideband based device control method according to the present disclosure;
5a-5g are schematic diagrams of application scenarios of the ultra-wideband based device control method of the present disclosure;
fig. 6 is a schematic structural diagram of an embodiment in which an ultra-wideband-based device control apparatus according to the present disclosure is applied to a master device;
fig. 7 is a schematic structural diagram of an embodiment in which an ultra-wideband based device control apparatus according to the present disclosure is applied to a slave device;
FIG. 8 is a schematic structural diagram of a computer system suitable for use with the electronic device used to implement embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture to which embodiments of an ultra-wideband based device control method or an ultra-wideband based device control apparatus of the present disclosure may be applied.
As shown in fig. 1, a system architecture may include a master device and a plurality of slave devices, with UWB technology based messaging between the master and slave devices.
The master device and the slave device can be provided with various communication client applications, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software and the like.
The master device and the slave device may be various electronic devices supporting UWB technology, including, but not limited to, smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4), laptop portable computers, desktop computers, and the like.
Setting the master equipment and the slave equipment according to the following rules:
(1) forced mode
If the master device sets the mandatory mode, other slave devices cannot be set to become the master device.
(2) In the non-mandatory mode, the master slave follows the following principles:
the only principle is as follows: the master device being unique and the slave devices not being unique
The principle of interchange: the master device and the slave device can be mutually set, and the master device and the slave device can be devices carrying UWB chips, such as televisions, mobile phones, smart sound boxes and the like
Subject to the principles: the user can set the master device, and when the master device is set, the other devices are automatically the slave devices
Time principle: if a plurality of devices are set as the main device, the devices are identified according to the time sequence, and the device set as the main device at last
Default principle: if no new master is set, the default device is taken as the master.
It should be noted that the ultra-wideband-based device control method provided by the embodiments of the present disclosure may be configured and executed by a master device and a slave device. Accordingly, the ultra-wideband based device control apparatus may be provided in the master device and the slave device. And is not particularly limited herein.
It should be understood that the number of masters and slaves in fig. 1 is merely illustrative. There may be any number of slave devices, as implementation requires.
With continued reference to fig. 2, a flow 200 of one embodiment of an ultra-wideband based device control method in accordance with the present disclosure is shown. The ultra-wideband-based device control method comprises the following steps:
step 201, acquiring a control instruction.
In this embodiment, an execution subject (e.g., a master device shown in fig. 1) of the ultra-wideband-based device control method may acquire a control instruction through the internet. The internet access method is not limited to wired and wireless. The wireless access mode can be a wifi mode, a cellular mobile communication mode and the like.
The main device can download an instruction packet through a network, after the main device is installed, the local instruction packet is updated, the instruction packet can include types, wherein the types refer to the classification of the instruction packet according to functions, and the instruction packet can be a system instruction, an App instruction and a signal instruction:
1. and the system instruction refers to an instruction for setting system functions of the slave equipment, such as mute, flight mode and the like.
2. The App command refers to operation of App permission in the slave device, such as a pay bank two-dimensional code.
3. And a signal instruction means that the slave equipment operates according to a preset rule, for example, the slave equipment receives an instruction that a user of the intelligent sensor in a bedroom has slept, and controls the robot at home to finish a cleaning task.
The instruction packet may include only one instruction or a plurality of instructions. The data format in the command packet may be: package ID, attribute information, plug-in embodiment. The attribute information includes type, message list, and display format. Plug-in embodiments may be used to indicate an application scenario for a bundle of instructions, e.g., a conference room. The message list may be used to indicate different message contents of the same type. The display format is a format for display at the master device, e.g., a single presentation or multiple presentations.
Step 202, regularly broadcasting and transmitting the ranging signal, and receiving a response signal fed back from the device.
In the present embodiment, UWB technology may be used for ranging. The master device does not know in advance which slave devices are present and therefore needs to periodically transmit a broadcast signal to detect the slave devices. The slave device returns a response signal after receiving the ranging signal.
And step 203, calculating the distance between the master device and the slave device according to the time difference between the ranging signal and the response signal.
In this embodiment, the time point T of the master device sending the ranging signal is calculated by using the method of two-sided ranging1And the time point T of receiving the response signal2The time difference of (a).
Distance D ═ T between master and slave devices2-T1)/2*C*A。
Where C is the velocity of the wave and a represents a coefficient of the range of movement of the device, may be set. The value of A is larger than 1, and the fluctuation of the range judgment result can be reduced by correcting D through A. For example, when the user moves in a conference room, the user is determined to be in the conference room within a certain range by correcting the distance, and the user is not continuously switched between the indoor and the outdoor.
And step 204, judging whether the slave equipment meets the receiving condition according to the distance.
In this embodiment, if the distance is smaller than the first threshold, it may be determined that the device satisfies the receiving condition. For example, if the master device installed at the cash register detects that the mobile phone (slave device) of the user is less than 10cm away, it may be determined that the slave device satisfies the reception condition.
Alternatively, in order to avoid false detection, the ranging signal may be transmitted multiple times within a predetermined time, the residence time of the slave device within the first threshold range is determined according to the response signal received each time, and if the residence time is greater than the second threshold, the slave device is determined to meet the receiving condition. This prevents accidental events caused by environmental fluctuations or sudden movements of the user from being mistakenly interpreted as the user entering the reception range. A prerequisite for calculating the dwell time is that the master device can distinguish from which slave device the response signal originates. The slave device's response signal therefore needs to include the device identification.
Alternatively, control commands to the slave device may be counted and repeated transmission is not required if a response signal has been previously transmitted and successfully executed by the slave device is received. The slave device does not satisfy the reception condition at this time.
And step 205, if yes, sending a control instruction to the slave device, so that the slave device executes the control instruction.
In this embodiment, the control instruction obtained in step 201 is sent to the slave device by UWB. And after receiving the control instruction, the slave equipment judges whether the master equipment can be trusted, and if so, executes the control instruction. For example, a master device installed at a checkout counter sends a control instruction to a mobile phone near the checkout counter to call a payment two-dimensional code. After the mobile phone receives the control instruction, whether the main equipment is credible or not is checked, and if the main equipment is credible, the payment two-dimensional code is called out, so that manual calling of a user is not needed, and time is saved.
If not, the control instruction is not sent. And continuing to periodically transmit the ranging signal until detecting the slave device meeting the receiving condition to transmit the control command. This reduces the frequency of sending control commands and also reduces interference to the slave devices.
In some optional implementations of this embodiment, the method further includes: in response to detecting that the slave device is directed to a master device, sending an authorization request to the slave device, causing the slave device to whitelist the master device. To protect the user from interference, some settings may be made on the slave device:
1. adding into a white list: when the slave device performs a predetermined operation (e.g., shaking and pointing to the master device), the master device sends an authorization request, and the slave device may set to receive a request for the master device to join the white list. Not only can the UWB technology accurately measure the distance, but also the angle between the slave device and the master device in the signal transmission direction can be measured, and if the angle is smaller than a predetermined value (for example, 5 degrees), the slave device is considered to be directed to the master device.
2. Departure principle: if the command is system level, the settings are restored after leaving the range, e.g., enter the meeting room to mute, and leave to unmute.
In some optional implementations of this embodiment, downloading the instruction packet via the network includes: acquiring scene information of the main equipment; and downloading the instruction packet matched with the scene information through a network. For example, if the master device is applied to a cash register, the downloaded instruction packet is related to payment, and instructions such as mute need not be downloaded.
With further reference to fig. 3, a flow 300 of one embodiment of an ultra-wideband based device control method applied to a slave device is illustrated. The process 300 of the ultra-wideband based device control method comprises the following steps:
step 301, in response to receiving a ranging signal from a master device, sends a response signal to the master device.
In the present embodiment, an execution subject (for example, a slave device shown in fig. 1) of the ultra-wideband-based device control method may receive a ranging signal from a master device through UWB technology. The slave device feeds back a response signal. The response signal may include a device identification for identifying the identity of the slave device. The master device can then know which slave device responded to the ranging signal.
Step 302, in response to receiving a control command from a host device, determines whether the host device can be trusted.
In this embodiment, the slave device needs to perform authentication after receiving the control command. It is first determined whether the master can trust. The control command includes a master device identifier for identifying the identity of the master device. Whether the master device can trust can be set by:
trust mode:
if the master device is set to the trusted mode, instructions from the master device are received and executed each time the master device is approached.
Untrusted mode:
if the master device is an untrusted device, the slave device pops up a message box after receiving an instruction every time the slave device approaches the master device, and prompts a user to operate. For example, after the mobile phone enters a conference room, the mobile phone receives a mute instruction sent by the host device, and a mute option can be popped up on the mobile phone for the user to select. The user may refuse to mute or may agree to mute.
③ blacklist mode:
if the request sent by the main equipment is not wanted to be received any more, the main equipment is added into a blacklist. Control instructions from the blacklist do not pop up a message box to prompt the user, but are discarded directly.
Optionally, the method further comprises: in response to detecting that a user operates the slave device in a predetermined action, transmitting a ranging signal to the master device; in response to receiving an authorization request sent by the master device, adding the master device to a whitelist that can be trusted. For example, when the mobile phone is shaken and then aligned with the master device on the cashier desk, the master device sends an authorization request, and the mobile phone can add the master device to a trusted white list. The control command from the white list pops up a message box to prompt the user to confirm whether to execute the control command.
And step 303, if the trust can be realized, executing a control instruction.
In the present embodiment, the operation is performed in accordance with the control instruction. Optionally, a success message may also be sent to the master device to notify the master device of successful reception of the control instruction. Optionally, if the execution fails, a failure message may be sent to inform the master device to retransmit the control command, or to perform statistics. For example, if the user refuses to mute, the mute is fed back to the master device, and the master device can count which slave devices do not execute the control instruction.
In some optional implementations of this embodiment, in response to detecting that the distance from the master device is not less than the first threshold, resuming the setting before the execution of the system-level control instructions. If the slave device leaves the range set by the master device, the previous operation for entering the range may be cancelled. For example, the mobile phone is muted after the meeting room is in progress, and the muting is canceled after the meeting room is left.
In some optional implementations of this embodiment, the method further includes: recording the received control command; and if the user deletes the target control instruction, the target control instruction is not received any more. The slave device can set whether the locally received instruction continues to be received or not, and if the slave device does not want to receive a certain instruction, the slave device can delete the instruction.
Optionally, the instruction may append an extension. The instruction package may be downloaded from a network. The specific process may be the same as step 201. The slave device may also store the instruction packet and support network download updates.
In some optional implementations of this embodiment, executing the control instruction includes: counting the times of receiving the control instruction; and if the control instruction is received for the first time, executing the control instruction. This avoids repeated execution of the same instruction. For example, after the mute instruction has been received for muting, if the mute instruction is received again, it is ignored.
Fig. 4 is a flowchart of the interaction between a master device and a slave device of an ultra-wideband based device control method according to the present disclosure. The master device first acquires the control command and then sends a ranging signal. And after receiving the ranging signal, the slave device feeds back a response signal to the master device. The master device calculates the distance between the master device and the slave device from the time difference of the two signals. And then judging whether the slave equipment meets the receiving condition according to the distance and the staying time (interference elimination) of the slave equipment. The control instruction may be sent to the slave device if the reception condition is satisfied. The slave device does not directly execute the control instruction after receiving the control instruction, but authenticates the master device and the control instruction, and executes the control instruction after authenticating the master device and the control instruction as a trustable master device and a trustable control instruction. Thereby ensuring the safety of the slave device.
With continuing reference to fig. 5a-5g, fig. 5a-5g are schematic diagrams of an application scenario of the ultra-wideband based device control method according to the present embodiment.
The first embodiment is as follows: remote control, as shown in fig. 5a, specifically includes the steps of:
go through the safety inspection door
② carry employee card, visitor card with UWB telephone
③ UWB positioning, determining the side (out or in)
Fourthly, opening the door nearest to the people
Fifth, send command to prohibit using camera/blue tooth
Example two: the smart helmet, as shown in figure 5b,
entering into electronic fence
② positioning by UWB
Checking whether the helmet is in the range of the fence
If not, controlling the loudspeaker to trigger the alarm to inform the monitoring personnel
Example three: the conference room, as shown in figure 5c,
when the meeting participant enters the meeting room
② judging whether the requirement of instruction transmission is satisfied
Third, sending command to display mute confirmation
The participant can choose to confirm or ignore
When the meeting participant leaves the meeting room, the mobile phone automatically cancels the mute
Example four: the flight mode, as shown in figure 5d,
first, a user boards a plane
② the built-in UWB main equipment judges whether the demand of sending instruction is satisfied
Thirdly, sending flight mode instruction to the mobile phone of the user
Fourthly, the mobile phone receives the flight mode instruction and automatically enters the flight mode
Example five: the sweeping robot with UWB chip, as shown in figure 5e,
firstly, a floor sweeping robot is provided with an instruction packet, and is configured in advance to respond to certain instructions
Secondly, the user goes to bed and sleeps, and the sensor informs the mobile phone user of being in a sleeping state
Thirdly, when the sweeping robot approaches the bedroom, the mobile phone detects the distance of the sweeping robot, and if the distance is too close, the mobile phone sends an instruction to the sweeping robot not to enter the bedroom, so that the robot can sweep around
Example six: a watch with a UWB chip, for example, as shown in figure 5f,
firstly, a child watch installation instruction packet is configured in advance
Child lock mode:
a child is watching an animation or playing a puzzle game on a television, and when the child is too close to the remote control, the UWB tag on the remote control receives an instruction from the child watch to enter the child-lock mode.
In addition, a change in distance triggers the television to change font size and layout. The farther the child watch is from the television, the command to enlarge the font is sent to the television.
Or if the distance remains constant for a longer period of time (e.g., half an hour), the child watch sends a sleep instruction to the television to advise the child to rest.
Other devices that parents do not wish to operate with a child may also enter a child lock mode (e.g., washing machine) when a child is near
Example seven: education, a pad with a UWB chip, as shown in figure 5g,
firstly, teachers educate children with pads (master equipment), and all children pads (slave equipment) are added into a teacher Pad white list
Teacher uses the download of the latest courseware of pad (sending download link and access code), and all children's pads automatically and synchronously download
The teacher can synchronize the content playing progress of courseware on all the children pads (send synchronous instructions to all the children pads)
With further reference to fig. 6, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment in which an ultra-wideband-based device control apparatus is applied to a master device, the apparatus embodiment corresponds to the method embodiment shown in fig. 2, and the apparatus may be applied to various electronic devices in particular.
As shown in fig. 6, the ultra-wideband-based device control apparatus 600 of the present embodiment includes: an instruction management module 601, an ultra-wideband module 602, a ranging module 603, a discrimination module 604, and a sending module 605. The instruction management module 601 is configured to obtain a control instruction; an ultra-wideband module 602 configured to broadcast a transmission ranging signal at regular time and receive a response signal fed back from the device; a ranging module 603 configured to calculate a distance between the master device and the slave device according to a time difference between the ranging signal and the response signal; a determining module 604 configured to determine whether the slave device satisfies a receiving condition according to the distance; a sending module 605 configured to send the control instruction to the slave device if the control instruction is satisfied, so that the slave device executes the control instruction.
In this embodiment, the specific processing of the instruction management module 601, the ultra-wideband module 602, the ranging module 603, the judging module 604 and the sending module 605 of the ultra-wideband-based device control apparatus 600 may refer to step 201, step 202, step 203, step 204 and step 205 in the corresponding embodiment of fig. 2.
In some optional implementations of this embodiment, the response signal includes a device identification; and the discrimination module 604 is further configured to: and if the distance is smaller than a first threshold value and the residence time of the slave equipment is determined to be larger than a second threshold value according to the equipment identification in the response signals received for many times, determining that the slave equipment meets the receiving condition.
In some optional implementations of this embodiment, the instruction management module 601 is further configured to: downloading the instruction packet through a network; installing the instruction packet to update the native instruction.
In some optional implementations of this embodiment, the apparatus 600 further comprises an authorization module (not shown in the drawings) configured to: in response to detecting that the slave device is directed to a master device, sending an authorization request to the slave device, causing the slave device to whitelist the master device.
In some optional implementations of this embodiment, the instruction management module 601 is further configured to: acquiring scene information of the main equipment; and downloading the instruction packet matched with the scene information through a network.
With further reference to fig. 7, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment in which an ultra-wideband-based device control apparatus is applied to a slave device, the apparatus embodiment corresponds to the method embodiment shown in fig. 3, and the apparatus may be applied to various electronic devices in particular.
As shown in fig. 7, the ultra-wideband-based device control apparatus 700 of the present embodiment includes: an ultra-wideband module 701, a discrimination module 702 and an instruction processing module 703. Wherein the ultra wideband module 701 is configured to transmit a response signal to a master device in response to receiving a ranging signal from the master device; a determination module 702 configured to determine whether a master device is trustworthy in response to receiving a control instruction from the master device; an instruction processing module 703 configured to execute the control instruction if trusted.
In this embodiment, the specific processing of the ultra-wideband module 701, the determination module 702, and the instruction processing module 703 of the ultra-wideband-based device control apparatus 700 may refer to step 201, step 202, and step 203 in the corresponding embodiment of fig. 3.
In some optional implementations of this embodiment, the apparatus 700 further comprises a management module (not shown in the drawings) configured to: in response to detecting that a user operates the slave device in a predetermined action, transmitting a ranging signal to the master device; in response to receiving an authorization request sent by the master device, adding the master device to a whitelist that can be trusted.
In some optional implementations of this embodiment, the apparatus 700 further comprises a prompting module (not shown in the drawings) configured to: and if the main equipment can not trust but is not in the blacklist, a pop-up message box prompts a user to confirm whether to execute the control instruction.
In some optional implementations of this embodiment, the instruction processing module 703 is further configured to: in response to detecting that the distance to the master device is not less than a first threshold, resuming the settings prior to executing the system-level control instructions.
In some optional implementations of this embodiment, the instruction processing module 703 is further configured to: recording the received control command; and if the user deletes the target control instruction, the target control instruction is not received any more.
In some optional implementations of this embodiment, the instruction processing module 703 is further configured to: counting the times of receiving the control instruction; and if the control instruction is received for the first time, executing the control instruction.
According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
An ultra-wideband based electronic device for controlling a device, comprising: one or more processors; a storage device having one or more computer programs stored thereon that, when executed by the one or more processors, cause the one or more processors to implement the method of flows 200 or 300.
A computer-readable medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method of flow 200 or 300.
FIG. 8 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 801 performs the respective methods and processes described above, such as the ultra-wideband-based device control method. For example, in some embodiments, the ultra-wideband based device control method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto device 800 via ROM 802 and/or communications unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the ultra-wideband based device control method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the ultra-wideband based device control method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a server of a distributed system or a server incorporating a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology. The server may be a server of a distributed system or a server incorporating a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. An ultra-wideband-based device control method is applied to a main device and comprises the following steps:
acquiring a control instruction;
the method comprises the steps of sending a ranging signal by timing broadcast and receiving a response signal fed back from equipment;
calculating the distance between the master device and the slave device according to the time difference between the ranging signal and the response signal;
judging whether the slave equipment meets a receiving condition or not according to the distance;
and if so, sending the control instruction to the slave equipment, so that the slave equipment executes the control instruction.
2. The method of claim 1, wherein the response signal includes a device identification;
and the judging whether the slave equipment meets the receiving condition according to the distance comprises the following steps:
and if the distance is smaller than a first threshold value and the residence time of the slave equipment is determined to be larger than a second threshold value according to the equipment identification in the response signals received for many times, determining that the slave equipment meets the receiving condition.
3. The method of claim 1, wherein the fetching of the control instruction comprises:
downloading the instruction packet through a network;
installing the instruction packet to update the native instruction.
4. The method of claim 1, wherein the method further comprises:
in response to detecting that the slave device is directed to a master device, sending an authorization request to the slave device, causing the slave device to whitelist the master device.
5. The method of claim 3, wherein said downloading over the network the package of instructions comprises:
acquiring scene information of the main equipment;
and downloading the instruction packet matched with the scene information through a network.
6. An ultra-wideband-based device control method is applied to a slave device and comprises the following steps:
in response to receiving a ranging signal from a master device, transmitting a response signal to the master device;
in response to receiving a control instruction from a master device, determining whether the master device can be trusted;
and if the trust is available, executing the control instruction.
7. The method of claim 6, wherein the method further comprises:
in response to detecting that a user operates the slave device in a predetermined action, transmitting a ranging signal to the master device;
in response to receiving an authorization request sent by the master device, adding the master device to a whitelist that can be trusted.
8. The method of claim 6, wherein the method further comprises:
and if the main equipment can not trust but is not in the blacklist, a pop-up message box prompts a user to confirm whether to execute the control instruction.
9. The method of claim 6, wherein the method further comprises:
in response to detecting that the distance to the master device is not less than a first threshold, resuming the settings prior to executing the system-level control instructions.
10. The method of claim 6, wherein the method further comprises:
recording the received control command;
and if the user deletes the target control instruction, the target control instruction is not received any more.
11. The method of claim 6, wherein the executing the control instruction comprises:
counting the times of receiving the control instruction;
and if the control instruction is received for the first time, executing the control instruction.
12. An ultra-wideband-based device control device applied to a master device comprises:
an instruction management module configured to obtain a control instruction;
an ultra-wideband module configured to periodically broadcast a transmission ranging signal and receive a response signal fed back from a device;
a ranging module configured to calculate a distance between a master device and a slave device according to a time difference between the ranging signal and the response signal;
a judging module configured to judge whether the slave device satisfies a receiving condition according to the distance;
and the sending module is configured to send the control instruction to the slave device if the control instruction is satisfied, so that the slave device executes the control instruction.
13. An ultra-wideband-based device control device applied to a slave device comprises:
an ultra-wideband module configured to transmit a response signal to a master device in response to receiving a ranging signal from the master device;
a determination module configured to determine whether a master device is trustworthy in response to receiving a control instruction from the master device;
an instruction processing module configured to execute the control instruction if trusted.
14. An ultra-wideband based electronic device for controlling a device, comprising:
one or more processors;
a storage device having one or more computer programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-11.
15. A computer-readable medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the method according to any one of claims 1-11.
CN202111002237.XA 2021-08-30 2021-08-30 Ultra-wideband-based equipment control method and device Pending CN113689687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111002237.XA CN113689687A (en) 2021-08-30 2021-08-30 Ultra-wideband-based equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111002237.XA CN113689687A (en) 2021-08-30 2021-08-30 Ultra-wideband-based equipment control method and device

Publications (1)

Publication Number Publication Date
CN113689687A true CN113689687A (en) 2021-11-23

Family

ID=78583780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111002237.XA Pending CN113689687A (en) 2021-08-30 2021-08-30 Ultra-wideband-based equipment control method and device

Country Status (1)

Country Link
CN (1) CN113689687A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363817A (en) * 2022-03-21 2022-04-15 杭州涂鸦信息技术有限公司 Intelligent lock unlocking method, client and intelligent lock
CN114639193A (en) * 2022-03-14 2022-06-17 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer storage medium
CN115567741A (en) * 2022-03-24 2023-01-03 荣耀终端有限公司 Equipment control method, multimedia data playing system and electronic equipment
WO2024127660A1 (en) * 2022-12-16 2024-06-20 日本たばこ産業株式会社 Suction device control method, suction device power supply unit, and program for suction device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108432161A (en) * 2015-12-31 2018-08-21 华为技术有限公司 A kind of interference control method and terminal of audio service
CN109358525A (en) * 2018-12-26 2019-02-19 深圳Tcl新技术有限公司 Control method, smart home system and the storage medium of smart home device
CN111025920A (en) * 2019-11-18 2020-04-17 北京小米移动软件有限公司 Method and device for personalizing automatic control equipment and computer readable storage medium
CN111107492A (en) * 2019-12-20 2020-05-05 上海有个机器人有限公司 Multi-device interaction method, medium, terminal and system based on UWB
CN112073800A (en) * 2020-08-26 2020-12-11 北京小米移动软件有限公司 Device function calling method, device function calling device and storage medium
CN113313864A (en) * 2021-05-26 2021-08-27 Oppo广东移动通信有限公司 Access control method and device, wireless earphone, access control equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108432161A (en) * 2015-12-31 2018-08-21 华为技术有限公司 A kind of interference control method and terminal of audio service
CN109358525A (en) * 2018-12-26 2019-02-19 深圳Tcl新技术有限公司 Control method, smart home system and the storage medium of smart home device
CN111025920A (en) * 2019-11-18 2020-04-17 北京小米移动软件有限公司 Method and device for personalizing automatic control equipment and computer readable storage medium
CN111107492A (en) * 2019-12-20 2020-05-05 上海有个机器人有限公司 Multi-device interaction method, medium, terminal and system based on UWB
CN112073800A (en) * 2020-08-26 2020-12-11 北京小米移动软件有限公司 Device function calling method, device function calling device and storage medium
CN113313864A (en) * 2021-05-26 2021-08-27 Oppo广东移动通信有限公司 Access control method and device, wireless earphone, access control equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114639193A (en) * 2022-03-14 2022-06-17 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer storage medium
CN114363817A (en) * 2022-03-21 2022-04-15 杭州涂鸦信息技术有限公司 Intelligent lock unlocking method, client and intelligent lock
CN115567741A (en) * 2022-03-24 2023-01-03 荣耀终端有限公司 Equipment control method, multimedia data playing system and electronic equipment
CN115567741B (en) * 2022-03-24 2024-02-20 荣耀终端有限公司 Device control method, multimedia data playing system, device and storage medium
WO2024127660A1 (en) * 2022-12-16 2024-06-20 日本たばこ産業株式会社 Suction device control method, suction device power supply unit, and program for suction device
WO2024128097A1 (en) * 2022-12-16 2024-06-20 日本たばこ産業株式会社 Inhalation device control method, inhalation device power supply unit, and program for inhalation device

Similar Documents

Publication Publication Date Title
US20220020339A1 (en) Display method and apparatus
CN113689687A (en) Ultra-wideband-based equipment control method and device
US11603201B2 (en) Drone based systems and methodologies for capturing images
AU2017429200B2 (en) Display method and apparatus
US9930715B2 (en) Method and apparatus for operating an electronic device
US9571974B2 (en) Device searching method and electronic device supporting the same
KR102383130B1 (en) Controlling function and electronic device supporting the same
KR102504201B1 (en) Electronic device and method for controlling output of notification thereof
KR102343568B1 (en) Method for connecting electronci device with external devices and elctroninc devcie implementing the same
KR102226520B1 (en) Method and apparatus for updating advertising information
CN108141475B (en) Internet of things interaction system
CN109521978B (en) Content display method and terminal equipment
KR20160035753A (en) Method and apparatus for automatically creating message
EP2911416B1 (en) Method and apparatus for controlling operations of electronic device
KR102152671B1 (en) Electronic apparatus and call forwarding control method thereof
CN108551525B (en) State determination method of movement track and mobile terminal
US11057702B1 (en) Method and system for reducing audio feedback
KR20140009851A (en) Electonic device and method for controlling of the same
US9374234B2 (en) Method of controlling information processing apparatus and information processing apparatus
KR102350965B1 (en) A method and apparatus for group communicatoin
US10070278B2 (en) Method for processing received message and electronic device implementing the same
US11460994B2 (en) Information processing apparatus and information processing method
KR20170040063A (en) Comunication system, server, wearable device, user terminal and metod of controlling thereof
KR102385720B1 (en) Method for processing data and electronic device thereof
JP2016519881A (en) Router access control method, apparatus, router, program, and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211123

RJ01 Rejection of invention patent application after publication