[go: up one dir, main page]

CN105549756A - An input method and user terminal based on location information - Google Patents

An input method and user terminal based on location information Download PDF

Info

Publication number
CN105549756A
CN105549756A CN201510733667.7A CN201510733667A CN105549756A CN 105549756 A CN105549756 A CN 105549756A CN 201510733667 A CN201510733667 A CN 201510733667A CN 105549756 A CN105549756 A CN 105549756A
Authority
CN
China
Prior art keywords
user terminal
current location
character
text information
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510733667.7A
Other languages
Chinese (zh)
Inventor
李锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Coolpad Software Tech Co ltd
Original Assignee
Dongguan Coolpad Software Tech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Coolpad Software Tech Co ltd filed Critical Dongguan Coolpad Software Tech Co ltd
Priority to CN201510733667.7A priority Critical patent/CN105549756A/en
Publication of CN105549756A publication Critical patent/CN105549756A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an input method based on position information and a user terminal, comprising the following steps: after detecting and receiving characters input by a user on a map application interface, a user terminal; the current position of the user terminal can be obtained; and outputting the character information matched with the characters according to the current position of the user terminal. In the embodiment of the invention, when the user terminal needs to output the text information matched with the characters input on the map application interface, the text information is output by combining the current position of the user terminal, so that the text information matched with the characters input on the map application interface can be further screened out, and the output efficiency of the text information can be improved.

Description

一种基于位置信息的输入方法及用户终端An input method and user terminal based on location information

技术领域technical field

本发明涉及导航技术领域,尤其涉及一种基于位置信息的输入方法及用户终端。The invention relates to the technical field of navigation, in particular to an input method based on position information and a user terminal.

背景技术Background technique

随着电子技术的快速发展以及终端的迅速普及,终端的功能日益强大。例如,用户可以利用终端访问外部数据网络、拍照、与好友进行通信联系以及导航等等。以用户利用终端进行导航为例,当用户利用终端进行导航时,一般需要用户先手动输入终点位置的名称,终端再根据终点位置的名称进行导航。由于终端中的输入法一般会根据用户的历史输入记录来优先输出某些与用户输入的拼音相匹配的文字,若用户当前输入的终点位置的名称对应的文字都是比较少见的且用户很少输入的文字时,则需要用户在众多与该名称对应的拼音相匹配的文字中一一筛选,从而降低了终点位置的名称的输入效率,导致利用终端生成导航路线的效率较低。因此,提供一种基于位置信息的输入方法尤为重要。With the rapid development of electronic technology and the rapid popularization of terminals, the functions of terminals are becoming more and more powerful. For example, the user can use the terminal to access external data networks, take pictures, communicate with friends, navigate, and so on. Taking the user to use the terminal to navigate as an example, when the user uses the terminal to navigate, the user generally needs to manually input the name of the end point, and the terminal then performs navigation according to the name of the end point. Because the input method in the terminal will generally output some text that matches the pinyin input by the user based on the user's historical input records, if the text corresponding to the name of the end point currently input by the user is relatively rare and there are few users When inputting text, the user needs to filter one by one among many texts that match the pinyin corresponding to the name, thereby reducing the efficiency of inputting the name of the end point, resulting in low efficiency of using the terminal to generate navigation routes. Therefore, it is particularly important to provide an input method based on location information.

发明内容Contents of the invention

本发明实施例提供了一种基于位置信息的输入方法及用户终端,能够提高文字信息的输出效率。Embodiments of the present invention provide an input method based on location information and a user terminal, which can improve the output efficiency of text information.

第一方面,本发明实施例公开了一种基于位置信息的输入方法,包括:In the first aspect, the embodiment of the present invention discloses an input method based on location information, including:

检测是否接收到用户在地图应用界面上输入的字符;Detect whether the characters input by the user on the map application interface are received;

若检测接收到所述字符,获取用户终端的当前位置;If the character is detected and received, obtain the current location of the user terminal;

根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息。According to the current location of the user terminal, text information matching the characters is output.

结合第一方面的实现方式,在第一方面的第一种可能的实现方式中,所述根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息,包括:With reference to the implementation manner of the first aspect, in a first possible implementation manner of the first aspect, the outputting text information matching the characters according to the current location of the user terminal includes:

根据所述用户终端的当前位置,确定与所述用户终端的当前位置关联的预设区域;determining a preset area associated with the current location of the user terminal according to the current location of the user terminal;

在所述预设区域内的多个地理位置中选择与所述字符相匹配的目标地理位置;selecting a target geographic location matching the character from multiple geographic locations within the preset area;

输出所述与所述字符相匹配的目标地理位置对应的文字信息。Outputting the text information corresponding to the target geographic location matching the characters.

结合第一方面的实现方式,在第一方面的第二种可能的实现方式中,还可以执行以下步骤:In combination with the implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the following steps may also be performed:

存储所述与所述字符相匹配的文字信息,作为与所述用户终端的当前位置关联的关联信息的一部分。storing the text information matching the character as part of the associated information associated with the current location of the user terminal.

结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,在步骤获取用户终端的当前位置之后,所述根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息之前,还可以执行以下步骤:With reference to the second possible implementation of the first aspect, in a third possible implementation of the first aspect, after the step of acquiring the current location of the user terminal, the output and Before the characters match the text information, the following steps can also be performed:

检测所述用户终端中是否存储与所述用户终端的当前位置关联的关联信息;Detecting whether associated information associated with the current location of the user terminal is stored in the user terminal;

若检测到所述用户终端中未存储所述关联信息,则执行步骤根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息;If it is detected that the associated information is not stored in the user terminal, the execution step is to output text information matching the characters according to the current location of the user terminal;

若检测到所述用户终端中存储有所述关联信息,所述根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息,具体包括:If it is detected that the associated information is stored in the user terminal, outputting text information matching the character according to the current location of the user terminal, specifically including:

在所述关联信息中获取与所述字符对应的文字信息,并输出在所述关联信息中获取的与所述字符对应的文字信息。Acquiring text information corresponding to the character from the associated information, and outputting the text information corresponding to the character obtained in the associated information.

结合第一方面的实现方式、第一方面的第一种可能的实现方式、第一方面的第二种可能的实现方式以及第一方面的第三种可能的实现方式中的任意一种实现方式,在第一方面的第四种可能的实现方式中,步骤所述检测是否接收到用户在地图应用界面上输入的字符之前,还可以执行以下步骤:Combining any one of the implementation of the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, and the third possible implementation of the first aspect , in the fourth possible implementation manner of the first aspect, before the step of detecting whether a character input by the user on the map application interface is received, the following steps may also be performed:

检测所述用户终端的触摸屏上是否发生触控操作;Detecting whether a touch operation occurs on the touch screen of the user terminal;

若检测所述用户终端的触摸屏上发生所述触控操作,获取所述触控操作的触控参数;If it is detected that the touch operation occurs on the touch screen of the user terminal, acquiring touch parameters of the touch operation;

检测所述触控参数与预设的用于启动所述用户终端的导航模式的参数是否匹配;Detecting whether the touch parameters match the preset parameters for starting the navigation mode of the user terminal;

若检测到所述触控参数与所述预设的用于启动所述用户终端的导航模式的参数匹配,则启动所述导航模式,以在所述用户终端上输出所述地图应用界面。If it is detected that the touch parameter matches the preset parameter for activating the navigation mode of the user terminal, the navigation mode is activated to output the map application interface on the user terminal.

第二方面,本发明实施例还公开了一种用户终端,包括:In the second aspect, the embodiment of the present invention also discloses a user terminal, including:

检测单元,用于检测是否接收到用户在地图应用界面上输入的字符;A detection unit, configured to detect whether a character input by the user on the map application interface is received;

获取单元,用于若所述检测单元检测接收到所述字符,获取用户终端的当前位置;An acquisition unit, configured to acquire the current location of the user terminal if the detection unit detects that the characters are received;

输出单元,用于根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息。An output unit, configured to output text information matching the characters according to the current location of the user terminal.

结合第二方面的用户终端,在第二方面的第一种可能的用户终端中,所述输出单元包括:With reference to the user terminal of the second aspect, in the first possible user terminal of the second aspect, the output unit includes:

确定模块,用于根据所述用户终端的当前位置,确定与所述用户终端的当前位置关联的预设区域;A determining module, configured to determine a preset area associated with the current location of the user terminal according to the current location of the user terminal;

选择模块,用于在所述预设区域内的多个地理位置中选择与所述字符相匹配的目标地理位置;A selection module, configured to select a target geographic location matching the character from multiple geographic locations in the preset area;

输出模块,用于输出所述与所述字符相匹配的目标地理位置对应的文字信息。An output module, configured to output the text information corresponding to the target geographic location matched with the characters.

结合第二方面的用户终端,在第二方面的第二种可能的用户终端中,所述用户终端还包括:With reference to the user terminal of the second aspect, in a second possible user terminal of the second aspect, the user terminal further includes:

存储单元,用于存储所述与所述字符相匹配的文字信息,作为与所述用户终端的当前位置关联的关联信息的一部分。A storage unit, configured to store the text information matching the character as a part of the associated information associated with the current location of the user terminal.

结合第二方面的第二种可能的用户终端,在第二方面的第三种可能的用户终端中,With reference to the second possible user terminal of the second aspect, in the third possible user terminal of the second aspect,

所述检测单元,还用于在所述获取单元获取用户终端的当前位置之后,所述输出单元根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息之前,检测所述用户终端中是否存储与所述用户终端的当前位置关联的关联信息;The detecting unit is further configured to detect the user terminal after the acquiring unit acquires the current location of the user terminal and before the output unit outputs text information matching the character according to the current location of the user terminal. whether the associated information associated with the current location of the user terminal is stored in the terminal;

所述输出单元用于在所述检测单元检测到所述用户终端中未存储所述关联信息,根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息;The output unit is configured to output text information matching the character according to the current location of the user terminal when the detection unit detects that the associated information is not stored in the user terminal;

所述输出单元还用于在所述检测单元检测到所述用户终端中存储有所述关联信息时,在所述关联信息中获取与所述字符对应的文字信息,并输出在所述关联信息中获取的与所述字符对应的文字信息。The output unit is further configured to obtain text information corresponding to the character from the associated information when the detecting unit detects that the associated information is stored in the user terminal, and output the text information in the associated information The text information corresponding to the character obtained in .

结合第二方面的用户终端、第二方面的第一种可能的用户终端、第二方面的第二种可能的用户终端以及第二方面的第三种可能的用户终端中的任意一种用户终端,在第二方面的第四种可能的用户终端中,In combination with any user terminal in the user terminal of the second aspect, the first possible user terminal of the second aspect, the second possible user terminal of the second aspect, and the third possible user terminal of the second aspect , in the fourth possible user terminal of the second aspect,

所述检测单元,还用于在检测是否接收到用户在地图应用界面上输入的字符之前,检测所述用户终端的触摸屏上是否发生触控操作;The detection unit is further configured to detect whether a touch operation occurs on the touch screen of the user terminal before detecting whether a character input by the user on the map application interface is received;

所述获取单元,还用于若所述检测单元检测所述用户终端的触摸屏上发生所述触控操作,获取所述触控操作的触控参数;The acquisition unit is further configured to acquire touch parameters of the touch operation if the detection unit detects that the touch operation occurs on the touch screen of the user terminal;

所述检测单元,还用于检测所述触控参数与预设的用于启动所述用户终端的导航模式的参数是否匹配;The detection unit is further configured to detect whether the touch parameters match the preset parameters for starting the navigation mode of the user terminal;

所述用户终端还包括:The user terminal also includes:

启动单元,用于若所述检测单元检测到所述触控参数与所述预设的用于启动所述用户终端的导航模式的参数匹配,则启动所述导航模式,以在所述用户终端上输出所述地图应用界面。A starting unit, configured to start the navigation mode if the detection unit detects that the touch parameters match the preset parameters for starting the navigation mode of the user terminal, so that the user terminal can The map application interface is output above.

本发明实施例中,用户终端在检测接收到用户在地图应用界面上输入的字符之后;可以获取用户终端的当前位置;并根据用户终端的当前位置,输出与字符相匹配的文字信息。在本发明实施例中,用户终端在需要输出与在地图应用界面上输入的字符相匹配的文字信息时,会结合用户终端的当前位置来输出,从而可以进一步筛选出与在地图应用界面上输入的字符相匹配的文字信息,从而能够提高文字信息的输出效率。In the embodiment of the present invention, after the user terminal detects and receives the characters input by the user on the map application interface; it can obtain the current location of the user terminal; and output text information matching the characters according to the current location of the user terminal. In the embodiment of the present invention, when the user terminal needs to output text information that matches the characters input on the map application interface, it will output it in combination with the current location of the user terminal, so that it can further filter out the text information that matches the characters input on the map application interface. The text information that matches the characters of the text, so that the output efficiency of the text information can be improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1是本发明实施例公开的一种基于位置信息的输入方法的流程示意图;FIG. 1 is a schematic flow diagram of an input method based on location information disclosed in an embodiment of the present invention;

图2是本发明实施例公开的另一种基于位置信息的输入方法的流程示意图;Fig. 2 is a schematic flowchart of another input method based on location information disclosed in an embodiment of the present invention;

图3是本发明实施例公开的一种用户终端的结构示意图;FIG. 3 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention;

图4是本发明实施例公开的另一种用户终端的结构示意图;FIG. 4 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention;

图5是本发明实施例公开的又一种用户终端的结构示意图。Fig. 5 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例提供了一种基于位置信息的输入方法及用户终端。在本发明实施例中,用户终端在需要输出与在地图应用界面上输入的字符相匹配的文字信息时,会结合用户终端的当前位置来输出,从而可以进一步筛选出与在地图应用界面上输入的字符相匹配的文字信息,从而能够提高文字信息的输出效率。以下分别进行详细描述。Embodiments of the present invention provide an input method based on location information and a user terminal. In the embodiment of the present invention, when the user terminal needs to output text information that matches the characters input on the map application interface, it will output it in combination with the current location of the user terminal, so that it can further filter out the text information that matches the characters input on the map application interface. The text information that matches the characters of the text, so that the output efficiency of the text information can be improved. Detailed descriptions are given below respectively.

请参阅图1,图1是本发明实施例公开的一种基于位置信息的输入方法的流程示意图。其中,图1所示的方法可以适用于智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(MobileInternetDevices,MID)、PAD等具有导航功能的用户终端中。如图1所示,该基于位置信息的输入方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an input method based on location information disclosed in an embodiment of the present invention. Wherein, the method shown in FIG. 1 can be applicable to user terminals with navigation functions such as smart phones (such as Android phones, iOS phones, etc.), tablet computers, palmtop computers, mobile Internet devices (MobileInternetDevices, MIDs), and PADs. As shown in Figure 1, the input method based on location information may include the following steps:

S101、检测是否接收到用户在地图应用界面上输入的字符。S101. Detect whether a character input by a user on a map application interface is received.

本发明实施例中,地图应用界面是用户终端显示界面上呈现在用户面前的用于描述位置的界面。其中,用户终端显示界面是呈现在用户面前,用户终端屏幕上的图形状态。用户终端显示界面内可以包括一种或者多种组成界面的界面元素,具体的界面元素包括但不限于窗口、对话框、消息框、状态栏、图标、状态栏、widget等等中的一种或者多种。例如,一个用户终端显示界面中可以仅仅包括一个窗口,用于显示特定类型的电子信息(如:图片、文本等);也可以同时包含有消息框、图标、状态栏等。用户终端显示界面可以包括显示在用户终端屏幕内的界面和存储在终端内但没有显示给在用户终端屏幕的界面。显示给在用户终端屏幕上的界面称之为显示界面。界面内的各种界面元素可以统称为界面内的内容信息。In the embodiment of the present invention, the map application interface is an interface for describing the location presented to the user on the display interface of the user terminal. Wherein, the display interface of the user terminal is presented in front of the user, and is a graphic state on the screen of the user terminal. The display interface of the user terminal may include one or more interface elements that make up the interface. The specific interface elements include but are not limited to one or more of windows, dialog boxes, message boxes, status bars, icons, status bars, widgets, etc. Various. For example, a display interface of a user terminal may include only one window for displaying specific types of electronic information (such as pictures, texts, etc.); it may also include message boxes, icons, status bars, etc. at the same time. The user terminal display interface may include an interface displayed on the user terminal screen and an interface stored in the terminal but not displayed on the user terminal screen. The interface displayed to the user terminal screen is called a display interface. Various interface elements in the interface may be collectively referred to as content information in the interface.

本发明实施例中,用户在地图应用界面上输入的字符可以是字母、数字、标点等字符。其中,由字母组成的字符组合可以构成合法拼音或者不合法拼音。当构成合法拼音时,则用户终端可以输出与字符组合对应的文字;当构成不合法拼音时,则终端可以输出用于提示重新输入合法字符的提示信息。In the embodiment of the present invention, the characters input by the user on the map application interface may be letters, numbers, punctuation and other characters. Among them, the combination of characters composed of letters can form legal pinyin or illegal pinyin. When legal pinyin is formed, the user terminal can output text corresponding to the character combination; when invalid pinyin is formed, the terminal can output prompt information for prompting to re-enter legal characters.

本发明实施例中,用户在地图应用界面上输入的字符是字母时,则该字符可以是大写字母,还可以是小写字母。当字符是大写字母时,则可以是某些文字的首字母。如KXKXY可以代表科兴科学园等。当字符是小写字母时,则可以是某些文字对应的拼音。如kexue可以代表科学等等。In the embodiment of the present invention, when the characters input by the user on the map application interface are letters, the characters may be uppercase letters or lowercase letters. When the character is an uppercase letter, it can be the first letter of some text. For example, KXKXY can represent Kexing Science Park, etc. When the character is a lowercase letter, it may be the pinyin corresponding to some text. Such as kexue can represent science and so on.

本发明实施例中,在用户终端启动导航应用程序之后,则可以检测是否接收到用户在地图应用界面上输入的字符。In the embodiment of the present invention, after the user terminal starts the navigation application program, it may be detected whether a character input by the user on the map application interface is received.

S102、若检测接收到字符时,获取用户终端的当前位置。S102. Obtain the current location of the user terminal if it is detected that a character is received.

本发明实施例中,用户终端的当前位置可以是用户终端通过GPS(GlobalPositioningSystem,全球定位系统)来获取,也可以是用户终端通过基站定位来获取,还可以是用户终端通过Wi-Fi定位来获取等等,本发明实施例不作限定。用户终端的当前位置可以是以经纬度坐标的方式来体现,也可以是一个具体地址。In the embodiment of the present invention, the current location of the user terminal may be obtained by the user terminal through GPS (Global Positioning System, Global Positioning System), may also be obtained by the user terminal through base station positioning, or may be obtained by the user terminal through Wi-Fi positioning Etc., the embodiments of the present invention are not limited. The current location of the user terminal may be represented by latitude and longitude coordinates, or may be a specific address.

具体地,在检测接收到用户在地图应用界面上输入的字符之后,则用户终端可以获取用户终端的当前位置。Specifically, after detecting and receiving characters input by the user on the map application interface, the user terminal may acquire the current location of the user terminal.

S103、根据用户终端的当前位置,输出与字符相匹配的文字信息。S103. Output text information matching the characters according to the current location of the user terminal.

本发明实施例中,与字符相匹配的文字信息可以是与字符相匹配的文字,也可以是与字符相匹配的文字代表符。举例来说,当对应的字符是由小写字母组成的拼音(如kexueguan)时,则与字符相匹配的文字可以是科学馆;与该字符相匹配的文字代表符可以是一个科学馆的图片;本发明不作限定。In the embodiment of the present invention, the text information matching the character may be the text matching the character, and may also be a text representative symbol matching the character. For example, when the corresponding character is a pinyin composed of lowercase letters (such as kexueguan), the text matching the character can be the Science Museum; the character representative matching the character can be a picture of the Science Museum; The present invention is not limited.

本发明实施例中,在执行步骤根据用户终端的当前位置,输出与字符相匹配的文字信息之后,还可以进一步存储与字符相匹配的文字信息,作为与用户终端的当前位置关联的关联信息的一部分。In the embodiment of the present invention, after performing the step of outputting the text information matching the characters according to the current location of the user terminal, the text information matching the characters may be further stored as the associated information associated with the current location of the user terminal. part.

本发明实施例中,关联信息是存储在用户终端中的信息,为了方便用户查找而存储的信息。其中,关联信息可以是在当前位置附近的其他位置信息(建筑物、公交站台、地铁站以及公园等等);也可以是与当前位置信息同类型的位置信息。举例来说,当前位置信息显示的是某一家餐馆,则与用户终端的当前位置关联的关联信息可以是附近的其他餐馆。本发明不作限定。In the embodiment of the present invention, the associated information is information stored in the user terminal, which is stored for the convenience of the user to find. Wherein, the associated information may be other location information (buildings, bus stops, subway stations, parks, etc.) near the current location; it may also be location information of the same type as the current location information. For example, if the current location information shows a certain restaurant, the associated information associated with the current location of the user terminal may be other nearby restaurants. The present invention is not limited.

在图1中,详细描述了用户终端在检测接收到用户在地图应用界面上输入的字符之后;可以获取用户终端的当前位置;并根据用户终端的当前位置,输出与字符相匹配的文字信息。在本发明实施例中,用户终端在需要输出与在地图应用界面上输入的字符相匹配的文字信息时,会结合用户终端的当前位置来输出,从而可以进一步筛选出与在地图应用界面上输入的字符相匹配的文字信息,从而能够提高文字信息的输出效率。In Fig. 1, it is described in detail that after the user terminal detects and receives the characters input by the user on the map application interface; it can obtain the current location of the user terminal; and output text information matching the characters according to the current location of the user terminal. In the embodiment of the present invention, when the user terminal needs to output text information that matches the characters input on the map application interface, it will output it in combination with the current location of the user terminal, so that it can further filter out the text information that matches the characters input on the map application interface. The text information that matches the characters of the text, so that the output efficiency of the text information can be improved.

请参阅图2,图2是本发明实施例公开的另一种基于位置信息的输入方法的流程示意图。如图2所示,该基于位置信息的输入方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another input method based on location information disclosed in an embodiment of the present invention. As shown in Figure 2, the input method based on location information may include the following steps:

S201、检测是否接收到用户在地图应用界面上输入的字符。S201. Detect whether a character input by a user on a map application interface is received.

本发明实施例中,用户在地图应用界面上输入的字符可以是字母、数字、标点等字符。其中,由字母组成的字符组合可以构成合法拼音或者不合法拼音。当构成合法拼音时,则终端可以输出与字符组合对应的文字;当构成不合法拼音时,则终端可以输出用于提示重新输入合法字符的提示信息。In the embodiment of the present invention, the characters input by the user on the map application interface may be letters, numbers, punctuation and other characters. Among them, the combination of characters composed of letters can form legal pinyin or illegal pinyin. When a legal pinyin is formed, the terminal can output text corresponding to the character combination; when an illegal pinyin is formed, the terminal can output prompt information for prompting re-input of legal characters.

本发明实施例中,在执行步骤S201之前,还可以执行以下步骤:In the embodiment of the present invention, before performing step S201, the following steps may also be performed:

11)检测用户终端的触摸屏上是否发生触控操作;11) Detecting whether a touch operation occurs on the touch screen of the user terminal;

12)若检测到用户终端的触摸屏上发生触控操作,获取触控操作的触控参数;12) If it is detected that a touch operation occurs on the touch screen of the user terminal, obtain touch parameters of the touch operation;

13)检测触控参数与预设的用于启动用户终端的导航模式的参数是否匹配;13) Detecting whether the touch parameters match the preset parameters for starting the navigation mode of the user terminal;

14)若检测触控参数与预设的用于启动用户终端的导航模式的参数匹配,则启动导航模式,以在用户终端上输出地图应用界面。14) If the detected touch parameters match the preset parameters for starting the navigation mode of the user terminal, start the navigation mode to output a map application interface on the user terminal.

本发明实施例中,用户终端的触摸屏是在用户终端中,呈现在用户面前,用于输入触控操作的屏幕。其中,触摸屏的大小可以调节,其具体调节方式可以是用户根据需要进行调节,也可以是用户终端根据用户的历史触控对应的触控面积来调节,还可以是用户终端根据用户的历史设定记录进行调节;本发明不作限定。In the embodiment of the present invention, the touch screen of the user terminal is a screen presented in front of the user in the user terminal for inputting touch operations. Wherein, the size of the touch screen can be adjusted, and the specific adjustment method can be adjusted by the user according to needs, or adjusted by the user terminal according to the touch area corresponding to the user's historical touch, or set by the user terminal according to the user's history. Records are adjusted; the invention is not limited.

本发明实施例中,触控操作是用户与用户终端的触摸屏之间发生的操作。其中,触控操作根据触控的时间长短进行划分时,可以将触控操作划分为长触操作以及短触操作。当触控时间大于预设时间阈值的操作时,则可以将该触控操作视为长触操作;当触控时间小于预设时间阈值的操作时,则可以将该触控操作视为短触操作。其中,时间阈值的设定可以是用户根据需要进行设定,也可以是用户终端根据用户的历史设定记录进行设定;本发明不作限定。触控操作还可以根据触控压力值进行划分,可以将其划分为重触操作与轻触操作。其中,大于预设压力阈值的触控操作为重触操作,小于预设压力阈值的触控操作为轻触操作。其中,压力阈值的设定可以是用户根据需要进行设定,也可以是用户终端根据用户的历史设定记录进行设定;本发明不作限定。In the embodiment of the present invention, the touch operation is an operation between the user and the touch screen of the user terminal. Wherein, when the touch operation is divided according to the duration of the touch, the touch operation may be divided into a long touch operation and a short touch operation. When the touch time is greater than the preset time threshold, the touch operation can be regarded as a long touch operation; when the touch time is less than the preset time threshold operation, the touch operation can be regarded as a short touch operate. Wherein, the setting of the time threshold may be set by the user according to needs, or may be set by the user terminal according to the historical setting record of the user; the present invention is not limited thereto. The touch operation can also be divided according to the touch pressure value, which can be divided into heavy touch operation and light touch operation. Wherein, a touch operation greater than a preset pressure threshold is a heavy touch operation, and a touch operation smaller than a preset pressure threshold is a light touch operation. Wherein, the setting of the pressure threshold may be set by the user according to needs, or may be set by the user terminal according to the historical setting records of the user; the present invention is not limited thereto.

本发明实施例中,在检测用户终端的触摸屏上发生触控操作之后,则用户终端可以获取触控操作的触控参数。其中,触控参数可以包括但不限于触控压力值、触控面积、触控时长以及每两次触控操作的时间间隔等参数。In the embodiment of the present invention, after detecting that a touch operation occurs on the touch screen of the user terminal, the user terminal may acquire touch parameters of the touch operation. Wherein, the touch parameters may include but not limited to parameters such as touch pressure value, touch area, touch duration, and time interval between two touch operations.

本发明实施例中,可以在用户终端中预设用于启动用户终端的导航模式的参数。其中,该用于启动用户终端的导航模式的参数可以是用户根据需要进行设定,还可以是用户终端根据用户的历史设定记录进行设定;本发明不作限定。In the embodiment of the present invention, parameters for starting the navigation mode of the user terminal may be preset in the user terminal. Wherein, the parameter for starting the navigation mode of the user terminal may be set by the user according to needs, or may be set by the user terminal according to the user's historical setting records; the present invention is not limited thereto.

本发明实施例中,在获取触控操作的触控参数之后,则用户终端可以检测触控参数与预设的用于启动用户终端的导航模式的参数是否匹配。若检测触控参数与预设的用于启动用户终端的导航模式的参数匹配,则启动导航模式,以在用户终端上输出地图应用界面。若检测触控参数与预设的用于启动用户终端的导航模式的参数不匹配,则可以获取检测到触控参数与预设的用于启动用户终端的导航模式的参数不匹配的次数,若次数大于预设阈值时,则可以输出提示信息。In the embodiment of the present invention, after acquiring the touch parameters of the touch operation, the user terminal may detect whether the touch parameters match the preset parameters for starting the navigation mode of the user terminal. If the detected touch parameters match the preset parameters for starting the navigation mode of the user terminal, the navigation mode is started to output a map application interface on the user terminal. If the detected touch parameters do not match the preset parameters for starting the navigation mode of the user terminal, the number of times the detected touch parameters do not match the preset parameters for starting the navigation mode of the user terminal may be acquired, if When the number of times is greater than the preset threshold, a prompt message may be output.

S202、若检测接收到字符时,获取用户终端的当前位置。S202. Obtain the current location of the user terminal if it is detected that a character is received.

本发明实施例中,用户终端的当前位置可以是用户终端通过GPS(GlobalPositioningSystem,全球定位系统)来获取,也可以是用户终端通过基站定位来获取,还可以是用户终端通过Wi-Fi定位来获取等等,本发明实施例不作限定。用户终端的当前位置可以是以经纬度坐标的方式来体现,也可以是一个具体地址。In the embodiment of the present invention, the current location of the user terminal may be obtained by the user terminal through GPS (Global Positioning System, Global Positioning System), may also be obtained by the user terminal through base station positioning, or may be obtained by the user terminal through Wi-Fi positioning Etc., the embodiments of the present invention are not limited. The current location of the user terminal may be represented by latitude and longitude coordinates, or may be a specific address.

S203、根据用户终端的当前位置,确定与用户终端的当前位置关联的预设区域。S203. Determine a preset area associated with the current location of the user terminal according to the current location of the user terminal.

本发明实施例中,与用户终端的当前位置关联的预设区域可以是以当前位置为圆点,以预先设定的长度为半径的圆;还可以是以当前位置为参照位置的任意区域;本发明不作限定。In the embodiment of the present invention, the preset area associated with the current position of the user terminal may be a circle with the current position as the dot and a preset length as the radius; it may also be any area with the current position as the reference position; The present invention is not limited.

本发明实施例中,在获取用户终端的当前位置之后,则可以根据用户终端的当前位置,确定与用户终端的当前位置关联的预设区域。In the embodiment of the present invention, after the current location of the user terminal is obtained, the preset area associated with the current location of the user terminal may be determined according to the current location of the user terminal.

S204、在预设区域内的多个地理位置中选择与字符相匹配的目标地理位置。S204. Select a target geographic location matching the character from multiple geographic locations in the preset area.

本发明实施例中,在根据用户终端的当前位置,确定与用户终端的当前位置关联的预设区域之后,则可以确定在该预设区域内的多个地理位置。其中,该多个地理位置可以是建筑物、公交站台、地铁站以及公园等位置。本发明不作限定。In the embodiment of the present invention, after the preset area associated with the current location of the user terminal is determined according to the current location of the user terminal, multiple geographic locations within the preset area may be determined. Wherein, the plurality of geographic locations may be locations such as buildings, bus stops, subway stations, and parks. The present invention is not limited.

S205、输出与字符相匹配的目标地理位置对应的文字信息。S205. Output text information corresponding to the target geographic location that matches the characters.

本发明实施例中,在确定在该预设区域内的多个地理位置之后,则用户终端可以从多个地理位置中选择与字符相匹配的目标地理位置。并在选择了与字符相匹配的目标地理位置之后,在用户终端的显示界面上输出与字符相匹配的目标地理位置的文字信息。In the embodiment of the present invention, after determining multiple geographic locations within the preset area, the user terminal may select a target geographic location matching the character from the multiple geographic locations. And after the target geographic location matching the character is selected, the text information of the target geographic location matching the character is output on the display interface of the user terminal.

作为一种可选的实施方式,在获取用户终端的当前位置之后,根据用户终端的当前位置,输出与字符相匹配的文字信息之前,用户终端还可以执行以下步骤:As an optional implementation manner, after acquiring the current location of the user terminal, before outputting text information matching characters according to the current location of the user terminal, the user terminal may also perform the following steps:

21)检测用户终端中是否存储与用户终端的当前位置关联的关联信息;21) Detecting whether the associated information associated with the current location of the user terminal is stored in the user terminal;

22)若检测到用户终端中未存储关联信息,则执行步骤根据用户终端的当前位置,输出与字符相匹配的文字信息。22) If it is detected that no associated information is stored in the user terminal, the execution step is to output text information matching the characters according to the current location of the user terminal.

本发明实施例中,与用户终端的当前位置关联的关联信息可以是在当前位置附近的其他位置信息(建筑物、公交站台、地铁站以及公园等等);也可以是与当前位置信息同类型的位置信息。举例来说,当前位置信息显示的是某一家餐馆,则与用户终端的当前位置关联的关联信息可以是附近的其他餐馆。本发明不作限定。In the embodiment of the present invention, the associated information associated with the current location of the user terminal can be other location information (buildings, bus stops, subway stations, parks, etc.) near the current location; it can also be the same type of information as the current location information. location information. For example, if the current location information shows a certain restaurant, the associated information associated with the current location of the user terminal may be other nearby restaurants. The present invention is not limited.

本发明实施例中,在获取用户终端的当前位置之后,则可以检测用户终端中是否存储与用户终端的当前位置关联的关联信息。并在检测到用户终端中未存储关联信息,执行步骤根据用户终端的当前位置,输出与字符相匹配的文字信息。In the embodiment of the present invention, after the current location of the user terminal is obtained, it may be detected whether associated information associated with the current location of the user terminal is stored in the user terminal. And when it is detected that no associated information is stored in the user terminal, the execution step outputs text information matching the characters according to the current location of the user terminal.

本发明实施例中,在检测到用户终端中存储有关联信息时,则可以在关联信息中获取与字符对应的文字信息,并输出在关联信息中获取的与字符对应的文字信息。其中,在关联信息中获取与字符对应的文字信息时可以是获取关联信息中与字符对应的全部文字信息,也可以是获取关联信息中部分文字信息。In the embodiment of the present invention, when it is detected that associated information is stored in the user terminal, the text information corresponding to the character may be acquired in the associated information, and the text information corresponding to the character obtained in the associated information may be output. Wherein, when obtaining the text information corresponding to the characters in the associated information, it may be to obtain all the text information corresponding to the characters in the associated information, or to obtain part of the text information in the associated information.

在图2中,详细描述了用户终端可以在与用户终端的当前位置关联的预设区域中的多个地理位置中选择与字符相匹配的目标地理位置;并输出与目标地理位置相匹配的文字信息。用户终端也可以直接检测用户终端中是否存储与用户终端的当前位置关联的关联信息,并在检测到用户终端中存储有关联信息时,则可以在关联信息获取与字符对应的文字信息,并输出在关联信息中获取的与字符对应的文字信息。由此可见,用户终端在输出文字信息之前,确定文字信息的方式具有多样性,且都可以提高文字信息的输出效率。In Fig. 2, it is described in detail that the user terminal can select a target geographic location that matches the character from multiple geographic locations in the preset area associated with the current location of the user terminal; and output text that matches the target geographic location information. The user terminal can also directly detect whether associated information associated with the current location of the user terminal is stored in the user terminal, and when it is detected that associated information is stored in the user terminal, text information corresponding to characters can be obtained from the associated information, and output The text information corresponding to the character obtained in the associated information. It can be seen that, before the user terminal outputs the text information, there are various ways to determine the text information, and all of them can improve the output efficiency of the text information.

请参阅图3,图3是本发明实施例公开的一种用户终端的结构示意图,用于执行上述基于位置信息的输入方法。其中,图3所示的用户终端可以包括但不限于智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(MobileInternetDevices,MID)、PAD等具有导航功能的用户终端。如图3所示,该用户终端可以包括:检测单元301、获取单元302以及输出单元303,其中,Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention, which is used to implement the above-mentioned input method based on location information. Wherein, the user terminals shown in FIG. 3 may include but are not limited to smartphones (such as Android phones, iOS phones, etc.), tablet computers, handheld computers, and mobile Internet devices (MobileInternetDevices, MID), PAD and other user terminals with navigation functions. As shown in FIG. 3, the user terminal may include: a detection unit 301, an acquisition unit 302, and an output unit 303, wherein,

检测单元301,用于检测是否接收到用户在地图应用界面上输入的字符。The detection unit 301 is configured to detect whether a character input by the user on the map application interface is received.

本发明实施例中,地图应用界面是用户终端显示界面上呈现在用户面前的用于描述位置的界面。其中,用户终端显示界面是呈现在用户面前,用户终端屏幕上的图形状态。用户终端显示界面内可以包括一种或者多种组成界面的界面元素,具体的界面元素包括但不限于窗口、对话框、消息框、状态栏、图标、状态栏、widget等等中的一种或者多种。例如,一个用户终端显示界面中可以仅仅包括一个窗口,用于显示特定类型的电子信息(如:图片、文本等);也可以同时包含有消息框、图标、状态栏等。用户终端显示界面可以包括显示在用户终端屏幕内的界面和存储在终端内但没有显示给在用户终端屏幕的界面。显示给在用户终端屏幕上的界面称之为显示界面。界面内的各种界面元素可以统称为界面内的内容信息。In the embodiment of the present invention, the map application interface is an interface for describing the location presented to the user on the display interface of the user terminal. Wherein, the display interface of the user terminal is presented in front of the user, and is a graphic state on the screen of the user terminal. The display interface of the user terminal may include one or more interface elements that make up the interface. The specific interface elements include but are not limited to one or more of windows, dialog boxes, message boxes, status bars, icons, status bars, widgets, etc. Various. For example, a display interface of a user terminal may include only one window for displaying specific types of electronic information (such as pictures, texts, etc.); it may also include message boxes, icons, status bars, etc. at the same time. The user terminal display interface may include an interface displayed on the user terminal screen and an interface stored in the terminal but not displayed on the user terminal screen. The interface displayed to the user terminal screen is called a display interface. Various interface elements in the interface may be collectively referred to as content information in the interface.

本发明实施例中,用户在地图应用界面上输入的字符可以是字母、数字、标点等字符。其中,由字母组成的字符组合可以构成合法拼音或者不合法拼音。当构成合法拼音时,则用户终端可以输出与字符组合对应的文字;当构成不合法拼音时,则终端可以输出用于提示重新输入合法字符的提示信息。In the embodiment of the present invention, the characters input by the user on the map application interface may be letters, numbers, punctuation and other characters. Among them, the combination of characters composed of letters can form legal pinyin or illegal pinyin. When legal pinyin is formed, the user terminal can output text corresponding to the character combination; when invalid pinyin is formed, the terminal can output prompt information for prompting to re-enter legal characters.

本发明实施例中,用户在地图应用界面上输入的字符是字母时,则该字符可以是大写字母,还可以是小写字母。当字符是大写字母时,则可以是某些文字的首字母。如KXKXY可以代表科兴科学园等。当字符是小写字母时,则可以是某些文字对应的拼音。如kexue可以代表科学等等。In the embodiment of the present invention, when the characters input by the user on the map application interface are letters, the characters may be uppercase letters or lowercase letters. When the character is an uppercase letter, it can be the first letter of some text. For example, KXKXY can represent Kexing Science Park, etc. When the character is a lowercase letter, it may be the pinyin corresponding to some text. Such as kexue can represent science and so on.

本发明实施例中,在用户终端启动导航应用程序之后,则检测单元301可以检测是否接收到用户在地图应用界面上输入的字符。In the embodiment of the present invention, after the user terminal starts the navigation application, the detection unit 301 may detect whether a character input by the user on the map application interface is received.

获取单元302,用于若检测单元301检测接收到字符时,获取用户终端的当前位置。The acquiring unit 302 is configured to acquire the current location of the user terminal when the detecting unit 301 detects that a character is received.

本发明实施例中,用户终端的当前位置可以是用户终端通过GPS(GlobalPositioningSystem,全球定位系统)来获取,也可以是用户终端通过基站定位来获取,还可以是用户终端通过Wi-Fi定位来获取等等,本发明实施例不作限定。用户终端的当前位置可以是以经纬度坐标的方式来体现,也可以是一个具体地址。In the embodiment of the present invention, the current location of the user terminal may be obtained by the user terminal through GPS (Global Positioning System, Global Positioning System), may also be obtained by the user terminal through base station positioning, or may be obtained by the user terminal through Wi-Fi positioning Etc., the embodiments of the present invention are not limited. The current location of the user terminal may be represented by latitude and longitude coordinates, or may be a specific address.

具体地,在检测单元301检测接收到用户在地图应用界面上输入的字符之后,则获取单元302可以获取用户终端的当前位置。Specifically, after the detection unit 301 detects that the characters input by the user on the map application interface are received, the obtaining unit 302 may obtain the current location of the user terminal.

输出单元303,用于根据用户终端的当前位置,输出与字符相匹配的文字信息。The output unit 303 is configured to output text information matching characters according to the current location of the user terminal.

本发明实施例中,与字符相匹配的文字信息可以是与字符相匹配的文字,也可以是与字符相匹配的文字代表符。举例来说,当对应的字符是由小写字母组成的拼音(如kexueguan)时,则与字符相匹配的文字可以是科学馆;与该字符相匹配的文字代表符可以是一个科学馆的图片。本发明不作限定。In the embodiment of the present invention, the text information matching the character may be the text matching the character, and may also be a text representative symbol matching the character. For example, when the corresponding character is a pinyin composed of lowercase letters (such as kexueguan), the text matching the character can be the Science Museum; the character representative matching the character can be a picture of the Science Museum. The present invention is not limited.

在图3中,详细描述了在检测单元301检测接收到用户在地图应用界面上输入的字符之后;获取单元302可以获取用户终端的当前位置;输出单元303并根据用户终端的当前位置,输出与字符相匹配的文字信息。在本发明实施例中,输出单元303在需要输出与在地图应用界面上输入的字符相匹配的文字信息时,会结合用户终端的当前位置来输出,从而可以进一步筛选出与在地图应用界面上输入的字符相匹配的文字信息,从而能够提高文字信息的输出效率。In Fig. 3, it is described in detail that after the detection unit 301 detects and receives the characters input by the user on the map application interface; the acquisition unit 302 can obtain the current position of the user terminal; and the output unit 303 outputs and characters to match the text message. In the embodiment of the present invention, when the output unit 303 needs to output text information that matches the characters input on the map application interface, it will output it in combination with the current location of the user terminal, so that it can further filter out the text information that matches the characters entered on the map application interface. The input characters match the text information, so that the output efficiency of the text information can be improved.

请参阅图4,图4是本发明实施例公开的另一种用户终端的结构示意图,用于执行上述基于位置信息的输入方法。其中,图4是在图3的基础上进一步细化得到,除包括图3所示的所有单元外,还可以包括:启动单元304以及存储单元305,其中,Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention, which is used to implement the above-mentioned input method based on location information. Wherein, Fig. 4 is obtained by further refinement on the basis of Fig. 3 , besides including all units shown in Fig. 3 , it may also include: a startup unit 304 and a storage unit 305, wherein,

启动单元304,用于若检测单元301检测触控参数与预设的用于启动用户终端的导航模式的参数匹配,则启动导航模式,以在用户终端上输出地图应用界面。The starting unit 304 is configured to start the navigation mode to output a map application interface on the user terminal if the detection unit 301 detects that the touch parameters match the preset parameters for starting the navigation mode of the user terminal.

本发明实施例中,触控参数是在检测单元301检测用户终端的触摸屏上发生触控操作,获取触控操作的触控参数。In the embodiment of the present invention, the touch parameter is that the detection unit 301 detects the touch operation on the touch screen of the user terminal, and obtains the touch parameter of the touch operation.

存储单元305,用于存储与字符相匹配的文字信息。The storage unit 305 is configured to store text information matched with characters.

作为一种可选的实施方式,输出单元303可以进一步包括:确定模块3030、选择模块3031以及输出模块3032,其中,As an optional implementation manner, the output unit 303 may further include: a determination module 3030, a selection module 3031, and an output module 3032, wherein,

确定模块3030,用于根据用户终端的当前位置,确定与用户终端的当前位置关联的预设区域。The determining module 3030 is configured to determine a preset area associated with the current location of the user terminal according to the current location of the user terminal.

选择模块3031,用于在预设区域内的多个地理位置中选择与字符相匹配的目标地理位置。A selection module 3031, configured to select a target geographic location matching the character from multiple geographic locations within the preset area.

输出模块3032,用于输出与字符相匹配的目标地理位置对应的文字信息。The output module 3032 is configured to output text information corresponding to the target geographic location matched with the characters.

本发明实施例中,与用户终端的当前位置关联的预设区域可以是以当前位置为圆点,以预先设定的长度为半径的圆;还可以是以当前位置为参照位置的任意区域;本发明不作限定。In the embodiment of the present invention, the preset area associated with the current position of the user terminal may be a circle with the current position as the dot and a preset length as the radius; it may also be any area with the current position as the reference position; The present invention is not limited.

本发明实施例中,在确定模块3030根据用户终端的当前位置,确定与用户终端的当前位置关联的预设区域之后,则可以确定在该预设区域内的多个地理位置。其中,该多个地理位置可以是建筑物、公交站台、地铁站以及公园等位置。本发明不作限定。In the embodiment of the present invention, after the determining module 3030 determines a preset area associated with the current location of the user terminal according to the current location of the user terminal, multiple geographic locations within the preset area may be determined. Wherein, the plurality of geographic locations may be locations such as buildings, bus stops, subway stations, and parks. The present invention is not limited.

本发明实施例中,检测单元301还用于在获取单元302获取用户终端的当前位置之后,输出单元303根据用户终端的当前位置,输出与字符相匹配的文字信息之前,检测用户终端中是否存储与用户终端的当前位置关联的关联信息。In the embodiment of the present invention, the detection unit 301 is also used to detect whether the user terminal stores the current location of the user terminal after the acquisition unit 302 obtains the current location of the user terminal, and before the output unit 303 outputs the text information matching the character according to the current location of the user terminal. Association information associated with the current location of the user terminal.

输出单元303具体用于在检测单元301检测到用户终端中未存储关联信息,根据用户终端的当前位置,输出与字符相匹配的文字信息。The output unit 303 is specifically configured to output text information matching characters according to the current location of the user terminal when the detection unit 301 detects that no associated information is stored in the user terminal.

本发明实施例中,若检测单元301检测到用户终端中存储有关联信息,输出单元303具体用于在关联信息获取与字符对应的文字信息,并输出在关联信息中获取到的与字符对应的文字信息。In the embodiment of the present invention, if the detection unit 301 detects that associated information is stored in the user terminal, the output unit 303 is specifically configured to obtain text information corresponding to the character in the associated information, and output the text information corresponding to the character obtained in the associated information. text information.

请参阅图5,图5是本发明实施例公开的又一种用户终端的结构示意图,用于执行上述基于位置信息的输入方法。其中,如图5所示,该用户终端500可以包括:至少一个处理器501,至少一个输入装置502,至少一个输出装置503,存储器504等组件。其中,这些组件通过一条或多条总线505进行通信连接。本领域技术人员可以理解,图5中示出的用户终端的结构并不构成对本发明实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention, which is used to implement the above-mentioned input method based on location information. Wherein, as shown in FIG. 5 , the user terminal 500 may include: at least one processor 501 , at least one input device 502 , at least one output device 503 , memory 504 and other components. Wherein, these components are connected in communication through one or more buses 505 . Those skilled in the art can understand that the structure of the user terminal shown in Figure 5 does not constitute a limitation to the embodiment of the present invention, it can be either a bus-shaped structure or a star-shaped structure, and it can also include more than shown in the figure. or fewer components, or combining certain components, or a different arrangement of components. in:

处理器501为用户终端的控制中心,利用各种接口和线路连接整个用户终端的各个部分,通过运行或执行存储在存储器504内的程序和/或模块,以及调用存储在存储器504内的数据,以执行用户终端的各种功能和处理数据。处理器501可以由集成电路(IntegratedCircuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器501可以仅包括中央处理器(CentralProcessingUnit,简称CPU),也可以是CPU、数字信号处理器(digitalsignalprocessor,简称DSP)、图形处理器(GraphicProcessingUnit,简称GPU)及各种控制芯片的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 501 is the control center of the user terminal, using various interfaces and lines to connect various parts of the entire user terminal, by running or executing programs and/or modules stored in the memory 504, and calling data stored in the memory 504, To perform various functions of the user terminal and process data. The processor 501 may be composed of an integrated circuit (Integrated Circuit, IC for short), for example, may be composed of a single packaged IC, or may be composed of multiple packaged ICs connected with the same function or different functions. For example, the processor 501 may only include a central processing unit (Central Processing Unit, referred to as CPU), and may also be a CPU, a digital signal processor (digital signal processor, referred to as DSP), a graphics processing unit (Graphic Processing Unit, referred to as GPU) and various control chips. The combination. In the embodiments of the present invention, the CPU may be a single computing core, or may include multiple computing cores.

输入装置502可以包括标准的触摸屏、键盘等,也可以包括有线接口、无线接口等。The input device 502 may include a standard touch screen, a keyboard, etc., and may also include a wired interface, a wireless interface, and the like.

输出装置503可以包括显示屏、扬声器等,也可以包括有线接口、无线接口等。The output device 503 may include a display screen, a speaker, etc., and may also include a wired interface, a wireless interface, and the like.

存储器504可用于存储软件程序以及模块,处理器501、输入装置502以及输出装置503通过调用存储在存储器504中的软件程序以及模块,从而执行用户终端的各项功能应用以及实现数据处理。存储器504主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序等;数据存储区可存储根据用户终端的使用所创建的数据等。在本发明实施例中,操作系统可以是Android系统、iOS系统或Windows操作系统等等。The memory 504 can be used to store software programs and modules. The processor 501, the input device 502 and the output device 503 execute various functional applications of the user terminal and implement data processing by calling the software programs and modules stored in the memory 504. The memory 504 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application program required by at least one function, etc.; the data storage area can store data created according to the use of the user terminal, etc. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, or a Windows operating system and the like.

具体地,处理器501调用存储在存储器504中的应用程序,用于执行以下操作:Specifically, the processor 501 invokes an application program stored in the memory 504 to perform the following operations:

处理器501检测是否接收到用户在地图应用界面上输入的字符;The processor 501 detects whether a character input by the user on the map application interface is received;

若处理器501检测接收到字符时,处理器501控制输入装置502获取用户终端的当前位置;If the processor 501 detects that a character is received, the processor 501 controls the input device 502 to obtain the current location of the user terminal;

处理器501根据用户终端的当前位置,输出与字符相匹配的文字信息。The processor 501 outputs text information matching characters according to the current location of the user terminal.

本发明中,处理器501调用存储在存储器504中的应用程序,执行步骤根据用户终端的当前位置,输出与字符相匹配的文字信息,可以包括以下步骤:In the present invention, the processor 501 calls the application program stored in the memory 504, and the execution step outputs the text information matching the character according to the current location of the user terminal, which may include the following steps:

处理器501根据用户终端的当前位置,确定与用户终端的当前位置关联的预设区域;The processor 501 determines a preset area associated with the current location of the user terminal according to the current location of the user terminal;

处理器501在预设区域内的多个地理位置中选择与字符相匹配的目标地理位置;The processor 501 selects a target geographic location matching the character from multiple geographic locations in the preset area;

处理器501控制输出装置503输出与字符相匹配的目标地理位置对应的文字信息。The processor 501 controls the output device 503 to output text information corresponding to the target geographic location that matches the characters.

本发明中,处理器501调用存储在存储器504中的应用程序,还用于执行以下步骤:In the present invention, the processor 501 calls the application program stored in the memory 504, and is also used to perform the following steps:

存储与字符相匹配的文字信息,作为与所述用户终端的当前位置关联的关联信息的一部分。Storing text information matching the characters as part of associated information associated with the current location of the user terminal.

本发明中,处理器501调用存储在存储器504中的应用程序,在执行步骤获取用户终端的当前位置之后,执行步骤根据用户终端的当前位置,输出与字符相匹配的文字信息之前,还可以包括以下步骤:In the present invention, the processor 501 calls the application program stored in the memory 504. After the execution step obtains the current location of the user terminal, and before the execution step outputs the text information matching the character according to the current location of the user terminal, it may also include The following steps:

处理器501检测用户终端中是否存储与用户终端的当前位置关联的关联信息;The processor 501 detects whether associated information associated with the current location of the user terminal is stored in the user terminal;

若处理器501检测到用户终端中未存储关联信息,则执行步骤根据用户终端的当前位置,输出与字符相匹配的文字信息。If the processor 501 detects that no associated information is stored in the user terminal, the execution step is to output text information matching the characters according to the current location of the user terminal.

若处理器501检测到用户终端中存储有关联信息,处理器501在关联信息中获取与字符对应的文字信息,并控制输出装置503输出在关联信息中获取的与字符对应的文字信息。。If the processor 501 detects that associated information is stored in the user terminal, the processor 501 obtains the text information corresponding to the characters in the associated information, and controls the output device 503 to output the text information corresponding to the characters obtained in the associated information. .

本发明中,处理器501调用存储在存储器504中的应用程序,执行步骤处理器501检测是否接收到用户在地图应用界面上输入的字符之前,还可以包括以下步骤:In the present invention, the processor 501 invokes the application program stored in the memory 504, and before the processor 501 detects whether the character input by the user on the map application interface is received, the following steps may also be included:

处理器501检测用户终端的触摸屏上是否发生触控操作;The processor 501 detects whether a touch operation occurs on the touch screen of the user terminal;

若处理器501检测用户终端的触摸屏上发生触控操作,处理器501控制输入装置502获取触控操作的触控参数;If the processor 501 detects that a touch operation occurs on the touch screen of the user terminal, the processor 501 controls the input device 502 to acquire touch parameters of the touch operation;

处理器501检测触控参数与预设的用于启动用户终端的导航模式的参数是否匹配;The processor 501 detects whether the touch parameters match the preset parameters for starting the navigation mode of the user terminal;

若处理器501检测到触控参数与预设的用于启动用户终端的导航模式的参数匹配,则启动导航模式,以在用户终端上输出地图应用界面。If the processor 501 detects that the touch parameters match the preset parameters for starting the navigation mode of the user terminal, the navigation mode is started to output a map application interface on the user terminal.

具体的,本发明实施例中介绍的用户终端可以实施本发明结合图1、图2介绍的基于位置信息的输入方法实施例中的部分或全部流程。Specifically, the user terminal introduced in the embodiments of the present invention can implement part or all of the processes in the embodiments of the location information-based input method described in the present invention in conjunction with FIG. 1 and FIG. 2 .

本发明所有实施例中的模块或子模块,可以通过通用集成电路,例如CPU(CentralProcessingUnit,中央处理器),或通过ASIC(ApplicationSpecificIntegratedCircuit,专用集成电路)来实现。The modules or sub-modules in all the embodiments of the present invention can be implemented by a general integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).

本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.

本发明实施例用户终端中的单元可以根据实际需要进行合并、划分和删减。The units in the user terminal in the embodiment of the present invention can be combined, divided and deleted according to actual needs.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存取存储器(RandomAccessMemory,简称RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (10)

1.一种基于位置信息的输入方法,其特征在于,包括:1. An input method based on location information, comprising: 检测是否接收到用户在地图应用界面上输入的字符;Detect whether the characters input by the user on the map application interface are received; 若检测接收到所述字符,获取用户终端的当前位置;If the character is detected and received, obtain the current location of the user terminal; 根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息。According to the current location of the user terminal, text information matching the characters is output. 2.根据权利要求1所述的方法,其特征在于,所述根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息,包括:2. The method according to claim 1, wherein the outputting text information matching the character according to the current location of the user terminal comprises: 根据所述用户终端的当前位置,确定与所述用户终端的当前位置关联的预设区域;determining a preset area associated with the current location of the user terminal according to the current location of the user terminal; 在所述预设区域内的多个地理位置中选择与所述字符相匹配的目标地理位置;selecting a target geographic location matching the character from multiple geographic locations within the preset area; 输出所述与所述目标地理位置对应的文字信息。Outputting the text information corresponding to the target geographic location. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, characterized in that the method further comprises: 存储所述与所述字符相匹配的文字信息,作为与所述用户终端的当前位置关联的关联信息的一部分。storing the text information matching the character as part of the associated information associated with the current location of the user terminal. 4.根据权利要求3所述的方法,其特征在于,在获取用户终端的当前位置之后,所述根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息之前,所述方法还包括:4. The method according to claim 3, characterized in that, after obtaining the current location of the user terminal, before outputting text information matching the character according to the current location of the user terminal, the method Also includes: 检测所述用户终端中是否存储与所述用户终端的当前位置关联的关联信息;Detecting whether associated information associated with the current location of the user terminal is stored in the user terminal; 若检测到所述用户终端中未存储所述关联信息,则执行步骤根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息;If it is detected that the associated information is not stored in the user terminal, the execution step is to output text information matching the characters according to the current location of the user terminal; 若检测到所述用户终端中存储有所述关联信息,所述根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息,具体包括:If it is detected that the associated information is stored in the user terminal, outputting text information matching the character according to the current location of the user terminal, specifically including: 在所述关联信息中获取与所述字符对应的文字信息,并输出在所述关联信息中获取的与所述字符对应的文字信息。Acquiring text information corresponding to the character from the associated information, and outputting the text information corresponding to the character obtained in the associated information. 5.根据权利要求1~4中任意一项所述的方法,其特征在于,所述检测是否接收到用户在地图应用界面上输入的字符之前,所述方法还包括:5. The method according to any one of claims 1 to 4, characterized in that, before the detection whether the character input by the user on the map application interface is received, the method further comprises: 检测用户终端的触摸屏上是否发生触控操作;Detect whether a touch operation occurs on the touch screen of the user terminal; 若检测所述用户终端的触摸屏上发生所述触控操作,获取所述触控操作的触控参数;If it is detected that the touch operation occurs on the touch screen of the user terminal, acquiring touch parameters of the touch operation; 检测所述触控参数与预设的用于启动所述用户终端的导航模式的参数是否匹配;Detecting whether the touch parameters match the preset parameters for starting the navigation mode of the user terminal; 若检测到所述触控参数与所述预设的用于启动所述用户终端的导航模式的参数匹配,则启动所述导航模式,以在所述用户终端上输出所述地图应用界面。If it is detected that the touch parameter matches the preset parameter for activating the navigation mode of the user terminal, the navigation mode is activated to output the map application interface on the user terminal. 6.一种用户终端,其特征在于,包括:6. A user terminal, characterized in that, comprising: 检测单元,用于检测是否接收到用户在地图应用界面上输入的字符;A detection unit, configured to detect whether a character input by the user on the map application interface is received; 获取单元,用于若所述检测单元检测接收到所述字符,获取用户终端的当前位置;An acquisition unit, configured to acquire the current location of the user terminal if the detection unit detects that the characters are received; 输出单元,用于根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息。An output unit, configured to output text information matching the characters according to the current location of the user terminal. 7.根据权利要求6所述的用户终端,其特征在于,所述输出单元包括:7. The user terminal according to claim 6, wherein the output unit comprises: 确定模块,用于根据所述用户终端的当前位置,确定与所述用户终端的当前位置关联的预设区域;A determining module, configured to determine a preset area associated with the current location of the user terminal according to the current location of the user terminal; 选择模块,用于在所述预设区域内的多个地理位置中选择与所述字符相匹配的目标地理位置;A selection module, configured to select a target geographic location matching the character from multiple geographic locations in the preset area; 输出模块,用于输出所述与所述字符相匹配的目标地理位置对应的文字信息。An output module, configured to output the text information corresponding to the target geographic location matched with the characters. 8.根据权利要求6所述的用户终端,其特征在于,所述用户终端还包括:8. The user terminal according to claim 6, wherein the user terminal further comprises: 存储单元,用于存储所述与所述字符相匹配的文字信息,作为与所述用户终端的当前位置关联的关联信息的一部分。A storage unit, configured to store the text information matching the character as a part of the associated information associated with the current location of the user terminal. 9.根据权利要求8所述的用户终端,其特征在于,9. The user terminal according to claim 8, characterized in that, 所述检测单元,还用于在所述获取单元获取用户终端的当前位置之后,所述输出单元根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息之前,检测所述用户终端中是否存储与所述用户终端的当前位置关联的关联信息;The detecting unit is further configured to detect the user terminal after the acquiring unit acquires the current location of the user terminal and before the output unit outputs text information matching the character according to the current location of the user terminal. whether the associated information associated with the current location of the user terminal is stored in the terminal; 所述输出单元用于在所述检测单元检测到所述用户终端中未存储所述关联信息,根据所述用户终端的当前位置,输出与所述字符相匹配的文字信息;The output unit is configured to output text information matching the character according to the current location of the user terminal when the detection unit detects that the associated information is not stored in the user terminal; 所述输出单元还用于在所述检测单元检测到所述用户终端中存储有所述关联信息时,在所述关联信息中获取与所述字符对应的文字信息,并输出在所述关联信息中获取的与所述字符对应的文字信息。The output unit is further configured to obtain text information corresponding to the character from the associated information when the detecting unit detects that the associated information is stored in the user terminal, and output the text information in the associated information The text information corresponding to the character obtained in . 10.根据权利要求6~9中任意一项所述的用户终端,其特征在于,10. The user terminal according to any one of claims 6-9, characterized in that, 所述检测单元,还用于在检测是否接收到用户在地图应用界面上输入的字符之前,检测所述用户终端的触摸屏上是否发生触控操作;The detection unit is further configured to detect whether a touch operation occurs on the touch screen of the user terminal before detecting whether a character input by the user on the map application interface is received; 所述获取单元,还用于若所述检测单元检测所述用户终端的触摸屏上发生所述触控操作,获取所述触控操作的触控参数;The acquisition unit is further configured to acquire touch parameters of the touch operation if the detection unit detects that the touch operation occurs on the touch screen of the user terminal; 所述检测单元,还用于检测所述触控参数与预设的用于启动所述用户终端的导航模式的参数是否匹配;The detection unit is further configured to detect whether the touch parameters match the preset parameters for starting the navigation mode of the user terminal; 所述用户终端还包括:The user terminal also includes: 启动单元,用于若所述检测单元检测到所述触控参数与所述预设的用于启动所述用户终端的导航模式的参数匹配,则启动所述导航模式,以在所述用户终端上输出所述地图应用界面。A starting unit, configured to start the navigation mode if the detection unit detects that the touch parameters match the preset parameters for starting the navigation mode of the user terminal, so that the user terminal can The map application interface is output above.
CN201510733667.7A 2015-10-30 2015-10-30 An input method and user terminal based on location information Pending CN105549756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510733667.7A CN105549756A (en) 2015-10-30 2015-10-30 An input method and user terminal based on location information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510733667.7A CN105549756A (en) 2015-10-30 2015-10-30 An input method and user terminal based on location information

Publications (1)

Publication Number Publication Date
CN105549756A true CN105549756A (en) 2016-05-04

Family

ID=55828977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510733667.7A Pending CN105549756A (en) 2015-10-30 2015-10-30 An input method and user terminal based on location information

Country Status (1)

Country Link
CN (1) CN105549756A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof
CN102216889A (en) * 2011-06-21 2011-10-12 华为终端有限公司 Control method for touch screen device and touch screen device
CN102426591A (en) * 2011-10-31 2012-04-25 北京百度网讯科技有限公司 Method and device for operating corpus used for content input
CN102722280A (en) * 2012-05-21 2012-10-10 华为技术有限公司 Method and device for controlling screen movement, and terminal
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
CN104428734A (en) * 2012-06-25 2015-03-18 微软公司 Input method editor application platform
CN104423621A (en) * 2013-08-22 2015-03-18 北京搜狗科技发展有限公司 Pinyin string processing method and device
CN104699372A (en) * 2015-03-17 2015-06-10 惠州Tcl移动通信有限公司 Method and system for self-adaptively changing window size

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof
CN102216889A (en) * 2011-06-21 2011-10-12 华为终端有限公司 Control method for touch screen device and touch screen device
CN102426591A (en) * 2011-10-31 2012-04-25 北京百度网讯科技有限公司 Method and device for operating corpus used for content input
CN102722280A (en) * 2012-05-21 2012-10-10 华为技术有限公司 Method and device for controlling screen movement, and terminal
CN104428734A (en) * 2012-06-25 2015-03-18 微软公司 Input method editor application platform
CN104423621A (en) * 2013-08-22 2015-03-18 北京搜狗科技发展有限公司 Pinyin string processing method and device
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
CN104699372A (en) * 2015-03-17 2015-06-10 惠州Tcl移动通信有限公司 Method and system for self-adaptively changing window size

Similar Documents

Publication Publication Date Title
US10990257B2 (en) Object displaying method, terminal device, and computer storage medium
CN109075820B (en) Bluetooth pairing method, terminal device and readable storage medium
CN103713843B (en) For generating the method and apparatus of task recommendation icon in the mobile device
CN109597557B (en) Method of controlling list scroll bar and electronic device using the same
AU2016424950A1 (en) Method for displaying current geographical location on emergency call screen and terminal
CN104852885B (en) Method, device and system for verifying verification code
US11079930B2 (en) Method and terminal for displaying a plurality of content cards
CN105183284A (en) Short message viewing method and user terminal
CN105241446B (en) A kind of indoor navigation route generation method and user terminal
CN106453830A (en) A fall detection method and device
CN114827914B (en) Short message processing method, device and electronic equipment
CN105960004A (en) Mobile terminal positioning function control method, and mobile terminal
US10620803B2 (en) Selecting at least one graphical user interface item
CN105554752A (en) Hotspot sharing method and related equipment
CN104777976A (en) Interface operation method
CN105224133A (en) A kind of pressure calibration method and device
CN113906381A (en) Electronic device for displaying messages and method of operating the same
CN105100449B (en) A kind of picture sharing method and mobile terminal
CN104835105A (en) Picture processing method and device
KR20150001130A (en) Method for processing user input and apparatus for the same
CN105374229B (en) A kind of route generation method and user terminal
CN108541311B (en) Method for displaying character string and terminal equipment
CN104777978A (en) Terminal
CN110221736A (en) Icon processing method, device, mobile terminal and storage medium
US20170068413A1 (en) Providing an information set relating to a graphical user interface element on a graphical user interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160504