CN108762658A - A kind of localization method and device, terminal device and readable storage medium storing program for executing - Google Patents
A kind of localization method and device, terminal device and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN108762658A CN108762658A CN201810496942.1A CN201810496942A CN108762658A CN 108762658 A CN108762658 A CN 108762658A CN 201810496942 A CN201810496942 A CN 201810496942A CN 108762658 A CN108762658 A CN 108762658A
- Authority
- CN
- China
- Prior art keywords
- keyword
- map application
- format
- preset
- address information
- 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
- 230000004807 localization Effects 0.000 title claims abstract description 18
- 230000000875 corresponding Effects 0.000 claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 abstract description 29
- 238000005516 engineering process Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000006011 modification reaction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000001808 coupling Effects 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- 241000023320 Luma <angiosperm> Species 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000003287 optical Effects 0.000 description 1
- BQCADISMDOOEFD-UHFFFAOYSA-N silver Chemical compound data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0naXNvLTg4NTktMSc/Pgo8c3ZnIHZlcnNpb249JzEuMScgYmFzZVByb2ZpbGU9J2Z1bGwnCiAgICAgICAgICAgICAgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJwogICAgICAgICAgICAgICAgICAgICAgeG1sbnM6cmRraXQ9J2h0dHA6Ly93d3cucmRraXQub3JnL3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mi4wIEwgNjUuMCw0Mi4wIEwgNjUuMCw0Mi4xIEwgNjUuMCw0Mi4yIEwgNjUuMCw0Mi4zIEwgNjUuMCw0Mi40IEwgNjUuMSw0Mi41IEwgNjUuMSw0Mi42IEwgNjUuMiw0Mi43IEwgNjUuMyw0Mi44IEwgNjUuMyw0Mi44IEwgNjUuNCw0Mi45IEwgNjUuNSw0My4wIEwgNjUuNiw0My4wIEwgNjUuNyw0My4xIEwgNjUuNyw0My4xIEwgNjUuOCw0My4xIEwgNjUuOSw0My4xIEwgNjYuMCw0My4yIEwgNjYuMSw0My4yIEwgNjYuMiw0My4yIEwgNjYuMyw0My4xIEwgNjYuNCw0My4xIEwgNjYuNSw0My4xIEwgNjYuNiw0My4wIEwgNjYuNyw0My4wIEwgNjYuOCw0Mi45IEwgNjYuOSw0Mi45IEwgNjYuOSw0Mi44IEwgNjcuMCw0Mi43IEwgNjcuMSw0Mi43IEwgNjcuMSw0Mi42IEwgNjcuMiw0Mi41IEwgNjcuMiw0Mi40IEwgNjcuMiw0Mi4zIEwgNjcuMyw0Mi4yIEwgNjcuMyw0Mi4xIEwgNjcuMyw0Mi4wIEwgNjYuMSw0Mi4wIFonIHN0eWxlPSdmaWxsOiMwMDAwMDA7ZmlsbC1ydWxlOmV2ZW5vZGQ7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjAuMHB4O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1vcGFjaXR5OjE7JyAvPgo8L3N2Zz4K [Ag] BQCADISMDOOEFD-UHFFFAOYSA-N 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 200000000019 wound Diseases 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; 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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; 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/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Abstract
The invention discloses a kind of localization method and device, terminal device and readable storage medium storing program for executing, wherein the method includes:Text message is identified, determines at least one keyword for characterizing address information;At least one keyword is shown with preset format;If receiving the preset touch operation for the first keyword at least one keyword, the first map application in preset at least one map application is run, corresponding first address information of first keyword is positioned by first map application.It is relatively complicated to solve existing position fixing process, the low technical problem of location efficiency.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of localization method and device, terminal device and readable storage
Medium.
Background technology
Development with electronic technology and people's living standards continue to improve, intelligentized terminal device become people
An essential part in daily life.
In the prior art, user is seeing e-book by terminal device, is browsing webpage, sees information (short message, wechat
Information), mail etc. whens, when encountering the place name for needing to position or position, it is necessary to first write down the place to be positioned.Then, it exits
Map application is opened in current application, then inputs the place for needing to position.Then, it is positioned after clicking search.Pass through this
Kind method progress position fixing process is relatively complicated, and user first has to write down the place for needing to position, then exits current application, opens
The place or position that positioning is also inputted after map application, into carrying out relevant positioning work in map application again.
As it can be seen that existing position fixing process is relatively complicated, location efficiency is low.
Invention content
A kind of localization method and device of offer of the embodiment of the present invention, terminal device and readable storage medium storing program for executing, it is existing for solving
Have that position fixing process is relatively complicated, the low technical problem of location efficiency.
In a first aspect, an embodiment of the present invention provides a kind of localization methods, including:
Text message is identified, determines at least one keyword for characterizing address information;
At least one keyword is shown with preset format;
If receiving the preset touch operation for the first keyword at least one keyword, operation is preset
At least one map application in the first map application, first keyword is corresponded to by first map application
The first address information positioned.
In embodiments of the present invention, since equipment will characterize at least one keyword of address information according to preset format
It has been shown that, for example, being highlighted, user can be directed at least one keyword quickly without expending the more time
In the first keyword carry out preset touch operation, answered to run the first map in preset at least one map application
With quick positioning of the realization to corresponding first address information of first keyword.To solve existing position fixing process compared with
To be cumbersome, the low technical problem of location efficiency simplifies position fixing process, improves location efficiency.
It is described to preset lattice if at least one keyword includes the second keyword in addition to first keyword
Formula shows that at least one keyword, the method further include:
First keyword is shown in the first format, and to show institute different from the second format of first format
The second keyword, first format and second format are stated for distinguishing first keyword and second pass
Key word.
In embodiments of the present invention, due at least one keyword be it is multiple when, be by different formats come
It shows different keywords, consequently facilitating user relatively accurately distinguishes different keywords, effectively prevents user
For the maloperation of keyword, location efficiency is further increased.
Optionally, after receiving for the preset touch operation of the first keyword at least one keyword,
The method further includes:
If detecting, GPS positioning function is not opened, opens the GPS positioning function;
Then corresponding first address information of first keyword is carried out positioning it by first map application
Afterwards, further include:
It is generated and is shown by first map application and first address is navigated to by the current address of terminal device
The navigation information of information.
In embodiments of the present invention, if due to detecting that GPS positioning function is not opened, the GPS positioning is just automatically turned on
Function, compared to the prior art in need for the manually opened GPS positioning function of user, simplify operating procedure, positioning is more
Fast.
Optionally, if preset at least one map application has multiple, at least one key is directed to receiving
In word after the preset touch operation of the first keyword, the method further includes:
Show the corresponding at least one application icon of preset at least one map application;
After receiving for the selection operation of the first map application icon of at least one application icon, fortune
Corresponding first map application of row the first map application icon.
Optionally, the text message includes one kind in short message, e-mail messages, instant messages, webpage information.
Second aspect, the embodiment of the present invention additionally provide a kind of positioning device and include:
Determination unit determines at least one key for characterizing address information for text message to be identified
Word;
Display unit, for showing at least one keyword with preset format;
Processing unit, if receiving the preset touch operation for the first keyword at least one keyword,
The first map application in preset at least one map application is run, is closed to described first by first map application
Corresponding first address information of key word is positioned.
Optionally, described aobvious if at least one keyword includes the second keyword in addition to first keyword
Show that unit is additionally operable to:
First keyword is shown in the first format, and to show institute different from the second format of first format
The second keyword, first format and second format are stated for distinguishing first keyword and second pass
Key word.
Optionally, the processing unit is additionally operable to:
After receiving for the preset touch operation of the first keyword at least one keyword, if detection
It is not opened to GPS positioning function, opens the GPS positioning function;
Then corresponding first address information of first keyword is carried out positioning it by first map application
Afterwards, further include:
It is generated and is shown by first map application and first address is navigated to by the current address of terminal device
The navigation information of information.
Optionally, if preset at least one map application has multiple, the display unit is additionally operable to receiving needle
After the preset touch operation of the first keyword at least one keyword, show that preset at least one map is answered
With corresponding at least one application icon;
The processing unit is used to receive the first map application icon for being directed at least one application icon
After selection operation, corresponding first map application of the first map application icon is run.
The third aspect, an embodiment of the present invention provides a kind of terminal device, the terminal device includes processor, described
The step of processor when executing the computer program stored in memory for realizing localization method as described above.
Fourth aspect, an embodiment of the present invention provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, institute
State the step of realizing localization method as described above when computer program is executed by processor.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be retouched below
Attached drawing needed in stating is briefly described, it should be apparent that, the accompanying drawings in the following description is only the one of the present invention
A little embodiments.
Fig. 1 is the flow chart of localization method in the embodiment of the present invention;
Method flow diagram when if Fig. 2 has multiple at least one map application preset in embodiment illustrated in fig. 1;
Fig. 3 is a kind of structural schematic diagram of positioning device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific implementation mode
A kind of localization method and device of offer of the embodiment of the present invention, terminal device and readable storage medium storing program for executing, it is existing for solving
Have that position fixing process is relatively complicated, the low technical problem of location efficiency.
" first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing not
Same object, rather than for describing particular order.In addition, term " comprising " and their any deformation, it is intended that covering
Non-exclusive includes.Such as it contains process, method, system, product or the equipment of series of steps or unit and is not limited to
The step of having listed or unit, but further include the steps that optionally not listing or unit, or further include optionally for this
The intrinsic other steps of processes, method, product or equipment or unit a bit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.The phrase, which occurs, in each position in the description might not each mean phase
Same embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art are explicitly
Implicitly understand, embodiment described herein can be combined with other embodiments.
In a particular embodiment, the localization method can be applied to the terminal device for being provided with display screen, which can
To be touching display screen.In actual use, application icon, short message, net can be shown by the display screen on terminal device
The contents such as page, mail.Terminal device mentioned in the embodiment of the present invention includes but not limited to:Smart mobile phone (such as Andriod
Mobile phone, IOS mobile phones), tablet computer, laptop, palm PC, the electronic equipments such as wearable intelligent equipment, can also be
Other electronic equipment, just differ one has been illustrated herein.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to the technology of the present invention side
Case is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to technical solution of the present invention
Detailed description, rather than to the restriction of technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and
Technical characteristic in embodiment can be combined with each other.
Referring to FIG. 1, an embodiment of the present invention provides a kind of method flow diagram of localization method, which can be with
Applied in terminal device above-mentioned, this approach includes the following steps:
S101:Text message is identified, determines at least one keyword for characterizing address information;
S102:At least one keyword is shown with preset format;
S103:If receiving the preset touch operation for the first keyword at least one keyword, operation
The first map application in preset at least one map application, by first map application to first keyword
Corresponding first address information is positioned.
In specific implementation process, step S101 to step S103's the specific implementation process is as follows:
First, text message is identified, wherein the text message includes short message, e-mail messages, immediately letter
Breath, webpage information etc., wherein instant messages can be wechat chat message, can also be QQ chat messages, etc..Certainly, also
Can be the text message of other types, for example, e-book, just differ one has been illustrated herein.In specific implementation process
In, can be specifically to use common text recognition technique (for example, template matching method, geometrical feature extraction method, optical character
Method of identification OCR etc.) text message is identified, it can also be through artificial intelligence (AI, Artificial
Intelligence) identification to text message is realized, certainly, those skilled in the art can come according to actual needs
Text message is identified using different text recognition techniques, is not just repeated one by one herein.
After the text message is identified, from the text message determine for characterize address information to
A few keyword.For example, at least one keyword is place name or position.In specific implementation process, it is described at least
One keyword can be a keyword, can also be multiple keywords.And each keyword can be the feelings of a word
Condition, for example, capital, Chongqing, etc..The case where each keyword can also be multiple words.For example, Hongqiao Airport, etc..It lifts a specific
Example for, user A by mobile phone a to the mobile phone b of user B have sent one such as " you can take Shuangliu Airport fly
Machine or the motor-car at Chengdu eastern station go to Wuhan " short message, after text identification, the keyword determined has " double-current machine
Field ", " Chengdu eastern station ", " Wuhan ".
Then, at least one keyword is shown with preset format, wherein the preset format can be specifically root
According to the pre-set format of practical custom institute of user, the format of user's manual setting is can also be, for example, user is right manually
Text message is configured, in the same text message that terminal device receives, first address key words being identified
It is shown with format 1, second address key words is shown with format 2, etc., wherein for the formats such as format 1, format 2, user
It can be arranged according to actual needs.In specific implementation process, the preset format includes font format, color lattice
One or more of formula, thickness format, luma format etc..For example, at least one keyword is shown with yellow overstriking,
And other text messages are shown with black and white format.Still by taking above-mentioned example as an example, there is " double-current machine in the keyword determined
", " Chengdu eastern station ", after " Wuhan ", in the short message received by the mobile phone b of user B, text message " Shuangliu Airport " with
Red Song typeface format shows that text message " Chengdu eastern station " shows that text message " Wuhan " is with blue Song with green regular script format
Physique formula is shown.
Then, if receiving the preset touch operation for the first keyword at least one keyword, operation
The first map application in preset at least one map application, by first map application to first keyword
Corresponding first address information is positioned.In specific implementation process, first, detect at least one keyword
Whether the first keyword receives preset touch operation, wherein the preset touch operation can be made according to user
It is operated determined by custom, for example, can be pressing operation, drag operation, clicking operation, double click operation, etc..If described
First keyword receives the preset touch operation, then runs in the preset at least one map application of the terminal device
The first map application, wherein preset at least one map application can be the map application of system default, can also be
The map application that user is downloaded from application download platform according to actual needs.Either which kind of map application, with per family
It can be by map application come into the positioning and navigation of row address information.In specific implementation process, when operation is preset at least
It, can be crucial to described first by first map application after first map application of one map application
The corresponding address information of word is positioned.Wherein, first map application can be that the higher map of user's frequency of use is answered
With can also be the map application of system default, can also be that user answers according to use habit from preset at least one map
Application selected in, etc..Still by taking the short message content that above-mentioned user A is sent to user B as an example, described preset
When at least one map application includes " the first map application ", " the second map application ", " third map application ", when user B is bis-
When hitting " Chengdu eastern station " this keyword, just operation user's B frequency of use is higher " the second map application ", thus by " the
Two map applications " realize the positioning to the address information corresponding to " Chengdu eastern station " this keyword, finally show positioning result
Show on the runnable interface of " the second map application ".Entire position fixing process, at least one keyword described in the direct touch-control of user
The first keyword, can quickly open map application, and then fast implement to the corresponding address information of the first keyword
Positioning, to simplify position fixing process, improves location efficiency.
In embodiments of the present invention, if at least one keyword includes the second pass in addition to first keyword
Key word, step S102:Show that the specific implementation process of at least one keyword is with preset format:It shows in the first format
Show first keyword, and second keyword is shown with the second format different from first format, described first
Format and second format are for distinguishing first keyword and second keyword.In specific implementation process,
At least one keyword can be one and can also be multiple situations.Include first at least one keyword
For keyword and the second keyword, in specific implementation process, different keys is shown using different formats respectively
Word.For giving a concrete illustration, it is " today that user C, which is applied by wechat and had sent a wechat content of text to user D,
Have dinner at night in No. 2 western-style restaurants of silver Thailand city 1F, remember to breathe out on time ", the keyword in this wechat content of text includes
" silver-colored Tai Cheng ", " No. 2 western-style restaurants ", the content presented eventually by the smart mobile phone of user D are that " silver-colored Tai Cheng " is the Song typeface four
Yellow is highlighted, " No. 2 western-style restaurants " be small four green font of regular script show, and other content of text " tonight exists " and
" No. 2 western-style restaurants have dinner, remember to breathe out on time " is but with No. four white and black displays of the Song typeface.Due in specific implementation process, passing through
Different-format shows each keyword, consequently facilitating user clearly distinguishes each keyword, on the other hand,
The maloperation that user is directed to keyword is effectively prevented, location efficiency is further increased.
In embodiments of the present invention, in step s 103 receive at least one keyword first close
After the preset touch operation of key word, the method further includes:If detecting, GPS positioning function is not opened, opens the GPS
Positioning function;Then corresponding first address information of first keyword is carried out positioning it by first map application
Afterwards, further include:It is generated and is shown by first map application and first ground is navigated to by the current address of terminal device
The navigation information of location information.
In specific implementation process, after first keyword receives the preset touch operation, described in detection
Whether the GPS positioning function of terminal device opens, if the GPS positioning function is not opened, automatically turns on the GPS positioning
Function simplifies operating procedure to be needed for the manually opened GPS positioning functions of user in compared to the prior art, positions
It is more quick.After opening the GPS positioning function, first map application is run, and pass through first map application
Corresponding first address information of first keyword is positioned.Then, it can be based on the GPS positioning function, led to
First map application is crossed to generate and show that the current address by the terminal device navigates to first address information
Navigation information.To while ensureing quickly to position first address information, also improve to first address
The quick navigation of information, further increases the performance of the terminal device.
In embodiments of the present invention, if referring to FIG. 2, when preset at least one map application has multiple, in step
In S103 receive at least one keyword the first keyword preset touch operation after, the method
Further include:
S201:Show the corresponding at least one application icon of preset at least one map application;
S202:Receive at least one application icon the first map application icon selection operation it
Afterwards, corresponding first map application of the first map application icon is run.
In specific implementation process, step S201 to step S202's the specific implementation process is as follows:
First, it when detecting that the preset at least one map application of the terminal device has multiple, is closed described first
After key word receives the preset touch operation, the corresponding at least one application of preset at least one map application is shown
Icon.For example, determining that preset map application includes " the first map application ", " the second map application ", " third map is answered
With ".Then, after receiving for the selection operation of the first map application icon of at least one application icon, fortune
Corresponding first map application of row the first map application icon.Still sent to user B with user A recited above
Short message content for, user click short message content in " Chengdu eastern station " after, redirect out including " the first map is answered
With ", the application icon interface of " the second map application ", " third map application " these three map applications, therefrom selected for user
Select the application icon corresponding to the map application for needing to run.For example, " the first ground in user clicks application icon interface
After figure application " application icon, it is corresponding " the first map application " just to run " the first map application " application icon.So as to
It needs to select corresponding map application according to user, to realize the positioning or navigation of address information, to greatly improve user's body
It tests.
In specific implementation process, in addition to it is mentioned above can be by user as needed from the preset multiple of display
Required map application icon is selected in map application to realize the positioning to address information or outer, the skill of this field of navigating
Art personnel can also select a map application in multiple map applications to carry out ground according to the actual use situation of user
The positioning or navigation of location information, for example, it is for statistical analysis to the frequency of use of multiple map applications, it is preferential under default situations
Run the high map application of frequency of use.Further, the individual demand of user is met.
Referring to FIG. 3, the embodiment of the present invention additionally provides a kind of positioning device, the positioning device can be executed such as Fig. 1
Shown in localization method, described device includes:
Determination unit 10 determines at least one key for characterizing address information for text message to be identified
Word;
Display unit 20, for showing at least one keyword with preset format;
Processing unit 30, if receiving the preset touch behaviour for the first keyword at least one keyword
Make, the first map application in preset at least one map application is run, by first map application to described first
Corresponding first address information of keyword is positioned.
In embodiments of the present invention, if at least one keyword includes the second pass in addition to first keyword
Key word, display unit 20 are additionally operable to:First keyword is shown in the first format, and with different from first format
Second format shows second keyword, first format and second format for distinguishing first keyword
And second keyword.
In embodiments of the present invention, processing unit 30 is additionally operable to:
After receiving for the preset touch operation of the first keyword at least one keyword, if detection
It is not opened to GPS positioning function, opens the GPS positioning function;
Then corresponding first address information of first keyword is carried out positioning it by first map application
Afterwards, further include:
It is generated and is shown by first map application and first address is navigated to by the current address of terminal device
The navigation information of information.
In embodiments of the present invention, if preset at least one map application has multiple, display unit 20 is additionally operable to
After receiving the preset touch operation for the first keyword at least one keyword, preset at least one is shown
The corresponding at least one application icon of a map application;
Processing unit 30 is used in the choosing for receiving the first map application icon at least one application icon
After selecting operation, corresponding first map application of the first map application icon is run.
Fig. 4 is a kind of terminal device provided in an embodiment of the present invention, and the terminal device includes processor 40, memory
50 and it is stored in the computer program that can be run in memory 50 and on processor 40, wherein processor 40 is for executing
Localization method shown in FIG. 1 is realized when the computer program stored in memory 50 or other can cover the embodiment of the present invention
The description of all the elements.
In embodiments of the present invention, processor 40 can be specifically central processing unit, application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC) can be one or more for controlling program
The integrated circuit of execution can be use site programmable gate array (Field Programmable Gate Array, FPGA)
The hardware circuit of exploitation can be baseband processor.
In embodiments of the present invention, processor 40 may include at least one process cores.
In embodiments of the present invention, electronic equipment further includes memory 50, and memory 50 may include read-only memory
(Read Only Memory, ROM), random access memory (Random Access Memory, RAM) and magnetic disk storage.
Memory 50 is used to store data required when processor 40 is run.The quantity of memory 50 is one or more.
Further, a kind of readable storage medium storing program for executing is also provided in the embodiment of the present invention, which is stored with calculating
Localization method as shown in Figure 1 may be implemented when computer program is run on computers or other can cover for machine program
The description of all the elements of the embodiment of the present invention.
In embodiments of the present invention, it should be understood that disclosed method and positioning device, it can be by another way
It realizes.For example, apparatus embodiments described above are merely indicative, for example, the division of unit, only one kind are patrolled
Volume function divides, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can be with
It is integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of equipment or unit, can
By be it is electrical or other in the form of.
Each functional unit in embodiments of the present invention can be integrated in a processing unit or each unit
It can be independent physical module.
If integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product,
It can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present invention
It can completely or partially be expressed in the form of software products, which is stored in a storage medium,
It is used so that a computer equipment including some instructions, such as can be personal computer, server or the network equipment
Deng or processor (Processor) execute each embodiment of the present invention method all or part of step.And it above-mentioned deposits
Storage media includes:General serial bus USB (Universal Serial Bus flash drive, USB), movement are hard
Disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), the various media that can store program code such as magnetic disc or CD.
Although preferred embodiments of the present invention have been described, once a person skilled in the art knows basic wounds
The property made concept, then additional changes and modifications may be made to these embodiments.It is wrapped so the following claims are intended to be interpreted as
It includes preferred embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from the present invention's by those skilled in the art
Spirit and scope.In this way, if these modifications and changes of the present invention belongs to the model of the claims in the present invention and its equivalent technologies
Within enclosing, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of localization method, which is characterized in that including:
Text message is identified, determines at least one keyword for characterizing address information;
At least one keyword is shown with preset format;
If receive for the first keyword at least one keyword preset touch operation, run it is preset at least
The first map application in one map application, by first map application to corresponding first ground of first keyword
Location information is positioned.
2. the method as described in claim 1, which is characterized in that if at least one keyword includes except described first is crucial
The second keyword outside word, it is described to show that at least one keyword, the method further include with preset format:
First keyword is shown in the first format, and shows described second with the second format different from first format
Keyword, first format and second format are for distinguishing first keyword and second keyword.
3. the method as described in claim 1, which is characterized in that closed at least one keyword first receiving
After the preset touch operation of key word, the method further includes:
If detecting, GPS positioning function is not opened, opens the GPS positioning function;
After then being positioned to corresponding first address information of first keyword by first map application, also wrap
It includes:
It is generated and is shown by first map application and first address information is navigated to by the current address of terminal device
Navigation information.
4. the method as described in claim 1, which is characterized in that if preset at least one map application has multiple, connecing
After receiving the preset touch operation for the first keyword at least one keyword, the method further includes:
Show the corresponding at least one application icon of preset at least one map application;
After receiving for the selection operation of the first map application icon of at least one application icon, described in operation
Corresponding first map application of first map application icon.
5. the method as described in claim 1, which is characterized in that the text message includes short message, e-mail messages, immediately letter
One kind in breath, webpage information.
6. a kind of positioning device, which is characterized in that including:
Determination unit determines at least one keyword for characterizing address information for text message to be identified;
Display unit, for showing at least one keyword with preset format;
Processing unit, if receiving the preset touch operation for the first keyword at least one keyword, operation
The first map application in preset at least one map application, by first map application to first keyword pair
The first address information answered is positioned.
7. device as claimed in claim 6, which is characterized in that if at least one keyword includes except described first is crucial
The second keyword outside word, the display unit are additionally operable to:
First keyword is shown in the first format, and shows described second with the second format different from first format
Keyword, first format and second format are for distinguishing first keyword and second keyword.
8. device as claimed in claim 6, which is characterized in that the processing unit is additionally operable to:
After receiving for the preset touch operation of the first keyword at least one keyword, if detecting GPS
Positioning function is not opened, and the GPS positioning function is opened;
After then being positioned to corresponding first address information of first keyword by first map application, also wrap
It includes:
It is generated and is shown by first map application and first address information is navigated to by the current address of terminal device
Navigation information.
9. a kind of terminal device, which is characterized in that the terminal device includes processor, and the processor is for executing memory
The step of localization method as described in any one of claim 1-5 is realized when the computer program of middle storage.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, it is characterised in that:The computer program is handled
The step of localization method as described in any one of claim 1-5 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810496942.1A CN108762658A (en) | 2018-05-22 | 2018-05-22 | A kind of localization method and device, terminal device and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810496942.1A CN108762658A (en) | 2018-05-22 | 2018-05-22 | A kind of localization method and device, terminal device and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108762658A true CN108762658A (en) | 2018-11-06 |
Family
ID=64007603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810496942.1A Pending CN108762658A (en) | 2018-05-22 | 2018-05-22 | A kind of localization method and device, terminal device and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762658A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105608101A (en) * | 2015-09-14 | 2016-05-25 | 广州市动景计算机科技有限公司 | Method and device for utilizing address in text, and mobile terminal |
CN106993085A (en) * | 2017-03-01 | 2017-07-28 | 北京小米移动软件有限公司 | Positioning result display methods and device, electronic equipment |
-
2018
- 2018-05-22 CN CN201810496942.1A patent/CN108762658A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105608101A (en) * | 2015-09-14 | 2016-05-25 | 广州市动景计算机科技有限公司 | Method and device for utilizing address in text, and mobile terminal |
CN106993085A (en) * | 2017-03-01 | 2017-07-28 | 北京小米移动软件有限公司 | Positioning result display methods and device, electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6690390B1 (en) | Interactive on-line help for completing a task | |
US20100031198A1 (en) | Data-Oriented User Interface for Mobile Device | |
US20090079702A1 (en) | Method, Apparatus and Computer Program Product for Providing an Adaptive Keypad on Touch Display Devices | |
CN103959283A (en) | Interactive text editing | |
CN107885823B (en) | Audio information playing method and device, storage medium and electronic equipment | |
CN103324674B (en) | Web page contents choosing method and device | |
CN104978045B (en) | A kind of Chinese character input method and device | |
CN105740454A (en) | Picture folder display method and apparatus as well as electronic device | |
CN107733984A (en) | A kind of method, terminal and computer-readable recording medium for pushing screen locking information | |
CN106354570A (en) | Account information copying and pasting method and device | |
CN107958078A (en) | Information generating method and device | |
US9805010B2 (en) | Methods and apparatus for redacting related content in a document | |
CN106060220A (en) | Contact information creation method and mobile terminal | |
CN105718072B (en) | A kind of character input method and mobile terminal | |
CN108228720B (en) | Identify method, system, device, terminal and the storage medium of target text content and original image correlation | |
CN107517312A (en) | A kind of wallpaper switching method, device and terminal device | |
CN108052212A (en) | A kind of method, terminal and computer-readable medium for inputting word | |
CN104281560B (en) | Display method, device and terminal of memory text information | |
WO2022127423A1 (en) | Webpage display method and apparatus, and storage medium and electronic device | |
CN105955507B (en) | A kind of display methods and terminal of soft keyboard | |
CN107609174A (en) | A kind of method and device of content retrieval, terminal and readable storage medium storing program for executing | |
CN108536712A (en) | A kind of method and device of index positioning | |
CN107547714A (en) | A kind of method and apparatus for searching contact person | |
CN109492249A (en) | Rapid generation, device and the terminal device of design drawing | |
CN108762658A (en) | A kind of localization method and device, terminal device and readable storage medium storing program for executing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |