CN106597502A - Altitude determining method and apparatus - Google Patents

Altitude determining method and apparatus Download PDF

Info

Publication number
CN106597502A
CN106597502A CN201611184684.0A CN201611184684A CN106597502A CN 106597502 A CN106597502 A CN 106597502A CN 201611184684 A CN201611184684 A CN 201611184684A CN 106597502 A CN106597502 A CN 106597502A
Authority
CN
China
Prior art keywords
mobile terminal
height above
sea level
above sea
level
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
CN201611184684.0A
Other languages
Chinese (zh)
Other versions
CN106597502B (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 CN201611184684.0A priority Critical patent/CN106597502B/en
Publication of CN106597502A publication Critical patent/CN106597502A/en
Application granted granted Critical
Publication of CN106597502B publication Critical patent/CN106597502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C5/00Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels
    • G01C5/06Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels by using barometric means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Abstract

The invention provides an altitude determining method and apparatus, which belong to electronic technology application field. The method comprises the following steps: when an instruction is received to determine an altitude, obtaining the number of signal stations around the mobile terminal wherein the signals stations are used to send out network signals; according to the number of the signal stations around the terminal, determining whether the mobile terminal meets the preset altitude determining conditions or not; if the mobile terminal meets the preset altitude determining conditions, then, determining the first altitude of the position where the mobile terminal is located through the barometer in the mobile terminal and determining the second altitude of the position where the mobile terminal is located through the GPS in the mobile terminal; and based on the first altitude and the second altitude, determining a final altitude. The altitude determining method and apparatus of the invention resolve the problem with the high cost for altitude determining through the decrease in the cost. The invention is designed to determine altitude.

Description

Height above sea level determines method and device
Technical field
It relates to application of electronic technology field, more particularly to a kind of height above sea level determines method and device.
Background technology
Mountain-climbing is a kind of extremely common outdoor activity, user during mountain-climbing, when a certain height is stepped on, generally It is desired to determine the height above sea level of oneself position.
In correlation technique, user can wear mountain-climbing wrist-watch mountain-climbing, and during user climbs the mountain, mountain-climbing wrist-watch can be counted Calculate the height above sea level of user position and show the height above sea level, user determines itself by the height above sea level of observation mountain-climbing watch displays and is located The height above sea level of position.
During the disclosure is realized, inventor has found that correlation technique at least has problems with:
As correlation technique needs to determine height above sea level using this special equipment of mountain-climbing wrist-watch, accordingly, it is determined that the cost of height above sea level It is higher.
The content of the invention
In order to solve the problems, such as that the relatively costly of height above sea level is determined in correlation technique, it is true that the embodiment of the present disclosure provides a kind of height above sea level Determine method and device.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of height above sea level determines method, methods described includes:
When height above sea level determine instruction is received, the number of the signal website around mobile terminal, the signal website are obtained For sending network signal;
According to the number of the signal website around the mobile terminal, judge whether the mobile terminal meets default height above sea level Determine condition;
If the mobile terminal meets the default height above sea level and determines condition, true by the barometer in the mobile terminal First height above sea level of the fixed mobile terminal position, and, determined by the global position system GPS in the mobile terminal Second height above sea level of the mobile terminal position;
Final height above sea level is determined based on first height above sea level and second height above sea level.
Alternatively, methods described also includes:
If the mobile terminal is unsatisfactory for the default height above sea level determines condition, true by the GPS in the mobile terminal The final height above sea level of the fixed mobile terminal position.
Alternatively, whether the number of the signal website according to around the mobile terminal, judge the mobile terminal Meet default height above sea level and determine condition, including:
Judge whether the number of the signal website around the mobile terminal is more than default website number threshold value;
If the number of the signal website around the mobile terminal is more than the default website number threshold value, it is determined that described Mobile terminal meets default height above sea level and determines condition;
If the number of the signal website around the mobile terminal is not more than the default website number threshold value, it is determined that institute State mobile terminal and be unsatisfactory for default height above sea level and determine condition.
Alternatively, the barometer by the mobile terminal determines the first extra large of the mobile terminal position Pull out, including:
The atmospheric pressure value of the mobile terminal position is determined by the barometer in the mobile terminal;
According to the positional information of the mobile terminal, the sea level gas of the mobile terminal position is obtained from server Pressure value;
Determine the atmospheric pressure value of the mobile terminal position and the sea-level pressure value of the mobile terminal position Draught head;
According to draught head and the relation and the draught head of height above sea level, determine that the first of the mobile terminal position is extra large Pull out.
Alternatively, the positional information according to the mobile terminal, obtains the mobile terminal institute from server in place The sea-level pressure value put, including:
Generation includes the inquiry request of the positional information of the mobile terminal;
The inquiry request is sent to server;
The inquiry response that the server sends is received, the inquiry response includes the positional information with the mobile terminal Corresponding sea-level pressure value;
By sea-level pressure value corresponding with the positional information of the mobile terminal, it is defined as the mobile terminal institute in place The sea-level pressure value put.
Alternatively, it is described when height above sea level determine instruction is received, obtain the number of the signal website around mobile terminal, bag Include:
When height above sea level determine instruction is received, signal station scans action is performed, the signal station around mobile terminal is obtained The number of point.
Alternatively, final height above sea level is determined based on first height above sea level and second height above sea level, including:
Determine the precision of second height above sea level;
Judge whether the precision of second height above sea level meets default height above sea level precision conditions;
If the precision of second height above sea level meets the default height above sea level precision conditions, second height above sea level is defined as most Whole height above sea level;
If the precision of second height above sea level is unsatisfactory for the default height above sea level precision conditions, first height above sea level is defined as Final height above sea level.
Alternatively, the signal website includes:Any one in Wireless Fidelity WIFI hot spot and base station.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of height above sea level determining device, described device include:
Acquisition module, is configured to, when height above sea level determine instruction is received, obtain the signal station around the mobile terminal The number of point, the signal website are used to send network signal;
Judge module, is configured to the number according to the signal website around the mobile terminal, judges described mobile whole Whether end meets default height above sea level determines condition;
First determining module, is configured to when the mobile terminal meets the default height above sea level and determines condition, by institute The first height above sea level that the barometer in mobile terminal determines the mobile terminal position is stated, and, by the mobile terminal In global position system GPS determine the second height above sea level of the mobile terminal position;
Second determining module, is configured to determine final height above sea level based on first height above sea level and second height above sea level.
Alternatively, described device also includes:
3rd determining module, is configured to, when the mobile terminal is unsatisfactory for the default height above sea level and determines condition, pass through GPS in the mobile terminal determines the final height above sea level of the mobile terminal position.
Alternatively, the judge module, including:
Whether judging submodule, be configured to judge the number of the signal website around the mobile terminal more than default station Point number threshold value;
First determination sub-module, the number of the signal website being configured to around the mobile terminal are default more than described During website number threshold value, determine that the mobile terminal meets default height above sea level and determines condition;
Second determination sub-module, the number of the signal website being configured to around the mobile terminal are no more than described pre- If during website number threshold value, determining that the mobile terminal is unsatisfactory for default height above sea level and determines condition.
Alternatively, first determining module, including:
First determination sub-module, the barometer being configured in the mobile terminal determine that the mobile terminal is located The atmospheric pressure value of position;
Acquisition submodule, is configured to the positional information according to the mobile terminal, obtains described mobile whole from server The sea-level pressure value of end position;
Second determination sub-module, is configured to determine that the atmospheric pressure value and the mobile terminal of the mobile terminal position The draught head of the sea-level pressure value of position;
3rd determination sub-module, is configured to relation and the draught head with height above sea level according to draught head, it is determined that described First height above sea level of mobile terminal position.
Alternatively, the acquisition submodule, including:
Signal generating unit, is configurable to generate the inquiry request of the positional information including the mobile terminal;
Transmitting element, is configured to send the inquiry request to server;
Receiving unit, is configured to receive the inquiry response that the server sends, the inquiry response include with it is described The corresponding sea-level pressure value of positional information of mobile terminal;
Determining unit, is configured to, by sea-level pressure value corresponding with the positional information of the mobile terminal, be defined as The sea-level pressure value of the mobile terminal position.
Alternatively, the acquisition module, is configured to, when height above sea level determine instruction is received, perform signal station scans and move Make, obtain the number of the signal website around mobile terminal.
Alternatively, second determining module, including:
First determination sub-module, is configured to determine that the precision of second height above sea level;
Judging submodule, is configured to judge whether the precision of second height above sea level meets default height above sea level precision conditions;
Second determination sub-module, is configured to meet the default height above sea level precision conditions in the precision of second height above sea level When, second height above sea level is defined as into final height above sea level;
3rd determination sub-module, is configured to be unsatisfactory for the default height above sea level precision conditions in the precision of second height above sea level When, first height above sea level is defined as into final height above sea level.
Alternatively, the signal website includes:Any one in Wireless Fidelity WIFI hot spot and base station.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of height above sea level determining device, described device include:
Processor;
For storing the memorizer of the executable instruction of the processor;
Wherein, the processor is configured to:
When height above sea level determine instruction is received, the number of the signal website around mobile terminal, the signal website are obtained For sending network signal;
According to the number of the signal website around the mobile terminal, judge whether the mobile terminal meets default height above sea level Determine condition;
If the mobile terminal meets the default height above sea level and determines condition, true by the barometer in the mobile terminal First height above sea level of the fixed mobile terminal position, and, determined by the global position system GPS in the mobile terminal Second height above sea level of the mobile terminal position;
Final height above sea level is determined based on first height above sea level and second height above sea level.
The technical scheme that the embodiment of the present disclosure is provided can include following beneficial effect:
The technical scheme that the embodiment of the present disclosure is provided, mobile terminal obtain mobile whole when height above sea level determine instruction is received The number of the signal website around end, according to the number of the signal website around mobile terminal, judges whether mobile terminal meets Default height above sea level determines condition, when mobile terminal meets default height above sea level and determines condition, is determined by the barometer in mobile terminal First height above sea level of mobile terminal position, and, the second of mobile terminal position is determined by the GPS in mobile terminal Height above sea level, determines final height above sea level based on the first height above sea level and the second height above sea level.As mobile terminal can determine mobile terminal position Height above sea level, user can determine the height above sea level of itself position according to the height above sea level of mobile terminal position, it is therefore not necessary to adopt Special equipment, solves the problems, such as to determine the relatively costly of height above sea level, reduces the cost for determining height above sea level.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
In order to be illustrated more clearly that embodiment of the disclosure, embodiment will be described below needed for accompanying drawing to be used make Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the present disclosure, common for this area For technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of structural representation of the implementation environment involved by the disclosure each embodiment;
Fig. 2 is the method flow diagram that a kind of height above sea level according to an exemplary embodiment determines method;
Fig. 3-1 is the method flow diagram that a kind of height above sea level exemplified according to another exemplary enforcement determines method;
Fig. 3-2 is that one kind that Fig. 3-1 illustrated embodiments are provided judges whether mobile terminal meets default height above sea level and determine condition Method flow diagram;
Fig. 3-3 is that a kind of barometer by mobile terminal that Fig. 3-1 illustrated embodiments are provided determines mobile terminal institute In the method flow diagram of the first height above sea level of position;
Fig. 3-4 is a kind of sea-level pressure value of acquisition mobile terminal position that Fig. 3-1 illustrated embodiments are provided Method flow diagram;
Fig. 3-5 is a kind of method of the final height above sea level of determination mobile terminal position that Fig. 3-1 illustrated embodiments are provided Flow chart;
Fig. 4-1 is a kind of block diagram of the height above sea level determining device according to an exemplary embodiment;
Fig. 4-2 is a kind of block diagram of the height above sea level determining device for implementing to exemplify according to another exemplary;
Fig. 4-3 is a kind of block diagram of the judge module according to Fig. 4-1 illustrated embodiments;
Fig. 4-4 is a kind of block diagram of first determining module according to Fig. 4-1 illustrated embodiments;
Fig. 4-5 is a kind of block diagram of first determination sub-module according to Fig. 4-1 illustrated embodiments;
Fig. 4-6 is a kind of block diagram of second determining module according to Fig. 4-1 illustrated embodiments;
Fig. 5 is a kind of block diagram of the height above sea level determining device according to an exemplary embodiment.
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some described in detail in claims, the disclosure.
Fig. 1 is a kind of structural representation of the implementation environment involved by the disclosure each embodiment.The implementation environment can be with Including:Mobile terminal 1 20 and server 140.
Mobile terminal 1 20 can be the electronic equipment that function is determined with height above sea level, and be provided with gas in the mobile terminal 1 20 Pressure meter and global positioning system (English:Global Positioning System;Referred to as:GPS), mobile terminal 1 20 can be led to The barometer or GPS crossed in mobile terminal 1 20 determine the height above sea level of 20 position of mobile terminal 1.In the disclosed embodiments, move Dynamic terminal 120 can be smart mobile phone, panel computer, intelligent watch, intelligent Wearable device, dynamic image expert compression mark 5 (English of quasi- audio frequency aspect:MovingPicture Experts Group Audio Layer V;Referred to as:MP5) player, knee joint Mo(u)ld top half pocket computer etc..
Mobile terminal 1 20 can pass through cable network or wireless network is connected with server 140.Wherein, wireless network connects Connecing can be including but not limited to:Wireless Fidelity (English:WIreless FIdelity;Referred to as:WIFI) connection, bluetooth connection, red Outer connection, purple honeybee (English:Zigbee) connect, this implementation environment is not construed as limiting to this.
Server 140 can be a server, or by some server groups into server cluster, or one Individual cloud computing service center, the corresponding relation that the server 140 can be with storage location information with sea-level pressure value think movement Really the corresponding data of process offer are pulled out in Dinghai to terminal 120.Wherein, the positional information can be Internet protocol (English: Internet Protocol;Referred to as:IP) address or GPS position information, this implementation environment are not construed as limiting to this.
Fig. 2 is the method flow diagram that a kind of height above sea level according to an exemplary embodiment determines method, the present embodiment with The height above sea level determines in the mobile terminal 1 20 that method is applied in implementation environment shown in Fig. 1 to illustrate.Referring to Fig. 2, the height above sea level The method of determination can include following several steps:
In step 201, the number of the signal website around mobile terminal when height above sea level determine instruction is received, is obtained, Signal website is used to send network signal.
In step 202., the number according to the signal website around mobile terminal, judges whether mobile terminal meets default Height above sea level determines condition.
In step 203, it is if mobile terminal meets default height above sea level and determines condition, true by the barometer in mobile terminal Determine the first height above sea level of mobile terminal position, and, mobile terminal is determined by the global position system GPS in mobile terminal Second height above sea level of position.
In step 204, final height above sea level is determined based on the first height above sea level and the second height above sea level.
In sum, the height above sea level that the embodiment of the present disclosure is provided determines method, and mobile terminal is receiving height above sea level determine instruction When, the number of the signal website around mobile terminal is obtained, according to the number of the signal website around mobile terminal, movement is judged Whether terminal meets default height above sea level and determines condition, when mobile terminal meets default height above sea level and determines condition, by mobile terminal Barometer determine the first height above sea level of mobile terminal position, and, mobile terminal institute is determined by the GPS in mobile terminal In the second height above sea level of position, final height above sea level is determined based on the first height above sea level and the second height above sea level.As mobile terminal can determine movement The height above sea level of terminal position, user can determine the height above sea level of itself position according to the height above sea level of mobile terminal position, It is therefore not necessary to adopt special equipment, solve the problems, such as to determine the relatively costly of height above sea level, reduce the cost for determining height above sea level.
Fig. 3-1 is to implement the method flow diagram that a kind of height above sea level for exemplifying determines method, this enforcement according to another exemplary With the height above sea level, example determines that method is applied in implementation environment shown in Fig. 1 illustrating.Referring to Fig. 3-1, the height above sea level determines method Following several steps can be included:
In step 301, the number of the signal website around mobile terminal when height above sea level determine instruction is received, is obtained, Signal website is used to send network signal.
In the disclosed embodiments, user can operate mobile terminal triggering height above sea level determine instruction.Illustratively, mobile terminal In can install for determining the application program of height above sea level, and the figure of the application program in the main interface of mobile terminal, can be shown Mark, when user clicks on the icon of the application program, user's triggering height above sea level determine instruction, the sea of mobile terminal receive user triggering Pull out determine instruction;Or, mobile terminal is provided with height above sea level and determines button, and when user presses the height above sea level determines button, user touches Send out height above sea level determine instruction, the height above sea level determine instruction of mobile terminal receive user triggering, the height above sea level determine button can for it is virtual by Key or physical button, when it is virtual key that the height above sea level determines button, the height above sea level determines that button can be for determining height above sea level Application program in button, can be the button in other application programs, the other application programs be such as, but not limited to:Chat Class application program (for example, wechat), net purchase class application program (for example, Taobao), payment class application program (for example, Alipay), When it is physical button that the height above sea level determines button, the height above sea level determines that button can be arranged on front, the back side or the side of mobile terminal Face, and the height above sea level determine button can with mobile terminal on other physical buttons as same button, user can be by not Same mode operates the physical button to trigger corresponding instruction, and the embodiment of the present disclosure is not construed as limiting to this.
When mobile terminal receives height above sea level determine instruction, the number of the signal website around mobile terminal can be obtained.Its In, signal website is used to send network signal, and signal website is included but is not limited to:Any one in WIFI hot spot and base station, The embodiment of the present disclosure is not construed as limiting to this.Alternatively, mobile terminal can perform signal station when height above sea level determine instruction is received Spot scan action, obtains the number of the signal website around mobile terminal, and such as, mobile terminal is obtained by WIFI hot spot scanning The number of the WIFI hot spot around mobile terminal.Wherein, the process of mobile terminal execution signal station scans action may be referred to Correlation technique, the embodiment of the present disclosure will not be described here.
In step 302, the number according to the signal website around mobile terminal, judges whether mobile terminal meets default Height above sea level determines condition.If so, then execution step 303;If it is not, then execution step 305.
After the number of the signal website around acquisition for mobile terminal mobile terminal, can be according to the letter around mobile terminal The number of number website, judges whether mobile terminal meets default height above sea level and determine condition.Illustratively, Fig. 3-2 are refer to, is it illustrates The a kind of of Fig. 3-1 illustrated embodiments offer judges whether mobile terminal meets the method flow diagram that default height above sea level determines condition, joins See Fig. 3-2, the method includes:
In sub-step 3021, judge whether the number of the signal website around mobile terminal is more than default website number threshold Value.If so, then perform sub-step 3022;If it is not, then performing sub-step 3023.
Alternatively, mobile terminal can be by by the number of the signal website around mobile terminal and default website number threshold Whether value is compared to the number for judging the signal website around mobile terminal more than default website number threshold value.Wherein, in advance If website number threshold value can be M, the value of the M rule of thumb can be arranged, and the embodiment of the present disclosure is not construed as limiting to this.
In the disclosed embodiments, it is assumed that the signal website in step 301 around the mobile terminal of acquisition for mobile terminal Number is M1, and M1 is more than M, then M1 and M is compared and can determine M1 more than M by mobile terminal, therefore, mobile terminal determines The number of the signal website around mobile terminal is more than default website number threshold value.
In sub-step 3022, determine that mobile terminal meets default height above sea level and determines condition.
If mobile terminal determines the number of the signal website around mobile terminal more than default in above-mentioned sub-step 3021 Website number threshold value, then mobile terminal determine that mobile terminal meets default height above sea level and determines condition.In the disclosed embodiments, due to The number of the signal website around mobile terminal meets default height above sea level and determines more than default website number threshold value, therefore mobile terminal Condition.
In sub-step 3023, determine that mobile terminal is unsatisfactory for default height above sea level and determines condition.
If mobile terminal determines that the number of the signal website around mobile terminal is not more than in advance in above-mentioned sub-step 3021 If website number threshold value, then mobile terminal determines that mobile terminal is unsatisfactory for default height above sea level and determines condition.
In step 303, the first height above sea level of mobile terminal position is determined by the barometer in mobile terminal, with And, the second height above sea level of mobile terminal position is determined by the GPS in mobile terminal.
In the disclosed embodiments, barometer and GPS are provided with mobile terminal, if mobile whole in above-mentioned steps 302 End determines that the default height above sea level of mobile terminal satisfaction determines condition, then mobile terminal is determined mobile whole by the barometer in mobile terminal First height above sea level of end position, and the second height above sea level of mobile terminal position is determined by the GPS in mobile terminal.Example Ground, refer to Fig. 3-3, and a kind of barometer by mobile terminal that it illustrates the offer of Fig. 3-1 illustrated embodiments determines shifting The method flow diagram of the first height above sea level of dynamic terminal position, referring to Fig. 3-3, the method includes:
In sub-step 3031, the atmospheric pressure value of mobile terminal position is determined by the barometer in mobile terminal.
Barometer is provided with mobile terminal, the barometer in the mobile terminal can measure mobile terminal position Atmospheric pressure value, the atmospheric pressure value of the mobile terminal position can be P0.It should be noted that as mobile terminal is generally by user Carry, therefore, the atmospheric pressure value of mobile terminal position that is to say the atmospheric pressure value of user position, and the embodiment of the present disclosure is to this It is not construed as limiting.
In sub-step 3032, according to the positional information of mobile terminal, mobile terminal position is obtained from server Sea-level pressure value.
In the disclosed embodiments, server can be mobile with storage location information and the corresponding relation of sea-level pressure value Terminal can obtain the sea-level pressure value of mobile terminal position from server according to the positional information of mobile terminal.Show Example ground, refer to Fig. 3-4, it illustrates a kind of Hai Ping of acquisition mobile terminal position of Fig. 3-1 illustrated embodiments offer The method flow diagram of face atmospheric pressure value, referring to Fig. 3-4, the method includes:
In sub-step 30311A, mobile terminal generates the inquiry request of the positional information for including mobile terminal.
Wherein, positional information can include IP address and GPS position information.IP address is that one kind that IP agreement is provided is unified Address format, every main frame that IP agreement is followed in the Internet all has a logical address, and the logical address can be used to The difference of shielding physical address, the logical address that is to say IP address.GPS position information can indicate a location point, and GPS Positional information can include longitude, latitude and height above sea level.
In the disclosed embodiments, mobile terminal can first obtain the positional information of mobile terminal, and then regeneration includes The inquiry request of the positional information of mobile terminal.Illustratively, when positional information includes IP address, the movement of acquisition for mobile terminal The IP address of terminal can be IPA1, then mobile terminal generates the inquiry request for including IP address IPA1.Illustratively, when position is believed Breath is when including GPS position information, and the GPS position information of the mobile terminal of acquisition for mobile terminal can be (lo1, la1, h1), lo Represent longitude (English:Longitude), la represents latitude (English:Latitude), h represents height above sea level (English:High), then move Dynamic terminal generates the inquiry request for including GPS position information (lo1, la1, h1).Wherein, the IP of acquisition for mobile terminal mobile terminal Address, the GPS position information of mobile terminal and mobile terminal generate the process of inquiry request and may be referred to correlation technique, this public affairs Open embodiment will not be described here.
In sub-step 30312A, mobile terminal sends inquiry request to server.
After mobile terminal generates inquiry request, inquiry request can be sent to server.Illustratively, mobile terminal is to service Device sends includes the inquiry request of IP address IPA1, or, mobile terminal to server transmission include GPS position information (lo1, La1, h1) inquiry request.
In sub-step 30313A, positional information of the server according to mobile terminal, inquiring position information and sea level gas The corresponding relation of pressure value, obtains sea-level pressure value corresponding with the positional information of mobile terminal.
In the disclosed embodiments, server storage has the corresponding relation of positional information and sea-level pressure value, mobile whole When holding to server transmission inquiry request, server can receive the inquiry request of mobile terminal transmission, then according to the inquiry The positional information of the mobile terminal in request, inquiring position information and the corresponding relation of sea-level pressure value, obtain whole with mobile The corresponding sea-level pressure value of positional information at end.Wherein, server can be moved by carrying out parsing to inquiry request The positional information of terminal.In the disclosed embodiments, positional information and the corresponding relation of sea-level pressure value can be IP address With the corresponding relation of sea-level pressure value, or the corresponding relation of GPS position information and sea-level pressure value, illustratively, The IP address of server storage can be with as shown in table 1 below, the GPS location of server storage with the corresponding relation of sea-level pressure value The corresponding relation of information and sea-level pressure value can be with as shown in table 2 below:
Table 1
IP address Sea-level pressure value
IPA1 P1
IPA2 P2
IPA3 P3
…… ……
Table 2
GPS position information Sea-level pressure value
(lo1, la1, h1) P1
(lo2, la2, h2) P2
(lo3, la3, h3) P3
…… ……
In the disclosed embodiments, when positional information is IP address, server carries out parsing to inquiry request and can obtain To IP address IPA1 of mobile terminal, then the corresponding relation according to the IP address IPA1 inquiry table 1 of mobile terminal, obtains Sea-level pressure value corresponding with the IP address of mobile terminal is P1.When positional information is GPS position information, server is to looking into Asking request carries out parsing the GPS position information for obtaining mobile terminal (lo1, la1, h1), then the GPS location according to mobile terminal Corresponding relation shown in information (lo1, la1, h1) inquiry table 2, can obtain sea corresponding with the GPS position information of mobile terminal Plane atmospheric pressure value is P1.
In sub-step 30314A, server generates inquiry response, and inquiry response includes the positional information with mobile terminal Corresponding sea-level pressure value.
After server obtains sea-level pressure value corresponding with the positional information of mobile terminal, can according to mobile terminal The corresponding sea-level pressure value of positional information generate inquiry response, the inquiry response includes the positional information with mobile terminal Corresponding sea-level pressure value.Illustratively, server generates inquiry response, and the inquiry response includes the position with mobile terminal Corresponding sea-level pressure value P1 of information.
In sub-step 30315A, server sends inquiry response to mobile terminal.
After server generates inquiry response, inquiry response can be sent to mobile terminal.Illustratively, server is whole to movement End sends the inquiry response of sea-level pressure value P1 corresponding with the positional information including mobile terminal.
In sub-step 30316A, mobile terminal obtains sea corresponding with the positional information of mobile terminal from inquiry response Plane atmospheric pressure value.
When server is to mobile terminal transmission inquiry response, the inquiry response that mobile terminal can be sent with the reception server, Then corresponding with the positional information of mobile terminal sea-level pressure value is obtained from inquiry response.Wherein, mobile terminal can be with Inquiry response is carried out parsing and obtains sea-level pressure value corresponding with the positional information of mobile terminal, then obtain the sea level Atmospheric pressure value.Illustratively, mobile terminal obtains sea-level pressure value corresponding with the positional information of mobile terminal from inquiry response P1。
In sub-step 30317A, mobile terminal by sea-level pressure value corresponding with the positional information of mobile terminal, really It is set to the sea-level pressure value of mobile terminal position.
After mobile terminal obtains sea-level pressure value corresponding with the positional information of mobile terminal from inquiry response, can be with Sea-level pressure value corresponding with the positional information of mobile terminal is defined as into the sea-level pressure value of mobile terminal position. Illustratively, sea-level pressure value corresponding with the positional information of mobile terminal is P1, and P1 is defined as mobile terminal by mobile terminal The sea-level pressure value of position.
It should be noted that what above-mentioned Tables 1 and 2 was merely exemplary, can not be to limit the disclosure, and above-mentioned table Sea-level pressure value in 1 can be with identical with the sea-level pressure value in table 2, it is also possible to different, such as, the P1 in above-mentioned table 1 Can be with identical with the P1 in table 2, it is also possible to different, the embodiment of the present disclosure is not construed as limiting to this.
In sub-step 3033, the atmospheric pressure value of mobile terminal position and the sea level of mobile terminal position are determined The draught head of atmospheric pressure value.
Mobile terminal determines the atmospheric pressure value of mobile terminal position and obtains the sea level gas of mobile terminal position After pressure value, it may be determined that the gas of the atmospheric pressure value of mobile terminal position and the sea-level pressure value of mobile terminal position Pressure reduction.In the disclosed embodiments, the atmospheric pressure value of mobile terminal position be P0, the sea level gas of mobile terminal position Pressure value is P1, therefore, mobile terminal determines the draught head of P0 and P1.
In sub-step 3034, according to draught head and the relation and draught head of height above sea level, mobile terminal position is determined The first height above sea level.
Mobile terminal can safeguard the relation of draught head and height above sea level, it is determined that atmospheric pressure value and the shifting of mobile terminal position After the draught head of the sea-level pressure value of dynamic terminal position, mobile terminal can according to the relation of draught head and height above sea level with And the draught head of the sea-level pressure value of the atmospheric pressure value of mobile terminal position and mobile terminal position, it is determined that mobile whole First height above sea level of end position, the implementation of the process may be referred to correlation technique, and embodiment of the present disclosure here is no longer gone to live in the household of one's in-laws on getting married State.
It should be noted that the embodiment of the present disclosure is to illustrate as a example by 0 by sea level height above sea level, in practical application, The sea level height above sea level of diverse location can with difference, therefore, sea level height above sea level can not be 0, now, mobile terminal can safeguard gas The pressure reduction relation poor with height above sea level, mobile terminal can be to obtain the sea level height above sea level of mobile terminal position, so from server Atmospheric pressure value afterwards according to the draught head relation poor with height above sea level and mobile terminal position, the Hai Ping of mobile terminal position Face height above sea level, determines the first height above sea level of mobile terminal position, and the embodiment of the present disclosure will not be described here.
Also, it should be noted that the above in step 303 describes the process that mobile terminal determines the first height above sea level, In addition, when mobile terminal meets default height above sea level and determines condition, the GPS that mobile terminal can also pass through in mobile terminal is true Determine the second height above sea level of mobile terminal position.Wherein, GPS can carry out positioning the GPS for obtaining mobile terminal to mobile terminal Positional information, the GPS position information can indicate a location point, and the GPS position information can include longitude, latitude and sea Pull out, mobile terminal can determine the second height above sea level of mobile terminal position according to the GPS position information.Illustratively, it is mobile whole The GPS position information at end can be (lo1, la1, h1), therefore, mobile terminal can determine the second of mobile terminal position Height above sea level is h1.
In step 304, final height above sea level is determined based on the first height above sea level and the second height above sea level.
After mobile terminal determines first height above sea level and the second height above sea level of user position, the first height above sea level and second can be based on Final height above sea level is determined in height above sea level.Illustratively, Fig. 3-5 are refer to, a kind of of Fig. 3-1 illustrated embodiments offer is provided and is determined most The method flow diagram of whole height above sea level, referring to Fig. 3-5, the method includes:
In sub-step 3041, the precision of the second height above sea level is determined.
Mobile terminal can determine the precision of the second height above sea level.In the disclosed embodiments, barometer is it is determined that mobile terminal During the height above sea level of position, it may also be determined that the precision of the second height above sea level, and the precision of the second height above sea level is fed back to into mobile terminal, move Dynamic terminal determines the precision of the second height above sea level by the precision of the second height above sea level of reception barometer feedback.Wherein, barometer determines The process of the precision of the second height above sea level may be referred to correlation technique, and the embodiment of the present disclosure will not be described here.
In sub-step 3042, judge whether the precision of the second height above sea level meets default height above sea level precision conditions.If so, then perform Sub-step 3043;If it is not, then performing sub-step 3044.
After mobile terminal determines the precision of the second height above sea level, it can be determined that whether the precision of the second height above sea level meets default height above sea level essence Degree condition.Alternatively, mobile terminal may determine that whether the precision of the second height above sea level is less than default precision threshold, if the second height above sea level Less than default precision threshold, then mobile terminal, precision determines that the precision of the second height above sea level meets default height above sea level precision conditions, if second Not less than default precision threshold, then mobile terminal, the precision of height above sea level determines that the precision of the second height above sea level is unsatisfactory for default height above sea level precision bar Part.Wherein, default precision threshold rule of thumb can be arranged, and illustratively, it is 20 meters to preset precision threshold, the embodiment of the present disclosure pair This is not construed as limiting.
In sub-step 3043, the second height above sea level is defined as into final height above sea level.
If mobile terminal determines that the precision of the second height above sea level meets default height above sea level precision conditions in above-mentioned sub-step 3042, Second height above sea level is defined as final height above sea level by mobile terminal.Such as, when the precision of the second height above sea level is less than 20 meters, mobile terminal is by the Two height above sea level are defined as final height above sea level.
In sub-step 3044, the first height above sea level is defined as into final height above sea level.
If mobile terminal determines that the precision of the second height above sea level is unsatisfactory for default height above sea level precision conditions in above-mentioned sub-step 3042, Then the first height above sea level is defined as final height above sea level by mobile terminal.Such as, when the precision of the second height above sea level is not less than 20 meters, mobile terminal First height above sea level is defined as into final height above sea level.
In step 305, the final height above sea level of mobile terminal position is determined by the GPS in mobile terminal.
If mobile terminal determines that mobile terminal is unsatisfactory for default height above sea level and determines condition in step 302, mobile terminal leads to The GPS crossed in mobile terminal determines the final height above sea level of mobile terminal position.Illustratively, mobile terminal is by mobile terminal GPS mobile terminal is carried out positioning the GPS position information for obtaining mobile terminal, the GPS position information can include longitude, latitude Degree and height above sea level, mobile terminal can determine the final height above sea level of mobile terminal position, disclosure reality according to the GPS position information Apply example will not be described here.
It should be noted that in the disclosed embodiments, the number of the signal website around the mobile terminal is more than default During website number threshold value, it is believed that mobile terminal in population it is more intensive where, now, the sea level gas that barometer gets Pressure value is generally relatively accurate, therefore the first extra large of mobile terminal position can be determined by the barometer in mobile terminal The first height above sea level for pulling out and determining mobile terminal position by the GPS in mobile terminal, is then based on the first height above sea level and second Height above sea level determines final height above sea level;The number of the signal website around the mobile terminal no more than default website number threshold value when, it is believed that Mobile terminal in population it is more sparse where, now, the accuracy of the sea-level pressure value that barometer gets generally compared with It is low, therefore the final height above sea level of mobile terminal position directly can be determined by the GPS in mobile terminal, can so carry The accuracy that High aititude determines.
Also, it should be noted that height above sea level provided in an embodiment of the present invention determines that the sequencing of method and step can be fitted Work as adjustment, step according to circumstances accordingly can also be increased and decreased, and any those familiar with the art is taken off in the present invention In the technical scope of dew, the method that can readily occur in change should all be included within the scope of the present invention, therefore no longer go to live in the household of one's in-laws on getting married State.
In sum, the height above sea level that the embodiment of the present disclosure is provided determines method, and mobile terminal is receiving height above sea level determine instruction When, the number of the signal website around mobile terminal is obtained, according to the number of the signal website around mobile terminal, movement is judged Whether terminal meets default height above sea level and determines condition, when mobile terminal meets default height above sea level and determines condition, by mobile terminal Barometer determine the first height above sea level of mobile terminal position, and, mobile terminal institute is determined by the GPS in mobile terminal In the second height above sea level of position, the height above sea level for meeting default altitude conditions in the first height above sea level and the second height above sea level is defined as into final height above sea level. As mobile terminal can determine the height above sea level of mobile terminal position, user can be according to the height above sea level of mobile terminal position Determine the height above sea level of itself position, it is therefore not necessary to adopt special equipment, solve the problems, such as to determine the relatively costly of height above sea level, Reduce the cost for determining height above sea level.
When out on tours is climbed the mountain, user would generally wonder the height above sea level of oneself position, if sea will be calculated Pull out, existing known scheme is to need user to carry a mountain-climbing wrist-watch that height above sea level can be calculated by barometer, but is used Most still mobile phones are carried in the trip of family, the mobile terminal in the embodiment of the present disclosure can be mobile phone, can adopt mobile phone meter Height above sea level is calculated, the instrument that people's trip is carried is reduced, user's trip experience is optimized.Additionally, calculating height above sea level by barometer Method affected by air pressure, and calculated height above sea level precision is limited by the sea-level pressure value of selection, sea level gas completely Pressure value when barometer cannot be surfed the Net be obtain less than, all adopt same benchmark atmospheric pressure value if all of position, to count The impact for calculating result is larger, causes the accuracy that height above sea level determines relatively low, and the embodiment of the present disclosure is by meeting default in mobile terminal When height above sea level determines condition, while the height above sea level of mobile terminal position is determined by the barometer and GPS in mobile terminal, and Select to meet in calculated height above sea level default height above sea level precision conditions as the final height above sea level of mobile terminal position, so may be used To reduce impact of the sea-level pressure value to result of calculation, the accuracy that height above sea level determines is higher.
The height above sea level that the embodiment of the present disclosure is provided determines method, can provide the user more when mobile terminal does not have network Accurate height above sea level, when mobile terminal has network, can provide the user more accurately height above sea level, so, no matter move Terminal has network again without network, and mobile terminal can provide the user accurate height above sea level.
It is following for disclosure device embodiment, can be used for performing method of disclosure embodiment.For disclosure device reality The details not disclosed in applying example, refer to method of disclosure embodiment.
Fig. 4-1 is a kind of block diagram of the height above sea level determining device 400 according to an exemplary embodiment, and the height above sea level determines dress Put 400 can pass through software, hardware or both be implemented in combination with become mobile terminal 1 20 in implementation environment shown in Fig. 1 It is some or all of.Referring to Fig. 4-1, the height above sea level determining device 400 can include:
Acquisition module 410, is configured to, when height above sea level determine instruction is received, obtain the signal website around mobile terminal Number, signal website be used for send network signal;
Whether judge module 420, the number of the signal website being configured to around according to mobile terminal, judge mobile terminal Meet default height above sea level and determine condition;
First determining module 430, is configured to when mobile terminal meets default height above sea level and determines condition, by mobile terminal In barometer determine the first height above sea level of mobile terminal position, and, by the global position system GPS in mobile terminal Determine the second height above sea level of mobile terminal position;
Second determining module 440, is configured to determine final height above sea level based on the first height above sea level and the second height above sea level.
In sum, the height above sea level determining device that the embodiment of the present disclosure is provided, mobile terminal are receiving height above sea level determine instruction When, the number of the signal website around mobile terminal is obtained, according to the number of the signal website around mobile terminal, movement is judged Whether terminal meets default height above sea level and determines condition, when mobile terminal meets default height above sea level and determines condition, by mobile terminal Barometer determine the first height above sea level of mobile terminal position, and, mobile terminal institute is determined by the GPS in mobile terminal In the second height above sea level of position, final height above sea level is determined based on the first height above sea level and the second height above sea level.As mobile terminal can determine movement The height above sea level of terminal position, user can determine the height above sea level of itself position according to the height above sea level of mobile terminal position, It is therefore not necessary to adopt special equipment, solve the problems, such as to determine the relatively costly of height above sea level, reduce the cost for determining height above sea level.
Alternatively, Fig. 4-2 are refer to, another kind of height above sea level determining device 400 of embodiment of the present disclosure offer is provided Block diagram, referring to Fig. 4-2, on the basis of Fig. 4-1, the height above sea level determining device 400 also includes:
3rd determining module 450, is configured to when mobile terminal is unsatisfactory for default height above sea level and determines condition, by it is mobile eventually GPS in end determines the final height above sea level of mobile terminal position.
Alternatively, Fig. 4-3 are refer to, a kind of block diagram of judge module 420 of embodiment of the present disclosure offer, ginseng is provided See Fig. 4-3, judge module 420, including:
Whether judging submodule 421, be configured to judge the number of the signal website around mobile terminal more than default station Point number threshold value;
First determination sub-module 422, the number of the signal website being configured to around mobile terminal is more than default website During number threshold value, determine that mobile terminal meets default height above sea level and determines condition;
Second determination sub-module 423, the no more than default station of number of the signal website being configured to around mobile terminal During point number threshold value, determine that mobile terminal is unsatisfactory for default height above sea level and determines condition.
Alternatively, Fig. 4-4 are refer to, a kind of frame of first determining module 430 of embodiment of the present disclosure offer is provided Figure, referring to Fig. 4-4, first determining module 430, including:
First determination sub-module 431, the barometer being configured in mobile terminal determine mobile terminal position Atmospheric pressure value;
Acquisition submodule 432, is configured to the positional information according to mobile terminal, obtains mobile terminal from server and is located The sea-level pressure value of position;
Second determination sub-module 433, the atmospheric pressure value and mobile terminal for being configured to determine that mobile terminal position are located The draught head of the sea-level pressure value of position;
3rd determination sub-module 434, is configured to relation and draught head with height above sea level according to draught head, it is determined that mobile whole First height above sea level of end position.
Alternatively, Fig. 4-5 are refer to, a kind of first determination sub-module 431 of embodiment of the present disclosure offer is provided Block diagram, referring to Fig. 4-5, the first determination sub-module 431, including:
Signal generating unit 4311, is configurable to generate the inquiry request of the positional information including mobile terminal;
Transmitting element 4312, is configured to send inquiry request to server;
Receiving unit 4313, is configured to the inquiry response of the reception server transmission, and inquiry response includes and mobile terminal The corresponding sea-level pressure value of positional information;
Determining unit 4314, is configured to, by sea-level pressure value corresponding with the positional information of mobile terminal, be defined as The sea-level pressure value of mobile terminal position.
Alternatively, acquisition module 410, are configured to, when height above sea level determine instruction is received, perform signal station scans and move Make, obtain the number of the signal website around mobile terminal.
Alternatively, Fig. 4-6 are refer to, a kind of frame of second determining module 440 of embodiment of the present disclosure offer is provided Figure, referring to Fig. 4-6, the second determining module 440, including:
First determination sub-module 441, is configured to determine that the precision of the second height above sea level;
Judging submodule 442, is configured to judge whether the precision of the second height above sea level meets default height above sea level precision conditions;
Second determination sub-module 443, is configured to when the precision of the second height above sea level meets default height above sea level precision conditions, by the Two height above sea level are defined as final height above sea level;
3rd determination sub-module 444, is configured to when the precision of the second height above sea level is unsatisfactory for default height above sea level precision conditions, will First height above sea level is defined as final height above sea level.
Alternatively, signal website includes:Any one in Wireless Fidelity WIFI hot spot and base station.
In sum, the height above sea level determining device that the embodiment of the present disclosure is provided, mobile terminal are receiving height above sea level determine instruction When, the number of the signal website around mobile terminal is obtained, according to the number of the signal website around mobile terminal, movement is judged Whether terminal meets default height above sea level and determines condition, when mobile terminal meets default height above sea level and determines condition, by mobile terminal Barometer determine the first height above sea level of mobile terminal position, and, mobile terminal institute is determined by the GPS in mobile terminal In the second height above sea level of position, final height above sea level is determined based on the first height above sea level and the second height above sea level.As mobile terminal can determine movement The height above sea level of terminal position, user can determine the height above sea level of itself position according to the height above sea level of mobile terminal position, It is therefore not necessary to adopt special equipment, solve the problems, such as to determine the relatively costly of height above sea level, reduce the cost for determining height above sea level.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is refer to, a kind of frame of the device 500 determined for height above sea level shown in an exemplary embodiment is it illustrates Figure.For example, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat Board device, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 5, device 500 can include following one or more assemblies:Process assembly 502, memorizer 504, power supply Component 506, multimedia groupware 508, audio-frequency assembly 510, input/output (I/O) interface 512, sensor cluster 514 and communication Component 516.
The integrated operation of 502 usual control device 500 of process assembly, such as with display, call, data communication, fixed Position, height above sea level determine, the operation that camera operation and record operation are associated.Process assembly 502 can be including one or more process Device 520 carrys out execute instruction, to complete all or part of step that above-mentioned height above sea level determines method.Additionally, process assembly 502 can be wrapped One or more modules are included, the interaction being easy between process assembly 502 and other assemblies.For example, process assembly 502 can include Multi-media module, to facilitate the interaction between multimedia groupware 508 and process assembly 502.
Memorizer 504 is configured to store various types of data to support operation on device 500.These data Example include any application for operating on device 500 or the instruction of method, contact data, telephone book data, message, Picture, video etc..Memorizer 504 can be by any kind of volatibility or non-volatile memory device or combinations thereof reality Existing, such as static RAM is (English:Dynamic Random Access Memory;Referred to as:SRAM), electric erasable Programmable read only memory (English:Electrically Erasable Programmable Read-Only Memory;Letter Claim:EEPROM), Erasable Programmable Read Only Memory EPROM (English:Erasable Programmable Read Only Memory;Referred to as:EPROM), programmable read only memory (English:Programmable Read Only Memory;Referred to as: PROM), read only memory (English:Read-Only Memory;Referred to as:ROM), magnetic memory, flash memory, disk or light Disk.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system System, one or more power supplys and other generate, manage and distribute the component that electric power is associated with for device 500.
Multimedia groupware 508 is included between device 500 and user the screen for providing an output interface.In some enforcements In example, screen can include liquid crystal display (English:Liquid Crystal Display;Referred to as:) and touch panel LCD (English:Touch Panle;Referred to as:TP).If screen includes touch panel, screen may be implemented as touch screen, to receive From the input signal of user.Touch panel includes one or more touch sensors with sensing touch, slip and touch panel On gesture.Touch sensor can not only sensing touch or sliding action border, but also detect and the behaviour that touches or slide Make related persistent period and pressure.In certain embodiments, multimedia groupware 508 include a front-facing camera and/or after Put photographic head.When device 500 is in operator scheme, such as screening-mode or during video mode, front-facing camera and/or rearmounted shooting Head can receive the multi-medium data of outside.Each front-facing camera and post-positioned pick-up head can be a fixed optical lenses System has focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured to output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (English:Microphone;Referred to as:MIC), when device 500 is in operator scheme, such as call model, logging mode and voice During recognition mode, mike is configured to receive external audio signal.The audio signal for being received can be further stored Memorizer 504 is sent via communication component 516.In certain embodiments, audio-frequency assembly 510 also includes a speaker, uses In exports audio signal.
, for interface is provided between process assembly 502 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 512 Being keyboard, click wheel, button etc..These buttons can be including but not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 514 includes one or more sensors, and the state for various aspects are provided for device 500 is commented Estimate.For example, sensor cluster 514 can detect the opening/closed mode of device 500, such as relative localization of component, component For the display and keypad of device 500, sensor cluster 514 can be with the position of 500 1 components of detection means 500 or device Change is put, user is presence or absence of with what device 500 was contacted, the temperature of 500 orientation of device or acceleration/deceleration and device 500 Change.Sensor cluster 514 can include proximity transducer, be configured to when not having any physical contact near detection The presence of object.Sensor cluster 514 can also include optical sensor, such as complementary metal oxide semiconductors (CMOS) (English: Complementary Metal Oxide Semiconductor;Referred to as:CMOS) or charge coupled cell (English:Charge- coupled Device;Referred to as:CCD) imageing sensor, for used in imaging applications.In certain embodiments, the sensing Device assembly 514 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as Wireless Fidelity (English:WIreless FIdelity;Referred to as: WIFI), 2G, 3G or combinations thereof.In one exemplary embodiment, communication component 516 via broadcast channel receive from The broadcast singal or broadcast related information of external broadcasting management system.In one exemplary embodiment, communication component 516 is also wrapped Include near-field communication (English:Near Field Communication;Referred to as:NFC) module, to promote junction service.For example, exist NFC module can be based on RF identification (English:Radio Frequency Identification;Referred to as:RFID) technology, it is infrared Data association (English:Infrared Data Association;Referred to as:IrDA) technology, ultra broadband (English:Ultra Wideband;Referred to as:UWB) technology, bluetooth (English:Bluetooth;Referred to as:BT) technology and other technologies are realizing.
In the exemplary embodiment, device 500 can be by one or more application specific integrated circuits (English: Application Specifc Integrated Circuit;Referred to as:ASIC), digital signal processor (English:Digital Signal Processing;Referred to as:DSP), digital signal processing appts (English:Digital Signal Processing Device;Referred to as:DSPD), PLD (English:Programable Logic Device;Referred to as:PLD), scene Programmable gate array (English:Field-Programmable Gate Array;Referred to as:FPGA), controller, microcontroller, micro- Processor or other electronic components realizations, determine method for performing above-mentioned height above sea level.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 504 of instruction, above-mentioned instruction can be performed to complete the above-mentioned height above sea level side of determination by the processor 520 of device 500 Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (English:Random Access Memory;Referred to as:RAM), CD-rom (English:Compact Disk Read-Only Memory;Referred to as: CD-ROM), tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 500 During row so that device 500 is able to carry out a kind of height above sea level and determines method, and the method includes:
When height above sea level determine instruction is received, the number of the signal website around mobile terminal is obtained, and signal website is used for Send network signal;
According to the number of the signal website around mobile terminal, judge whether mobile terminal meets default height above sea level and determine bar Part;
If mobile terminal meets default height above sea level and determines condition, mobile terminal institute is determined by the barometer in mobile terminal In the first height above sea level of position, and, the of mobile terminal position is determined by the global position system GPS in mobile terminal Two height above sea level;
Final height above sea level is determined based on the first height above sea level and the second height above sea level.
In sum, the height above sea level determining device that the embodiment of the present disclosure is provided, mobile terminal are receiving height above sea level determine instruction When, the number of the signal website around mobile terminal is obtained, according to the number of the signal website around mobile terminal, movement is judged Whether terminal meets default height above sea level and determines condition, when mobile terminal meets default height above sea level and determines condition, by mobile terminal Barometer determine the first height above sea level of mobile terminal position, and, mobile terminal institute is determined by the GPS in mobile terminal In the second height above sea level of position, final height above sea level is determined based on the first height above sea level and the second height above sea level.As mobile terminal can determine movement The height above sea level of terminal position, user can determine the height above sea level of itself position according to the height above sea level of mobile terminal position, It is therefore not necessary to adopt special equipment, solve the problems, such as to determine the relatively costly of height above sea level, reduce the cost for determining height above sea level.
Term "and/or" in the disclosure, only a kind of incidence relation of description affiliated partner, represents there may be three kinds Relation, for example, A and/or B can be represented:Individualism A, while there is A and B, individualism B these three situations.In addition, this Character "/" in text, typicallys represent forward-backward correlation to liking a kind of relation of "or".
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow 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 of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is limited only by appended claim.

Claims (17)

1. a kind of height above sea level determines method, it is characterised in that methods described includes:
When height above sea level determine instruction is received, the number of the signal website around mobile terminal is obtained, and the signal website is used for Send network signal;
According to the number of the signal website around the mobile terminal, judge whether the mobile terminal meets default height above sea level and determine Condition;
If the mobile terminal meets the default height above sea level and determines condition, institute is determined by the barometer in the mobile terminal The first height above sea level of mobile terminal position is stated, and, determined by the global position system GPS in the mobile terminal described Second height above sea level of mobile terminal position;
Final height above sea level is determined based on first height above sea level and second height above sea level.
2. method according to claim 1, it is characterised in that methods described also includes:
If the mobile terminal is unsatisfactory for the default height above sea level determines condition, institute is determined by the GPS in the mobile terminal State the final height above sea level of mobile terminal position.
3. method according to claim 1, it is characterised in that the signal website according to around the mobile terminal Number, judges whether the mobile terminal meets default height above sea level and determine condition, including:
Judge whether the number of the signal website around the mobile terminal is more than default website number threshold value;
If the number of the signal website around the mobile terminal is more than the default website number threshold value, it is determined that the movement Terminal meets default height above sea level and determines condition;
If the number of the signal website around the mobile terminal is not more than the default website number threshold value, it is determined that the shifting Dynamic terminal is unsatisfactory for default height above sea level and determines condition.
4. method according to claim 1, it is characterised in that the barometer by the mobile terminal determines institute The first height above sea level of mobile terminal position is stated, including:
The atmospheric pressure value of the mobile terminal position is determined by the barometer in the mobile terminal;
According to the positional information of the mobile terminal, the sea-level pressure of the mobile terminal position is obtained from server Value;
Determine the atmospheric pressure value of the mobile terminal position and the gas of the sea-level pressure value of the mobile terminal position Pressure reduction;
According to draught head and the relation and the draught head of height above sea level, the first height above sea level of the mobile terminal position is determined.
5. method according to claim 4, it is characterised in that the positional information according to the mobile terminal, from clothes Business device obtains the sea-level pressure value of the mobile terminal position, including:
Generation includes the inquiry request of the positional information of the mobile terminal;
The inquiry request is sent to server;
The inquiry response that the server sends is received, the inquiry response includes sea corresponding with the position of the mobile terminal Plane atmospheric pressure value;
By sea-level pressure value corresponding with the positional information of the mobile terminal, it is defined as the mobile terminal position Sea-level pressure value.
6. method according to claim 1, it is characterised in that described when height above sea level determine instruction is received, obtains movement The number of the signal website of terminal surrounding, including:
When height above sea level determine instruction is received, signal station scans action is performed, obtain signal website around mobile terminal Number.
7. method according to claim 1, it is characterised in that described true based on first height above sea level and second height above sea level Fixed final height above sea level, including:
Determine the precision of second height above sea level;
Judge whether the precision of second height above sea level meets default height above sea level precision conditions;
If the precision of second height above sea level meets the default height above sea level precision conditions, second height above sea level is defined as into final sea Pull out;
If the precision of second height above sea level is unsatisfactory for the default height above sea level precision conditions, first height above sea level is defined as finally Height above sea level.
8. according to the arbitrary described method of claim 1 to 7, it is characterised in that the signal website includes:Wireless Fidelity WIFI Any one in focus and base station.
9. a kind of height above sea level determining device, it is characterised in that described device includes:
Acquisition module, is configured to the number of the signal website around mobile terminal is obtained when height above sea level determine instruction is received, The signal website is used to send network signal;
Judge module, is configured to the number according to the signal website around the mobile terminal, judges that the mobile terminal is No satisfaction is preset height above sea level and determines condition;
First determining module, is configured to when the mobile terminal meets the default height above sea level and determines condition, by the shifting Barometer in dynamic terminal determines the first height above sea level of the mobile terminal position, and, by the mobile terminal Global position system GPS determines the second height above sea level of the mobile terminal position;
Second determining module, is configured to determine final height above sea level based on first height above sea level and second height above sea level.
10. device according to claim 9, it is characterised in that described device also includes:
3rd determining module, is configured to when the mobile terminal is unsatisfactory for the default height above sea level and determines condition, by described GPS in mobile terminal determines the final height above sea level of the mobile terminal position.
11. devices according to claim 9, it is characterised in that the judge module, including:
Whether judging submodule, be configured to judge the number of the signal website around the mobile terminal more than default website Number threshold value;
First determination sub-module, the number of the signal website being configured to around the mobile terminal are more than the default website During number threshold value, determine that the mobile terminal meets default height above sea level and determines condition;
Second determination sub-module, the number of the signal website being configured to around the mobile terminal are not more than the default station During point number threshold value, determine that the mobile terminal is unsatisfactory for default height above sea level and determines condition.
12. devices according to claim 9, it is characterised in that first determining module, including:
First determination sub-module, the barometer being configured in the mobile terminal determine the mobile terminal position Atmospheric pressure value;
Acquisition submodule, is configured to the positional information according to the mobile terminal, obtains the mobile terminal institute from server In the sea-level pressure value of position;
Second determination sub-module, the atmospheric pressure value and the mobile terminal for being configured to determine that the mobile terminal position are located The draught head of the sea-level pressure value of position;
3rd determination sub-module, is configured to relation and the draught head with height above sea level according to draught head, determines the movement First height above sea level of terminal position.
13. devices according to claim 12, it is characterised in that the acquisition submodule, including:
Signal generating unit, is configurable to generate the inquiry request of the positional information including the mobile terminal;
Transmitting element, is configured to send the inquiry request to server;
Receiving unit, is configured to receive the inquiry response that the server sends, and the inquiry response includes and the movement The corresponding sea-level pressure value of positional information of terminal;
Determining unit, is configured to sea-level pressure value corresponding with the positional information of the mobile terminal, is defined as described The sea-level pressure value of mobile terminal position.
14. devices according to claim 9, it is characterised in that
The acquisition module, is configured to, when height above sea level determine instruction is received, perform signal station scans action, moved The number of the signal website of terminal surrounding.
15. devices according to claim 10, it is characterised in that second determining module, including:
First determination sub-module, is configured to determine that the precision of second height above sea level;
Judging submodule, is configured to judge whether the precision of second height above sea level meets default height above sea level precision conditions;
Second determination sub-module, is configured to when the precision of second height above sea level meets the default height above sea level precision conditions, will Second height above sea level is defined as final height above sea level;
3rd determination sub-module, is configured to when the precision of second height above sea level is unsatisfactory for the default height above sea level precision conditions, First height above sea level is defined as into final height above sea level.
16. according to the arbitrary described device of claim 9 to 15, it is characterised in that the signal website includes:Wireless Fidelity Any one in WIFI hot spot and base station.
17. a kind of height above sea level determining devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of the executable instruction of the processor;
Wherein, the processor is configured to:
When height above sea level determine instruction is received, the number of the signal website around mobile terminal is obtained, and the signal website is used for Send network signal;
According to the number of the signal website around the mobile terminal, judge whether the mobile terminal meets default height above sea level and determine Condition;
If the mobile terminal meets the default height above sea level and determines condition, institute is determined by the barometer in the mobile terminal The first height above sea level of mobile terminal position is stated, and, determined by the global position system GPS in the mobile terminal described Second height above sea level of mobile terminal position;
Final height above sea level is determined based on first height above sea level and second height above sea level.
CN201611184684.0A 2016-12-20 2016-12-20 Height above sea level determines method and device Active CN106597502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611184684.0A CN106597502B (en) 2016-12-20 2016-12-20 Height above sea level determines method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611184684.0A CN106597502B (en) 2016-12-20 2016-12-20 Height above sea level determines method and device

Publications (2)

Publication Number Publication Date
CN106597502A true CN106597502A (en) 2017-04-26
CN106597502B CN106597502B (en) 2019-10-29

Family

ID=58599898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611184684.0A Active CN106597502B (en) 2016-12-20 2016-12-20 Height above sea level determines method and device

Country Status (1)

Country Link
CN (1) CN106597502B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395896A (en) * 2017-08-23 2017-11-24 惠州Tcl移动通信有限公司 A kind of mobile terminal sends method, storage device and the mobile terminal of location information
CN109141354A (en) * 2018-07-18 2019-01-04 奇酷互联网络科技(深圳)有限公司 The method and device of height above sea level or the depth of water is detected based on mobile terminal screen
CN112136019A (en) * 2018-05-24 2020-12-25 内克斯特纳夫有限公司 System and method for sensor calibration and position determination
US11733119B2 (en) 2018-05-24 2023-08-22 Nextnav, Llc Systems and methods for determining when to calibrate a pressure sensor of a mobile device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023000A (en) * 2010-09-30 2011-04-20 清华大学 Method for measuring height by fusing unmanned helicopter barometric altimeter and GPS (global positioning system)
JP2011217207A (en) * 2010-03-31 2011-10-27 Zenrin Datacom Co Ltd Altitude information acquisition system, altitude information acquisition apparatus and program
JP2012211915A (en) * 2012-06-15 2012-11-01 Casio Comput Co Ltd Mobile display device, and program
CN103370601A (en) * 2011-02-18 2013-10-23 索尼爱立信移动通讯有限公司 System and method for determining altitude
CN103796158A (en) * 2014-01-17 2014-05-14 广州中道电子科技有限公司 Method and system for judging whether electronic equipment is used out of scope and electronic equipment
KR101454003B1 (en) * 2014-04-17 2014-10-27 케이아이씨시스템즈 (주) System for real-time measuring 3d location information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011217207A (en) * 2010-03-31 2011-10-27 Zenrin Datacom Co Ltd Altitude information acquisition system, altitude information acquisition apparatus and program
CN102023000A (en) * 2010-09-30 2011-04-20 清华大学 Method for measuring height by fusing unmanned helicopter barometric altimeter and GPS (global positioning system)
CN103370601A (en) * 2011-02-18 2013-10-23 索尼爱立信移动通讯有限公司 System and method for determining altitude
JP2012211915A (en) * 2012-06-15 2012-11-01 Casio Comput Co Ltd Mobile display device, and program
CN103796158A (en) * 2014-01-17 2014-05-14 广州中道电子科技有限公司 Method and system for judging whether electronic equipment is used out of scope and electronic equipment
KR101454003B1 (en) * 2014-04-17 2014-10-27 케이아이씨시스템즈 (주) System for real-time measuring 3d location information

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395896A (en) * 2017-08-23 2017-11-24 惠州Tcl移动通信有限公司 A kind of mobile terminal sends method, storage device and the mobile terminal of location information
CN112136019A (en) * 2018-05-24 2020-12-25 内克斯特纳夫有限公司 System and method for sensor calibration and position determination
US11733119B2 (en) 2018-05-24 2023-08-22 Nextnav, Llc Systems and methods for determining when to calibrate a pressure sensor of a mobile device
CN112136019B (en) * 2018-05-24 2023-08-29 内克斯特纳夫有限公司 System and method for sensor calibration and position determination
CN109141354A (en) * 2018-07-18 2019-01-04 奇酷互联网络科技(深圳)有限公司 The method and device of height above sea level or the depth of water is detected based on mobile terminal screen
CN109141354B (en) * 2018-07-18 2021-08-17 奇酷互联网络科技(深圳)有限公司 Method and device for detecting altitude or water depth based on mobile terminal screen

Also Published As

Publication number Publication date
CN106597502B (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN104219785B (en) Real-time video providing method, device and server, terminal device
CN104105064B (en) The method and device of location equipment
EP3136698A1 (en) Connection status prompting method and device
CN106973330B (en) Screen live broadcasting method, device and system
EP3599581A1 (en) Method and apparatus for displaying a commodity
CN104869574A (en) Wireless network connection method and apparatus
CN106597502A (en) Altitude determining method and apparatus
CN110691268B (en) Message sending method, device, server, mobile terminal and storage medium
CN105554710B (en) Message display method and device
CN104301308B (en) Call control method and device
CN107239946A (en) Electronic cash method, device and equipment
CN107480785A (en) The training method and device of convolutional neural networks
CN104581615A (en) Service delivery method and device
CN106101600A (en) The method of attachment of video calling and device
CN109565650B (en) Method and device for broadcasting and receiving configuration information of synchronous signal block
CN112131473B (en) Information recommendation method, device, equipment and storage medium
CN111866720A (en) Positioning method and device
CN105721283A (en) Method and device for sending screenshot message and equipment
CN110913276B (en) Data processing method, device, server, terminal and storage medium
KR20150124366A (en) Service providing server for providing answer to query from service subscriber and method thereof
CN105634928A (en) Social reminding method and device based on wearable device
CN105577521A (en) Method, device and system for friend grouping
CN111245914B (en) Analog communication method and device of terminal equipment and storage medium
CN106550482A (en) Communication connection method for building up and device, electronic equipment
CN112099364A (en) Intelligent interaction method for Internet of things household 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