CN110456923B - Gesture sensing data processing method and electronic equipment - Google Patents
Gesture sensing data processing method and electronic equipment Download PDFInfo
- Publication number
- CN110456923B CN110456923B CN201910703294.7A CN201910703294A CN110456923B CN 110456923 B CN110456923 B CN 110456923B CN 201910703294 A CN201910703294 A CN 201910703294A CN 110456923 B CN110456923 B CN 110456923B
- Authority
- CN
- China
- Prior art keywords
- data
- correction
- target device
- working parameters
- collecting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/16—Sound input; Sound output
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Gyroscopes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a gesture sensing data processing method and electronic equipment, wherein the method comprises the following steps: collecting first data measured by an attitude sensor; collecting working parameters of a target device, and acquiring correction data according to the working parameters and preset correction model data; and carrying out correction processing on the first data by using the correction data, and outputting second data obtained after the correction processing. The first data measured by the attitude sensor are corrected according to the working parameters of the target device and the preset correction model data, so that the influence of vibration generated during the working of the target device on the accuracy of the data of the attitude sensor can be reduced, and the accuracy of the data of the attitude sensor can be improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a gesture sensing data processing method and an electronic device.
Background
Existing electronic devices are often equipped with attitude sensors (e.g., gyroscopes, accelerometers, or electronic compasses, etc.), which can make good measurements of the attitude and orientation of the electronic device in order to accurately analyze the actions of the user and thus make corresponding operations on the electronic device.
From the foregoing, whether the data of the gesture sensor is accurate or not can directly affect the accuracy of the response operation of the electronic device. When a target device (such as a loudspeaker or a motor) in the existing electronic equipment works, the electronic equipment generates certain vibration, and the vibration is measured by the attitude sensor, so that the accuracy of data of the attitude sensor is poor.
Disclosure of Invention
The embodiment of the invention provides a gesture sensing data processing method and electronic equipment, which are used for solving the problem that the accuracy of data of a gesture sensor is poor because a certain vibration is generated by the electronic equipment when a target device in the existing electronic equipment works and the vibration is measured by the gesture sensor.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for processing attitude sensing data, including:
collecting first data measured by an attitude sensor;
collecting working parameters of a target device, and acquiring correction data according to the working parameters and preset correction model data;
and carrying out correction processing on the first data by using the correction data, and outputting second data obtained after the correction processing.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the acquisition module is used for acquiring the first data measured by the attitude sensor;
the correction data acquisition module is used for acquiring working parameters of the target device and acquiring correction data according to the working parameters and preset correction model data;
and the correction module is used for carrying out correction processing on the first data by using the correction data and outputting second data obtained after the correction processing.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program when executed by the processor implements the steps of the gesture sensing data processing method described above.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the above-described attitude sensing data processing method.
In the embodiment of the invention, the first data measured by the attitude sensor is corrected according to the working parameters of the target device and the preset correction model data, so that the influence of vibration generated when the target device works on the accuracy of the data of the attitude sensor can be reduced, and the accuracy of the data of the attitude sensor can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of 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 other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a flow chart of a method for processing attitude sensing data according to an embodiment of the present invention;
FIG. 2 is an exemplary diagram of a method for processing attitude sensing data according to an embodiment of the present invention;
FIG. 3 is a second exemplary diagram of a method for processing attitude sensing data according to an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device according to an embodiment of the present invention;
FIG. 5 is a second block diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides a method for processing attitude sensing data, including the following steps:
step 101, collecting first data measured by an attitude sensor;
102, collecting working parameters of a target device, and obtaining correction data according to the working parameters and preset correction model data;
and 103, performing correction processing on the first data by using the correction data, and outputting second data obtained after the correction processing.
The gesture sensor may be used for measuring a motion gesture of the electronic device, and specifically, the gesture sensor may be a gyroscope, an accelerometer, or an electronic compass.
The target device may be a device that vibrates the electronic apparatus in an operating state, and may be a horn, a motor, or the like, for example. The operating parameters may include at least one of: operating voltage, operating frequency, and operating current; specifically, the operating parameter may be determined according to a performance form of the target device, and when the target device is a horn, for example, the operating parameter may include an operating voltage and/or an operating frequency. The preset correction model data can be used for acquiring corresponding correction data according to the working parameters.
The correction processing may be addition processing of the first data and the correction data; the first data may be subtracted from the correction data. For example, assuming that the first data is (x, y, z) and the correction data is (a, b, c), the correction process may be to subtract the correction data (a, b, c) from the first data (x, y, z), that is, the second data obtained by the correction process is (x-a, y-b, z-c).
It should be noted that, the step 101 and the step 102 may be performed sequentially or simultaneously. When step 101 and step 102 are performed sequentially, the step 101 may be performed after the previous step 102 is performed, or the step 102 may be performed after the previous step 101 is performed, which is not limited in this embodiment of the present invention.
The gesture sensing data processing method provided by the embodiment of the invention can be applied to various electronic devices such as mobile phones, tablet computers (Tablet Personal Computer), laptop computers (Laptop computers), personal digital assistants (personal digital assistant, PDA for short), mobile internet devices (Mobile Internet Device, MID for short) or Wearable devices (Weable devices).
In the embodiment of the invention, the first data measured by the attitude sensor is corrected according to the working parameters of the target device and the preset correction model data, so that the influence of vibration generated when the target device works on the accuracy of the data of the attitude sensor can be reduced, and the accuracy of the data of the attitude sensor can be improved.
Optionally, the acquiring the working parameter of the target device, and acquiring the correction data according to the working parameter and the preset correction model data includes:
and under the condition that the target device is in a working state, collecting working parameters of the target device, and acquiring correction data according to the working parameters and preset correction model data.
In the present embodiment, when the target device is in the non-operating state, the first data may be directly output without correcting the first data.
For ease of understanding, a gyroscope is used herein as the attitude sensor and a horn is used as the target device for illustration:
as shown in fig. 2, in the case of receiving a gyro data call application sent by a target application (for example, a game application), judging whether a horn is in operation, if the horn is in operation, acquiring an operating parameter of the horn, acquiring correction data according to the acquired operating parameter and preset correction model data, performing correction processing on data measured by a gyro by using the correction data, and then outputting corrected gyro data; if the loudspeaker is not in the working state, directly outputting the uncorrected gyroscope data.
The working parameters of the target device can be collected and corresponding correction processing is carried out only under the condition that the target device is in a working state, so that the accuracy of the data of the attitude sensor can be ensured, and the energy consumption can be further reduced.
It should be understood that the preset correction model data in the embodiment of the present invention may have different expression forms, and the following description will be given by using different embodiments:
optionally, the preset correction model data includes a calculation formula for calculating correction data using the operation parameters. Thus, the corresponding correction data can be calculated by substituting the collected working parameters into the calculation formula.
Optionally, the preset correction model data includes a correspondence between the working parameter and the correction data.
For ease of understanding, the examples herein are: assuming that the target device is a horn, the working parameters include a working voltage and a working frequency, and the preset correction model data may include a correspondence between the working voltage of the horn, the working frequency of the horn, and the correction data, where the correspondence may be specifically shown in fig. 3, where a horizontal axis in fig. 3 represents the working frequency of the horn, a vertical axis represents the working voltage of the horn, and G shown in fig. 3 1 (x,y,z)、G 2 (x, y, z) and G 3 (x, y, z) all represent correction data.
Because the preset correction model data directly comprises the corresponding relation between the working parameters and the correction data, the corresponding correction data can be rapidly determined only by knowing the working parameters, the step of calculating the correction data is omitted, and the correction data can be obtained more rapidly and conveniently.
It should be understood that, in the case where the preset correction model data includes the correspondence between the operating parameter and the correction data, the preset correction model data may be obtained by:
under the condition that the target device is in a working state, collecting working parameters of the target device, and collecting first test data measured by the attitude sensor;
under the condition that the target device is not in a working state, collecting second test data measured by the attitude sensor;
and taking the difference value of the first test data and the second test data as correction data, and establishing a corresponding relation between the working parameters and the correction data.
The step of collecting the first test data and the step of collecting the second test data may be performed sequentially or simultaneously. When the step of collecting the first test data and the step of collecting the second test data are executed sequentially, the step of collecting the first test data may be executed before the step of collecting the second test data is executed after the step of collecting the second test data is executed; the step of collecting the second test data may be performed before the step of collecting the first test data is performed after the step of collecting the second test data is performed, which is not limited in the embodiment of the present invention.
It should be noted that, the various alternative embodiments described in the embodiments of the present invention may be implemented in combination with each other, or may be implemented separately, which is not limited to the embodiments of the present invention.
According to the embodiment of the invention, the offset data of the attitude sensor is counted and modeled by working the target device, so that the data of the attitude sensor is corrected when the target device works, and the data precision of the attitude sensor can be improved.
As shown in fig. 4, an embodiment of the present invention provides an electronic device 400, including:
the acquisition module 401 is configured to acquire first data measured by the attitude sensor;
the correction data acquisition module 402 is configured to acquire an operating parameter of a target device, and acquire correction data according to the operating parameter and preset correction model data;
and the correction module 403 is configured to perform correction processing on the first data using the correction data, and output second data obtained after the correction processing.
Optionally, the correction data obtaining module 402 is configured to:
and under the condition that the target device is in a working state, collecting working parameters of the target device, and acquiring correction data according to the working parameters and preset correction model data.
Optionally, the preset correction model data includes a correspondence between the working parameter and the correction data.
Optionally, as shown in fig. 5, the electronic device 400 further includes a preset correction model data obtaining module 404, where the preset correction model data obtaining module 404 includes:
a first acquisition unit 4041, configured to acquire an operating parameter of the target device and acquire first test data measured by the attitude sensor when the target device is in an operating state;
a second acquisition unit 4042, configured to acquire second test data measured by the attitude sensor when the target device is not in a working state;
the correspondence establishing unit 4043 is configured to take the difference between the first test data and the second test data as correction data, and establish a correspondence between the working parameter and the correction data.
Optionally, the operating parameters include: operating voltage and/or operating frequency.
The electronic device 400 is capable of implementing each process implemented by the electronic device in the method embodiments of fig. 1 to 3, and for avoiding repetition, a description thereof will be omitted.
According to the electronic equipment 400 provided by the embodiment of the invention, the first data measured by the attitude sensor is corrected according to the working parameters of the target device and the preset correction model data, so that the influence of vibration generated when the target device works on the accuracy of the data of the attitude sensor can be reduced, and the accuracy of the data of the attitude sensor can be further improved.
Fig. 6 is a schematic hardware structure of an electronic device implementing various embodiments of the present invention, where the electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power supply 611. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
Wherein the processor 610 is configured to:
collecting first data measured by an attitude sensor;
collecting working parameters of a target device, and acquiring correction data according to the working parameters and preset correction model data;
and carrying out correction processing on the first data by using the correction data, and outputting second data obtained after the correction processing.
Optionally, the acquiring, by the processor 610, the working parameter of the target device, and acquiring the correction data according to the working parameter and the preset correction model data includes:
and under the condition that the target device is in a working state, collecting working parameters of the target device, and acquiring correction data according to the working parameters and preset correction model data.
Optionally, the preset correction model data includes a correspondence between the working parameter and the correction data.
Optionally, the processor 610 is further configured to:
under the condition that the target device is in a working state, collecting working parameters of the target device, and collecting first test data measured by the attitude sensor;
under the condition that the target device is not in a working state, collecting second test data measured by the attitude sensor;
and taking the difference value of the first test data and the second test data as correction data, and establishing a corresponding relation between the working parameters and the correction data.
Optionally, the operating parameters include: operating voltage and/or operating frequency.
The electronic device 600 can implement each process implemented by the electronic device in the foregoing embodiment, and in order to avoid repetition, a description is omitted here.
According to the electronic equipment 600 provided by the embodiment of the invention, the first data measured by the attitude sensor is corrected according to the working parameters of the target device and the preset correction model data, so that the influence of vibration generated when the target device works on the accuracy of the data of the attitude sensor can be reduced, and the accuracy of the data of the attitude sensor can be further improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 610; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 600. The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, the graphics processor 6041 processing image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. Microphone 6042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 6061 and/or the backlight when the electronic device 600 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 605 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 606 is used to display information input by a user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 6071 or thereabout using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 610, and receives and executes commands sent from the processor 610. In addition, the touch panel 6071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 6071 may be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 610 to determine a type of a touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 608 is an interface to which an external device is connected to the electronic apparatus 600. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 600 or may be used to transmit data between the electronic apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a storage program area that may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data created according to the use of the electronic device (such as audio data, phonebooks, etc.), and the like. In addition, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may also include a power supply 611 (e.g., a battery) for powering the various components, and preferably the power supply 611 may be logically coupled to the processor 610 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program when executed by the processor 610 implements each process of the above embodiment of the gesture sensing data processing method, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements each process of the above embodiment of the attitude sensing data processing method, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (8)
1. A method of processing attitude sensing data, comprising:
collecting first data measured by an attitude sensor;
collecting working parameters of a target device, and acquiring correction data according to the working parameters and preset correction model data, wherein the working parameters comprise: operating voltage and/or operating frequency;
performing correction processing on the first data by using the correction data, and outputting second data obtained after the correction processing;
the collecting the working parameters of the target device, and obtaining correction data according to the working parameters and preset correction model data comprises the following steps:
and under the condition that the target device is in a working state, collecting working parameters of the target device, and acquiring correction data according to the working parameters and preset correction model data.
2. The method of claim 1, wherein the predetermined correction model data includes a correspondence between the operating parameter and the correction data.
3. The method according to claim 2, wherein the preset correction model data is obtained by:
under the condition that the target device is in a working state, collecting working parameters of the target device, and collecting first test data measured by the attitude sensor;
under the condition that the target device is not in a working state, collecting second test data measured by the attitude sensor;
and taking the difference value of the first test data and the second test data as correction data, and establishing a corresponding relation between the working parameters and the correction data.
4. An electronic device, comprising:
the acquisition module is used for acquiring the first data measured by the attitude sensor;
the correction data acquisition module is used for acquiring working parameters of the target device and acquiring correction data according to the working parameters and preset correction model data, wherein the working parameters comprise: operating voltage and/or operating frequency;
the correction module is used for carrying out correction processing on the first data by using the correction data and outputting second data obtained after the correction processing;
the acquisition module is used for:
and under the condition that the target device is in a working state, collecting working parameters of the target device, and acquiring correction data according to the working parameters and preset correction model data.
5. The electronic device of claim 4, wherein the preset correction model data comprises a correspondence between the operating parameter and the correction data.
6. The electronic device of claim 5, further comprising a preset rework model data acquisition module comprising:
the first acquisition unit is used for acquiring working parameters of the target device and acquiring first test data measured by the attitude sensor under the condition that the target device is in a working state;
the second acquisition unit is used for acquiring second test data measured by the attitude sensor under the condition that the target device is not in a working state;
and the corresponding relation establishing unit is used for taking the difference value of the first test data and the second test data as correction data and establishing the corresponding relation between the working parameters and the correction data.
7. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the gesture sensing data processing method of any of claims 1 to 3.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the attitude sensing data processing method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703294.7A CN110456923B (en) | 2019-07-31 | 2019-07-31 | Gesture sensing data processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910703294.7A CN110456923B (en) | 2019-07-31 | 2019-07-31 | Gesture sensing data processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110456923A CN110456923A (en) | 2019-11-15 |
CN110456923B true CN110456923B (en) | 2023-08-11 |
Family
ID=68484366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910703294.7A Active CN110456923B (en) | 2019-07-31 | 2019-07-31 | Gesture sensing data processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110456923B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111189577B (en) * | 2020-01-16 | 2022-01-07 | 腾讯科技(深圳)有限公司 | Sensor calibration and data measurement method, device, equipment and storage medium |
CN112902988A (en) * | 2021-03-12 | 2021-06-04 | Oppo广东移动通信有限公司 | Parameter calibration method, device, terminal and storage medium |
CN113345030B (en) * | 2021-06-17 | 2024-01-02 | 三一重机有限公司 | Calibration method and device for working machine sensor, working machine and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014086270A1 (en) * | 2012-12-03 | 2014-06-12 | Gu Hongbo | System and method for selecting measuring basis correction dynamic state intelligently |
CN107504981A (en) * | 2017-07-25 | 2017-12-22 | 国家测绘地理信息局卫星测绘应用中心 | A kind of attitude of satellite error correcting method and equipment based on laser-measured height data |
CN108153422A (en) * | 2018-01-08 | 2018-06-12 | 维沃移动通信有限公司 | A kind of display object control method and mobile terminal |
CN109781934A (en) * | 2017-11-13 | 2019-05-21 | 富士通株式会社 | Processing unit, processing method, computer readable storage medium and the environment sensor system of environmental sensor detection data |
CN109788125A (en) * | 2018-12-24 | 2019-05-21 | 维沃移动通信有限公司 | Interfere processing method, device and mobile terminal |
-
2019
- 2019-07-31 CN CN201910703294.7A patent/CN110456923B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014086270A1 (en) * | 2012-12-03 | 2014-06-12 | Gu Hongbo | System and method for selecting measuring basis correction dynamic state intelligently |
CN107504981A (en) * | 2017-07-25 | 2017-12-22 | 国家测绘地理信息局卫星测绘应用中心 | A kind of attitude of satellite error correcting method and equipment based on laser-measured height data |
CN109781934A (en) * | 2017-11-13 | 2019-05-21 | 富士通株式会社 | Processing unit, processing method, computer readable storage medium and the environment sensor system of environmental sensor detection data |
CN108153422A (en) * | 2018-01-08 | 2018-06-12 | 维沃移动通信有限公司 | A kind of display object control method and mobile terminal |
CN109788125A (en) * | 2018-12-24 | 2019-05-21 | 维沃移动通信有限公司 | Interfere processing method, device and mobile terminal |
Non-Patent Citations (1)
Title |
---|
磁传感器输出姿态信息修正方法研究;石岗等;《仪器仪表学报》;20190315(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110456923A (en) | 2019-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108449489B (en) | Flexible screen control method, mobile terminal and server | |
CN108600546B (en) | Environment light detection method and mobile terminal | |
CN110109593B (en) | Screen capturing method and terminal equipment | |
JP7303900B2 (en) | Parameter acquisition method and terminal equipment | |
CN109862504B (en) | Display method and terminal equipment | |
CN111049510B (en) | Touch key, control method and electronic equipment | |
CN107608855B (en) | Reminding method and mobile terminal | |
CN110456923B (en) | Gesture sensing data processing method and electronic equipment | |
CN110933494A (en) | Picture sharing method and electronic equipment | |
CN111142618A (en) | Method for detecting folding angle and electronic equipment | |
CN108828613B (en) | Method for removing noise and hazardous chemical storage laser scanning device | |
CN109443261B (en) | Method for acquiring folding angle of folding screen mobile terminal and mobile terminal | |
CN109618055B (en) | Position sharing method and mobile terminal | |
CN109141355B (en) | Relative height measuring method based on multiple sensors and wearable equipment | |
CN109257489B (en) | Display method and mobile terminal | |
CN108632466B (en) | Volume compensation method and mobile terminal | |
CN108600517B (en) | Method and terminal for switching screen state | |
CN108196663B (en) | Face recognition method and mobile terminal | |
CN109948311B (en) | Screen unlocking method and device | |
CN110113490B (en) | Information processing method, terminal and computer readable storage medium | |
CN109618278B (en) | Positioning method and mobile terminal | |
CN108965701B (en) | Jitter correction method and terminal equipment | |
CN108845261B (en) | Electric quantity prompting method and terminal equipment | |
CN108494946B (en) | Method and device for correcting electronic compass in mobile terminal | |
CN111328132A (en) | Method for adjusting transmitting power and electronic equipment |
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 |