CN108227953B - Character input method and related product - Google Patents

Character input method and related product Download PDF

Info

Publication number
CN108227953B
CN108227953B CN201711459653.6A CN201711459653A CN108227953B CN 108227953 B CN108227953 B CN 108227953B CN 201711459653 A CN201711459653 A CN 201711459653A CN 108227953 B CN108227953 B CN 108227953B
Authority
CN
China
Prior art keywords
operating system
character
exclusive
characters
application program
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
CN201711459653.6A
Other languages
Chinese (zh)
Other versions
CN108227953A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711459653.6A priority Critical patent/CN108227953B/en
Publication of CN108227953A publication Critical patent/CN108227953A/en
Application granted granted Critical
Publication of CN108227953B publication Critical patent/CN108227953B/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
    • G06F3/0237Character input methods using prediction or retrieval techniques

Abstract

The embodiment of the application discloses a character input method and a related product. The method comprises the following steps: the operating system detects an input method call request on an operation interface of a target application program, and obtains an exclusive lexicon corresponding to the target application program, wherein the exclusive lexicon comprises one or more characters; the operating system displays at least one reference character in the exclusive word stock in a character input panel displayed on the running interface; the operating system detects a selection operation aiming at a first target character in at least one reference character and determines to input the first target character. The method and the device for inputting the characters are beneficial to improving convenience and flexibility of character input when the mobile terminal runs the target application program.

Description

Character input method and related product
Technical Field
The application relates to the technical field of mobile terminals, in particular to a text input method and a related product.
Background
With the rapid development of the related technologies of mobile terminals such as smart phones, more and more applications are installed in user mobile phones, such as reading applications, payment applications, game applications, music applications, and the like, and people's clothes and eating houses are inseparable from mobile phones. In the process of using the application, people can start the function of the input method and start the default input method of the system to search keywords and input characters.
Disclosure of Invention
The embodiment of the application provides a character input method and a related product, and can improve convenience and flexibility of character input when a mobile terminal runs a target application program.
In a first aspect, an embodiment of the present application provides a text input method, which is applied to a mobile terminal, where an operating system and one or more application programs are run on the mobile terminal, and the method includes:
the operating system detects an input method call request on an operation interface of a target application program, and obtains an exclusive lexicon corresponding to the target application program, wherein the exclusive lexicon comprises one or more characters;
the operating system displays at least one reference character in the exclusive thesaurus in a character input panel displayed on the running interface;
and the operating system detects a selection operation aiming at a first target character in the at least one reference character and determines to input the first target character.
In a second aspect, an embodiment of the present application provides a text input device for a mobile terminal, where the mobile terminal runs an operating system and one or more application programs, and the text input device includes
The character input device comprises an acquisition unit, a display unit and a determination unit, wherein,
the obtaining unit is used for detecting an input method call request on an operation interface of a target application program and obtaining an exclusive lexicon corresponding to the target application program, wherein the exclusive lexicon comprises one or more characters;
the display unit is used for displaying at least one reference character in the exclusive thesaurus in a character input panel displayed on the running interface;
the determining unit is configured to detect a selection operation for a first target word in the at least one reference word, and determine to input the first target word.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps of any method in the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in any one of the methods of the first aspect of the present application, and the computer includes a mobile terminal.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It can be seen that, in the embodiment of the application, the mobile terminal can highlight the hot use characters of the target application in the character input panel, so that a user can visually look up and select the target characters to be input, an input method is optimized at the application program level, the problem that the entry speed of characters is influenced due to the fact that cold characters in a word bank which are ranked later in a traditional input method are difficult to be quickly retrieved is avoided, and the character input efficiency and flexibility when the mobile terminal runs the target application are improved.
Drawings
Reference will now be made in brief to the accompanying drawings, to which embodiments of the present application relate.
Fig. 1A is a schematic structural diagram of a smart phone provided in an embodiment of the present application;
FIG. 1B is a schematic diagram of a program operating space of a smart phone;
FIG. 1C is a system architecture diagram of an android system;
fig. 2 is a schematic flow chart of a text input method according to an embodiment of the present application;
FIG. 3 is a flow chart of a text input method disclosed in an embodiment of the present application;
FIG. 4 is a flow chart illustrating a text input method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application;
fig. 6 is a block diagram illustrating functional units of a mobile terminal according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present application may include various handheld devices (such as smart phones), vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The operating system related to the embodiment of the invention is a software system which performs unified management on hardware resources and provides a service interface for a user. An example structure of the mobile terminal is described below with a smart phone as an example.
Fig. 1A is a schematic structural diagram of a smart phone 100 according to an embodiment of the present application, where the smart phone 100 includes: the touch screen display comprises a shell 110, a touch display screen 120, a main board 130, a battery 140 and a sub-board 150, wherein the main board 130 is provided with a front camera 131, a System on Chip (SoC) 132 (including an application processor and a baseband processor), a memory 133, a power management Chip 134, a radio frequency System 135 and the like, and the sub-board is provided with a vibrator 151, an integrated sound cavity 152 and a VOOC flash charging interface 153. The touch display screen 120 may be a full screen or a special screen, which is not limited herein.
The SoC132 is a control center of the smartphone, connects various parts of the entire smartphone by using various interfaces and lines, and executes various functions and processes data of the smartphone by running or executing software programs and/or modules stored in the memory 133 and calling data stored in the memory 133, thereby integrally monitoring the smartphone. The SoC132 may include one or more processing units, such as an application processor AP, a baseband processor (also referred to as a baseband chip, baseband), and the like, which mainly handles operating systems, user interfaces, application programs, and the like, and the baseband processor mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into SoC 132. The SoC132 may be, for example, a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor described above may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
The memory 133 may be used to store software programs and modules, and the SoC132 executes various functional applications and data processing of the smart phone by running the software programs and modules stored in the memory 133. The memory 133 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the smartphone, and the like. Further, the memory 133 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The Memory 133 may be, for example, a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art.
Fig. 1B is a schematic diagram of a program running space of a smart phone according to an embodiment of the present application, where a mobile terminal such as a smart phone is generally provided with a program running space, and the program running space includes a user space and an operating system space, where the user space runs one or more application programs, the one or more application programs are third-party application programs installed on the mobile terminal, and the operating system space runs an operating system of the mobile terminal. The mobile terminal can specifically run an Android system, a mobile operating system iOS developed by apple Inc., and the like, and the mobile terminal is not limited herein. As shown in fig. 1C, for example that the mobile terminal runs the Android system, the corresponding user space includes Application layers (Applications) in the Android system, and the operating system space may include an Application Framework layer (Application Framework) in the Android system, a system Runtime library layer (including system Runtime Libraries and Android Runtime runtimes), and a Linux Kernel layer (Linux Kernel). The application layer comprises various application programs which are directly interacted with the user or service programs which are written by Java language and run in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) SMS, phone dialing, picture viewer, calendar, games, maps, World Wide Web (Web) browser, and other applications developed by developers. The application framework layer provides a series of class libraries required by Android application development, can be used for reusing components, and can also realize personalized extension through inheritance. And the system operation library layer is a support of an application program framework and provides services for each component in the Android system. The system operation library layer is composed of a system class library and Android operation. The Android runtime comprises two parts, namely a core library and a Dalvik virtual machine. The Linux kernel layer is used for realizing core functions such as hardware device driving, process and memory management, a network protocol stack, power management, wireless communication and the like.
When the mobile terminal runs a game application scene, in order to enable a player to effectively cooperate with teammates, communication information needs to be quickly transmitted to the teammates, and the input method service of the mobile terminal is required to be capable of responding to the intention of the player more quickly. In general, the input method of the operating system does not distinguish between game and non-game scenes, and does not perform special optimization on specific game scenes.
In view of the above situation, an embodiment of the present application provides a text input method for a target application program of a mobile terminal, in which the mobile terminal can highlight hot use text of the target application program in a text input panel, so that a user can visually look up and select target text to be input, an input method is optimized at an application program level, it is avoided that cold texts ranked later in a traditional input method lexicon are difficult to be quickly retrieved to affect a text entry speed, and text input efficiency and flexibility when the mobile terminal runs the target application program are improved.
Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flow chart illustrating a text input method according to an embodiment of the present application, where an operating system and one or more application programs are running on the mobile terminal, and as shown in the figure, the text input method includes:
s201, the operating system detects an input method call request on an operation interface of a target application program, and obtains an exclusive lexicon corresponding to the target application program, wherein the exclusive lexicon comprises one or more characters.
The target application program refers to a third-party application program installed in a user space of the mobile terminal, the third-party application program may be, for example, a camera application program, an instant messaging application, a game application, or the like, and the third-party application program may be installed by a user or may be pre-installed by a developer before the mobile terminal leaves a factory, which is not limited herein.
The retrieval frequency of each character in the exclusive thesaurus is greater than a preset frequency, and the retrieval frequency is used for indicating the retrieval frequency of the corresponding character in the historical operation process of the target application program. The terminal can comprise the mobile terminal and other mobile terminals, the historical retrieval records of the same character can be sent to the server by a plurality of terminals, and the server performs statistical analysis to obtain the retrieval times of the corresponding character. The preset number may be 5 times, 10 times, 20 times, etc., and is not limited herein.
In specific implementation, a developer or a user can preset a part of characters in the exclusive thesaurus, the presetting and updating of the exclusive thesaurus can be possibly combined with a network, the mobile terminal can download the exclusive thesaurus from the network or a cloud, and then the mobile terminal updates (changes sequencing, deletes and adds) the words in real time according to the use record of the user.
The words may include words, letters, symbols, phrases, expressions, etc., and the language type of the words may be chinese, english, a mixture of multiple languages, etc., which is not limited herein.
S202, the operating system displays at least one reference character in the exclusive word bank in a character input panel displayed on the running interface.
At least one reference character in the exclusive thesaurus can be one or more reference characters with front use degree (namely, indexes such as reflecting use frequency or use times).
In a specific implementation, after the operating system of the mobile terminal detects the input method call request, the input method application can be run in a background, and a text input panel of the input method application is displayed on the running interface.
S203, the operating system detects a selection operation aiming at a first target character in the at least one reference character and determines to input the first target character.
The current running interface of the target application program supports a chat function, and generally, a corresponding chat frame can be displayed in a corner area of the running interface, and chat contents are displayed in the chat frame.
It can be seen that, in the embodiment of the application, the mobile terminal can highlight the hot use characters of the target application in the character input panel, so that a user can visually look up and select the target characters to be input, an input method is optimized at the application program level, the problem that the entry speed of characters is influenced due to the fact that cold characters in a word bank which are ranked later in a traditional input method are difficult to be quickly retrieved is avoided, and the character input efficiency and flexibility when the mobile terminal runs the target application are improved.
In one possible example, the operating system displays at least one reference word in the exclusive thesaurus in a word input panel of the running interface display, including: the operating system sorts the at least one reference character in the exclusive word bank according to the sequence of the searched times from high to low; and the operating system displays the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
The text input panel can occupy part of the display area of the current running interface, and the content of the running interface is not blocked too much to influence the user experience, so that the area of the shortcut prompt component is limited to a certain extent (for example, the area is less than half of the display panel, or less than 20% of the display screen, and generally more than one fifth of the display screen can influence the display experience), and the display form of the shortcut component can be semitransparent display, so long as specific reference texts can be seen.
Therefore, in the example, the operating system visually displays the high-frequency characters used in the exclusive word stock in the quick prompt component by expanding the functions of the character input panel, so that a user can directly select the target characters to be input to carry out quick input conveniently, and the character input efficiency and convenience are improved.
In one possible example, the operating system displays at least one reference word in the exclusive thesaurus in a word input panel of the running interface display, including: the operating system determines an internal operation scene to which the operation interface belongs; the operating system acquires a plurality of characters corresponding to the internal operation scene to which the operation interface belongs according to the mapping relation between the internal operation scene and the characters; the operating system selects the at least one reference character from the plurality of characters; and the operating system displays the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
The internal operation scene of the target application program may be divided according to the operation interface, or divided according to the function, or divided by a developer or a user, which is not limited uniquely here, for example, taking the target application program as a game application program, the internal operation scene in the game application program may include a mall scene, a team scene, and the like.
And the characters in the mapping relation between the internal operation scene and the characters comprise characters in the exclusive lexicon.
Therefore, in the example, the operating system can operate the scene level inside to adapt the reference characters, so that character input is controlled more finely, and the fine level and accuracy of the character input function executed by the mobile terminal are improved.
In one possible example, the obtaining, by the operating system, a dedicated thesaurus corresponding to the target application includes: and the operating system inquires a mapping relation between a pre-stored application program and an exclusive word bank to acquire the exclusive word bank corresponding to the target application program.
The mapping relation between the application program and the exclusive lexicon can be obtained by analyzing the historical input records of the user owner counted by the mobile terminal, and is more adaptive to the personal use habits of the user owner.
Therefore, in this example, the operating system can quickly and accurately determine the exclusive lexicon corresponding to the currently running target application program by querying the preset mapping relationship, which is beneficial to improving the accuracy and the rapidity of inputting characters when the mobile terminal runs the target application program.
In one possible example, before the operating system detects the input method call request at the running interface of the target application program, the method further includes: the operating system receives the exclusive thesaurus from an application server of the target application program, and the exclusive thesaurus is generated by the application server according to a plurality of historical input records of the target application program.
As can be seen, in this example, since the server side can be based on big data analysis (analysis of input records by multiple users), accuracy and comprehensiveness are better, and thus the operating system of the mobile terminal executes the text input function based on the exclusive thesaurus, accuracy and comprehensiveness are improved.
In one possible example, the method further comprises: the operating system acquires keywords input in the character input panel; the operating system retrieves the exclusive word bank according to the keywords and acquires one or more reference characters matched with the keywords; and when the operating system detects a selection operation aiming at a second target character in the one or more reference characters, determining to input the second target character.
The keywords can be pinyin abbreviations or strokes. The display priority of the common vocabulary in the running process of the target application program in the exclusive lexicon is relatively high.
It can be seen that, in this example, in addition to the reference characters directly displayed in the character input panel, the operating system can also quickly query the exclusive thesaurus based on the keywords input by the user, push the matched reference characters, and determine the input result based on the selection operation used for the matching. Because characters frequently input by a user of the exclusive word stock in the running scene of the target application program can be preferentially displayed, the target characters can be quickly positioned for inputting, and the efficiency of character searching is favorably improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a text input method provided in an embodiment of the present application, and the text input method is applied to a mobile terminal, where the mobile terminal runs an operating system and one or more application programs. As shown, the text word input method includes:
s301, the operating system detects an input method call request on an operation interface of a target application program, and obtains an exclusive lexicon corresponding to the target application program, wherein the exclusive lexicon comprises one or more characters.
S302, the operating system sorts the at least one reference character in the exclusive word bank according to the sequence of the searched times from high to low.
S303, the operating system displays the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
S304, the operating system detects a selection operation aiming at a first target character in the at least one reference character and determines to input the first target character.
It can be seen that, in the embodiment of the application, the mobile terminal can highlight the hot use characters of the target application in the character input panel, so that a user can visually look up and select the target characters to be input, an input method is optimized at the application program level, the problem that the entry speed of characters is influenced due to the fact that cold characters in a word bank which are ranked later in a traditional input method are difficult to be quickly retrieved is avoided, and the character input efficiency and flexibility when the mobile terminal runs the target application are improved.
In addition, the operating system visually displays the high-frequency characters in the exclusive word stock in the quick prompt component by expanding the functions of the character input panel, so that a user can conveniently and directly select target characters to be input to carry out quick input, and the character input efficiency and convenience are improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a text input method according to an embodiment of the present application, and the text input method is applied to a mobile terminal, where an operating system and one or more target application programs run on the mobile terminal. As shown, the text word input method includes:
s401, the operating system receives the exclusive thesaurus from an application server of the target application program, and the exclusive thesaurus is generated by the application server according to a plurality of historical input records of the target application program.
S402, the operating system detects an input method call request on an operation interface of a target application program, inquires a mapping relation between a pre-stored application program and an exclusive word bank, and acquires the exclusive word bank corresponding to the target application program.
S403, the operating system determines the internal operation scene to which the operation interface belongs.
S404, the operating system obtains a plurality of characters corresponding to the internal operation scene to which the operation interface belongs according to the mapping relation between the internal operation scene and the characters.
S405, the operating system selects the at least one reference character from the plurality of characters.
S406, the operating system displays the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
S407, the operating system detects a selection operation for a first target character in the at least one reference character, and determines to input the first target character.
S408, the operating system acquires the keywords input in the text input panel.
S409, the operating system retrieves the exclusive word bank according to the keywords and obtains one or more reference characters matched with the keywords.
S4010, when the operating system detects a selection operation for a second target character in the one or more reference characters, determining to input the second target character.
It can be seen that, in the embodiment of the application, the mobile terminal can highlight the hot use characters of the target application in the character input panel, so that a user can visually look up and select the target characters to be input, an input method is optimized at the application program level, the problem that the entry speed of characters is influenced due to the fact that cold characters in a word bank which are ranked later in a traditional input method are difficult to be quickly retrieved is avoided, and the character input efficiency and flexibility when the mobile terminal runs the target application are improved.
In addition, the operating system can run scene levels inside to adapt to the reference characters, so that character input is controlled more finely, and the fine level and accuracy of the character input function executed by the mobile terminal are improved.
In addition, the operating system can quickly and accurately determine the exclusive lexicon corresponding to the currently running target application program by inquiring the preset mapping relation, and the accuracy and the rapidity of inputting characters when the mobile terminal runs the target application program are improved.
In addition, in addition to the reference characters directly displayed in the character input panel, the operating system can also quickly query the exclusive thesaurus based on the keywords input by the user, push the matched reference characters, and determine the input result based on the selection operation used for the matching. Because characters frequently input by a user of the exclusive word stock in the running scene of the target application program can be preferentially displayed, the target characters can be quickly positioned for inputting, and the efficiency of character searching is favorably improved.
In accordance with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application, where the mobile terminal runs one or more application programs and an operating system, and as shown in the figure, the mobile terminal includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are different from the one or more application programs, and the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
detecting an input method call request on an operation interface of a target application program, and acquiring an exclusive lexicon corresponding to the target application program, wherein the exclusive lexicon comprises one or more characters;
displaying at least one reference character in the exclusive thesaurus in a character input panel displayed on the running interface;
and detecting a selection operation aiming at a first target character in the at least one reference character, and determining to input the first target character.
It can be seen that, in the embodiment of the application, the mobile terminal can highlight the hot use characters of the target application in the character input panel, so that a user can visually look up and select the target characters to be input, an input method is optimized at the application program level, the problem that the entry speed of characters is influenced due to the fact that cold characters in a word bank which are ranked later in a traditional input method are difficult to be quickly retrieved is avoided, and the character input efficiency and flexibility when the mobile terminal runs the target application are improved.
In one possible example, the number of times of retrieval of each word in the exclusive thesaurus is greater than a preset number, and the number of times of retrieval is used for indicating the number of times of retrieval of the corresponding word in the history running process of the target application program.
In one possible example, in the aspect of displaying at least one reference text in the exclusive thesaurus in a text input panel displayed on the running interface, the instructions in the program are specifically configured to perform the following operations: sequencing the at least one reference character in the exclusive word bank according to the sequence of the searched times from high to low; and displaying the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
In one possible example, in the aspect of displaying at least one reference text in the exclusive thesaurus in a text input panel displayed on the running interface, the instructions in the program are specifically configured to perform the following operations: determining an internal operation scene to which the operation interface belongs; acquiring a plurality of characters corresponding to the internal operation scene to which the operation interface belongs according to the mapping relation between the internal operation scene and the characters; and selecting the at least one reference character from the plurality of characters; and displaying the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
In one possible example, in the aspect of obtaining the dedicated thesaurus corresponding to the target application program, the instructions in the program are specifically configured to perform the following operations: and inquiring a mapping relation between a pre-stored application program and an exclusive word bank to obtain the exclusive word bank corresponding to the target application program.
In one possible example, the program further includes instructions for: before the input method call request is detected on the running interface of the target application program, the exclusive thesaurus from the application server of the target application program is received, and the exclusive thesaurus is generated by the application server according to a plurality of historical input records of the target application program.
In one possible example, the program further includes instructions for: acquiring keywords input in the character input panel; retrieving the exclusive word bank according to the keywords, and acquiring one or more reference characters matched with the keywords; and when a selection operation aiming at a second target character in the one or more reference characters is detected, determining to input the second target character.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. 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 application.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 6 shows a block diagram of one possible functional unit of the text input device according to the above-described embodiment. The text input device 600 is applied to a mobile terminal, and includes an acquisition unit 601, a display unit 602, and a determination unit 603, wherein,
the obtaining unit 601 is configured to detect an input method call request on an operation interface of a target application program, and obtain an exclusive thesaurus corresponding to the target application program, where the exclusive thesaurus includes one or more characters;
the display unit 602 is configured to display at least one reference character in the exclusive thesaurus in a character input panel displayed on the operation interface;
the determining unit 603 is configured to detect a selection operation for a first target word in the at least one reference word, and determine to input the first target word.
It can be seen that, in the embodiment of the application, the mobile terminal can highlight the hot use characters of the target application in the character input panel, so that a user can visually look up and select the target characters to be input, an input method is optimized at the application program level, the problem that the entry speed of characters is influenced due to the fact that cold characters in a word bank which are ranked later in a traditional input method are difficult to be quickly retrieved is avoided, and the character input efficiency and flexibility when the mobile terminal runs the target application are improved.
In one possible example, the number of times of retrieval of each word in the exclusive thesaurus is greater than a preset number, and the number of times of retrieval is used for indicating the number of times of retrieval of the corresponding word in the history running process of the target application program.
In a possible example, in the aspect that at least one reference text in the specific thesaurus is displayed in a text input panel displayed on the running interface, the display unit 602 is specifically configured to: sequencing the at least one reference character in the exclusive word bank according to the sequence of the searched times from high to low; and displaying the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
In a possible example, the text input panel displays at least one reference text aspect in the exclusive thesaurus, and the display unit 602 is specifically configured to: determining an internal operation scene to which the operation interface belongs; acquiring a plurality of characters corresponding to the internal operation scene to which the operation interface belongs according to the mapping relation between the internal operation scene and the characters; and selecting the at least one reference character from the plurality of characters; and displaying the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
In a possible example, in terms of acquiring the dedicated thesaurus corresponding to the target application, the acquiring unit 601 is specifically configured to: and inquiring a mapping relation between a pre-stored application program and an exclusive word bank to obtain the exclusive word bank corresponding to the target application program.
In one possible example, the text input device further comprises a receiving unit; the receiving unit is configured to receive the exclusive thesaurus from the application server of the target application program before the obtaining unit 601 detects the input method call request on the operation interface of the target application program, where the exclusive thesaurus is generated by the application server according to a plurality of historical input records of the target application program.
In a possible example, the obtaining unit 601 is further configured to obtain a keyword entered in the text input panel; retrieving the exclusive word bank according to the keywords, and acquiring one or more reference characters matched with the keywords;
the determining unit 603 is further configured to determine to input a second target word in the one or more reference words when a selecting operation for the second target word is detected.
The acquiring unit 601 and the adjusting unit 603 may be processors, and the determining unit 602 may be an application processor and a memory.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, 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 of some interfaces, devices or units, and may be an electric 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 application 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several 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 above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A character input method is applied to a mobile terminal, wherein the mobile terminal runs an operating system and one or more application programs, and the method comprises the following steps:
the operating system detects an input method call request on a running interface of a target application program, and obtains an exclusive lexicon corresponding to the target application program, wherein the exclusive lexicon comprises one or more characters, the number of times of retrieval of each character in the exclusive lexicon is greater than a preset number of times, and the number of times of retrieval is used for indicating the number of times of retrieval of the corresponding character in the historical running process of the target application program;
the operating system determines an internal operation scene to which the operation interface belongs;
the operating system acquires a plurality of characters corresponding to the internal operation scene to which the operation interface belongs from the exclusive word bank according to the mapping relation between the internal operation scene and the characters;
the operating system selects at least one reference character from the plurality of characters, wherein the at least one reference character is one or more reference characters with the use frequency or use times being earlier;
the operating system displays the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface, wherein the display form of the shortcut prompt component is semi-transparent display;
and the operating system detects a selection operation aiming at a first target character in the at least one reference character and determines to input the first target character.
2. The method of claim 1, wherein the operating system displaying the at least one reference text in a prompt component of a text entry panel of the runtime interface display comprises:
the operating system sorts the at least one reference character in the exclusive word bank according to the sequence of the searched times from high to low;
and the operating system displays the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface.
3. The method according to any one of claims 1 or 2, wherein the obtaining, by the operating system, the exclusive thesaurus corresponding to the target application program comprises:
and the operating system inquires a mapping relation between a pre-stored application program and an exclusive word bank to acquire the exclusive word bank corresponding to the target application program.
4. The method of claim 3, wherein before the operating system detects the input method call request at the runtime interface of the target application, the method further comprises:
the operating system receives the exclusive thesaurus from an application server of the target application program, and the exclusive thesaurus is generated by the application server according to a plurality of historical input records of the target application program.
5. The method of claim 1, further comprising:
the operating system acquires keywords input in the character input panel;
the operating system retrieves the exclusive word bank according to the keywords and acquires one or more reference characters matched with the keywords;
and when the operating system detects a selection operation aiming at a second target character in the one or more reference characters, determining to input the second target character.
6. A character input device is applied to a mobile terminal, the mobile terminal runs an operating system and one or more application programs, the character input device comprises an acquisition unit, a display unit and a determination unit, wherein,
the acquisition unit is used for detecting an input method call request on an operation interface of a target application program, and acquiring an exclusive thesaurus corresponding to the target application program, wherein the exclusive thesaurus comprises one or more characters, the number of times of retrieval of each character in the exclusive thesaurus is greater than a preset number of times, and the number of times of retrieval is used for indicating the number of times of retrieval of the corresponding character in the historical operation process of the target application program;
the display unit is used for the operating system to determine the internal operation scene to which the operation interface belongs; the operating system is used for acquiring a plurality of characters corresponding to the internal operation scene to which the operation interface belongs from the exclusive word bank according to the mapping relation between the internal operation scene and the characters; the operating system is used for selecting at least one reference character from the plurality of characters, and the at least one reference character is one or more reference characters with the use frequency or use times being earlier; the operating system is used for displaying the at least one reference character in a shortcut prompt component of a character input panel displayed on the running interface, and the display form of the shortcut prompt component is semi-transparent display;
the determining unit is configured to detect a selection operation for a first target word in the at least one reference word, and determine to input the first target word.
7. A mobile terminal comprising a processor, memory, a communications interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-5.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-5, the computer comprising a mobile terminal.
CN201711459653.6A 2017-12-28 2017-12-28 Character input method and related product Active CN108227953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711459653.6A CN108227953B (en) 2017-12-28 2017-12-28 Character input method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711459653.6A CN108227953B (en) 2017-12-28 2017-12-28 Character input method and related product

Publications (2)

Publication Number Publication Date
CN108227953A CN108227953A (en) 2018-06-29
CN108227953B true CN108227953B (en) 2022-01-11

Family

ID=62645707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711459653.6A Active CN108227953B (en) 2017-12-28 2017-12-28 Character input method and related product

Country Status (1)

Country Link
CN (1) CN108227953B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506378B (en) * 2020-04-17 2021-09-28 腾讯科技(深圳)有限公司 Method, device and equipment for previewing text display effect and storage medium
CN111722730A (en) * 2020-06-23 2020-09-29 平安医疗健康管理股份有限公司 Character input method, device and equipment based on all-in-one machine and readable storage medium
CN112416142A (en) * 2020-11-20 2021-02-26 维沃移动通信有限公司 Method and device for inputting characters and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334774B (en) * 2007-06-29 2013-08-14 北京搜狗科技发展有限公司 Character input method and input method system
CN105929980A (en) * 2016-07-12 2016-09-07 百度在线网络技术(北京)有限公司 Method and device for inputting information
CN106354278A (en) * 2016-10-31 2017-01-25 努比亚技术有限公司 Character input method combined with application programs and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI544353B (en) * 2014-12-31 2016-08-01 鴻海精密工業股份有限公司 System and method for controlling input of user interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334774B (en) * 2007-06-29 2013-08-14 北京搜狗科技发展有限公司 Character input method and input method system
CN105929980A (en) * 2016-07-12 2016-09-07 百度在线网络技术(北京)有限公司 Method and device for inputting information
CN106354278A (en) * 2016-10-31 2017-01-25 努比亚技术有限公司 Character input method combined with application programs and terminal

Also Published As

Publication number Publication date
CN108227953A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN107861814B (en) Resource allocation method and equipment
CN108536480B (en) Input method configuration method and related product
CN107635078B (en) Game control method and device
CN108091333B (en) Voice control method and related product
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN108227953B (en) Character input method and related product
CN107797868B (en) Resource adjusting method and device
CN109101498B (en) Translation method and device and mobile terminal
CN110222288B (en) Page display method, device and storage medium
CN105550252A (en) File positioning method and device and electronic equipment
CN108984339B (en) Data recovery method and related product
CN111373728B (en) Control method and device for camera application
CN105095253A (en) Webpage display method and webpage display device
CN108712717A (en) Control method, device, storage medium based on application shop and mobile terminal
CN110799963A (en) Method for recommending associative words, mobile terminal and computer-readable storage medium
CN108037839B (en) Character input method and related product
CN112925878B (en) Data processing method and device
WO2020134899A1 (en) Method for generating network search list, network search method and corresponding apparatus
CN110786028A (en) Application resource processing method and related product
CN109005469A (en) A kind of conversion method of message format, device, storage medium and android terminal
CN106844396B (en) Information processing method and electronic equipment
CN113805705A (en) Terminal shortcut key operation method and device
CN106201011B (en) Communication information retrieval method and device and terminal equipment
CN107766329B (en) Blacklist configuration method and device
US20190320074A1 (en) Ringtone Setting Method, Electronic Device, and Storage Medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant