CN114427823A - Magnetic key triggering method and electronic equipment - Google Patents

Magnetic key triggering method and electronic equipment Download PDF

Info

Publication number
CN114427823A
CN114427823A CN202011178383.3A CN202011178383A CN114427823A CN 114427823 A CN114427823 A CN 114427823A CN 202011178383 A CN202011178383 A CN 202011178383A CN 114427823 A CN114427823 A CN 114427823A
Authority
CN
China
Prior art keywords
magnetic
key
force vector
magnetic force
stroke
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.)
Granted
Application number
CN202011178383.3A
Other languages
Chinese (zh)
Other versions
CN114427823B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011178383.3A priority Critical patent/CN114427823B/en
Publication of CN114427823A publication Critical patent/CN114427823A/en
Application granted granted Critical
Publication of CN114427823B publication Critical patent/CN114427823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/003Measuring arrangements characterised by the use of electric or magnetic techniques for measuring position, not involving coordinate determination
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/965Switches controlled by moving an element forming part of the switch
    • H03K17/97Switches controlled by moving an element forming part of the switch using a magnetic movable element
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/965Switches controlled by moving an element forming part of the switch
    • H03K17/97Switches controlled by moving an element forming part of the switch using a magnetic movable element
    • H03K2017/9713Multiposition, e.g. involving comparison with different thresholds

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Push-Button Switches (AREA)

Abstract

A magnetic key triggering method and electronic equipment. In the method, the electronic equipment calibrates the magnetic force vector output by the linear magnetic sensor through the magnetic force vector output by the geomagnetic meter, and removes the interference of the geomagnetic field in the magnetic force vector output by the linear magnetic sensor. The first magnetic field strength at the first time of comparison is made to reflect the position of the magnet even more. Therefore, when the first key reaches the preset stroke position, the electronic equipment can determine that the first key completes the preset stroke more quickly and accurately, corresponding functions can be triggered, and the sensitivity of triggering the magnetic key is greatly improved.

Description

Magnetic key triggering method and electronic equipment
Technical Field
The present application relates to the field of terminal and communication technologies, and in particular, to a magnetic key triggering method and an electronic device.
Background
Currently, a 6 degree of freedom (DOF) suite in an electronic device may implement a key stroke function using a magnet and a linear magnetic sensor.
However, the detection of the stroke of the magnetic key is subject to a large environmental disturbance. For example, interference of earth magnetic field, noise interference of the device itself, interference of remanence property or magnetization direction of the magnet itself, interference of structural assembly, and the like. The error of these disturbances is assumed to be around MuT empirically. Thus resulting in a minimum threshold value of MuT for detection of magnetic field strength when determining the travel of a magnetic key.
After the travel of the magnetic key is changed by a unit detection distance (e.g., 0.5mm), the magnetic field strength detected by the linear magnetic sensor needs to be greater than MuT (e.g., 300uT) to be recognized as the travel of the magnetic key is moved by the unit detection distance. Otherwise, the touch is identified as a false touch of the magnetic key. Therefore, the conventional magnetic key cannot be identified for the design that the magnetic field change caused by the unit detection distance is less than MuT or the stroke of the magnetic field change is less than MuT, so that the magnetic key is not sensitive enough.
Disclosure of Invention
The application provides a magnetic key triggering method and electronic equipment, which are used for improving the sensitivity of a magnetic key.
In a first aspect, the present application provides a magnetic key triggering method, including: the electronic equipment determines a magnetic force vector output by the linear magnetic sensor at a first moment to obtain a first magnetic force vector; the magnetic force vector input by the magnet associated with the first key to the linear sensor is increased along with the increase of the key stroke of the first key in the electronic equipment; the electronic equipment determines a magnetic force vector output by the geomagnetism meter at the first moment to obtain a second magnetic force vector; the electronic equipment determines the magnetic field strength of the vector difference between the first magnetic force vector and the second magnetic force vector to obtain a first magnetic field strength at a first moment; and when the first magnetic field intensity at the first moment is determined to be greater than a first preset comparison threshold, the electronic equipment triggers a first function corresponding to the completion of a first stroke.
In the above embodiment, the electronic device calibrates the magnetic force vector output by the linear magnetic sensor by using the magnetic force vector output by the geomagnetic meter, and removes interference of the geomagnetic field in the magnetic force vector output by the linear magnetic sensor. The first magnetic field strength at the first time of comparison is made to reflect the position of the magnet even more. When the first key reaches the first stroke position, the electronic equipment can determine that the first key completes the first stroke more quickly and accurately, can trigger a corresponding first function, cannot judge the error touch as in the prior art, and greatly improves the sensitivity of triggering the magnetic key.
In combination with some embodiments of the first aspect, in some embodiments, the first preset comparison threshold is a sum of the initial magnetic field strength and a first interference threshold; the initial magnetic field intensity is the magnetic field intensity of the vector difference between the magnetic vector output by the linear sensor and the magnetic vector output by the geomagnetism meter when the key stroke of the first key in the electronic equipment is 0; the first interference threshold value is a calculated total interference value of the magnetic force vector output by the linear sensor due to other environmental interference factors after the geomagnetic field interference is eliminated.
In the above embodiment, the first preset comparison threshold is the sum of the initial magnetic field strength excluding the disturbance of the geomagnetic field and the first disturbance threshold, where the first disturbance threshold is smaller than the disturbance total value MuT of the environmental disturbance factor in the prior art, so that the first preset comparison threshold is smaller than in the prior art. Therefore, the electronic equipment can determine that the first stroke is completed by the first key more quickly and accurately during comparison, and the sensitivity of triggering of the magnetic key is greatly improved.
In combination with some embodiments of the first aspect, in some embodiments, the method further comprises: when the first magnetic field strength at the first moment is determined to be larger than a second preset comparison threshold, the electronic equipment triggers a second function corresponding to the completion of a second stroke; the second stroke is the next key stroke of the first key after the first stroke; the second predetermined comparison threshold is greater than the first predetermined comparison threshold.
In the above embodiment, the first key may have multiple strokes, and the realization of the multiple strokes of the magnetic key is not affected while the sensitivity of the magnetic key triggering is improved.
In combination with some embodiments of the first aspect, in some embodiments, the second preset comparison threshold is a sum of the first preset comparison threshold and a preset first stroke magnetic field increment value; the preset first stroke magnetic field increment value is the increment value of the magnetic field intensity of the magnet at the position of the linear magnetic sensor when the magnet moves along with the first key for the first stroke after being measured and calculated in advance.
In some embodiments in combination with some embodiments of the first aspect, the electronic device is a handle, one magnetic key in the handle comprising the first key and a magnet associated with the first key.
In a second aspect, an embodiment of the present application provides an electronic device, including: one or more processors, a memory, a first key, a magnet associated with the first key, a linear magnetic sensor, and a magnetometer; the linear magnetic sensor is used for detecting and outputting an input magnetic force vector; the magnetic force vector input by the magnet associated with the first key to the linear sensor is increased along with the increase of the key stroke of the first key; the geomagnetic meter is used for detecting and outputting a magnetic force vector of a geomagnetic field; the memory coupled with the one or more processors, the memory to store computer program code, the computer program code including computer instructions, the one or more processors to invoke the computer instructions to cause the electronic device to perform: determining a magnetic force vector output by the linear magnetic sensor at a first moment to obtain a first magnetic force vector; determining a magnetic force vector output by the geomagnetism meter at the first moment to obtain a second magnetic force vector; determining the magnetic field strength of the vector difference between the first magnetic force vector and the second magnetic force vector to obtain a first magnetic field strength at a first moment; and when the first magnetic field strength at the first moment is determined to be greater than a first preset comparison threshold, triggering a first function corresponding to the completion of the first stroke.
In some embodiments in combination with the second aspect, in some embodiments, the first preset comparison threshold is a sum of the initial magnetic field strength and a first interference threshold; the initial magnetic field intensity is the magnetic field intensity of the vector difference between the magnetic vector output by the linear sensor and the magnetic vector output by the geomagnetism meter when the key stroke of the first key in the electronic equipment is 0; the first interference threshold value is a calculated total interference value of the magnetic force vector output by the linear sensor due to other environmental interference factors after the geomagnetic field interference is eliminated.
In some embodiments combined with some embodiments of the second aspect, in some embodiments, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: when the first magnetic field strength at the first moment is determined to be larger than a second preset comparison threshold value, triggering a second function corresponding to the completion of a second stroke; the second stroke is the next key stroke of the first key after the first stroke; the second predetermined comparison threshold is greater than the first predetermined comparison threshold.
In some embodiments in combination with some embodiments of the second aspect, in some embodiments, the second preset comparison threshold is a sum of the first preset comparison threshold and a preset first stroke magnetic field increment value; the preset first stroke magnetic field increment value is the increment value of the magnetic field intensity of the magnet at the position of the linear magnetic sensor when the magnet moves along with the first key for the first stroke after being measured and calculated in advance.
In some embodiments in combination with the second aspect, the electronic device is a handle, and one magnetic key in the handle includes the first key and a magnet associated with the first key.
In a third aspect, an embodiment of the present application provides a chip system, where the chip system is applied to an electronic device, and the chip system includes one or more processors, and the processor is configured to invoke a computer instruction to cause the electronic device to perform a method as described in the first aspect and any possible implementation manner of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product including instructions, which, when run on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation manner of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation manner of the first aspect.
It is understood that the electronic device provided by the second aspect, the chip system provided by the third aspect, the computer program product provided by the fourth aspect, and the computer storage medium provided by the fifth aspect are all used to execute the method provided by the embodiments of the present application. Therefore, the beneficial effects achieved by the method can refer to the beneficial effects in the corresponding method, and are not described herein again.
Drawings
FIG. 1 is an exemplary schematic diagram of a 6DOF correlation orientation in an embodiment of the present application;
FIG. 2 is a schematic diagram of a magnetic force vector according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a scenario of three-axis detection of magnetic force in an embodiment of the present application;
FIG. 4 is a schematic diagram of a scenario of single-axis detection of magnetic force in an embodiment of the present application;
FIG. 5 is a schematic diagram of a scenario illustrating the relationship between the travel of a magnetic button and the intensity of a magnetic field input by a magnet to a linear magnetic sensor in an embodiment of the present application;
FIG. 6 is a schematic diagram of a scenario illustrating the effect of geomagnetic force on a magnetic force vector output by a linear sensor in an embodiment of the present application;
FIG. 7 is a diagram illustrating an exemplary scenario for identifying a magnetic key completion stroke in an embodiment of the present application;
FIG. 8 is a diagram illustrating an example of a threshold component for magnetic field variation per unit distance in an embodiment of the present application;
fig. 9 is a schematic view of a scenario in which a magnetic key triggering method in the prior art is compared with a magnetic key triggering method in the embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application;
FIG. 11 is a flowchart illustrating a magnetic key triggering method according to an embodiment of the present application;
fig. 12 is a data flow diagram illustrating an electronic device obtaining a first magnetic field strength according to an embodiment of the present application.
Detailed Description
The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the listed items.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
For ease of understanding, the related terms and concepts related to the embodiments of the present application will be described below.
(1)6DOF:
The 6DOF is a degree of freedom related to movement of three positions, i.e., up and down, front and back, left and right, as shown in fig. 1 (a), in addition to 3 degrees of freedom of rotation angle, i.e., up and down, front and back, and left and right, as shown in fig. 1 (b).
Therefore, as shown in fig. 1 (c), the electronic apparatus having the 6DOF detection capability can detect not only free rotation of the electronic apparatus in different directions but also a change in displacement thereof in different directions.
(2) Magnetic force vector:
in the embodiment of the application, the magnetic force vector comprises the magnetic field intensity and the magnetic force direction.
In the embodiment of the application, the input and output magnetic forces of the linear magnetic sensor can be represented by magnetic force vectors, and the input and output magnetic forces of the magnetometer can also be represented by magnetic force vectors.
Specifically, fig. 2 is a schematic view of a magnetic force vector in the embodiment of the present application. The magnetometer can detect the magnetic force vector of the geomagnetic field input and output it. The linear magnetic sensor can detect the magnetic force vector input by the magnet in the magnetic key, the magnetic force vector output by the geomagnetic field and the magnetic force vector input by some other environmental interference factors, and then outputs the detected magnetic force vector after calculation.
The calculation method of the linear magnetic sensor and the magnetometer in outputting the magnetic force vector is different depending on whether the linear magnetic sensor and the magnetometer detect the magnetic force direction in a three-axis detection or a single-axis detection.
(3) Calculation of magnetic force vector input by the magnet to the linear magnetic sensor:
in the embodiment of the application, the magnetic force vector input by the magnet in the magnetic key to the linear magnetic sensor can be calculated according to the magnetic force vector output by the linear magnetic sensor and the magnetic force vector output by the geomagnetism meter.
Specifically, in the embodiment of the present application, the magnetic force vector input by the magnet to the linear magnetic sensor is equal to the magnetic force vector output by the linear magnetic sensor — the magnetic force vector output by the magnetometer.
It is understood that, although the linear magnetic sensor outputs the magnetic force vector, besides the influence of the earth magnetic field on the magnetic force vector input by the linear magnetic sensor and the influence of the magnet on the magnetic force vector input by the linear magnetic sensor, there are other influences of the environmental disturbance factors on the magnetic force vector input by the linear magnetic sensor. However, in the present application, when calculating the magnetic force vector input by the magnet to the linear magnetic sensor, only the magnetic force vector output by the linear magnetic sensor and the magnetic force vector output by the geomagnetism meter may be used to eliminate the influence of the geomagnetic field on the detection accuracy of the linear magnetic sensor.
The following describes the calculation principle of the magnetic force vector input by the magnet in the magnetic key to the linear magnetic sensor, respectively in combination with the specific scenarios that when the linear magnetic sensor and the magnetometer detect the magnetic force direction, the two situations are three-axis detection and single-axis detection:
1. three-axis detection:
the magnetic direction of the three-axis detection, namely the magnetic vector which can be output by the linear magnetic sensor and the magnetometer, can be all directions in the space.
Fig. 3 is a schematic view of a scene of three-axis detection of magnetic force in the embodiment of the present application. The linear magnetic sensor can detect a magnetic force vector Cs input by the magnet and a magnetic force vector Ds input by the geomagnetic field, and can calculate the vector sum of the detected magnetic force vectors to obtain a magnetic force vector Ss output by the linear magnetic sensor. Similarly, the magnetometer can also detect and output the magnetic force vector Ds inputted by the earth magnetic field. In this case, the magnetic force vector Ss output from the linear magnetic sensor is approximately the vector sum of the magnetic force vector Cs input from the magnet and the magnetic force vector Ds output from the magnetometer. Therefore, the magnetic force vector Cs inputted from the magnet can be estimated as a vector difference between the magnetic force vector Ss outputted from the linear magnetic sensor and the magnetic force vector Ds outputted from the magnetometer.
2. Single-axis detection:
the single-axis detection, namely the magnetic direction of the magnetic vector which can be output by the linear magnetic sensor and the magnetometer, is only the direction on one axis in the space, and the direction of the magnetic vector on the axis can be expressed only by using the sign.
Preferably, the direction of the axis may coincide with the direction of the magnetic force of the magnet in the magnetic key to the linear magnetic sensor. This may simplify the calculation process.
It will be appreciated that, in general, the linear magnetic sensor and the magnetometer are oriented in the same direction in the single axis when single axis detection is performed. Alternatively, if the uniaxial directions are not the same, the calculation may be performed after converting the data into data with the same uniaxial direction, and the calculation is not limited herein.
Fig. 4 is a schematic view of a scene of single-axis detection of magnetic force in the embodiment of the present application. The linear magnetic sensor can detect the magnetic force vector Cf input by the magnet on a single axis and the component Df of the magnetic force vector Ds of the geomagnetic field on the single axis, and the vector sum of the Cf and the Df on the single axis can obtain the magnetic force vector Sf output by the linear sensor. Similarly, the magnetometer can detect and output the component Df of the magnetic force vector Ds of the earth magnetic field on the single axis. In this case, the magnetic force vector Sf output from the linear magnetic sensor is approximately the vector sum of the magnetic force vector Cf input from the magnet and the magnetic force vector Df output from the magnetometer. Therefore, the magnetic force vector Cf input by the magnet can be estimated as a vector difference between the magnetic force vector Sf output by the linear magnetic sensor and the magnetic force vector Df output by the magnetometer.
Therefore, the magnetic force vector input by the magnet in the magnetic key can be estimated as the vector difference between the magnetic force vector input by the linear magnetic sensor and the magnetic force vector output by the magnetometer regardless of the three-axis detection or the single-axis detection.
For convenience of description, in the following embodiments of the present application, the linear magnetic sensor and the magnetometer are described as examples of triaxial detection, but the linear magnetic sensor and the magnetometer are not limited to triaxial detection, and may also be uniaxial detection, and the method of the embodiments of the present application is not limited herein. This is not described in detail in the following embodiments.
(4) The stroke of the magnetic key and the magnetic force vector input by the magnet to the linear magnetic sensor:
fig. 5 is a schematic diagram illustrating a relationship between a stroke of a magnetic button and a magnetic field intensity input by a magnet to a linear magnetic sensor according to an embodiment of the present application. As the stroke of the magnetic button increases, the distance between the magnet of the magnetic button and the linear magnetic sensor decreases, so that the intensity of the magnetic field input by the magnet to the linear magnetic sensor increases.
(5) Effect of the earth-magnetism on the magnetic force vector output by the linear magnetic sensor:
in the embodiment of the present application, the reason why the influence of the ground magnetic force on the linear magnetic sensor needs to be eliminated from the magnetic force vector output by the linear magnetic sensor is that in the process of changing the direction of the linear magnetic sensor, the ground magnetic force influences the magnetic force vector output by the linear magnetic sensor, so that the magnetic force vector output by the linear magnetic sensor is interfered.
FIG. 6 is a diagram illustrating a scenario of the effect of the geomagnetic force on the magnetic force vector output by the linear sensor in the embodiment of the present application.
As shown in fig. 6 (a), the linear magnetic sensor can detect the magnetic force of the magnet in the magnetic key in the key stroke direction, and can detect the magnetic force of the geomagnetic field to the linear magnetic sensor at the position. As shown in fig. 6 (b), when the magnetic force vector of the magnet of the linear magnetic sensor is Ch and the magnetic force vector of the geomagnetic field is Dh, the magnetic force vector output by the linear magnetic sensor is approximately the sum Sh of the vectors.
In this position, even if the key stroke of the magnetic key is not changed, only the direction is changed, and the magnetic force vector output by the linear magnetic sensor is changed due to the influence of the geomagnetic field. As shown in fig. 6 (c), the linear magnetic sensor can also detect the magnetic force of the magnet in the magnetic key and the magnetic force of the earth magnetic field to the linear magnetic sensor in the key stroke direction. However, as shown in fig. 6 (d), when the linear magnetic sensor is positioned in the direction, the magnetic force vector of the magnet of the linear magnetic sensor is Cx and the magnetic force vector of the earth magnetic field is Dx. As compared with fig. 6 (b), although the magnetic field strength of the magnetic force vector Cx of the magnet is the same as that of the magnetic force vector Ch of the magnet, the magnetic field strength of the magnetic force vector Dx of the earth magnetic field is also the same as that of the magnetic force vector Dh of the earth magnetic field. However, the direction of the magnetic key changes, so that the direction of the magnetic force vector Cx of the magnet with respect to the magnetic force vector Dx of the earth magnetic field and the direction of the magnetic force vector Ch of the magnet with respect to the magnetic force vector Dh of the earth magnetic field change. Thereby, the magnetic field strength and the magnetic force direction of the magnetic force vector Sx output from the linear magnetic sensor in (d) of fig. 6 and the magnetic force vector Sh output from the linear magnetic sensor in (b) of fig. 6 are changed.
Therefore, as long as the direction of the magnetic key changes, the earth magnetic field will interfere with the magnetic force vector output by the linear magnetic sensor. The magnetic force vector obtained after the interference caused by the geomagnetic field is removed from the magnetic force vector output by the linear magnetic sensor can more accurately reflect the magnetic force vector input by the magnet in the magnetic key to the linear magnetic sensor.
(6) The identification mode of the magnetic key is as follows:
fig. 7 is a schematic diagram of an exemplary scenario for identifying a magnetic key completion stroke in the embodiment of the present application. In fig. 7, two strokes are included in the magnetic key as an example, and the magnetic key in other embodiments of the present application may include more or less strokes, which is not limited herein.
It can be understood that, in combination with the above calculation (3) of the magnetic force vector input by the magnet to the linear magnetic sensor, the magnetic field strength of the magnetic force vector output by the linear magnetic sensor after the interference of the geomagnetic field is removed is about the magnetic field strength of the magnetic force vector of the magnet in the magnetic key to the linear magnetic sensor.
As shown in fig. 7 (a), when the key of the magnetic key is at the initial position, the magnetic field strength of the magnetic force vector of the magnet to the linear magnetic sensor at this time can be set to the initial magnetic field strength. Generally, the initial magnetic field strength can be calculated before the magnetic key leaves the factory or before the electronic device equipped with the magnetic key leaves the factory, and is preset in the electronic device equipped with the magnetic key. In some embodiments, the initial magnetic field strength may not be preset, and may be determined by real-time calculation, which is not limited herein.
As shown in fig. 7 (b), when a key of the magnetic keys is in motion, the electronic device equipped with the magnetic key calculates the magnetic field strength of the magnetic force vector of the magnet to the linear magnetic sensor in real time. If the magnetic field strength of the magnetic force vector of the magnet to the linear magnetic sensor is greater than the sum of the initial magnetic field strength and the first interference threshold at a certain moment, the electronic device can determine that the key completes the first stroke, and can trigger the first function.
It will be appreciated that the first interference threshold is the interference threshold after the earth-magnetic field interference has been excluded. Illustratively, the total number of interference values is 300uT, wherein the geomagnetic interference is evaluated as 120uT, and the first interference threshold excluding the geomagnetic interference is 180uT (300uT-120 uT).
It is to be understood that the first interference threshold may be different according to different actual environments. The specific evaluation can be carried out according to actual conditions, and the method is not limited herein.
When it is determined that the magnetic field strength of the magnetic force vector of the magnet on the linear magnetic sensor is greater than the sum of the first interference threshold and the initialization magnetic field strength, it can be indicated that the influence of the movement amplitude of the key on the linear magnetic sensor based on the initial position exceeds the upper limit of the environmental interference, so that the electronic device can determine that the first stroke is completed, and can trigger the first function.
It is understood that the sum of the initial magnetic field strength and the first interference threshold may also be calculated before the magnetic key is shipped or before the electronic device equipped with the magnetic key is shipped, and preset in the electronic device equipped with the magnetic key. In some embodiments, only the first interference threshold may be preset, and the initial magnetic field strength may be determined by real-time calculation, which is not limited herein.
In some embodiments, the sum of the initial magnetic field strength and the first interference threshold may be referred to as a first preset comparison threshold.
As shown in (c) of fig. 7, if at a certain time, the magnetic field strength of the magnetic force vector of the magnet to the linear magnetic sensor is greater than the sum of the initial magnetic field strength, the first interference threshold value and the increased value of the magnetic field strength of the linear magnetic sensor during the first stroke of the magnet movement, the electronic device may determine that the key completes the second stroke, and may trigger the second function.
When the magnetic field strength of the magnetic force vector of the magnet on the linear magnetic sensor is determined to be larger than the sum of the initial magnetic field strength, the first interference threshold value and the magnetic field strength added value of the linear magnetic sensor during the first stroke of the magnet movement, the influence of the movement amplitude of the key on the linear magnetic sensor on the basis of the initial position can be indicated to exceed the upper limit of the first stroke of the movement and the environmental interference, and therefore the electronic equipment can determine that the second stroke is completed and can trigger the second function.
It can be understood that the value of the magnetic field intensity of the linear magnetic sensor increased by the first stroke of the magnet movement can be calculated before the magnetic key leaves the factory or before the electronic device equipped with the magnetic key leaves the factory, and is preset in the electronic device equipped with the magnetic key. In some embodiments, the sum of the initial magnetic field strength, the first interference threshold, and the increased magnetic field strength of the linear magnetic sensor during the first stroke of magnet movement may also be preset directly, without separately presetting the increased magnetic field strength of the linear magnetic sensor during the first stroke of magnet movement, and is not limited herein.
In some embodiments, the sum of the initial magnetic field strength, the first interference threshold, and the increased value of the magnetic field strength of the linear magnetic sensor at the first stroke of magnet movement may be referred to as a second preset comparison threshold.
(7) Interference total value of environmental interference factors and a first interference threshold value:
in addition to the magnetic button, the magnet outputs a magnetic force vector to the linear magnetic sensor, and other environmental interference factors also input the magnetic force vector to the linear magnetic sensor, thereby causing interference to the magnetic force vector output by the linear sensor.
The upper limit value of the magnetic field variation threshold per unit distance can be used as the interference total value MuT of the environmental interference factor. After the key in the magnetic key moves, when the increased magnetic field intensity is larger than the total interference value of the environmental interference factors, the key can be determined to move by a unit distance, otherwise, the key is determined to be touched by mistake.
FIG. 8 is a diagram illustrating an example of a threshold variation per unit distance of a magnetic field in an embodiment of the present application. Illustratively, the magnetic field variation threshold per unit distance may include 120uT due to geomagnetic field, 15uT due to device noise, 0.5mm +/-10% due to structural tolerance, +/-4% due to magnet magnetic strength tolerance, etc., as measured empirically. Illustratively, in some embodiments, the total interference value MuT of the environmental interference factor may be 300uT, as empirically estimated.
In the embodiment of the present application, since the interference of the geomagnetic field is excluded from the magnetic force vector of the linear magnetic sensor, an error caused by the geomagnetic field, for example, 120uT, may be excluded from the magnetic field change threshold per unit distance, so as to obtain the first interference threshold, for example, 180 uT.
It is understood that the total interference value MuT of the environmental interference factor and the first interference threshold may also be different according to different actual situations, and may be calculated specifically according to actual environments and devices, which is not limited herein.
Fig. 9 is a schematic view of a scenario in which a magnetic key triggering method in the prior art is compared with a magnetic key triggering method in the embodiment of the present application.
As shown in fig. 9 (a), it is assumed that a magnetic force vector S1 output by the linear magnetic sensor when the key is at the initial position in the magnetic key is about the vector sum of a magnetic force vector C1 of the magnet and a magnetic force vector D1 of the earth magnetic field.
As shown in fig. 9 (b), it is assumed that the magnetic key has shifted direction relative to fig. 9 (a) and the key is pressed to the first stroke. At this time, the magnetic force vector of the magnet to the linear magnetic sensor is changed to C2. The magnetic force vector D2 of C2 with respect to the earth's magnetic field is different from the magnetic force vector D1 of C1 with respect to the earth's magnetic field. The magnetic force vector S2 output by the linear magnetic sensor is about the vector sum of the magnetic force vector C2 of the magnet and the magnetic force vector D2 of the geomagnetic field.
As shown in (c) of fig. 9, in the magnetic key triggering method of the prior art, when determining whether the key is triggered, it is directly determined whether the difference between the magnetic field strength of the magnetic force vector S2 output by the linear magnetic sensor and the magnetic field strength of the magnetic force vector S1 (i.e., the increased value Z1 of the magnetic field strength of the magnetic force vector output by the linear magnetic sensor in the first stroke) is greater than the total disturbance value MuT of the environmental disturbance factor. For example MuT at 300uT, it is necessary to determine that the button is actuated when the incremental value Z1 is greater than 300 uT. Otherwise, the key is considered to be touched wrongly.
In the same case, as shown in fig. 9 (d), in the magnetic key triggering method according to the embodiment of the present invention, the interference of the geomagnetic field is eliminated in addition to the magnetic force vector output by the linear magnetic sensor, so as to obtain the magnetic force vector of the magnet. It is only necessary to determine whether the difference between the magnetic field strength of the magnetic force vector C2 of the magnet and the magnetic field strength of the magnetic force vector C1 (i.e., the increase Z2 of the magnetic field strength of the magnet at the first stroke) is greater than the first interference threshold value after the interference of the earth-magnetic field is eliminated. For example, if the total interference value MuT of the environmental interference factor is 300uT, the first interference threshold may be only 180uT, and if the increase value Z2 is greater than 180uT, it may be determined that the key was actuated without considering a key mis-touch.
Not only does the judgment of the comparison interference threshold value reduce from 300uT to 180uT, but also in many cases, because the geomagnetic field interference is eliminated, the calculated value Z2 for increasing the magnetic field strength of the first stroke is increased compared with the value Z1 in the prior art, so that the key in the magnetic key can be identified more quickly and accurately when reaching the first stroke. Therefore, the sensitivity of magnetic key trigger identification is greatly improved.
An exemplary electronic device 100 provided by embodiments of the present application is first described below.
Fig. 10 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
The following describes an embodiment specifically by taking the electronic device 100 as an example. It should be understood that electronic device 100 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 100 may include: a processor 110, a magnetometer 120, a linear magnetic sensor 130, a key 141 and a magnet 142.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. The different processing units may be separate devices or may be integrated into one or more processors. A memory may also be provided in processor 110 for storing instructions and data.
The processor 110 may invoke instructions and data stored in the memory to cause the electronic device 100 to perform the magnetic key activation method in the embodiments of the present application.
In the embodiment of the present application, the processor 110 is configured to calculate the magnetic force vector output by the magnet 142 to the linear sensor 130 in real time according to the magnetic force vector output by the linear magnetic sensor 130 and the magnetic force vector output by the geomagnetism 120. And compares the magnetic field strength of the magnetic force vector outputted from the linear sensor 130 by the magnet 142 with a preset comparison threshold (e.g., a first preset comparison threshold, a second preset comparison threshold, etc.), thereby determining whether the key 141 of the magnetic key completes a preset stroke (e.g., a first stroke, a second stroke, etc.). When the button 141 is determined to complete the preset stroke, a corresponding preset function (e.g., a first function, a second function, etc.) is triggered.
In some embodiments of the present application, the electronic device 100 is a handle. The processor 110 is a handle master control chip.
In some embodiments of the present application, the electronic device 100 is a mobile terminal device. The processor 110 is a CPU of the mobile terminal device.
The geomagnetic meter 120 is configured to detect and output a magnetic force vector of the geomagnetic field;
the linear magnetic sensor 130 is used for detecting the input magnetic force vector and outputting the detected magnetic force vector. The magnetic force vector input to the linear magnetic sensor 130 is mainly the magnetic force vector of the magnet 142 to the linear sensor. In addition, the magnetic force vector input to the linear magnetic sensor 130 also includes the magnetic force vector of the geomagnetic field to the linear sensor 130, and the magnetic force vector of other environmental interference factors to the linear sensor 130.
A magnet 142 for inputting a magnetic force vector to the linear sensor 130 by moving the button 141;
and a button 141 for moving under the operation of the user and driving the magnet 142.
It will be appreciated that the magnet 142 and the key 141 may together comprise a magnetic key.
The following describes the magnetic key triggering method in this embodiment in detail with reference to the hardware structure of the exemplary electronic device 100, and fig. 11 is a schematic flow chart of the magnetic key triggering method in this embodiment:
it will be appreciated that the initial magnetic field strength, the first interference threshold, has been preset in the electronic device before the following steps are performed.
The initial magnetic field strength is a magnetic field strength of a vector difference between a magnetic vector output by the linear sensor and a magnetic vector output by the magnetometer when a key stroke of a first key in the electronic equipment is 0.
The first interference threshold value is a calculated total interference value of the magnetic force vector output by the linear sensor due to other environmental interference factors after the geomagnetic field interference is eliminated.
S1101, the electronic equipment determines a magnetic force vector output by the linear magnetic sensor at a first moment to obtain a first magnetic force vector;
as the key stroke of the first key (e.g., key 141) in the electronic device 100 increases, the magnetic force vector input by the magnet 142 to the linear magnetic sensor 130 increases.
It is understood that in the embodiments of the present application, the magnetic key includes a first key and a magnet associated with the first key, such as key 141 and magnet 142. The magnet associated with the first key moves with the movement of the first key. The magnet associated with the first key and the first key may be coupled in a variety of ways. For example, a magnet may be attached to the first key; as another example, a magnet may be embedded in the first key, etc. Many other connection methods are possible and are not limited herein.
After the electronic device 100 is turned on, or after the magnetic key function of the electronic device 100 is turned on, the electronic device 100 may continuously monitor the magnetic vector output by the linear sensor. Here, the magnetic force vector output by the linear magnetic sensor 130 at the first time may be referred to as a first magnetic force vector.
S1102, the electronic equipment determines a magnetic vector output by the geomagnetism meter at the first moment to obtain a second magnetic vector;
after the electronic device 100 is turned on or after the magnetic key function of the electronic device 100 is turned on, the electronic device 100 may continuously monitor the magnetic vector output by the magnetometer 120. The magnetic force vector output by the geomagnetism meter 120 at the first time may be denoted as a second magnetic force vector.
S1103, the electronic device determines the magnetic field strength of the vector difference between the first magnetic force vector and the second magnetic force vector to obtain a first magnetic field strength at a first moment;
after the electronic device 100 obtains the first magnetic force vector output by the linear magnetic sensor 130 at the first time and the second magnetic force vector output by the geomagnetism 120 at the first time, the electronic device may determine, in real time, the magnetic field strength of the vector difference between the first magnetic force vector and the second magnetic force vector, and obtain the first magnetic field strength at the first time, that is, the magnetic field strength after calibration to eliminate geomagnetic field interference.
It should be noted that the vector difference between the first magnetic force vector and the second magnetic force vector is also a magnetic force vector, and the magnetic force vector includes the magnetic field intensity and the magnetic force direction.
It is understood that the first magnetic field strength is the magnetic field strength of the magnetic force vector detected by the first linear magnetic sensor 130 excluding the interference of the geomagnetic field.
For example, fig. 12 is a data flow diagram illustrating the electronic device obtaining the first magnetic field strength. The processor obtains a first magnetic force vector T1 output by the linear magnetic sensor at the first moment and a second magnetic force vector T2 output by the magnetometer at the first moment, and obtains magnetic field strength | T1-T2| of a vector difference between T1 and T2 as the magnetic field strength after calibration, namely the first magnetic field strength at the first moment.
The electronic device may compare the first magnetic field strength at the first time with a preset comparison threshold after calculating the first magnetic field strength at the first time.
According to the number of the sections of the key stroke of the first key in the electronic equipment, a plurality of preset comparison thresholds can be preset in the electronic equipment. For example, if the first button has only 1 stroke: a first trip, wherein a first preset comparison threshold may be preset in the electronic device; for another example, if the first button has 2 strokes: the first trip and the second trip may be preset in the electronic device with a first preset comparison threshold and a second preset comparison threshold. If the first key has 3 strokes: the first stroke, the second stroke and the third stroke may be preset in the electronic device with a first preset comparison threshold, a second preset comparison threshold and a third preset comparison threshold. It is understood that the first button may have more strokes, and is not limited herein.
S1104, when the first magnetic field strength at the first moment is determined to be greater than a first preset comparison threshold, the electronic equipment triggers a first function corresponding to the completion of a first stroke;
if the electronic device 100 determines that the first magnetic field strength at the first time is greater than the first preset comparison threshold, the electronic device may determine that the first button completes the first stroke at or after the first time, and may trigger a preset first function corresponding to the first stroke. Wherein the first preset comparison threshold is the sum of the initial magnetic field strength and the first interference threshold.
S1105, when the first magnetic field intensity at the first moment is determined to be larger than a second preset comparison threshold, the electronic equipment triggers a second function corresponding to the completion of a second stroke.
If the first button further includes a second stroke, a second preset comparison threshold value or a preset first stroke magnetic field increment value may be preset in the electronic device 100. And the second preset comparison threshold is the sum of the first preset comparison threshold and the preset first stroke magnetic field increment value. The preset first stroke magnetic field increment value is the increment value of the magnetic field intensity of the magnet at the position of the linear magnetic sensor when the magnet moves along with the first key for the first stroke after being measured and calculated in advance.
Therefore, if the electronic device 100 determines that the first magnetic field strength at the first time is greater than the second preset comparison threshold, the electronic device may determine that the first key completes the second stroke at or after the first time, and may trigger a preset second function corresponding to the second stroke.
In the embodiment of the present application, on one hand, the electronic device 100 calibrates the magnetic vector output by the linear magnetic sensor 130 through the magnetic vector output by the geomagnetic meter 120, and removes the interference of the geomagnetic field in the magnetic vector output by the linear magnetic sensor 130. Such that the first magnetic field strength at the first moment of comparison is more reflective of the position of the magnet 142. On the other hand, the first preset comparison threshold is the sum of the initial magnetic field strength excluding the disturbance of the geomagnetic field and the first disturbance threshold, so that the first preset comparison threshold is smaller than that in the prior art. Thus, when the first key reaches the predetermined stroke position (for example, when the first stroke is completed), the electronic device 100 can determine that the first key completes the predetermined stroke more quickly and accurately, and can trigger the corresponding function, and the error touch is not determined as the error touch as in the prior art, so that the sensitivity of triggering the magnetic key is greatly improved.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
As used in the above embodiments, the term "when …" may be interpreted to mean "if …" or "after …" or "in response to a determination of …" or "in response to a detection of …", depending on the context. Similarly, depending on the context, the phrase "at the time of determination …" or "if (a stated condition or event) is detected" may be interpreted to mean "if the determination …" or "in response to the determination …" or "upon detection (a stated condition or event)" or "in response to detection (a stated condition or event)".
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.

Claims (10)

1. A magnetic key triggering method is characterized by comprising the following steps:
the electronic equipment determines a magnetic force vector output by the linear magnetic sensor at a first moment to obtain a first magnetic force vector; the magnetic force vector input by the magnet associated with the first key to the linear sensor is increased along with the increase of the key stroke of the first key in the electronic equipment;
the electronic equipment determines a magnetic force vector output by the geomagnetism meter at the first moment to obtain a second magnetic force vector;
the electronic equipment determines the magnetic field strength of the vector difference between the first magnetic force vector and the second magnetic force vector to obtain a first magnetic field strength at a first moment;
and when the first magnetic field intensity at the first moment is determined to be greater than a first preset comparison threshold, the electronic equipment triggers a first function corresponding to the completion of a first stroke.
2. The method of claim 1, wherein the first preset comparison threshold is the sum of an initial magnetic field strength and a first interference threshold; the initial magnetic field strength is the magnetic field strength of the vector difference between the magnetic vector output by the linear sensor and the magnetic vector output by the magnetometer when the key stroke of the first key in the electronic equipment is 0; the first interference threshold is a calculated total interference value of the magnetic force vector output by the linear sensor due to other environmental interference factors after the geomagnetic field interference is eliminated.
3. The method of claim 2, further comprising:
when the first magnetic field strength at the first moment is determined to be larger than a second preset comparison threshold, the electronic equipment triggers a second function corresponding to the completion of a second stroke; the second stroke is the next key stroke of the first key after the first stroke; the second preset comparison threshold is greater than the first preset comparison threshold.
4. The method of claim 3, wherein the second preset comparison threshold is a sum of the first preset comparison threshold and a preset first stroke magnetic field increment value; the preset first stroke magnetic field increment value is the increment value of the magnetic field intensity of the magnet at the position of the linear magnetic sensor when the magnet moves along with the first key for the first stroke after being measured and calculated in advance.
5. The method of any of claims 1-4, wherein the electronic device is a handle, and wherein one magnetic key in the handle comprises the first key and a magnet associated with the first key.
6. An electronic device, characterized in that the electronic device comprises:
one or more processors, a memory, a first key, a magnet associated with the first key, a linear magnetic sensor, and a magnetometer;
the linear magnetic sensor is used for detecting and outputting an input magnetic force vector; the magnetic force vector input by the magnet associated with the first key to the linear sensor is increased along with the increase of the key stroke of the first key;
the geomagnetic meter is used for detecting and outputting a magnetic force vector of a geomagnetic field;
the memory coupled with the one or more processors, the memory to store computer program code, the computer program code including computer instructions, the one or more processors to invoke the computer instructions to cause the electronic device to perform:
determining a magnetic force vector output by the linear magnetic sensor at a first moment to obtain a first magnetic force vector;
determining a magnetic force vector output by the geomagnetism meter at the first moment to obtain a second magnetic force vector;
determining the magnetic field strength of the vector difference between the first magnetic force vector and the second magnetic force vector to obtain a first magnetic field strength at a first moment;
and when the first magnetic field strength at the first moment is determined to be greater than a first preset comparison threshold value, triggering a first function corresponding to the completion of a first stroke.
7. The electronic device of claim 6, wherein the first preset comparison threshold is a sum of an initial magnetic field strength and a first interference threshold; the initial magnetic field strength is the magnetic field strength of the vector difference between the magnetic vector output by the linear sensor and the magnetic vector output by the magnetometer when the key stroke of the first key in the electronic equipment is 0; the first interference threshold is a calculated total interference value of the magnetic force vector output by the linear sensor due to other environmental interference factors after the geomagnetic field interference is eliminated.
8. The electronic device of claim 7, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform:
when the first magnetic field strength at the first moment is determined to be larger than a second preset comparison threshold value, triggering a second function corresponding to the completion of a second stroke; the second stroke is the next key stroke of the first key after the first stroke; the second preset comparison threshold is greater than the first preset comparison threshold.
9. The electronic device of claim 8, wherein the second preset comparison threshold is a sum of the first preset comparison threshold and a preset first stroke magnetic field increment value; the preset first stroke magnetic field increment value is the increment value of the magnetic field intensity of the magnet at the position of the linear magnetic sensor when the magnet moves along with the first key for the first stroke after being measured and calculated in advance.
10. The electronic device of any of claims 6-9, wherein the electronic device is a handle, and wherein one magnetic key in the handle comprises the first key and a magnet associated with the first key.
CN202011178383.3A 2020-10-29 2020-10-29 Magnetic key triggering method and electronic equipment Active CN114427823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011178383.3A CN114427823B (en) 2020-10-29 2020-10-29 Magnetic key triggering method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011178383.3A CN114427823B (en) 2020-10-29 2020-10-29 Magnetic key triggering method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114427823A true CN114427823A (en) 2022-05-03
CN114427823B CN114427823B (en) 2023-06-27

Family

ID=81310429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011178383.3A Active CN114427823B (en) 2020-10-29 2020-10-29 Magnetic key triggering method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114427823B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038777A (en) * 2004-07-30 2006-02-09 Nec Corp Portable information terminal
CN102306132A (en) * 2011-08-10 2012-01-04 中兴通讯股份有限公司 Mobile terminal and method for waking up mobile terminal
CN102833412A (en) * 2012-08-27 2012-12-19 广东欧珀移动通信有限公司 Mobile terminal and unlocking system and unlocking method for same
CN103049115A (en) * 2013-01-28 2013-04-17 合肥华恒电子科技有限责任公司 Handwriting input apparatus capable of recording handwriting pen moving posture
CN204707113U (en) * 2015-04-21 2015-10-14 青岛歌尔声学科技有限公司 A kind of analogue-key, a kind of terminal equipment and determine the device of analogue-key stroke
JP3200734U (en) * 2015-03-23 2015-11-05 英男 石原 Mobile navigation system for the visually impaired
CN106656204A (en) * 2016-11-28 2017-05-10 杭州九阳小家电有限公司 Method and device for implementing interference resistance of touch key
US20180335801A1 (en) * 2017-05-19 2018-11-22 Apple Inc. Magnetically compensated button feel in an electronic system
CN109238262A (en) * 2018-11-05 2019-01-18 珠海全志科技股份有限公司 A kind of course attitude algorithm and compass calibrate anti-interference method
CN109972915A (en) * 2019-04-12 2019-07-05 深圳智游者科技有限公司 Recognition methods, device and the equipment of axial door opening and closing state
CN110086563A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of method of controlling rotation, equipment and computer readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006038777A (en) * 2004-07-30 2006-02-09 Nec Corp Portable information terminal
CN102306132A (en) * 2011-08-10 2012-01-04 中兴通讯股份有限公司 Mobile terminal and method for waking up mobile terminal
CN102833412A (en) * 2012-08-27 2012-12-19 广东欧珀移动通信有限公司 Mobile terminal and unlocking system and unlocking method for same
CN103049115A (en) * 2013-01-28 2013-04-17 合肥华恒电子科技有限责任公司 Handwriting input apparatus capable of recording handwriting pen moving posture
JP3200734U (en) * 2015-03-23 2015-11-05 英男 石原 Mobile navigation system for the visually impaired
CN204707113U (en) * 2015-04-21 2015-10-14 青岛歌尔声学科技有限公司 A kind of analogue-key, a kind of terminal equipment and determine the device of analogue-key stroke
CN106656204A (en) * 2016-11-28 2017-05-10 杭州九阳小家电有限公司 Method and device for implementing interference resistance of touch key
US20180335801A1 (en) * 2017-05-19 2018-11-22 Apple Inc. Magnetically compensated button feel in an electronic system
CN109238262A (en) * 2018-11-05 2019-01-18 珠海全志科技股份有限公司 A kind of course attitude algorithm and compass calibrate anti-interference method
CN109972915A (en) * 2019-04-12 2019-07-05 深圳智游者科技有限公司 Recognition methods, device and the equipment of axial door opening and closing state
CN110086563A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of method of controlling rotation, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN114427823B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
EP2862146B1 (en) Adaptive switching between a vision aided intertial camera pose estimation and a vision based only camera pose estimation.
EP2795450B1 (en) User gesture recognition
US9910937B2 (en) Method and device for generating data representing structure of room
US20150185857A1 (en) User interface method and apparatus based on spatial location recognition
US8339123B2 (en) Portable electronic device with electronic compass and method for calibrating compass
US8838403B2 (en) Method and system for a self-calibrated multi-magnetometer platform
KR20140116632A (en) Method and wearable device to sense motion of user
EP2845025A1 (en) Simultaneous localization and mapping using spatial and temporal coherence for indoor location
TWI649676B (en) Human interface device and method
CN107076847B (en) Electronic device, control method for electronic device, and recording medium
US20130201102A1 (en) Mobile communication device with three-dimensional sensing and a method therefore
EP3387515B1 (en) Method and system for estimating finger movement with selection of navigation subareas
KR101965044B1 (en) Method and device for following object
CN114427823A (en) Magnetic key triggering method and electronic equipment
US20210270973A1 (en) System and methods for fault detection in kalman filter estimation
CN114739412B (en) Pedestrian gait real-time detection method and device based on smart phone
CN113340322B (en) Step counting method and device, electronic equipment and readable storage medium
WO2005092230A2 (en) Medical interventional system and method
US9170653B1 (en) Motion recognition method
CN108710432A (en) A kind of diamagnetic method, attitude determination method and the device of motion capture equipment
JP6552274B2 (en) Terminal device and information processing method
WO2023097573A1 (en) Devices and methods for remote control and annotation associated with an electronic device
KR102448926B1 (en) Indoor location measurement method using fingerprint and electronic device using same
CN111078489B (en) Electronic device and attitude correction method thereof
CN108317982B (en) Three-dimensional space body position sense testing device and method

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