CN106200920A - A kind of right-hand man's recognition methods and mobile terminal - Google Patents
A kind of right-hand man's recognition methods and mobile terminal Download PDFInfo
- Publication number
- CN106200920A CN106200920A CN201610505342.8A CN201610505342A CN106200920A CN 106200920 A CN106200920 A CN 106200920A CN 201610505342 A CN201610505342 A CN 201610505342A CN 106200920 A CN106200920 A CN 106200920A
- Authority
- CN
- China
- Prior art keywords
- sensor
- mobile terminal
- capacitance
- value
- hand
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of right-hand man's recognition methods and mobile terminal, wherein, described right-hand man's recognition methods includes: after detecting that mobile terminal is held, obtain on the left of described mobile terminal the first capacitance variations value of first sensor on predeterminable area, obtain on the right side of described mobile terminal the second capacitance variations value of the second sensor on predeterminable area, according to described first capacitance variations value and described second capacitance variations value, identification is left-handed or right hand gripping.The solution of the present invention, it is possible to only only by the capacitance variations value of sensor on mobile terminal, just identifying is left-handed or right hand gripping, promotes the efficiency that right-hand man identifies.
Description
Technical Field
The invention relates to the technical field of terminal identification, in particular to a left-right hand identification method and a mobile terminal.
Background
With the development of terminal technology, the user's experience requirements on the mobile terminal are higher and higher, for example, the signal of an antenna on the mobile terminal is better, the large-screen mobile terminal is suitable for a one-handed mode, and the like.
When a user holds the mobile terminal with one hand, performance of an antenna on the mobile terminal is often affected, and operations of some applications in the mobile terminal are often affected. In this case, it is necessary to recognize whether the user holds the mobile terminal with the left hand or the right hand, and to perform corresponding adjustment according to the holding manner, for example, adjustment of the use of the antenna, adjustment of the one-handed mode of the mobile terminal, and the like.
However, there is currently no method for efficiently identifying the left and right hands.
Disclosure of Invention
The embodiment of the invention provides a left-right hand identification method and a mobile terminal, which aim to solve the problem that the left hand and the right hand cannot be efficiently identified in the prior art.
In one aspect, an embodiment of the present invention provides a left-right hand identification method, including:
after the mobile terminal is detected to be held, acquiring a first capacitance change value of a first sensor in a preset area on the left side of the mobile terminal;
acquiring a second capacitance change value of a second sensor in a preset area on the right side of the mobile terminal;
and identifying whether the hand is held by the left hand or the right hand according to the first capacitance change value and the second capacitance change value.
In another aspect, an embodiment of the present invention further provides a mobile terminal, including:
the mobile terminal comprises a first sensor, a second sensor and a third sensor, wherein the first sensor is used for acquiring a first capacitance change value of the first sensor in a preset area on the left side of the mobile terminal after the mobile terminal is detected to be held;
the second sensor is used for acquiring a second capacitance change value of the second sensor in a preset area on the right side of the mobile terminal;
and the identification module is used for identifying whether the hand holding is carried out by the left hand or the right hand according to the first capacitance change value acquired by the first sensor and the second capacitance change value acquired by the second sensor.
In this way, according to the left-hand and right-hand identification method provided by the embodiment of the invention, after the mobile terminal is detected to be held, the first capacitance change value of the first sensor on the left preset area of the mobile terminal is acquired, the second capacitance change value of the second sensor on the right preset area of the mobile terminal is acquired, and the left-hand holding or the right-hand holding is identified according to the first capacitance change value and the second capacitance change value, so that the left-hand holding or the right-hand holding can be identified only by the capacitance change value of the sensor on the mobile terminal, and the left-hand and right-hand identification efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 shows a flowchart of a left-right hand recognition method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a left-right hand recognition method according to a second embodiment of the present invention.
Fig. 3 is a flowchart illustrating a left-right hand recognition method according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention.
Fig. 5 is a second schematic structural diagram of a mobile terminal according to a fourth embodiment of the invention.
Fig. 6 is a third schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
First embodiment
Referring to fig. 1, an embodiment of the present invention provides a left-right hand identification method applied to a mobile terminal, including steps 101 to 103, which are described in detail below.
Step 101: after the fact that the mobile terminal is held is detected, a first capacitance change value of a first sensor on a preset area on the left side of the mobile terminal is obtained.
In the embodiment of the invention, the preset area on the left side of the mobile terminal is specifically a lower area on the left side of a screen when the screen of the mobile terminal faces upwards. When the user holds the mobile terminal with the left hand, the palm of the left hand is generally located in the left preset area, and when the user holds the mobile terminal with the right hand, the fingers of the right hand are generally located in the left preset area.
The left preset area is provided with a first sensor, the first sensor is a capacitive metal sensor based on capacitance change, and the first sensor relates to a metal covering layer which can be equivalent to a capacitance plate. In practical applications, the metal covering layer is, for example, a housing metal of a mobile terminal or an antenna metal, and the invention is not limited thereto.
Specifically, a first capacitance change value C of the first sensorFComprises the following steps: cF=0 rA/d。
Wherein,0is a dielectric constant of air and is,rthe relative dielectric constant of the metal coating, A is the effective contact area between the hand and the metal coating, and d is the thickness of the metal coating.
When a user touches the first sensor with either the left or right hand, the effective area of the corresponding metal overlay is typically affected, thereby affecting the capacitance value of the first sensor. What is obtained in step 101 is the capacitance change value of the first sensor after the user holds the mobile terminal with one hand.
Step 102: and acquiring a second capacitance change value of a second sensor in a preset area on the right side of the mobile terminal.
In the embodiment of the invention, the preset area on the right side of the mobile terminal is specifically a lower area on the right side of a screen when the screen of the mobile terminal faces upwards. When the user holds the mobile terminal with the right hand, the palm of the right hand is generally located in the left preset area, and when the user holds the mobile terminal with the left hand, the fingers of the left hand are generally located in the right preset area.
The second sensor is also a capacitive metal sensor based on capacitance change, and relates to a metal covering layer, the implementation principle is the same as that of the first sensor, and the calculation of the capacitance change value is the same as that of the first sensor, so that the description is omitted.
In order to ensure the accuracy of the right-hand and left-hand recognition according to the present invention, the metal coating layer of the first sensor is the same in material, thickness, and the like as compared with the metal coating layer of the second sensor.
When a user touches the second sensor with his or her left or right hand, the effective area of the corresponding metal overlay is typically affected, thereby affecting the capacitance value of the second sensor. What is obtained in step 102 is the capacitance change value of the second sensor after the user holds the mobile terminal with one hand.
Step 103: and identifying whether the hand is held by the left hand or the right hand according to the first capacitance change value and the second capacitance change value.
Specifically, when a user holds the mobile terminal with one hand, the palm is usually on one side of the mobile terminal and the fingers are on the other side of the mobile terminal. If the mobile terminal is held by the left hand, the palm of the left hand is generally located in a left preset area of the mobile terminal, and meanwhile, the fingers of the left hand are located in a right preset area of the mobile terminal; if the mobile terminal is held by the right hand, the palm of the right hand is generally located in the right preset area of the mobile terminal, and the fingers of the right hand are located in the left preset area of the mobile terminal.
When a user holds the mobile terminal by a single hand, the contact areas of the palm and the fingers with the metal covering layers on the two sides of the mobile terminal are different, generally, the contact area of the palm is large, the contact area of the fingers is small, and therefore the influences on the capacitance values of the sensors on the two sides are different. Generally, the larger the contact area with the metal cover layer, the greater the influence on the capacitance value of the corresponding sensor.
Thus, from the first capacitance change value and the second capacitance change value, it is possible to recognize whether the hand is held by the left hand or held by the right hand.
Specifically, when the first capacitance change value is larger than the second capacitance change value, it is indicated that the contact area between the hand and the metal covering layer of the first sensor is larger than that of the second sensor, and it can be recognized that the hand is held by the left hand; when the first capacitance change value is smaller than the second capacitance change value, it is indicated that the contact area between the hand and the metal covering layer of the second sensor is larger than that of the first sensor, and the hand is held by the right hand.
Therefore, after the left-hand holding or the right-hand holding is recognized, the corresponding single-hand mode of the mobile terminal can be started, and under the condition that the first sensor or the second sensor utilizes the antenna metal, the left antenna or the right antenna can be adjusted and used, so that the antenna performance is improved.
According to the left-hand and right-hand identification method, after the fact that the mobile terminal is held is detected, the first capacitance change value of the first sensor on the left preset area of the mobile terminal is obtained, the second capacitance change value of the second sensor on the right preset area of the mobile terminal is obtained, the left-hand holding or the right-hand holding is identified according to the first capacitance change value and the second capacitance change value, the left-hand holding or the right-hand holding can be identified only by means of the capacitance change value of the sensor on the mobile terminal, and the left-hand and right-hand identification efficiency is improved.
Second embodiment
Referring to fig. 2, an embodiment of the present invention further provides a left-right hand identification method, which is applied to a mobile terminal and includes steps 201 to 206, which are described in detail below.
Step 201: after the fact that the mobile terminal is held is detected, a first capacitance value of a first sensor on a preset area on the left side of the mobile terminal is obtained.
In the embodiment of the invention, the preset area on the left side of the mobile terminal is specifically a lower area on the left side of a screen when the screen of the mobile terminal faces upwards. When the user holds the mobile terminal with the left hand, the palm of the left hand is generally located in the left preset area, and when the user holds the mobile terminal with the right hand, the fingers of the right hand are generally located in the left preset area.
The left preset area is provided with a first sensor, the first sensor is a capacitive metal sensor based on capacitance change, and the first sensor relates to a metal covering layer which can be equivalent to a capacitance plate.
What is to be obtained in step 201 is a first capacitance value of the first sensor after the user holds the mobile terminal with one hand.
Step 202: and calculating the difference value between the first capacitance value and the initial capacitance value of the first sensor to obtain a first capacitance change value.
Specifically, after the first capacitance value is obtained in step 201, the capacitance change value of the first sensor after the user holds the mobile terminal with one hand can be obtained by calculating the difference between the first capacitance value and the initial capacitance value of the first sensor.
Step 203: and acquiring a second capacitance value of a second sensor in a preset area on the right side of the mobile terminal.
In the embodiment of the invention, the preset area on the right side of the mobile terminal is specifically a lower area on the right side of a screen when the screen of the mobile terminal faces upwards. When the user holds the mobile terminal with the right hand, the palm of the right hand is generally located in the left preset area, and when the user holds the mobile terminal with the left hand, the fingers of the left hand are generally located in the right preset area.
The second sensor is also a capacitive metal sensor based on capacitance change, and relates to a metal covering layer, the realization principle is the same as that of the first sensor, and the calculation of the capacitance change value is the same as that of the first sensor.
In order to ensure the accuracy of right-hand and left-hand recognition according to the present invention, the metal coating layer of the first sensor is identical in material, thickness, and the like to the metal coating layer of the second sensor.
Step 204: and calculating the difference value between the second capacitance value and the initial capacitance value of the second sensor to obtain a second capacitance change value.
Specifically, after the second capacitance value is obtained in step 203, the capacitance change value of the second sensor after the user holds the mobile terminal with one hand can be obtained by calculating the difference between the second capacitance value and the initial capacitance value of the second sensor.
Step 205: and comparing the first capacitance change value with the second capacitance change value to obtain a comparison result.
Specifically, when a user holds the mobile terminal with one hand, the palm is usually on one side of the mobile terminal and the fingers are on the other side of the mobile terminal. If the mobile terminal is held by the left hand, the palm of the left hand is generally located in a left preset area of the mobile terminal, and meanwhile, the fingers of the left hand are located in a right preset area of the mobile terminal; if the mobile terminal is held by the right hand, the palm of the right hand is generally located in the right preset area of the mobile terminal, and the fingers of the right hand are located in the left preset area of the mobile terminal.
When a user holds the mobile terminal by a single hand, the contact areas of the palm and the fingers with the metal covering layers on the two sides of the mobile terminal are different, generally, the contact area of the palm is large, the contact area of the fingers is small, and therefore the influences on the capacitance values of the sensors on the two sides are different. Generally, the larger the contact area with the metal cover layer, the greater the influence on the capacitance value of the corresponding sensor.
Thus, by comparing the first capacitance change value and the second capacitance change value, it is possible to recognize whether the grip is a left-hand grip or a right-hand grip.
Step 206: when the comparison result is that the first capacitance change value is larger than the second capacitance change value, identifying that the hand is held by the left hand; or, when the comparison result is that the first capacitance change value is smaller than the second capacitance change value, the right-hand holding is identified.
Specifically, when the comparison result shows that the first capacitance change value is greater than the second capacitance change value, it indicates that the contact area between the hand and the metal covering layer of the first sensor is large compared with the second sensor, and it can be recognized that the hand is held by the left hand; and when the comparison result shows that the first capacitance change value is smaller than the second capacitance change value, the contact area between the hand and the metal covering layer of the second sensor is larger than that of the first sensor, and the hand is held by the right hand.
According to the left-hand and right-hand identification method, the left-hand holding or the right-hand holding can be identified only by means of the capacitance change value of the sensor on the mobile terminal, and the left-hand and right-hand identification efficiency is improved.
Third embodiment
Referring to fig. 3, an embodiment of the present invention further provides a left-right hand recognition method, which is applied to a mobile terminal and includes steps 301 to 304, which are described in detail below.
Step 301: the method comprises the steps of calibrating a first sensor on a preset area on the left side of the mobile terminal and a second sensor on a preset area on the right side of the mobile terminal, so that the initial capacitance value of the first sensor and the initial capacitance value of the second sensor are both 0.
In the embodiment of the invention, the preset area on the left side of the mobile terminal is specifically a lower area on the left side of a screen when the screen of the mobile terminal faces upwards. And the left preset area is provided with a first sensor which is a capacitive metal sensor based on capacitance change and relates to a metal covering layer, and the metal covering layer can be equivalent to a capacitance polar plate.
The preset area on the right side of the mobile terminal is specifically a lower area on the right side of the screen when the screen of the mobile terminal faces upwards. And the second sensor is also a capacitive metal sensor based on capacitance change, and relates to a metal covering layer, and the realization principle is the same as that of the first sensor.
In order to ensure the accuracy of right-hand and left-hand recognition according to the present invention, the metal coating layer of the first sensor is identical in material, thickness, and the like to the metal coating layer of the second sensor.
In an embodiment of the present invention, in order to reduce the processing procedure, before it is detected that the mobile terminal is held, the first sensor and the second sensor may be calibrated, so that the initial capacitance value of the first sensor and the initial capacitance value of the second sensor are both 0. Thus, the capacitance value of the sensor obtained subsequently is the capacitance variation value of the corresponding sensor.
Step 302: and acquiring a third capacitance value of the first sensor after the mobile terminal is detected to be held.
In this embodiment of the present invention, since the first sensor is calibrated before being held (i.e. calibrated to 0), the third capacitance value is a capacitance change value of the first sensor after the mobile terminal is held.
Step 303: a fourth capacitance value of the second sensor is obtained.
In this embodiment of the present invention, since the second sensor is calibrated before being held (i.e. calibrated to 0), the fourth capacitance value is a capacitance change value of the second sensor after the mobile terminal is held.
Step 304: and identifying whether the hand is held by the left hand or the right hand according to the third capacitance value and the fourth capacitance value.
Specifically, when a user holds the mobile terminal with one hand, the palm is usually on one side of the mobile terminal and the fingers are on the other side of the mobile terminal. If the mobile terminal is held by the left hand, the palm of the left hand is generally located in a left preset area of the mobile terminal, and meanwhile, the fingers of the left hand are located in a right preset area of the mobile terminal; if the mobile terminal is held by the right hand, the palm of the right hand is generally located in the right preset area of the mobile terminal, and the fingers of the right hand are located in the left preset area of the mobile terminal.
When a user holds the mobile terminal with a single hand, the contact areas of the palm and the fingers with the metal covering layers on the two sides of the mobile terminal are different, generally, the contact area of the palm is large, the contact area of the fingers is small, and therefore the influence on the capacitance values of the sensors on the two sides is different. Generally, the larger the contact area with the metal cover layer, the greater the influence on the capacitance value of the corresponding sensor.
Thus, from the third capacitance value and the fourth capacitance value, it is possible to recognize whether the grip is a left-hand grip or a right-hand grip.
Specifically, when the third capacitance value is larger than the fourth capacitance value, it indicates that the contact area between the hand and the metal covering layer of the first sensor is larger than that of the second sensor, and it can be recognized that the hand is held by the left hand; when the third capacitance value is smaller than the fourth capacitance value, it indicates that the contact area between the hand and the metal covering layer of the second sensor is larger than that of the first sensor, and it can be recognized that the hand is held by the right hand.
According to the left-hand and right-hand identification method, the left-hand holding or the right-hand holding can be identified only by means of the capacitance change value of the sensor on the mobile terminal, the left-hand and right-hand identification efficiency is improved, and the identification process can be simplified by calibrating the sensor.
Fourth embodiment
Referring to fig. 4, an embodiment of the present invention further provides a mobile terminal, corresponding to the left-right hand recognition method shown in fig. 1, including a first sensor 41, a second sensor 42, and a recognition module 43.
The first sensor 41 is configured to obtain a first capacitance change value of the first sensor 41 in a preset area on the left side of the mobile terminal after detecting that the mobile terminal is held.
The second sensor 42 is configured to obtain a second capacitance variation value of the second sensor 42 in a preset area on the right side of the mobile terminal.
The identifying module 43 is configured to identify whether the hand is held by the left hand or the right hand according to the first capacitance variation value obtained by the first sensor 41 and the second capacitance variation value obtained by the second sensor 42.
In the embodiment of the present invention, referring to fig. 5, the first sensor 41 includes a first obtaining unit 411 and a first calculating unit 412.
The first obtaining unit 411 is configured to obtain a first capacitance value of the first sensor 41.
The first calculating unit 412 is configured to calculate a difference between the first capacitance value acquired by the first acquiring unit 411 and the initial capacitance value of the first sensor 41, so as to obtain the first capacitance change value.
The second sensor 42 includes a second acquisition unit 421 and a second calculation unit 422.
The second obtaining unit 421 is configured to obtain a second capacitance value of the second sensor 42.
The second calculating unit 422 is configured to calculate a difference between the second capacitance value acquired by the second acquiring unit 421 and the initial capacitance value of the second sensor 42, so as to obtain the second capacitance variation value.
Specifically, the identification module 43 includes a comparison unit 431 and an identification unit 432.
The comparing unit 431 is configured to compare the first capacitance change value and the second capacitance change value to obtain a comparison result.
The identifying unit 432 is configured to identify that the hand is held by the left hand when the comparison result obtained by the comparing unit 431 is that the first capacitance change value is greater than the second capacitance change value; alternatively, when the comparison result obtained by the comparing unit 431 is that the first capacitance change value is smaller than the second capacitance change value, it is identified as a right-hand grip.
In the embodiment of the present invention, referring to fig. 6, the mobile terminal further includes a calibration module 40.
The calibration module 40 is configured to calibrate the first sensor 41 and the second sensor 42 before the mobile terminal is held, so that the initial capacitance value of the first sensor 41 and the initial capacitance value of the second sensor 42 are both 0.
Further, referring to fig. 6, the first sensor 41 includes a third acquiring unit 413.
The third obtaining unit 413 is configured to obtain a third capacitance value of the first sensor 41.
The second sensor 42 includes a fourth acquisition unit 423.
The fourth obtaining unit 423 is configured to obtain a fourth capacitance value of the second sensor 42.
The identification module 43 is specifically configured to identify whether the hand is held by the left hand or the right hand according to the third capacitance value and the fourth capacitance value.
According to the mobile terminal provided by the embodiment of the invention, after the fact that the mobile terminal is held is detected, the first capacitance change value of the first sensor on the left preset area of the mobile terminal is obtained, the second capacitance change value of the second sensor on the right preset area of the mobile terminal is obtained, and the left-hand holding or the right-hand holding is identified according to the first capacitance change value and the second capacitance change value, so that the left-hand holding or the right-hand holding can be identified only by means of the capacitance change value of the sensor on the mobile terminal, and the left-hand and right-hand identification efficiency is improved.
Fifth embodiment
Fig. 7 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention. The mobile terminal 700 shown in fig. 7 includes: at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703. The various components in the mobile terminal 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 7 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 702 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In this embodiment of the present invention, by calling a program or an instruction stored in the memory 702, specifically, the program or the instruction stored in the application 7022, the processor 701 is configured to, after detecting that the mobile terminal 700 is held, obtain a first capacitance change value of a first sensor in a left preset area of the mobile terminal 700, obtain a second capacitance change value of a second sensor in a right preset area of the mobile terminal 700, and identify whether the holding is performed by a left hand or a right hand according to the first capacitance change value and the second capacitance change value.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 701 is further configured to: acquiring a first capacitance value of the first sensor, and calculating a difference value between the first capacitance value and an initial capacitance value of the first sensor to obtain a first capacitance change value; and simultaneously acquiring a second capacitance value of the second sensor, and calculating a difference value between the second capacitance value and the initial capacitance value of the second sensor to obtain a second capacitance change value.
Optionally, the processor 701 is further configured to: before the mobile terminal 700 is held, the first sensor and the second sensor are calibrated such that the initial capacitance value of the first sensor and the initial capacitance value of the second sensor are both 0.
Optionally, the processor 701 is further configured to: and acquiring a third capacitance value of the first sensor, acquiring a fourth capacitance value of the second sensor, and identifying whether the hand is held by the left hand or the right hand according to the third capacitance value and the fourth capacitance value.
Optionally, the processor 701 is further configured to: comparing the first capacitance change value with the second capacitance change value to obtain a comparison result, and identifying that the hand is held by the left hand when the comparison result shows that the first capacitance change value is larger than the second capacitance change value; or, when the comparison result is that the first capacitance change value is smaller than the second capacitance change value, the right-hand holding is identified.
The mobile terminal 700 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
According to the mobile terminal 700 of the embodiment of the present invention, after it is detected that the mobile terminal 700 is held, the first capacitance change value of the first sensor in the left preset area of the mobile terminal 700 is obtained, the second capacitance change value of the second sensor in the right preset area of the mobile terminal 700 is obtained, and according to the first capacitance change value and the second capacitance change value, the left-hand holding or the right-hand holding is identified, so that the left-hand holding or the right-hand holding can be identified only by the capacitance change value of the sensor in the mobile terminal, and the left-hand and right-hand identification efficiency is improved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A left-right hand identification method is characterized by comprising the following steps:
after the mobile terminal is detected to be held, acquiring a first capacitance change value of a first sensor in a preset area on the left side of the mobile terminal;
acquiring a second capacitance change value of a second sensor in a preset area on the right side of the mobile terminal;
and identifying whether the hand is held by the left hand or the right hand according to the first capacitance change value and the second capacitance change value.
2. The identification method according to claim 1, wherein the step of obtaining the first capacitance change value of the first sensor on the preset area on the left side of the mobile terminal comprises:
acquiring a first capacitance value of the first sensor;
calculating a difference value between the first capacitance value and an initial capacitance value of the first sensor to obtain a first capacitance change value;
the step of obtaining a second capacitance change value of a second sensor on a preset area on the right side of the mobile terminal comprises the following steps:
acquiring a second capacitance value of the second sensor;
and calculating the difference value between the second capacitance value and the initial capacitance value of the second sensor to obtain the second capacitance change value.
3. The identification method according to claim 1, wherein before the mobile terminal is held, the identification method further comprises:
calibrating the first sensor and the second sensor such that an initial capacitance value of the first sensor and an initial capacitance value of the second sensor are both 0.
4. The identification method according to claim 3, wherein the step of obtaining the first capacitance change value of the first sensor on the preset area on the left side of the mobile terminal comprises:
acquiring a third capacitance value of the first sensor;
the step of obtaining a second capacitance change value of a second sensor on a preset area on the right side of the mobile terminal comprises the following steps:
acquiring a fourth capacitance value of the second sensor;
the step of identifying whether the grip is a left-handed grip or a right-handed grip according to the first capacitance change value and the second capacitance change value includes:
and identifying whether the hand is held by the left hand or the right hand according to the third capacitance value and the fourth capacitance value.
5. The method according to any one of claims 1 to 3, wherein the step of identifying whether the grip is a left-handed grip or a right-handed grip based on the first capacitance variation value and the second capacitance variation value comprises:
comparing the first capacitance change value with the second capacitance change value to obtain a comparison result;
when the comparison result is that the first capacitance change value is larger than the second capacitance change value, identifying that the hand is held by the left hand; or, when the comparison result is that the first capacitance change value is smaller than the second capacitance change value, the right-hand holding is identified.
6. A mobile terminal, comprising:
the mobile terminal comprises a first sensor, a second sensor and a third sensor, wherein the first sensor is used for acquiring a first capacitance change value of the first sensor in a preset area on the left side of the mobile terminal after the mobile terminal is detected to be held;
the second sensor is used for acquiring a second capacitance change value of the second sensor in a preset area on the right side of the mobile terminal;
and the identification module is used for identifying whether the hand holding is carried out by the left hand or the right hand according to the first capacitance change value acquired by the first sensor and the second capacitance change value acquired by the second sensor.
7. The mobile terminal of claim 6, wherein the first sensor comprises:
a first obtaining unit, configured to obtain a first capacitance value of the first sensor;
a first calculating unit, configured to calculate a difference between the first capacitance value acquired by the first acquiring unit and the initial capacitance value of the first sensor, so as to obtain the first capacitance change value;
the second sensor includes:
a second acquisition unit configured to acquire a second capacitance value of the second sensor;
and the second calculating unit is used for calculating a difference value between the second capacitance value acquired by the second acquiring unit and the initial capacitance value of the second sensor to obtain the second capacitance change value.
8. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
a calibration module, configured to calibrate the first sensor and the second sensor before the mobile terminal is held, so that an initial capacitance value of the first sensor and an initial capacitance value of the second sensor are both 0.
9. The mobile terminal of claim 8, wherein the first sensor comprises:
a third obtaining unit, configured to obtain a third capacitance value of the first sensor;
the second sensor includes:
a fourth acquisition unit configured to acquire a fourth capacitance value of the second sensor;
the identification module is specifically configured to identify whether the hand is held by the left hand or the right hand according to the third capacitance value and the fourth capacitance value.
10. The mobile terminal according to any of claims 6-8, wherein the identification module comprises:
the comparison unit is used for comparing the first capacitance change value with the second capacitance change value to obtain a comparison result;
the identification unit is used for identifying that the hand is held by the left hand when the comparison result obtained by the comparison unit is that the first capacitance change value is larger than the second capacitance change value; or, when the comparison result obtained by the comparison unit is that the first capacitance change value is smaller than the second capacitance change value, the right-hand holding is identified.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610505342.8A CN106200920A (en) | 2016-06-28 | 2016-06-28 | A kind of right-hand man's recognition methods and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610505342.8A CN106200920A (en) | 2016-06-28 | 2016-06-28 | A kind of right-hand man's recognition methods and mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106200920A true CN106200920A (en) | 2016-12-07 |
Family
ID=57462715
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610505342.8A Pending CN106200920A (en) | 2016-06-28 | 2016-06-28 | A kind of right-hand man's recognition methods and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106200920A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107346202A (en) * | 2017-06-26 | 2017-11-14 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
| CN108196763A (en) * | 2017-11-30 | 2018-06-22 | 维沃移动通信有限公司 | The startup method and mobile terminal of a kind of interface model |
| CN111465436A (en) * | 2017-12-29 | 2020-07-28 | 脸谱科技有限责任公司 | Handheld Controller Using Sensors to Disambiguate Hands |
| CN113746957A (en) * | 2020-05-28 | 2021-12-03 | 北京小米移动软件有限公司 | Screen-down structure and scene recognition method of mobile phone based on screen-down structure |
| CN115379044A (en) * | 2021-05-21 | 2022-11-22 | 北京小米移动软件有限公司 | Holding state detection method, device, electronic device and storage medium |
| US12299240B2 (en) | 2020-09-04 | 2025-05-13 | Samsung Electronics Co., Ltd. | Electronic device comprising capacitance sensor |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104298392A (en) * | 2014-08-11 | 2015-01-21 | 上海华豚科技有限公司 | Method for judging strong hand for holding according to touch position |
| CN204362145U (en) * | 2014-03-31 | 2015-05-27 | 广州视源电子科技股份有限公司 | Mobile terminal capable of automatically identifying left hand and right hand |
| CN104679358A (en) * | 2013-11-27 | 2015-06-03 | 华为终端有限公司 | Terminal |
-
2016
- 2016-06-28 CN CN201610505342.8A patent/CN106200920A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104679358A (en) * | 2013-11-27 | 2015-06-03 | 华为终端有限公司 | Terminal |
| CN204362145U (en) * | 2014-03-31 | 2015-05-27 | 广州视源电子科技股份有限公司 | Mobile terminal capable of automatically identifying left hand and right hand |
| CN104298392A (en) * | 2014-08-11 | 2015-01-21 | 上海华豚科技有限公司 | Method for judging strong hand for holding according to touch position |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107346202A (en) * | 2017-06-26 | 2017-11-14 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
| CN107346202B (en) * | 2017-06-26 | 2019-03-05 | 维沃移动通信有限公司 | A shooting method and mobile terminal |
| CN108196763A (en) * | 2017-11-30 | 2018-06-22 | 维沃移动通信有限公司 | The startup method and mobile terminal of a kind of interface model |
| CN111465436A (en) * | 2017-12-29 | 2020-07-28 | 脸谱科技有限责任公司 | Handheld Controller Using Sensors to Disambiguate Hands |
| CN111465436B (en) * | 2017-12-29 | 2023-08-29 | 元平台技术有限公司 | Hand-held controller that uses sensors to disambiguate hands |
| CN113746957A (en) * | 2020-05-28 | 2021-12-03 | 北京小米移动软件有限公司 | Screen-down structure and scene recognition method of mobile phone based on screen-down structure |
| US12299240B2 (en) | 2020-09-04 | 2025-05-13 | Samsung Electronics Co., Ltd. | Electronic device comprising capacitance sensor |
| CN115379044A (en) * | 2021-05-21 | 2022-11-22 | 北京小米移动软件有限公司 | Holding state detection method, device, electronic device and storage medium |
| CN115379044B (en) * | 2021-05-21 | 2023-11-14 | 北京小米移动软件有限公司 | Gripping state detection method, device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106200920A (en) | A kind of right-hand man's recognition methods and mobile terminal | |
| US11016611B2 (en) | Touch processing method and electronic device for supporting the same | |
| CN107203313B (en) | Method for adjusting desktop display object, mobile terminal and computer readable storage medium | |
| CN107609540B (en) | Method and device for acquiring calibration parameters of fingerprint sensor and mobile terminal | |
| EP3223119B1 (en) | Method and device for adjusting object attribute information | |
| CN106775150A (en) | touch control method, system and mobile terminal | |
| CN107172346A (en) | A kind of weakening method and mobile terminal | |
| CN103699260A (en) | Method for starting terminal function module, and terminal equipment | |
| WO2017096978A1 (en) | Temperature compensation method and device for mobile terminal, and mobile terminal | |
| CN107087075B (en) | Prompting method based on screen fingerprint identification and mobile terminal | |
| CN107480500B (en) | A kind of face verification method and mobile terminal | |
| US9489083B2 (en) | Touch panel controller, touch sensor system, and electronic device | |
| CN105677788B (en) | File searching method and user terminal | |
| CN106934389A (en) | A kind of fingerprint identification method and mobile terminal | |
| CN106022065A (en) | A mobile terminal and its control method | |
| KR20180109330A (en) | Electronic device and method for acquiring output value of pressure sensor corrected based on state of electronic device | |
| WO2015156217A1 (en) | Mobile terminal device | |
| CN106708389B (en) | A kind of method and mobile terminal of control display interface scaling | |
| CN108132743B (en) | Display processing method and display processing apparatus | |
| WO2016197815A2 (en) | Method and apparatus for using fingerprint operation, and terminal | |
| CN106506849B (en) | Display method of wireless access point and mobile terminal | |
| CN106407945B (en) | A kind of fingerprint identification method and mobile terminal | |
| CN107315529B (en) | Photographing method and mobile terminal | |
| CN106020471A (en) | Operation method of mobile terminal and mobile terminal | |
| CN106406640B (en) | A kind of touch operation determines method and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
| RJ01 | Rejection of invention patent application after publication |