CN114625260A - Interaction method and device, electronic equipment and storage medium - Google Patents

Interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114625260A
CN114625260A CN202210291371.4A CN202210291371A CN114625260A CN 114625260 A CN114625260 A CN 114625260A CN 202210291371 A CN202210291371 A CN 202210291371A CN 114625260 A CN114625260 A CN 114625260A
Authority
CN
China
Prior art keywords
electronic device
uwb
module
uwb signal
motion data
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
CN202210291371.4A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210291371.4A priority Critical patent/CN114625260A/en
Publication of CN114625260A publication Critical patent/CN114625260A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/033Indexing scheme relating to G06F3/033
    • G06F2203/0331Finger worn pointing device

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interaction method, an interaction device, electronic equipment and a storage medium. Wherein the method is applied to a first electronic device configured with an inertial measurement module and a first ultra-wideband UWB module, the method comprising: activating the first UWB module if the measurements of the inertial measurement module characterize the first electronic device transitioning from a stationary state to a moving state; transmitting a first UWB signal to a second electronic device through the first UWB module; wherein the first UWB signal is used for transmitting motion data of the first electronic device, so that the second electronic device responds to the first UWB signal and generates a corresponding control instruction.

Description

Interaction method, interaction device, electronic equipment and storage medium
Technical Field
The present application relates to the field of information technologies, and in particular, to an interaction method, an interaction apparatus, an electronic device, and a storage medium.
Background
In the related technology, the ring mouse is connected to the Bluetooth/Wi-Fi, and a user interacts with the smart home device through the ring mouse, so that the interaction efficiency between the user and the smart home device is reduced.
Disclosure of Invention
In view of this, embodiments of the present application provide an interaction method, an interaction apparatus, an electronic device, and a storage medium, so as to at least solve a problem that an interaction efficiency between a user and a smart home device is reduced in the related art.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides an interaction method, which is applied to first electronic equipment, wherein the first electronic equipment is provided with an Inertial Measurement Unit (IMU) and a first Ultra Wide Band (UWB), and the method comprises the following steps:
activating the first UWB module if the measurements of the IMU characterize the first electronic device transitioning from a stationary state to a moving state;
transmitting a first UWB signal to a second electronic device through the first UWB module; wherein the content of the first and second substances,
the first UWB signal is used to convey motion data of the first electronic device, so that the second electronic device generates a corresponding control instruction in response to the first UWB signal.
The embodiment of the present application provides another interaction method, which is applied to a second electronic device, where the second electronic device is configured with a second UWB module, and the method includes:
receiving a first UWB signal sent by first electronic equipment based on the second UWB module; the first UWB signal is used for transmitting motion data of the first electronic device;
and generating a corresponding control instruction according to the motion data transmitted by the first UWB signal.
The embodiment of the present application further provides an interaction apparatus, which is applied to a first electronic device, where the first electronic device is configured with an inertial measurement module and a UWB module, and the apparatus includes:
an activation unit configured to activate the first UWB module if the measurement result of the IMU indicates that the first electronic device is transitioning from a stationary state to a moving state;
a transmitting unit, configured to transmit a first UWB signal to a second electronic device through the first UWB module; wherein the content of the first and second substances,
the first UWB signal is used to convey motion data of the first electronic device, so that the second electronic device generates a corresponding control instruction in response to the first UWB signal.
The embodiment of the present application further provides another interaction apparatus, which is applied to a second electronic device, where the second electronic device is configured with a second UWB module, and the apparatus includes:
the receiving unit is used for receiving a first UWB signal sent by first electronic equipment based on the second UWB module; the first UWB signal is used for transmitting motion data of the first electronic device;
and the generating unit is used for generating a corresponding control instruction according to the motion data transmitted by the first UWB signal.
An embodiment of the present application further provides an electronic device, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of any of the above methods when running the computer program.
Embodiments of the present application also provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of any one of the above methods.
In the embodiment of the application, a first electronic device is configured with an IMU and a first UWB module, and the first electronic device is capable of activating the first UWB module and sending a first UWB signal to a second electronic device through the first UWB module in a case that a measurement result of the IMU represents that the first electronic device is transitioned from a static state to a motion state, wherein the first UWB signal is used for transferring motion data of the first electronic device, so that the second electronic device generates a corresponding control instruction in response to the first UWB signal, and thus a user can control other electronic devices by operating the first electronic device, thereby improving interaction efficiency between different electronic devices.
Drawings
Fig. 1 is a schematic diagram illustrating an implementation flow of an interaction method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a first electronic device according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of an interaction method according to an embodiment of the present application;
fig. 4 is an operation timing diagram of an IMU and a first UWB module according to an embodiment of the present application;
fig. 5 is a schematic flow chart illustrating an implementation of an interaction method according to an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating an implementation of an interaction method according to another embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a second electronic device determining motion data according to an embodiment of the application;
fig. 8 is a schematic structural diagram of an interaction apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an interaction apparatus according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and specific embodiments.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
In addition, in the examples of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a particular order or sequence.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any combination of any one or more of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
The present application will be described in further detail with reference to the following drawings and specific embodiments.
An interaction method is provided in an embodiment of the present application, and fig. 1 is a schematic flowchart of the interaction method in the embodiment of the present application, where the method is applied to a first electronic device, as shown in fig. 1, and the method includes:
s101: activating a first UWB module if measurements of the IMU characterize a transition of the first electronic device from a stationary state to a moving state.
In this embodiment, the first electronic device may be a ring mouse, and in practical applications, the user wears the ring mouse, through the change of the gesture and the slight limb action, a corresponding control instruction is sent, and illustratively, the user sends out a right-sliding gesture, the function of playing fast forward is realized through the interaction between the first electronic device and the second electronic device, as shown in fig. 2, fig. 2 shows a schematic diagram of a first electronic device, in which an IMU and a first UWB module are arranged, wherein, the first UWB module is designed to be distributed with three antennas, as shown in fig. 2, the UWB antennas corresponding to the first UWB module are respectively arranged in the first area, the second area and the third area of the first electronic device, all three UWB antennas configured on the first electronic device can transmit UWB signals, therefore, the problem that the UWB antenna of the first electronic device is blocked and cannot send the UWB signal can be avoided. In practical application, the number of IMUs deployed by the first electronic device may be set according to practical application, and for example, when there is data drift in the process of processing data sent by the first electronic device, the number of IMUs configured on the first electronic device may be increased to ensure accuracy of the data. The first UWB module on the first electronic device has high positioning accuracy and can detect relative positions, angles and distances with other electronic devices, but the first UWB module has high power consumption and is easily interfered by the outside due to poor penetrating ability of UWB signals, resulting in inaccurate results obtained from UWB signal analysis. The IMU on the first electronic equipment can detect slight movement and movement tendency of the first electronic equipment, the power consumption is low, the external interference is not easy to cause, and the working efficiency of the first electronic equipment can be improved through the cooperation of the first UWB module and the IMU.
In order to reduce the power consumption of the first electronic device, the first UWB module is in a sleep state in a case where the first electronic device does not need to interact with the second electronic device, and the first UWB module is activated to interact with the second electronic device in a case where the first electronic device needs to interact with the second electronic device. Specifically, the first electronic device determines whether the first UWB module needs to be activated through a measurement result of the IMU. The specific address is that a user realizes different control instructions through different gestures, in the process, the first electronic device sends gesture information to the second electronic device, the second electronic device generates corresponding control instructions, accordingly, under the condition that the user does not send the gestures, the first electronic device does not need to interact with the second electronic device, and under the condition that the user sends the gestures, the first electronic device needs to interact with the second electronic device. When a user sends a gesture, the first electronic device worn on the user can also move along with the gesture, the motion state of the first electronic device can be detected through the IMU configured on the first electronic device, whether the user sends the gesture can be determined, and whether the first electronic device needs to interact with the second electronic device can be further determined.
In one embodiment, after the first UWB module is activated, the first UWB module needs to be controlled to re-enter the sleep state to reduce power consumption of the first electronic device. In one mode, a duty cycle may be set for the first UWB module, where the duty cycle may be understood as a time allowed for the first UWB module to operate after being started, and the first UWB module is controlled to enter a sleep state after the duty cycle of the first UWB module is ended. In another mode, it is detected whether there is a gesture that the user stops sending in the work cycle, that is, the first electronic device is changed from the motion state to the stationary state, in this case, the first electronic device does not need to interact with the second electronic device, the first UWB module of the first electronic device correspondingly stops working to enter the sleep state, and whether the first electronic device is changed from the motion state to the stationary state can be determined by the measurement result of the IMU of the first electronic device.
In practical applications, if the user gesture again in the working period of the first UWB module, that is, when the measurement result of the IMU satisfies the first set condition, the first UWB module continues to operate, and the working period of the first UWB module may be recalculated, for example, assuming that the working period of the first UWB module is 60S, the measurement result obtained by the IMU at the time of 40S satisfies the first set condition, and at this time, the working period of the first UWB module is recalculated, that is, it is determined whether to control the first UWB module to enter the sleep state within 60S, instead of determining whether to control the first UWB module to enter the sleep state within the remaining 20S.
S102: transmitting a first UWB signal to a second electronic device through a first UWB module; the first UWB signal is used for transmitting motion data of the first electronic device, so that the second electronic device responds to the first UWB signal and generates a corresponding control instruction.
The gesture sent by the user can be converted into motion data of the first electronic device, for example, the acceleration of the first electronic device and the angular velocity of the first electronic device, or the gesture sent by the user can be reflected through information such as the relative position, the angle and the distance between the first electronic device and the second electronic device.
The first UWB module of the first electronic equipment transmits the motion data of the first electronic equipment by sending the first UWB signal to the second electronic equipment, so that the second electronic equipment generates a corresponding control instruction through the motion data of the first electronic equipment after receiving the first UWB signal, and the function that a user controls the electronic equipment through gestures is realized. In one implementation, the motion data of the first electronic device may be determined according to a first UWB signal, for example, the first UWB signal is substantially a positioning instruction, the second electronic device determines the motion data of the first electronic device through a Phase Difference of Arrival (PDOA) algorithm after receiving the first UWB signal,
in one embodiment, as shown in fig. 3, step S102 includes:
s301: acquiring first information; the first information characterizes a measurement of the IMU.
In this embodiment, the first information may be an acceleration of the first electronic device and/or an angular velocity of the first electronic device, where the first information may be obtained during the process of detecting the motion state of the first electronic device by the IMU, for example, in a case that the IMU detects that there is a motion trend of the first electronic device, the first information of the first electronic device during the motion process is recorded.
S302: and sending a first UWB signal carrying first information to the second electronic equipment through the first UWB module.
The IMU on the first electronic device is responsible for detecting the motion state and the motion data of the first electronic device and cannot send the first information to the second electronic device, the first information needs to be transmitted by means of the first UWB module on the first electronic device, and the first UWB module sends the first information to the second electronic device through the first UWB signal, so that the second electronic device can receive the first UWB signal carrying the first information and generate a corresponding control instruction according to the first information.
In the embodiment of the present application, there are two types of first UWB signals, and the first UWB signal of the first type is the first UWB signal which is actively transmitted after the first UWB module wakes up. The second type of the first UWB signal is that when the IMU detects that there is a transient motion change in the first electronic device, the first UWB module is activated and sends out a first UWB signal carrying first information detected by the IMU.
In one embodiment, the first UWB module is activated every first wake-up period, wherein the activation is periodic, as opposed to activating the first UWB module if the measurements of the IMU satisfy a first set condition. And controlling the first UWB module which is periodically activated to send a second UWB signal to the second electronic equipment, so that the second electronic equipment can periodically carry out distance detection, and the second electronic equipment can be prevented from being incapable of accurately acquiring the distance information of the first electronic equipment. As shown in fig. 4, fig. 4 illustrates an operation timing diagram of the IMU and the first UWB module, wherein the IMU maintains a startup state, and detects a motion state and motion data of the first electronic device in real time, and wakes up the first UWB module to realize interaction between the first electronic device and the second electronic device. The first UWB module of the first electronic device is normally in a sleep state, and the first UWB module is activated and transmits a first UWB signal when the measurement result of the IMU satisfies a first set condition, and is activated every first wake-up period and transmits a second UWB signal.
In practical applications, the first electronic device may receive second information returned by the second electronic device, so that the first electronic device may obtain an execution condition of the control instruction, in a general case, when the second information received by the first electronic device represents that the control instruction is successfully executed, and when the second information received by the first electronic device represents that the control instruction is unsuccessfully executed, the third information may be output to prompt the user to adjust a corresponding gesture motion, and to resend the first UWB signal, for example, the user may be prompted by an indicator light or a vibration feedback of the first electronic device, so that the second electronic device reprocesses the first UWB signal to generate a corresponding control instruction, where a reason causing the control instruction to be unsuccessfully executed may be that the second electronic device cannot successfully receive the first UWB signal and thus cannot resolve the corresponding control instruction, it may also be that the control instructions cannot be implemented after they are generated. The interaction of the control instruction feedback result between the first electronic device and the second electronic device can improve the interaction efficiency between the first electronic device and the second electronic device.
In the embodiment of the application, a first electronic device is configured with a first UWB module and an IMU, the first electronic device activates the first UWB module when a measurement result of the IMU indicates that the first electronic device is changed from a static state to a motion state, and the first UWB module transmits motion data of the first electronic device by sending a first UWB signal to a second electronic device, so that the second electronic device generates a corresponding control instruction in response to the first UWB signal, so that a user can generate the corresponding control instruction through different gestures, and interaction efficiency between the electronic devices is improved.
The present application further provides another interaction method, as shown in fig. 5, applied to a second electronic device, where the method includes:
s501: receiving a first UWB signal sent by first electronic equipment based on a second UWB module; the first UWB signal is used to convey motion data for the first electronic device.
The second electronic device is used for processing a first UWB signal sent by the first electronic device, wherein the second UWB module is configured on the second electronic device. In practical application, the first electronic device is worn by a user, the user generates different control instructions by sending different gestures, the first electronic device can convert gesture information of the user into motion data of the first electronic device, and the second electronic device generates the control instruction corresponding to the gesture information according to the motion data of the first electronic device, so that the function that the user controls the electronic device through the gestures is achieved. The first UWB module can receive the first UWB signal sent by the first electronic device, so that the motion data of the first electronic device can be acquired through the first UWB signal.
S502: and generating a corresponding control command according to the motion data transmitted by the first UWB signal.
The second UWB module can analyze the first UWB signal, and generate a corresponding control command by passing through the motion data of the first UWB signal, for example, the second UWB module can determine that the gesture sent by the user is a right slide gesture through the motion data transmitted by the first UWB signal, and generate a command for controlling playing and fast forwarding corresponding to the right slide gesture.
In practical applications, there are two cases where the execution subject of the control instruction is the second electronic device, and after the second electronic device generates the control instruction, the control instruction is executed, illustratively, the first electronic device is a ring mouse, the second electronic device is a computer, the user wears the ring mouse on hand, and while the user makes a gesture, the ring mouse transmits motion data of the ring mouse to the computer by sending a UWB signal to the computer, and a UWB module configured on the computer can generate a corresponding control instruction according to the UWB signal and execute the control instruction.
In another case, the execution subject of the control instruction is a third electronic device, the second electronic device sends the control instruction to the third electronic device after generating the control instruction, and the third electronic device completes the execution of the control instruction, illustratively, the first electronic device is a ring mouse, the third electronic device is a computer, wherein the computer is not configured with a UWB module, so that the computer cannot directly process UWB signals sent by the ring mouse, at this time, the second electronic device needs to be connected to the computer through an interface such as USB, and can be regarded as a UWB receiver with a relay function, the second electronic device can be connected to the third electronic device, when the user sends a gesture, the ring mouse sends a signal to transfer motion data of the ring mouse, the second electronic device can receive the UWB signals sent by the ring mouse, and generating a corresponding control instruction according to the motion data of the ring mouse, and sending the control instruction to the computer to enable the computer to execute the control instruction, so that the user can control the computer through the ring mouse.
In practical applications, the second electronic device may further periodically send an execution condition of the control instruction to the first electronic device, where the returned execution condition may include that the second electronic device fails to receive the first UWB signal, or that the control instruction fails to be executed, or that the control instruction cannot be executed, or that the control instruction is successfully executed. When the third electronic device is an execution subject of the control instruction, the third electronic device sends the execution condition of the control instruction to the second electronic device, and the second electronic device sends the execution condition of the control instruction to the first electronic device.
In one embodiment, as shown in fig. 6, step S502 (i.e. generating corresponding control instructions according to the motion data transmitted by the first UWB signal) includes:
s601: and processing the first UWB signal based on a PDOA algorithm to obtain corresponding motion data.
The first UWB signal can be regarded as a positioning instruction, that is, the instruction of the second electronic device to position the first electronic device, the second electronic device can determine the distance, angle and relative position between the first electronic device and the second electronic device through the received first UWB signal, specifically, the second electronic device can process the first UWB signal through PDOA algorithm, as shown in fig. 7, fig. 7 shows a schematic diagram of the second electronic device to determine motion data, a transmitting antenna on the first electronic device transmits the first UWB signal, a first antenna ANT1 and a second antenna ANT2 on the second electronic device receive the first UWB signal and position the first electronic device according to the first UWB signal, and the cutting angle α in fig. 7 can be determined through the distance d between the second antenna ANT2 and the third antenna ANT3 and the first UWB signal arrival distance p, and x and y can be calculated.
In practical application, in order to enable the second electronic device to determine corresponding motion data according to the first UWB signal, the second electronic device is configured with four antennas, wherein one transmitting antenna is used for transmitting the UWB signal, the other three antennas are receiving antennas, and three-dimensional positioning (distance, angle and relative position) of the first electronic device can be achieved through the three configured receiving antennas.
S602: and generating a corresponding control command based on the obtained motion data.
In a possible manner, the second electronic device may analyze the motion trajectory of the first electronic device according to the obtained motion data, so as to obtain the gesture sent by the user. In practical application, the second electronic device may store a setting mapping table, where the table is used to record correspondence between different preset gestures and control instructions, so that the control instructions corresponding to the motion data may be searched in the setting mapping table.
In practical applications, the second electronic device further receives a second UWB signal sent by the first electronic device every other first wake-up period, and the second electronic device may determine a distance between the first electronic device and the second electronic device according to the second UWB signal, so that the second electronic device can periodically exchange distance information with the first electronic device. In practical application, the second UWB module of the second electronic device is also in a periodic working state, specifically, the second UWB module has a second wakeup period, and the second UWB module is activated every second wakeup period and waits to receive the first UWB signal and the second UWB signal, where the second wakeup period is greater than the first wakeup period, thereby ensuring that the second electronic device can timely receive the first UWB signal and the second UWB signal sent by the first electronic device.
In an embodiment, the first UWB signal received by the second electronic device carries first information, where the first information is motion data measured by an IMU on the first electronic device, the first information mainly includes an angular velocity and an acceleration of the first electronic device, and the second electronic device may further process the first UWB signal by using a PDOA algorithm to obtain the motion data of the first electronic device, and generate a corresponding control instruction by using the first information and the motion data.
In the embodiment of the application, the second electronic device can receive the first UWB signal sent by the first electronic device, and generate the corresponding control instruction through the motion data of the first electronic device transmitted by the first UWB signal, so that the interaction between the first electronic device and the second electronic device is realized, and the interaction efficiency between the electronic devices is improved.
In order to implement the interaction method according to the embodiment of the present application, an interaction apparatus is further provided in the embodiment of the present application, as shown in fig. 8, where the apparatus is applied to a first electronic device, and the first electronic device is configured with an IMU and a UWB module, and the apparatus includes:
an activation unit 801, configured to activate the first UWB module if the measurement result of the inertial measurement module indicates that the first electronic device is changed from a stationary state to a moving state;
a transmitting unit 802, configured to transmit a first UWB signal to a second electronic device through the first UWB module; wherein the content of the first and second substances,
the first UWB signal is used to convey motion data of the first electronic device, so that the second electronic device generates a corresponding control instruction in response to the first UWB signal.
In one embodiment, the transmitting unit 802 is further configured to, when transmitting the first UWB signal to the second electronic device through the first UWB module:
acquiring first information; the first information represents the measurement result of the inertial measurement module;
and sending a first UWB signal carrying the first information to the second electronic equipment through the first UWB module.
In one embodiment, after the activation unit 801 activates the first UWB module, the apparatus is further configured to:
after the working period of the first UWB module is finished, or when the measurement result of the inertia measurement module in the working period meets a second set condition, controlling the first UWB module to enter a sleep state; wherein the content of the first and second substances,
and the measurement result corresponding to the second set condition represents that the first electronic equipment is converted from a motion state to a static state.
The present application also provides another interaction apparatus, as shown in fig. 9, which is applied to a second electronic device configured with a second UWB module, the apparatus including:
a receiving unit 901, configured to receive a first UWB signal sent by a first electronic device based on the second UWB module; the first UWB signal is used for transmitting motion data of the first electronic device;
a generating unit 902, configured to generate a corresponding control instruction according to the motion data transmitted by the first UWB signal.
In an embodiment, the generating unit 902, when generating the corresponding control instruction according to the motion data conveyed by the first UWB signal, is further configured to:
processing the first UWB signal based on a signal arrival Phase Difference (PDOA) algorithm to obtain corresponding motion data;
and generating a corresponding control command based on the obtained motion data.
In one embodiment, said first UWB signal carries first information; said first UWB signal carrying first information; the first information represents a measurement result of an inertial measurement module configured by the first electronic device; the generating unit 902, when generating a corresponding control instruction based on the obtained motion data, is further configured to:
and generating a corresponding control instruction based on the motion data obtained by the PDOA algorithm processing and the first information.
In practical applications, the activating unit 801, the sending unit 802, the receiving unit 901, and the generating unit 902 may be implemented by a processor in the interaction apparatus. Of course, the processor needs to run the program stored in the memory to realize the functions of the above-described program modules.
It should be noted that, when the interaction devices provided in the embodiments of fig. 8 and fig. 9 perform interaction, only the division of the program modules is illustrated, and in practical applications, the above processing may be distributed to different program modules according to needs, that is, the internal structure of the device may be divided into different program modules to complete all or part of the above-described processing. In addition, the interaction apparatus and the interaction method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the method according to the embodiment of the present application, an embodiment of the present application further provides an electronic device, and fig. 10 is a schematic diagram of a hardware composition structure of the electronic device according to the embodiment of the present application, and as shown in fig. 10, the electronic device includes:
a communication interface 1 capable of information interaction with other devices such as network devices and the like;
and the processor 2 is connected with the communication interface 1 to realize information interaction with other equipment, and is used for executing the interaction method provided by one or more technical schemes when running a computer program. And the computer program is stored on the memory 3.
In practice, of course, the various components in the electronic device are coupled together by means of the bus system 4. It will be appreciated that the bus system 4 is used to enable connection communication between these components. The bus system 4 comprises, in addition to a data bus, a power bus, a control bus and a status signal bus. For clarity of illustration, however, the various buses are labeled as bus system 4 in fig. 10.
The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device.
It will be appreciated that the memory 3 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a magnetic random access Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Double Data Rate Synchronous Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Random Access Memory (DRAM), Synchronous Random Access Memory (DRAM), Direct Random Access Memory (DRmb Access Memory). The memory 3 described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiment of the present application may be applied to the processor 2, or may be implemented by the processor 2. The processor 2 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 2. The processor 2 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 3, and the processor 2 reads the program in the memory 3 and in combination with its hardware performs the steps of the aforementioned method.
When the processor 2 executes the program, the corresponding processes in the methods according to the embodiments of the present application are realized, and for brevity, are not described herein again.
In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, specifically a computer readable storage medium, for example, including a memory 3 storing a computer program, which can be executed by a processor 2 to implement the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and method may be implemented in other manners. The above-described device embodiments are only illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated unit described above may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An interaction method applied to a first electronic device provided with an inertial measurement module and a first ultra-wideband UWB module, the method comprising:
activating the first UWB module if the measurements of the inertial measurement module characterize the first electronic device transitioning from a stationary state to a moving state;
transmitting a first UWB signal to a second electronic device through the first UWB module; wherein the content of the first and second substances,
the first UWB signal is used for transmitting motion data of the first electronic device, so that the second electronic device responds to the first UWB signal and generates a corresponding control instruction.
2. The method of claim 1, wherein said transmitting a first UWB signal through said first UWB module to a second electronic device comprises:
acquiring first information; the first information represents the measurement result of the inertial measurement module;
and sending a first UWB signal carrying the first information to the second electronic equipment through the first UWB module.
3. The method of claim 1, wherein after said activating said first UWB module, said method further comprises:
after the working period of the first UWB module is finished, or when the measuring result of the inertia measuring module in the working period meets a second set condition, controlling the first UWB module to enter a dormant state; wherein the content of the first and second substances,
and the measurement result corresponding to the second set condition represents that the first electronic equipment is converted from a motion state to a static state.
4. An interaction method, applied to a second electronic device, wherein said second electronic device is provided with a second UWB module; the method comprises the following steps:
receiving a first UWB signal sent by first electronic equipment based on the second UWB module; the first UWB signal is used for transmitting motion data of the first electronic device;
and generating a corresponding control instruction according to the motion data transmitted by the first UWB signal.
5. The method of claim 4, wherein said generating corresponding control instructions based on said motion data communicated by said first UWB signal comprises:
processing the first UWB signal based on a signal arrival Phase Difference (PDOA) algorithm to obtain corresponding motion data;
and generating a corresponding control command based on the obtained motion data.
6. The method of claim 5, wherein said first UWB signal carries first information; the first information represents a measurement result of an inertial measurement module configured by the first electronic device; the generating of the corresponding control instruction based on the obtained motion data comprises:
and generating a corresponding control instruction based on the motion data obtained by the PDOA algorithm processing and the first information.
7. An interaction apparatus applied to a first electronic device equipped with an inertial measurement module and a UWB module, the apparatus comprising:
the activation unit is used for activating the first UWB module under the condition that the measurement result of the inertial measurement module represents that the first electronic equipment is changed from a static state to a motion state;
a transmitting unit, configured to transmit a first UWB signal to a second electronic device through the first UWB module; wherein the content of the first and second substances,
the first UWB signal is used to convey motion data of the first electronic device, so that the second electronic device generates a corresponding control instruction in response to the first UWB signal.
8. An interactive apparatus for use with a second electronic device, the second electronic device configured with a second UWB module, the apparatus comprising:
the receiving unit is used for receiving a first UWB signal sent by first electronic equipment based on the second UWB module; the first UWB signal is used for transmitting motion data of the first electronic device;
and the generating unit is used for generating a corresponding control instruction according to the motion data transmitted by the first UWB signal.
9. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 3 or 4 to 6 when running the computer program.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of any one of claims 1 to 3 or 4 to 6.
CN202210291371.4A 2022-03-23 2022-03-23 Interaction method and device, electronic equipment and storage medium Pending CN114625260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210291371.4A CN114625260A (en) 2022-03-23 2022-03-23 Interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210291371.4A CN114625260A (en) 2022-03-23 2022-03-23 Interaction method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114625260A true CN114625260A (en) 2022-06-14

Family

ID=81904398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210291371.4A Pending CN114625260A (en) 2022-03-23 2022-03-23 Interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114625260A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160095397A (en) * 2015-02-03 2016-08-11 아주대학교산학협력단 METHOD, SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM FOR CONTROLLING IoT(Internet of Things) DEVICE USING A WEARABLE DEVICE
CN109085885A (en) * 2018-08-14 2018-12-25 李兴伟 Intelligent ring
CN110928432A (en) * 2019-10-24 2020-03-27 中国人民解放军军事科学院国防科技创新研究院 Ring mouse, mouse control device and mouse control system
WO2020178724A1 (en) * 2019-03-04 2020-09-10 Lampros Kourtis Method and system to pair an article to a user.
US20230024254A1 (en) * 2021-07-26 2023-01-26 Google Llc Gesture Controls Using Ultra Wide Band

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160095397A (en) * 2015-02-03 2016-08-11 아주대학교산학협력단 METHOD, SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM FOR CONTROLLING IoT(Internet of Things) DEVICE USING A WEARABLE DEVICE
CN109085885A (en) * 2018-08-14 2018-12-25 李兴伟 Intelligent ring
WO2020178724A1 (en) * 2019-03-04 2020-09-10 Lampros Kourtis Method and system to pair an article to a user.
CN110928432A (en) * 2019-10-24 2020-03-27 中国人民解放军军事科学院国防科技创新研究院 Ring mouse, mouse control device and mouse control system
US20230024254A1 (en) * 2021-07-26 2023-01-26 Google Llc Gesture Controls Using Ultra Wide Band

Similar Documents

Publication Publication Date Title
US10331242B2 (en) Stylus having a plurality of operating portions configured to transmit synchronized signals
US11294189B2 (en) Method and device for positioning handle in head mounted display system and head mounted display system
US7191281B2 (en) Mobile computer system having a navigation mode to optimize system performance and power management for mobile applications
JP4021970B2 (en) High precision position determination data transmission system and method
US9170912B1 (en) System and methods for power and energy modeling in computing devices using system call tracing
US8370106B2 (en) Spatially aware inference logic
JP2015529987A (en) Power efficient location information notification
US20090102639A1 (en) Localization system and localization method and mobile position data transmitter
US10235871B2 (en) Information transmission method, apparatus and computer storage medium
WO2014039824A1 (en) Providing support for device states
KR20160066188A (en) Electronic device and method for controlling shareable cache memory thereof
EP3334218A1 (en) Device and method for managing power in electronic device
CN107534841A (en) A kind of method and apparatus of output notice
KR20170020862A (en) Distributed voice input processing based on power and sensing
CN110622022A (en) Power management for electromagnetic position tracking systems
US20090156205A1 (en) Method and Apparatus for Establishing a Wireless Network Signal Acquisition Rate
US7495606B2 (en) Positioning information processing apparatus, information processing apparatus, method of processing positioning information, and program
KR20040052610A (en) A system and method for measuring indoor location
CN111475432B (en) Slave computer starting control device, single bus system and control method thereof
CN114625260A (en) Interaction method and device, electronic equipment and storage medium
US10632614B2 (en) Motion-controlling method of robot and the robot thereof
CN107609114B (en) Log information reporting method and device, storage medium, ADSP and terminal
US20150172868A1 (en) Server and method of transmitting data thereof, and mobile device and sensing method thereof
CN111314870B (en) Indoor positioning method for station cards, station cards and storage medium
US11620846B2 (en) Data processing method for multi-sensor fusion, positioning apparatus and virtual reality device

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