CN109634497A - Position of appearing method of adjustment, device, equipment and the storage medium of map label point - Google Patents
Position of appearing method of adjustment, device, equipment and the storage medium of map label point Download PDFInfo
- Publication number
- CN109634497A CN109634497A CN201811527055.2A CN201811527055A CN109634497A CN 109634497 A CN109634497 A CN 109634497A CN 201811527055 A CN201811527055 A CN 201811527055A CN 109634497 A CN109634497 A CN 109634497A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- map label
- label point
- displacement
- appearing
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
Abstract
The embodiment of the invention discloses position of appearing method of adjustment, device, equipment and the storage mediums of a kind of map label point.This method comprises: at least one map label point is presented on the display of mobile terminal;The motion state of mobile terminal described in real-time detection, and when determining that the mobile terminal moves, the mobile terminal is obtained along z-axis rotational angle;According to the mobile terminal along z-axis rotational angle, actual displacement of the map label point relative to the mobile terminal is determined;According to the actual displacement, at least one the described position of appearing of map label point over the display is adjusted.The technical solution of the embodiment of the present invention realizes the servo-actuated of map label point position of appearing, the deviation of location point, improves the accuracy of digital map navigation in the position of appearing and true environment when avoiding rotation of mobile terminal on display in rotation of mobile terminal.
Description
Technical field
The present embodiments relate to electronic map field more particularly to a kind of position of appearing adjustment sides of map label point
Method, device, equipment and storage medium.
Background technique
With the continuous development of science and technology, electronic map has become the essential trip tool of people, and bubble
Icon note service is just being used by more and more people as a kind of notation methods being popular in electronic map.
Existing bubble map label product, shows the same of ambient enviroment image in the screen of the handheld terminal of user
When, the purpose point of interest of the point of interest of surrounding or user can also be shown in screen in the form of AR bubble.When
When user is in the horizontal direction or vertical direction moves the handheld terminal, the display point of interest in screen also can be with the water of user
Flat or vertical shift distance carries out the movement of respective distance, so that the position in the point of interest and actual environment that show in screen
It sets and is a little bonded, enrich the interest that user uses map.
However, in the prior art if when the handheld terminal of user rotates, such as: transverse screen is turned to from vertical screen state
State, existing the said goods cannot achieve the servo-actuated of point of interest, so that the point of interest and true environment that show in screen
In location point generate deviation, the accuracy of digital map navigation is influenced, so that user experience is poor.
Summary of the invention
The embodiment of the invention provides a kind of position of appearing method of adjustment of map label point, device, computer equipment and
Storage medium.Map label point is servo-actuated when realizing rotation of mobile terminal, improves the accuracy of digital map navigation, improves use
Family experience sense.
In a first aspect, the embodiment of the invention provides a kind of position of appearing methods of adjustment of map label point, comprising:
At least one map label point is presented on the display of mobile terminal;
The motion state of mobile terminal described in real-time detection, and when determining that the mobile terminal moves, obtain institute
Mobile terminal is stated along z-axis rotational angle;
According to the mobile terminal along z-axis rotational angle, determine the map label point relative to the mobile terminal
Actual displacement;
According to the actual displacement, at least one the described position of appearing of map label point over the display is adjusted
It is whole.
Second aspect, the embodiment of the invention provides a kind of position of appearing of map label point to adjust device, comprising:
Display module, at least one map label point to be presented on the display of mobile terminal;
Detection module for the motion state of mobile terminal described in real-time detection, and is determining the mobile terminal generation
When movement, the mobile terminal is obtained along z-axis rotational angle;
It is displaced determining module, for, along z-axis rotational angle, determining that the map label point is opposite according to the mobile terminal
In the actual displacement of the mobile terminal;
Position adjusting type modules are used for according to the actual displacement, over the display at least one described map label point
Position of appearing be adjusted.
The third aspect, the embodiment of the invention provides a kind of computer equipment, the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the position of appearing method of adjustment of map label point described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer program,
The position of appearing method of adjustment of the map label point as described in any embodiment of that present invention is realized when the program is executed by processor.
The technical solution of the embodiment of the present invention is determined corresponding with map label point by detecting along z-axis rotational angle
Actual displacement, and then according to actual displacement, the screen position of appearing of at least one map label point is adjusted, shifting is realized
Map label point position of appearing is servo-actuated when dynamic terminal rotating, position of appearing when avoiding rotation of mobile terminal on display with
The deviation of location point in true environment, improves the accuracy of digital map navigation, sense that the user experience is improved.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart of the position of appearing method of adjustment of one of the embodiment of the present invention one map label point;
Fig. 2 is the relational graph of horizontal displacement and the real standard displacement of the mobile terminal in the embodiment of the present invention one;
Fig. 3 is the vertical displacement of the mobile terminal in the embodiment of the present invention one and the relational graph of practical vertical displacement;
Fig. 4 is the flow chart of the position of appearing method of adjustment of one of the embodiment of the present invention two map label point;
Fig. 5 is the flow chart of the position of appearing method of adjustment of one of the embodiment of the present invention three map label point;
Fig. 6 is the structure chart of the position of appearing adjustment device of one of the embodiment of the present invention four map label point;
Fig. 7 is the structure chart of the position of appearing adjustment equipment of one of the embodiment of the present invention five map label point.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the position of appearing method of adjustment for map label point that the embodiment of the present invention one provides, this
Embodiment be applicable to user by map class application program consult a map mark point the case where, this method can be by of the invention real
The position of appearing adjustment device of the map label point in example is applied to execute, the mode which can be used software and/or hardware is real
It is existing, and (for example, mobile phone or tablet computer etc.) is generally can integrate in various terminal equipment, make with map server cooperation
With.As shown in Figure 1, this method specifically includes following operation:
S110, at least one map label point is presented on the display of mobile terminal.
Electronic map is to store in a digital manner using computer technology and consult information, based on the digital graphics
Screen map is visually to scheme on the spot, can use GIS-Geographic Information System or other information system to store and transmit map
Data.Electronic map reflects a large amount of Fundamental Geographic Information System such as economy, traffic, tourism, communal facility, is indicating geography information
It is that any traditional media institute is irreplaceable in spatial distribution.
Map label is that address information mark is into electronic map under the line by target position, and user is on the electronic map
It can see corresponding location point information, when the location point information is fallen in electronic map, this location point can be with electronics
All information in map contact.Such as: it is connected with road equipment, available refined orientation;With traffic information
It connects, available traffic conditions, such as: Walking Route, riding route and road conditions information;Join with urban information
System gets up, available surrounding enviroment, such as: hospital, school, recreational facilities information.
Optionally, in the present embodiment, map label point is the bubble mark point based on AR technology, to mark in map
The interested position of user or point of interest out.
The motion state of mobile terminal described in S120, real-time detection, and when determining that the mobile terminal moves, it obtains
Take the mobile terminal along z-axis rotational angle.
The plane that z-axis is formed perpendicular to x-axis and y-axis, and straight up.Mobile terminal is rotated around z-axis, for example, mobile whole
End turns to transverse screen state from vertical screen state, i.e., has rotated 90 degree along the z-axis direction.
S130, according to the mobile terminal along z-axis rotational angle, determine the map label point relative to it is described it is mobile eventually
The actual displacement at end.
Specifically, according to the mobile terminal along the horizontal displacement and the shifting of z-axis rotational angle, the mobile terminal
The vertical displacement of dynamic terminal determines that real standard displacement and reality of the map label point relative to the mobile terminal are perpendicular
Actual displacement of the straight displacement as the mobile terminal.When mobile terminal does not rotate around z-axis direction, for example, mobile whole
After holding mobile a distance, along moving 3 meters around x-axis, 4 meters are moved along the y-axis direction, then it is determined that with map label point pair
The real standard displacement answered is 3 meters, and practical vertical displacement corresponding with map label point is 4 meters.
But when mobile terminal inclination, for example, mobile terminal is around z during switching to transverse screen state by vertical screen state
Axis direction is rotated, at this point, after the mobile a distance of mobile terminal, real standard corresponding with the map label point
Displacement and practical vertical displacement are changed.
As shown in Figure 2, solid line coordinate system x1y1It is world coordinate system, dotted line coordinate system x2y2It is mobile terminal coordinate system, when
Mobile terminal is rotated along the z-axis direction, and simultaneously to actual displacement when horizontal direction movement, in world coordinate system
Should be the distance between cd (namely: ce+ed), but mobile terminal is with the detection movement of the coordinate system of mobile terminal itself at this time
Distance, the horizontal displacement detected are the distance between fd, and the vertical displacement detected is the distance between cf, wherein are moved
Dynamic terminal is ∠ edf along the rotation angle of z-axis.
As shown in Figure 3, solid line coordinate system x1y1It is world coordinate system, dotted line coordinate system x2y2It is mobile terminal coordinate system, when
Mobile terminal is rotated along the z-axis direction, and simultaneously to actual displacement when vertical direction movement, in world coordinate system
It should be the distance between mn (namely mf+fn), but mobile terminal is the coordinate system detection movement with mobile terminal itself at this time
Distance, the horizontal displacement detected are the distance between me, and the vertical displacement detected is the distance between ne, wherein are moved
Dynamic terminal is ∠ mne along the rotation angle of z-axis.
It optionally, can be by formula A=Y*sinZ+X*cosZ, B=X* according to the kinematic parameter and triangle formula
SinZ+Y*cosZ determines real standard displacement and practical vertical position of the map label point relative to the mobile terminal
It moves;
Wherein, A is real standard displacement, and B is the practical vertical displacement, and X is the level that mobile terminal detects
Displacement, Y are the vertical displacement that mobile terminal detects, Z is described along z-axis rotational angle.
In example as described in Figure 2, due to ∠ edf=∠ cfe, and cf is the vertical displacement that mobile terminal detects, fd
The horizontal displacement detected for mobile terminal.
Therefore, real standard is displaced cd=ce+ed=cf*sin ∠ cfe+fd*cos ∠ edf, that is, meeting formula A=
Y*sinZ+X*cosZ。
S140, according to the actual displacement, at least one the described position of appearing of map label point over the display into
Row adjustment.
Optionally, the matched projection MVP matrix of the map label point for obtaining and currently being presented on display.
Specifically, projection MVP matrix includes model (Model) matrix, view (View) matrix and projection
(Projection) matrix.Three-dimension object can be presented on only two-dimentional by mobile terminal by projection MVP matrix by transformation
Mobile terminal display on, by carrying out rotation adjustment to Metzler matrix (namely: model matrix), thus it is possible to vary three-dimension object
Two-dimensional projection level and vertical shift distance.Specifically, rotating first angle along X-axis by control Metzler matrix, can make
It obtains a two-dimensional projection and moves along the x-axis distance value corresponding with the first angle on the display of mobile terminal, pass through and control M
Matrix rotates second angle along Y-axis, can make a two-dimensional projection on the display of mobile terminal along Y-axis move with this
The corresponding distance value of two angles.
Correspondingly, according to the actual displacement, at least one the described position of appearing of map label point over the display
It is adjusted and may include:
Metzler matrix in the projection MVP matrix is rotated into real standard displacement along x-axis, and by the projection MVP square
Metzler matrix in battle array rotates the practical vertical displacement along y-axis, obtains new projection MVP matrix;According to the new projection MVP
Matrix is adjusted at least one the described position of appearing of map label point over the display.
The technical solution of the embodiment of the present invention is determined corresponding with map label point by detecting along z-axis rotational angle
Actual displacement, so according to actual displacement, at least one position of appearing of map label point over the display is adjusted, it is real
Map label point position of appearing is servo-actuated when having showed rotation of mobile terminal, avoids the position of appearing and true environment on display
The deviation of middle location point improves the accuracy of digital map navigation, sense that the user experience is improved.
Embodiment two
Fig. 4 is the flow chart of one of the embodiment of the present invention two position of appearing method of adjustment of map label point, this reality
Example is applied to be embodied based on above-described embodiment, in the present embodiment, when determining that point of interest mark service is turned on,
At least one map label point is presented on the display of mobile terminal.Correspondingly, the method for the present embodiment specifically includes following behaviour
Make:
S210, determine point of interest mark service be turned on when, presented on the display of mobile terminal at least one
Icon infuses point.
Point of interest is one of basic technology of location information service, and point of interest is the personalized service demand along with user
Occur, i.e., select corresponding classification according to the interest of user, point of interest be mainly used for the address of things or event into
Row description, can largely enhance descriptive power and the query capability to things or event location, and can be all can be with
It is abstracted as geographic object a little, closely related geographical entity of more especially living with people, such as: school, bank, meal
Shop, gas station, hospital, supermarket etc. improve the accuracy and speed of geo-location, strengthen the service experience of user.
The motion state of mobile terminal described in S220, real-time detection, and when determining that the mobile terminal moves, it obtains
Take the mobile terminal along z-axis rotational angle.
S230, according to the mobile terminal along z-axis rotational angle, determine the map label point relative to it is described it is mobile eventually
The actual displacement at end.
S240, according to the actual displacement, at least one the described position of appearing of map label point over the display into
Row adjustment.
The technical solution of the embodiment of the present invention, when determining that point of interest mark service is turned on, in the display of mobile terminal
Map label point can be showed on device, intuitively to show the point of interest of user, and then again by detecting along z-axis rotational angle,
Determine actual displacement corresponding with map label point, and position of appearing carries out over the display to the map label point showed
Adjustment, realizes mark of the point of interest in map, and move with the rotation of mobile terminal, avoids interest on display
The deviation of location point, improves the accuracy of digital map navigation in point and true environment, sense that the user experience is improved.
Embodiment three
Fig. 5 is the flow chart of one of the embodiment of the present invention three position of appearing method of adjustment of map label point, this reality
It applies example to be embodied based on above-described embodiment, in the present embodiment, be examined using at least one motion detection sensor
The motion state of mobile terminal is surveyed, and mobile terminal is obtained according to the numerical value change in motion detection sensor and is rotated along z-axis
Angle.Correspondingly, the method for the present embodiment specifically includes following operation:
S310, at least one map label point is presented on the display of mobile terminal.
S320, at least one motion detection sensor by configuring in the mobile terminal are moved described in real-time detection
The motion state of terminal, and when determining that the mobile terminal moves, the mobile terminal is obtained along z-axis rotational angle.
Sensor is a kind of detection device, can experience measured information, and the information that can will be experienced, by a set pattern
Rule is for conversion into electric signal or the information output of other required forms, to meet transmission, processing, storage, the display, record of information
With control etc. require.
Motion detection sensor (for example, acceleration transducer and gyroscope etc.), for detect mobile terminal displacement,
The data such as speed and acceleration.
Optionally, the acceleration transducer measurement horizontal direction built in mobile terminal, vertical side are utilized in the present embodiment
To acceleration value, and then obtain horizontal displacement and vertical displacement, utilize the angular acceleration in gyro sensor detection z-axis direction
Data, and then obtain the rotational angle in z-axis direction.
In the present embodiment, it when determining that the numerical value in the motion detection sensor changes, is examined according to the movement
The numerical value change value in sensor is surveyed, the kinematic parameter of the mobile terminal is obtained.
S330, according to the mobile terminal along z-axis rotational angle, determine the map label point relative to it is described it is mobile eventually
The actual displacement at end.
S340, according to the actual displacement, at least one the described position of appearing of map label point over the display into
Row adjustment.
The technical solution of the embodiment of the present invention, using the motion state of motion detection sensor real-time detection mobile terminal,
It obtains along z-axis rotational angle, determines actual displacement corresponding with map label point, and to the map label point showed aobvious
Show that the position of appearing on device is adjusted, the acquisition for realizing motion of mobile terminals parameter and map label point are according to movement
Parameter display position over the display it is servo-actuated, improve the accuracy of digital map navigation, sense that the user experience is improved.
Example IV
Fig. 6 is that a kind of position of appearing for map label point that the embodiment of the present invention four provides adjusts the structural representation of device
Figure.The position of appearing of the applicable processing map label point of the present embodiment, the mode which can be used software and/or hardware are real
Existing, which can be integrated in the equipment of any position of appearing adjustment function of providing map label point, as shown in fig. 6, map
The position of appearing adjustment device of mark point specifically includes: display module 410, detection module 420, displacement determining module 430 and position
Set adjustment module 440.
Display module 410, at least one map to be presented on the display of mobile terminal
Mark point;
Detection module 420 for the motion state of mobile terminal described in real-time detection, and is determining the mobile terminal hair
When raw movement, the mobile terminal is obtained along z-axis rotational angle;
It is displaced determining module 430, for, along z-axis rotational angle, determining the map label point according to the mobile terminal
Actual displacement relative to the mobile terminal;
Position adjusting type modules 440 are used for according to the actual displacement, at least one described map label point in display
On position of appearing be adjusted.
The technical solution of the embodiment of the present invention is determined corresponding with map label point by detecting along z-axis rotational angle
Actual displacement, so according to actual displacement, at least one position of appearing of map label point over the display is adjusted, it is real
Map label point position of appearing is servo-actuated when having showed rotation of mobile terminal, avoids the position of appearing and true environment on display
The deviation of middle location point improves the accuracy of digital map navigation, sense that the user experience is improved.
On the basis of the various embodiments described above, the position of appearing of map label point adjusts device, can also include:
Point of interest marks service module, for opening point of interest mark service.
On the basis of the various embodiments described above, display module 410 specifically can be used for:
When determining that point of interest mark service is turned on, at least one map label is presented on the display of mobile terminal
Point.
On the basis of the various embodiments described above, detection module 420 be can specifically include:
At least one motion detection sensor obtains mobile whole for the motion state of mobile terminal described in real-time detection
The kinematic parameter at end.
On the basis of the various embodiments described above, it is displaced determining module 430, specifically can be used for:
According to the mobile terminal along z-axis rotational angle, the horizontal displacement of the mobile terminal and the mobile terminal
Vertical displacement, determine the map label point relative to the mobile terminal real standard displacement and practical vertical displacement
Actual displacement as the mobile terminal.
On the basis of the various embodiments described above, it is displaced determining module 430, can be also used for: according to motion detection sensor
The kinematic parameter of the mobile terminal of acquisition is determined and ground icon by formula A=Y*sinZ+X*cosZ, B=X*sinZ+Y*cosZ
Real standard displacement and practical vertical displacement of the note point relative to the mobile terminal;
Wherein, A is real standard displacement, and B is the practical vertical displacement, and X is the horizontal displacement, and Y is described
Vertical displacement, Z are described along z-axis rotational angle.
On the basis of the various embodiments described above, position adjusting type modules 440 be can specifically include:
MVP matrix acquiring unit, the matched projection of the map label point for obtaining with currently being presented on display
MVP matrix;
MVP matrix operation unit, for the Metzler matrix in the projection MVP matrix to be displaced along x-axis rotation real standard,
And the Metzler matrix in the projection MVP matrix is rotated into practical vertical displacement along y-axis, obtain new projection MVP matrix;
Position adjustment unit, for according to new projection MVP matrix at least one map label point over the display
Position of appearing is adjusted.
Method provided by any embodiment of the invention can be performed in above-mentioned apparatus, has the corresponding functional module of execution method
And beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the method that any embodiment of that present invention provides.
Embodiment five
Fig. 7 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention five provides.Fig. 7, which is shown, to be suitable for being used to
Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 7 is shown is only one
Example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 7, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").It, can be with although being not shown in Fig. 7
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould
Block 42 usually executes function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown, network adapter 20 is logical by other modules of bus 18 and computer equipment 12
Letter.It should be understood that although not shown in the drawings, can in conjunction with computer equipment 12 use other hardware and/or software module, including
But it is not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive
And data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize the position of appearing method of adjustment of map label point provided by the embodiment of the present invention: in mobile terminal
Display at least one map label point is presented;The motion state of mobile terminal described in real-time detection, and described in the determination
When mobile terminal moves, the mobile terminal is obtained along z-axis rotational angle;According to the mobile terminal along z-axis angle of rotation
Degree, determines actual displacement of the map label point relative to the mobile terminal;According to the actual displacement, to it is described at least
The position of appearing of one map label point over the display is adjusted.
Embodiment six
The embodiment of the present invention six provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The position of appearing method of adjustment of the map label point provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
At least one map label point is presented on the display of mobile terminal;
The motion state of mobile terminal described in real-time detection, and when determining that the mobile terminal moves, obtain institute
Mobile terminal is stated along z-axis rotational angle;
According to the mobile terminal along z-axis rotational angle, determine the map label point relative to the mobile terminal
Actual displacement;
According to the actual displacement, at least one the described position of appearing of map label point over the display is adjusted
It is whole.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating
Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, just
Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of position of appearing method of adjustment of map label point characterized by comprising
At least one map label point is presented on the display of mobile terminal;
The motion state of mobile terminal described in real-time detection, and when determining that the mobile terminal moves, obtain the shifting
Terminal is moved along z-axis rotational angle;
According to the mobile terminal along z-axis rotational angle, reality of the map label point relative to the mobile terminal is determined
Displacement;
According to the actual displacement, at least one the described position of appearing of map label point over the display is adjusted.
2. the method according to claim 1, wherein at least one map is presented on the display of mobile terminal
Mark point, comprising:
When determining that point of interest mark service is turned on, at least one map label point is presented on the display of mobile terminal.
3. the method according to claim 1, wherein the motion state of mobile terminal described in real-time detection, comprising:
By at least one motion detection sensor configured in the mobile terminal, the movement of mobile terminal described in real-time detection
State.
4. according to the method described in claim 3, it is characterized in that, when determining that the mobile terminal moves, described in acquisition
Mobile terminal is along z-axis rotational angle, comprising:
When determining that the numerical value in the motion detection sensor changes, become according to the numerical value in the motion detection sensor
Change value obtains the mobile terminal along z-axis rotational angle.
5. the method according to claim 1, wherein determining institute along z-axis rotational angle according to the mobile terminal
State actual displacement of the map label point relative to the mobile terminal, comprising:
According to the mobile terminal along the perpendicular of z-axis rotational angle, the horizontal displacement of the mobile terminal and the mobile terminal
Straight displacement determines real standard displacement and practical vertical displacement conduct of the map label point relative to the mobile terminal
The actual displacement of the mobile terminal.
6. according to the method described in claim 5, it is characterized in that, according to the mobile terminal along z-axis rotational angle, the shifting
The horizontal displacement of dynamic terminal and the vertical displacement of the mobile terminal determine the map label point relative to described mobile whole
The actual displacement of the real standard displacement at end and practical vertical displacement as the mobile terminal, comprising:
According to formula A=Y*sinZ+X*cosZ, B=X*sinZ+Y*cosZ, determine the map label point relative to the shifting
The real standard displacement of dynamic terminal and practical vertical displacement;
Wherein, A is real standard displacement, and B is the practical vertical displacement, and X is the horizontal displacement, and Y is described vertical
Displacement, Z are described along z-axis rotational angle.
7. according to the method described in claim 5, it is characterized in that, according to the actual displacement, at least one described map
The position of appearing of mark point over the display is adjusted, comprising:
The matched projection MVP matrix of the map label point for obtaining and currently being presented on display;
Metzler matrix in the projection MVP matrix is rotated into the real standard displacement along x-axis, and will be in the projection MVP matrix
Metzler matrix rotate the practical vertical displacement along y-axis, obtain new projection MVP matrix;
At least one the described position of appearing of map label point over the display is adjusted according to the new projection MVP matrix
It is whole.
8. a kind of position of appearing of map label point adjusts device characterized by comprising
Display module, at least one map label point to be presented on the display of mobile terminal;
Detection module for the motion state of mobile terminal described in real-time detection, and is determining that the mobile terminal moves
When, the mobile terminal is obtained along z-axis rotational angle;
It is displaced determining module, for, along z-axis rotational angle, determining the map label point relative to institute according to the mobile terminal
State the actual displacement of mobile terminal;
Position adjusting type modules, for according to the actual displacement, at least one described map label point over the display be in
Existing position is adjusted.
9. a kind of computer equipment, which is characterized in that the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now as described in any in claim 1-7 map label point position of appearing method of adjustment.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor
The position of appearing method of adjustment of Shi Shixian map label point as described in any in claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811527055.2A CN109634497A (en) | 2018-12-13 | 2018-12-13 | Position of appearing method of adjustment, device, equipment and the storage medium of map label point |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811527055.2A CN109634497A (en) | 2018-12-13 | 2018-12-13 | Position of appearing method of adjustment, device, equipment and the storage medium of map label point |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109634497A true CN109634497A (en) | 2019-04-16 |
Family
ID=66073676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811527055.2A Pending CN109634497A (en) | 2018-12-13 | 2018-12-13 | Position of appearing method of adjustment, device, equipment and the storage medium of map label point |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634497A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114327208A (en) * | 2021-11-26 | 2022-04-12 | 北京掌行通信息技术有限公司 | Legend display method, device, storage medium and terminal |
-
2018
- 2018-12-13 CN CN201811527055.2A patent/CN109634497A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114327208A (en) * | 2021-11-26 | 2022-04-12 | 北京掌行通信息技术有限公司 | Legend display method, device, storage medium and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9223408B2 (en) | System and method for transitioning between interface modes in virtual and augmented reality applications | |
WO2021128777A1 (en) | Method, apparatus, device, and storage medium for detecting travelable region | |
CN109297510A (en) | Relative pose scaling method, device, equipment and medium | |
US8718922B2 (en) | Variable density depthmap | |
US9423268B2 (en) | Graphical representation generation for multiple points of interest | |
CN104331423B (en) | A kind of localization method and device based on electronic map | |
TWI525303B (en) | A method and apparatus for self-adaptively visualizing location based digital information | |
CN104330081B (en) | A kind of generation method and device of descriptive position indicating information | |
CN104121910A (en) | Navigation method, device, terminal, server and system | |
CN104598504A (en) | Information display control method and device for electronic map | |
TWI694298B (en) | Information display method, device and terminal | |
CN109974733A (en) | POI display methods, device, terminal and medium for AR navigation | |
CN102419680B (en) | Electronic equipment and display method thereof | |
CN103578141A (en) | Method and device for achieving augmented reality based on three-dimensional map system | |
CN104375713A (en) | Data processing method and mobile device | |
US20180357779A1 (en) | Systems and methods for dynamically providing scale information on a digital map | |
CN109489654A (en) | Rendering method, device, equipment and the storage medium of navigation routine | |
CN109634497A (en) | Position of appearing method of adjustment, device, equipment and the storage medium of map label point | |
US9612121B2 (en) | Locating position within enclosure | |
Burkard et al. | Mobile location-based augmented reality framework | |
JP2013117770A (en) | Image display device and navigation device | |
CN104995584A (en) | Computing a magnetic heading | |
CN114323017B (en) | AR navigation content generation method and system | |
JP2002311817A (en) | Navigation device for mobile object | |
Olesk et al. | Geometric and error analysis for 3D map-matching |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |