CN112711685A - Object display method and device and electronic equipment - Google Patents

Object display method and device and electronic equipment Download PDF

Info

Publication number
CN112711685A
CN112711685A CN202011589649.3A CN202011589649A CN112711685A CN 112711685 A CN112711685 A CN 112711685A CN 202011589649 A CN202011589649 A CN 202011589649A CN 112711685 A CN112711685 A CN 112711685A
Authority
CN
China
Prior art keywords
character information
input
target
candidate
candidate object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011589649.3A
Other languages
Chinese (zh)
Inventor
任巨伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011589649.3A priority Critical patent/CN112711685A/en
Publication of CN112711685A publication Critical patent/CN112711685A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The application discloses an object display method, an object display device and electronic equipment, wherein the method comprises the following steps: displaying a first candidate object in the candidate objects corresponding to the target character information based on a first sequencing mode; the target character information is character information input based on a keyboard control; under the condition that a first input is received, determining a second ordering mode of the candidate object corresponding to the first character information based on the first input; the first character information is part or all of the target character information; and displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode. The method and the device for searching the target object can improve the searching efficiency of the target object.

Description

Object display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an object display method and device and electronic equipment.
Background
With the rapid development of electronic equipment, various functions of an input method configured on the electronic equipment are increasingly improved, and a word stock is used as the most basic function of the input method, and candidate objects included in the word stock are increasingly strengthened.
At present, after a user inputs a character string such as pinyin by an input method, candidate objects corresponding to the pinyin in a lexicon are usually recalled and sorted by a certain sorting strategy, and candidate objects sorted in the front are displayed in a candidate display area. Because there are many candidate objects corresponding to the pinyin in the lexicon, when there is no target object desired by the user in the candidate objects displayed in the candidate display area, the user usually needs to continuously slide down through a pull-down menu to display other candidate objects and search for the target object desired by the user from the candidate objects.
Therefore, the object display mode in the prior art has the problem of low searching efficiency of the target object.
Disclosure of Invention
The embodiment of the application aims to provide an object display method, an object display device and electronic equipment, and can solve the problem that in the prior art, the object display mode has low target object searching efficiency.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an object display method, including:
displaying a first candidate object in the candidate objects corresponding to the target character information based on a first sequencing mode; the target character information is character information input based on a keyboard control;
under the condition that a first input is received, determining a second ordering mode of the candidate object corresponding to the first character information based on the first input; the first character information is part or all of the target character information;
and displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode.
In a second aspect, an embodiment of the present application provides an object display apparatus, including:
the first display module is used for displaying a first candidate object in the candidate objects corresponding to the target character information based on a first sequencing mode; the target character information is character information input based on a keyboard control;
the first determining module is used for determining a second ordering mode of the candidate object corresponding to the first character information based on the first input under the condition that the first input is received; the first character information is part or all of the target character information;
and the second display module is used for displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a first candidate object in candidate objects corresponding to target character information is displayed based on a first sequencing mode; under the condition that a first input is received, determining a second ordering mode of the candidate object corresponding to the first character information based on the first input; the first character information is part or all of the target character information; and displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode. Therefore, when the target object is selected from the candidate objects corresponding to the target character information, the user can switch the sorting mode of the candidate objects through interactive operation according to the requirement of the user, and re-sort the candidate objects corresponding to part or all of the character information of the target character information based on the changed sorting mode so as to arrange the target objects desired by the user in front, so that the user can quickly locate the target object, and the searching efficiency of the target object can be improved.
Drawings
Fig. 1 is a flowchart of an object display method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of probability-based ranking in a first ranking mode;
FIG. 3 is a schematic flow diagram of selecting a target object based on a panning input;
FIG. 4a is a schematic view of a candidate display area displaying a first candidate object based on a first ordering;
FIG. 4b is a schematic view of a candidate display area displaying a second candidate object based on a second ordering;
FIG. 4c is a schematic diagram of a candidate display area displaying candidate objects corresponding to the second character information based on a preset sorting manner;
FIG. 4d is a schematic view of a candidate display area displaying a third candidate object based on a third sorting mode;
FIG. 5a is one of the schematic diagrams of the switching of the sorting mode by the option list;
FIG. 5b is a second schematic diagram illustrating the switching of the sorting mode by the option list;
fig. 6 is a structural diagram of an object display apparatus provided in an embodiment of the present application;
fig. 7 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The object display provided by the embodiments of the present application is described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of an object display method provided in an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step 101, displaying a first candidate object in candidate objects corresponding to target character information based on a first ordering mode; and the target character information is character information input based on the keyboard control.
In this step, the target character information is character information input based on a keyboard control, and the keyboard control may be a virtual keyboard control or an entity keyboard control, which is not specifically limited herein.
The target character information may be character information corresponding to input through a keyboard control by using an input method application program installed by the terminal itself or through a third party, and the target character information may include at least one character, and the at least one character may include letters, numbers, other symbols, and the like. The input through the keyboard control refers to input without triggering a confirmation control when characters are input, such as an enter key, a space key or an object selection key.
The candidate object corresponding to the target character information may include an expression, a word, a sentence, or the like, for example, a string of pinyin "kaixin" is input, and the candidate object corresponding to the target character information may include a word "happy" and a happy expression, or the like.
The type of the candidate object corresponding to the target character information may be chinese, english, or other languages, wherein the type of the candidate object corresponding to the target character information may be determined according to the type of the input method.
For example, if the type of the input method is a chinese input method, and the target character information input through the keyboard control is pinyin combined by letters, the type of the candidate object corresponding to the target character information is chinese.
For another example, if the type of the input method is an english input method, and the target character information input through the keyboard control is an english word composed of letters, the type of the candidate object corresponding to the target character information is english. In the following description, the type of the candidate object corresponding to the target character information will be described in detail by taking chinese as an example.
The user can input the target character information through different input modes in the Chinese input method, wherein the input modes are not limited to the 9-key input mode and the full-key input mode, and the input target character information can be understood as multiple pinyin combinations, so that usually, a plurality of candidate objects corresponding to the target character information are included. In the case where there are a plurality of pinyins in the pinyin combination corresponding to the target character information, such as the pinyin combination "zhoushuren", the candidate object corresponding to the target character information not only includes its own candidate object, but also recalls a single pinyin and candidate objects of a plurality of pinyins therein, such as "week" and "week number" waiting for selection.
In such a scenario, there are thousands of candidate objects corresponding to the target character information, and therefore, in practical applications, it is generally considered that the candidate objects with higher probability are arranged in front of the candidate objects desired by the user according to a certain sorting manner, so as to display the candidate objects in the candidate display area.
However, depending on the scenario of user input, the candidate objects displayed in the candidate display area may not include the target object desired by the user, for example, the user inputs "yi", the candidate display area usually displays a word with a simple stroke, such as "one", while the user actually wants to input a complex word "one", for example, the user inputs "zhou huren", the candidate display area usually displays "acquaintance", and the user actually wants to input a person name "zhou tree". In this case, the user may switch the sorting manner of the candidate objects corresponding to the target character information through interactive operation according to the input scene, so as to sort the desired candidate objects ahead, and display the candidate objects in the candidate display area.
The first sorting mode may be a preset sorting mode, the preset sorting mode may be a sorting mode in which candidate objects corresponding to the target character information are sorted according to probability, and the first sorting mode may also be a sorting mode in which a user switches the preset sorting mode through an interactive operation. In the following description, the first sorting manner will be described in detail by taking a preset sorting manner as an example.
Optionally, the target character information is pinyin information, and before displaying a first candidate object in candidate objects corresponding to the target character information based on the first sorting manner, the method further includes:
performing pinyin analysis on the target character information to obtain a pinyin combination result;
acquiring a candidate object corresponding to the target character information; the candidate object corresponding to the target character information comprises a candidate object corresponding to the pinyin combination result;
determining the probability score of each candidate object in the candidate objects corresponding to the target character information; the probability score represents the probability that the combination mode of the candidate object is a word combination mode, and/or the probability that the candidate object appears under the input of the target character information;
determining the first ordering mode based on the probability scores of the candidate objects corresponding to the target character information; and the first ordering mode is an ordering mode of performing descending order on the candidate objects corresponding to the target character information according to the probability scores of the candidate objects.
Specifically, after the user inputs the pinyin, the input pinyin is determined to be sorted by adopting a preset sorting mode, and the sorting sequence of each candidate object in the preset sorting mode is calculated. The candidate object sorting module comprises three modules which respectively comprise a pinyin analyzing module, a candidate word recalling module and a candidate word sorting module.
For example, the user wants to input the target object "hello", two input methods can be adopted, namely, the full key, i.e. 26 keys for inputting pinyin "nihao" and the 9 keys for inputting the number "64426".
After receiving the character information input by the user, the pinyin parsing module can parse the pinyin according to syllables, for example, for the pinyin 'nihao' input by adopting a 26-key input mode, the 'nihao' can be parsed into 'ni-hao', 'ni-h-ao', 'ni-ha-o', 'ni-h-a-o' and the like, the pinyin parsing algorithm essentially performs coarse and fine granularity parsing on the character information input by the user according to a Chinese pinyin table in a full-spelling or initial consonant matching mode, pruning operation can be performed according to common pinyin combinations in the actual operation process, and the complexity is calculated subsequently.
For the pinyin analysis in the 9-key input mode, all possible pinyins are restored through the letters represented by the key positions on the keyboard. For example, 6 can represent m, n and o, and is represented by 6- > m/n/o, 4- > g/h/I, 2- > a/b/c, so that the pinyin combinations of the character information "64426" are very many, "nihao" is only one of them, all numbers are converted into pinyin, and then are disassembled according to a pinyin table, and similarly, in order to reduce the computational complexity, a moderate pruning operation is also required.
After the pinyin combination is obtained through the pinyin analysis module, different character combinations can be searched in the word stock according to different pinyin combinations, such as: the 'ni-hao' can search the 'hello' and 'you number' to wait for word selection, and the possibility of word formation needs to be considered in the process of combining every two of all the ni and hao Chinese characters.
In the specific recall process of recalling through the candidate word recall module, the candidate word recall module can be abstracted into a serialization tagging problem, pinyin is used as a state value, characters under each pinyin are used as an observed value, the most possible word combination mode is solved by using a hidden Markov model and a conditional random field model, the probability scores in the word combination mode are reserved, and subsequent sequencing is facilitated.
The words can be sorted according to the language model from pinyin to words trained by the user input corpus, and the word sorting method can be briefly understood as that the word appearance probability under certain pinyin or digital input is obtained through batch corpus statistics, and the word sorting method is obtained through descending order according to the probability. As shown in fig. 2, y1, y2 … yn are pinyin, w11 and w12 and w13 are candidate words of y1, and the probabilities of multiple paths from the starting point to yn need to be calculated and sorted in the directed graph.
In addition, for different pinyin combinations, the same algorithm may be used to recall multiple levels of candidate words, for example, while recalling the candidate word "hello", a subset of the candidate words, such as "hello" and "you" waiting for a word selection, may also be recalled. Finally, the candidate word recall module can also perform single word recall in an important mode, recall single words of the first pinyin, for example, recall candidate words of pinyin "ni", such as you, ni, greasy, fit mud and the like, and is convenient for a user to perform word-by-word or word screening.
After obtaining a plurality of candidate words, the candidate word ranking module may rank the recalled candidate objects (i.e., the recalled candidate words and the candidate words) according to weights, break word number restrictions, and since the weights of the individual words and the words are derived from the same algorithm, the ranking may be mixed, and finally, a ranking result according to a comprehensive score of user input habits, word frequency information, and the like is obtained.
After the ranking result of the candidate object corresponding to the target character information is obtained based on the preset ranking mode, a plurality of candidate objects ranked in the front can be selected as first candidate objects to be displayed in the candidate display area.
In the case where the first candidate objects are displayed based on the first ranking manner, the user may select a target object desired by the user according to the displayed first candidate objects and the pull-down menu.
Step 102, under the condition that a first input is received, determining a second ordering mode of the candidate object corresponding to the first character information based on the first input; and the first character information is part or all of the target character information.
Before the target object is selected, if the target object desired by the user does not appear in the candidate display area, the user can switch the ordering mode of the candidate objects corresponding to the first character information, namely, part or all of the character information of the target character information, through interactive operation so as to display the target object desired by the user in the candidate display area. If the first input is received, that is, if the interactive operation is received, the second sorting mode of the candidate object corresponding to the first character information may be determined based on the first input of the user.
The first character information may be partial character information of the target character information, and the first character information may include at least one character, where the at least one character may include letters, numbers, or other symbols.
The first input may be a voice input, a gesture input, a touch input, or a shaking input, but is not limited thereto. The touch input may be a click input, a double-click input, a slide input, or the like, and the shaking input may be a shaking operation of shaking the device by the user.
The first input may be input for word number length of the candidate object, or input for character length (which may be pinyin length) of the first character information, or input for how many strokes of the candidate object are.
A second ordering of the candidate objects corresponding to the first character information may be determined based on the first input. For example, when the user inputs the pinyin "zhoushuren", the first input may be an input for the word count length of the candidate, and when the input word count length is 1, the candidate of "zhou" is preferentially sorted ahead. Correspondingly, the second sorting mode may be a sorting mode in which the input word length candidate is sorted before other word length candidates.
For another example, the first input may also be directed to input of a character length of a candidate, that is, a pinyin length, and when the input pinyin length is 1, the candidate of "zhou" is preferentially sorted ahead. Correspondingly, the second sorting mode may be a sorting mode in which the input pinyin-length candidate is sorted before other pinyin-length candidates.
For example, when the user inputs the pinyin "yi", the first input may be an input of how many strokes are for the candidate object, and when the number of input strokes is large, the candidate object with large strokes is preferentially sorted in the front. Correspondingly, the second sorting mode can be a sorting mode of sorting the candidate object with more strokes before the candidate object with less strokes, so that the user can well find out uncommon words.
And 103, displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode.
After determining the second sorting mode of the candidate object corresponding to the first character information, the candidate object corresponding to the first character information may be sorted based on the second sorting mode to obtain a sorting result, and the plurality of candidate objects sorted in the front may be displayed in the candidate display area as the second candidate object. In this manner, the user may select a desired target object based on the new candidate objects displayed by the candidate display area.
In this embodiment, a first candidate object of candidate objects corresponding to the target character information is displayed based on a first sorting manner; under the condition that a first input is received, determining a second ordering mode of the candidate object corresponding to the first character information based on the first input; the first character information is part or all of the target character information; and displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode. Therefore, when the target object is selected from the candidate objects corresponding to the target character information, the user can switch the sorting mode of the candidate objects through interactive operation according to the requirement of the user, and re-sort the candidate objects corresponding to part or all of the character information of the target character information based on the changed sorting mode so as to arrange the target objects desired by the user in front, so that the user can quickly locate the target object, and the searching efficiency of the target object can be improved.
Optionally, the step 103 specifically includes:
determining target information associated with the first input;
determining a second sorting mode of the candidate objects corresponding to the first character information based on the target information;
wherein the target information comprises a ranking parameter characterized by the first input, the ranking parameter characterized by the first input comprising at least one of:
word count length of the top ranked candidate;
the character length of the character information of the preceding candidate object;
the strokes of the preceding candidate object are ranked.
In this embodiment, the target information may include a ranking parameter represented by the first input, where the ranking parameter represented by the first input may be preset, and accordingly, in a case of receiving the first input, the preset ranking parameter associated with the first input may be determined.
The sorting parameter represented by the first input may also be determined according to an input manner, for example, if the first input is a shaking input or a selection input for a target option in an option list, the sorting parameter represented by the first input is determined as a word count length of a candidate object ranked in the front, or, for example, if the first input is a sliding input, the sorting parameter represented by the first input is determined as a stroke of the candidate object ranked in the front.
The second ranking may then be determined based on the ranking parameter characterized by the first input.
For example, when the user inputs the pinyin "zhoushuren", if the sorting parameter represented by the first input is the word count length of the candidate object sorted before, that is, the first input is an input for the word count length of the candidate object, when the input word count length is 1, the candidate object of "zhou" is preferentially sorted before. Correspondingly, the second sorting mode may be a sorting mode in which the input word length candidate is sorted before other word length candidates.
For another example, when the user inputs the pinyin "zhoushuren", if the sorting parameter represented by the first input is the character length of the character information of the candidate object sorted before, i.e. the pinyin length, that is, the first input is the input for the pinyin length of the candidate object, when the input pinyin length is 1, the candidate object of "zhou" is preferentially sorted before. Correspondingly, the second sorting mode may be a sorting mode in which the input pinyin-length candidate is sorted before other pinyin-length candidates.
For example, when the user inputs the pinyin "yi", if the first input represents the ranking parameter of the previous candidate object, that is, the first input is the input of how many strokes of the candidate object, when the number of input strokes is large, the candidate object with large number of strokes is preferentially ranked in the previous. Correspondingly, the second sorting mode can be a sorting mode of sorting the candidate object with more strokes before the candidate object with less strokes, so that the user can well find out uncommon words.
Of course, the ranking parameters characterized by the first input may include word count length and strokes of top ranked candidate objects, or a combination of different ranking parameters.
For example, when the user inputs the pinyin "zhoushhuren", if the sorting parameter characterized by the first input includes the word length of the candidate object sorted before and the strokes of the candidate object sorted before, when the input word length is 1 and the number of input strokes is relatively large, the target candidate object with large strokes in the candidate object of "zhou" is preferentially sorted before.
In this embodiment, target information associated with the first input is determined; and determining a second sorting mode of the candidate objects corresponding to the first character information based on the target information, so that various sorting parameters can be set for sorting the candidate objects, and the flexibility of sorting can be improved.
Optionally, the sorting parameter characterized by the first input is the word number length of a candidate object sorted at the top, the target information further includes the input parameter of the first input, and the determining, based on the target information, the second sorting mode of the candidate object corresponding to the first character information includes:
determining a target word count length based on an input parameter of the first input;
determining the second ordering mode based on the target word number length;
the second sorting mode is a sorting mode in which the candidate object with the target word number length in the candidate object corresponding to the first character information is arranged before other candidate objects in the candidate object corresponding to the first character information.
In this embodiment, when the user searches for a candidate object with a specific word length, the user may trigger the first input, and if the device receives the first input, the device may determine an input parameter of the first input, determine the target word number length based on the input parameter of the first input, and rank the target word number length, that is, the candidate object with the specific word length, in the top. The specific sorting logic is that the internal sorting logic under the same word number is the same as the original sorting score, except that the whole candidate object with the specific word length needs to be advanced, and the rest candidate objects are still sorted according to the original score.
However, special cases exist, which deal with the following:
when the specific word length input by the user exceeds the maximum length of the candidate object, if the first input is a shaking operation, the shaking times of the user exceed the maximum length of the candidate object, and the candidate object with the maximum length is ranked in the front by default. When the shaking times of the user is smaller than the lengths of all the candidate objects, the head word or the first character which is the same as the shaking times is intercepted from all the candidate objects and is used as a newly generated candidate object, and the head word or the first character is preferentially ranked in the front.
For example, in the case where the candidate includes only "acquaintance, treetor, input, and number", when the user shakes 1 time, the first character of the four words ("acquaintance, treetor, input, number") is intercepted and ranked as a new candidate. The specific sorting logic is: the weight of each character is the sum of the weights of the words to which the character belongs, and then the characters are sorted in descending order according to the weights of the characters. Similarly, if a plurality of words are intercepted, the weight is the sum of the weights of the words of the several intercepted segments, and the words are sorted in descending order.
In the present embodiment, the target word count length is determined by an input parameter based on the first input; and determining the second ordering based on the target word count length, such that the manner of determining the ordering is simple.
Optionally, the determining a target word count length based on the input parameter of the first input includes:
if the first input is shaking input, determining the length of the target word number based on the shaking times of the shaking input; alternatively, the first and second electrodes may be,
and if the first input is selection input aiming at a target option in an option list, determining the target word number length based on the parameter value in the target option.
Wherein a motion sensor may be provided on the device to listen for shaking inputs by the user.
Determining the target word count length based on a number of shakes of the shake input, including:
determining that the target word number length is the maximum word number length of the candidate object corresponding to the target character information under the condition that the shaking frequency of the shaking input is greater than the maximum word number length of the candidate object corresponding to the target character information;
and determining the target word number length as the shaking frequency of the shaking input when the shaking frequency of the shaking input is less than or equal to the maximum word number length of the candidate corresponding to the target character information.
In this embodiment, the motion acceleration of the device in the motion state may be obtained by monitoring events of the motion sensor data on the device, so as to record the number of shaking inputs and sort the words by combining the word number length of the candidate object. For example, shake once, one word-length candidate ranked first, shake twice, two word-length candidates ranked first, and so on.
Alternatively, the word count length of the candidate object with priority may be selected by performing word count filtering through a multi-selection menu, which may also implement switching of the sorting manner.
In addition, the switching of the sorting method is not limited to the panning input and the selection input of the multi-selection menu, and the switching of the sorting method may be realized by the sliding input of the finger on the screen.
Optionally, the first character information is partial character information in the target character information; after the step 103, the method further comprises:
under the condition that a second input for a target candidate object in the second candidate objects is received and a third input is received, determining a third sorting mode of the candidate object corresponding to the second character information based on the third input; the second input is used for confirming the input of the target candidate object, and the second character information is the character information which is arranged behind the first character information in the target character information;
and displaying a third candidate object in the candidate objects corresponding to the second character information based on the third sorting mode.
In this embodiment, the first character information is partial character information in target character information, and the target character information further includes second character information. For example, for the target character information "zhoushhuren", the user wants to input the target object "zhou person", the first character information may be "zhou", and the second character information may be "shuren".
Since the name "the tree man" is not a word, the candidate "the tree man" may not be recalled in the recall stage, and in this scenario, the user may select "the tree man" after "the week" through multiple selections.
Specifically, in the case that a second candidate object in the candidate objects corresponding to the first character information is displayed based on the second sorting manner, the user may perform on-screen input on a target candidate object in the second candidate object to consume the first character information in the target character information. For example, the user may perform on-screen input on a target candidate object "week" in the second candidate object corresponding to the first character information "zhou" to consume the first character information "zhou" in the target character information "zhou" and leave a candidate object of the second character information "churen" to be on-screen.
In this application scenario, in order to more conveniently find the word or the word corresponding to the second character information in the target object, the user may also perform a third input for switching the sorting manner, and accordingly, the object display device may switch the sorting manner of the candidate object corresponding to the second character information based on the third input, so as to obtain a third sorting manner.
Then, a third candidate object of the candidate objects corresponding to the second character information may be displayed based on the third sorting manner. Therefore, the user can perform on-screen input on the word or the character corresponding to the second character information in the target object according to the third candidate object displayed in the candidate display area, and finally the target object which the user wants to input is obtained.
Taking the first input and the third input as shaking inputs as an example, referring to fig. 3, fig. 3 is a schematic flow chart of selecting a target object based on the shaking inputs, as shown in fig. 3, the specific flow chart is as follows:
step 301, after the user inputs pinyin through an input method, displaying a first candidate object based on a first ordering mode.
In this step, the input pinyin may be "zhoushhuren", and the first candidate object displayed in the candidate display area based on the first ordering manner is as shown in fig. 4 a.
Step 302, determining whether the user clicks a target object or splices a target object in the candidate display area, if not, executing step 303, and if so, executing step 310.
Step 303, listening for a shaking input of the user and a reset input for the reset control.
If the shaking input of the user is monitored, step 304 is executed. If the reset input of the user for the reset control is monitored, step 311 is executed.
At step 304, the number of shakes for the shake input is determined.
Under the condition that the shaking action of the user is monitored, whether the shaking action is input or normal shaking which is deliberately shaken by the user for switching the sequencing mode can be judged, wherein whether the shaking action is the shaking input or the normal slight shaking can be determined according to the acceleration and the duration of the movement. In the case where a shake input by the user is monitored, the number of shakes of the shake input is determined.
Step 305, determining a second sorting mode according to the shaking times, and displaying a second candidate object based on the second sorting mode.
As shown in fig. 4b, it can be seen that, when the user shakes once, the second sorting manner is a sorting manner in which candidates corresponding to "zhou", that is, candidates having a word length, are sorted in the top, and the candidates displayed in the candidate display area are candidates having a word length.
Step 306, judging whether the user clicks a correct candidate segment corresponding to the first character information in the target object; if yes, the correct candidate segment is entered into the input field and the corresponding pinyin is consumed, as shown in fig. 4b, after selecting the correct candidate segment "week" in the target object "people in the tree of the week," week "is entered into the input field, and step 307 is executed.
And 307, displaying the candidate object corresponding to the second character information based on a preset sorting mode.
As shown in fig. 4c, after the pinyin "zhou" is consumed, the candidate objects corresponding to the second character information "shuren" are sorted according to the preset sorting mode, and a plurality of candidate objects sorted in the front are selected and displayed in the candidate display area.
Step 308, the shaking input of the user is monitored again, the third sorting mode of the candidate objects corresponding to the second character information is determined according to the shaking times of the shaking input, and the third candidate objects are displayed based on the third sorting mode.
As shown in fig. 4d, when the shake operation is monitored and the number of shake inputs is two, the candidates of two word sizes are displayed in front of the candidates of the other word sizes.
Step 309, judging whether the user clicks a correct candidate segment corresponding to the second character information in the target object; if yes, as shown in FIG. 4d, go to step 310.
Step 310, the target object is displayed on the screen.
Step 311, performing sort reset on the candidate object corresponding to the target character information, that is, redisplaying the first candidate object according to a preset sort mode, that is, switching to the sort mode shown in fig. 4 a.
The first input and the third input are selection inputs, and a flow of selecting the target object based on the selection inputs is similar to a flow of selecting the target object based on the shake inputs. Different from the shaking input for selecting the target object, the selection input is selection input aiming at options in an option list, namely a multi-selection menu, and the multi-selection menu comprises an ordering strategy, such as word number priority or stroke priority and the like, and also comprises an ordering parameter value, such as candidate object ordering priority of one word length or candidate object ordering priority of two word lengths and the like.
Taking "zhoushuren" as an example, as shown in fig. 5a and 5b, after the user inputs pinyin "zhoushuren", the user displays the option list through a pull-down menu, and selects the word number length of each sorting, that is, the user can quickly locate the target object by combining various sorts by switching the sorting modes of the candidate objects for many times.
In this embodiment, for an input target character information, a sort may be transformed based on each partial character information, so as to find a correct candidate segment in the target object, respectively. Therefore, the target object can be quickly positioned by combining various sorts through switching the sorting modes of the candidate objects for multiple times.
In addition, the embodiment can realize the capability of realizing various sequencing through the interactive operation of the user under the same input in the Chinese input method, and compared with single sequencing and fixed sequencing, the method can better meet the diversified sequencing requirements of the user under different time, places and scenes, reduce the input cost of the user, and simultaneously increase the interestingness of the input method.
Optionally, after displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting manner, the method further includes:
and if a fourth input for a reset control is received, displaying the first candidate object based on the first sequencing mode.
In this embodiment, by setting the reset control, the sequence of the candidate objects can be restored to the original sequence, so that the normal sequence of the candidate objects is ensured.
It should be noted that, in the object display method provided in the embodiment of the present application, the execution main body may be an object display apparatus, or a control module in the object display apparatus for executing the object display method. The object display device provided in the embodiment of the present application is described by taking an example in which the object display device executes an object display method.
Referring to fig. 6, fig. 6 is a structural diagram of an object display apparatus according to an embodiment of the present application, and as shown in fig. 6, an object display apparatus 600 includes:
a first display module 601, configured to display a first candidate object of candidate objects corresponding to the target character information based on a first sorting manner; the target character information is character information input based on a keyboard control;
the first determining module 602 is configured to determine, based on a first input, a second ordering manner of candidate objects corresponding to first character information when the first input is received; the first character information is part or all of the target character information;
a second display module 603, configured to display a second candidate object of the candidate objects corresponding to the first character information based on the second sorting manner.
Optionally, the first determining module 602 includes:
the first determining submodule is used for determining target information associated with the first input;
the second determining submodule is used for determining a second ordering mode of the candidate object corresponding to the first character information based on the target information;
wherein the target information comprises a ranking parameter characterized by the first input, the ranking parameter characterized by the first input comprising at least one of:
word count length of the top ranked candidate;
the character length of the character information of the preceding candidate object;
the strokes of the preceding candidate object are ranked.
Optionally, the sorting parameter characterized by the first input is word number length of a candidate object sorted at the top, the target information further includes the input parameter of the first input, and the second determining submodule includes:
a first determination unit for determining a target word count length based on an input parameter of the first input;
a second determining unit, configured to determine the second sorting manner based on the target word count length;
the second sorting mode is a sorting mode in which the candidate object with the target word number length in the candidate object corresponding to the first character information is arranged before other candidate objects in the candidate object corresponding to the first character information.
Optionally, the first determining unit is specifically configured to determine the length of the target word count based on a shaking number of the shaking input if the first input is the shaking input; or, if the first input is a selection input for a target option in an option list, determining the target word count length based on a parameter value in the target option.
Optionally, the first character information is partial character information in the target character information; the device further comprises:
the second determining module is used for determining a third sorting mode of the candidate object corresponding to the second character information based on a third input when the second input of the target candidate object in the second candidate object is received and the third input is received; the second input is used for confirming the input of the target candidate object, and the second character information is the character information which is arranged behind the first character information in the target character information;
and the third display module is used for displaying a third candidate object in the candidate objects corresponding to the second character information based on the third sorting mode.
Optionally, the target character information is pinyin information, and the apparatus further includes:
the pinyin analysis module is used for performing pinyin analysis on the target character information to obtain a pinyin combination result;
the acquisition module is used for acquiring a candidate object corresponding to the target character information; the candidate object corresponding to the target character information comprises a candidate object corresponding to the pinyin combination result;
a third determining module, configured to determine a probability score of each candidate object in the candidate objects corresponding to the target character information; the probability score represents the probability that the combination mode of the candidate object is a word combination mode, and/or the probability that the candidate object appears under the input of the target character information;
a fourth determining module, configured to determine the first ordering manner based on a probability score of a candidate object corresponding to the target character information; and the first ordering mode is an ordering mode of performing descending order on the candidate objects corresponding to the target character information according to the probability scores of the candidate objects.
In this embodiment, a first candidate object of candidate objects corresponding to the target character information is displayed through the first display module 601 based on the first sorting manner; under the condition that a first input is received through the first determining module 602, determining a second sorting mode of the candidate object corresponding to the first character information based on the first input; the first character information is part or all of the target character information; and a second candidate object of the candidate objects corresponding to the first character information is displayed through a second display module 603 based on the second sorting manner. Therefore, when the target object is selected from the candidate objects corresponding to the target character information, the user can switch the sorting mode of the candidate objects through interactive operation according to the requirement of the user, and re-sort the candidate objects corresponding to part or all of the character information of the target character information based on the changed sorting mode so as to arrange the target objects desired by the user in front, so that the user can quickly locate the target object, and the searching efficiency of the target object can be improved.
The object display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The object display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The object display device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, referring to fig. 7, fig. 7 is a structural diagram of an electronic device according to an embodiment of the present disclosure, as shown in fig. 7, an electronic device according to an embodiment of the present disclosure is further provided, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above-mentioned embodiment of the object display method, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 803 is configured to display a first candidate object of the candidate objects corresponding to the target character information based on the first ordering manner; the target character information is character information input based on a keyboard control;
the processor 810 is configured to, when a first input is received, determine a second ordering manner of candidate objects corresponding to the first character information based on the first input; the first character information is part or all of the target character information;
a display unit 806, configured to display a second candidate object of the candidate objects corresponding to the first character information based on the second sorting manner.
In the embodiment of the present application, a first candidate object of candidate objects corresponding to target character information is displayed through the display unit 806 based on a first sorting manner; determining, by the processor 810, a second sorting manner of the candidate object corresponding to the first character information based on the first input when the first input is received; the first character information is part or all of the target character information; and a second candidate object of the candidate objects corresponding to the first character information is displayed through the display unit 806 based on the second sorting manner. Therefore, when the target object is selected from the candidate objects corresponding to the target character information, the user can switch the sorting mode of the candidate objects through interactive operation according to the requirement of the user, and re-sort the candidate objects corresponding to part or all of the character information of the target character information based on the changed sorting mode so as to arrange the target objects desired by the user in front, so that the user can quickly locate the target object, and the searching efficiency of the target object can be improved.
Optionally, the processor 810 is further configured to determine target information associated with the first input; determining a second sorting mode of the candidate objects corresponding to the first character information based on the target information;
wherein the target information comprises a ranking parameter characterized by the first input, the ranking parameter characterized by the first input comprising at least one of:
word count length of the top ranked candidate;
the character length of the character information of the preceding candidate object;
the strokes of the preceding candidate object are ranked.
Optionally, the sorting parameter characterized by the first input is a word count length of a candidate object sorted in the top, the target information further includes an input parameter of the first input, and the processor 810 is further configured to determine a target word count length based on the input parameter of the first input; determining the second ordering mode based on the target word number length;
the second sorting mode is a sorting mode in which the candidate object with the target word number length in the candidate object corresponding to the first character information is arranged before other candidate objects in the candidate object corresponding to the first character information.
Optionally, the processor 810 is further configured to determine the length of the target word count based on a shaking number of the shaking input if the first input is the shaking input; or, if the first input is a selection input for a target option in an option list, determining the target word count length based on a parameter value in the target option.
Optionally, the first character information is partial character information in the target character information; the processor 810 is further configured to, when a second input to a target candidate object in the second candidate objects is received and a third input is received, determine a third sorting manner of candidate objects corresponding to the second character information based on the third input; the second input is used for confirming the input of the target candidate object, and the second character information is the character information which is arranged behind the first character information in the target character information;
the display unit 806 is further configured to display a third candidate object of the candidate objects corresponding to the second character information based on the third sorting manner.
Optionally, the target character information is pinyin information, and the processor 810 is further configured to perform pinyin analysis on the target character information to obtain a pinyin combination result; acquiring a candidate object corresponding to the target character information; the candidate object corresponding to the target character information comprises a candidate object corresponding to the pinyin combination result; determining the probability score of each candidate object in the candidate objects corresponding to the target character information; the probability score represents the probability that the combination mode of the candidate object is a word combination mode, and/or the probability that the candidate object appears under the input of the target character information; determining the first ordering mode based on the probability scores of the candidate objects corresponding to the target character information; and the first ordering mode is an ordering mode of performing descending order on the candidate objects corresponding to the target character information according to the probability scores of the candidate objects.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above object display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above object display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. An object display method, comprising:
displaying a first candidate object in the candidate objects corresponding to the target character information based on a first sequencing mode; the target character information is character information input based on a keyboard control;
under the condition that a first input is received, determining a second ordering mode of the candidate object corresponding to the first character information based on the first input; the first character information is part or all of the target character information;
and displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode.
2. The method of claim 1, wherein the determining a second ordering manner of the candidate objects corresponding to the first character information based on the first input comprises:
determining target information associated with the first input;
determining a second sorting mode of the candidate objects corresponding to the first character information based on the target information;
wherein the target information comprises a ranking parameter characterized by the first input, the ranking parameter characterized by the first input comprising at least one of:
word count length of the top ranked candidate;
the character length of the character information of the preceding candidate object;
the strokes of the preceding candidate object are ranked.
3. The method of claim 2, wherein the first input characterizes an ordering parameter that is a word count length of a candidate object ordered at the top, the target information further includes the input parameter of the first input, and the determining the second ordering of the candidate object corresponding to the first character information based on the target information includes:
determining a target word count length based on an input parameter of the first input;
determining the second ordering mode based on the target word number length;
the second sorting mode is a sorting mode in which the candidate object with the target word number length in the candidate object corresponding to the first character information is arranged before other candidate objects in the candidate object corresponding to the first character information.
4. The method of claim 3, wherein determining a target word count length based on the input parameters of the first input comprises:
if the first input is shaking input, determining the length of the target word number based on the shaking times of the shaking input; alternatively, the first and second electrodes may be,
and if the first input is selection input aiming at a target option in an option list, determining the target word number length based on the parameter value in the target option.
5. The method according to claim 1, wherein the first character information is partial character information in the target character information; after displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode, the method further includes:
under the condition that a second input for a target candidate object in the second candidate objects is received and a third input is received, determining a third sorting mode of the candidate object corresponding to the second character information based on the third input; the second input is used for confirming the input of the target candidate object, and the second character information is the character information which is arranged behind the first character information in the target character information;
and displaying a third candidate object in the candidate objects corresponding to the second character information based on the third sorting mode.
6. The method of claim 1, wherein the target character information is pinyin information, and before displaying a first candidate object of the candidate objects corresponding to the target character information based on the first ordering manner, the method further comprises:
performing pinyin analysis on the target character information to obtain a pinyin combination result;
acquiring a candidate object corresponding to the target character information; the candidate object corresponding to the target character information comprises a candidate object corresponding to the pinyin combination result;
determining the probability score of each candidate object in the candidate objects corresponding to the target character information; the probability score represents the probability that the combination mode of the candidate object is a word combination mode, and/or the probability that the candidate object appears under the input of the target character information;
determining the first ordering mode based on the probability scores of the candidate objects corresponding to the target character information; and the first ordering mode is an ordering mode of performing descending order on the candidate objects corresponding to the target character information according to the probability scores of the candidate objects.
7. An object display apparatus, comprising:
the first display module is used for displaying a first candidate object in the candidate objects corresponding to the target character information based on a first sequencing mode; the target character information is character information input based on a keyboard control;
the first determining module is used for determining a second ordering mode of the candidate object corresponding to the first character information based on the first input under the condition that the first input is received; the first character information is part or all of the target character information;
and the second display module is used for displaying a second candidate object in the candidate objects corresponding to the first character information based on the second sorting mode.
8. The apparatus of claim 7, wherein the first determining module comprises:
the first determining submodule is used for determining target information associated with the first input;
the second determining submodule is used for determining a second ordering mode of the candidate object corresponding to the first character information based on the target information;
wherein the target information comprises a ranking parameter characterized by the first input, the ranking parameter characterized by the first input comprising at least one of:
word count length of the top ranked candidate;
the character length of the character information of the preceding candidate object;
the strokes of the preceding candidate object are ranked.
9. The apparatus of claim 8, wherein the first input characterizes a ranking parameter that is a word count length of a top-ranked candidate, the target information further includes the input parameter of the first input, and the second determining submodule includes:
a first determination unit for determining a target word count length based on an input parameter of the first input;
a second determining unit, configured to determine the second sorting manner based on the target word count length;
the second sorting mode is a sorting mode in which the candidate object with the target word number length in the candidate object corresponding to the first character information is arranged before other candidate objects in the candidate object corresponding to the first character information.
10. The apparatus of claim 9, wherein the first determining unit is specifically configured to determine the target word count length based on a number of shaking times of the shaking input if the first input is the shaking input; or, if the first input is a selection input for a target option in an option list, determining the target word count length based on a parameter value in the target option.
11. The apparatus according to claim 7, wherein the first character information is partial character information in the target character information; the device further comprises:
the second determining module is used for determining a third sorting mode of the candidate object corresponding to the second character information based on a third input when the second input of the target candidate object in the second candidate object is received and the third input is received; the second input is used for confirming the input of the target candidate object, and the second character information is the character information which is arranged behind the first character information in the target character information;
and the third display module is used for displaying a third candidate object in the candidate objects corresponding to the second character information based on the third sorting mode.
12. The apparatus of claim 7, wherein the target character information is pinyin information, the apparatus further comprising:
the pinyin analysis module is used for performing pinyin analysis on the target character information to obtain a pinyin combination result;
the acquisition module is used for acquiring a candidate object corresponding to the target character information; the candidate object corresponding to the target character information comprises a candidate object corresponding to the pinyin combination result;
a third determining module, configured to determine a probability score of each candidate object in the candidate objects corresponding to the target character information; the probability score represents the probability that the combination mode of the candidate object is a word combination mode, and/or the probability that the candidate object appears under the input of the target character information;
a fourth determining module, configured to determine the first ordering manner based on a probability score of a candidate object corresponding to the target character information; and the first ordering mode is an ordering mode of performing descending order on the candidate objects corresponding to the target character information according to the probability scores of the candidate objects.
13. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the object display method as claimed in claims 1-6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the object display method according to claims 1-6.
CN202011589649.3A 2020-12-29 2020-12-29 Object display method and device and electronic equipment Pending CN112711685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011589649.3A CN112711685A (en) 2020-12-29 2020-12-29 Object display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011589649.3A CN112711685A (en) 2020-12-29 2020-12-29 Object display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112711685A true CN112711685A (en) 2021-04-27

Family

ID=75546945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011589649.3A Pending CN112711685A (en) 2020-12-29 2020-12-29 Object display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112711685A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679278A (en) * 2015-02-28 2015-06-03 广州三星通信技术研究有限公司 Character input method and device
CN104951099A (en) * 2015-06-16 2015-09-30 北京奇虎科技有限公司 Method and device for showing candidate items based on input method
WO2017133697A1 (en) * 2016-02-06 2017-08-10 上海触乐信息科技有限公司 Method and device for use in secondary text input
CN107179835A (en) * 2016-03-11 2017-09-19 北京搜狗科技发展有限公司 A kind of input method and device, a kind of device for being used to input
CN107340885A (en) * 2017-07-05 2017-11-10 广州阿里巴巴文学信息技术有限公司 A kind of input method implementation method and device
CN107797676A (en) * 2016-09-05 2018-03-13 北京搜狗科技发展有限公司 A kind of input method of the single character and device
CN109558016A (en) * 2017-09-25 2019-04-02 北京搜狗科技发展有限公司 A kind of input method and device
CN110780751A (en) * 2019-10-25 2020-02-11 维沃移动通信有限公司 Information processing method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679278A (en) * 2015-02-28 2015-06-03 广州三星通信技术研究有限公司 Character input method and device
CN104951099A (en) * 2015-06-16 2015-09-30 北京奇虎科技有限公司 Method and device for showing candidate items based on input method
WO2017133697A1 (en) * 2016-02-06 2017-08-10 上海触乐信息科技有限公司 Method and device for use in secondary text input
CN107179835A (en) * 2016-03-11 2017-09-19 北京搜狗科技发展有限公司 A kind of input method and device, a kind of device for being used to input
CN107797676A (en) * 2016-09-05 2018-03-13 北京搜狗科技发展有限公司 A kind of input method of the single character and device
CN107340885A (en) * 2017-07-05 2017-11-10 广州阿里巴巴文学信息技术有限公司 A kind of input method implementation method and device
CN109558016A (en) * 2017-09-25 2019-04-02 北京搜狗科技发展有限公司 A kind of input method and device
CN110780751A (en) * 2019-10-25 2020-02-11 维沃移动通信有限公司 Information processing method and electronic equipment

Similar Documents

Publication Publication Date Title
US11573939B2 (en) Process and apparatus for selecting an item from a database
CN105653134B (en) Application switching method and system
CN112269475A (en) Character display method and device and electronic equipment
CN112612391B (en) Message processing method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN112787907A (en) Display method and device and electronic equipment
CN112181253A (en) Information display method and device and electronic equipment
CN111880668A (en) Input display method and device and electronic equipment
CN114489913A (en) Interaction method, interaction device and electronic equipment
CN113590008A (en) Chat message display method and device and electronic equipment
CN113849092A (en) Content sharing method and device and electronic equipment
CN112416212A (en) Program access method, device, electronic equipment and readable storage medium
CN112558784A (en) Method and device for inputting characters and electronic equipment
CN112684910A (en) Input method candidate word display method and device and electronic equipment
CN112148135A (en) Input method processing method and device and electronic equipment
CN112099693A (en) Task display method and device and electronic equipment
JP7251025B2 (en) Recommended facial expression determination method, device, device, and computer storage medium
CN112711685A (en) Object display method and device and electronic equipment
CN112698734B (en) Candidate word display method and device and electronic equipment
CN115292462A (en) Character generation method and device, mobile terminal, readable storage medium and chip
CN114398127A (en) Message display method and device
CN113805708A (en) Information display method and device, electronic equipment and storage medium
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN112818094A (en) Chat content processing method and device and electronic equipment
CN113593614A (en) Image processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination