Word display method, device, terminal and storage medium

By separately displaying words that match the input string and custom words in the terminal, the problem of low display efficiency of uncommon words is solved and a more efficient input experience is achieved.

CN116560515BActive Publication Date: 2024-10-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210112508.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-29
Publication Date
2024-10-22
Estimated Expiration
2042-01-29

AI Technical Summary

Technical Problem

The existing technology cannot effectively display uncommon words when inputting text on the terminal, resulting in low input efficiency. Moreover, the custom word function will increase the complexity of selection and reduce input efficiency when it is not needed.

Method used

By providing two candidate columns in the terminal, respectively displaying words that match the input string and custom words, users can quickly select the words that need to be input in the corresponding columns according to actual needs.

Benefits of technology

The input efficiency is improved, allowing users to select words to be input more intuitively, reducing input difficulties caused by incomplete displayed words, and enhancing input convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116560515B_ABST
    Figure CN116560515B_ABST
Patent Text Reader

Abstract

The present application discloses a word display method, device, terminal and storage medium, which belongs to the field of computer technology. The present application uses two different candidate columns to display matching words and custom words respectively. Since the two types of words are displayed in different candidate columns, the display effect is intuitive and does not interfere with each other, so that the object can quickly select the words to be input in the corresponding candidate column based on its actual needs, thereby improving the input efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a word display method, device, terminal and storage medium. Background Art

[0002] At present, when a subject inputs text in a terminal, the terminal can display multiple words that match the pinyin corresponding to the string as candidates based on the string input by the subject, and the subject can select the word he wants to input from the displayed multiple words. However, some subjects often need to input some uncommon words due to their own needs, and the terminal cannot automatically display uncommon words based on the string, resulting in low input efficiency.

[0003] Related technology, the terminal provides a custom word function, the object can set the frequently used uncommon words as custom words, and associate the custom words with specific strings. When the terminal detects that the object enters the specific string, it can display the associated custom words for the object to enter.

[0004] In the above technology, the terminal will simultaneously display the words matching the input string and the associated custom words. When the object does not need to enter a custom word, it is still necessary to select the word to be entered from the custom word and the word matching the string, which reduces the input efficiency. Summary of the invention

[0005] The embodiment of the present application provides a word display method, device, terminal and storage medium, which can improve input efficiency. The technical solution is as follows:

[0006] In one aspect, a method for displaying a word is provided, the method comprising:

[0007] Get the target string;

[0008] In the first candidate column, at least one first word is displayed, and the first word is a word matching the target character string;

[0009] In the second candidate column, at least one second word is displayed, and the second word is a custom word corresponding to the target character string.

[0010] In one aspect, a word display device is provided, the device comprising:

[0011] Acquisition module, used to obtain the target string;

[0012] A first display module, configured to display at least one first word in a first candidate column, the first word being a word matching the target character string;

[0013] The second display module is used to display at least one second word in a second candidate column, where the second word is a custom word corresponding to the target character string.

[0014] In some embodiments, the second display module is used to perform any of the following:

[0015] In the second candidate column, displaying all characters of the target word in the at least one second word;

[0016] In the second candidate column, the first target number of characters of the target word are displayed, and the target number is the number of characters supported by the second candidate column for display.

[0017] In some embodiments, the target word is the word ranked first among the at least one second word; or, the target word is the word marked as priority display among the at least one second word; or, the target word is the word selected the most times among the at least one second word.

[0018] In some embodiments, the number of selections is the number of times the target object is selected on the currently logged-in terminal; or, the number of selections is the number of times the target object is selected on multiple terminals; or, the number of selections is the number of times the target object is selected by multiple objects.

[0019] In some embodiments, the second display module is used to display partial characters of the at least one second word other than the target word in the second candidate column.

[0020] In some embodiments, the second display module is used to display all characters of each second word in the at least one second word in a list format in response to a triggering operation of an expansion option of the second candidate column.

[0021] In some embodiments, the second display module is used to perform any of the following:

[0022] Displaying all characters of each second word in a list format according to a preset order of the at least one second word;

[0023] All characters of each second word are displayed in a list in descending order of the number of times the at least one second word is selected.

[0024] In some embodiments, the acquisition module is used to acquire at least one set of target character strings corresponding to the keyboard keys based on the keyboard keys corresponding to the input operation;

[0025] The second display module is used to obtain at least one second word based on the at least one group of target character strings, and there is a preset mapping relationship between the second word and the target character string; and display the at least one second word in the second candidate column.

[0026] In some embodiments, the second display module is used to obtain at least one second word based on the keyboard key corresponding to the input operation, and there is a preset mapping relationship between the second word and the keyboard key; and display at least one second word in the second candidate column.

[0027] In some embodiments, the second display module is used to display the second candidate column if a custom word function is enabled, and the custom word function is used to provide a function of displaying the at least one second word.

[0028] In some embodiments, the second display module is used to display the second candidate column in response to the presence of a second word corresponding to the target character string.

[0029] In some embodiments, the second display module is used to display the second candidate column outside the first candidate column.

[0030] In some embodiments, the first display module is used to collapse the second candidate column and display all characters of each first word in the at least one first word in response to a triggering operation of an expansion option of the first candidate column.

[0031] In some embodiments, the second candidate column is a cloud candidate column.

[0032] In some embodiments, the second display module is used to display at least one of a third word and an emoticon matching the target string in the second candidate column, wherein the third word is a word whose growth rate of popularity information among the words matching the target string is greater than a growth rate threshold or whose growth rate of popularity information is in the front target digit, and the popularity information is used to indicate the popularity of the word.

[0033] In some embodiments, the first word is a word that matches the target object among the words that match the target string, or the first word is a word among the words that match the target string whose heat information is greater than a heat threshold or whose heat information is located in the front target digit.

[0034] On the one hand, a terminal is provided, which includes one or more processors and one or more memories, wherein the one or more memories store at least one computer program, and the at least one computer program is loaded and executed by the one or more processors to implement the word display method.

[0035] On the one hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the word display method.

[0036] In one aspect, a computer program product is provided, the computer program product comprising at least one computer program, the at least one computer program being stored in a computer-readable storage medium. A processor of a terminal reads the at least one computer program from the computer-readable storage medium, and the processor executes the at least one computer program, so that the terminal implements the word display method.

[0037] The technical solution provided in the embodiment of the present application uses two different candidate columns to separately display matching words and custom words. Since these two types of words are displayed in different candidate columns, the display effect is intuitive and does not interfere with each other, so that the object can quickly select the words to be input in the corresponding candidate column based on its actual needs, thereby improving input efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 It is a schematic diagram of an implementation environment of a word display method provided in an embodiment of the present application;

[0040] Figure 2 is a flow chart of a word display method provided in an embodiment of the present application;

[0041] Figure 3 is a flow chart of a word display method provided in an embodiment of the present application;

[0042] Figure 4 is a schematic diagram of inputting a target character string provided in an embodiment of the present application;

[0043] Figure 5 is a schematic diagram of a first candidate column provided in an embodiment of the present application;

[0044] Figure 6 is a schematic diagram of a second candidate column provided in an embodiment of the present application;

[0045] Figure 7 is a schematic diagram of expansion options of a first candidate column provided in an embodiment of the present application;

[0046] Figure 8 is a schematic diagram of expansion options of a second candidate column provided in an embodiment of the present application;

[0047] Fig. 9 is a schematic diagram of a cloud candidate column provided in an embodiment of the present application;

[0048] Fig.10 is a flow chart of a word display method provided in an embodiment of the present application;

[0049] Fig.11 is a schematic diagram of obtaining a target character string provided in an embodiment of the present application;

[0050] Fig.12 is a schematic diagram of obtaining a target character string provided in an embodiment of the present application;

[0051] Fig.13 It is a principle flow chart of a word display method provided in an embodiment of the present application;

[0052] Fig.14 is a schematic diagram of a word display method provided in an embodiment of the present application;

[0053] Fig.15 is a schematic diagram of a word display method provided in an embodiment of the present application;

[0054] Fig.16 is a schematic diagram of a selection word provided in an embodiment of the present application;

[0055] Fig.17 is a structural schematic diagram of a word display device provided in an embodiment of the present application;

[0056] Fig.18 It is a structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation mode of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0058] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with basically the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on quantity and execution order.

[0059] The following is an introduction to the implementation environment of this application. Figure 1 is a schematic diagram of an implementation environment of a word display method provided in an embodiment of the present application, see Figure 1 The implementation environment includes a terminal 101 and a server 102, and the terminal 101 and the server 102 are connected to each other via a wired network or a wireless network.

[0060] The terminal 101 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal or a smart home appliance, etc., which is not limited in the embodiments of the present application. The terminal 101 has an input method application installed and running, which may be an application provided by the operating system of the terminal 101, or a third-party application installed based on the operating system, which is not limited in the embodiments of the present application.

[0061] The server 102 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The server 102 is used to provide background services for the input method application of the terminal 101. Optionally, the number of the above terminals or servers may be more or less, and the embodiments of the present application are not limited to this.

[0062] based on Figure 1 The implementation environment shown, Figure 2 is a flowchart of a word display method provided in an embodiment of the present application, the method is executed by a terminal, such as Figure 2 As shown, this embodiment includes the following steps.

[0063] 201. The terminal obtains a target character string.

[0064] In some embodiments, the terminal is installed and runs an input method application, and the input method application provides a virtual keyboard, and the target object can input text in the terminal through the virtual keyboard. Optionally, the virtual keyboard is a 26-key full keyboard, a nine-square keyboard, a handwriting input keyboard, a voice-to-text input keyboard, a Korean input keyboard, a Japanese input keyboard, or an input keyboard of other languages. The specific type of the virtual keyboard is not limited in the embodiments of the present application.

[0065] For example, the virtual keyboard is a 26-key full keyboard. The target character string refers to a character string consisting of characters corresponding to the keyboard keys clicked in the virtual keyboard. Optionally, the target character string includes at least one of letters, numbers and symbols.

[0066] Optionally, when the terminal has a physical keyboard, such as a desktop computer or a laptop computer, the target character string refers to a character string consisting of characters corresponding to the keys clicked on the physical keyboard, which is not limited in this embodiment of the present application.

[0067] 202. The terminal displays at least one first word in a first candidate column, where the first word is a word that matches the target character string.

[0068] In some embodiments, the first word is a word retrieved based on a first word library, and the first word library is a basic word library. Optionally, the first word library includes common words. Of course, the first word can also be a word retrieved based on a professional word library or an object word library, the professional word library is used to store words in a specific field, and the object word library is used to store common words of an object, etc.

[0069] Optionally, when the language is Chinese, the first word is a word whose pinyin matches the target string. For example, the target string is the pinyin of the first word, and for another example, the target string is the first letter of the pinyin of each character in the first word. It can be understood that the method is also applicable to any ideographic characters, and the embodiment of the present application only takes Chinese as an example for illustration.

[0070] Optionally, when the language is a language other than Chinese, the first word refers to the word itself matching the target string, for example, the target string is the first few letters of the first word, and for another example, each character in the target string is the first letter of each word in the first word. The language is English, French, or other phonetic characters, which is not limited in the present embodiment.

[0071] 203. The terminal displays at least one second word in a second candidate column, where the second word is a custom word corresponding to the target character string.

[0072] The custom word is a word customized by the input method application, for example, the custom word is an uncommon word that the target object needs to input frequently or a word including more characters. Optionally, the custom word includes one or more combinations of letters, numbers, words, emoticons, and punctuation marks.

[0073] In some embodiments, the server obtains at least one second word from pre-set custom words based on the target character string.

[0074] The technical solution provided in the embodiment of the present application uses two different candidate columns to separately display matching words and custom words. Since these two types of words are displayed in different candidate columns, the display effect is intuitive and does not interfere with each other, so that the object can quickly select the words to be input in the corresponding candidate column based on its actual needs, thereby improving input efficiency.

[0075] Above Figure 2 The corresponding embodiment is a brief description of the word display method proposed in this application. Figure 3 , taking the virtual keyboard provided by the input method application as a full input keyboard as an example, the method is described in detail. Figure 3 is a flowchart of a word display method provided in an embodiment of the present application, the method is executed by a terminal, such as Figure 3 As shown, in one possible implementation, the embodiment includes the following steps.

[0076] 301. The terminal obtains a target character string based on the full input keyboard.

[0077] In some embodiments, the terminal runs an input method application, and in response to triggering an input function on the terminal, a full input keyboard provided by the input method application is displayed. In response to a click operation on a keyboard key in the full input keyboard, the terminal obtains the input target string. Exemplarily, Figure 4 is a schematic diagram of inputting a target character string provided in an embodiment of the present application, such as Figure 4 As shown, the terminal displays a full input keyboard 401, and in response to a click operation on a keyboard key 402, a target character string 403 is obtained.

[0078] 302. The terminal obtains at least one first word based on the target character string, where the first word is a word that matches the target character string.

[0079] In some embodiments, the terminal obtains the at least one first word through the following two obtaining methods based on the target character string input by the input operation.

[0080] In one implementation, the terminal obtains at least one first word based on the target string by interacting with the server. Exemplarily, the terminal sends a first word acquisition request to the server, and the first word acquisition request carries the target string. The server receives the first word acquisition request, and based on the target string carried in the first word acquisition request, searches for words matching the target string in the first word library, sends the retrieved words to the terminal, and the terminal obtains the words sent by the server as the first words.

[0081] In another implementation, the terminal obtains at least one first word from a first word library pre-stored in the terminal based on the target character string. The terminal can download the first word library from the server in advance, so that in the event of a network failure or other inability to interact with the server, the first word can be obtained, so that the target object can normally input the word.

[0082] Of course, the terminal may also acquire the first word based on other methods, for example, by searching the word library on the server and the word library stored on the terminal to obtain the first word, which is not limited in the embodiment of the present application.

[0083] In some embodiments, the at least one first word acquired by the terminal is a word that matches the target object among the words that match the target string. The match refers to conforming to the input habits of the target object, that is, step 302 acquires the at least one first word in the following multiple ways.

[0084] In one implementation, after obtaining multiple candidate words, the candidate words are screened based on their number of selections to obtain the first word whose number of selections is greater than a threshold number or whose number of selections is in the front target number.

[0085] Optionally, the number of times selected refers to the number of times the target object is selected on the terminal currently logged in, or the number of times the target object is selected on multiple terminals. In some embodiments, for the target object, the input method application will maintain the number of times the word is selected, so as to provide the target object with words that are more in line with its input habits. Exemplarily, the number of times the input method application maintains the number of times the word is selected is divided into the following two situations. In the case where the target object logs in to the input method account on the terminal, the input method application maintains the total number of times the target object selects the word on multiple login terminals, or the input method application maintains the number of times the target object selects the word on different login terminals, or the input method application maintains the number of times the target object selects the word on different login terminals, and maintains the total number of times selected, so that the usage scenario can be distinguished according to the terminal actually used by the object, thereby providing a display that is more in line with the input habit. In the case where the target object has not logged in to the input method account on the terminal, the input method application maintains the number of times the target object selects the word on the terminal currently used. In this way, the first word displayed in the first candidate column can be more consistent with the input habits of the target object, so that the displayed word has a higher probability of being selected by the target object, thereby achieving the purpose of improving the input efficiency of the target object.

[0086] In one implementation, after obtaining multiple candidate words, they are screened based on the matching information between the candidate words and the target object to obtain the first word whose matching information is greater than the information threshold or whose matching information is located in the front target digit. The matching information is used to indicate the degree of matching between the word and the object. The matching information is determined based on the object information or label of the target object and the word label of the candidate word. The label of the object is used to indicate the input habits or basic information of the object, and the word label is used to indicate the category to which the candidate word belongs. The candidate words are screened through the matching information so that the words displayed in the first candidate column can meet the input habits of the target object, thereby increasing the probability that the displayed words are selected by the target object, thereby achieving the purpose of improving input efficiency.

[0087] In some embodiments, at least one first word acquired by the terminal is a word whose heat information is greater than a heat threshold or whose heat information is in the front target digit among the words matching the target string, and the heat information is used to indicate the popularity of the word. That is, after acquiring multiple candidate words, screening is performed based on the heat information of the candidate words to obtain the first word whose heat information is greater than the heat threshold or whose heat information is in the front target digit. The heat information is obtained based on the number of times the word is selected by multiple objects and / or the number of times the word appears in multiple types of texts.

[0088] It should be noted that the above-mentioned process of screening candidate words can be executed by the server, and then the first word obtained by the screening is sent to the terminal for display. The screening process can also be executed by the terminal, that is, the terminal screens based on the obtained candidate words and then displays them. The candidate words obtained by the terminal can be from the server or the terminal based on a first word library query pre-stored locally.

[0089] 303. The terminal displays the at least one first word in a first candidate column.

[0090] In some embodiments, the terminal displays the at least one first word in the first candidate column in the order of the word matching information of the at least one first word from large to small. Wherein, the word matching information is used to indicate the degree of matching between the first word and the target string. The display can be a display from left to right. In this way, the words with a higher degree of matching with the target string can be displayed on the left side of the first candidate column, that is, the words with a higher probability of being selected by the target object are displayed on the left side of the first candidate column, so that the target object can select the words to be input more quickly, thereby improving the input efficiency. Of course, in a specific keyboard mode, such as a left-hand input mode, the above display can also be a display from right to left, so that the words with a higher degree of matching with the target string are displayed on the right side of the first candidate column for easy clicking. The display mode can be changed according to the keyboard mode to present the word display effect that best suits the usage habits.

[0091] For example, Figure 5 As shown, Figure 5 It is a schematic diagram of a first candidate column provided in an embodiment of the present application. The first candidate column 501 is located above the full input keyboard. The terminal displays the acquired first word 502 in the first candidate column.

[0092] In some embodiments, the terminal displays at least one first word in the first candidate column in descending order of the number of times the at least one first word is selected or the matching information with the target object. The display can be from left to right. In this way, the words that meet the input habits of the target object can be displayed on the left side of the first candidate column, so that the target object can select the words to be input more quickly, thereby improving the input efficiency. Of course, in a specific keyboard mode, such as a left-hand input mode, the above display can also be displayed from right to left, so that the words that are more in line with the target object are displayed on the right side of the first candidate column for easy clicking. The display method can be changed according to the keyboard mode to present a word display effect that best suits the usage habits.

[0093] In some embodiments, the terminal displays at least one first word in the first candidate column in the order of the popularity information of the at least one first word from large to small. The display can be a left-to-right display. In this way, the words with higher popularity are displayed on the left side of the first candidate column, so that the target object can select the words to be input more quickly, thereby improving the input efficiency. Of course, in a specific keyboard mode, such as a left-hand input mode, the above display can also be a right-to-left display, so that the words with higher popularity are displayed on the right side of the first candidate column for easy clicking. The display method can be changed according to the keyboard mode to present a word display effect that best suits usage habits.

[0094] 304. The terminal obtains at least one second word based on the target character string, where the second word is a custom word corresponding to the target character string.

[0095] In some embodiments, the terminal obtains at least one second word having a preset mapping relationship with the target character string from a second word library pre-stored in the terminal based on the target character string, wherein the second word library includes a custom word set by the input method application and a character string having a preset mapping relationship with the custom word.

[0096] In some embodiments, the server stores a second word library of the target object, and the terminal obtains the at least one second word from the second word library by interacting with the server. The process of the terminal interacting with the server is the same as the process of obtaining the first word, which will not be repeated here.

[0097] It should be noted that when the target object logs in to the input method account on the terminal, the terminal can upload to the server the custom words and corresponding strings set by the target object in the input method application to update the second vocabulary in the server. Different terminals can synchronize the second vocabulary based on the target object, thereby using the custom words in the second vocabulary to perform input operations, thereby improving input efficiency.

[0098] In some embodiments, the terminal determines whether a custom word function has been enabled, the custom word function being used to provide a function of displaying the at least one second word. If the custom word function has been enabled, the terminal performs the process of obtaining the second word and step 305, and if the custom word function has not been enabled, the terminal does not perform the process of obtaining the second word and step 305.

[0099] 305. The terminal displays the at least one second word in a second candidate column.

[0100] In some embodiments, the terminal displays a second candidate column, in which the at least one second word is displayed. Optionally, the terminal displays the second candidate column outside the first candidate column. Optionally, the terminal displays the second candidate column above the first candidate column in an ascending display manner. Optionally, the terminal displays the second candidate column below the first candidate column in a pull-down display manner.

[0101] In some embodiments, the terminal can display the at least one second word in the second candidate column in the following two ways.

[0102] In one implementation, when the number of characters of the target word in at least one second word is less than the target number, the terminal displays all characters of the target word in the second candidate column, and the target number is the number of characters supported by the second candidate column. Optionally, when there are multiple second words, the terminal displays some characters of the second word other than the target word in at least one second word in the second candidate column. Exemplarily, Figure 6 is a schematic diagram of a second candidate column provided in an embodiment of the present application, such as Figure 6 As shown, the terminal displays all characters of the target word 602 in the second candidate column 601, and displays some characters of the second word 603 except the target word.

[0103] In another implementation, when the number of characters of the target word is greater than or equal to the target number, the terminal displays the first target number of characters of the target word in the second candidate column.

[0104] Through the above two methods, the target word can be displayed as completely as possible in the second candidate column, thereby avoiding the situation where the target object cannot select the word to be input due to incomplete displayed words, thereby improving input efficiency. In some embodiments, the terminal can also display the second word in the second candidate column in separate lines, so that the second word can be completely displayed in the candidate column.

[0105] In some embodiments, the target word is the word ranked first in the at least one second word; or, the target word is the word marked as a priority display in the at least one second word. The order of the second words or the mark of the priority display is pre-set by the input method application. For example, the target object can set a custom word to be displayed first. Since the target word is a word set to be displayed first, the target word is more likely to be selected by the target object. The terminal can improve the input efficiency of the target object by fully displaying the target word in the second candidate column.

[0106] In some embodiments, the target word is the word with the largest number of selections among the at least one second word. Optionally, the number of selections is the number of times the target object has been selected on the currently logged-in terminal; or, the number of selections is the number of times the target object has been selected on multiple terminals; or, the number of selections is the number of times the target object has been selected by multiple objects.

[0107] Exemplarily, for the target object, the input method application maintains the number of times the custom words in the second vocabulary are selected by maintaining the same method as the number of times the words in the first vocabulary are selected, so that the terminal can determine the target word that meets the input habits of the target object, and by fully displaying the target word in the second candidate column, the probability of the displayed word being selected by the target object can be higher, thereby improving input efficiency.

[0108] Exemplarily, the input method application can also maintain the number of times the custom word is selected in the input method application for a certain custom word. The number of times the custom word is selected in the input method application can refer to the number of times it is selected by multiple objects in the login scenario, or the number of times it is selected by the object using the input method application. For example, in the case where the multiple objects have logged into the input method account on the terminal used, taking a custom word as a candidate word as an example, the input method application first determines the number of times the target object selects the custom word, determines the object that has the same custom word as the target object, and then obtains the number of times the custom word is selected by the object. By summing the above numbers, the total number of times the custom word is selected in the input method application is obtained, so that the terminal can determine the target word with the largest total number of selections. Since the greater the number of times it is selected by multiple objects, the higher the frequency of use of the word, that is, the higher the popularity of the word, therefore, by fully displaying the target word, the probability of the word displayed in the second candidate column being selected by the target object is increased, thereby improving input efficiency.

[0109] It should be noted that the maintenance of the number of selections by the input method application involved in the embodiment of the present application may refer to the maintenance by the client of the input method application, that is, the terminal, or the maintenance by the server of the input method application, or the maintenance by the client and server of the input method application together, and the embodiment of the present application does not limit this.

[0110] In some embodiments, the first candidate column and the second candidate column both include an expansion option, the expansion option of the first candidate column is used to display all the characters of each first word based on a trigger, and the expansion option of the second candidate column is used to display all the characters of each second word based on a trigger. Accordingly, the method also includes: the terminal responds to the trigger operation of the expansion option of the first candidate column, collapses the second candidate column, and displays all the characters of each first word in the at least one first word. The terminal responds to the trigger operation of the expansion option of the second candidate column, and displays all the characters of each second word in the at least one second word in a list form. By triggering the expansion option of the first candidate column or the second candidate column, more first words or second words can be displayed for the target object to select, which increases the probability that the displayed words are selected by the target object, thereby improving input efficiency.

[0111] For example, Figure 7 is a schematic diagram of an expansion option of a first candidate column provided in an embodiment of the present application, such as Figure 7 As shown, in response to the triggering operation of the expansion option 701 of the first candidate column, the terminal collapses the second candidate column 702 and displays all the characters of each first word.

[0112] For example, Figure 8is a schematic diagram of an expansion option of a second candidate column provided in an embodiment of the present application, such as Figure 8 As shown, in response to the triggering operation of the expansion option 801 of the second candidate column, the terminal displays all the characters of each second word in a list form in area 802.

[0113] In some embodiments, the terminal can display all the characters of each second word in a list in the following two ways. In one implementation, the terminal displays all the characters of each second word in a list in the preset order of the at least one second word. The preset order is an order pre-set by the input method application. For example, the second words in the front position are words that are more frequently used by the target object. By displaying the second words in a preset order, the custom words that are more frequently used by the target object can be displayed at the front of the list, so that the target object can find the content to be input more quickly, thereby improving the input efficiency.

[0114] In another implementation, the terminal displays all characters of each second word in a list in the order of the number of times the at least one second word is selected from large to small. Optionally, the terminal displays all characters of each second word in the order of the number of times the second word is selected by the target object on the currently logged-in terminal or on multiple terminals from large to small. In this way, the second word that is more in line with the input habit of the target object can be displayed in front, so that the target object can find the word to be input more quickly, thereby improving the input efficiency.

[0115] Optionally, the terminal displays all characters of each second word in descending order of the number of times the second word is selected by multiple objects. In this way, the second word with higher frequency of use can be displayed in front, that is, the second word with higher probability of being selected by the target object is displayed in front, thereby improving input efficiency.

[0116] In some embodiments, the second candidate column is a cloud candidate column. Fig. 9 is a schematic diagram of a cloud candidate column provided in an embodiment of the present application, such as Fig. 9 As shown, area 901 is a cloud candidate bar, and the terminal can display at least one second word in the cloud candidate bar, and in response to a trigger operation of an expansion option 902 of the cloud candidate bar, all characters of each second word are displayed in a list form.

[0117] In the case where the second candidate column is a cloud candidate column, the method also includes: the terminal obtains at least one of a third word and an emoticon matching the target string, and displays at least one of the third word and an emoticon matching the target string in the second candidate column, wherein the third word is a word matching the target string whose growth rate of heat information is greater than a growth rate threshold or whose growth rate of heat information is in the front target digit.

[0118] Exemplarily, the process of obtaining the third word is described. Based on the target character string, after obtaining multiple matching candidate words from the first vocabulary, the candidate words are screened based on the growth rate of the popularity information to obtain the third word whose growth rate of the popularity information is greater than the growth rate threshold or whose growth rate of the popularity information is in the front target digit. Among them, the growth rate of the popularity information is obtained based on the popularity information of the word in the historical time period. Accordingly, the input method application will maintain the popularity information of the word in the historical time period. For example, the input method application maintains the popularity information of the word every day in a week. By screening the candidate words based on the growth rate of the popularity information, words with faster popularity growth can be displayed in the second candidate column, thereby displaying more words with a higher probability of being selected for the target object, thereby improving input efficiency.

[0119] Optionally, based on the target character string, multiple matching candidate words are obtained from the third word library, and the candidate words are screened based on the growth rate of the popularity information to obtain a third word whose growth rate of the popularity information is greater than the growth rate threshold or whose growth rate of the popularity information is in the front target digit. The third word library is a network word library, and the third word library includes multiple network terms. By obtaining network terms with faster growth in popularity, more different types of words can be provided to the target object, so that the target object is more likely to find the content to be input in the displayed words, thereby improving the input efficiency.

[0120] Exemplarily, the process of obtaining an emoticon that matches a target string is described. The semantic information of the target string is obtained, and the semantic information is used to represent the words that match the target string. Based on the semantic information of the target string, an emoticon that matches the semantic information is obtained from an emoticon library, and the emoticon library includes a plurality of emoticons. For example, the target string is "kaixin", and the word that matches the target string may be "happy", then the emoticon obtained is an emoticon that represents happiness. By obtaining emoticons, more optional content can be provided to the target object, so that the target object is more likely to find the content to be input among the displayed words and emoticons, further improving the input efficiency.

[0121] It should be noted that the above-mentioned process of obtaining the third word and emoticon can be executed by the server, and then the obtained third word and emoticon are sent to the terminal. The acquisition process can also be executed by the terminal, that is, the terminal obtains the third word and emoticon from the pre-stored first word library, third word library and emoticon library.

[0122] In some embodiments, the terminal responds to the existence of a second word corresponding to the target string, that is, in the above step 304, the terminal obtains the second word, displays the second candidate column, and executes the process of displaying the second word in step 305. If there is no second word corresponding to the target string, the terminal does not display the second candidate column, and does not execute the process of displaying the second word in step 305.

[0123] The technical solution provided in the embodiment of the present application uses two different candidate columns to separately display matching words and custom words. Since these two types of words are displayed in different candidate columns, the display effect is intuitive and does not interfere with each other, so that the object can quickly select the words to be input in the corresponding candidate column based on its actual needs, thereby improving input efficiency.

[0124] Combine the following Fig.10 , taking the virtual keyboard provided by the input method application as a nine-square keyboard as an example, the word display method is explained. Fig.10 is a flow chart of a word display method provided by an embodiment of the present application, such as Fig.10 As shown, the method is executed by a terminal, and the embodiment includes the following steps.

[0125] 1001. The terminal obtains at least one set of target character strings based on the nine-square grid keyboard.

[0126] In some embodiments, the terminal obtains at least one set of target character strings corresponding to the keyboard keys based on the keyboard keys corresponding to the input operation. The input operation refers to a click operation on the keyboard keys. Exemplarily, the terminal runs an input method application, and in response to triggering an input function on the terminal, a nine-square keyboard provided by the input method application is displayed. In response to a click operation on a keyboard key in the nine-square keyboard, the terminal obtains at least one set of target character strings based on the clicked keyboard keys.

[0127] In some embodiments, the terminal obtains the at least one set of character strings in the following two ways.

[0128] In one implementation, when the target object only clicks on the keys of the nine-grid keyboard, the terminal determines the multiple characters corresponding to each clicked key of the nine-grid keyboard based on the keys of the nine-grid keyboard corresponding to the input operation. Fig.11As shown, the keys of the nine-grid keyboard that are clicked are 1101 and 1102, the characters corresponding to the key 1101 of the nine-grid keyboard are "ABC", and the characters corresponding to the key 1102 of the nine-grid keyboard are "JKL". Further, the terminal combines the characters corresponding to the keys of the nine-grid keyboard that are clicked into multiple groups of target character strings based on the click order. For example, the characters corresponding to the keys of the nine-grid keyboard that are clicked are "ABC" and "JKL" respectively, then the multiple groups of character strings are "AJ", "AK", "BL", etc.

[0129] In another implementation, when the target object clicks on the keys of the nine-grid keyboard and the navigation keys, the terminal determines the character corresponding to the clicked navigation key from the multiple characters corresponding to each of the clicked keys of the nine-grid keyboard based on the clicked navigation key, so as to obtain the target character string. It is understandable that since each key of the nine-grid keyboard corresponds to multiple characters, in the process of inputting the target character string, the target object first clicks on the key of the nine-grid keyboard corresponding to the character to be input, and then selects the character to be input from the multiple characters corresponding to the keys of the nine-grid keyboard by clicking the navigation key. For example, Fig.12 As shown, the terminal detects the click operation on the keys 1201 and 1202 of the nine-square keyboard and the click operation on the navigation keys 1203 and 1204. The letters corresponding to the key 1201 of the nine-square keyboard are "ABC", and the letters corresponding to the key 1202 of the nine-square keyboard are "DEF". Through the characters corresponding to the navigation keys 1203 and 1204, the letter "A" is determined from "ABC", and the letter "D" is determined from "DEF", thereby obtaining a set of target character strings "AD".

[0130] 1002. The terminal obtains at least one first word based on the at least one group of target character strings, where the first word is a word that matches the target character string.

[0131] In some embodiments, for the two situations in the above step 1001, the terminal obtains the at least one first word through the following two methods.

[0132] In one implementation, when the target object only clicks on the keys of the nine-square keyboard, the terminal determines the target string displayed in the interface from the multiple groups of target strings obtained, for example, Fig.11 As shown, the terminal determines the target string 1103 displayed in the interface from the multiple groups of target strings obtained. Further, the terminal obtains the at least one first word based on the target string displayed in the interface by the same method as step 302. Optionally, the target string displayed in the interface is any one of the multiple groups of strings, or is a string composed of the first character corresponding to each key clicked on the nine-square keyboard.

[0133] In another implementation, when the target object clicks on the keys of the nine-square keyboard and the navigation keys, the terminal obtains the at least one first word based on the obtained set of target strings by the same method as step 302, which is not elaborated in the embodiment of the present application.

[0134] 1003. The terminal displays the at least one first word in the first candidate column.

[0135] In some embodiments, step 1003 is the same as step 303 and will not be described again.

[0136] 1004. The terminal obtains at least one second word based on the at least one group of target character strings, and a preset mapping relationship exists between the second word and the target character string.

[0137] Exemplarily, the process of obtaining the second word is described by taking the first case in the above step 1001 as an example. For example, the multiple groups of target character strings obtained by the terminal are "AD" and "AE", and in the second word library, the word with a preset mapping relationship with the target character string "AD" is "A City D Street East District", and the word with a mapping relationship with the target character string "AE" is "A City E Street West District", then the terminal obtains the two second words "A City D Street East District" and "A City E Street West District" from the second word library based on the obtained multiple groups of target character strings.

[0138] Exemplarily, the process of obtaining the second word is described by taking the second case in the above step 1001 as an example. For example, the target character string obtained by the terminal is "AD", and in the second word library, the word with a preset mapping relationship with the target character string "AD" is "A City D Street East District", then the terminal obtains "A City D Street East District" from the second word library through the target character string.

[0139] It should be noted that the above step 1004 is to illustrate the process of obtaining the second word by taking the second word library including the custom word and the character string having a preset mapping relationship with the custom word as an example. In some embodiments, the second word library also includes keyboard keys having a preset mapping relationship with the custom word, then the step 1004 can be replaced by: the terminal obtains at least one second word based on the keyboard key corresponding to the input operation, and the second word has a preset mapping relationship with the keyboard key. Optionally, the terminal records the keyboard keys having a preset mapping relationship with the custom word by recording the key information corresponding to the character string having a preset mapping relationship with the custom word in the second word library, and the key information is used to represent the keyboard key, for example, the key information is a number corresponding to the keyboard key, or the identifier of the keyboard key.

[0140] 1005. The terminal displays the at least one second word in a second candidate column.

[0141] In some embodiments, step 1005 is the same as step 305 and will not be described again here.

[0142] The technical solution provided in the embodiment of the present application uses two different candidate columns to separately display matching words and custom words. Since these two types of words are displayed in different candidate columns, the display effect is intuitive and does not interfere with each other, so that the object can quickly select the words to be input in the corresponding candidate column based on its actual needs, thereby improving input efficiency.

[0143] Above Figure 3 and Fig.10 In the corresponding embodiment, the process of displaying the first word and the second word in the first candidate column and the second candidate column respectively is described. Fig.13 , the process of inputting words through the word display method provided by this application is described, including the following steps.

[0144] (1) The terminal obtains a target character string in response to a click operation of a target object on a virtual keyboard.

[0145] (2) The terminal obtains at least one first word matching the target character string through the first word function module of the input method application based on the target character string, the input habit of the target object, and the number of times the multiple words are selected.

[0146] (3) The terminal displays the at least one first word in the first candidate column.

[0147] (4) The terminal determines whether the custom word function has been enabled through the second word function module of the input method application. If the custom word function is not enabled, the subsequent steps are not performed, such as Fig.14 As shown, the terminal only displays the first candidate column and the first word.

[0148] (5) If the custom word function is enabled, the terminal obtains at least one second word corresponding to the target character string through the second word function module. If there is no second word corresponding to the target character string, the subsequent steps are not executed.

[0149] (6) In response to acquiring at least one second word, the terminal displays a second candidate column, and displays at least one second word in the second candidate column.

[0150] It should be noted that if Fig.15 As shown, the terminal can execute the process of displaying the first word and the process of displaying the second word in parallel without being limited to the current timing.

[0151] It should be noted that the above-mentioned first word function module and the second word function module are independent of each other, which is equivalent to the current method of displaying two types of words in the same candidate column. The first word function module and the second word function module do not need to interact to display the two types of words in the same candidate column, thereby reducing the complexity of function implementation. Moreover, since the two function modules have no coupling relationship, the interference factors of the two function modules in the subsequent iterative update process are reduced.

[0152] (7) Fig.16 As shown, the target object selects a word from the first candidate column or the second candidate column for input based on the input requirement.

[0153] In some embodiments, in response to a click operation on a word in any candidate column, the terminal displays the clicked word in the display interface and collapses the two candidate columns. The target object can perform the next word input operation by inputting another character string.

[0154] In some embodiments, in response to a click operation on a word in any candidate column, the terminal displays the clicked word in the display interface, collapses the candidate column, and continues to display another candidate column and the words in the other candidate column. The target object can continue to select words in the other candidate column for input, or can perform the next word input operation by entering another character string.

[0155] Fig.17 is a structural schematic diagram of a word display device provided in an embodiment of the present application, such as Fig.17 As shown, the device includes an acquisition module 1701 , a first display module 1702 , and a second display module 1703 .

[0156] An acquisition module 1701 is used to acquire a target character string;

[0157] A first display module 1702 is used to display at least one first word in a first candidate column, where the first word is a word matching the target character string;

[0158] The second display module 1703 is used to display at least one second word in the second candidate column, where the second word is a custom word corresponding to the target character string.

[0159] In some embodiments, the second display module 1703 is configured to perform any of the following:

[0160] In the second candidate column, displaying all characters of the target word in the at least one second word;

[0161] In the second candidate column, the first target number of characters of the target word are displayed, and the target number is the number of characters supported by the second candidate column for display.

[0162] In some embodiments, the target word is the word ranked first among the at least one second word; or, the target word is the word marked as priority display among the at least one second word; or, the target word is the word selected the most times among the at least one second word.

[0163] In some embodiments, the number of selections is the number of times the target object is selected on the currently logged-in terminal; or, the number of selections is the number of times the target object is selected on multiple terminals; or, the number of selections is the number of times the target object is selected by multiple objects.

[0164] In some embodiments, the second display module 1703 is used to display partial characters of the at least one second word except the target word in the second candidate column.

[0165] In some embodiments, the second display module 1703 is used to display all characters of each second word in the at least one second word in a list format in response to a triggering operation of an expansion option of the second candidate column.

[0166] In some embodiments, the second display module 1703 is configured to perform any of the following:

[0167] Displaying all characters of each second word in a list format according to a preset order of the at least one second word;

[0168] All characters of each second word are displayed in a list in descending order of the number of times the at least one second word is selected.

[0169] In some embodiments, the acquisition module 1701 is used to acquire at least one set of target character strings corresponding to the keyboard keys based on the keyboard keys corresponding to the input operation;

[0170] The second display module 1703 is used to obtain at least one second word based on the at least one group of target character strings, and there is a preset mapping relationship between the second word and the target character string; and display the at least one second word in the second candidate column.

[0171] In some embodiments, the second display module 1703 is used to obtain at least one second word based on the keyboard key corresponding to the input operation, and there is a preset mapping relationship between the second word and the keyboard key; and display at least one second word in the second candidate column.

[0172] In some embodiments, the second display module 1703 is used to display the second candidate column if a custom word function is enabled, and the custom word function is used to provide a function of displaying the at least one second word.

[0173] In some embodiments, the second display module 1703 is used to display the second candidate column in response to the existence of a second word corresponding to the target character string.

[0174] In some embodiments, the second display module 1703 is used to display the second candidate column outside the first candidate column.

[0175] In some embodiments, the first display module 1702 is used to collapse the second candidate column and display all characters of each first word in the at least one first word in response to a triggering operation of an expansion option of the first candidate column.

[0176] In some embodiments, the second candidate column is a cloud candidate column.

[0177] In some embodiments, the second display module 1703 is used to display at least one of a third word and an emoticon matching the target string in the second candidate column, wherein the third word is a word whose growth rate of popularity information among the words matching the target string is greater than a growth rate threshold or whose growth rate of popularity information is in the front target digit, and the popularity information is used to indicate the popularity of the word.

[0178] In some embodiments, the first word is a word that matches the target object among the words that match the target string, or the first word is a word among the words that match the target string whose heat information is greater than a heat threshold or whose heat information is located in the front target digit.

[0179] It should be noted that: the word display device provided in the above embodiment only uses the division of the above functional modules as an example when displaying words. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the word display device provided in the above embodiment and the word display method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0180] The present disclosure provides a terminal for executing the above-mentioned word display method. Fig.18 1800 is a schematic diagram of a terminal structure provided in an embodiment of the present application. The terminal 1800 may be: a smart phone, a tablet computer, a laptop computer, a desktop computer, a vehicle-mounted terminal or a smart home appliance. The terminal 1800 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0181] Typically, the terminal 1800 includes: one or more processors 1801 and one or more memories 1802 .

[0182] The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1801 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1801 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1801 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0183] The memory 1802 may include one or more computer-readable storage media, which may be non-transitory. The memory 1802 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1802 is used to store at least one program code, which is used to be executed by the processor 1801 to implement the word display method provided in the method embodiment of the present application.

[0184] In some embodiments, the terminal 1800 may also optionally include: a peripheral device interface 1803 and at least one peripheral device. The processor 1801, the memory 1802 and the peripheral device interface 1803 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1803 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1804, a display screen 1805, a camera assembly 1806, an audio circuit 1807 and a power supply 1808.

[0185] The peripheral device interface 1803 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, the memory 1802, and the peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral device interface 1803 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0186] The radio frequency circuit 1804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1804 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1804 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1804 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1804 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0187] The display screen 1805 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1805 is a touch display screen, the display screen 1805 also has the ability to collect touch signals on the surface or above the surface of the display screen 1805. The touch signal can be input to the processor 1801 as a control signal for processing. At this time, the display screen 1805 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1805 can be one, and the front panel of the terminal 1800 is set; in other embodiments, the display screen 1805 can be at least two, which are respectively set on different surfaces of the terminal 1800 or are folded; in some embodiments, the display screen 1805 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1800. Even, the display screen 1805 can also be set as a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1805 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0188] The camera assembly 1806 is used to capture images or videos. Optionally, the camera assembly 1806 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1806 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0189] The audio circuit 1807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1801 for processing, or input them into the radio frequency circuit 1804 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1800. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1801 or the radio frequency circuit 1804 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1807 may also include a headphone jack.

[0190] The power supply 1808 is used to power various components in the terminal 1800. The power supply 1808 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1808 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0191] In some embodiments, the terminal 1800 further includes one or more sensors 1810 , including but not limited to: an acceleration sensor 1811 , a gyroscope sensor 1812 , a pressure sensor 1813 , an optical sensor 1814 , and a proximity sensor 1815 .

[0192] The acceleration sensor 1811 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1800. For example, the acceleration sensor 1811 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1801 can control the display screen 1805 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1811. The acceleration sensor 1811 can also be used to collect game or user motion data.

[0193] The gyro sensor 1812 can detect the body direction and rotation angle of the terminal 1800, and the gyro sensor 1812 can cooperate with the acceleration sensor 1811 to collect the user's 3D actions on the terminal 1800. The processor 1801 can implement the following functions based on the data collected by the gyro sensor 1812: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0194] The pressure sensor 1813 can be set on the side frame of the terminal 1800 and / or the lower layer of the display screen 1805. When the pressure sensor 1813 is set on the side frame of the terminal 1800, it can detect the user's holding signal of the terminal 1800, and the processor 1801 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1813. When the pressure sensor 1813 is set on the lower layer of the display screen 1805, the processor 1801 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1805. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0195] The optical sensor 1814 is used to collect the ambient light intensity. In one embodiment, the processor 1801 can control the display brightness of the display screen 1805 according to the ambient light intensity collected by the optical sensor 1814. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1805 is increased; when the ambient light intensity is low, the display brightness of the display screen 1805 is reduced. In another embodiment, the processor 1801 can also dynamically adjust the shooting parameters of the camera component 1806 according to the ambient light intensity collected by the optical sensor 1814.

[0196] The proximity sensor 1815, also called a distance sensor, is usually arranged on the front panel of the terminal 1800. The proximity sensor 1815 is used to collect the distance between the user and the front of the terminal 1800. In one embodiment, when the proximity sensor 1815 detects that the distance between the user and the front of the terminal 1800 is gradually decreasing, the processor 1801 controls the display screen 1805 to switch from the screen-on state to the screen-off state; when the proximity sensor 1815 detects that the distance between the user and the front of the terminal 1800 is gradually increasing, the processor 1801 controls the display screen 1805 to switch from the screen-off state to the screen-on state.

[0197] Those skilled in the art will understand that Fig.18 The structure shown in the figure does not constitute a limitation on the terminal 1800, and the terminal 1800 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0198] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including at least one program code, and the at least one program code can be executed by a processor to complete the word display method in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0199] In an exemplary embodiment, a computer program product is also provided, the computer program product includes at least one computer program, the at least one computer program is stored in a computer-readable storage medium. A processor of a terminal reads the at least one computer program from the computer-readable storage medium, and the processor executes the at least one computer program, so that the terminal performs the operations performed by the above-mentioned word display method.

[0200] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0201] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A word display method, characterized in that: The method comprises: Get the target string; In the first candidate column, at least one first word is displayed, where the first word is a word that matches the target character string; the first word is obtained through a first word function module of the input method application; In the second candidate column, at least one second word is displayed, and the second word is a custom word corresponding to the target character string; the second candidate column is displayed outside the first candidate column; the second word is obtained through the second word function module of the input method application; the first word function module and the second word function module are independent of each other.

2. The method according to claim 1, characterized in that: In the second candidate column, displaying at least one second word includes any of the following: In the second candidate column, displaying all characters of the target word in the at least one second word; In the second candidate column, a target number of characters before the target word are displayed, where the target number is the number of characters that the second candidate column supports displaying.

3. The method according to claim 2, characterized in that The target word is the word ranked first among the at least one second word; or, the target word is the word marked as priority display among the at least one second word; or, the target word is the word selected the most times among the at least one second word.

4. The method according to claim 3, characterized in that The number of times selected is the number of times the target object is selected on the currently logged-in terminal; or, the number of times selected is the number of times the target object is selected on multiple terminals; or, the number of times selected is the number of times the target object is selected by multiple objects.

5. The method according to claim 2, characterized in that: The displaying of at least one second word in the second candidate column includes: In the second candidate column, partial characters of the second words other than the target word in the at least one second word are displayed.

6. The method according to claim 1, characterized in that The method further comprises: In response to a triggering operation on the expansion option of the second candidate column, all characters of each second word in the at least one second word are displayed in a list form.

7. The method according to claim 6, characterized in that The displaying of all characters of each second word in the at least one second word in a list form includes any of the following: Displaying all characters of each second word in a list format according to a preset order of the at least one second word; All characters of each second word are displayed in a list in descending order of the number of times the at least one second word is selected.

8. The method according to claim 1, characterized in that The obtaining of the target character string comprises: Based on the keyboard keys corresponding to the input operation, obtaining at least one set of target character strings corresponding to the keyboard keys; The displaying of at least one second word in the second candidate column includes: Based on the at least one group of target character strings, obtaining at least one second word, wherein the second word has a preset mapping relationship with the target character string; In the second candidate column, the at least one second word is displayed.

9. The method according to claim 1, characterized in that: The displaying of at least one second word in the second candidate column includes: Based on the keyboard key corresponding to the input operation, obtaining at least one second word, where the second word has a preset mapping relationship with the keyboard key; In the second candidate column, at least one second word is displayed.

10. The method according to claim 1, characterized in that The method further comprises: If the custom word function is enabled, the second candidate column is displayed, and the custom word function is used to provide a function of displaying the at least one second word.

11. The method according to claim 10, characterized in that The method further comprises: In response to the presence of a second word corresponding to the target character string, the second candidate column is displayed.

12. The method according to claim 1, characterized in that The method further comprises: In response to a triggering operation on the expansion option of the first candidate column, the second candidate column is collapsed to display all characters of each first word in the at least one first word.

13. The method according to claim 1, characterized in that The second candidate column is a cloud candidate column.

14. The method according to claim 13, characterized in that The method further comprises: In the second candidate column, at least one of a third word and an emoticon matching the target character string is displayed, wherein the third word is a word matching the target character string whose growth rate of popularity information is greater than a growth rate threshold or whose growth rate of popularity information is in the front target digit, and the popularity information is used to indicate the popularity of the word.

15. The method according to any one of claims 1 to 14, characterized in that: The first word is a word that matches the target object among the words that match the target string, or the first word is a word whose heat information is greater than a heat threshold or whose heat information is located in the front target digit among the words that match the target string.

16. A word display device, characterized in that: The device comprises: The acquisition module is used to obtain the input operation of the target string; A first display module, configured to display at least one first word in a first candidate column based on the input operation, wherein the first word is a word matching the target character string; the first word is obtained through a first word function module of an input method application; A second display module is used to display at least one second word in a second candidate column based on the input operation, wherein the second word is a custom word corresponding to the input operation; the second candidate column is displayed outside the first candidate column; the second word is obtained through the second word function module of the input method application; the first word function module and the second word function module are independent of each other.

17. The device according to claim 16, characterized in that The second display module is used to perform any of the following: In the second candidate column, displaying all characters of the target word in the at least one second word; In the second candidate column, a target number of characters before the target word are displayed, where the target number is the number of characters that the second candidate column supports displaying.

18. The device according to claim 17, characterized in that The target word is the word ranked first among the at least one second word; or, the target word is the word marked as priority display among the at least one second word; or, the target word is the word selected the most times among the at least one second word.

19. The device according to claim 18, characterized in that The number of times selected is the number of times the target object is selected on the currently logged-in terminal; or, the number of times selected is the number of times the target object is selected on multiple terminals; or, the number of times selected is the number of times the target object is selected by multiple objects.

20. The device according to claim 17, characterized in that The second display module is used for: In the second candidate column, partial characters of the second words other than the target word in the at least one second word are displayed.

21. The device according to claim 16, characterized in that The second display module is used for: In response to a triggering operation on the expansion option of the second candidate column, all characters of each second word in the at least one second word are displayed in a list form.

22. The device according to claim 21, characterized in that The second display module is used to perform any of the following: Displaying all characters of each second word in a list format according to a preset order of the at least one second word; All characters of each second word are displayed in a list in descending order of the number of times the at least one second word is selected.

23. The device according to claim 16, characterized in that The acquisition module is used to: Based on the keyboard keys corresponding to the input operation, obtaining at least one set of target character strings corresponding to the keyboard keys; The second display module is used for: Based on the at least one group of target character strings, obtaining at least one second word, wherein the second word has a preset mapping relationship with the target character string; In the second candidate column, the at least one second word is displayed.

24. The device according to claim 16, characterized in that The second display module is used for: Based on the keyboard key corresponding to the input operation, obtaining at least one second word, where the second word has a preset mapping relationship with the keyboard key; In the second candidate column, at least one second word is displayed.

25. The device according to claim 16, characterized in that The second display module is used for: If the custom word function is enabled, the second candidate column is displayed, and the custom word function is used to provide a function of displaying the at least one second word.

26. The device according to claim 25, characterized in that The second display module is used for: In response to the presence of a second word corresponding to the target character string, the second candidate column is displayed.

27. The device according to claim 16, characterized in that The first display module is used for: In response to a triggering operation on the expansion option of the first candidate column, the second candidate column is collapsed to display all characters of each first word in the at least one first word.

28. The device according to claim 16, characterized in that The second candidate column is a cloud candidate column.

29. The device according to claim 28, characterized in that The second display module is used for: In the second candidate column, at least one of a third word and an emoticon matching the target character string is displayed, wherein the third word is a word matching the target character string whose growth rate of popularity information is greater than a growth rate threshold or whose growth rate of popularity information is in the front target digit, and the popularity information is used to indicate the popularity of the word.

30. The device according to any one of claims 16 to 29, characterized in that The first word is a word that matches the target object among the words that match the target string, or the first word is a word whose heat information is greater than a heat threshold or whose heat information is located in the front target digit among the words that match the target string.

31. A terminal, characterized in that: The terminal includes one or more processors and one or more memories, wherein at least one computer program is stored in the one or more memories, and the at least one computer program is loaded and executed by the one or more processors to implement the word display method according to any one of claims 1 to claim 15.

32. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to implement the word display method according to any one of claims 1 to 15.

33. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the word display method according to any one of claims 1 to 15 is implemented.