CN107607097A - A kind of compass display methods, device and computer-readable medium - Google Patents
A kind of compass display methods, device and computer-readable medium Download PDFInfo
- Publication number
- CN107607097A CN107607097A CN201710825954.XA CN201710825954A CN107607097A CN 107607097 A CN107607097 A CN 107607097A CN 201710825954 A CN201710825954 A CN 201710825954A CN 107607097 A CN107607097 A CN 107607097A
- Authority
- CN
- China
- Prior art keywords
- street
- latitude
- city
- information
- compass
- 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
Links
Landscapes
- Navigation (AREA)
Abstract
The present invention is applied to field of terminal technology, there is provided a kind of display methods, device and the computer-readable storage medium at compass applications interface, methods described include:Obtain the latitude and longitude information on compass applications interface;The latitude and longitude information is translated to the title in geographical position;The simulation drawing shape of the title in the geographical position and the compass is simultaneously displayed on the compass applications interface, advantageous effects of the invention:The function of compass applications is enriched, improves the frequency of use of compass applications.
Description
Technical field
The invention belongs to field of terminal technology, more particularly to a kind of display methods, device, the terminal at compass applications interface
Equipment and computer-readable recording medium.
Background technology
Compass is out of doors very useful One function in activity and outdoor travel as a miscellaneous function.Mesh
Before, the information that installing compass applications on mobile terminals can show generally only includes:Direction pointed by mobile terminal
And the longitude and latitude of mobile terminal position.However, during routine use mobile terminal, information above is come to user
Validity or availability shortcoming are said, causes the utilization rate of compass applications low.
The content of the invention
In view of this, the embodiments of the invention provide a kind of compass display methods and terminal device, to solve to move at present
The problem of compass applications utilization rate of dynamic terminal is low.
The first aspect of the embodiment of the present invention provides a kind of display methods at compass applications interface, including:
Obtain the latitude and longitude information on compass applications interface;
The latitude and longitude information is translated to the title in geographical position;
The simulation drawing shape of the title in the geographical position and the compass is simultaneously displayed on compass applications circle
On face.
The second aspect of the embodiment of the present invention provides a kind of display device at compass applications interface, including:
Latitude and longitude information acquiring unit, for obtaining the latitude and longitude information on compass applications interface;
Latitude and longitude information translates unit, for the latitude and longitude information to be translated to the title in geographical position;
Display unit, for the simulation drawing shape of the title in the geographical position and the compass to be simultaneously displayed on into institute
State on compass applications interface.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, it is characterised in that described in the computing device
The compass referred in any possible implementation of above-mentioned first aspect or above-mentioned first aspect is realized during computer program
Display methods.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, including:The computer can
Read storage medium and be stored with computer program, the computer program realized when being executed by processor above-mentioned first aspect or on
State the compass display methods referred in any possible implementation of first aspect.
Compared with prior art, the embodiment of the present invention shows the simulation of the compass on the compass applications interface
Figure;Obtain the latitude and longitude information on the application interface;The latitude and longitude information is translated to the title in geographical position;By institute
The title for stating geographical position is shown on the application interface, so as to enrich the function of compass applications, improves compass
The frequency of use of application.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram of the display methods at the compass applications interface that the embodiment of the present invention one provides;
Fig. 2 is the compass applications interface schematic diagram that the embodiment of the present invention one provides;
Fig. 3 (a) is that the implementation process of the display methods at another compass applications interface that the embodiment of the present invention one provides is shown
It is intended to;
Fig. 3 (b) is that the implementation process of the display methods at another compass applications interface that the embodiment of the present invention one provides is shown
It is intended to;
Fig. 4 (a) is the implementation process signal of the display methods at the compass applications interface that the embodiment of the present invention two provides
Figure;
Fig. 4 (b) is that the implementation process of the display methods at the first compass applications interface that the embodiment of the present invention two provides is shown
Meaning;
Fig. 5 (a) is that the implementation process of the display methods at the second compass applications interface that the embodiment of the present invention two provides is shown
It is intended to;
Fig. 5 (b) is the compass applications interface schematic diagram that the embodiment of the present invention two provides;
Fig. 6 (a) is the implementation process schematic diagram of the display methods at the compass applications interface that the embodiment of the present invention three provides;
Fig. 6 (b) is the implementation process schematic diagram of the display methods at the compass applications interface that the embodiment of the present invention three provides;
Fig. 7 is the system structure diagram of the display device at the compass applications interface that the embodiment of the present invention four provides;
Fig. 8 is the exemplary plot for the terminal device that the embodiment of the present invention five provides;
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows the implementation process for the compass applications interface display method that the embodiment of the present invention one provides, and Fig. 2 goes out
The compass applications interface that the embodiment of the present invention one provides.For convenience of description, illustrate only related to the embodiment of the present invention
Part.
As shown in figure 1, methods described includes:
In step S101, the latitude and longitude information on compass applications interface is obtained.
In embodiments of the present invention, for example, mobile terminal can be obtained by GPS, architecture or wireless network
The latitude and longitude information of mobile terminal present position, and carried out on the longitude and latitude display information column on compass applications interface
Display.It is considered that longitude and latitude on compass applications interface may exist with the current longitude and latitude of user it is certain come in and go out (for example,
When user is riding public transportation means), the numerical value of the longitude and latitude on application interface will not be updated in real time.Therefore, in order to
The latitude and longitude information shown on enough correct translation application interfaces, compass applications directly read the longitude and latitude shown on application interface
Reading, the title for follow-up geographical position are translated.
In step s 102, the latitude and longitude information is translated to the title in geographical position.
In step s 103, the simulation drawing shape of the title in the geographical position and the compass is simultaneously displayed on described
On compass applications interface.
In the present embodiment, the simulation figure of described compass can be simulated very on compass applications interface
The figure of real compass, it may for example comprise the circular dial plate with angle index, the pointer of direction indication, institute to be used in dial plate
It can be one or two mutually perpendicular pointers to state pointer.Wherein, longitude and latitude is shown on compass applications interface
Information, and latitude and longitude information translation column is provided with compass applications interface, latitude and longitude information translation column can be application
The touch-sensitive area of rectangle or circle on interface, user can be answered by touching latitude and longitude information translation column triggering compass
Translated with latitude and longitude information is performed, for example, the touch-sensitive area where user's long-press or short-press latitude and longitude information translate column,
Compass applications receive latitude and longitude information translation instruction, and then compass applications are believed according to the longitude and latitude shown on application interface
Geographical position corresponding to breath inquiry, the title in the geographical position inquired is shown on latitude and longitude information translation column, that is,
Say the translation column of the latitude and longitude information in the present embodiment while there is the function of sensing user's operation and the function of display information.This
Geographical position in embodiment can refer to the administrative division of street one-level, such as:China-Shenzhen-Nanshan District-XX streets.
The latitude and longitude information is translated into corresponding geographical position, can be realized by the following method:When user's long-press
Or during short-press triggering latitude and longitude information translation column, compass applications obtain the longitude and latitude having been shown on compass applications interface
Information is spent, then the latitude and longitude information is uploaded onto the server by wireless network, then longitude and latitude described in server lookup
Street name corresponding to information, afterwards server the street name inquired is sent to compass applications, last compass
Include using by the street name inquired on latitude and longitude information translation column.
Further, before the latitude and longitude information on the acquisition compass applications interface, in addition to:
In step S301, the city name of user's city of residence is obtained;
The schematic flow sheet of the present embodiment as shown in Fig. 3 (a).In the present embodiment, it is contemplated that user is likely to be at nothing
The state of wifi connections, carry out inquiring about the mobile phone flow spending that can increase user by the way that latitude and longitude information is sent into server,
Or it is unstable due to network condition, inquiry is carried out by network and having certain delay, in addition during domestic consumer's major part
Between all live in same city.Therefore, in order that latitude and longitude information translation is more convenient, the present embodiment can obtain use first
Family city of residence, so as to which when inquiring about latitude and longitude information, the amount of storage and operand of system can be reduced.
In step s 302, according to the city name, the street in each street of user's city of residence is obtained
Title and the latitude and longitude information of each street position;
Specifically, city name is sent to server by compass applications by network, each street of the city is searched,
And whole latitude and longitude informations that the street position includes.
In step S303, by the street name in each street and the latitude and longitude information pair of the street position
It should be stored in database;
In the present embodiment, memory cell is set in compass applications, for storing the database, the database tool
There are first list and second list, first list is used to store the street name obtained, and the second list is used to store and street
Latitude and longitude value corresponding to road title, so as to form the mapping relations of first list and second list.
In step s 304, the title that the latitude and longitude information is translated to geographical position, including:
Corresponding street name is searched by the latitude and longitude information on the compass applications interface of acquisition in the database
Claim.
Further, as shown in Fig. 3 (b), in step S301, the city name of user's city of residence is obtained, specifically
The city name that user inputs by step S3011, can be defined as to the city name of user's city of residence.Specifically
, the input interface of corresponding city name can be set on compass applications interface, and user can be in compass applications circle
The city name that user lives is inputted on face.
Or by step S3012, according to the historical navigation data of mobile terminal, when determining that the mobile terminal stops
Between most long city, the city is defined as user's city of residence, and obtain the city name in the city.Specifically, can
With statistical history navigation data, for example, in the past in one week, the time of user 70% rests on A cities, and 20% time rests on B
City, 10% time rest on C cities, then compass quotes the historical navigation data fed back according to mobile terminal, determine A cities to use
The city name that family is lived.
The method for the city name that user's city of residence can certainly be obtained to above two sets priority.For example,
In the case that user has specified that city of residence, then compass applications will not determine user according to historical navigation data
The title in the city of inhabitation.
Embodiment two
Fig. 4 (a) shows the implementation process for the compass display methods that the embodiment of the present invention two provides, such as Fig. 4 (a) institutes
Show, methods described includes:
In step S401, the user interest information related to geographical position is obtained.
In the present embodiment, the user interest information, can be the Weather information on periphery, the sight spot information of surrounding
Deng being not specifically limited herein.As long as the user related to geographical position information interested is within this range.
In step S402, based on the related geographical position of the user interest information and mobile terminal current location it
Between position relation, it is described simulation figure around corresponding orientation show the user interest information.
In the present embodiment, such as the information of interest of acquisition is located at the northeastward of mobile terminal current location, then phase
The northeastward that the compass at compass applications interface answered simulates figure shows above-mentioned information of interest.
Further, Fig. 4 (b) shows the realization stream for another compass display methods that the embodiment of the present invention two provides
Journey.Wherein, the user interest information includes the Weather information of preset geographical position;
In the present embodiment, as shown in Fig. 2 can be set respectively in the pointer instruction state of compass simulation figure pre-
If the Weather information viewing area in geographical position, display and the day in the neighbouring area/county/city of user's present position are respectively used to
Gas situation, the preset geographical position are exactly that the pointer of compass simulation figure points to and neighbouring with mobile terminal current location
Position.Weather information can be specifically set to obtain button on compass applications interface.
Orientation between the geographical position and mobile terminal current location related based on the user interest information
Relation, the corresponding orientation around the simulation figure show the user interest information, including:
Step S4021, obtain the position relation between the preset geographical position and the mobile terminal current location;
The preset geographical position is compass pointer direction indication and area/county/city of current location adjoining, when user's hand
After holding mobile terminal holding stabilization, the Weather information triggered on application interface obtains button, then calculates guide by processor
Needle mould intends the direction of the pointer instruction of figure, and wherein compass simulation figure includes a pair of mutually perpendicular pointers, is respectively perpendicular
In the major axis and short axle of mobile terminal.Such as the pointer pointed up instruction " northwest " direction when compass simulation figure, then
Pointer instruction " southwest " direction on the sensing left side of compass simulation figure, pointer instruction " northeast " direction on the right is pointed to, is referred to
Pointer instruction " southeast " direction downwards, then this four direction is combined, counted respectively with current mobile terminal position
Calculate " northwest " of current mobile terminal position, " southwest ", " northeast ", " southeast " and current location adjoining area/county/
City.
Step S4022, the sensing state based on the compass, in the corresponding orientation around the simulation figure really
A fixed viewing area.
, should in user's triggering because the pointer of compass simulation figure is pointed to and can be changed with the orientation of mobile terminal
With on interface Weather information obtain button after, simulation figure around, pointer point to direction determine a circle or
The Weather information viewing area of rectangle, for showing area/county/city and the weather conditions of current location adjoining.
Step S4023 shows the Weather information in the viewing area determined.
Compass applications are by the Weather information in Network Capture aforementioned four area/county/city, and respectively positioned at compass mould
The Weather information viewing area for intending the pointer sensing of figure is shown.When user changes the direction of mobile phone, or it is mobile with
Afterwards, it is only necessary to which Weather information on retriggered compass applications interface obtains button, then can be according to the sensing of pointer again
Calculated, and the result for recalculating acquisition is shown in Weather information viewing area.User so can be made more
It is perceive intuitively that the weather condition in the area/county/city of the Weather information and user of current location all around, and its surrounding city
City is particularly located at which direction of current location, and avoiding user can only make inferences to perceive according to some data.
Further, methods described also includes the location information for obtaining current location;Shown on the application interface
Map interface, and show in the map interface location information of the current location.
In embodiments of the present invention, a navigation button can be set on the display interface of compass, when user triggers
During the navigation button, the text information of the current position of user can be shown in the region where the navigation button, for example, when with
When navigation button is triggered at family, directly displayed in navigation button:Shenzhen library --- in the good fortune of Shenzhen City, Guangdong Province Futian District all the way
No. 2001.Or the background of compass applications can also be all substituted for map interface, then when user triggers navigation button
When, at the background show map interface at compass applications interface, while it is saturating on application interface compass can be simulated to figure
Substantially show, when compass simulates figure Transparence Display, the simulation figure floats on the surface of the display interface so as to will not hinder
Keep off the display of map interface.Then by the current position display where user on map interface, such as current location can be with
With the center superposition of compass simulation figure.So as to allow user more intuitively to experience the specific orientation residing for oneself.When
So, the Weather information of current location can also be shown on application interface.
Further, Fig. 5 (a) shows the realization stream for another compass display methods that the embodiment of the present invention two provides
Cheng Suoshu user interest informations include point of interest POI (Point of Interest), and Fig. 5 (b) shows the embodiment of the present invention
In be provided with point of interest POI display interface, the POI can be the earth's surface building of current city, be, for example, that some are famous
Sight spot, such as VolksGarden, zoo etc., or public lavatory.
Orientation between the geographical position and mobile terminal current location related based on the user interest information
Relation, the corresponding orientation around the simulation figure show the user interest information, including:
Step S501, obtain the position relation between geographical position residing for the POI and the mobile terminal current location;
In embodiments of the present invention, a search area is set first, specifically, distance S is set, with the current position of user
Circular O is set to, using S as radius, a border circular areas is determined in map.The border circular areas is search area.Obtain ground
All POI on figure in search area, the distance between each POI and mobile terminal current location are calculated, according to determining for POI
N number of POI of the position with the distance between mobile terminal current location chosen distance recently, and according to POI geographical position relative to
The orientation of mobile terminal current location is positioned on compass simulation figure.Such as selection N is 2, i.e. chosen distance is nearest
Two POI shown on application interface.The present invention is on determining geographical position residing for POI and the mobile terminal current location
Between position relation can may be referred to step S4021, preset geographical position is only replaced with into POI herein.
Step S502, a viewing area is determined in the corresponding orientation around the simulation figure;
The embodiment of the present invention may be referred to step S4022, and preset geographical position only is replaced with into POI herein.
Obtain preset pattern corresponding with the type of the POI;
The preset pattern is shown in the viewing area determined.
Preset pattern can be a small icon herein, for example, representing zoo using toy icon, use closestool
Icon represents lavatory, icon is not defined herein, as long as the POI generics can be represented.If specifically, with
Want to go to current nearest sight spot tourism in family, then user triggers the POI buttons on application interface first, and system is automatically according to user
Current positional information searches POI in search area.After search terminates, it is assumed that closest sight spot VolksGarden position
In 1.5 kilometers of the direction northwest of user current location, then by the icon (such as simulation drawing of several little trees) of VolksGarden, title
The direction northwest of compass simulation figure is shown in distance;The near sight spot zoo of distance second is located at user current location
2 kilometers of east;Icon (such as a toy head portrait), title and the distance in zoo are then shown in compass simulation figure
East.Thus user can select the sight spot wanted or nearest lavatory according to compass display interface, and can root
Objective area is gone to according to the guide of compass, avoids user's sense of direction bad and goes in the wrong direction.
Further, methods described also includes the location information being stowed in collection, and by collection
The location information of collection opens electronic map, and the location information of the collection is shown in the electronic map.
In embodiments of the present invention, collection button can also be set on compass applications interface, when user needs to collect
During current location information, collection button can be triggered, so as to which the location information is stowed in collection, wherein location information
Contain the elements of a fix of positioning address and positioning address on GPS.When user needs to check the positioning address collected
When, user only needs to open collection, and clicks on the location information collected, you can shows the collection within a mapping application
Location information.So as to easily guide user to reach the positioning address of the collection.Map application in the present embodiment
Can be any third-party map application, such as Baidu map, high moral map etc. or the map of terminal built-in
Program.
The embodiment of the present invention shows the simulation figure of the compass on the compass display interface;Obtain described aobvious
Show the latitude and longitude information on interface;The latitude and longitude information is translated to the title in geographical position;By the name in the geographical position
Title is shown on the display interface, is avoided the numerical information that longitude and latitude is only shown on compass interface, is reduced user's
Thinking and understanding cost, allow user to have the place that oneself is currently located and intuitively experience.
Embodiment three
Fig. 6 (a), 6 (b) show the realization stream of the display methods at the compass applications interface that the embodiment of the present invention three provides
Journey.In the present embodiment, the geographical position limits for the administrative region of street one-level only for exemplary illustration, rather than specifically
System, wherein geographical position can also be area, county, or small towns.
Step S601, if the latitude and longitude information is searched and the nearest street in current location without corresponding street.
Step S602, latitude and longitude information translation result is referred to as in guide with the nearest street in current location name by described
Display is carried out on pin application interface.
When user is in the edge zone of mountain forest or two streets boundary, now the latitude and longitude information of active user can
The compass of competency in any one street can not be included, and when user wishes that pair warp and weft degree information is translated, compass should
With the title that will be unable to export street.When therefore, in order that the longitude and latitude residing for user does not include street class scope, guide
Pin application can also export useful information for user, here, special setting is searched and the nearest street in current location, then will
The name in the street nearest with current location is referred to as latitude and longitude information translation result and shown on compass applications interface
Show.
Further, the lookup and the nearest street in current location, are specifically included:
Step S6011, obtain the latitude and longitude information of the landmark in the neighbouring street in current location periphery.
In the present embodiment, described landmark, the commercial center in street where being, or famous scape
Point, or the administrative center in street, such as subdistrict office, or the major trunk roads in street.When user is in mountain forest or two
During the edge zone that street has a common boundary, now due to meagrely-populated, and lack perfect communal facility, user can be allowed to produce anxiety
Mood, some emergencies easily occur needs to get help.And the commercial center in street, or famous sites, administrative center
Or major trunk roads are typically in the central area in street, communal facility is complete.Therefore, by selecting the nearest street of landmark
Road is shown as longitude and latitude translation result, contributes to user above water.
Step S6012, calculated according to the latitude and longitude information of current location between above-mentioned landmark and current location
Air line distance.
In the present embodiment, existing skill is referred to calculate at the distance between 2 points according to the latitude and longitude value between 2 points
Computational methods in art, will not be described here.
Step S6013, using the street where the most short landmark of the air line distance as nearest with current location
Street.
In the present embodiment, by taking subdistrict office as an example, by all and neighbouring street in current location subdistrict office
The distance between current location is ranked up, and the street conduct where closest subdistrict office is selected from sequence
The nearest street with current location.When the longitude and latitude residing for user does not correspond to street, user touches latitude and longitude information translation
Column triggering compass applications perform latitude and longitude information translation, will be shown on now latitude and longitude information translation column nearest from current location
Subdistrict office where street title, also, the present embodiment can be combined with embodiment two, according to nearest from current location
Subdistrict office and current location between position relation, compass simulation figure around corresponding orientation shown.
So as to contribute to user to be rapidly separated predicament.
Example IV
Fig. 6 shows the composition structure for the compass display device that the embodiment of the present invention one provides, for convenience of description, only
Show the part related to the embodiment of the present invention.
In embodiments of the present invention, described device is used to realize the compass display methods described in Fig. 1 embodiments, Ke Yishi
It is built in the unit of the software unit of mobile terminal, hardware cell or software and hardware combining.The mobile terminal is provided with touch
Formula display screen, including but not limited to smart mobile phone, tablet personal computer, learning machine or intelligent vehicle-carried equipment etc..
As shown in fig. 6, described device 600 includes:
Latitude and longitude information acquiring unit 601, for obtaining the latitude and longitude information on compass applications interface;
Latitude and longitude information translates unit 602, for the latitude and longitude information to be translated to the title in geographical position;
Display unit 603, for the title in the geographical position and the simulation drawing shape of the compass to be simultaneously displayed on
On the compass applications interface.
Further, described device can also include:
City of residence acquiring unit, for obtaining the city name of user's city of residence;
Street latitude and longitude information acquiring unit, for according to the city name, obtaining the every of user's city of residence
The street name in one street and the latitude and longitude information of each street position;
Memory cell, for by the latitude and longitude information pair of the street name in each street and the street position
It should be stored in database;
The latitude and longitude information translation unit is specifically used for the latitude and longitude information on the compass applications interface by acquisition
Street name corresponding to searching in the database.
Further, the city of residence acquiring unit, is specifically used for:
The city name that user inputs is defined as to the city name of user's city of residence;Or
According to the historical navigation data of mobile terminal, the mobile terminal residence time most long city is determined, by the city
City is defined as user's city of residence, and obtains the city name in the city.
Further, the compass display device can also include:
Information of interest acquiring unit, for obtaining the user interest information related to geographical position;
Information of interest display unit, for based on the related geographical position of the user interest information and mobile terminal
Position relation between current location, the corresponding orientation around the simulation figure show the user interest information.
Further, the user interest information includes the Weather information of preset geographical position;
The information of interest display unit also includes:
Orientation obtains subelement, for obtaining the side between the preset geographical position and the mobile terminal current location
Position relation;
Viewing area determination subelement, for the sensing state based on the compass, around the simulation figure
Corresponding orientation on determine a viewing area;
Weather information shows subelement, and the Weather information is shown in the viewing area determined.
Further, the user interest information includes point of interest POI;
The information of interest display unit also includes:
POI orientation obtains subelement, for obtain geographical position residing for the POI and the mobile terminal current location it
Between position relation;
Viewing area determination subelement, for the sensing state based on the compass, around the simulation figure
Corresponding orientation on determine a viewing area;
POI preset patterns obtain subelement, for obtaining preset pattern corresponding with the type of the POI;
POI shows subelement, for showing the preset pattern in the viewing area determined.
Further, the compass display device can also include:
The geographical position is the administrative region of street one-level,
The latitude and longitude information translation unit also includes:
Subelement is searched, if for the latitude and longitude information without corresponding street, is searched nearest with current location
Street;
The display unit is used to be referred to as latitude and longitude information translation knot with the nearest street in current location name by described
Fruit is shown on compass applications interface.
Further, the lookup subelement is used for:
Obtain the latitude and longitude information of the landmark in the neighbouring street in current location periphery;
Air line distance between above-mentioned landmark and current location is calculated according to the latitude and longitude information of current location;
Using the street where the most short landmark of the air line distance as the street nearest with current location.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Embodiment five
Fig. 8 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 8, the terminal of the embodiment is set
Standby 8 include:Processor 80, memory 81 and it is stored in the meter that can be run in the memory 81 and on the processor 80
Calculation machine program 82.The processor 80 realizes above-mentioned each compass display methods embodiment when performing the computer program 82
In step, such as the step S101 to S103 shown in Fig. 1.Or the processor 80 is when performing the computer program 82
Realize the function of each module/unit in above-mentioned each device embodiment, such as the function of module 701 to 703 shown in Fig. 7.
The terminal device 8 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The terminal device may include, but be not limited only to, processor 80, memory 81.It will be understood by those skilled in the art that Fig. 8
The only example of terminal device 8, the restriction to terminal device 8 is not formed, can included than illustrating more or less portions
Part, some parts or different parts are either combined, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 80 can be CPU (Central Processing Unit, CPU), 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) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 81 can be the internal storage unit of the terminal device 8, such as the hard disk of terminal device 8 or interior
Deposit.The memory 81 can also be the External memory equipment of the terminal device 8, such as be equipped with the terminal device 8
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge
Deposit card (Flash Card) etc..Further, the memory 81 can also both include the storage inside list of the terminal device 8
Member also includes External memory equipment.The memory 81 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 81 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated 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.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with
Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example,
The division of the module or unit, only a kind of division of logic function, can there is other dividing mode, example when actually realizing
Such as multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.
Another, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, dress
Put or the INDIRECT COUPLING of unit or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (18)
- A kind of 1. display methods at compass applications interface, it is characterised in that including:Obtain the latitude and longitude information on compass applications interface;The latitude and longitude information is translated to the title in geographical position;The simulation drawing shape of the title in the geographical position and the compass is simultaneously displayed on the compass applications interface.
- 2. the display methods at compass applications interface as claimed in claim 1, it is characterised in that should in the acquisition compass Before the latitude and longitude information on interface, in addition to:Obtain the city name of user's city of residence;According to the city name, street name and each street in each street of user's city of residence are obtained The latitude and longitude information of position;It is stored in the street name in each street is corresponding with the latitude and longitude information of the street position in database;The title that the latitude and longitude information is translated to geographical position, including:Corresponding street name is searched by the latitude and longitude information on the compass applications interface of acquisition in the database.
- 3. the display methods at compass applications interface as claimed in claim 2, it is characterised in that acquisition user's inhabitation city The city name in city, including:The city name that user inputs is defined as to the city name of user's city of residence;OrAccording to the historical navigation data of mobile terminal, the mobile terminal residence time most long city is determined, the city is true It is set to user's city of residence, and obtains the city name in the city.
- 4. the display methods at compass applications interface as claimed in claim 1, it is characterised in that also include:Obtain the user interest information related to geographical position;Based on the position relation between the user interest information related geographical position and mobile terminal current location, in institute The corresponding orientation stated around simulation figure shows the user interest information.
- 5. the display methods at compass applications interface as claimed in claim 4, it is characterised in that the user interest information Weather information including preset geographical position;Position relation between the geographical position and mobile terminal current location related based on the user interest information, Corresponding orientation around the simulation figure shows the user interest information, including:Obtain the position relation between the preset geographical position and the mobile terminal current location;Sensing state based on the compass, a viewing area is determined in the corresponding orientation around the simulation figure;The Weather information is shown in the viewing area determined.
- 6. the display methods at compass applications interface as claimed in claim 4, it is characterised in that the user interest information Including point of interest POI;Position relation between the geographical position and mobile terminal current location related based on the user interest information, Corresponding orientation around the simulation figure shows the user interest information, including:Obtain the position relation between geographical position residing for the POI and the mobile terminal current location;A viewing area is determined in the corresponding orientation around the simulation figure;Obtain preset pattern corresponding with the type of the POI;The preset pattern is shown in the viewing area determined.
- 7. the display methods at compass applications interface as claimed in claim 1, it is characterised in that the geographical position is street The administrative region of one-level;The title that the latitude and longitude information is translated to geographical position specifically includes:If the latitude and longitude information is not corresponding Street, then search with the nearest street in current location;Latitude and longitude information translation result is referred to as on compass applications interface with the nearest street in current location name by described Shown.
- 8. the display methods at compass applications interface as claimed in claim 7, it is characterised in that the lookup and current location Nearest street, is specifically included:Obtain the latitude and longitude information of the landmark in the neighbouring street in current location periphery;Air line distance between the landmark in above-mentioned street and current location is calculated according to the latitude and longitude information of current location;Using the street where the most short landmark of the air line distance as the street nearest with current location.
- A kind of 9. display device at compass applications interface, it is characterised in that including:Latitude and longitude information acquiring unit, for obtaining the latitude and longitude information on compass applications interface;Latitude and longitude information translates unit, for the latitude and longitude information to be translated to the title in geographical position;Display unit, for the simulation drawing shape of the title in the geographical position and the compass to be simultaneously displayed on into the guide On pin application interface.
- 10. the display device at compass applications interface as claimed in claim 9, it is characterised in that also include:City of residence acquiring unit, for obtaining the city name of user's city of residence;Street latitude and longitude information acquiring unit, for according to the city name, obtain user's city of residence each The street name in street and the latitude and longitude information of each street position;Memory cell, for depositing the street name in each street is corresponding with the latitude and longitude information of the street position It is stored in database;The latitude and longitude information translation unit is specifically used for:Corresponding street name is searched by the latitude and longitude information on the compass applications interface of acquisition in the database.
- 11. the display device at the compass applications interface described in claim 10, it is characterised in that the city of residence obtains single Member is specifically used for:The city name that user inputs is defined as to the city name of user's city of residence;OrAccording to the historical navigation data of mobile terminal, the mobile terminal residence time most long city is determined, the city is true It is set to user's city of residence, and obtains the city name in the city.
- 12. the display device at compass applications interface as claimed in claim 9, it is characterised in that also include:Information of interest acquiring unit, for obtaining the user interest information related to geographical position;Information of interest display unit, for current based on the related geographical position of the user interest information and mobile terminal Position relation between position, the corresponding orientation around the simulation figure show the user interest information.
- 13. the display device at compass applications interface as claimed in claim 12, it is characterised in that user's letter interested Breath includes the Weather information of preset geographical position;The information of interest display unit includes:Orientation obtains subelement, is closed for obtaining the orientation between the preset geographical position and the mobile terminal current location System;Viewing area determination subelement, for the sensing state based on the compass, pair around the simulation figure Answer and a viewing area is determined in orientation;Weather information shows subelement, and the Weather information is shown in the viewing area determined.
- 14. the display device at compass applications interface as claimed in claim 12, it is characterised in that user's letter interested Breath includes point of interest POI;The information of interest display unit includes:POI orientation obtains subelement, for obtaining between geographical position residing for the POI and the mobile terminal current location Position relation;Viewing area determination subelement, a viewing area is determined in the corresponding orientation around the simulation figure;POI preset patterns obtain subelement, for obtaining preset pattern corresponding with the type of the POI;POI shows subelement, for showing the preset pattern in the viewing area determined.
- 15. the display device at compass applications interface as claimed in claim 9, it is characterised in that the geographical position is street The administrative region of road one-level, and also include:The latitude and longitude information translation unit also includes:Subelement is searched, if being searched and the nearest street in current location without corresponding street for the latitude and longitude information;The display unit exists for the described and nearest street in current location name to be referred to as into latitude and longitude information translation result Compass applications are shown on interface.
- 16. the display device at compass applications interface as claimed in claim 15, it is characterised in that the lookup subelement tool Body is used for:Obtain the latitude and longitude information of the landmark in the neighbouring street in current location periphery;Air line distance between above-mentioned landmark and current location is calculated according to the latitude and longitude information of current location;Using the street where the most short landmark of the air line distance as the street nearest with current location.
- 17. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 8 described in the computing device during computer program The step of any one methods described.
- 18. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 8 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710825954.XA CN107607097B (en) | 2017-09-14 | 2017-09-14 | Compass display method and device and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710825954.XA CN107607097B (en) | 2017-09-14 | 2017-09-14 | Compass display method and device and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107607097A true CN107607097A (en) | 2018-01-19 |
CN107607097B CN107607097B (en) | 2020-09-25 |
Family
ID=61063566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710825954.XA Active CN107607097B (en) | 2017-09-14 | 2017-09-14 | Compass display method and device and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107607097B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111882604A (en) * | 2020-06-16 | 2020-11-03 | 深圳市震有软件科技有限公司 | Method for indicating map direction, compass component vue and storage medium |
CN113255352A (en) * | 2021-05-12 | 2021-08-13 | 北京易华录信息技术股份有限公司 | Street information determination method and device and computer equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02243917A (en) * | 1988-10-29 | 1990-09-28 | British Aerospace Plc <Baf> | Compass system |
KR20050026666A (en) * | 2003-09-09 | 2005-03-15 | 엘지전자 주식회사 | Method and apparatus and structure of compass indicating mecca position for mobile phone |
CN101000372A (en) * | 2006-12-30 | 2007-07-18 | 凯立德欣技术(深圳)有限公司 | Maprecording method and equipment for tracing navigation |
CN101268334A (en) * | 2005-09-23 | 2008-09-17 | 伯斯有限公司 | Vehicle navigation system |
CN201191192Y (en) * | 2007-11-23 | 2009-02-04 | 吴玉先 | Positioning device |
CN101650193A (en) * | 2009-09-17 | 2010-02-17 | 广州风神汽车有限公司 | Navigation display interface and navigation display method |
CN101655550A (en) * | 2009-08-31 | 2010-02-24 | 深圳市喜赛科技有限公司 | System and device for tracking positioning and tracking method |
CN201601716U (en) * | 2010-01-08 | 2010-10-06 | 龙旗电子(惠州)有限公司 | Geomagnetic sensor of mobile phone |
CN101971606A (en) * | 2008-03-14 | 2011-02-09 | 索尼爱立信移动通讯有限公司 | Device, method, and system for displaying data recorded with associated position and direction information |
EP1336078B1 (en) * | 2000-11-21 | 2011-05-18 | Qualcomm Incorporated | Method and apparatus for orienting a map display in a mobile or portable device |
CN102607583A (en) * | 2012-03-16 | 2012-07-25 | 武汉畅讯网络科技有限公司 | Method for obtaining real-time weather condition in travel line |
CN102630076A (en) * | 2012-03-20 | 2012-08-08 | 广州市动景计算机科技有限公司 | Display method and system of target position direction pointing information based on electronic compass |
US20130116967A1 (en) * | 2011-11-09 | 2013-05-09 | Lonestar Inventions, L.P. | Solar timer using gps technology |
CN103592668A (en) * | 2013-08-29 | 2014-02-19 | 柳州天运寰通科技有限公司 | Wrist band type Beidou satellite positioning device |
CN105446573A (en) * | 2014-08-15 | 2016-03-30 | 小米科技有限责任公司 | Method and device for showing direction |
-
2017
- 2017-09-14 CN CN201710825954.XA patent/CN107607097B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02243917A (en) * | 1988-10-29 | 1990-09-28 | British Aerospace Plc <Baf> | Compass system |
EP1336078B1 (en) * | 2000-11-21 | 2011-05-18 | Qualcomm Incorporated | Method and apparatus for orienting a map display in a mobile or portable device |
KR20050026666A (en) * | 2003-09-09 | 2005-03-15 | 엘지전자 주식회사 | Method and apparatus and structure of compass indicating mecca position for mobile phone |
CN101268334A (en) * | 2005-09-23 | 2008-09-17 | 伯斯有限公司 | Vehicle navigation system |
CN101000372A (en) * | 2006-12-30 | 2007-07-18 | 凯立德欣技术(深圳)有限公司 | Maprecording method and equipment for tracing navigation |
CN201191192Y (en) * | 2007-11-23 | 2009-02-04 | 吴玉先 | Positioning device |
CN101971606A (en) * | 2008-03-14 | 2011-02-09 | 索尼爱立信移动通讯有限公司 | Device, method, and system for displaying data recorded with associated position and direction information |
CN101655550A (en) * | 2009-08-31 | 2010-02-24 | 深圳市喜赛科技有限公司 | System and device for tracking positioning and tracking method |
CN101650193A (en) * | 2009-09-17 | 2010-02-17 | 广州风神汽车有限公司 | Navigation display interface and navigation display method |
CN201601716U (en) * | 2010-01-08 | 2010-10-06 | 龙旗电子(惠州)有限公司 | Geomagnetic sensor of mobile phone |
US20130116967A1 (en) * | 2011-11-09 | 2013-05-09 | Lonestar Inventions, L.P. | Solar timer using gps technology |
CN102607583A (en) * | 2012-03-16 | 2012-07-25 | 武汉畅讯网络科技有限公司 | Method for obtaining real-time weather condition in travel line |
CN102630076A (en) * | 2012-03-20 | 2012-08-08 | 广州市动景计算机科技有限公司 | Display method and system of target position direction pointing information based on electronic compass |
CN103592668A (en) * | 2013-08-29 | 2014-02-19 | 柳州天运寰通科技有限公司 | Wrist band type Beidou satellite positioning device |
CN105446573A (en) * | 2014-08-15 | 2016-03-30 | 小米科技有限责任公司 | Method and device for showing direction |
Non-Patent Citations (2)
Title |
---|
MICK SYMONS: "how to use the compass on iphone", 《IMORE.COM/COMPASS-APP》 * |
赵振峰: "基于安卓的手机校园导航应用系统", 《电脑知识与技术》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111882604A (en) * | 2020-06-16 | 2020-11-03 | 深圳市震有软件科技有限公司 | Method for indicating map direction, compass component vue and storage medium |
CN113255352A (en) * | 2021-05-12 | 2021-08-13 | 北京易华录信息技术股份有限公司 | Street information determination method and device and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107607097B (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10309797B2 (en) | User interface for displaying navigation information in a small display | |
US20180299287A1 (en) | Mobile search based on predicted location | |
CN104737160B (en) | Picture from sketch | |
US20140222335A1 (en) | Concurrent Multi-Point Contact Gesture Detection and Response | |
US8014943B2 (en) | Method and system for displaying social networking navigation information | |
KR20170030379A (en) | Method and system for personalized travel curation service | |
CN109376761A (en) | The method for digging and device of a kind of address mark and its longitude and latitude | |
CN111881377B (en) | Method and device for processing position interest points | |
US20140141812A1 (en) | Map service method and system of providing target contents based on location | |
WO2014004529A1 (en) | Adaptive clustering of locations | |
CN110068352A (en) | Method and apparatus for the mapping application with steering navigation mode | |
CN109409612A (en) | A kind of paths planning method, server and computer storage medium | |
WO2013181628A2 (en) | Apparatus, system and method for generating and converting sales opportunities | |
US20160062617A1 (en) | Map Zooming Based on Semantic Meaning | |
US20170091901A1 (en) | Method and system for recognizing poi outside map screen | |
CN111597279A (en) | Information prediction method based on deep learning and related equipment | |
CN107607097A (en) | A kind of compass display methods, device and computer-readable medium | |
Jailani et al. | Usability guidelines for developing mobile application in the construction industry | |
CN112236764A (en) | Outside-view position indication for digital cartography | |
Sakib | Preference Oriented Mining Techniques for Location based Point Search | |
Lautenschläger | Design and implementation of a campus navigation application with augmented reality for smartphones | |
Vodeb et al. | Spatial analysis of the public library network in Slovenia | |
Berjawi et al. | Uncertainty visualization of multi-providers cartographic integration | |
CN107560633B (en) | Path planning method and electronic equipment | |
CN110376625A (en) | For warehousing system method for rapidly positioning |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |