CN108020374A - Atmospheric pressure value determines method and device - Google Patents

Atmospheric pressure value determines method and device Download PDF

Info

Publication number
CN108020374A
CN108020374A CN201711236508.1A CN201711236508A CN108020374A CN 108020374 A CN108020374 A CN 108020374A CN 201711236508 A CN201711236508 A CN 201711236508A CN 108020374 A CN108020374 A CN 108020374A
Authority
CN
China
Prior art keywords
environment temperature
calibration
value
calibration value
atmospheric pressure
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
CN201711236508.1A
Other languages
Chinese (zh)
Other versions
CN108020374B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711236508.1A priority Critical patent/CN108020374B/en
Publication of CN108020374A publication Critical patent/CN108020374A/en
Application granted granted Critical
Publication of CN108020374B publication Critical patent/CN108020374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L19/00Details of, or accessories for, apparatus for measuring steady or quasi-steady pressure of a fluent medium insofar as such details or accessories are not special to particular types of pressure gauges
    • G01L19/04Means for compensating for effects of changes of temperature, i.e. other than electric compensation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of definite method and device of atmospheric pressure value, the described method includes:When receiving air pressure detection instruction, the first environment temperature under current state is determined;Determine calibration value corresponding with the first environment temperature;The first atmospheric pressure value currently gathered according to the calibration value and baroceptor, determines the second atmospheric pressure value of current environment.By calibration value corresponding with the environment temperature under current state, the atmospheric pressure value of calibration baroceptor collection, can obtain the actual pressure value of current environment, improve the accuracy of measurement atmospheric pressure value the disclosure.

Description

Atmospheric pressure value determines method and device
Technical field
This disclosure relates to field of sensing technologies, more particularly to a kind of atmospheric pressure value determine method and device.
Background technology
At present, barometer is begun to use on many mobile terminals, for detecting the air pressure of the mobile terminal present position Size, the function are chiefly used in mountain-climbing scene.At present mobile terminal output atmospheric pressure value be all according to environment temperature be 25 DEG C The atmospheric pressure value that situation is calculated.However, when the environment temperature residing for mobile terminal changes, actual pressure size can be sent out Changing, therefore the atmospheric pressure value of mobile terminal output at this time is inaccurate.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of atmospheric pressure value and determines method and device, To solve in variation of ambient temperature, the problem of existing determination mode can cause atmospheric pressure value inaccurate.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of definite method of atmospheric pressure value, the method may include:
When receiving air pressure detection instruction, the first environment temperature under current state is determined;
Determine calibration value corresponding with the first environment temperature;
The first atmospheric pressure value currently gathered according to the calibration value and baroceptor, determines the second air pressure of current environment Value.
It is in one embodiment, described to determine calibration value corresponding with the first environment temperature, it may include:
Determine the calibration relation formula between the first environment temperature and the calibration value;
The corresponding calibration value of the first environment temperature is determined according to the calibration relation formula.
In one embodiment, the method may also include:
The second environment temperature calibration value corresponding with each second environment temperature of statistics setting quantity;
Second environment temperature calibration value corresponding with each described second environment temperature is fitted, obtains institute State calibration relation formula.
It is in one embodiment, described to determine calibration value corresponding with the first environment temperature, it may include:
Determine the first relation list used by the first environment temperature, first relation list is used to record environment Relation between temperature and calibration value;
The corresponding calibration value of the first environment temperature is searched from first relation list.
In one embodiment, before calibration value corresponding with the first environment temperature is determined, the method can also wrap Include:
Determine current height above sea level;
It is described to determine calibration value corresponding with the first environment temperature, it may include:
Determine the second relation list corresponding with the height above sea level, second relation list is used to be recorded in the sea Under wave height, the relation between environment temperature and calibration value;
Calibration value corresponding with the first environment temperature is searched from second relation list.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of determining device of atmospheric pressure value, described device may include:
Temperature determination module, is configured as, when receiving air pressure detection instruction, determining the first environment under current state Temperature;
Calibration value determining module, is configured to determine that calibration value corresponding with the first environment temperature;
Atmospheric pressure value determining module, is configured as the first air pressure currently gathered according to the calibration value and baroceptor Value, determines the second atmospheric pressure value of current environment.
In one embodiment, the calibration value determining module, it may include:
Relational expression determination sub-module, is configured to determine that the calibration between the first environment temperature and the calibration value is closed It is formula;
Calibration value determination sub-module, is configured as determining that the first environment temperature is corresponding according to the calibration relation formula Calibration value.
In one embodiment, described device may also include:
Statistical module, the second environment temperature for being configured as statistics setting quantity are corresponding with each second environment temperature Calibration value;
Fitting module, is configured as to second environment temperature calibration corresponding with each described second environment temperature Value is fitted, and obtains the calibration relation formula.
In one embodiment, the calibration value determining module, it may include:
First relation list determination sub-module, the first relation arranges used by being configured to determine that the first environment temperature Table, first relation list are used to record the relation between environment temperature and calibration value;
First searches submodule, is configured as searching the first environment temperature from first relation list corresponding Calibration value.
In one embodiment, described device may also include:
Height determining module, is configured to determine that current height above sea level;
The calibration value determining module, it may include:
Second relation list determination sub-module, is configured to determine that the second relation list corresponding with the height above sea level, Second relation list is used to be recorded under the hypo height, the relation between environment temperature and calibration value;
Second searches submodule, is configured as searching from second relation list corresponding with the first environment temperature Calibration value.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of determining device of atmospheric pressure value, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When receiving air pressure detection instruction, the first environment temperature under current state is determined;
Determine calibration value corresponding with the first environment temperature;
The first atmospheric pressure value currently gathered according to the calibration value and baroceptor, determines the second air pressure of current environment Value.
The technical scheme provided by this disclosed embodiment can include the following benefits:Mobile terminal is receiving air pressure During detection instruction, the first environment temperature under current state can be first determined, and determine school corresponding with the first environment temperature Quasi- value, the first atmospheric pressure value then currently gathered according to definite calibration value and baroceptor, determines the second of current environment Atmospheric pressure value.The disclosure passes through calibration value corresponding with the environment temperature under current state, the air pressure of calibration baroceptor collection Value, can obtain the actual pressure value of current environment, improve the accuracy of measurement atmospheric pressure value.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining the principle of the present invention together with specification.
Figure 1A is the flow chart that a kind of atmospheric pressure value according to an exemplary embodiment determines method;
Figure 1B is the scene graph that a kind of mobile terminal of the disclosure according to Figure 1A illustrated embodiments shows atmospheric pressure value;
Fig. 2 is the flow chart that another atmospheric pressure value according to an exemplary embodiment one determines method;
Fig. 3 is the flow chart that another atmospheric pressure value according to an exemplary embodiment one determines method;
Fig. 4 is the flow chart that another atmospheric pressure value according to an exemplary embodiment determines method;
Fig. 5 is a kind of block diagram of atmospheric pressure value determining device according to an exemplary embodiment;
Fig. 6 is the block diagram of another atmospheric pressure value determining device according to an exemplary embodiment;
Fig. 7 is the block diagram of another atmospheric pressure value determining device according to an exemplary embodiment;
Fig. 8 is the block diagram of another atmospheric pressure value determining device according to an exemplary embodiment;
Fig. 9 is a kind of block diagram suitable for atmospheric pressure value determining device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Figure 1A is the flow chart that a kind of atmospheric pressure value according to an exemplary embodiment determines method;Figure 1B is the disclosure A kind of mobile terminal according to Figure 1A illustrated embodiments shows the scene graph of atmospheric pressure value, which can be applied to move Terminal (such as:Smart mobile phone, tablet computer) on, can be with set temperature sensor and baroceptor, such as on the mobile terminal Shown in Figure 1A, which determines that method includes the following steps:
In a step 101, when receiving air pressure detection instruction, the first environment temperature under current state is determined.
In one embodiment, user can open mobile terminal when needing to know the air pressure size for being presently in position The upper application program for being used to detect air pressure, mobile terminal is in response to the opening operation, generation air pressure detection instruction, so as to connect Receive air pressure detection instruction.
In another embodiment, mobile terminal can be with the currently detected environment temperature of temperature sensor, by the ring Border temperature is determined as the first environment temperature under current state.
In a step 102, calibration value corresponding with first environment temperature is determined.
How to determine the description of calibration value corresponding with first environment temperature, it is any shown to may refer to following Fig. 2-Fig. 4 The description of embodiment, is not described in detail first herein.
In step 103, the first atmospheric pressure value currently gathered according to calibration value and baroceptor, determines current environment Second atmospheric pressure value.
Wherein, due to being influenced by environment temperature, the atmospheric pressure value of baroceptor collection is not that current environment is actual Atmospheric pressure value, thus after baroceptor collects atmospheric pressure value, it is also necessary to further calibration, i.e., according to calibration value and the first air pressure The second definite atmospheric pressure value of value is the actual pressure value of current environment.It will be appreciated by persons skilled in the art that it can lead to The atmospheric pressure value that correlation technique is currently gathered according to calibration value and baroceptor is crossed, determines the actual pressure value of current environment, this It is open that this will not be detailed here.
In an exemplary scenario, as shown in Figure 1B, the first environment temperature under current state is -2 DEG C, barometer pointer The atmospheric pressure value of instruction is the first atmospheric pressure value that baroceptor currently gathers:992.5hPa, and by with -2 DEG C of corresponding calibrations Value, the second atmospheric pressure value after calibration:990.5hPa, thus may determine that the actual pressure value of current environment is 990.5hPa.
In the present embodiment, mobile terminal can first determine first under current state when receiving air pressure detection instruction Environment temperature, and determine calibration value corresponding with the first environment temperature, then according to definite calibration value and baroceptor The first atmospheric pressure value currently gathered, determines the second atmospheric pressure value of current environment.The disclosure by with the environment temperature under current state Corresponding calibration value is spent, the atmospheric pressure value of calibration baroceptor collection, can obtain the actual pressure value of current environment, improve Measure the accuracy of atmospheric pressure value.
In one embodiment, above-mentioned steps 102 can include:
Determine the calibration relation formula between first environment temperature and calibration value;
The corresponding calibration value of first environment temperature is determined according to calibration relation formula.
In one embodiment, the method can also include:
The second environment temperature calibration value corresponding with each second environment temperature of statistics setting quantity;
Second environment temperature calibration value corresponding with each second environment temperature is fitted, obtains calibration relation Formula.
In one embodiment, above-mentioned steps 102 can also include:
Determine the first relation list used by first environment temperature, the first relation list is used to record environment temperature and school Relation between quasi- value;
The corresponding calibration value of first environment temperature is searched from the first relation list.
In one embodiment, before above-mentioned steps 102, the method can also include:
Determine current height above sea level;
Above-mentioned steps 102 can also include:
Determine the second relation list corresponding with height above sea level, the second relation list is used to be recorded under hypo height, ring Relation between border temperature and calibration value;
Calibration value corresponding with first environment temperature is searched from the second relation list.
Specifically how to determine atmospheric pressure value, refer to following embodiment.
So far, the above method that the embodiment of the present disclosure provides, can improve the accuracy of measurement atmospheric pressure value.
The technical solution of embodiment of the present disclosure offer is provided with specific embodiment below.
Fig. 2 is the flow chart that another atmospheric pressure value according to an exemplary embodiment one determines method;The present embodiment The above method provided using the embodiment of the present disclosure, is carried out exemplary exemplified by determining calibration value corresponding with first environment temperature Illustrate, as shown in Fig. 2, including the following steps:
In step 201, the calibration relation formula between first environment temperature and calibration value is determined.
In one embodiment, mobile terminal can count the second environment temperature and each second environment temperature of setting quantity Corresponding calibration value is spent, then second environment temperature calibration value corresponding with each second environment temperature is fitted again, So as to obtain calibration relation formula.
Wherein, setting quantity can be configured according to practical experience, it will be appreciated by persons skilled in the art that setting The accuracy and the disposal ability of mobile terminal that quantity can be based on calibration relation formula are configured.Fitting algorithm can be minimum Two multiply fitting process or other fitting algorithms, the disclosure are not limited herein.
In step 202, the corresponding calibration value of first environment temperature is determined according to the calibration relation formula.
In an exemplary scenario, calibration relation formula is k*x+b, if first environment temperature is T, the corresponding calibrations of T It is worth for k*T+b.
In the present embodiment, mobile terminal determines the first ring by the calibration relation formula between first environment temperature and calibration value The corresponding calibration value of border temperature, can be true since calibration relation formula can obtain the corresponding calibration value of each environment temperature The accuracy of calibration value is protected, and then improves the accuracy of actual pressure value.
Fig. 3 is that have the flow chart that a kind of atmospheric pressure value determines method according to an exemplary embodiment;The present embodiment profit The above method provided with the embodiment of the present disclosure, exemplary theory is carried out exemplified by determining calibration value corresponding with first environment temperature It is bright, as shown in figure 3, including the following steps:
In step 301, the first relation list used by first environment temperature is determined, which is used to remember Record the relation between environment temperature and calibration value.
In one embodiment, first of relation between record environment temperature and calibration value can be pre-configured with mobile terminal Relation list, so that after the first environment temperature under determining current state, can directly be looked into by first relation list Find corresponding calibration value.As shown in table 1, it is a kind of the first exemplary relation list.
Environment temperature (DEG C) -25 -10 0 10 25
Calibration value A1 A2 A3 A4 A5
Table 1
In step 302, the corresponding calibration value of first environment temperature is searched from the first relation list.
In one embodiment, since the environment temperature recorded in the first relation list has interval section, looking into , can will be with if first environment temperature is in the range of a certain temperature range in the first relation list during looking for The corresponding calibration value of the immediate environment temperature of one environment temperature, is determined as the corresponding calibration value of first environment temperature;And such as Fruit first environment temperature is among a certain temperature range scope, then can be by the corresponding calibration value of the two-end-point of the temperature range Average, be determined as the corresponding calibration value of first environment temperature.
In an exemplary scenario, as shown in Table 1 above, if first environment temperature be -20 DEG C, -20 DEG C in (- 25, -10) between, and it is -25 DEG C with -20 DEG C of nearest environment temperatures, therefore -25 DEG C of corresponding calibration value A1 can be determined For -20 DEG C of corresponding calibration values;If first environment temperature is 5 DEG C, 5 DEG C are between (0,10), and in (0,10) Centre, therefore the average 0.5* (A3+A4) of 0 DEG C of corresponding calibration value A3 calibration value A4s corresponding with 10 DEG C can be determined as 5 DEG C corresponding calibration value.
In the present embodiment, mobile terminal determines the corresponding calibration value of first environment temperature by searching for the first relation list, Due to have recorded the correspondence of environment temperature and calibration value in the first relation list, it is not necessary to it is time-consuming to calculate calibration value, Therefore the corresponding calibration value of first environment temperature can be quickly determined.
Fig. 4 is the flow chart that another atmospheric pressure value according to an exemplary embodiment determines method;The present embodiment profit The above method provided with the embodiment of the present disclosure, exemplary theory is carried out exemplified by determining calibration value corresponding with first environment temperature It is bright.As shown in figure 3, including the following steps:
In step 401, current hypo height is determined.
In one embodiment, since mobile terminal is in different height above sea levels, the corresponding calibration value of same environment temperature Difference, therefore mobile terminal is before calibration value corresponding with first environment temperature is determined, it may be determined that the height above sea level being presently in Highly.
In another embodiment, mobile terminal can determine current location information, and be determined based on the current location information Current height above sea level.
Wherein, current location information can by GPS in mobile terminal (Global Positioning System, entirely Ball alignment system) module acquisition.Then mobile terminal can obtain the corresponding height above sea level of current location information by the webserver At a high speed.For example, current location information is north latitude 40 ° 2 ' 5 ", 116 ° 18 ' 9 of east longitude ", corresponding height above sea level is 50 meters.
In step 402, the second relation list corresponding with the height above sea level is determined, the second relation list is used to be recorded in Under the hypo height, the relation between environment temperature and calibration value.
In one embodiment, as described in above-mentioned steps 401, under different height above sea levels, same environment temperature is corresponding Calibration value is different, therefore mobile terminal can be pre-configured with corresponding second relation list in each height above sea level section, for remembering Record is under the hypo height section, the relation between environment temperature and calibration value.For example, it is 0 meter to 50 in height above sea level section In the case of rice, the second relation list is as shown in table 2, in the case where height above sea level is 51 meters to 100 meters, the second relation list As shown in table 3.
Environment temperature (DEG C) -25 -10 0 10 25
Calibration value A1 A2 A3 A4 A5
Table 2
Environment temperature (DEG C) -25 -10 0 10 25
Calibration value B1 B2 B3 B4 B5
Table 3
In step 403, calibration value corresponding with first environment temperature is searched from the second relation list.
How to search calibration value corresponding with first environment temperature from the second relation list and may refer to above-mentioned steps 302 Associated description, this will not be detailed here.
In the present embodiment, due in different height above sea levels, the corresponding calibration value of same environment temperature is also different, therefore Mobile terminal can first determine the second relation list corresponding with current height above sea level, then be looked into again from the second relation list Calibration value corresponding with first environment temperature is looked for, so as to further ensure that the accuracy of calibration value.
Fig. 5 is a kind of block diagram of atmospheric pressure value determining device according to an exemplary embodiment, as shown in figure 5, the gas Pressure value determining device includes:
Temperature determination module 51, is configured as, when receiving air pressure detection instruction, determining the first ring under current state Border temperature;
Calibration value determining module 52, is configured to determine that calibration value corresponding with first environment temperature;
Atmospheric pressure value determining module 53, is configured as the first atmospheric pressure value currently gathered according to calibration value and baroceptor, Determine the second atmospheric pressure value of current environment.
Fig. 6 is the block diagram of another atmospheric pressure value determining device according to an exemplary embodiment, based on above-mentioned Fig. 5 institutes On the basis of showing embodiment, as shown in fig. 6, calibration value determining module 52, including:
Relational expression determination sub-module 521, the calibration relation formula being configured to determine that between first environment temperature and calibration value;
Calibration value determination sub-module 522, is configured as determining the corresponding calibration of first environment temperature according to calibration relation formula Value.
In one embodiment, described device may also include:
Statistical module 54, the second environment temperature for being configured as statistics setting quantity are corresponding with each second environment temperature Calibration value;
Fitting module 55, is configured as carrying out second environment temperature calibration value corresponding with each second environment temperature Fitting, obtains calibration relation formula.
Fig. 7 is the block diagram of another atmospheric pressure value determining device according to an exemplary embodiment, based on above-mentioned Fig. 5 institutes On the basis of showing embodiment, as shown in fig. 7, calibration value determining module 52, including:
First relation list determination sub-module 523, the first relation arranges used by being configured to determine that first environment temperature Table, the first relation list are used to record the relation between environment temperature and calibration value;
First searches submodule 524, is configured as searching the corresponding calibration of first environment temperature from the first relation list Value.
Fig. 8 is the block diagram of another atmospheric pressure value determining device according to an exemplary embodiment, based on above-mentioned Fig. 5 institutes On the basis of showing embodiment, as shown in figure 8, described device further includes:
Height determining module 56, is configured to determine that current height above sea level;
Calibration value determining module 52, including:
Second relation list determination sub-module 525, is configured to determine that the second relation list corresponding with height above sea level, the Two relation lists are used to be recorded under hypo height, the relation between environment temperature and calibration value;
Second searches submodule 526, is configured as searching school corresponding with first environment temperature from the second relation list Quasi- value.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram suitable for atmospheric pressure value determining device according to an exemplary embodiment.For example, device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, device 1000 can include following one or more assemblies:Processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor component 914, and Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Treatment element 902 can refer to including one or more processors 920 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 902 can include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes the instruction of any application program or method for being operated on device 900, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 906 provides power supply for the various assemblies of device 900.Power supply module 906 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing power supply for device 900.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When equipment 900 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In certain embodiments, audio component 910 further includes a loudspeaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor component 914 can detect opening/closed mode of equipment 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor component 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor component 914 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 914 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 904 of instruction, above-metioned instruction can be performed to complete the above method by the processor 920 of device 900.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Wherein, processor 920 is configured as:
When receiving air pressure detection instruction, the first environment temperature under current state is determined;
Determine calibration value corresponding with the first environment temperature;
The first atmospheric pressure value currently gathered according to the calibration value and baroceptor, determines the second air pressure of current environment Value.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The disclosure is intended to any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of definite method of atmospheric pressure value, it is characterised in that the described method includes:
When receiving air pressure detection instruction, the first environment temperature under current state is determined;
Determine calibration value corresponding with the first environment temperature;
The first atmospheric pressure value currently gathered according to the calibration value and baroceptor, determines the second atmospheric pressure value of current environment.
2. according to the method described in claim 1, it is characterized in that, described determine calibration corresponding with the first environment temperature Value, including:
Determine the calibration relation formula between the first environment temperature and the calibration value;
The corresponding calibration value of the first environment temperature is determined according to the calibration relation formula.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
The second environment temperature calibration value corresponding with each second environment temperature of statistics setting quantity;
Second environment temperature calibration value corresponding with each described second environment temperature is fitted, obtains the school Quasi- relational expression.
4. according to the method described in claim 1, it is characterized in that, described determine calibration corresponding with the first environment temperature Value, including:
Determine the first relation list used by the first environment temperature, first relation list is used to record environment temperature Relation between calibration value;
The corresponding calibration value of the first environment temperature is searched from first relation list.
5. according to the method described in claim 1, it is characterized in that, in definite calibration value corresponding with the first environment temperature Before, the method further includes:
Determine current height above sea level;
The definite calibration value corresponding with the first environment temperature, including:
Determine the second relation list corresponding with the height above sea level, second relation list is used to be recorded in the hypo height Under degree, the relation between environment temperature and calibration value;
Calibration value corresponding with the first environment temperature is searched from second relation list.
6. a kind of determining device of atmospheric pressure value, it is characterised in that described device includes:
Temperature determination module, is configured as, when receiving air pressure detection instruction, determining the first environment temperature under current state;
Calibration value determining module, is configured to determine that calibration value corresponding with the first environment temperature;
Atmospheric pressure value determining module, is configured as the first atmospheric pressure value currently gathered according to the calibration value and baroceptor, really Determine the second atmospheric pressure value of current environment.
7. device according to claim 6, it is characterised in that the calibration value determining module, including:
Relational expression determination sub-module, the calibration relation being configured to determine that between the first environment temperature and the calibration value Formula;
Calibration value determination sub-module, is configured as determining the corresponding calibration of the first environment temperature according to the calibration relation formula Value.
8. device according to claim 7, it is characterised in that described device further includes:
Statistical module, is configured as the second environment temperature calibration corresponding with each second environment temperature of statistics setting quantity Value;
Fitting module, be configured as to second environment temperature calibration value corresponding with each described second environment temperature into Row fitting, obtains the calibration relation formula.
9. device according to claim 6, it is characterised in that the calibration value determining module, including:
First relation list determination sub-module, is configured to determine that the first relation list used by the first environment temperature, First relation list is used to record the relation between environment temperature and calibration value;
First searches submodule, is configured as searching the corresponding calibration of the first environment temperature from first relation list Value.
10. device according to claim 6, it is characterised in that described device further includes:
Height determining module, is configured to determine that current height above sea level;
The calibration value determining module, including:
Second relation list determination sub-module, is configured to determine that the second relation list corresponding with the height above sea level, described Second relation list is used to be recorded under the hypo height, the relation between environment temperature and calibration value;
Second searches submodule, is configured as searching school corresponding with the first environment temperature from second relation list Quasi- value.
11. a kind of determining device of atmospheric pressure value, it is characterised in that described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When receiving air pressure detection instruction, the first environment temperature under current state is determined;
Determine calibration value corresponding with the first environment temperature;
The first atmospheric pressure value currently gathered according to the calibration value and baroceptor, determines the second atmospheric pressure value of current environment.
CN201711236508.1A 2017-11-30 2017-11-30 Air pressure value determination method and device Active CN108020374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236508.1A CN108020374B (en) 2017-11-30 2017-11-30 Air pressure value determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236508.1A CN108020374B (en) 2017-11-30 2017-11-30 Air pressure value determination method and device

Publications (2)

Publication Number Publication Date
CN108020374A true CN108020374A (en) 2018-05-11
CN108020374B CN108020374B (en) 2020-01-14

Family

ID=62077965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236508.1A Active CN108020374B (en) 2017-11-30 2017-11-30 Air pressure value determination method and device

Country Status (1)

Country Link
CN (1) CN108020374B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109781341A (en) * 2018-12-25 2019-05-21 歌尔股份有限公司 The data calibration method and device of baroceptor
CN110662153A (en) * 2019-10-31 2020-01-07 Oppo广东移动通信有限公司 Loudspeaker adjusting method and device, storage medium and electronic equipment
CN111964836A (en) * 2020-07-22 2020-11-20 歌尔科技有限公司 Barometer calibration method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379367A (en) * 2006-03-20 2009-03-04 高通股份有限公司 Method and apparatus for determining the altitude of a mobile device
CN101471972A (en) * 2007-12-28 2009-07-01 希姆通信息技术(上海)有限公司 Mobile phone weather forecast system
EP1857776B1 (en) * 2006-05-19 2009-12-23 ETA SA Manufacture Horlogère Suisse Barometric altimeter with a temperature compensating device
CN102175215A (en) * 2011-02-24 2011-09-07 上海德科电子仪表有限公司 Vehicle-mounted altitude monitoring device and method
CN102750815A (en) * 2012-07-03 2012-10-24 宁夏隆基宁光仪表有限公司 Concentrator with environmental monitoring function and control method thereof
CN106153001A (en) * 2015-04-01 2016-11-23 新士达光通股份有限公司 Height above sea level calculates system and height above sea level computational methods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379367A (en) * 2006-03-20 2009-03-04 高通股份有限公司 Method and apparatus for determining the altitude of a mobile device
EP1857776B1 (en) * 2006-05-19 2009-12-23 ETA SA Manufacture Horlogère Suisse Barometric altimeter with a temperature compensating device
CN101471972A (en) * 2007-12-28 2009-07-01 希姆通信息技术(上海)有限公司 Mobile phone weather forecast system
CN102175215A (en) * 2011-02-24 2011-09-07 上海德科电子仪表有限公司 Vehicle-mounted altitude monitoring device and method
CN102750815A (en) * 2012-07-03 2012-10-24 宁夏隆基宁光仪表有限公司 Concentrator with environmental monitoring function and control method thereof
CN106153001A (en) * 2015-04-01 2016-11-23 新士达光通股份有限公司 Height above sea level calculates system and height above sea level computational methods

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109781341A (en) * 2018-12-25 2019-05-21 歌尔股份有限公司 The data calibration method and device of baroceptor
CN110662153A (en) * 2019-10-31 2020-01-07 Oppo广东移动通信有限公司 Loudspeaker adjusting method and device, storage medium and electronic equipment
CN110662153B (en) * 2019-10-31 2021-06-01 Oppo广东移动通信有限公司 Loudspeaker adjusting method and device, storage medium and electronic equipment
CN111964836A (en) * 2020-07-22 2020-11-20 歌尔科技有限公司 Barometer calibration method and device and electronic equipment
CN111964836B (en) * 2020-07-22 2022-09-13 歌尔科技有限公司 Barometer calibration method and device and electronic equipment

Also Published As

Publication number Publication date
CN108020374B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN105917246B (en) The degree of approach without ranging determines
KR101849482B1 (en) Method and device for analyzing social relationship
CN106250430B (en) Method and device for sorting intelligent device list
CN106484199B (en) Thresholding setting method and device
CN105469003B (en) screen protection method and device
CN105933863B (en) Method and device for adding friends and electronic equipment
CN106612369A (en) Positioning information processing method and device
CN108062547A (en) Character detecting method and device
CN104391667A (en) Item content display method and item content display device
CN106407204A (en) Book recommendation method and apparatus
CN108020374A (en) Atmospheric pressure value determines method and device
CN107132949A (en) anti-interference method, device, terminal and storage medium
CN107480785A (en) The training method and device of convolutional neural networks
CN108629178A (en) The resource access rights configuration method and device of application program
EP3173925A1 (en) Interface display method and apparatus, computer program and recording medium
CN107045541A (en) data display method and device
CN107135147A (en) Method, device and the computer-readable recording medium of sharing position information
CN107239184B (en) Touch screen touch device and method and mobile terminal
CN104501790B (en) The calibration method and device of electronic compass
CN108717542A (en) Identify the method, apparatus and computer readable storage medium of character area
CN106226797B (en) Athletic ground information-pushing method and device
CN105808096A (en) Sliding block display method and apparatus
CN107943317A (en) Input method and device
CN105101410B (en) A kind of method and device in determining mobile terminal geographical location
EP3907630A1 (en) Time zone determination method and apparatus, wearable device and system

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