CN112684912A - Candidate information display method and device and electronic equipment - Google Patents

Candidate information display method and device and electronic equipment Download PDF

Info

Publication number
CN112684912A
CN112684912A CN202011606879.6A CN202011606879A CN112684912A CN 112684912 A CN112684912 A CN 112684912A CN 202011606879 A CN202011606879 A CN 202011606879A CN 112684912 A CN112684912 A CN 112684912A
Authority
CN
China
Prior art keywords
information
candidate
candidate information
content
interface
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
CN202011606879.6A
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 CN202011606879.6A priority Critical patent/CN112684912A/en
Publication of CN112684912A publication Critical patent/CN112684912A/en
Priority to PCT/CN2021/142065 priority patent/WO2022143661A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a candidate information display method and device and electronic equipment, and belongs to the technical field of electronic equipment. The method comprises the following steps: under the condition that the first interface comprises an input area, acquiring content information included by the first interface; displaying candidate information in a candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information or the candidate information matches with the first information in the content information. The method can realize information recommendation in advance according to the current application scene before the user inputs information; therefore, the requirement for information recommendation of the user can be met to the greatest extent, the information recommendation system can be attached to an actual use scene, the recommended information can be guaranteed to contain the information required by the user as much as possible, the user experience is improved, and the user requirement can be well met.

Description

Candidate information display method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a candidate information display method and device and electronic equipment.
Background
At present, in order to better meet the experience requirements of users, recommendation of related input words is generally performed when users use mobile phones for input. However, the conventional recommendation method has the following defects:
1. only after the user inputs the initial content, the mobile phone can recommend the content which is possibly input subsequently according to the content which is already input by the user, and the user requirement cannot be met to the maximum extent and quickly;
2. the content which is possibly recommended does not have the content required by the user and cannot meet the requirement of the user;
from the above, the existing scheme for recommending the input content has the problem that the user requirements cannot be well met.
Disclosure of Invention
The embodiment of the application aims to provide a candidate information display method, a candidate information display device and electronic equipment, and can solve the problem that the existing scheme for recommending input content cannot well meet the requirements of users.
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 a candidate information display method, including:
under the condition that a first interface comprises an input area, acquiring content information included by the first interface;
displaying candidate information in a candidate area of the first interface according to the content information;
wherein the candidate information belongs to the content information or the candidate information matches with first information in the content information.
In a second aspect, an embodiment of the present application provides a candidate information display apparatus, including:
the first acquisition module is used for acquiring content information included by a first interface under the condition that the first interface includes an input area;
the first display module is used for displaying candidate information in a candidate area of the first interface according to the content information;
wherein the candidate information belongs to the content information or the candidate information matches with first information in the content information.
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, under the condition that a first interface comprises an input area, content information included in the first interface is acquired; displaying candidate information in a candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information, or the candidate information is matched with first information in the content information; information recommendation can be carried out in advance according to the current application scene before the user inputs information; therefore, the requirement for information recommendation of the user can be met to the greatest extent, the information recommendation system can be attached to an actual use scene, the recommended information can be guaranteed to contain the information required by the user as much as possible, the user experience is improved, and the user requirement can be well met.
Drawings
FIG. 1 is a schematic flow chart illustrating a candidate information display method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a specific implementation of a candidate information display method according to an embodiment of the present application;
FIG. 3a is a first interface diagram of an embodiment of the present application;
FIG. 3b is a second schematic view of a first interface according to an embodiment of the present application;
FIG. 3c is a third schematic view of a first interface according to an embodiment of the present application;
FIG. 4 is a fourth schematic view of a first interface according to an embodiment of the present application;
FIG. 5 is a fifth schematic view of a first interface according to an embodiment of the present application;
FIG. 6 is a sixth schematic view of a first interface according to an embodiment of the present application;
FIG. 7a is a seventh schematic interface diagram according to an embodiment of the present application;
FIG. 7b is a schematic view eight of a first interface according to an embodiment of the present application;
FIG. 8 is a ninth schematic view of a first interface according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a candidate information display device according to an embodiment of the present application;
FIG. 10 is a first schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to 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 candidate information display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a candidate information display method provided in the embodiment of the present application includes:
step 11: under the condition that the first interface comprises an input area, content information included by the first interface is acquired.
It should be noted that the candidate information display method of the present application may be applied to an electronic device, such as a smart phone or a tablet computer. In the case that the first interface includes an input area, it may be understood that the electronic device is currently in an input method input state (e.g., a state where the input keyboard is already popped up), which indicates that the user needs to input information in the current interface. For example, in a chat interface, the user may need to reply to a message or send a message, at which point the user may click on the input box of the first interface, thereby popping up the input area. The content information includes, but is not limited to, text information, facial expression information, symbol information, numerical information, etc. in the first interface. In the case where the first interface includes an input area, the electronic device may acquire content information in the first interface.
The input area may also be understood as a content input area and the first interface may also be understood as a content display interface. The input area can be specifically realized as an input interface, and the corresponding first interface can be specifically realized as a display interface where the input interface is located; the first interface may specifically be a current electronic device interface.
Step 12: displaying candidate information in a candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information or the candidate information matches with first information in the content information.
The "matching" includes that the candidate information is information in a preset form corresponding to the first information in the content information.
It should be noted that the candidate region may be disposed in the input region, or may be disposed in a region (e.g., a boundary) where the input region is associated with the first interface. The candidate information displayed in the candidate area belongs to the content information in the first interface; the candidate information to be displayed may be all information in the content information or may be partial information in the content information. Certainly, the candidate information may also be information in a preset form corresponding to the first information in the content information of the first interface, for example, if the first information is a word "happy", an image matching with the "happy" is acquired, and the image is set as the candidate information; the first information may be a part or all of the content information, and the preset form may be an image form, which is not limited herein.
The method can realize information recommendation in advance according to the current application scene before the user inputs information; therefore, the requirement for information recommendation of the user can be met to the greatest extent, the information recommendation system can be attached to an actual use scene, the recommended information can be guaranteed to contain the information required by the user as much as possible, the user experience is improved, and the user requirement can be well met.
In an embodiment of the present application, the obtaining content information included in the first interface includes: acquiring image content included in the first interface; and acquiring content information in the image content.
It should be noted that after the image content included in the first interface is acquired, the image content may be identified. For example, when character recognition is performed on the image content, the character content (character information) in the image content can be recognized. Optionally, when the image content includes both the text information and the expression image information, the text recognition and the expression image recognition may be performed on the content information at the same time. After the expression image information is identified, the expression image information can be converted into the corresponding text content. For example, if an emoticon has a text "good", the emoticon image information may be converted into a text "good".
After the content information is acquired, the acquired content information may be displayed in order to display information required by the user to the maximum extent. Correspondingly, in the embodiment of the application:
the displaying candidate information in the candidate area of the first interface according to the content information may include: obtaining N candidate information according to the content information; sorting the N candidate information according to a sorting mode; displaying M pieces of candidate information in a candidate area of the first interface according to the display mode and the N pieces of candidate information after sorting; wherein N is a positive integer greater than or equal to 1, and M is an integer greater than 0 and less than or equal to N; the sorting mode comprises the following steps: at least one of a first sorting mode with high occurrence frequency to low occurrence frequency, a second sorting mode with random sorting and a third sorting mode with sorting according to the first letter of the candidate information; the display mode comprises the following steps: and displaying the M information according to the sequencing.
The N candidate information may be all information obtained by content information deduplication, but is not limited thereto; specifically, after the content information is acquired, deduplication processing may be performed, that is, text content appearing multiple times in the content information is regarded as one candidate information, rather than multiple candidate information. For example, in fig. 4, 5 "received" pieces of content information appear, and after the deduplication processing is performed, 5 "received" pieces of content information are taken as one candidate information instead of 5 candidate information. In the example of fig. 4, 5 pieces of candidate information, i.e., "received", "good", "office", "group", "10", are obtained from the content information through the deduplication processing.
After the 5 candidate information are obtained, the candidate information may be ranked, and the ranking may include at least one of the following:
the first sequencing mode: and ranking according to the occurrence frequency of the candidate information from high to low. For example, in fig. 4, the candidate information "received" appears 5 times, and the other candidate information appears 1 time, so the ranked candidate information may be "received", "good", "office", "group", and "10" in order.
The second sorting mode: the candidate information is randomly ranked, for example, the ranked candidate information may be "10", "good", "office", "received", "group" in turn.
The third sequencing mode: the ranked candidate information may be, for example, "office", "good", "group", "received", "10" in order, according to the initial of the candidate information.
It should be noted that, in the present application, when the electronic device ranks the N candidate information, the ranking manners adopted include, but are not limited to, the above three manners.
After sorting the N candidate messages, M candidate messages may be selected for display in the candidate area, where M is less than or equal to N. Optionally, the number of the candidate information displayed in the candidate area may be adjusted according to a specific service, or adjusted according to the number of characters of the candidate information and the size of the candidate area. For example, when only 5 pieces of candidate information can be displayed, if N is greater than 5, the top 5 pieces of candidate information (in this case, M is 5) are selected for display among the sorted candidate information, and if N is less than or equal to 5, all the N pieces of candidate information (in this case, N ≦ M) are displayed.
In the above-mentioned 3 ways of sorting the candidate information, it may be preferable to sort the candidate information in a first order from high to low in frequency of occurrence of the candidate information. For example, when the candidate information is sorted in the first sorting manner and all the candidate information is displayed in the candidate area E, the specific display manner may be as shown in fig. 5. In fig. 5, all candidate information may be recommended to the user, and the candidate information may be located in the same dashed box or may be located in one dashed box, where the dashed boxes may be rectangles or circles, for example. Optionally, the dashed box may also have a color, such as blue or yellow, the area in which the candidate information is located may also have a background color, such as gray or light blue, and the text font of the candidate information may also have a color, such as blue or green. By the aid of the method, the candidate information can be more striking, and accordingly the prompting effect of the candidate information is improved.
In this embodiment of the application, after displaying the candidate information in the candidate area of the first interface according to the content information, the method further includes: determining target information from the candidate information according to the selected instruction; and displaying the target information in the input area.
Specifically, the electronic device may store an operation capable of selecting the candidate information, where the operation may be a click operation, a slide operation, or the like. When a user can perform a selection operation on some candidate information displayed in the candidate area, the electronic device considers that a selection instruction for the some candidate information is received, and further takes the some candidate information as target information, and displays the target information in an input area, wherein the input area may be an input box in the first interface, for example. As shown in fig. 6, when the user clicks "received" in the candidate area, "received" is displayed in the input area. When the user clicks 'received' in the candidate area, the character content of 'received' recommended by the click display can be called, so that the input effect of the corresponding characters can be achieved in the input box B, namely, the two characters of 'received' are input into the input box B. And the user can send out the characters in the input box B by clicking the sending button in the first interface.
That is, when a user inputs a character on the electronic device, if candidate information identical to information that the user wants to input exists in the candidate information, the user can complete the input operation by selecting the corresponding candidate information; manual input, such as pinyin or strokes, is not required, so that the input of the user is more convenient, the input efficiency of the user can be improved, and the use requirement of the user is better met; moreover, through the application, the text content of the first interface (specifically, the background of the current input area) can be identified through the text identification technology, the identified text content is displayed and recommended to the user, the user can select the corresponding text content, the quick input effect of the corresponding text content is achieved, the recommended content is more time-efficient, and the input mode of the user is simpler and more convenient.
The input area may be within the input area or within an area associated with the input area on the first interface, which is not limited herein.
In the embodiment of the application, the presentation form of the candidate information may be a text form and/or a corresponding expression image form.
It should be noted that the candidate information displayed in the candidate area may be displayed in a text form, or in a combination of a text form and an expression image form, or in an expression image form, for example, a part or all of text content is replaced by a corresponding expression image to be displayed, or text and an expression image corresponding to the text are simultaneously displayed in the candidate area.
Specifically, the text content stored with the corresponding expression image may be replaced. The expression package (namely, the expression image) can be stored at the local end of the electronic equipment or at the cloud end, and if the expression package contains corresponding recognized text content, the candidate area can show and recommend a corresponding expression. The user can achieve the effect of identifying the quick sending of the expression corresponding to the character by clicking the corresponding expression. For example, as shown in fig. 7a (all recognized text contents are displayed according to a text format) and fig. 7b (text contents with existing expressions are displayed by replacing expressions) with contents (candidate information) in a small dashed box, in the recognized text contents, two words, that is, "good" and "received" are detected to have corresponding expression packages in the input method, that is, expressions corresponding to the recognized text are stored in the local end or the cloud end of the electronic device; replacing the two words of 'received' and 'good' with corresponding expression display and recommending the expression display to the user, and displaying the words without the corresponding expression words such as 'office' and the like according to the words. By increasing the expression display, the interestingness can be improved.
Further, after displaying candidate information in the candidate area of the first interface according to the content information, the method further includes: exiting the input area if an exit instruction for the input area is detected.
It should be noted that the electronic device may determine whether the user is currently in an input state (i.e., an input area) of the input method, and if a quit instruction is detected, that is, the user indicates to quit the input area, the electronic device quits the input area. Accordingly, the displayed recommended text content (candidate information) disappears together, and the original page state is returned. For example, exit the input area and return to the interface shown in FIG. 8.
The candidate information display method provided in the embodiment of the present application is described below by way of example.
In view of the above technical problems, an embodiment of the present application provides a candidate information display method, which can be specifically implemented as a recommendation method for input words in an input method, and makes more personalized recommendations for input contents of a user in combination with a current usage scenario of an electronic device of the user, so that the user can achieve higher input efficiency; in particular to:
when a user inputs, the characters (or words) in the current screen are identified in a character identification mode, the identified words are displayed at a certain position in an input method frame according to certain sequencing algorithms (such as the number of occurrences), and the user can directly click the words to achieve the input effect and improve the input efficiency of the user.
Specifically, the scheme provided by the embodiment of the present application may be as shown in fig. 2 (providing input content recommendation (input method recommendation input word) based on image character recognition), including:
step 21: detecting whether the first interface is currently in an input method input state (e.g., detecting whether an input keyboard is popped up), may also be understood as determining whether the first interface includes an input area; if yes, go to step 22, otherwise, go to step 21.
Step 22: acquiring the image information in the current screen may also be understood as acquiring the image content included in the first interface.
Specifically, when it is detected that the user is currently in the input method input state (for example, the input keyboard is already popped up), the image information in the current electronic device interface is automatically acquired:
as shown in fig. 3a, the electronic device is in an original display interface a (which may also be referred to as an electronic device interface or a background interface), and a user is about to click an input box B to perform an input operation. As shown in fig. 3b, the user clicks the input box and pops up the input keyboard D, and it is detected that the user is already in the text input state, i.e. the input area C is detected. As shown in fig. 3c, when it is detected that the user is in a text input state, image information in the current electronic device interface is acquired, for example, the background interface picture content of the input state is acquired.
Step 23: identifying the text content in the acquired image information may also be understood as acquiring content information in the image content included in the first interface (which may specifically correspond to acquiring the content information included in the first interface).
Specifically, for example, the image content in fig. 3c is subjected to character recognition (that is, the content in the acquired input state background interface picture is subjected to character recognition), the character content in the image is recognized, the character contents such as "received", "good", "office", "group", "10" can be recognized in the current image, and the acquired content information may be understood as "received", "good", "office", "group", "10". As shown in fig. 4, the recognized text content is indicated in a dashed box.
Step 24: and displaying the identified text content to the user for selection, wherein the candidate information can be displayed in the candidate area according to the acquired content information.
Specifically, the content may be determined according to a set ordering manner (the ordering manner is not unique, and may be determined according to specific service requirements, for example, the content may be randomly ordered (i.e., the second ordering manner), may be ordered according to how many times words appear (i.e., the first ordering manner), may be ordered according to initials (i.e., the third ordering manner), and so on, where how many times words appear is taken as an example), and after the identified text content is deduplicated, the text content is displayed in an input method interface (i.e., the input area) (the number of the displayed content is not unique, and may be adjusted according to specific services, the top five, the top three, or all of the displayed contents may be displayed, and so on, where all the identified contents are displayed as an example), and is recommended to the user. As shown by the content shown in the dashed box (which may correspond to the candidate area E) in fig. 5, the identified words "received", "good", "office", etc. are shown and recommended to the user (i.e., the identified text content is recommended to the user). The user can achieve the effect of corresponding character input by clicking the recommended words.
Step 25: judging whether the user clicks the character content of the display area, wherein the judgment can be realized by judging whether a selection instruction exists, if so, entering the step 26, and if not, entering the step 27.
Step 26: the corresponding text content is automatically input by clicking, so that the target information is determined from the candidate information according to the selected instruction and is displayed in the input area; step 27 is entered subsequently.
For example, the user clicks the word showing the recommendation, and the input effect of the corresponding character is achieved in the input box B. As shown in the dashed box of fig. 6, the user clicks the recommended "received" word, and the two words "received" are also input in the input box B. That is, the user achieves the effect of inputting the corresponding text content by clicking the recommended text.
Step 27: and judging whether the input method is currently in an input state, if so, returning to the step 22, and if not, entering the step 28.
Step 28: returning to the original interface state, the recommended text content disappears together, and the candidate information and the candidate area disappear together (are not displayed any more).
Specifically, that is, whether the user is currently in the input method input state is determined, if the user exits the input area (i.e., exits the input method input state), the displayed recommended text content (i.e., the candidate information) disappears together, and the original page state (which may also be understood as the user exits the input state and returns to the initial page) is returned, where the original page state is shown in fig. 8.
From the above, it is considered that the text content input by the user is often related to the content in the current interface in the process of inputting the text by the user using the electronic device; according to the scheme, the text content of the current interface is recognized in real time through a text recognition technology, the recognized text content is displayed and recommended to the user, the user can achieve the effect of fast inputting the corresponding text content through the clicking behavior of the displayed text content, the recommended content is enabled to be more time-efficient, and the input mode of the user is simpler and more convenient.
Furthermore, in the scheme, the recognized text content can be combined with the existing expression package content, and if the expression package contains corresponding text content, the corresponding expression is shown and recommended to better meet the user requirement, which can be specifically seen in fig. 7a and 7 b.
It should be noted that, in the candidate information display method provided in the embodiment of the present application, the execution subject may be a candidate information display apparatus, or a control module in the candidate information display apparatus for executing the candidate information display method. In the embodiment of the present application, a candidate information display device executing a candidate information display method is taken as an example, and the candidate information display device provided in the embodiment of the present application is described.
An embodiment of the present application further provides a candidate information display device, as shown in fig. 9, including:
a first obtaining module 91, configured to obtain content information included in a first interface when the first interface includes an input area;
a first display module 92, configured to display candidate information in a candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information or the candidate information matches with first information in the content information.
Wherein, the first obtaining module comprises: the first obtaining submodule is used for obtaining the image content included in the first interface; and the second acquisition submodule is used for acquiring content information in the image content.
In an embodiment of the present application, the first display module includes: the first processing submodule is used for obtaining N candidate information according to the content information; the second processing submodule is used for sequencing the N candidate information according to a sequencing mode; the first display sub-module is used for displaying M pieces of candidate information in a candidate area of the first interface according to the display mode and the N pieces of candidate information after sorting; wherein N is a positive integer greater than or equal to 1, and M is an integer greater than 0 and less than or equal to N; the sorting mode comprises the following steps: at least one of a first sorting mode with high occurrence frequency to low occurrence frequency, a second sorting mode with random sorting and a third sorting mode with sorting according to the first letter of the candidate information; the display mode comprises the following steps: and displaying the M information according to the sequencing.
Wherein the candidate information display device further includes: the first determination module is used for determining target information from candidate information according to a selected instruction after the candidate information is displayed in a candidate area of the first interface according to the content information; and the second display module is used for displaying the target information in the input area.
Optionally, the presentation form of the candidate information is a text form and/or a corresponding expression image form.
The candidate information display device provided by the embodiment of the application acquires content information included in a first interface under the condition that the first interface includes an input area; displaying candidate information in a candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information, or the candidate information is matched with first information in the content information; information recommendation can be carried out in advance according to the current application scene before the user inputs information; therefore, the requirement for information recommendation of the user can be met to the greatest extent, the information recommendation system can be attached to an actual use scene, the recommended information can be guaranteed to contain the information required by the user as much as possible, the user experience is improved, and the user requirement can be well met.
The candidate information 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 candidate information 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 candidate information display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 8, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 100 is further provided in this embodiment of the present application, and includes a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and executable on the processor 101, where the program or the instruction is executed by the processor 101 to implement each process of the candidate information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Optionally, fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 110 includes, but is not limited to: a radio frequency unit 111, a network module 112, an audio output unit 113, an input unit 114, a sensor 115, a display unit 116, a user input unit 117, an interface unit 118, a memory 119, and a processor 1110.
Those skilled in the art will appreciate that the electronic device 110 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 11 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 not repeated here.
The processor 1110 is configured to, in a case that a first interface includes an input area, obtain content information included in the first interface; displaying candidate information in a candidate area of the first interface through the display unit 116 according to the content information; wherein the candidate information belongs to the content information or the candidate information matches with first information in the content information.
According to the method and the device, under the condition that a first interface comprises an input area, content information included in the first interface is acquired; displaying candidate information in a candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information, or the candidate information is matched with first information in the content information; information recommendation can be carried out in advance according to the current application scene before the user inputs information; therefore, the requirement for information recommendation of the user can be met to the greatest extent, the information recommendation system can be attached to an actual use scene, the fact that the recommended information contains the information required by the user is guaranteed to the greatest extent, the user experience is improved, the user requirement can be well met, and the problem that the user requirement cannot be well met by the existing scheme for recommending the input content is well solved.
Optionally, the processor 1110 is specifically configured to obtain image content included in the first interface; and acquiring content information in the image content.
Optionally, the processor 1110 is specifically configured to obtain N candidate information according to the content information; sorting the N candidate information according to a sorting mode; displaying M pieces of candidate information in a candidate area of the first interface according to the display mode and the N pieces of candidate information after sorting; wherein N is a positive integer greater than or equal to 1, and M is an integer greater than 0 and less than or equal to N; the sorting mode comprises the following steps: at least one of a first sorting mode with high occurrence frequency to low occurrence frequency, a second sorting mode with random sorting and a third sorting mode with sorting according to the first letter of the candidate information; the display mode comprises the following steps: and displaying the M information according to the sequencing.
Further, the processor 1110 is further configured to determine target information from the candidate information according to a selected instruction after displaying the candidate information in the candidate area of the first interface according to the content information; the target information is displayed in the input area through the display unit 116.
Optionally, the presentation form of the candidate information is a text form and/or a corresponding expression image form.
According to the scheme provided by the application, in the process that the user inputs characters by using the electronic equipment, the character contents input by the user are often related to the contents in the current interface; according to the scheme, the text content of the current interface is recognized in real time through a text recognition technology, the recognized text content is displayed and recommended to the user, the user can achieve the effect of fast inputting the corresponding text content through the clicking behavior of the displayed text content, the recommended content is enabled to be more time-efficient, and the input mode of the user is simpler and more convenient. Furthermore, in the scheme, the recognized text content can be combined with the existing expression package content, and if the expression package contains corresponding text content, the corresponding expression is shown and recommended to better meet the user requirement, which can be specifically seen in fig. 7a and 7 b.
It should be understood that, in the embodiment of the present application, the input Unit 114 may include a Graphics Processing Unit (GPU) 1141 and a microphone 1142, and the Graphics Processing Unit 1141 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 116 may include a display panel 1161, and the display panel 1161 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 117 includes a touch panel 1171 and other input devices 1172. Touch panel 1171, also referred to as a touch screen. Touch panel 1171 can include two portions, a touch detection device and a touch controller. Other input devices 1172 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 119 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1110 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
Optionally, an 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 candidate information 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.
Optionally, an 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 candidate information display method embodiment, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
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 (12)

1. A method for displaying candidate information, comprising:
under the condition that a first interface comprises an input area, acquiring content information included by the first interface;
displaying candidate information in a candidate area of the first interface according to the content information;
wherein the candidate information belongs to the content information or the candidate information matches with first information in the content information.
2. The candidate information display method according to claim 1, wherein the obtaining of the content information included in the first interface includes:
acquiring image content included in the first interface;
and acquiring content information in the image content.
3. The method for displaying candidate information according to claim 1, wherein displaying candidate information in the candidate area of the first interface according to the content information comprises:
obtaining N candidate information according to the content information;
sorting the N candidate information according to a sorting mode;
displaying M pieces of candidate information in a candidate area of the first interface according to the display mode and the N pieces of candidate information after sorting;
wherein N is a positive integer greater than or equal to 1, and M is an integer greater than 0 and less than or equal to N;
the sorting mode comprises the following steps: at least one of a first sorting mode with high occurrence frequency to low occurrence frequency, a second sorting mode with random sorting and a third sorting mode with sorting according to the first letter of the candidate information;
the display mode comprises the following steps: and displaying the M information according to the sequencing.
4. The method of displaying candidate information according to claim 1, further comprising, after displaying candidate information within a candidate area of the first interface according to the content information:
determining target information from the candidate information according to the selected instruction;
and displaying the target information in the input area.
5. The candidate information display method according to claim 1, wherein the presentation form of the candidate information is a text form and/or a corresponding expression image form.
6. A candidate information display apparatus, comprising:
the first acquisition module is used for acquiring content information included by a first interface under the condition that the first interface includes an input area;
the first display module is used for displaying candidate information in a candidate area of the first interface according to the content information;
wherein the candidate information belongs to the content information or the candidate information matches with first information in the content information.
7. The candidate information display device according to claim 6, wherein the first acquisition module includes:
the first obtaining submodule is used for obtaining the image content included in the first interface;
and the second acquisition submodule is used for acquiring content information in the image content.
8. The candidate information display device according to claim 6, wherein the first display module includes:
the first processing submodule is used for obtaining N candidate information according to the content information;
the second processing submodule is used for sequencing the N candidate information according to a sequencing mode;
the first display sub-module is used for displaying M pieces of candidate information in a candidate area of the first interface according to the display mode and the N pieces of candidate information after sorting;
wherein N is a positive integer greater than or equal to 1, and M is an integer greater than 0 and less than or equal to N;
the sorting mode comprises the following steps: at least one of a first sorting mode with high occurrence frequency to low occurrence frequency, a second sorting mode with random sorting and a third sorting mode with sorting according to the first letter of the candidate information;
the display mode comprises the following steps: and displaying the M information according to the sequencing.
9. The candidate information display device according to claim 6, further comprising:
the first determination module is used for determining target information from candidate information according to a selected instruction after the candidate information is displayed in a candidate area of the first interface according to the content information;
and the second display module is used for displaying the target information in the input area.
10. The candidate information display device according to claim 6, wherein the candidate information is presented in a text form and/or a corresponding expression image form.
11. 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 candidate information display method according to any one of claims 1-5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the candidate information display method according to any one of claims 1 to 5.
CN202011606879.6A 2020-12-30 2020-12-30 Candidate information display method and device and electronic equipment Pending CN112684912A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011606879.6A CN112684912A (en) 2020-12-30 2020-12-30 Candidate information display method and device and electronic equipment
PCT/CN2021/142065 WO2022143661A1 (en) 2020-12-30 2021-12-28 Candidate information display method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011606879.6A CN112684912A (en) 2020-12-30 2020-12-30 Candidate information display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112684912A true CN112684912A (en) 2021-04-20

Family

ID=75454814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011606879.6A Pending CN112684912A (en) 2020-12-30 2020-12-30 Candidate information display method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112684912A (en)
WO (1) WO2022143661A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022143661A1 (en) * 2020-12-30 2022-07-07 维沃移动通信有限公司 Candidate information display method and apparatus, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160124970A1 (en) * 2014-10-30 2016-05-05 Fluenty Korea Inc. Method and system for providing adaptive keyboard interface, and method for inputting reply using adaptive keyboard based on content of conversation
CN107844203A (en) * 2017-11-29 2018-03-27 维沃移动通信有限公司 A kind of input method candidate words recommending method and mobile terminal
CN111831130A (en) * 2019-04-18 2020-10-27 成都鼎桥通信技术有限公司 Input content recommendation method, terminal device and storage medium
CN112148135A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Input method processing method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112684912A (en) * 2020-12-30 2021-04-20 维沃移动通信有限公司 Candidate information display method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160124970A1 (en) * 2014-10-30 2016-05-05 Fluenty Korea Inc. Method and system for providing adaptive keyboard interface, and method for inputting reply using adaptive keyboard based on content of conversation
CN107844203A (en) * 2017-11-29 2018-03-27 维沃移动通信有限公司 A kind of input method candidate words recommending method and mobile terminal
CN111831130A (en) * 2019-04-18 2020-10-27 成都鼎桥通信技术有限公司 Input content recommendation method, terminal device and storage medium
CN112148135A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Input method processing method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022143661A1 (en) * 2020-12-30 2022-07-07 维沃移动通信有限公司 Candidate information display method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2022143661A1 (en) 2022-07-07

Similar Documents

Publication Publication Date Title
CN112788178B (en) Message display method and device
CN112612391B (en) Message processing method and device and electronic equipment
EP4354827A1 (en) Display method, display apparatus, related device, and readable storage medium
CN113918055A (en) Message processing method and device and electronic equipment
CN112783594A (en) Message display method and device and electronic equipment
CN113037925B (en) Information processing method, information processing apparatus, electronic device, and readable storage medium
CN111651106A (en) Unread message prompting method, unread message prompting device, unread message prompting equipment and readable storage medium
CN112269504B (en) Information display method and device and electronic equipment
CN114443203A (en) Information display method and device, electronic equipment and readable storage medium
CN113869063A (en) Data recommendation method and device, electronic equipment and storage medium
CN112684912A (en) Candidate information display method and device and electronic equipment
CN112764606A (en) Identification display method and device and electronic equipment
CN112399010A (en) Page display method and device and electronic equipment
WO2022237877A1 (en) Information processing method and apparatus, and electronic device
CN113783770B (en) Image sharing method, image sharing device and electronic equipment
CN112383666B (en) Content sending method and device and electronic equipment
CN114564271A (en) Chat window information input method and device and electronic equipment
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN111857463A (en) New message reminding method and device, electronic equipment and medium
CN112286613A (en) Interface display method and interface display device
CN112698734A (en) Candidate word display method and device and electronic equipment
CN112818094A (en) Chat content processing method and device and electronic equipment
CN112925576B (en) Article link processing method and device, electronic equipment and storage medium
CN112035032B (en) Expression adding method and device
CN111813285B (en) Floating window management method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420