CN105975099B - Input method implementation method and device - Google Patents

Input method implementation method and device Download PDF

Info

Publication number
CN105975099B
CN105975099B CN201610279051.1A CN201610279051A CN105975099B CN 105975099 B CN105975099 B CN 105975099B CN 201610279051 A CN201610279051 A CN 201610279051A CN 105975099 B CN105975099 B CN 105975099B
Authority
CN
China
Prior art keywords
position information
user
information
geographical position
place name
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.)
Active
Application number
CN201610279051.1A
Other languages
Chinese (zh)
Other versions
CN105975099A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610279051.1A priority Critical patent/CN105975099B/en
Publication of CN105975099A publication Critical patent/CN105975099A/en
Application granted granted Critical
Publication of CN105975099B publication Critical patent/CN105975099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an input method implementation method and device, wherein the input method implementation method comprises the following steps: receiving place name information input by a user in an input method interface; acquiring geographical position information of the place name information, and displaying the geographical position information to a user, wherein the geographical position information is address information corresponding to the place name information, and the geographical position information is at least one; and acquiring one piece of geographical position information selected by the user from the displayed geographical position information, and inputting the geographical position information selected by the user into the information input interface. The method can realize automatic completion of the geographical position information.

Description

Input method implementation method and device
Technical Field
The invention relates to the technical field of input methods, in particular to a method and a device for realizing an input method.
Background
When the user uses the input method, in order to reduce the input amount of the user, when the user only inputs partial information, the relevant completed complete information can be presented on the candidate bar of the input method for the user to select. For example, after the user inputs the letter "zi'm", the letter "subtitle" and the like are presented on the candidate bar for the user to select. However, the current input method can only provide some completion schemes of the hotword.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present invention is to provide a method for implementing an input method, which can implement automatic completion of geographic location information.
The invention also aims to provide a device for realizing the input method.
In order to achieve the above object, an implementation method of an input method according to an embodiment of a first aspect of the present invention includes: receiving place name information input by a user in an input method interface; acquiring geographical position information of the place name information, and displaying the geographical position information to a user, wherein the geographical position information is address information corresponding to the place name information, and the geographical position information is at least one; and acquiring one piece of geographical position information selected by the user from the displayed geographical position information, and inputting the geographical position information selected by the user into the information input interface.
The method for implementing the input method provided by the embodiment of the first aspect of the invention can acquire the geographical position information and display the geographical position information to the user, can implement automatic completion of the geographical position information, and is convenient for the user to use.
In order to achieve the above object, an apparatus for implementing an input method according to an embodiment of the second aspect of the present invention includes: the receiving module is used for receiving place name information input by a user in the input method interface; the acquisition module is used for acquiring the geographical position information of the place name information and displaying the geographical position information to a user, wherein the geographical position information is address information corresponding to the place name information, and the geographical position information is at least one; the input module is used for acquiring one piece of geographical position information selected by the user from the displayed geographical position information and inputting the geographical position information selected by the user into the information input interface.
The device for implementing the input method provided by the embodiment of the second aspect of the invention can automatically complement the geographical position information by acquiring the geographical position information and displaying the geographical position information to the user, thereby being convenient for the user to use.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a method for implementing an input method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a user entering place name information in an input method interface according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a method for implementing an input method according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of geographic location information completion in an embodiment of the present invention;
FIG. 5 is a schematic illustration of entering geographic location information in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for implementing an input method according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus for implementing an input method according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar modules or modules having the same or similar functionality throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a schematic flow chart of a method for implementing an input method according to an embodiment of the present invention, where the method includes:
s11: and receiving place name information input by a user in the input method interface.
For example, a user may first invoke an input method within the information input interface to enter information via the input method.
The information input interface is, for example, a chat interface, a short message interface, etc.
After the input method is invoked, the user can input information in the input method interface, and the embodiment takes the input of place name information as an example.
For example, referring to fig. 2, after the user has called up the input method, "me is" entered in the information input interface, and in addition, other information, such as place name information 21, may be entered in the input method interface.
S12: and acquiring the geographical position information of the place name information, and displaying the geographical position information to a user.
The geographic location information is address information corresponding to the place name information, and the geographic location information is at least one, and may be obtained automatically by an input method (for example, obtained automatically after receiving the place name information) and displayed to a user. Or, when the input method determines that the user triggers the geographic position information completion function, the geographic position information is acquired and displayed to the user.
In some embodiments, taking the example of determining that the user triggers the geographic location information completion function as an example, referring to fig. 3, after receiving the place name information (S31) input by the user in the input method interface, the method may further include:
s32: and displaying a button for triggering the geographic position information completion function in the input method interface.
For example, referring to fig. 2, a button 22 for triggering the geographic location information completion function may be included in the input method interface.
S33: and after receiving a click instruction of the user on the button, determining that the user triggers a geographic position information completion function.
For example, when the user clicks the button 22, it may be determined that the user triggers the geographic location information completing function, and acquires the corresponding geographic location information.
In some embodiments, referring to fig. 3, obtaining the geographical location information of the place name information includes:
s34: and acquiring geographical position information corresponding to the place name information input by the user according to the corresponding relation between the pre-established place name information and the geographical position information.
For example, if the location name information a corresponds to the geographical location information B in the pre-established correspondence relationship, the geographical location information B may be acquired when the location name information input by the user is the location name information a.
Wherein one location name information may correspond to one or more geographical location information.
After the geographical location information is acquired, the geographical location information may be presented to the user (S35).
Optionally, the method may further include:
s38: acquiring map data;
s39: and establishing a corresponding relation between the place name information and the geographical position information according to the map data.
The map data can record the place name information and the corresponding geographic position information, and then the corresponding relation between the place name information and the geographic position information can be established according to the map data.
Optionally, the map data may be downloaded locally to the client, or the map data is located at the server, and the map data is obtained from the server through networking between the client and the server.
After acquiring the geographical location information corresponding to the place name information input by the user, as shown in fig. 4, the geographical location information 41 may be displayed to the user, and the displayed geographical location information may be one or more.
S13: and acquiring geographical position information selected by the user from the displayed geographical position information, and inputting the geographical position information selected by the user into the information input interface.
Optionally, the obtaining of the geographical location information selected by the user from the displayed geographical location information includes:
s36: and determining the geographical position information clicked by the user as one geographical position information selected by the user.
For example, referring to fig. 4, two geographical location information are presented to the user, and assuming that the user clicks the first geographical location information, it may be determined that the geographical location information selected by the user is the first geographical location information.
After the user-selected geographical location information is determined, one geographical location information selected by the user may be input into the information input interface (S37). For example, referring to FIG. 5, user selected geographic location information 51 is entered into the information input interface.
In the embodiment, the geographic position information is acquired and displayed to the user, so that the geographic position information can be automatically supplemented, and the user can use the geographic position information conveniently.
Fig. 6 is a schematic structural diagram of an apparatus for implementing an input method according to another embodiment of the present invention, where the apparatus 60 includes: a receiving module 61, an obtaining module 62 and an input module 63.
The receiving module 61 is used for receiving place name information input by a user in the input method interface;
for example, a user may first invoke an input method within the information input interface to enter information via the input method.
The information input interface is, for example, a chat interface, a short message interface, etc.
After the input method is invoked, the user can input information in the input method interface, and the embodiment takes the input of place name information as an example.
For example, referring to fig. 2, after the user has called up the input method, "me is" entered in the information input interface, and in addition, other information, such as place name information 21, may be entered in the input method interface.
An obtaining module 62, configured to obtain geographic position information of the place name information, and display the geographic position information to a user, where the geographic position information is address information corresponding to the place name information, and the geographic position information is at least one;
optionally, the obtaining module 62 is specifically configured to:
automatically acquiring geographical position information of the place name information, and displaying the geographical position information to a user; alternatively, the first and second electrodes may be,
and when the fact that the user triggers the geographic position information completion function is determined, acquiring the geographic position information of the place name information, and displaying the geographic position information to the user.
In some embodiments, referring to fig. 7, the apparatus 60 further comprises:
a display module 64, configured to display a button for triggering the geographic location information completion function in the input method interface;
for example, referring to fig. 2, a button 22 for triggering the geographic location information completion function may be included in the input method interface.
And the determining module 65 is configured to determine that the user triggers the geographic location information completing function after receiving a click instruction of the user on the button.
For example, when the user clicks the button 22, it may be determined that the user triggers the geographic location information completing function, and acquires the corresponding geographic location information.
Optionally, the obtaining module 62 is configured to obtain geographic location information of the place name information, and includes:
and acquiring geographical position information corresponding to the place name information input by the user according to the corresponding relation between the pre-established place name information and the geographical position information.
For example, if the location name information a corresponds to the geographical location information B in the pre-established correspondence relationship, the geographical location information B may be acquired when the location name information input by the user is the location name information a.
Wherein one location name information may correspond to one or more geographical location information.
In some embodiments, referring to fig. 7, the apparatus 60 further comprises:
an establishing module 66 for obtaining map data; and establishing a corresponding relation between the place name information and the geographic position information according to the map data.
The map data can record the place name information and the corresponding geographic position information, and then the corresponding relation between the place name information and the geographic position information can be established according to the map data.
Optionally, the map data may be downloaded locally to the client, or the map data is located at the server, and the map data is obtained from the server through networking between the client and the server.
After acquiring the geographical location information corresponding to the place name information input by the user, as shown in fig. 4, the geographical location information 41 may be displayed to the user, and the displayed geographical location information may be one or more.
The input module 63 is configured to obtain one piece of geographical location information selected by the user from the displayed geographical location information, and input the one piece of geographical location information selected by the user into the information input interface.
Optionally, the input module 63 is configured to obtain geographic location information selected by the user from the displayed geographic location information, and includes:
and determining the geographical position information clicked by the user as the geographical position information selected by the user.
For example, referring to fig. 4, two geographical location information are presented to the user, and assuming that the user clicks the first geographical location information, it may be determined that the geographical location information selected by the user is the first geographical location information.
After the user-selected geographic location information is determined, the user-selected geographic location information may be entered into the information input interface. For example, referring to FIG. 5, user selected geographic location information 51 is entered into the information input interface.
In the embodiment, the geographic position information is acquired and displayed to the user, so that the geographic position information can be automatically supplemented, and the user can use the geographic position information conveniently.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (12)

1. An implementation method of an input method is characterized by comprising the following steps:
receiving place name information input by a user in an input method interface;
acquiring geographical position information of the place name information, and displaying the geographical position information to a user, wherein the geographical position information is address information corresponding to the place name information, and the geographical position information is at least one;
and acquiring one piece of geographical position information selected by the user from the displayed geographical position information, and inputting the geographical position information selected by the user into the information input interface.
2. The method according to claim 1, wherein the obtaining geographic location information of the place name information and presenting the geographic location information to a user comprises:
the input method automatically acquires the geographical position information of the place name information and displays the geographical position information to a user; alternatively, the first and second electrodes may be,
and when the fact that the user triggers the geographic position information completion function is determined, acquiring the geographic position information of the place name information, and displaying the geographic position information to the user.
3. The method of claim 2, further comprising:
displaying a button for triggering a geographic position information completion function in the input method interface;
and after receiving a click instruction of the user on the button, determining that the user triggers a geographic position information completion function.
4. The method of claim 1, wherein obtaining a user selected one of the presented geographic location information comprises:
and determining the geographical position information clicked by the user as one geographical position information selected by the user.
5. The method of claim 1, wherein the obtaining the geographical location information of the place name information comprises:
and acquiring geographical position information corresponding to the place name information input by the user according to the corresponding relation between the pre-established place name information and the geographical position information.
6. The method of claim 5, further comprising:
acquiring map data;
and establishing a corresponding relation between the place name information and the geographical position information according to the map data.
7. An apparatus for implementing an input method, comprising:
the receiving module is used for receiving place name information input by a user in the input method interface;
the acquisition module is used for acquiring the geographical position information of the place name information and displaying the geographical position information to a user, wherein the geographical position information is address information corresponding to the place name information, and the geographical position information is at least one;
the input module is used for acquiring one piece of geographical position information selected by the user from the displayed geographical position information and inputting the geographical position information selected by the user into the information input interface.
8. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
automatically acquiring geographical position information of the place name information, and displaying the geographical position information to a user; alternatively, the first and second electrodes may be,
and when the fact that the user triggers the geographic position information completion function is determined, acquiring the geographic position information of the place name information, and displaying the geographic position information to the user.
9. The apparatus of claim 8, further comprising:
the display module is used for displaying a button for triggering the geographic position information completion function in the input method interface;
and the determining module is used for determining that the user triggers the geographic position information completion function after receiving a click instruction of the user on the button.
10. The apparatus of claim 7, wherein the input module is configured to obtain the geographical location information selected by the user from the presented geographical location information, and comprises:
and determining the geographical position information clicked by the user as one geographical position information selected by the user.
11. The apparatus of claim 7, wherein the obtaining module is configured to obtain geographic location information of the place name information, and includes:
and acquiring geographical position information corresponding to the place name information input by the user according to the corresponding relation between the pre-established place name information and the geographical position information.
12. The apparatus of claim 11, further comprising:
the building module is used for obtaining map data; and establishing a corresponding relation between the place name information and the geographic position information according to the map data.
CN201610279051.1A 2016-04-28 2016-04-28 Input method implementation method and device Active CN105975099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610279051.1A CN105975099B (en) 2016-04-28 2016-04-28 Input method implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610279051.1A CN105975099B (en) 2016-04-28 2016-04-28 Input method implementation method and device

Publications (2)

Publication Number Publication Date
CN105975099A CN105975099A (en) 2016-09-28
CN105975099B true CN105975099B (en) 2020-02-04

Family

ID=56994844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610279051.1A Active CN105975099B (en) 2016-04-28 2016-04-28 Input method implementation method and device

Country Status (1)

Country Link
CN (1) CN105975099B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095891A (en) * 2011-10-27 2013-05-08 中兴通讯股份有限公司 Method, device and terminal of quickly inputting information of business card
CN103970911A (en) * 2014-05-28 2014-08-06 苏州数字地图网络科技有限公司 Intelligent word segmentation querying method based on geographical name bank and intelligent word segmentation querying system based on geographical name bank

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1420423A (en) * 2001-11-20 2003-05-28 王则林 Quick geographic position name input method and device
KR20040058439A (en) * 2002-12-26 2004-07-05 엘지전자 주식회사 User position inform method in using mobile communication terminal
JP4040573B2 (en) * 2003-12-12 2008-01-30 キヤノン株式会社 Speech recognition apparatus and method
CN101840406B (en) * 2009-03-20 2015-10-14 富士通株式会社 Place name searching device and system
CN103714092A (en) * 2012-09-29 2014-04-09 北京百度网讯科技有限公司 Geographic position searching method and geographic position searching device
CN103440312B (en) * 2013-08-27 2019-01-22 深圳市华傲数据技术有限公司 A kind of system and terminal of mailing address inquiry postcode
CN104503994A (en) * 2014-12-04 2015-04-08 百度在线网络技术(北京)有限公司 Information recommendation method and device based on input method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095891A (en) * 2011-10-27 2013-05-08 中兴通讯股份有限公司 Method, device and terminal of quickly inputting information of business card
CN103970911A (en) * 2014-05-28 2014-08-06 苏州数字地图网络科技有限公司 Intelligent word segmentation querying method based on geographical name bank and intelligent word segmentation querying system based on geographical name bank

Also Published As

Publication number Publication date
CN105975099A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
US10469426B2 (en) Content delivery control
CN110380955B (en) Message processing method and device and electronic equipment
KR20210129273A (en) Redundant tracking system
US20190302972A1 (en) Browsing applications on mobile device via a wearable device
US11151518B2 (en) Natural language event
CN106874176B (en) Intelligent test method and device
KR20150027553A (en) System and method for dynamic visualization of poi(point of interest) features, and refresh method of poi features
CN110036401B (en) Interactive user interface for profile management
CN104013410B (en) Audio frequency playing method, Apparatus and system
JP2008102252A (en) Map display device and program
CN110781408A (en) Information display method and device
CN109683728B (en) Group member adding method and device
CN104063433A (en) Method and device for displaying recommended contents
CN107196980B (en) Method, system and device for controlling page display flow
CN112132654A (en) Method, device and storage medium for displaying house source information
CN105469787B (en) Information display method and device
EP3123435A1 (en) End user performance analysis
CN105975099B (en) Input method implementation method and device
CN113031837B (en) Content sharing method and device, storage medium, terminal and server
CN110928854A (en) Data import method and device and electronic equipment
CN112950303A (en) Order processing method and device, electronic equipment and storage medium
EP2889582A1 (en) Information management system
US10339582B2 (en) System and method for increasing location awareness of organizations
TWI759004B (en) Target object display method, electronic device and computer-readable storage medium
CN111382038B (en) Method, device, electronic equipment and storage medium for reporting service data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant