CN110162183B - Volley gesture operation method, wearable device and computer readable storage medium - Google Patents

Volley gesture operation method, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN110162183B
CN110162183B CN201910465242.0A CN201910465242A CN110162183B CN 110162183 B CN110162183 B CN 110162183B CN 201910465242 A CN201910465242 A CN 201910465242A CN 110162183 B CN110162183 B CN 110162183B
Authority
CN
China
Prior art keywords
gesture operation
volley
volley gesture
operation result
user
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.)
Active
Application number
CN201910465242.0A
Other languages
Chinese (zh)
Other versions
CN110162183A (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910465242.0A priority Critical patent/CN110162183B/en
Publication of CN110162183A publication Critical patent/CN110162183A/en
Application granted granted Critical
Publication of CN110162183B publication Critical patent/CN110162183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • 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/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a volley gesture operation method, wearable equipment and a computer readable storage medium, and relates to the technical field of wearable equipment, wherein the method comprises the following steps: detecting a user volley gesture operation; inquiring an actual operation result corresponding to the volley gesture operation in a preset key value pair; and if the actual operation result corresponding to the volley gesture operation is inquired, executing the actual operation result corresponding to the volley gesture operation. According to the method and the device, the user high-altitude gesture operation and the corresponding user operation result are collected and analyzed, the preset key value pair is generated for the actual operation result corresponding to the user high-altitude gesture operation, when the high-altitude gesture operation is detected again, the corresponding actual operation result is directly obtained and executed from the preset key value pair, the misoperation caused by different user operation ranges is effectively avoided, and the accuracy rate of the user high-altitude operation is improved.

Description

Volley gesture operation method, wearable device and computer readable storage medium
Technical Field
The application relates to the technical field of wearable equipment, in particular to a volley gesture operation method, wearable equipment and a computer readable storage medium.
Background
With the development of wireless communication technology, the applications of smart wearable devices are also more and more widespread. For example, in the intelligent wrist machine, the volley gesture operation is realized through a built-in sensor, namely, a user can slide the screen at intervals of up, down, left and right and the like. Compared with the traditional touch operation, the volley gesture interaction has the advantages that the operable space range is larger, the screen contact can be reduced, and the wrist lifting amplitude is reduced.
In the prior art, when the wrist machine monitors that the volley gesture operation is performed, the corresponding gesture operation is performed, and when a user needs to perform a continuous sliding interface, a backsliding phenomenon is caused due to the fact that the volley gesture amplitude of the user is large, operation errors are caused, and user experience is affected.
Disclosure of Invention
The invention mainly aims to provide a volley gesture operation method, wearable equipment and a computer readable storage medium, and aims to solve the technical problem of low accuracy rate of volley gesture operation.
In order to achieve the above object, an aspect of the present invention provides a method for handling volley gestures, the method including:
detecting a user volley gesture operation;
inquiring an actual operation result corresponding to the volley gesture operation in a preset key value pair;
and if the actual operation result corresponding to the volley gesture operation is inquired, executing the actual operation result corresponding to the volley gesture operation.
Further, the preset key value pairs include a corresponding relationship between the volley gesture operation and an actual operation result, and the preset key value pairs are obtained by the following method:
when a collecting instruction is detected, collecting the volley gesture operation data;
when a confirmation instruction is detected, collecting the volley gesture operation and a corresponding user operation result, and inputting the volley gesture operation and the corresponding user operation result into a database;
and analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
Further, when the collecting instruction is detected, collecting the volley gesture operation data comprises:
creating a volley gesture collection switch;
and when a control instruction for the volley gesture mobile phone switch is detected, collecting the volley gesture operation data.
Further, the analyzing the volley gesture operation entered into the database and the corresponding user operation result, and the generating the preset key value pair for the actual operation result corresponding to the entered volley gesture operation includes:
counting the corresponding relation between the volley gesture operation and the corresponding user operation result;
and matching the corresponding actual operation result with the input volley gesture operation according to the corresponding relation to generate the preset key value.
Further, the detecting the user override gesture includes:
receiving detection data of a preset position proximity sensor;
acquiring the return time of the detection data of the corresponding proximity sensor and the size of the detection data according to the detection data;
determining a response sequence of corresponding proximity sensors and a distance change between a hand and each proximity sensor during the volley gesture operation according to the return time of the detection data and the size of the detection data;
and determining the volley gesture operation according to the response sequence of each proximity sensor and the change of the distance between the hand and each proximity sensor during the volley gesture operation.
Further, the method further comprises:
and if the actual operation result corresponding to the volley gesture operation is not inquired, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
Further, the analyzing the volley gesture operation to generate a corresponding actual operation result, and the storing the volley gesture operation and the corresponding actual operation result into the preset key value pair includes:
inputting the volley gesture operation and a corresponding user operation result into a database;
analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
Further, after detecting that the user is in the air and performing a gesture operation, the method further includes:
determining whether the volley gesture operation is a first operation;
and if the volley gesture operation is the first operation, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
Another aspect of the present invention also provides a wearable device, including:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of any of the above methods of volley gesture operation.
In another aspect, the present invention further provides a computer readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of any of the above-described methods for volley gesture operations.
According to the method, the wearable device and the computer-readable storage medium for operating the volley gesture, provided by the embodiment of the invention, the volley gesture operation of the user and the corresponding user operation result are collected and analyzed, the preset key value pair is generated for the actual operation result corresponding to the volley gesture operation of the user in a matching way, when the volley gesture operation is detected again, the corresponding actual operation result is directly obtained from the preset key value pair and executed, the misoperation caused by different user operation amplitudes is effectively avoided, and the accuracy rate of the volley operation of the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
fig. 6 is a flowchart of a volley gesture operation method according to an embodiment of the present disclosure;
FIG. 7 is a flowchart illustrating another exemplary method for performing a volley gesture according to an embodiment of the present disclosure;
FIG. 8 is a flowchart illustrating another exemplary method for volley gesture operations according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a wearable device provided in an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a mobile terminal such as an intelligent wearable device, an intelligent watch, an intelligent mobile phone and the like. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: an RF (Radio Frequency) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and send a message or in a call process, receive and send a signal, specifically, the radio frequency unit 101 may send uplink information to a base station, and may also receive downlink information sent by the base station and send the received downlink information to the processor 110 of the wearable device for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that information of the wearable device is updated, for example, after detecting that a geographic location of the wearable device changes, the base station may send a message notification of the change of the geographic location to the radio frequency unit 101 of the wearable device, after receiving the message notification, the radio frequency unit 101 may send the message notification to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the wearable device finishes downloading the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 may implement communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiment of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in each direction (generally three axes), detect the gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of the heart rate by being in close proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Wearable device 100 may further include a power source 111 (e.g., a battery) for powering various components, and preferably, power source 111 may be logically connected to processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described in detail herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the foregoing embodiments, it can be seen that, if the device is a watch, a wearable device, or a wearable device, the screen of the device may not cover a watchband area of the device, and may also cover the watchband area of the device. Here, the present application proposes an alternative embodiment, in which the device may be a watch, a wearable device, or a wearable device, and the device includes a screen and a connection portion. The screen can be a flexible screen, and the connecting part can be a watchband. Optionally, the screen of the device or the display area of the screen may partially or completely cover the watchband of the device. As shown in fig. 5, fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application, where a screen of the device extends to both sides, and a part of the screen covers a watchband of the device. In other embodiments, the screen of the device may also be entirely covered on the watchband of the device, and this is not limited in this application.
Based on the wearable device hardware structure, the embodiments of the method are provided.
As shown in fig. 6, an embodiment of the present invention provides a method for handling volley gestures, where the method includes:
s601, detecting the volley gesture operation of a user;
the user volitional gesture operation can be detected through a proximity sensor or a gesture sensor arranged in the wearable device.
S602, inquiring an actual operation result corresponding to the volley gesture operation in a preset key value pair;
in this embodiment, the preset key value pair includes a corresponding relationship between the volley gesture operation and an actual operation result. The actual operation result overrides the correct operation result corresponding to the gesture operation, for example, the gesture operation overrides the right-left sliding three times, and the actual operation result corresponds to the gesture operation overrides the correct operation result corresponding to the gesture operation once; the volley gesture operation is respectively performed by sliding left, right, up and down once, and the corresponding actual operation result is only performed by sliding left once. Or to slide up only once.
S603, if the actual operation result corresponding to the volley gesture operation is inquired, executing the actual operation result corresponding to the volley gesture operation.
According to the method for operating the volley gesture, provided by the embodiment of the invention, the volley gesture operation of the user and the corresponding user operation result are collected and analyzed, the preset key value pair is generated for the actual operation result corresponding to the volley gesture operation of the user in a matching manner, when the volley gesture operation is detected again, the corresponding actual operation result is directly obtained from the preset key value pair and executed, the misoperation caused by different user operation amplitudes is effectively avoided, and the accuracy rate of the volley operation of the user is improved.
Fig. 7 shows another volley gesture operation method according to an embodiment of the present invention, where the method includes:
s701, detecting a user volley gesture operation;
the volley gesture operation of the user can be detected and obtained through a proximity sensor or a gesture sensor arranged in the wearable device.
In one embodiment, this step comprises:
s7011, receiving detection data of a preset position proximity sensor;
specifically, the proximity sensor of the preset position may be implemented in the form of a proximity sensor array. The proximity sensor array refers to a preset distribution array stored by one or more proximity sensors; each proximity sensor in the distribution array is provided with different labels according to a preset rule.
Wherein, the preset distribution array may be: a proximity sensors are arranged in each row in the transverse direction, b proximity sensors are arranged in each column in the longitudinal direction, and the a + b proximity sensors form a grid array, wherein specific numbers of a and b can be set according to requirements. The predetermined distribution array may also be: the proximity sensors arranged at the angle alpha and the proximity sensors arranged at the angle beta are arranged alternately to form a trapezoidal array or a parallelogram array; wherein, the specific numbers of the angle alpha and the angle beta can be set according to requirements.
In addition, in order to facilitate subsequent determination of the change condition of each proximity sensor, different labels are set for each proximity sensor, and specific setting rules can be defined according to different application scenes. For example, according to the front-rear positional relationship of each proximity sensor in the distribution array, or according to the mounting order of each proximity sensor.
S7012, obtaining the return time of the detection data of the corresponding proximity sensor and the size of the detection data according to the detection data;
the detection data is data generated by each proximity sensor according to position changes of a finger or a touch pen when the finger or the touch pen arranged in a matched manner approaches the wearable device.
In this embodiment, when detecting detection data of the proximity sensor, the wearable device may analyze the detection data to obtain operation data information included in the detection data. Specifically, the operation data includes, but is not limited to, a return time of the detection data and a size of the detection data.
S7013, determining a response sequence of corresponding proximity sensors and distance change between a hand and each proximity sensor during the volley gesture operation according to the return time of the detection data and the size of the detection data;
the return time of the detection data indicates the corresponding sequence of the proximity sensors, namely the sliding track of the finger or the touch pen, and the size of the detection data indicates the distance change of the proximity sensors, namely the sliding amplitude of the finger or the touch pen.
S7014, determining the volley gesture operation according to the response sequence of each proximity sensor and the distance change between the hand and each proximity sensor during the volley gesture operation.
S702, inquiring an actual operation result corresponding to the volley gesture operation in a preset key value pair;
in this embodiment, the preset key value pair includes a corresponding relationship between the volley gesture operation and an actual operation result. The actual operation result overrides the correct operation result corresponding to the gesture operation, for example, the gesture operation overrides the right-left sliding three times, and the actual operation result corresponds to the gesture operation overrides the correct operation result corresponding to the gesture operation once; the volley gesture operation is respectively performed by sliding left, right, up and down once, and the corresponding actual operation result is only performed by sliding left once. Or to slide up only once.
Specifically, the preset key-value pair is obtained by:
s7021, creating a volley gesture collecting switch;
specifically, the volley gesture collection switch may be a virtual switch disposed on the wearable device, or may be an entity switch disposed on the wearable device.
S7022, collecting volley gesture operation data when a collecting instruction is detected;
specifically, when a control instruction for the volley gesture mobile phone switch is detected, the volley gesture operation data is collected. For example, the user controls the wearable device to start collecting the volley gesture operation by touching or pressing the volley gesture collection switch.
S7023, when a confirmation instruction is detected, collecting the volley gesture operation and a corresponding user operation result, and inputting the volley gesture operation and the corresponding user operation result into a database;
in the step, whether the user collects the volley gesture operation or not can be prompted, when the fact that the user clicks and confirms is detected, the volley gesture operation and the corresponding user operation result are collected, and the volley gesture operation and the corresponding user operation result are recorded into a database;
the user operation result is the same operation as the volley gesture operation, for example, the volley gesture operation is three times of left and right sliding, and the corresponding user operation result is also three times of left and right sliding.
S7024, analyzing the recorded volley gesture operation and the corresponding user operation result of the database, and matching the recorded volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
Specifically, in this step, the corresponding relationship between the volley gesture operation and the corresponding user operation result is counted; for example, in one statistical result, for example, the volley gesture operation is three times of left-right sliding, and the corresponding actual operation result is one time of left sliding; the volley gesture operation is respectively sliding once left, right, up and down, and the corresponding actual operation result is only sliding once left. Or to slide up only once. And generating the preset key value pair according to the corresponding relation, wherein the corresponding actual operation result is matched with the entered volley gesture operation, and then, in a preset key value pair, sliding for three times left and right and sliding for one time left are mutually the key value pair, sliding for one time left and right and up and down respectively is mutually the key value pair, or sliding for one time left and right and up and down respectively is mutually the key value pair with sliding for one time up and down.
S703, if the actual operation result corresponding to the volley gesture operation is inquired, executing the actual operation result corresponding to the volley gesture operation.
S704, if the actual operation result corresponding to the volley gesture operation is not inquired, executing the user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
Analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair, wherein the storing of the volley gesture operation and the corresponding actual operation result comprises:
s7041, inputting the volley gesture operation and the corresponding user operation result into a database;
s7042, analyzing the recorded volley gesture operation and the corresponding user operation result of the database, and matching the recorded volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
Step S7042 is the same as step S702 and is not described again.
According to the volley gesture operation method provided by the embodiment, the volley gesture operation of which the actual operation result is not inquired in the preset key value pair is analyzed, the matched actual operation result is found and stored in the preset key value pair, and the volley gesture operation method is convenient to directly inquire and call in the preset key value pair in the subsequent volley gesture operation.
Fig. 8 is a schematic diagram illustrating a method for performing a volley gesture according to another embodiment of the present invention, where the method includes:
s801, detecting a user volley gesture operation;
step S801 is the same as step S701, and is not described herein again.
S802, determining whether the volley gesture operation is the first operation;
the first operation refers to that the voltile gesture operation is the operation checked for the first time, and the same operation as the voltile gesture operation is not detected before.
And S803, if the volley gesture operation is the first operation, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
In this step, "analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result in the preset key value pair" is the same as step S704, and is not repeated.
In this embodiment, if the volley gesture operation is not the first operation, the above steps S702 to S704 are executed.
Based on the above method embodiments, the present invention further provides a wearable device, as shown in fig. 9, where the wearable device 9 includes: a memory 91, a processor 92 and a program of volley gesture operation stored on the memory and executable on the processor, the program of volley gesture operation when executed by the processor implementing the steps of:
detecting a user volley gesture operation;
inquiring an actual operation result corresponding to the volley gesture operation in a preset key value pair;
and if the actual operation result corresponding to the volley gesture operation is inquired, executing the actual operation result corresponding to the volley gesture operation.
In a specific embodiment, the preset key-value pair includes a corresponding relationship between the volley gesture operation and an actual operation result, and the preset key-value pair is obtained by:
when a collecting instruction is detected, collecting the volley gesture operation data;
when a confirmation instruction is detected, collecting the volley gesture operation and a corresponding user operation result, and inputting the volley gesture operation and the corresponding user operation result into a database;
analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
In one embodiment, in the step of collecting data of the voltile gesture operation when the collection instruction is detected, the processor is further configured to execute the program of the voltile gesture operation to implement the following steps:
creating a volley gesture collection switch;
and when a control instruction for the volley gesture mobile phone switch is detected, collecting the volley gesture operation data.
In a specific embodiment, in the step of analyzing the volley gesture operation entered into the database and the corresponding user operation result, and generating the preset key value pair by matching the actual operation result corresponding to the entered volley gesture operation, the processor is further configured to execute a program of the volley gesture operation, so as to implement the following steps:
counting the corresponding relation between the volley gesture operation and the corresponding user operation result;
and matching the corresponding actual operation result with the input volley gesture operation according to the corresponding relation to generate the preset key value.
In a specific embodiment, in the step of detecting a user volley gesture, the processor is further configured to execute the program for volley gesture operation to implement the following steps:
receiving detection data of a preset position proximity sensor;
acquiring the return time of the detection data of the corresponding proximity sensor and the size of the detection data according to the detection data;
determining the response sequence of the corresponding proximity sensors and the distance change between the hand and each proximity sensor during the volley gesture operation according to the return time of the detection data and the size of the detection data;
and determining the volley gesture operation according to the response sequence of each proximity sensor and the change of the distance between the hand and each proximity sensor during the volley gesture operation.
In a specific embodiment, after the step of querying an actual operation result corresponding to the volley gesture operation in the preset key value pair, the processor is further configured to execute a program of the volley gesture operation, so as to implement the following steps:
and if the actual operation result corresponding to the volley gesture operation is not inquired, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
In a specific embodiment, the analyzing the volley gesture operation generates a corresponding actual operation result, and the volley gesture operation and the corresponding actual operation result are stored in the preset key value centering step, where the processor is further configured to execute a program of the volley gesture operation, so as to implement the following steps:
inputting the volley gesture operation and a corresponding user operation result into a database;
and analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
In a specific embodiment, after the step of detecting the volley gesture operation of the user, the processor is further configured to execute the program of the volley gesture operation to implement the following steps:
determining whether the volley gesture operation is a first operation;
and if the volley gesture operation is the first operation, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
Yet another aspect of the present invention provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
detecting a user volley gesture operation;
inquiring an actual operation result corresponding to the volley gesture operation in a preset key value pair;
and if the actual operation result corresponding to the volley gesture operation is inquired, executing the actual operation result corresponding to the volley gesture operation.
In a specific embodiment, the preset key-value pair includes a corresponding relationship between the volley gesture operation and an actual operation result, and the preset key-value pair is obtained by:
when a collecting instruction is detected, collecting the volley gesture operation data;
when a confirmation instruction is detected, collecting the volley gesture operation and a corresponding user operation result, and inputting the volley gesture operation and the corresponding user operation result into a database;
analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
In one embodiment, in the collecting volley gesture operation data step when the collecting instruction is detected, the one or more programs are executable by the one or more processors to perform the steps of:
creating a volley gesture collection switch;
and when a control instruction for the volley gesture mobile phone switch is detected, collecting the volley gesture operation data.
In one specific embodiment, in the step of analyzing the volley gesture operation entered into the database and the corresponding user operation result, and generating the preset key value pair by matching the entered volley gesture operation with the corresponding actual operation result, the one or more programs may be executed by one or more processors to implement the following steps:
counting the corresponding relation between the volley gesture operation and the corresponding user operation result;
and matching the corresponding actual operation result with the input volley gesture operation according to the corresponding relation to generate the preset key value.
In one embodiment, in the step of detecting a user override gesture, the one or more programs are executable by the one or more processors to implement the steps of:
receiving detection data of a preset position proximity sensor;
acquiring the return time of the detection data of the corresponding proximity sensor and the size of the detection data according to the detection data;
determining the response sequence of the corresponding proximity sensors and the distance change between the hand and each proximity sensor during the volley gesture operation according to the return time of the detection data and the size of the detection data;
and determining the volley gesture operation according to the response sequence of each proximity sensor and the distance change between the hand and each proximity sensor during the volley gesture operation.
In a specific embodiment, after the step of querying the actual operation result corresponding to the volley gesture operation in the preset key value pair, the one or more programs may be executed by one or more processors to implement the following steps:
and if the actual operation result corresponding to the volley gesture operation is not inquired, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
In a specific embodiment, the analyzing the volley gesture operation generates a corresponding actual operation result, and the one or more programs in the storing the volley gesture operation and the corresponding actual operation result in the centering step with the preset key value may be executed by one or more processors, so as to implement the following steps:
inputting the volley gesture operation and a corresponding user operation result into a database;
analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
In one embodiment, after the step of detecting the user volition gesture operation, the one or more programs are executable by the one or more processors to perform the steps of:
determining whether the volley gesture operation is a first operation;
and if the volley gesture operation is the first operation, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
According to the method, the wearable device and the computer-readable storage medium for operating the volley gesture, provided by the embodiment of the invention, the volley gesture operation of the user and the corresponding user operation result are collected and analyzed, the preset key value pair is generated for the actual operation result matched with the corresponding volley gesture operation of the user, and when the volley gesture operation is detected again, the corresponding actual operation result is directly obtained and executed from the preset key value pair, so that misoperation caused by different operation amplitudes of the user is effectively avoided, and the accuracy rate of the volley operation of the user is improved.

Claims (9)

1. A method of volley gesture operation, the method comprising:
detecting a user volley gesture operation;
inquiring an actual operation result corresponding to the volley gesture operation in a preset key value pair;
if the actual operation result corresponding to the volley gesture operation is inquired, executing the actual operation result corresponding to the volley gesture operation; the actual operation result is a correct operation result corresponding to the volley gesture operation;
wherein the method further comprises:
if the actual operation result corresponding to the volley gesture operation is not inquired, executing a user operation result corresponding to the volley gesture operation; the user operation result is the same as the volley gesture operation;
and counting the volley gesture operation, counting the corresponding relation between the volley gesture operation and the corresponding user operation result, analyzing the corresponding relation, generating a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
2. The method according to claim 1, wherein the preset key-value pair comprises a corresponding relationship between the volley gesture operation and an actual operation result, and is obtained by:
when a collecting instruction is detected, collecting the volley gesture operation data;
when a confirmation instruction is detected, collecting the volley gesture operation and a corresponding user operation result, and inputting the volley gesture operation and the corresponding user operation result into a database;
and analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
3. The method for volley gesture operation according to claim 2, wherein when the collecting instruction is detected, the collecting of volley gesture operation data comprises:
creating a volley gesture collection switch;
and when a control instruction for the volley gesture mobile phone switch is detected, collecting the volley gesture operation data.
4. The method for airwave gesture operation according to claim 2, wherein the analysis of the airwave gesture operation entered into the database and the corresponding user operation result, and the generation of the preset key value pair for the actual operation result corresponding to the entered airwave gesture operation matching comprises:
counting the corresponding relation between the volley gesture operation and the corresponding user operation result;
and matching the corresponding actual operation result with the input volley gesture operation according to the corresponding relation to generate the preset key value.
5. The method according to claim 1, wherein the detecting of the user volley operation gesture comprises:
receiving detection data of a preset position proximity sensor;
acquiring the return time of the detection data of the corresponding proximity sensor and the size of the detection data according to the detection data;
determining the response sequence of the corresponding proximity sensors and the distance change between the hand and each proximity sensor during the volley gesture operation according to the return time of the detection data and the size of the detection data;
and determining the volley gesture operation according to the response sequence of each proximity sensor and the change of the distance between the hand and each proximity sensor during the volley gesture operation.
6. The method according to claim 1, wherein the analyzing the volley gesture operation to generate a corresponding actual operation result, and the storing the volley gesture operation and the corresponding actual operation result into the preset key value pair comprises:
inputting the volley gesture operation and a corresponding user operation result into a database;
analyzing the volley gesture operation and the corresponding user operation result which are input into the database, and matching the input volley gesture operation with the corresponding actual operation result to generate the preset key value pair.
7. The volley gesture operation method according to claim 1, wherein after detecting the volley gesture operation of the user, the method further comprises:
determining whether the volley gesture operation is a first operation;
and if the volley gesture operation is the first operation, executing a user operation result corresponding to the volley gesture operation, analyzing the volley gesture operation to generate a corresponding actual operation result, and storing the volley gesture operation and the corresponding actual operation result into the preset key value pair.
8. A wearable device, characterized in that the wearable device comprises:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program when executed by the processor implements the steps of the method of volley gesture operation of any one of claims 1 to 7.
9. A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the method of volley gesture operation of any of claims 1-7.
CN201910465242.0A 2019-05-30 2019-05-30 Volley gesture operation method, wearable device and computer readable storage medium Active CN110162183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465242.0A CN110162183B (en) 2019-05-30 2019-05-30 Volley gesture operation method, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465242.0A CN110162183B (en) 2019-05-30 2019-05-30 Volley gesture operation method, wearable device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110162183A CN110162183A (en) 2019-08-23
CN110162183B true CN110162183B (en) 2022-11-01

Family

ID=67630212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465242.0A Active CN110162183B (en) 2019-05-30 2019-05-30 Volley gesture operation method, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110162183B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793057A (en) * 2014-01-26 2014-05-14 华为终端有限公司 Information processing method, device and equipment
WO2015172424A1 (en) * 2014-05-16 2015-11-19 中兴通讯股份有限公司 Control method and apparatus, electronic device, and computer storage medium
CN106325503A (en) * 2016-08-16 2017-01-11 努比亚技术有限公司 Interactive operation identification device and method
CN106572254A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Gesture interaction device and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8717318B2 (en) * 2011-03-29 2014-05-06 Intel Corporation Continued virtual links between gestures and user interface elements
US20150029092A1 (en) * 2013-07-23 2015-01-29 Leap Motion, Inc. Systems and methods of interpreting complex gestures
KR102287160B1 (en) * 2014-07-31 2021-08-06 엘지전자 주식회사 The wearble device and control method thereof
CN105138949A (en) * 2015-07-07 2015-12-09 济南大学 Gesture control method based on flexible mapping between multiple gestures and semantics
CN105808142A (en) * 2016-03-07 2016-07-27 上海斐讯数据通信技术有限公司 Method and apparatus for adjusting player of terminal device
EP3674851A1 (en) * 2016-07-07 2020-07-01 David Franklin Gesture-based user interface
CN108984238B (en) * 2018-05-29 2021-11-09 北京五八信息技术有限公司 Gesture processing method and device of application program and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793057A (en) * 2014-01-26 2014-05-14 华为终端有限公司 Information processing method, device and equipment
WO2015172424A1 (en) * 2014-05-16 2015-11-19 中兴通讯股份有限公司 Control method and apparatus, electronic device, and computer storage medium
CN106325503A (en) * 2016-08-16 2017-01-11 努比亚技术有限公司 Interactive operation identification device and method
CN106572254A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Gesture interaction device and method

Also Published As

Publication number Publication date
CN110162183A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
CN110531915B (en) Screen operation method and terminal equipment
WO2014086218A1 (en) Interface adjustment method, device and terminal
CN110299100B (en) Display direction adjustment method, wearable device and computer readable storage medium
CN109739394B (en) SAR value processing method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN109521937B (en) Screen display control method and mobile terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN109819102A (en) A kind of navigation bar control method and mobile terminal, computer readable storage medium
CN110187769B (en) Preview image viewing method, equipment and computer readable storage medium
CN110177209B (en) Video parameter regulation and control method, device and computer readable storage medium
CN110098845B (en) Message processing method, wearable device, mobile terminal and readable storage medium
CN108196663B (en) Face recognition method and mobile terminal
CN108307031B (en) Screen processing method, device and storage medium
CN111310165B (en) Account switching or registering method and electronic equipment
CN110086808B (en) Account login control method and device and computer readable storage medium
CN110177208B (en) Video recording association control method, equipment and computer readable storage medium
CN110113529B (en) Shooting parameter regulation and control method and device and computer readable storage medium
CN109327605B (en) Display control method and device and mobile terminal
CN109445656B (en) Screen control method and terminal equipment
CN109634503B (en) Operation response method and mobile terminal
CN108897467B (en) Display control method and terminal equipment
CN110764650A (en) Key trigger detection method and electronic equipment
CN111370026A (en) Equipment state detection method and electronic equipment
CN110657794A (en) Compass calibration method of wearable device, wearable device 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
GR01 Patent grant
GR01 Patent grant