Nothing Special   »   [go: up one dir, main page]

CN107917713A - A kind of method, terminal and computer-readable medium for calculating air line distance - Google Patents

A kind of method, terminal and computer-readable medium for calculating air line distance Download PDF

Info

Publication number
CN107917713A
CN107917713A CN201710980203.5A CN201710980203A CN107917713A CN 107917713 A CN107917713 A CN 107917713A CN 201710980203 A CN201710980203 A CN 201710980203A CN 107917713 A CN107917713 A CN 107917713A
Authority
CN
China
Prior art keywords
value
sea level
height above
above sea
level angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710980203.5A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710980203.5A priority Critical patent/CN107917713A/en
Publication of CN107917713A publication Critical patent/CN107917713A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The embodiment of the invention discloses a kind of method, terminal and computer-readable medium for calculating air line distance, wherein method includes:The first height above sea level angle value of first position is obtained, and obtains the second height above sea level angle value of the second place;If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, the horizontal distance between first position and the second place is determined according to the second latitude and longitude information of the first latitude and longitude information of first position and the second place;The air line distance between first position and the second place is calculated according to absolute value and horizontal distance.By the height above sea level angle value for obtaining diverse location, and by judging that the size of the altitude difference between diverse location determines to calculate the strategy of the air line distance between diverse location, according to the height above sea level angle value and latitude and longitude information of the strategy, diverse location, the air line distance between diverse location can be obtained.

Description

A kind of method, terminal and computer-readable medium for calculating air line distance
Technical field
The present invention relates to field of communication technology, more particularly to a kind of method, terminal and calculating for calculating air line distance Machine computer-readable recording medium.
Background technology
Nowadays terminal (such as smart mobile phone, tablet computer) has become not retrievable important work in people's Working Life Tool.With the raising of Intelligent Terminal degree, the daily routines of people can be substantially met by terminal, for example, purchase Thing, payment and navigation etc..
Although existing terminal can plan the route between diverse location by navigation map, or calculate diverse location Between distance, still, can not determine the air line distance of diverse location spatially.
The content of the invention
The embodiment of the present invention provides a kind of method, terminal and computer-readable medium for calculating air line distance, can be with Determine the air line distance of diverse location spatially.
In a first aspect, an embodiment of the present invention provides a kind of method for calculating air line distance, including:
The first height above sea level angle value of first position is obtained, and obtains the second height above sea level angle value of the second place;
If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to First latitude and longitude information of first position and the second latitude and longitude information of the second place determine the first position with it is described Horizontal distance between the second place;
The space between the first position and the second place is calculated according to the absolute value and the horizontal distance Air line distance.
Second aspect, an embodiment of the present invention provides a kind of terminal, which includes being used to perform above-mentioned first aspect The unit of method.
The third aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor State the method that processor performs above-mentioned first aspect.
The embodiment of the present invention is by obtaining the first height above sea level angle value of first position, and obtains the second sea of the second place Lift angle value;If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to first position First latitude and longitude information and the second latitude and longitude information of the second place determine the horizontal distance between first position and the second place; The air line distance between first position and the second place is calculated according to absolute value and horizontal distance.By the sea for obtaining diverse location Angle value is lifted, and by judging that the space that the size of the altitude difference between diverse location determines to calculate between diverse location is straight The strategy of linear distance, according to the height above sea level angle value and latitude and longitude information of the strategy, diverse location, can obtain diverse location it Between air line distance.
Brief description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, without creative efforts, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram of method for calculating air line distance provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the method for calculating air line distance that another embodiment of the present invention provides;
Fig. 3 is overall plan schematic diagram of the present invention;
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch Sensing surface) it can support the various application programs with user interface directly perceived and transparent for a user.
Referring to Fig. 1, it is that the embodiment of the present invention provides a kind of schematic flow diagram for the method for calculating air line distance, such as schemes The method of air line distance is calculated shown in 1 may include:
S110:The first height above sea level angle value of first position is obtained, and obtains the second height above sea level angle value of the second place.
In step s 110, the first height above sea level angle value is used to describing difference in height between first position and horizontal plane, and second Height above sea level angle value is used to describe the difference in height between the second place and horizontal plane.
Can obtain two at the same time it should be noted that when obtaining the first height above sea level angle value and the second height above sea level angle value The height above sea level angle value on ground, either according to user location or destination into obtaining respectively.
, can be with as when obtaining the first height above sea level angle value of first position and the second height above sea level angle value of the second place Include but are not limited to following scene:
Scene 1:
If detecting the predetermined registration operation for measurement space air line distance, the first height above sea level of first position is obtained Value, and obtain the second height above sea level angle value of the second place.
For example, user is navigated by terminal, first position and the second place are selected on map, and then pass through access The corresponding database of map obtains the first height above sea level angle value of first position, and obtains the second height above sea level of the second place Value.
Scene 2:
If detecting the predetermined registration operation for whether being capable of normal communication for measuring two places, the first sea of first position is obtained Angle value is lifted, and obtains the second height above sea level angle value of the second place.
For example, when whether the wireless communication link for needing to detect between two places can normally be established, by obtaining the First height above sea level angle value of one position, and the second height above sea level angle value of the second place is obtained, as space between calculating two places The data basis of air line distance.
It is understood that first position and the second place are the position with spatial coordinated information, can be longitude and latitude Spend identical two positions of coordinate.
S120:If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, root The first position is determined according to the first latitude and longitude information of the first position and the second latitude and longitude information of the second place With the horizontal distance between the second place.
In the step s 120, the first latitude and longitude information of first position is used to describe the position letter of first position on earth Breath or shared scope, the second latitude and longitude information of the second place are used to describe the positional information or shared of the second place on earth Scope.
It should be noted that horizontal distance is used to describe plane when first position is in same level with the second place Position relationship.
In the present embodiment, the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value can be used for description The height above sea level size differed between one height above sea level angle value and the second height above sea level angle value, since absolute value only has positive number, nothing By the numerical values recited between the first height above sea level angle value and the second height above sea level angle value, when the first height above sea level angle value and the second height above sea level When the absolute value of the difference of value is more than zero, illustrate that there are altitude difference between first position and the second place.
It is understood that when the absolute value of the first height above sea level angle value and the difference of the second height above sea level angle value can not possibly be less than 0. When the absolute value of the first height above sea level angle value and the difference of the second height above sea level angle value is equal to zero, then first position is in same with second On one horizontal plane.
In the present embodiment, the first latitude and longitude information can be identical with the second latitude and longitude information, or different.
For example, first position is No. 0501 office of 5 buildings in A buildings, the second place is No. 1601 of 16 buildings of A buildings Office, the office due to No. 0501 office with No. 1601 offices for same orientation or same direction, so the first warp Latitude information is identical with the second latitude and longitude information.
S130:Calculated according to the absolute value and the horizontal distance between the first position and the second place Air line distance.
In step s 130, the air line distance between first position and the second place can be used for describing first position Most short communication distance when being communicated wirelessly with the second place.
It should be noted that in the present embodiment, absolute value is the first height above sea level angle value and the difference of the second height above sea level angle value Absolute value, which is used to describe difference in height between first position and the second place, i.e., the height on vertical direction is logical Cross with reference to the horizontal distance between first position and the second place, i.e., the length in horizontal direction, passes through triangle Pythagorean theorem The air line distance that can be attained the Way between first position and the second place.
It is understood that the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value may have equal to zero Situation, there may also be null situation for the horizontal distance between first position and the second place.
In the present embodiment, when the absolute value of the first height above sea level angle value and the difference of the second height above sea level angle value is equal to zero, and Horizontal distance between first position and the second place is not equal to zero, then the space line between first position and the second place away from From equal to the horizontal distance between first position and the second place.
When the absolute value of the first height above sea level angle value and the difference of the second height above sea level angle value is not equal to zero, and first position and the Horizontal distance between two positions is equal to zero, then the air line distance between first position and the second place is equal to the first height above sea level The absolute value of the difference of height value and the second height above sea level angle value.
The embodiment of the present invention is by obtaining the first height above sea level angle value of first position, and obtains the second sea of the second place Lift angle value;If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to first position First latitude and longitude information and the second latitude and longitude information of the second place determine the horizontal distance between first position and the second place; The air line distance between first position and the second place is calculated according to absolute value and horizontal distance.By the sea for obtaining diverse location Angle value is lifted, and by judging that the space that the size of the altitude difference between diverse location determines to calculate between diverse location is straight The strategy of linear distance, according to the height above sea level angle value and latitude and longitude information of the strategy, diverse location, can obtain diverse location it Between air line distance.
It is the schematic flow diagram that the embodiment of the present invention provides another method for calculating air line distance, such as referring to Fig. 2 The method of air line distance is calculated shown in Fig. 2 may include:
S210:The first height above sea level angle value of first position is obtained, and obtains the second height above sea level angle value of the second place.
In step S210, the first height above sea level angle value is used to describing difference in height between first position and horizontal plane, and second Height above sea level angle value is used to describe the difference in height between the second place and horizontal plane.
It should be noted that standard pressure value is standard atmospheric pressure value.Obtaining the first height above sea level angle value and the second height above sea level Can be the height above sea level angle value for obtaining two places at the same time during height value, either according to user location or destination into obtaining respectively Take.
As a kind of mode in the cards of the present embodiment, step S210 can specifically include:First position is obtained respectively The first atmospheric pressure value and the first temperature value and the second atmospheric pressure value of the second place and second temperature value;According to standard pressure value, First atmospheric pressure value and the first temperature value calculate the first height above sea level angle value;According to standard pressure value, second gas Pressure value and second temperature value calculate the second height above sea level angle value.
It should be noted that the first temperature value is used to obtain the corresponding height above sea level compensation value in first position, second temperature Value is used to obtain the corresponding height above sea level compensation value in the second place.
In all embodiments of the invention, according to standard pressure value and the first atmospheric pressure value, or the second atmospheric pressure value, can pass through The first height above sea level angle value or the second height above sea level angle value is calculated in formula (1).
Atmospheric pressure value or the second atmospheric pressure value, P0For standard pressure value.
It is understood that standard pressure value is definite value, the first atmospheric pressure value and the second atmospheric pressure value can be by terminals The pressure information that sensor or transmitting/receiving server are sent obtains.
As the mode of the alternatively possible realization of the present embodiment, step S210 can specifically include:Call global positioning system System determines corresponding first coordinate information in first position and corresponding second coordinate information in the second place;From number of targets According to acquisition the first height above sea level angle value corresponding with first coordinate information in storehouse;Obtained and described second from target database The corresponding second height above sea level angle value of coordinate information.
It should be noted that the corresponding height above sea level angle value of each coordinate information is stored with target database, when first , can be from target according to the first coordinate information and the second coordinate information when putting the horizontal distance between the second place more than zero The first height above sea level angle value corresponding with first coordinate information is obtained in database, and it is corresponding with second coordinate information The second height above sea level angle value.
In practical applications, due to being had a great influence by temperature during atmospheric pressure value calculating height above sea level angle value to result of calculation, Therefore corresponding first altimetric compensation value and second can be obtained respectively with the temperature of the second place according to the temperature of first position Altimetric compensation value, using the first altimetric compensation value and the second altimetric compensation value respectively to the first height above sea level angle value and the second height above sea level Height value compensates and corrects, and improves the first height above sea level angle value and the second height above sea level angle value order of accuarcy.
In above two mode in the cards, the first height above sea level angle value of first position is being obtained, and obtain the After second height above sea level angle value of two positions, it can also include:Obtain the corresponding first altimetric compensation value in first position and the Second altimetric compensation value of two position correspondences;The first height above sea level angle value is repaid according to the first altimetric compensation value complement;According to The second altimetric compensation value complement repays the second height above sea level angle value.
It should be noted that the first altimetric compensation value and the second altimetric compensation value can obtain by searching for the mode of the presets list Take.
For example, presetting corresponding altimetric compensation value according to different positions, obtained not by searching for the mode of the presets list With the corresponding altimetric compensation value in position.
It is understood that the first altimetric compensation value and the second altimetric compensation value are being utilized respectively to the first height above sea level angle value After being compensated and corrected with the second height above sea level angle value, performed according to the first height above sea level angle value after compensation and the second height above sea level angle value Step S220.
As the present embodiment, another mode in the cards, step S210 can specifically include:According to standard pressure value First object height above sea level angle value is determined with the first atmospheric pressure value of the first position;According to standard pressure value and the second place The second atmospheric pressure value determine the second target height above sea level angle value;According to the default correspondence between standard pressure value and temperature value, Determine the corresponding second altimetric compensation value of the corresponding first altimetric compensation value in the first position and the second place;By institute State the sum of first object height above sea level angle value and the first altimetric compensation value and be identified as the first height above sea level angle value, and by institute State the sum of the second target height above sea level angle value and the second altimetric compensation value and be identified as the second height above sea level angle value.
It should be noted that the default correspondence between standard pressure value and temperature value, can be according to different temperatures It is worth default calculation error list, corresponding altimetric compensation value can be searched in the list according to different temperature.
It is understood that in above-mentioned mode in the cards, the corresponding first altimetric compensation value in first position and the The mode that second altimetric compensation value of two position correspondences obtains is identical, is according to default between standard pressure value and temperature value Correspondence obtains.
As the present embodiment, another mode in the cards, step S210 can specifically include:According to standard pressure value First object height above sea level angle value is determined with the first atmospheric pressure value;According to standard pressure value the first temperature corresponding with the first position Default correspondence between value, determines the corresponding first altimetric compensation value in the first position;By the first object height above sea level The sum of height value and the first altimetric compensation value are identified as the first height above sea level angle value;Described in being obtained from presetting database The corresponding second target height above sea level angle value in the second place;According to standard pressure value second temperature value corresponding with the second place Between default correspondence, determine the corresponding second altimetric compensation value in the second place;By the second target height above sea level The sum of angle value and the second altimetric compensation value are identified as the second height above sea level angle value.
It should be noted that in above-mentioned mode in the cards, the mode of the first height above sea level angle value is obtained with obtaining the The mode of two height above sea level angle value is different, and the first height above sea level angle value can be obtained in real time by terminal used by a user, the Two height above sea level angle value can be obtained by searching for the mode of presetting database.
For example, first position is user's present position, corresponding first gas of user's present position is detected in real time Pressure value, and then the corresponding first object height above sea level of user's present position can be calculated.It is currently located by detecting user First temperature value of position, according to the default correspondence between standard pressure value and the first temperature value, then can obtain first Offset, by calculating the sum of first object height above sea level angle value and the first altimetric compensation value, then obtains the first height above sea level angle value.
For another example first position is user's present position, the second place is the position that user is set on terminal map Put.Presetting database corresponding with map is stored with terminal, each position on map is included in presetting database and obtains letter Breath.By obtaining the corresponding second target height above sea level angle value in the second place from presetting database, according to standard pressure value and the Default correspondence between the second temperature value of two position correspondences, determines the corresponding second altimetric compensation value in the second place, then By calculating the sum of the second target height above sea level angle value and the second altimetric compensation value, then the second height above sea level angle value is obtained.
Terminal can perform S221 or S222 after S210 is performed.
S221:If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, root The first position is determined according to the first latitude and longitude information of the first position and the second latitude and longitude information of the second place With the horizontal distance between the second place.
In step S220, the first latitude and longitude information of first position is used to describe the position letter of first position on earth Breath or shared scope, the second latitude and longitude information of the second place are used to describe the positional information or shared of the second place on earth Scope.
It should be noted that horizontal distance is used to describe plane when first position is in same level with the second place Position relationship.
In the present embodiment, the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value can be used for description The height above sea level size differed between one height above sea level angle value and the second height above sea level angle value, since absolute value only has positive number, nothing By the numerical values recited between the first height above sea level angle value and the second height above sea level angle value, when the first height above sea level angle value and the second height above sea level When the absolute value of the difference of value is more than zero, illustrate that there are altitude difference between first position and the second place.
In a kind of method for calculating air line distance provided in this embodiment, the step arranged side by side with step S221 is further included S222。
Step S222:If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is equal to zero, The air line distance between the first position and the second place is then obtained according to the horizontal distance.
In step S222, the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is equal to zero, i.e., first Position is in same level with the second place.Air line distance between first position and the second place is first position Horizontal distance between the second place.
It should be noted that order, and after step S221 is performed in no particular order between step S222 and step S221, Just step S222 is no longer performed, after step S222 is performed, just no longer performs step S221.
As a kind of mode in the cards of the present embodiment, step S220 ' can specifically include:If first height above sea level When the absolute value of the difference of angle value and the second height above sea level angle value is equal to zero, and between the first position and the second place Horizontal distance be not equal to zero, then the air line distance between the first position and the second place be equal to described first Horizontal distance between position and the second place.
If it is understood that the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value differs When zero, and the horizontal distance between the first position and the second place be equal to zero, then the first position with it is described Air line distance between the second place is equal to the exhausted of the difference of the first height above sea level angle value and the second height above sea level angle value To value.
S230:Calculated according to the absolute value and the horizontal distance between the first position and the second place Air line distance.
It should be noted that only after step S220 is performed, step S230 is just performed.
With reference to step S220, step S230 is illustrated.
Fig. 3 shows overall plan of the present invention, as shown in figure 3, the horizontal distance between first position A and second place B For X.
Terrestrial equator radius is 6378.140 kms, and polar radius is 6356.755 kms, 6371.004 km of mean radius. The earth is considered as a complete sphere, then the radius played ball is exactly the mean radius of the earth, is denoted as R.If using 0 degree of warp as base Standard, then can calculate the surface distance of this point-to-point transmission according to the longitude and latitude of earth surface any two points.
Assuming that the longitude and latitude of first position A is (LonA, LatA), the longitude and latitude of second place B is (LonB, LatB), is pressed According to the benchmark of 0 degree of warp, east longitude degree of learning from else's experience takes on the occasion of (Longitude), west longitude degree of learning from else's experience negative value (- Longitude), north latitude 90- latitude values (90-Latitude), south latitude take 90+ latitude values (90+Latitude), then the first latitude and longitude information for (MLonA, MLatA), the second latitude and longitude information (MLonB, MLatB).Finally according to the space geometry concept of standard ball and with reference to triangle letter It is as follows that number formula, which calculates the formula that can obtain calculating the air line distance between two positions,:
D=R*Arccos (C) * π/180
C=sin (MLatA) * sin (MLatB) * cos (MLonA-MLonB)+cos (MLatA) * cos (MLatB), D Air line distance between one position A and second place B, π are pis, and pi, R is earth radius.
The embodiment of the present invention is by obtaining the first height above sea level angle value of first position, and obtains the second sea of the second place Lift angle value;If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to first position First latitude and longitude information and the second latitude and longitude information of the second place determine the horizontal distance between first position and the second place; The air line distance between first position and the second place is calculated according to absolute value and horizontal distance.By the sea for obtaining diverse location Angle value is lifted, and by judging that the space that the size of the altitude difference between diverse location determines to calculate between diverse location is straight The strategy of linear distance, according to the height above sea level angle value and latitude and longitude information of the strategy, diverse location, can obtain diverse location it Between air line distance.
By being modified to the first height above sea level angle value and the second height above sea level angle value, it is possible to increase the essence of air line distance Exactness.
The embodiment of the present invention also provides a kind of terminal, which is used for the unit for performing foregoing any one of them method. Specifically, it is a kind of schematic block diagram of terminal provided in an embodiment of the present invention referring to Fig. 4.The terminal 300 of the present embodiment includes: Acquiring unit 310, the first determination unit 320 and computing unit 330.
Acquiring unit 310, for obtaining the first height above sea level angle value of first position, and obtains the second sea of the second place Lift angle value.
For example, acquiring unit 310 obtains the first height above sea level angle value of first position, and obtain the second sea of the second place Lift angle value.
As a kind of mode in the cards of the present embodiment, acquiring unit 310 can include:First acquisition unit 311, One computing unit 312 and the second computing unit 313.
First acquisition unit 311, for obtaining the first atmospheric pressure value and the first temperature value and second of first position respectively Second atmospheric pressure value of position and second temperature value.
For example, first acquisition unit 311 obtains the first atmospheric pressure value and the first temperature value and second of first position respectively Second atmospheric pressure value of position and second temperature value.
First computing unit 312, for calculating institute according to standard pressure value, first atmospheric pressure value and the first temperature value State the first height above sea level angle value.
For example, the first computing unit 312 calculates institute according to standard pressure value, first atmospheric pressure value and the first temperature value State the first height above sea level angle value.
Second computing unit 313, for calculating institute according to standard pressure value, second atmospheric pressure value and second temperature value State the second height above sea level angle value.
For example, the second computing unit 313 calculates institute according to standard pressure value, second atmospheric pressure value and second temperature value State the second height above sea level angle value.
As the mode of the alternatively possible realization of the present embodiment, acquiring unit 310 can include:Call unit 314, second 315 and the 3rd acquiring unit 316 of acquiring unit.
Call unit 314, for call global positioning system determine corresponding first coordinate information in the first position and Corresponding second coordinate information in the second place.
For example, call unit 314 call global positioning system determine corresponding first coordinate information in the first position and Corresponding second coordinate information in the second place.
Second acquisition unit 315, for obtaining the first sea corresponding with first coordinate information from target database Lift angle value.
For example, second acquisition unit 315 obtains the first sea corresponding with first coordinate information from target database Lift angle value.
3rd acquiring unit 316, for obtaining the second sea corresponding with second coordinate information from target database Lift angle value.
For example, the 3rd acquiring unit 316 obtains the second sea corresponding with second coordinate information from target database Lift angle value.
Another mode in the cards as the present embodiment, acquiring unit 310, specifically for according to standard pressure value with First atmospheric pressure value of the first position determines first object height above sea level angle value;According to standard pressure value and the second place Second atmospheric pressure value determines the second target height above sea level angle value;According to the default correspondence between standard pressure value and temperature value, really The fixed corresponding first altimetric compensation value in first position and the corresponding second altimetric compensation value in the second place;By described in The sum of first object height above sea level angle value and the first altimetric compensation value are identified as the first height above sea level angle value, and by described in The sum of second target height above sea level angle value and the second altimetric compensation value are identified as the second height above sea level angle value.
For example, acquiring unit 310 determines first object according to the first atmospheric pressure value of standard pressure value and the first position Height above sea level angle value;Second target height above sea level angle value is determined according to the second atmospheric pressure value of standard pressure value and the second place;Root According to the default correspondence between standard pressure value and temperature value, determine the corresponding first altimetric compensation value in the first position with And the corresponding second altimetric compensation value in the second place;By the first object height above sea level angle value and first altimetric compensation The sum of value is identified as the first height above sea level angle value, and by the second target height above sea level angle value and second altimetric compensation The sum of value is identified as the second height above sea level angle value.
Another mode in the cards as the present embodiment, acquiring unit 310, specifically for according to standard pressure value with First atmospheric pressure value determines first object height above sea level angle value;According to standard pressure value the first temperature value corresponding with the first position Between default correspondence, determine the corresponding first altimetric compensation value in the first position;By the first object height above sea level The sum of angle value and the first altimetric compensation value are identified as the first height above sea level angle value;Described is obtained from presetting database Second target height above sea level angle value of two position correspondences;According to standard pressure value second temperature value corresponding with the second place it Between default correspondence, determine the corresponding second altimetric compensation value in the second place;By the second target height above sea level The sum of value and the second altimetric compensation value are identified as the second height above sea level angle value.
For example, acquiring unit 310 is used to determine first object height above sea level angle value according to standard pressure value and the first atmospheric pressure value; According to the default correspondence between standard pressure value the first temperature value corresponding with the first position, described first is determined Put corresponding first altimetric compensation value;The sum of the first object height above sea level angle value and described first altimetric compensation value are identified as The first height above sea level angle value;The corresponding second target height above sea level angle value in the second place is obtained from presetting database;Root According to the default correspondence between standard pressure value second temperature value corresponding with the second place, the second place is determined Corresponding second altimetric compensation value;The sum of the second target height above sea level angle value and the second altimetric compensation value are identified as institute State the second height above sea level angle value.
First determination unit 320, if for the exhausted of the difference of the first height above sea level angle value and the second height above sea level angle value It is to value more than zero, then true according to the first latitude and longitude information of the first position and the second latitude and longitude information of the second place Fixed horizontal distance between the first position and the second place.
If for example, the difference of the 320 first height above sea level angle value of the first determination unit and the second height above sea level angle value is exhausted It is to value more than zero, then true according to the first latitude and longitude information of the first position and the second latitude and longitude information of the second place Fixed horizontal distance between the first position and the second place.
Alternatively, terminal 300 can also include:
Second determination unit 321, if for the exhausted of the difference of the first height above sea level angle value and the second height above sea level angle value Zero is equal to value, then according to the horizontal distance obtain space line between the first position and the second place away from From.
If for example, the difference of the 321 first height above sea level angle value of the second determination unit and the second height above sea level angle value is exhausted Zero is equal to value, then according to the horizontal distance obtain space line between the first position and the second place away from From.
Computing unit 330, for calculating the first position and described the according to the absolute value and the horizontal distance Air line distance between two positions.
For example, computing unit 330 calculates the first position and described the according to the absolute value and the horizontal distance Air line distance between two positions.
Alternatively, terminal 300 can also include:Altimetric compensation value acquiring unit 340, the first compensating unit 350 and Two compensating units 360.Specifically:
Altimetric compensation value acquiring unit 340, for obtaining the corresponding first altimetric compensation value in first position and second Put corresponding second altimetric compensation value.
For example, altimetric compensation value acquiring unit 340 obtains the corresponding first altimetric compensation value in first position and second Put corresponding second altimetric compensation value.
First compensating unit 350, for repaying the first height above sea level angle value according to the first altimetric compensation value complement.
For example, the first compensating unit 350 repays the first height above sea level angle value according to the first altimetric compensation value complement.
Second compensating unit 360, for repaying the second height above sea level angle value according to the second altimetric compensation value complement.
For example, the second compensating unit 360 repays the second height above sea level angle value according to the second altimetric compensation value complement.
The embodiment of the present invention is by obtaining the first height above sea level angle value of first position, and obtains the second sea of the second place Lift angle value;If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to first position First latitude and longitude information and the second latitude and longitude information of the second place determine the horizontal distance between first position and the second place; The air line distance between first position and the second place is calculated according to absolute value and horizontal distance.By the sea for obtaining diverse location Angle value is lifted, and by judging that the space that the size of the altitude difference between diverse location determines to calculate between diverse location is straight The strategy of linear distance, according to the height above sea level angle value and latitude and longitude information of the strategy, diverse location, can obtain diverse location it Between air line distance.
By being modified to the first height above sea level angle value and the second height above sea level angle value, it is possible to increase the essence of air line distance Exactness.
It is a kind of terminal schematic block diagram that another embodiment of the present invention provides referring to Fig. 5.In the present embodiment as depicted Terminal 400 can include:One or more processors 401;One or more input equipments 402, one or more output are set Standby 403 and memory 404.Above-mentioned processor 401, input equipment 402, output equipment 403 and memory 404 pass through bus 405 Connection.Memory 402 is used to store computer program, and the computer program includes programmed instruction, and processor 401 is used to perform The programmed instruction that memory 402 stores.Wherein, processor 401 is arranged to call described program instruction to perform:
The first height above sea level angle value of first position is obtained, and obtains the second height above sea level angle value of the second place;
If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to First latitude and longitude information of first position and the second latitude and longitude information of the second place determine the first position with it is described Horizontal distance between the second place;
The space between the first position and the second place is calculated according to the absolute value and the horizontal distance Air line distance.
Alternatively, processor 401 is additionally configured to call described program instruction to perform:
Obtain the corresponding first altimetric compensation value in first position and the corresponding second altimetric compensation value in the second place;
The first height above sea level angle value is repaid according to the first altimetric compensation value complement;
The second height above sea level angle value is repaid according to the second altimetric compensation value complement.
Alternatively, processor 401 is additionally configured to call described program instruction to perform:
If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is equal to zero, according to Horizontal distance obtains the air line distance between the first position and the second place.
Alternatively, processor 401 is additionally configured to call described program instruction to perform:
The first atmospheric pressure value of first position and the second atmospheric pressure value of the first temperature value and the second place and the are obtained respectively Two temperature values;
The first height above sea level angle value is calculated according to standard pressure value, first atmospheric pressure value and the first temperature value;
The second height above sea level angle value is calculated according to standard pressure value, second atmospheric pressure value and second temperature value.
Alternatively, processor 401 is additionally configured to call described program instruction to perform:
Global positioning system is called to determine that corresponding first coordinate information in the first position and the second place correspond to The second coordinate information;
The first height above sea level angle value corresponding with first coordinate information is obtained from target database;
The second height above sea level angle value corresponding with second coordinate information is obtained from target database.
Alternatively, processor 401 is additionally configured to call described program instruction to perform:
Obtain the corresponding first altimetric compensation value in first position and the corresponding second altimetric compensation value in the second place;
The first height above sea level angle value is repaid according to the first altimetric compensation value complement;
The second height above sea level angle value is repaid according to the second altimetric compensation value complement.
Alternatively, processor 401 is additionally configured to call described program instruction to perform:
First object height above sea level angle value is determined according to the first atmospheric pressure value of standard pressure value and the first position;
Second target height above sea level angle value is determined according to the second atmospheric pressure value of standard pressure value and the second place;
According to the default correspondence between standard pressure value and temperature value, determine that the first position is corresponding first high Spend offset and the corresponding second altimetric compensation value in the second place;
The sum of the first object height above sea level angle value and the first altimetric compensation value are identified as first height above sea level Angle value, and the sum of the second target height above sea level angle value and the second altimetric compensation value are identified as second height above sea level Angle value.
Alternatively, processor 401 is additionally configured to call described program instruction to perform:
First object height above sea level angle value is determined according to standard pressure value and the first atmospheric pressure value;
According to the default correspondence between standard pressure value the first temperature value corresponding with the first position, institute is determined State the corresponding first altimetric compensation value in first position;
The sum of the first object height above sea level angle value and the first altimetric compensation value are identified as first height above sea level Angle value;
The corresponding second target height above sea level angle value in the second place is obtained from presetting database;
According to the default correspondence between standard pressure value second temperature value corresponding with the second place, institute is determined State the corresponding second altimetric compensation value in the second place;
The sum of the second target height above sea level angle value and the second altimetric compensation value are identified as second height above sea level Angle value.
It should be appreciated that in embodiments of the present invention, alleged processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 403 can include display (LCD etc.), loudspeaker etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the output equipment 403 described in the embodiment of the present invention can Described in the first embodiment and second embodiment for performing the method for calculating air line distance provided in an embodiment of the present invention Implementation, also can perform the implementation of described terminal of the embodiment of the present invention, details are not described herein.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor:
The first height above sea level angle value of first position is obtained, and obtains the second height above sea level angle value of the second place;
If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to First latitude and longitude information of first position and the second latitude and longitude information of the second place determine the first position with it is described Horizontal distance between the second place;
The space between the first position and the second place is calculated according to the absolute value and the horizontal distance Air line distance.
Alternatively, also realized when described program instruction is executed by processor:
Obtain the corresponding first altimetric compensation value in first position and the corresponding second altimetric compensation value in the second place;
The first height above sea level angle value is repaid according to the first altimetric compensation value complement;
The second height above sea level angle value is repaid according to the second altimetric compensation value complement.
Alternatively, also realized when described program instruction is executed by processor:
If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is equal to zero, according to Horizontal distance obtains the air line distance between the first position and the second place.
Alternatively, also realized when described program instruction is executed by processor:
The first atmospheric pressure value of first position and the second atmospheric pressure value of the first temperature value and the second place and the are obtained respectively Two temperature values;
The first height above sea level angle value is calculated according to standard pressure value, first atmospheric pressure value and the first temperature value;
The second height above sea level angle value is calculated according to standard pressure value, second atmospheric pressure value and second temperature value.
Alternatively, also realized when described program instruction is executed by processor:
Global positioning system is called to determine that corresponding first coordinate information in the first position and the second place correspond to The second coordinate information;
The first height above sea level angle value corresponding with first coordinate information is obtained from target database;
The second height above sea level angle value corresponding with second coordinate information is obtained from target database.
Alternatively, also realized when described program instruction is executed by processor:
Obtain the corresponding first altimetric compensation value in first position and the corresponding second altimetric compensation value in the second place;
The first height above sea level angle value is repaid according to the first altimetric compensation value complement;
The second height above sea level angle value is repaid according to the second altimetric compensation value complement.
Alternatively, also realized when described program instruction is executed by processor:
First object height above sea level angle value is determined according to the first atmospheric pressure value of standard pressure value and the first position;
Second target height above sea level angle value is determined according to the second atmospheric pressure value of standard pressure value and the second place;
According to the default correspondence between standard pressure value and temperature value, determine that the first position is corresponding first high Spend offset and the corresponding second altimetric compensation value in the second place;
The sum of the first object height above sea level angle value and the first altimetric compensation value are identified as first height above sea level Angle value, and the sum of the second target height above sea level angle value and the second altimetric compensation value are identified as second height above sea level Angle value.
Alternatively, also realized when described program instruction is executed by processor:
First object height above sea level angle value is determined according to the first atmospheric pressure value of standard pressure value and the first position;
Second target height above sea level angle value is determined according to the second atmospheric pressure value of standard pressure value and the second place;
According to the default correspondence between standard pressure value and temperature value, determine that the first position is corresponding first high Spend offset and the corresponding second altimetric compensation value in the second place;
The sum of the first object height above sea level angle value and the first altimetric compensation value are identified as first height above sea level Angle value, and the sum of the second target height above sea level angle value and the second altimetric compensation value are identified as second height above sea level Angle value.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example Such as the hard disk or memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is used to store described Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can pass through it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art, or all or part of the technical solution can be in the form of software product Embody, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (10)

  1. A kind of 1. method for calculating air line distance, it is characterised in that including:
    The first height above sea level angle value of first position is obtained, and obtains the second height above sea level angle value of the second place;
    If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is more than zero, according to described first First latitude and longitude information of position determines the first position and described second with the second latitude and longitude information of the second place Horizontal distance between position;
    The space line between the first position and the second place is calculated according to the absolute value and the horizontal distance Distance.
  2. 2. according to the method described in claim 1, it is characterized in that, it is described obtain first position the first height above sea level angle value, with And the second height above sea level angle value of the second place is obtained, including:
    The first atmospheric pressure value and the first temperature value and the second atmospheric pressure value of the second place and the second temperature of first position are obtained respectively Angle value;
    The first height above sea level angle value is calculated according to standard pressure value, first atmospheric pressure value and the first temperature value;
    The second height above sea level angle value is calculated according to standard pressure value, second atmospheric pressure value and second temperature value.
  3. 3. according to the method described in claim 1, it is characterized in that, it is described obtain first position the first height above sea level angle value, with And the second height above sea level angle value of the second place is obtained, including:
    Global positioning system is called to determine corresponding first coordinate information in the first position and the second place corresponding the Two coordinate informations;
    The first height above sea level angle value corresponding with first coordinate information is obtained from target database;
    The second height above sea level angle value corresponding with second coordinate information is obtained from target database.
  4. 4. according to the method described in claim 2, it is characterized in that, the method further includes:
    Obtain the corresponding first altimetric compensation value in first position and the corresponding second altimetric compensation value in the second place;
    The first height above sea level angle value is repaid according to the first altimetric compensation value complement;
    The second height above sea level angle value is repaid according to the second altimetric compensation value complement.
  5. 5. according to the method described in claim 1, it is characterized in that, it is described obtain first position the first height above sea level angle value, with And the second height above sea level angle value of the second place is obtained, including:
    First object height above sea level angle value is determined according to the first atmospheric pressure value of standard pressure value and the first position;
    Second target height above sea level angle value is determined according to the second atmospheric pressure value of standard pressure value and the second place;
    According to the default correspondence between standard pressure value and temperature value, determine that corresponding first height in the first position is mended Repay the corresponding second altimetric compensation value of value and the second place;
    The sum of the first object height above sea level angle value and the first altimetric compensation value are identified as the first height above sea level angle value, And the sum of the second target height above sea level angle value and the second altimetric compensation value are identified as the second height above sea level angle value.
  6. 6. according to the method described in claim 1, it is characterized in that, it is described obtain first position the first height above sea level angle value, with And the second height above sea level angle value of the second place is obtained, including:
    First object height above sea level angle value is determined according to standard pressure value and the first atmospheric pressure value;
    According to the default correspondence between standard pressure value the first temperature value corresponding with the first position, described is determined First altimetric compensation value of one position correspondence;
    The sum of the first object height above sea level angle value and the first altimetric compensation value are identified as the first height above sea level angle value;
    The corresponding second target height above sea level angle value in the second place is obtained from presetting database;
    According to the default correspondence between standard pressure value second temperature value corresponding with the second place, described is determined Second altimetric compensation value of two position correspondences;
    The sum of the second target height above sea level angle value and the second altimetric compensation value are identified as the second height above sea level angle value.
  7. 7. method according to any one of claims 1 to 6, it is characterised in that the method further includes:
    If the absolute value of the difference of the first height above sea level angle value and the second height above sea level angle value is equal to zero, according to the level Distance obtains the air line distance between the first position and the second place.
  8. 8. a kind of terminal, it is characterised in that including the list for performing the method as described in claim 1-7 any claims Member.
  9. 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performs such as any one of claim 1-7 The method.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the processor perform such as right when being executed by a processor It is required that 1-7 any one of them methods.
CN201710980203.5A 2017-10-19 2017-10-19 A kind of method, terminal and computer-readable medium for calculating air line distance Pending CN107917713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710980203.5A CN107917713A (en) 2017-10-19 2017-10-19 A kind of method, terminal and computer-readable medium for calculating air line distance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710980203.5A CN107917713A (en) 2017-10-19 2017-10-19 A kind of method, terminal and computer-readable medium for calculating air line distance

Publications (1)

Publication Number Publication Date
CN107917713A true CN107917713A (en) 2018-04-17

Family

ID=61894829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710980203.5A Pending CN107917713A (en) 2017-10-19 2017-10-19 A kind of method, terminal and computer-readable medium for calculating air line distance

Country Status (1)

Country Link
CN (1) CN107917713A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109696167A (en) * 2019-02-26 2019-04-30 重庆邮电大学 A kind of UWB indoor three-dimensional positioning system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060247828A1 (en) * 2004-09-17 2006-11-02 Ricardo Ardila Method for providing terrain alerts and display utilizing temperature compensated and GPS altitude data
CN101074875A (en) * 2006-05-19 2007-11-21 Eta瑞士钟表制造股份有限公司 Barometric altimeter with a temperature compensating device
CN201094017Y (en) * 2007-08-06 2008-07-30 樊生良 Atmospheric pressure altimeter
CN104457736A (en) * 2014-11-03 2015-03-25 深圳市邦彦信息技术有限公司 Method and device for acquiring target location information
CN104869631A (en) * 2015-04-29 2015-08-26 深圳市金立通信设备有限公司 Locating method
CN106774435A (en) * 2017-01-20 2017-05-31 亿航智能设备(广州)有限公司 The high accuracy follower method and its system of a kind of unmanned plane

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060247828A1 (en) * 2004-09-17 2006-11-02 Ricardo Ardila Method for providing terrain alerts and display utilizing temperature compensated and GPS altitude data
CN101074875A (en) * 2006-05-19 2007-11-21 Eta瑞士钟表制造股份有限公司 Barometric altimeter with a temperature compensating device
CN201094017Y (en) * 2007-08-06 2008-07-30 樊生良 Atmospheric pressure altimeter
CN104457736A (en) * 2014-11-03 2015-03-25 深圳市邦彦信息技术有限公司 Method and device for acquiring target location information
CN104869631A (en) * 2015-04-29 2015-08-26 深圳市金立通信设备有限公司 Locating method
CN106774435A (en) * 2017-01-20 2017-05-31 亿航智能设备(广州)有限公司 The high accuracy follower method and its system of a kind of unmanned plane

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴晓男等: "气压式高度表的测量误差分析及修正方法", 《仪表技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109696167A (en) * 2019-02-26 2019-04-30 重庆邮电大学 A kind of UWB indoor three-dimensional positioning system and method

Similar Documents

Publication Publication Date Title
KR20170096078A (en) Electronic device and method for providing handwriting calibration function thereof
CN108415024A (en) proximity sensor calibration method, device, mobile terminal and computer-readable medium
US20150323963A1 (en) Device and method of controlling a display panel based on cover-related information
CN103017767A (en) method and apparatus for measuring location of terminal using accuracy of measuring location
US12056825B2 (en) Electronic device for providing indoor positioning and method therefor
US10045155B2 (en) User terminal apparatus and controlling method thereof
KR20180108192A (en) Method for determining location, electronic apparatus and storage medium
EP2972683B1 (en) Dynamically calibrating magnetic sensors
KR20210087181A (en) An electronic device detecting a location and a method thereof
US20070290837A1 (en) Navigation device
KR102230583B1 (en) Method for providing location based service, electronic apparatus, server and storage medium
CN108429856A (en) A kind of location information acquisition methods and mobile terminal
US20170248424A1 (en) Electronic device for determining position and method for operating the same
CN109815349B (en) Information acquisition method and terminal equipment
CN109813300B (en) Positioning method and terminal equipment
CN112762915B (en) Compass precision optimization method and device, storage medium and electronic equipment
CN107917713A (en) A kind of method, terminal and computer-readable medium for calculating air line distance
CN103206953B (en) It is used for when location producing the method for a geographic orientation and using the alignment system of the method
CN111753047A (en) Text processing method and device
CN109639880A (en) A kind of display method of weather information and terminal device
KR20180083144A (en) Method for detecting marker and an electronic device thereof
KR20210049521A (en) An electronic device detecting a location and a method thereof
CN117091596B (en) Gesture information acquisition method and related equipment
JP7280227B2 (en) Information processing device, information processing method and information processing program
KR102650875B1 (en) Electronic device and method for setting time zone thereof

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180417