CN114296549A - Wearable device control method and device, wearable device and medium - Google Patents

Wearable device control method and device, wearable device and medium Download PDF

Info

Publication number
CN114296549A
CN114296549A CN202111562270.8A CN202111562270A CN114296549A CN 114296549 A CN114296549 A CN 114296549A CN 202111562270 A CN202111562270 A CN 202111562270A CN 114296549 A CN114296549 A CN 114296549A
Authority
CN
China
Prior art keywords
wearable device
motor
driving frequency
detection sensor
driving signal
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
CN202111562270.8A
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202111562270.8A priority Critical patent/CN114296549A/en
Publication of CN114296549A publication Critical patent/CN114296549A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a control method and device of wearable equipment, the wearable equipment and a medium. The method comprises the following steps: responding to a set trigger event, and sequentially inputting a driving signal corresponding to each driving frequency in a preset driving frequency range to the motor; acquiring the vibration quantity of the motor which is acquired by a motion detection sensor and vibrates based on each driving signal; and determining a target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor based on the vibration of each driving signal.

Description

Wearable device control method and device, wearable device and medium
Technical Field
The embodiment of the disclosure relates to the technical field of wearable devices, and more particularly, to a control method of a wearable device, a control apparatus of a wearable device, and a computer-readable storage medium.
Background
At present, wearable devices such as smartwatches and smartbands are more and more widely used, and for a user, the larger the vibration amount of the wearable device is, the better the wearable device is. The vibration amount in the wearable device is provided by the motor, and a larger volume is required to achieve a larger vibration amount, but with the miniaturization and the light weight of the wearable device, the volume compression of the motor becomes more and more serious, and the vibration amount becomes smaller as the volume of the motor becomes smaller, which requires that the motor has the largest vibration amount under the condition that the volume of the motor is limited.
In the related art, the motor utilizes the inductance flyback after stopping driving to carry out tuning, however, because the flyback signal quantity is very small and needs to be amplified for use, the interference signal is easily amplified together in the amplification process, so that the real signal is covered, the maximum vibration quantity deviation of the tuning is very large, and the effect is not ideal.
Disclosure of Invention
It is an object of embodiments of the present disclosure to provide a new technical solution for control of a wearable device.
According to a first aspect of embodiments of the present disclosure, there is provided a method for controlling a wearable device, the method including:
responding to a set trigger event, and sequentially inputting a driving signal corresponding to each driving frequency in a preset driving frequency range to the motor;
acquiring the vibration quantity of the motor which is acquired by a motion detection sensor and vibrates based on each driving signal;
and determining a target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor based on the vibration of each driving signal.
Optionally, the set triggering event includes any one or both of a time when the wearable device is powered on and a time when the wearable device enters a calibration mode.
Optionally, the method further comprises:
providing a configuration interface that configures the wearable device to enter the calibration mode;
receiving a first input to the configuration interface;
controlling the wearable device to enter the calibration mode in response to the first input.
The acquiring a vibration amount of the motor, which is acquired by the motion detection sensor, which vibrates based on each of the driving signals, includes:
determining the sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set proportion and each driving frequency;
and acquiring the vibration quantity of the motor which is acquired by the motion detection sensor based on the set sampling times and each sampling frequency and vibrates based on each corresponding driving signal.
Optionally, the set ratio is one quarter.
According to a second aspect of embodiments of the present disclosure, there is provided a control apparatus of a wearable device, the apparatus including:
the input module is used for responding to a set trigger event and sequentially inputting a driving signal corresponding to each driving frequency in a preset driving frequency range to the motor;
the acquisition module is used for acquiring the vibration quantity of the motor which is acquired by the motion detection sensor and vibrates based on each driving signal;
and the determining module is used for determining the target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor which vibrates based on each driving signal.
Optionally, the set triggering event includes any one or both of a time when the wearable device is powered on and a time when the wearable device enters a calibration mode.
Optionally, the apparatus further comprises a calibration module for:
providing a configuration interface that configures the wearable device to enter the calibration mode;
receiving a first input to the configuration interface;
controlling the wearable device to enter the calibration mode in response to the first input.
According to a third aspect of embodiments of the present disclosure, there is provided a wearable device comprising a motor and a motion detection sensor, the wearable device further comprising:
a memory for storing executable computer instructions;
a processor for executing the control method according to the first aspect above, under control of the executable computer instructions.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, perform the method of the first aspect above.
The wearable device can respond to the set trigger event, sequentially input the driving signal corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration amount of the motor vibrating based on each driving signal, and further determine the target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal, so that the calibration of the maximum driving frequency corresponding to the maximum vibration amount of the wearable device is realized, namely, the maximum vibration amount is obtained on the basis of not increasing the cost by using the motion detection sensor in the wearable device.
Other features of the present description and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a hardware configuration schematic diagram of a wearable device according to an embodiment of the present disclosure;
fig. 2 is a flow chart schematic diagram of a control method of a wearable device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a sampling process of a wearable device according to an embodiment of the present disclosure;
fig. 4 is a functional block diagram of a control apparatus of a wearable device according to an embodiment of the present disclosure;
fig. 5 is a functional block diagram of a wearable device according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of parts and steps, numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the embodiments of the present disclosure unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate. .
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram of a hardware configuration of a wearable device 1000 according to an embodiment of the present disclosure.
As shown in fig. 1, the wearable device 1000 may be, for example, a head-mounted display, a smart watch, a smart bracelet, etc., which is not limited by the embodiments of the present disclosure.
In one embodiment, as shown in fig. 1, the wearable device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a microphone 1700, a motion detection sensor 1800, a motor 1900, and the like.
The processor 1100 may include, but is not limited to, a central processing unit CPU, a microprocessor MCU, and the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, various bus interfaces such as a serial bus interface (including a USB interface), a parallel bus interface, and the like. Communication device 1400 is capable of wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display, an LED display, a touch display, or the like. The input device 1600 includes, for example, a touch screen, a keyboard, a handle, and the like. The microphone 1700 may be used for inputting voice information. The motion detection sensor 1800 may be used to detect a motion profile of the wearer of the wearable device 1000. Motor 1900 is configured to convert electrical energy to mechanical energy to generate a driving torque to power the wearable device.
It should be understood by those skilled in the art that although a plurality of devices of the wearable device 1000 are illustrated in fig. 1, the wearable device 1000 of the present embodiment may only refer to some of the devices, and may also include other devices, which are not limited herein.
In this embodiment, the memory 1200 of the wearable device 1000 is configured to store instructions for controlling the processor 1100 to operate to implement or support the implementation of the control method of the wearable device according to any of the embodiments. The skilled person can design the instructions according to the solution disclosed in the present specification. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
In the above description, the skilled person can design the instructions according to the solutions provided in the present disclosure. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
The wearable device shown in fig. 1 is merely illustrative and is in no way intended to limit the present disclosure, its application, or uses.
< method examples >
Fig. 2 illustrates a control method of a wearable device of one embodiment of the present disclosure, which may be implemented, for example, by the wearable device 1000 as illustrated in fig. 1, which wearable device 1000 may be a head-mounted display, a smart watch, a smart bracelet, and the like.
As shown in fig. 2, the method for controlling a wearable device provided in this embodiment may include the following steps S2100 to S2300.
In step S2100, in response to a set trigger event, a driving signal corresponding to each driving frequency within a preset driving frequency range is sequentially input to the motor.
The set triggering event comprises any one or two items of the wearable device when the wearable device is started and the calibration function of the wearable device is in an opening state.
In this embodiment, a preset trigger event is preset in the controller of the wearable device, where the preset trigger event includes that when the wearable device is powered on and/or when the wearable device is in a calibration mode, and when the preset trigger event occurs, the controller of the wearable device may sequentially input a driving signal corresponding to each driving frequency within a preset driving frequency range to the motor, so that the motor generates vibration based on each driving signal.
It can be understood that, when the user purchases the protective case, since the maximum driving frequency of the wearable device changes, the maximum driving frequency needs to be recalibrated, and the wearable device can calibrate the maximum driving frequency when the wearable device is in the calibration mode.
The preset driving frequency range may be fL to fH, where fL is a minimum frequency within the preset driving frequency range and fH is a maximum frequency within the preset driving frequency range. Generally, the preset driving frequency range may be set between 10HZ and 10000HZ, and the preset driving frequency range may be greater than or equal to the vibration frequency range of the motor, that is, the vibration frequency range of the motor is within the preset driving frequency range, so that each frequency point of the motor can be detected.
It will be appreciated that for a typical linear motor, the maximum drive frequency for the maximum amount of vibration of the motor is typically 200HZ, where the controller of the wearable device may in turn provide drive signals corresponding to drive frequencies of 100HZ, 101HZ, 102HZ … … 300 HZ.
For example, for a wearable device provided with a typical linear motor, when the wearable device is powered on or enters a calibration mode, the controller of the wearable device sends out a driving signal for driving the motor to vibrate, and specifically, the controller of the wearable device may sequentially output a driving signal of 100HZ, a driving signal of 101HZ, and a driving signal of … … 300HZ of 102 HZ.
After responding to a set trigger event and sequentially inputting a driving signal corresponding to each driving frequency in a preset driving frequency range to the motor, entering:
step 1200, obtaining the vibration quantity of the motor, which is acquired by the motion detection sensor and vibrates based on each driving signal.
The wearable device is provided with a motion detection sensor, and the motion detection sensor can be a sensor arranged in the wearable device and used for detecting the motion state of the wearer of the wearable device. The motion detection sensor may include an accelerometer and a gyroscope.
In this embodiment, the controller of the wearable device sequentially inputs the driving signal corresponding to each driving frequency within the preset driving frequency range to the motor, and the motor may vibrate based on each driving signal, and here, the vibration amount of the motor vibrating based on the driving signal corresponding to each driving frequency may be collected by the motion detection sensor.
In this embodiment, because the motion detection sensor provided in the wearable device is various in types, and the bandwidth of the motion detection sensor is generally set to be low, and the vibration amount of the higher vibration frequency cannot be collected, the sampling frequency of the motion detection sensor needs to be adjusted, so that the motion detection sensor collects the vibration amount of the motor vibrating based on the driving signal corresponding to each driving frequency based on the adjusted sampling frequency.
In this embodiment, the obtaining the vibration amount of the motor, which is acquired by the motion detection sensor and is based on the vibration of each driving signal in step 1200, may further include: determining the sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set proportion and each driving frequency; and acquiring the vibration quantity of the motor which is acquired by the motion detection sensor based on the set sampling times and each sampling frequency and vibrates based on each corresponding driving signal.
The sampling frequency is a frequency at which the motion detection sensor collects the vibration amount of the motor, and the sampling frequency may be a value set in combination with the sampling accuracy of the motion detection sensor, and the too high or too low setting of the sampling frequency may result in the low sampling accuracy of the motion detection sensor.
The above set ratio is, for example, one fourth, and the above set sampling number is five, and experiments show that when the set ratio is one fourth and the set sampling number is five, the sampling accuracy of the motion detection sensor is the highest.
For example, if the driving frequency f0 is equal to 200HZ, which is one of the driving frequencies in the above preset driving frequency range, in order to achieve the collection of the vibration amount, the sampling frequency of the motion detection sensor needs to be set to 50HZ, which is a quarter of the driving frequency f0, and it can also be understood that the motion detection sensor collects the vibration amount of the motor vibrating at the driving frequency of 200HZ every 20 milliseconds. Specifically, as shown in fig. 3, when the motion detection sensor starts to acquire, the time interval from the first acquisition point F1 to the second acquisition point F2 is 20ms, and in order to enable more accurate acquisition accuracy, the vibration frequency F0 may be equal to 200HZ for acquiring samples, which is 5 times, i.e., 100ms, since this time is very short for the wearer, and does not cause the problem of too long waiting time. The specific sampling process may be: f1, F2, F3, F4, F5, removing the first value F1 and the last value F5, retaining the three values F2, F3, F4 in the middle, and calculating the average value of F2, F3, F4 as the vibration amount by which the driving signal with the driving frequency F0 equal to 200HZ vibrates.
After acquiring the vibration quantity of the motor which is acquired by the motion detection sensor and vibrates based on the driving signal corresponding to each driving frequency, entering:
step 1300, determining a target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal.
The target vibration amount is the maximum vibration amount, and correspondingly, the target driving frequency is the maximum driving frequency.
In this embodiment, after the target driving frequency corresponding to the target vibration amount is determined from the preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal, the target driving frequency may be written in the controller.
According to the embodiment of the disclosure, the wearable device can respond to the set trigger event, sequentially input the driving signal corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration amount of the motor vibrating based on each driving signal, and then determine the target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal, so that the calibration of the maximum driving frequency corresponding to the maximum vibration amount of the wearable device is realized, that is, the maximum vibration amount is obtained by using the motion detection sensor in the wearable device on the basis of not increasing the cost.
In one embodiment, the method for controlling a wearable device according to the embodiment of the present disclosure may further include steps S3100 to S3300:
step S3100, providing a configuration interface for configuring the wearable device to enter the calibration mode.
The configuration interface may be a calibration control.
It can be understood that, when the user purchases the protective case, since the maximum driving frequency of the wearable device changes, the maximum driving frequency needs to be recalibrated, and at this time, the user can configure through the configuration interface, so that the wearable device enters the calibration mode, and when the wearable device is in the calibration mode, the maximum driving frequency of the wearable device is calibrated.
Step S3200, receiving a first input for the configuration interface.
The first input may be: the specific input of the configuration interface by the user, or the voice instruction input by the user, or the specific gesture input by the user may be determined according to the actual use requirement, which is not limited in the embodiment of the present application.
Continuing with the example above, where the display screen of the wearable device displays calibration controls, a "yes" button and a "no" button may be provided, where the "yes" button may be clicked when the wearer needs to perform calibration of the maximum drive frequency, and where the "no" button may be clicked when the wearer does not need to perform calibration of the maximum drive frequency.
Step S3300, in response to the first input, controlling the wearable device to enter the calibration mode.
Continuing with the above example, when the wearer clicks the "yes" button, the controller of the wearable device may control the wearable device to enter the calibration mode, where the controller of the wearable device may input a driving signal corresponding to each driving frequency within the preset driving frequency range to the motor, acquire a vibration amount of the motor, which is acquired by the motion detection sensor, and which vibrates based on the driving signal corresponding to each driving frequency, and determine a target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor which vibrates based on each driving signal.
According to this embodiment, it not only can be in the wearable equipment condition of leaving the factory and assemble the maximum drive frequency of wearable equipment and educate, also uses equally under the condition that the user changes the use scene, has further promoted user experience.
In one embodiment, when the motor of the wearable device fails, for example, the motor is dropped out, the motor cannot be fixed; for example, the motor wire is broken, the motor does not vibrate; then for example, foreign matters enter the inside of the motor, the vibrator is clamped, the maximum vibration amount cannot be obtained when the motor is calibrated, the wearable device can intercept the defects when the wearable device is in a factory leaving stage, and if the wearable device is located in the hand of a user, a display of the wearable device can output prompt information for prompting the user to carry out inspection and maintenance.
Next, a control method of a wearable device of an example is shown, in which the control method of the wearable device includes the steps of:
step 401, providing a configuration interface for configuring a wearable device to enter a calibration mode.
At step 402, a first input for a configuration interface is received.
In response to the first input, the wearable device is controlled to enter a calibration mode, step 403.
In step 404, when the wearable device is in the calibration mode, a driving signal corresponding to each driving frequency within a preset driving frequency range is sequentially input to the linear motor.
Step 405, according to the set ratio and each driving frequency, determining the sampling frequency of the motion detection sensor corresponding to each driving frequency.
In step 406, the vibration amount of the motor, which is acquired by the motion detection sensor based on the set sampling frequency and each sampling frequency, and vibrates based on each corresponding driving signal is obtained.
Step 407, determining a maximum driving frequency corresponding to the maximum vibration amount from a preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal.
In step 408, the maximum driving frequency is written.
< apparatus embodiment >
Fig. 4 is a schematic structural diagram of a control device of a wearable apparatus according to an embodiment. As shown in fig. 4, the control device 400 of the wearable device includes an input module 410, an obtaining module 420, and a determining module 430.
The input module 410 is configured to sequentially input a driving signal corresponding to each driving frequency within a preset driving frequency range to the motor in response to a set trigger event.
An obtaining module 420, configured to obtain a vibration amount of the motor, which is acquired by the motion detection sensor and is vibrated based on each of the driving signals.
The determining module 430 is configured to determine, according to a vibration amount of the motor that vibrates based on each driving signal, a target driving frequency corresponding to a target vibration amount from the preset driving frequency range.
In one embodiment, the set triggering event includes any one or both of a power-on of the wearable device, an entry of the wearable device into a calibration mode.
In one embodiment, the apparatus further comprises a calibration module (not shown in the figures).
The calibration module is specifically configured to: providing a configuration interface that configures the wearable device to enter the calibration mode; receiving a first input to the configuration interface; controlling the wearable device to enter the calibration mode in response to the first input.
In an embodiment, the obtaining module 420 is specifically configured to: determining the sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set proportion and each driving frequency; and acquiring the vibration quantity of the motor which is acquired by the motion detection sensor based on the set sampling times and each sampling frequency and vibrates based on each corresponding driving signal.
In one embodiment, the set ratio is one fourth and the set number of samples is five.
According to the embodiment of the disclosure, the wearable device can respond to the set trigger event, sequentially input the driving signal corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration amount of the motor vibrating based on each driving signal, and then determine the target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal, so that the calibration of the maximum driving frequency corresponding to the maximum vibration amount of the wearable device is realized, that is, the maximum vibration amount is obtained by using the motion detection sensor in the wearable device on the basis of not increasing the cost.
< apparatus embodiment >
Fig. 5 is a hardware configuration diagram of a wearable device according to an embodiment. As shown in fig. 5, the wearable device 500 includes a motor 510 and a motion detection sensor 520, the wearable device 500 further includes a processor 530 and a memory 540.
The memory 540 may be used to store executable computer instructions.
The processor 530 may be configured to execute the method for controlling a wearable device according to the method embodiment of the present disclosure, according to the control of the executable computer instructions.
The wearable device 500 may be the wearable device 500 shown in fig. 1, or may be a device having another hardware structure, which is not limited herein. The wearable device 500 may be, for example, a head-mounted display, a smart watch, a smart bracelet, etc., which are not limited by the embodiments of the present disclosure.
In further embodiments, the wearable device 500 may include the control apparatus 400 of the above wearable device.
In one embodiment, the modules of the control apparatus 400 of the above wearable device may be implemented by the processor 530 executing computer instructions stored in the memory 540.
According to the embodiment of the disclosure, the wearable device can respond to the set trigger event, sequentially input the driving signal corresponding to each driving frequency in the preset driving frequency range to the motor, acquire the vibration amount of the motor vibrating based on each driving signal, and then determine the target driving frequency corresponding to the target vibration amount from the preset driving frequency range according to the vibration amount of the motor vibrating based on each driving signal, so that the calibration of the maximum driving frequency corresponding to the maximum vibration amount of the wearable device is realized, that is, the maximum vibration amount is obtained by using the motion detection sensor in the wearable device on the basis of not increasing the cost.
< computer-readable storage Medium >
The embodiment of the disclosure also provides a computer readable storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the method for controlling the wearable device provided by the embodiment of the disclosure is executed.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims (10)

1. A method of controlling a wearable device, the method comprising:
responding to a set trigger event, and sequentially inputting a driving signal corresponding to each driving frequency in a preset driving frequency range to the motor;
acquiring the vibration quantity of the motor which is acquired by a motion detection sensor and vibrates based on each driving signal;
and determining a target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor based on the vibration of each driving signal.
2. The method of claim 1, wherein the set triggering event comprises any one or both of a power-on of the wearable device, a calibration mode of the wearable device.
3. The method of claim 2, further comprising:
providing a configuration interface that configures the wearable device to enter the calibration mode;
receiving a first input to the configuration interface;
controlling the wearable device to enter the calibration mode in response to the first input.
4. The method according to claim 1, wherein the acquiring of the vibration amount of the motor that vibrates based on each of the driving signals, which is acquired by a motion detection sensor, includes:
determining the sampling frequency of the motion detection sensor corresponding to each driving frequency according to a set proportion and each driving frequency;
and acquiring the vibration quantity of the motor which is acquired by the motion detection sensor based on the set sampling times and each sampling frequency and vibrates based on each corresponding driving signal.
5. The method according to claim 1, wherein the set proportion is one quarter and the set number of samplings is five.
6. A control apparatus of a wearable device, the apparatus comprising:
the input module is used for responding to a set trigger event and sequentially inputting a driving signal corresponding to each driving frequency in a preset driving frequency range to the motor;
the acquisition module is used for acquiring the vibration quantity of the motor which is acquired by the motion detection sensor and vibrates based on each driving signal;
and the determining module is used for determining the target driving frequency corresponding to the target vibration quantity from the preset driving frequency range according to the vibration quantity of the motor which vibrates based on each driving signal.
7. The apparatus of claim 6, wherein the set triggering event comprises any one or both of a power-on of the wearable device, a calibration mode of the wearable device.
8. The apparatus of claim 7, further comprising a calibration module to:
providing a configuration interface that configures the wearable device to enter the calibration mode;
receiving a first input to the configuration interface;
controlling the wearable device to enter the calibration mode in response to the first input.
9. A wearable device comprising a motor and a motion detection sensor, the wearable device further comprising:
a memory for storing executable computer instructions;
a processor for executing the control method according to any one of claims 1 to 5, according to the control of the executable computer instructions.
10. A computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, perform the control method of any one of claims 1-5.
CN202111562270.8A 2021-12-20 2021-12-20 Wearable device control method and device, wearable device and medium Pending CN114296549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111562270.8A CN114296549A (en) 2021-12-20 2021-12-20 Wearable device control method and device, wearable device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111562270.8A CN114296549A (en) 2021-12-20 2021-12-20 Wearable device control method and device, wearable device and medium

Publications (1)

Publication Number Publication Date
CN114296549A true CN114296549A (en) 2022-04-08

Family

ID=80968512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111562270.8A Pending CN114296549A (en) 2021-12-20 2021-12-20 Wearable device control method and device, wearable device and medium

Country Status (1)

Country Link
CN (1) CN114296549A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176184A (en) * 2005-05-19 2008-05-07 Mks仪器公司 Synchronous undersampling for high-frequency voltage and current measurements
CN101876567A (en) * 2009-11-04 2010-11-03 苏州纳米技术与纳米仿生研究所 Tracking testing system of resonant frequency of quartz crystal microbalance and method thereof
JP2015202386A (en) * 2014-04-11 2015-11-16 達矢 野口 wearable device
CN107977077A (en) * 2017-11-20 2018-05-01 珠海市魅族科技有限公司 Vibration control method, terminal, computer equipment and readable storage medium storing program for executing
CN109274309A (en) * 2018-09-28 2019-01-25 Oppo广东移动通信有限公司 Motor control method, device, electronic equipment and storage medium
CN113552936A (en) * 2020-04-23 2021-10-26 北京小米移动软件有限公司 Vibration control method and device and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176184A (en) * 2005-05-19 2008-05-07 Mks仪器公司 Synchronous undersampling for high-frequency voltage and current measurements
CN101876567A (en) * 2009-11-04 2010-11-03 苏州纳米技术与纳米仿生研究所 Tracking testing system of resonant frequency of quartz crystal microbalance and method thereof
JP2015202386A (en) * 2014-04-11 2015-11-16 達矢 野口 wearable device
CN107977077A (en) * 2017-11-20 2018-05-01 珠海市魅族科技有限公司 Vibration control method, terminal, computer equipment and readable storage medium storing program for executing
CN109274309A (en) * 2018-09-28 2019-01-25 Oppo广东移动通信有限公司 Motor control method, device, electronic equipment and storage medium
CN113552936A (en) * 2020-04-23 2021-10-26 北京小米移动软件有限公司 Vibration control method and device and terminal equipment

Similar Documents

Publication Publication Date Title
US11244264B2 (en) Interleaving surprise activities in workflow
KR102392113B1 (en) Electronic device and method for processing voice command thereof
US20160202951A1 (en) Portable dialogue engine
US9233468B2 (en) Commanding a mobile robot using glyphs
EP3332338A1 (en) Question and answer processing method and electronic device for supporting the same
CN112270399B (en) Operator registration processing method and device based on deep learning and electronic equipment
EP2884385A1 (en) Method for performing voice control operation on terminal, and apparatus
KR20230034197A (en) Circuit principle diagram inspection method, device and system
CN111654794B (en) MEMS microphone signal processing method and device and MEMS microphone
CN107508573B (en) Crystal oscillator oscillation frequency correction method and device
CN103631375A (en) Method and apparatus for controlling vibration intensity according to situation awareness in electronic device
CN110806638B (en) Method and device for determining resonance frequency of micro-vibration mirror and computer storage medium
US20190383698A1 (en) Automatic analysis of a set of optical fibers of an optical cable
WO2019147034A1 (en) Electronic device for controlling sound and operation method therefor
CN114296549A (en) Wearable device control method and device, wearable device and medium
CN112558777A (en) Screen on-off control method and device of wearable equipment and equipment
CN110099333B (en) Audio signal processing method and device, terminal and storage medium
US10234826B2 (en) Wearable device and control method therefor
CN110988840B (en) Method and device for acquiring flight time and electronic equipment
CN110994912B (en) Vibration device, method of controlling vibration device, electronic apparatus, and storage medium
CN114489154A (en) Control method, control device, handle and medium
CN110794573B (en) MEMS galvanometer feedback signal acquisition method, driving method and system
CN114356079A (en) Wearable device control method and device, wearable device and medium
CN110794572B (en) Method for acquiring feedback signal of MEMS galvanometer, driving method and system
CN112434229B (en) Data query method, device, equipment and storage 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