CN106095128B - Character input method of mobile terminal and mobile terminal - Google Patents

Character input method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106095128B
CN106095128B CN201610416680.4A CN201610416680A CN106095128B CN 106095128 B CN106095128 B CN 106095128B CN 201610416680 A CN201610416680 A CN 201610416680A CN 106095128 B CN106095128 B CN 106095128B
Authority
CN
China
Prior art keywords
mobile terminal
character string
information
feature
preset
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
CN201610416680.4A
Other languages
Chinese (zh)
Other versions
CN106095128A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610416680.4A priority Critical patent/CN106095128B/en
Publication of CN106095128A publication Critical patent/CN106095128A/en
Application granted granted Critical
Publication of CN106095128B publication Critical patent/CN106095128B/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)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a character input method of a mobile terminal, which comprises the following steps: acquiring characteristic information of a first application program of the mobile terminal; updating a preset feature word bank based on the feature information; acquiring a first character string input by a mobile terminal user in a character input box; determining a second character string matched with the first character string based on the updated preset feature word bank; displaying a second character string after the first character string. The invention also discloses a corresponding mobile terminal. The input method disclosed by the embodiment of the invention can realize that the objects such as characters and the like can be quickly input according to the current use situation of the mobile terminal, and improves the use experience of a user.

Description

Character input method of mobile terminal and mobile terminal
Technical Field
The invention relates to the technical field of mobile communication, in particular to a character input method of a mobile terminal and the mobile terminal.
Background
With the rapid development of mobile communication technology, more and more applications are installed on portable mobile terminals. Many applications need to input text or other contents to complete interaction, such as chat software, ticket-grabbing software, etc., so how to input text and other objects quickly becomes a common requirement for users.
Currently, a user needs to input a certain vocabulary, for example, a friend has a name during a chat process, but the user needs to input the name, and during the input process, candidate words need to be input and selected word by recalling, which is inconvenient and time-consuming.
Disclosure of Invention
The embodiment of the invention provides a character input method of a mobile terminal and the mobile terminal, which aim to solve the problems of inconvenient operation and time consumption of the existing vocabulary input method.
In one aspect, an embodiment of the present invention provides a text input method for a mobile terminal, where the text input method includes:
acquiring characteristic information of a first application program of the mobile terminal;
updating a preset feature word bank based on the feature information;
acquiring a first character string input by a mobile terminal user in a character input box;
determining a second character string matched with the first character string based on the updated preset feature word bank;
displaying a second character string after the first character string.
On the other hand, an embodiment of the present invention further provides a mobile terminal, including:
the first acquisition module is used for acquiring the characteristic information of a first application program of the mobile terminal;
the updating module is used for updating a preset feature word bank based on the feature information acquired by the first acquiring module;
the second acquisition module is used for acquiring a first character string input by a mobile terminal user in the character input box;
the determining module is used for determining a second character string matched with the first character string acquired by the acquiring module based on the preset feature word bank updated by the updating module;
and the display module is used for displaying the second character string determined by the determination module after the first character string.
According to the input method provided by the embodiment of the invention, the characteristic information of the first application program of the mobile terminal is obtained, the preset characteristic word bank is updated based on the characteristic information, the first character string input by the mobile terminal user in the character input box is obtained, the second character string matched with the first character string is determined based on the updated preset characteristic word bank, and the second character string is displayed behind the first character string, so that the preset characteristic word bank is updated according to the current use environment of the mobile terminal, the second character string required to be input by the user is rapidly determined, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only drawings of some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a first embodiment of the input method of the present invention;
FIG. 2 is a flow chart of a second embodiment of the input method of the present invention;
FIG. 3 is a flow chart of a third embodiment of the input method of the present invention;
fig. 4 is one of the configuration block diagrams of the first embodiment of the mobile terminal of the present invention;
fig. 5 is a second block diagram of the structure of the first embodiment of the mobile terminal of the present invention;
fig. 6 is a third block diagram of the mobile terminal according to the first embodiment of the present invention;
fig. 7 is a block diagram of the structure of a second embodiment of the mobile terminal of the present invention;
fig. 8 is a block diagram of the structure of the third embodiment of the mobile terminal of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First embodiment
Fig. 1 is a flow chart of a first embodiment of the input method of the present invention. The input method comprises the following steps:
step 101, obtaining characteristic information of a first application program of a mobile terminal.
In the embodiment of the invention, the characteristic information of the first application program of the mobile terminal is obtained. For example, if the first application is an application labeled as travel traffic such as railway 12306, the location name information is used as the feature information according to the functionality; if the first application program is a chat window, the information such as the name and the content of the chat group can be detected, and the characteristic information of the chat group can be obtained. The feature information should include various languages, such as english, german, web language, and programming language, in addition to chinese.
In the embodiment of the invention, the characteristic information at least comprises one or more of application program name, chat group name, chat record and attention information. For example, when the first application program is QQ and a chat group name in the QQ chat group of the mobile terminal user is "stock group", 3 words of "stock group" are obtained in this step. Such as in rail 12306, the application name information is obtained.
And 102, updating a preset feature word library based on the feature information.
In this embodiment, the process of updating the preset feature lexicon based on the feature information may include, on one hand, obtaining the cell preset feature lexicon according to the feature information to update the preset feature lexicon, and, for example, obtaining the cell preset feature lexicon related to the city according to the feature information of the city; on the other hand, specific feature information can be updated to a preset feature word bank, for example, high-frequency words or pictures used in a chat window are updated to the preset feature word bank.
If the 3 characters of the chat group named as the "stock-frying group" are obtained in the step 101, a cell preset feature word library related to the "stock-frying" is obtained according to the feature word of the stock-frying group, wherein the cell preset feature word library related to the "stock-frying" includes stocks related words in stock market, cattle market and the like, and then all words related to the "stock-frying" in the cell preset feature word library are updated to the preset feature word library. If the names of the applications of the railways 12306 are obtained in step 101, the words of all the city names, such as "shanghai" and "beijing", are updated to the predetermined feature lexicon.
Step 103, acquiring a first character string input by a mobile terminal user in a character input box.
In this embodiment, a first character string of a user in a first application program is received, which includes input of characters, input of voice, and the like.
And 104, determining a second character string matched with the first character string based on the updated preset feature word library.
In this embodiment, when the user inputs characters using the input method, the updated preset feature lexicon may be applied to the current input method. For example, in a railway 12306 application, when the input method pinyin inputs "sh", the second character string matching the first character string can be quickly determined to be "shanghai".
Step 105, displaying the second character string after the first character string.
According to the input method provided by the embodiment of the invention, the characteristic information of the first application program of the mobile terminal is obtained, the preset characteristic word bank is updated based on the characteristic information, the first character string input by the mobile terminal user in the character input box is obtained, the second character string matched with the first character string is determined based on the updated preset characteristic word bank, and the second character string is displayed behind the first character string, so that the preset characteristic word bank is updated according to the current use environment of the mobile terminal, the second character string required to be input by the user is rapidly determined, and the use experience of the user is improved.
Second embodiment
Fig. 2 is a flow chart of a second embodiment of the input method of the present invention. The input method comprises the following steps:
step 201, storing the feature words input by the mobile terminal user into the preset feature word bank.
In the embodiment of the invention, the characteristic words input by the user can be directly stored in the preset characteristic word bank.
Step 202, obtaining the chat information of the second application program of the mobile terminal in real time.
In this embodiment, if the second application program includes a chat window, etc., the chat information of the second application program is obtained in real time, for example, whether the chat information includes contents such as a name of a person, a place name, or a phone number, which appear many times is analyzed.
Step 203, extracting the characteristic words of the chat information.
In this embodiment, the feature words of the chat information are extracted, where the feature words may include names of people, names of places, phone numbers, or phrases appearing at high frequency. The characteristic words of the chat information are not limited to the text form and can also be voice; if the voice is the voice, the voice needs to be converted into characters, and then the characteristic words are extracted.
And 204, storing the extracted feature words to the preset feature word bank.
Step 205, acquiring feature information of a first application program of the mobile terminal.
And step 206, updating a preset feature word bank based on the feature information.
Step 207, acquiring a first character string input by the mobile terminal user in the character input box.
Step 205-207 is the same as the corresponding step of the first embodiment of the input method of the present invention, and is not described herein again.
And 208, determining at least one alternative character string based on the updated preset feature word library.
In the embodiment of the invention, at least one alternative character is determined based on the first character string updated to the preset feature word bank and the user, for example, when the user inputs "zs", a plurality of alternative characters such as "knowledge", "importance", "illumination" and "Zhongshan" are determined.
Step 209, determining a second character string matching the first character string from the at least one candidate character string based on the feature information of the first application program.
In the embodiment of the present invention, the corresponding second character string should be determined according to the characteristic information of the first application, for example, when the first application is a railway 12306, "zhongshan" should be determined as the second character string.
Step 210, displaying the second character string after the first character string.
Step 210 is the same as the corresponding step of the first embodiment of the input method of the present invention, and is not described herein again.
In the embodiment of the invention, the preset feature word bank is shared with another mobile terminal in a preset sharing mode.
For example, the feature information may be obtained from a preset feature word library shared by the chat objects. For example, after two or more parties of the second application select to share the preset feature lexicon, the two or more parties pair with each other, and if the pairing is successful, the preset feature lexicon of the other party or the other party can be accessed. In addition, words in the two-party or multi-party preset feature word stock can be integrated into a public preset feature word stock, and the user can directly acquire feature information in the public preset feature word stock. And then, the priority of the alternative characters obtained from the shared preset feature word bank or the public preset feature word bank is improved, and the alternative characters are matched preferentially after the first character string of the user is received.
According to the input method provided by the embodiment of the invention, the chat information of the second application program of the mobile terminal is acquired in real time; extracting characteristic words of the chat information; storing the extracted feature words into the preset feature word bank; updating a preset feature word bank based on the feature information; acquiring a first character string input by a mobile terminal user in a character input box; determining at least one alternative character string based on the updated preset feature word bank; and determining a second character string matched with the first character string from the at least one alternative character string based on the characteristic information of the first application program. Therefore, the feature information is directly acquired from the second application program and added to the preset feature word bank or the priority of the feature information in the preset feature word bank is improved, so that the time of inputting the second character string by the user in the chat process is shortened, and the user experience is improved.
Third embodiment
Fig. 3 is a flow chart of a third embodiment of the input method of the present invention. The input method comprises the following steps:
step 301, acquiring the text content in the clipboard of the mobile terminal in real time.
In the embodiment of the invention, the text contents in the clipboards can be obtained in real time, and the text contents in the clipboards are contents which a user wants to use for many times.
Step 302, extracting feature words of the text content in the clipboard.
In the embodiment of the invention, the characteristic words are extracted from the text contents in the clipboard by analyzing the text contents.
And 303, storing the extracted feature words to the preset feature word bank.
In the embodiment of the invention, the extracted characteristic words are stored in a preset characteristic word bank.
Step 304, acquiring feature information of a first application program of the mobile terminal.
Step 304 is the same as the corresponding step of the first embodiment of the input method of the present invention, and is not described herein again.
And 305, updating a preset feature word library based on the feature information.
In the embodiment of the invention, the preset feature lexicon can be updated according to the feature information converted from the geographic position information. For example, when the geographic location information is a city where the mobile terminal is located, the phrase with higher association degree with the city can be imported into a preset feature word library according to the city name; and when the geographic position information is the specific geographic position information of the mobile terminal, directly taking the text of the specific geographic position information as the characteristic information and receiving the text into a preset characteristic word bank.
Step 306, acquiring a first character string input by the mobile terminal user in the character input box.
In the embodiment of the invention, the preset keywords associated with the specific characters can be preset. For example, if "i am" is used as the preset keyword associated with the character of the current specific geographical location information, when the user inputs "i am", the character of the current specific geographical location information is displayed as the second character string for the user to select, and even the geographical location information may be displayed on the screen. And when the first character string is a preset keyword, entering step 307.
And 307, acquiring the geographical position information of the mobile terminal through GPS positioning.
In the embodiment of the invention, the information of the current geographic position of the mobile terminal can be obtained through positioning systems such as a GPS and the like, and the information can comprise a specific geographic position.
Step 308, converting the geographical location information of the mobile terminal into the second character string.
In the embodiment of the invention, the geographical position information measured by the GPS can be converted into the second character string.
Step 309, displaying the second character string after the first character string.
Step 309 is the same as the corresponding step of the first embodiment of the input method of the present invention, and is not described herein again.
According to the input method provided by the embodiment of the invention, the geographical position information of the mobile terminal is obtained through GPS positioning; and converting the geographical position information of the mobile terminal into the second character string. Therefore, the geographic position information is directly converted into the text information, the time for inputting the second character string containing the geographic position information by the user is shortened, and the user experience is improved.
The above description details embodiments of the display method of the mobile terminal of the present invention. The apparatus (i.e., mobile terminal) corresponding to the above method is further described below. The mobile terminal may be a mobile phone, a tablet computer, an MP3, an MP4, or the like.
Fourth embodiment
Fig. 4 is a block diagram of a mobile terminal according to a first embodiment of the present invention. The mobile terminal 500 includes a first obtaining module 501, an updating module 502, a second obtaining module 503, a determining module 504 and a display module 505, wherein the first obtaining module 501 is connected to the updating module 502, the updating module 502 is connected to the second obtaining module 503, the second obtaining module 503 is connected to the determining module 504, and the determining module 504 is connected to the online module 505.
In this embodiment of the present invention, the first obtaining module 501 is configured to obtain feature information of a first application program of a mobile terminal.
In the embodiment of the invention, the characteristic information of the first application program of the mobile terminal is obtained. For example, if the first application is an application labeled as travel traffic such as railway 12306, the location name information is used as the feature information according to the functionality; if the first application program is a chat window, the information such as the name and the content of the chat group can be detected, and the characteristic information of the chat group can be obtained. The feature information should include various languages, such as english, german, web language, and programming language, in addition to chinese.
In the embodiment of the invention, the characteristic information at least comprises one or more of application program name, chat group name, chat record and attention information.
An updating module 502, configured to update a preset feature lexicon based on the feature information acquired by the first acquiring module.
In this embodiment, the process of updating the preset feature lexicon based on the feature information may include, on one hand, obtaining the cell preset feature lexicon according to the feature information to update the preset feature lexicon, and, for example, obtaining the cell preset feature lexicon related to the city according to the feature information of the city; on the other hand, specific feature information can be updated to a preset feature word bank, for example, high-frequency words or pictures used in a chat window are updated to the preset feature word bank.
A second obtaining module 503, configured to obtain the first character string input by the mobile terminal user in the character input box.
In this embodiment, a first character string of a user in a first application program is received, which includes input of characters, input of voice, and the like.
A determining module 504, configured to determine, based on the preset feature lexicon updated by the updating module, a second character string that matches the first character string acquired by the acquiring module.
In this embodiment, when the user inputs characters using the input method, the updated preset feature lexicon may be applied to the current input method. For example, in a railway 12306 application, when the input method pinyin inputs "sh", the second character string matching the first character string can be quickly determined to be "shanghai".
A display module 505, configured to display the second character string determined by the determination module after the first character string.
As shown in fig. 5, on the basis of fig. 4, the mobile terminal 500 includes:
in this embodiment of the present invention, the second storage module 501 is configured to store the feature words input by the mobile terminal user into the preset feature word bank.
In the embodiment of the invention, the characteristic words input by the user can be directly stored in the preset characteristic word bank.
A third obtaining module 502, configured to obtain, in real time, chat information of a second application program of the mobile terminal.
In this embodiment, if the second application program includes a chat window, etc., the chat information of the second application program is obtained in real time, for example, whether the chat information includes contents such as a name of a person, a place name, or a phone number, which appear many times is analyzed.
The first extraction module 503 is configured to extract the feature words of the chat message extracted by the second acquisition module.
In this embodiment, the feature words of the chat information are extracted, where the feature words may include names of people, names of places, phone numbers, or phrases appearing at high frequency.
A first storage module 504, configured to store the feature words extracted by the first extraction module in the preset feature word bank.
A first obtaining module 505, configured to obtain feature information of a first application program of the mobile terminal.
An updating module 506, configured to update the preset feature lexicon based on the feature information acquired by the first acquiring module.
The second obtaining module 507 is configured to obtain a first character string input by a mobile terminal user in a character input box.
The first obtaining module 505, the updating module 506, and the second obtaining module 507 are the same as the above corresponding modules, and are not described herein again.
A determining module 508, configured to determine, based on the preset feature lexicon updated by the updating module, a second character string that matches the first character string acquired by the acquiring module. The determination module 508 further includes the following elements:
a first determining unit 581, configured to determine at least one candidate character string based on the updated preset feature lexicon.
In the embodiment of the invention, at least one alternative character is determined based on the first character string updated to the preset feature word bank and the user, for example, when the user inputs "zs", a plurality of alternative characters such as "knowledge", "importance", "illumination" and "Zhongshan" are determined.
A second determining unit 582, configured to determine, from the at least one candidate character string determined by the first determining unit, a second character string that matches the first character string based on the feature information of the first application.
In the embodiment of the present invention, the corresponding second character string should be determined according to the characteristic information of the first application, for example, when the first application is a railway 12306, "zhongshan" should be determined as the second character string.
A display module 509, configured to display the second character string determined by the determination module after the first character string.
The display module 509 is the same as the corresponding module described above, and is not described herein again.
In the embodiment of the invention, the preset feature word bank is shared with another mobile terminal in a preset sharing mode.
For example, the feature information may be obtained from a preset feature word library shared by the chat objects. For example, after two or more parties of the second application select to share the preset feature lexicon, the two or more parties pair with each other, and if the pairing is successful, the preset feature lexicon of the other party or the other party can be accessed. In addition, words in the two-party or multi-party preset feature word stock can be integrated into a public preset feature word stock, and the user can directly acquire feature information in the public preset feature word stock. And then, the priority of the alternative characters obtained from the shared preset feature word bank or the public preset feature word bank is improved, and the alternative characters are matched preferentially after the first character string of the user is received.
As shown in fig. 6, on the basis of fig. 4, the mobile terminal 500 further includes:
a fourth obtaining module 501, configured to obtain text content in the clipboard of the mobile terminal in real time.
In the embodiment of the invention, the text contents in the clipboards can be obtained in real time, and the text contents in the clipboards are contents which a user wants to use for many times.
A second extracting module 502, configured to extract feature words of text content in the clipboard.
In the embodiment of the invention, the characteristic words are extracted from the text contents in the clipboard by analyzing the text contents.
A third storage module 503, configured to store the extracted feature words in the preset feature word bank.
In the embodiment of the invention, the extracted characteristic words are stored in a preset characteristic word bank.
The first obtaining module 504 is configured to obtain feature information of a first application program of the mobile terminal.
The first obtaining module 504 is the same as the corresponding module of the present invention, and is not described herein again.
And an updating module 505, configured to update the preset feature lexicon based on the feature information acquired by the first acquiring module.
In the embodiment of the invention, the preset feature lexicon can be updated according to the feature information converted from the geographic position information. For example, when the geographic location information is a city where the mobile terminal is located, the phrase with higher association degree with the city can be imported into a preset feature word library according to the city name; and when the geographic position information is the specific geographic position information of the mobile terminal, directly taking the text of the specific geographic position information as the characteristic information and receiving the text into a preset characteristic word bank.
And a second obtaining module 506, configured to obtain the first character string input by the mobile terminal user in the character input box.
In the embodiment of the invention, the preset keywords associated with the specific characters can be preset. For example, if "i am" is used as the preset keyword associated with the character of the current specific geographical location information, when the user inputs "i am", the character of the current specific geographical location information is displayed as the second character string for the user to select, and even the geographical location information may be displayed on the screen.
The determining module 507 is configured to determine, based on the preset feature lexicon updated by the updating module, a second character string matched with the first character string acquired by the acquiring module.
When the first character string is a preset keyword, the determining module comprises:
an obtaining unit 571, configured to obtain the geographic location information of the mobile terminal through GPS positioning.
In the embodiment of the invention, the information of the current geographic position of the mobile terminal can be obtained through positioning systems such as a GPS and the like, and the information can comprise a specific geographic position.
A converting unit 572, configured to convert the geographic location information of the mobile terminal into the second character string.
In the embodiment of the invention, the geographical position information measured by the GPS can be converted into the second character string.
A display module 508, configured to display the second character string determined by the determination module after the first character string.
The display module 508 is the same as the above-mentioned corresponding module of the present invention, and is not described herein again.
According to the terminal 500 provided by the embodiment of the invention, the feature information of the first application program of the mobile terminal is obtained, the preset feature word bank is updated based on the feature information, the first character string input by the mobile terminal user in the character input box is obtained, and the second character string matched with the first character string is determined based on the updated preset feature word bank, so that the preset feature word bank is updated according to the current use environment of the mobile terminal, and the second character string required to be input by the user is rapidly determined; extracting feature words of the chat information by acquiring the chat information of a second application program of the mobile terminal in real time; the extracted feature words are stored in the preset feature word bank, the preset feature word bank is updated based on the feature information, a first character string input by a mobile terminal user in a character input box is obtained, at least one alternative character string is determined based on the updated preset feature word bank, a second character string matched with the first character string is determined from the at least one alternative character string determined by the first determining unit based on the feature information of the first application program, and therefore the feature information is directly obtained from the second application program and added to the preset feature word bank, and the time of inputting the second character string by the user in the chatting process is shortened; the geographic position information of the mobile terminal is acquired by the GPS, and is converted into the second character string, so that the preset feature word bank is updated according to the feature information of the geographic position information, the time for inputting the second character string by a user is shortened, and the user experience is improved.
Fifth embodiment
Fig. 7 is a block diagram of a fifth embodiment of the mobile terminal of the present invention. The mobile terminal 800 shown in fig. 7 includes: at least one processor 801, memory 802, at least one network interface 804, a user interface 803, and other components 806, the other components 806 including an eye tracking sensor and a front facing camera. The various components in the mobile terminal 800 are coupled together by a bus system 805. It is understood that the bus system 805 is used to enable communications among the components connected. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 8.
The user interface 803 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 802 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 802 of the subject systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 802 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 8021 and application programs 8022.
The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 8022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program implementing a method according to an embodiment of the present invention may be included in application program 8022.
In the embodiment of the present invention, the processor 801 is configured to obtain feature information of a first application program of the mobile terminal by calling a program or an instruction stored in the memory 802, specifically, a program or an instruction stored in the application program 8022; updating a preset feature word bank based on the feature information; acquiring a first character string input by a mobile terminal user in a character input box; determining a second character string matched with the first character string based on the updated preset feature word bank; displaying a second character string after the first character string. The characteristic information at least comprises one or more of application program name, chat group name, chat record and attention information.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The processor 801 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and combines the hardware to complete the steps of the method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 801 is further configured to: determining at least one alternative character string based on the updated preset feature word bank; and determining a second character string matched with the first character string from the at least one alternative character string based on the characteristic information of the first application program.
Optionally, the processor 801 is further configured to: obtaining chat information of a second application program of the mobile terminal in real time; extracting characteristic words of the chat information; and storing the extracted feature words into the preset feature word bank. The type of the characteristic words comprises at least one of characters and voice, and the characteristic words at least comprise one or more of names, telephone numbers and place names.
Optionally, the processor 801 is further configured to: and storing the characteristic words input by the mobile terminal user into the preset characteristic word bank.
Optionally, the processor 801 is further configured to: acquiring geographical position information of the mobile terminal through GPS positioning; and converting the geographical position information of the mobile terminal into the second character string.
Optionally, the processor 801 is further configured to: acquiring the text content in the clipboard of the mobile terminal in real time; extracting characteristic words of the text content in the clipboard; and storing the extracted feature words into the preset feature word bank.
Optionally, the preset feature word library is shared with another mobile terminal in a preset sharing manner.
The mobile terminal 800 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
According to the mobile terminal 800 provided by the embodiment of the invention, the feature information of the first application program of the mobile terminal is obtained, the preset feature lexicon is updated based on the feature information, the first character string input by the mobile terminal user in the character input box is obtained, the second character string matched with the first character string is determined based on the updated preset feature lexicon, and the second character string is displayed behind the first character string, so that the preset feature lexicon is updated according to the current use environment of the mobile terminal, and the second character string required to be input by the user is rapidly determined and displayed; extracting feature words of the chat information by acquiring the chat information of a second application program of the mobile terminal in real time; the extracted feature words are stored in the preset feature word bank, the preset feature word bank is updated based on the feature information, a first character string input by a mobile terminal user in a character input box is obtained, at least one alternative character string is determined based on the updated preset feature word bank, a second character string matched with the first character string is determined from the at least one alternative character string based on the feature information of the first application program, and the feature information is directly obtained from the second application program and is added to the preset feature word bank, so that the time of the first character string of the user in the chat process is shortened; the geographic position information of the mobile terminal is obtained through GPS positioning, the geographic position information of the mobile terminal is converted into the second character string, and the preset feature word bank is updated according to the feature information of the geographic position information, so that the time for inputting the second character string by a user is shortened, and the user experience is improved.
Sixth embodiment
Fig. 8 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention. Specifically, the mobile terminal 900 in fig. 8 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 900 in fig. 8 includes a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, other components 950, a processor 960, an audio circuit 970, a wifi (wireless fidelity) module 980, and a power supply 990, wherein the other components 950 include an eye tracking sensor and a front camera.
The input unit 930 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 900. Specifically, in the embodiment of the present invention, the input unit 930 may include a touch panel 931. The touch panel 931, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 931 (for example, a user may operate the touch panel 931 by using a finger, a stylus pen, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 931 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 960, where the touch controller can receive and execute commands sent by the processor 960. In addition, the touch panel 931 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 931, the input unit 930 may also include other input devices 932, and the other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 940 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 900. The display unit 940 may include a display panel 941, and optionally, the display panel 941 may be configured in the form of an LCD or an organic light-emitting diode (OLED).
It should be noted that the touch panel 931 may overlay the display panel 941 to form a touch display screen, and when the touch display screen detects a touch operation on or near the touch display screen, the touch display screen transmits the touch operation to the processor 960 to determine the type of the touch event, and then the processor 960 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 960 is a control center of the mobile terminal 900, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 900 and processes data by operating or executing software programs and/or modules stored in the first memory 921 and calling data stored in the second memory 922, thereby integrally monitoring the mobile terminal 900. Optionally, processor 960 may include one or more processing units.
In the embodiment of the present invention, the processor 960 is configured to obtain feature information of a first application program of the mobile terminal by calling a software program and/or a module stored in the first memory 921 and/or data stored in the second memory 922; updating a preset feature word bank based on the feature information; acquiring a first character string input by a mobile terminal user in a character input box; determining a second character string matched with the first character string based on the updated preset feature word bank; displaying a second character string after the first character string. The characteristic information at least comprises one or more of application program name, chat group name, chat record and attention information.
Optionally, the processor 960 is further configured to: determining at least one alternative character string based on the updated preset feature word bank; and determining a second character string matched with the first character string from the at least one alternative character string based on the characteristic information of the first application program.
Optionally, the processor 960 is further configured to: obtaining chat information of a second application program of the mobile terminal in real time; extracting characteristic words of the chat information; and storing the extracted feature words into the preset feature word bank. The type of the characteristic words comprises at least one of characters and voice, and the characteristic words at least comprise one or more of names, telephone numbers and place names.
Optionally, the processor 960 is further configured to: and storing the characteristic words input by the mobile terminal user into the preset characteristic word bank.
Optionally, the processor 960 is further configured to: acquiring geographical position information of the mobile terminal through GPS positioning; and converting the geographical position information of the mobile terminal into the second character string.
Optionally, the processor 960 is further configured to: acquiring the text content in the clipboard of the mobile terminal in real time; extracting characteristic words of the text content in the clipboard; and storing the extracted feature words into the preset feature word bank.
Optionally, the preset feature word library is shared with another mobile terminal in a preset sharing manner.
The mobile terminal 900 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the details are not described here.
According to the mobile terminal 900 provided by the embodiment of the invention, the feature information of the first application program of the mobile terminal is obtained, the preset feature lexicon is updated based on the feature information, the first character string input by the mobile terminal user in the character input box is obtained, the second character string matched with the first character string is determined based on the updated preset feature lexicon, and the second character string is displayed behind the first character string, so that the preset feature lexicon is updated according to the current use environment of the mobile terminal, and the second character string required to be input by the user is rapidly determined and displayed; extracting feature words of the chat information by acquiring the chat information of a second application program of the mobile terminal in real time; the extracted feature words are stored in the preset feature word bank, the preset feature word bank is updated based on the feature information, a first character string input by a mobile terminal user in a character input box is obtained, at least one alternative character string is determined based on the updated preset feature word bank, a second character string matched with the first character string is determined from the at least one alternative character string based on the feature information of the first application program, and the feature information is directly obtained from the second application program and is added to the preset feature word bank, so that the time of the first character string of the user in the chat process is shortened; the geographic position information of the mobile terminal is obtained through GPS positioning, the geographic position information of the mobile terminal is converted into the second character string, and the preset feature word bank is updated according to the feature information of the geographic position information, so that the time for inputting the second character string by a user is shortened, and the user experience is improved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A character input method of a mobile terminal is characterized by comprising the following steps:
acquiring characteristic information of a first application program of the mobile terminal;
updating a preset feature word bank based on the feature information;
acquiring a first character string input by a mobile terminal user in a character input box;
determining a second character string matched with the first character string based on the updated preset feature word bank;
displaying a second character string after the first character string;
the step of updating the preset feature lexicon based on the feature information specifically comprises the following steps of:
acquiring a cell preset feature word bank according to the feature information to update the preset feature word bank;
wherein the characteristic information at least comprises one or more of application program name, chat group name, chat record and attention information.
2. The method according to claim 1, wherein the step of determining a second character string matching the first character string based on the updated preset feature lexicon comprises:
determining at least one alternative character string based on the updated preset feature word bank;
and determining a second character string matched with the first character string from the at least one alternative character string based on the characteristic information of the first application program.
3. The method according to claim 1, wherein the step of obtaining the feature information of the first application program of the mobile terminal is preceded by the method further comprising:
obtaining chat information of a second application program of the mobile terminal in real time;
extracting characteristic words of the chat information;
and storing the extracted feature words into the preset feature word bank.
4. The method of claim 3, wherein the type of the feature word comprises at least one of text and voice, and the feature word comprises at least one or more of a name, a phone number, and a place name.
5. The method according to claim 1, wherein the step of obtaining the feature information of the first application program of the mobile terminal is preceded by the method further comprising:
and storing the characteristic words input by the mobile terminal user into the preset characteristic word bank.
6. The method according to claim 1, wherein when the first character string is a preset keyword, the step of determining a second character string matching the first character string based on the updated preset feature lexicon comprises:
acquiring geographical position information of the mobile terminal through GPS positioning;
and converting the geographical position information of the mobile terminal into the second character string.
7. The method according to claim 1, wherein the step of obtaining the feature information of the first application program of the mobile terminal is preceded by the method further comprising:
acquiring the text content in the clipboard of the mobile terminal in real time;
extracting characteristic words of the text content in the clipboard;
and storing the extracted feature words into the preset feature word bank.
8. The method of claim 1, wherein the predetermined feature lexicon is shared with another mobile terminal through a predetermined sharing manner.
9. A mobile terminal, comprising:
the first acquisition module is used for acquiring the characteristic information of a first application program of the mobile terminal;
the updating module is used for updating a preset feature word bank based on the feature information acquired by the first acquiring module;
the second acquisition module is used for acquiring a first character string input by a mobile terminal user in the character input box;
the determining module is used for determining a second character string matched with the first character string acquired by the acquiring module based on the preset feature word bank updated by the updating module;
the display module is used for displaying the second character string determined by the determination module after the first character string;
wherein, the step of updating the preset feature lexicon based on the feature information acquired by the first acquisition module in the updating module specifically includes:
acquiring a cell preset feature word bank according to the feature information to update the preset feature word bank;
wherein the characteristic information at least comprises one or more of application program name, chat group name, chat record and attention information.
10. The mobile terminal of claim 9, wherein the determining module comprises:
a first determining unit, configured to determine at least one candidate character string based on the updated preset feature lexicon;
a second determining unit, configured to determine, based on feature information of the first application, a second character string that matches the first character string from the at least one candidate character string determined by the first determining unit.
11. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
the third acquisition module is used for acquiring the chat information of the second application program of the mobile terminal in real time;
the first extraction module is used for extracting the characteristic words of the chat information extracted by the third acquisition module;
and the first storage module is used for storing the characteristic words extracted by the first extraction module into the preset characteristic word bank.
12. The mobile terminal of claim 11, wherein the type of the feature word comprises at least one of text and voice, and the feature word comprises at least one or more of a name, a phone number, and a place name.
13. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
and the second storage module is used for storing the characteristic words input by the mobile terminal user into the preset characteristic word bank.
14. The mobile terminal according to claim 9, wherein when the first character string is a preset keyword, the determining module comprises:
the acquisition unit is used for acquiring the geographical position information of the mobile terminal through GPS positioning;
and the conversion unit is used for converting the geographical position information of the mobile terminal into the second character string.
15. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
the fourth obtaining module is used for obtaining the text content in the clipboard of the mobile terminal in real time;
the second extraction module is used for extracting the characteristic words of the text contents in the clipboard;
and the third storage module is used for storing the extracted feature words to the preset feature word bank.
16. The mobile terminal of claim 9, wherein the predetermined feature lexicon is shared with another mobile terminal through a predetermined sharing manner.
CN201610416680.4A 2016-06-14 2016-06-14 Character input method of mobile terminal and mobile terminal Active CN106095128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610416680.4A CN106095128B (en) 2016-06-14 2016-06-14 Character input method of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610416680.4A CN106095128B (en) 2016-06-14 2016-06-14 Character input method of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN106095128A CN106095128A (en) 2016-11-09
CN106095128B true CN106095128B (en) 2020-06-09

Family

ID=57846859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610416680.4A Active CN106095128B (en) 2016-06-14 2016-06-14 Character input method of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN106095128B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933801B (en) * 2017-02-13 2021-02-05 北京安云世纪科技有限公司 Word stock updating method and device
CN113010665A (en) * 2019-12-20 2021-06-22 北京搜狗科技发展有限公司 Word processing method and related device
CN112148135A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Input method processing method and device and electronic equipment
CN113360003B (en) * 2021-06-30 2023-12-05 北京海纳数聚科技有限公司 Intelligent text input method association method based on dynamic session scene

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710325A (en) * 2009-12-03 2010-05-19 腾讯科技(深圳)有限公司 Method for loading input method word bank, method for inputting characters and input method system
CN102789317A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for accelerating text input
CN103116601A (en) * 2012-12-26 2013-05-22 天津三星通信技术研究有限公司 Method and system of improving accuracy degree of intelligent association of input method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8117540B2 (en) * 2005-05-18 2012-02-14 Neuer Wall Treuhand Gmbh Method and device incorporating improved text input mechanism
US7797269B2 (en) * 2007-03-29 2010-09-14 Nokia Corporation Method and apparatus using a context sensitive dictionary
US8862989B2 (en) * 2008-06-25 2014-10-14 Microsoft Corporation Extensible input method editor dictionary
CN101840418A (en) * 2010-03-31 2010-09-22 北京搜狗科技发展有限公司 User word library synchronous update method, update server and input method system
WO2013029239A1 (en) * 2011-08-30 2013-03-07 宇龙计算机通信科技(深圳)有限公司 Dictionary database update device, input system, input method, and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710325A (en) * 2009-12-03 2010-05-19 腾讯科技(深圳)有限公司 Method for loading input method word bank, method for inputting characters and input method system
CN102789317A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for accelerating text input
CN103116601A (en) * 2012-12-26 2013-05-22 天津三星通信技术研究有限公司 Method and system of improving accuracy degree of intelligent association of input method

Also Published As

Publication number Publication date
CN106095128A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
US9002699B2 (en) Adaptive input language switching
US10048748B2 (en) Audio-visual interaction with user devices
AU2010327453B2 (en) Method and apparatus for providing user interface of portable device
US8943092B2 (en) Digital ink based contextual search
CN106446180B (en) Song identification method and mobile terminal
US20140337804A1 (en) Symbol-based digital ink analysis
CN105794155B (en) Method, device and equipment for displaying message
CN106095128B (en) Character input method of mobile terminal and mobile terminal
KR20180004552A (en) Method for controlling user interface according to handwriting input and electronic device for the same
MX2014008799A (en) Message display method and apparatus, and terminal device.
KR20150067489A (en) Method and apparatus for providing input method editor in a electronic devices
CN112269798B (en) Information display method and device and electronic equipment
CN106408289B (en) Payment page switching method and mobile terminal
CN109543014B (en) Man-machine conversation method, device, terminal and server
KR20140146785A (en) Electronic device and method for converting between audio and text
CN107332963B (en) Number setting method and terminal
CN107368205B (en) Handwriting input method and mobile terminal
US10630619B2 (en) Electronic device and method for extracting and using semantic entity in text message of electronic device
JP2014175689A (en) Information apparatus, display method and program
CN106598621B (en) Application program working method and mobile terminal
CN112764603B (en) Message display method and device and electronic equipment
CN114489420A (en) Voice information sending method and device and electronic equipment
CN112764551A (en) Vocabulary display method and device and electronic equipment
JP2017531889A (en) Character string storage method and apparatus
CN107528965B (en) Lyric poster generation method and mobile terminal

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