WO2022143661A1 - 候选信息显示方法、装置和电子设备 - Google Patents

候选信息显示方法、装置和电子设备 Download PDF

Info

Publication number
WO2022143661A1
WO2022143661A1 PCT/CN2021/142065 CN2021142065W WO2022143661A1 WO 2022143661 A1 WO2022143661 A1 WO 2022143661A1 CN 2021142065 W CN2021142065 W CN 2021142065W WO 2022143661 A1 WO2022143661 A1 WO 2022143661A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
candidate
candidate information
content
interface
Prior art date
Application number
PCT/CN2021/142065
Other languages
English (en)
French (fr)
Inventor
张鑫
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022143661A1 publication Critical patent/WO2022143661A1/zh

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

Definitions

  • the present application belongs to the technical field of electronic devices, and specifically relates to a method, device and electronic device for displaying candidate information.
  • the relevant input words are usually recommended when the user uses the mobile phone to input.
  • the existing recommendation methods have the following defects:
  • the mobile phone can recommend the subsequent content that may be input according to the content that the user has input, which cannot quickly meet the user's needs to the greatest extent;
  • the content that may be recommended does not have the content required by the user and cannot meet the needs of the user;
  • the purpose of the embodiments of the present application is to provide a method, apparatus and electronic device for displaying candidate information, which can solve the problem that the existing solutions for input content recommendation cannot well meet the needs of users.
  • an embodiment of the present application provides a method for displaying candidate information, the method comprising:
  • the first interface includes an input area, acquiring content information included in the first interface;
  • the candidate information belongs to the content information, or the candidate information matches the first information in the content information.
  • an embodiment of the present application provides a candidate information display device, including:
  • a first acquiring module configured to acquire content information included in the first interface when the first interface includes an input area
  • a first display module configured to display candidate information in the candidate area of the first interface according to the content information
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • a computer program product is provided, the computer program product is stored in a non-transitory storage medium, the computer program product is executed by at least one processor to implement the method of the first aspect.
  • the content information included in the first interface is obtained; according to the content information, candidate information is displayed in the candidate area of the first interface; wherein, the candidate information belongs to the content information, or the candidate information matches the first information in the content information; it can implement information recommendation according to the current application scenario in advance before the user inputs information; It can quickly meet the needs of users for information recommendation to the greatest extent, and can also fit the actual use scenario, try to ensure that the recommended information contains the information required by users, improve user experience, and can well meet user needs.
  • FIG. 1 is a schematic flowchart of a method for displaying candidate information according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a specific implementation of a method for displaying candidate information according to an embodiment of the present application
  • Fig. 3a is the first interface schematic diagram 1 of the embodiment of the present application.
  • 3b is a second schematic diagram of the first interface of the embodiment of the present application.
  • Fig. 3c is the first interface schematic diagram 3 of the embodiment of the present application.
  • FIG. 4 is a schematic diagram 4 of a first interface of an embodiment of the present application.
  • FIG. 5 is a schematic diagram 5 of a first interface of an embodiment of the present application.
  • Fig. 6 is the first interface schematic diagram 6 of the embodiment of the present application.
  • FIG. 7a is a seventh schematic diagram of the first interface of the embodiment of the present application.
  • 7b is a schematic diagram eight of the first interface of the embodiment of the present application.
  • FIG. 8 is a schematic diagram 9 of a first interface of 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 structural schematic diagram of an electronic device according to an embodiment of the present application.
  • FIG. 11 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the candidate information display method provided by the embodiment of the present application includes:
  • Step 11 If the first interface includes an input area, acquire content information included in the first interface.
  • the candidate information display method of the present application can be applied to electronic devices, such as smart phones or tablet computers.
  • the first interface includes an input area
  • the electronic device is currently in an input method input state (eg, in a state where the input keyboard has popped up), indicating that the user needs to input information in the current interface.
  • an input method input state eg, in a state where the input keyboard has popped up
  • the user may need to reply to a message or send a message.
  • the user can click the input box of the first interface to pop up the input area.
  • the content information includes, but is not limited to, text information, facial expression information, symbol information, digital information, and the like in the first interface.
  • the electronic device may acquire content information in the first interface.
  • the input area can also be understood as a content input area, and the first interface can also be understood as a content display interface.
  • the input area may be specifically implemented as an input interface, and the corresponding first interface may specifically be implemented as a display interface where the input interface is located; wherein, the first interface may specifically be the current electronic device interface.
  • Step 12 Display candidate information in the candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information, or the candidate information and the first information in the content information match.
  • matching includes that the candidate information is information in a preset form corresponding to the first information in the content information.
  • the candidate area may be set in the input area, or may be set in the area associated with the input area and the first interface (for example, at the junction).
  • the candidate information displayed in the candidate area belongs to the content information in the first interface; the displayed candidate information may be all the information in the content information, or may be part of the information in the content information.
  • 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 the text "happy", an image matching "happy" is obtained, and the The image is set as candidate information; the first information may be part or all of the content information, and the preset form may be an image form, which is not limited here.
  • the above method can implement information recommendation according to the current application scenario in advance before the user inputs information; this can not only quickly meet the user's information recommendation needs to the greatest extent, but also fit the actual use scenario, and try to ensure that the recommended information contains
  • the information required by the user can improve the user's experience, and can well meet the user's needs.
  • the acquiring the content information included in the first interface includes: acquiring the image content included in the first interface; and acquiring content information in the image content.
  • the image content can be identified. For example, by performing character recognition on the image content, the character content (character information) in the image content can be recognized.
  • the image content includes both text information and facial expression image information
  • the content information can be simultaneously recognized by text and facial expressions.
  • the facial expression image information can be converted into text content corresponding to it. For example, if an expression has the text "OK", the expression image information can be converted into the text content "OK".
  • the acquired content information may be displayed in order.
  • the acquired content information may be displayed in order.
  • the displaying candidate information in the candidate area of the first interface according to the content information may include: obtaining N pieces of candidate information according to the content information; and sorting the N pieces of candidate information according to a sorting method ; According to the display mode and the sorted N candidate information, display M candidate information in the candidate area of the first interface; wherein, the N is a positive integer greater than or equal to 1, and the M is greater than or equal to 1 An integer that is 0 and less than or equal to N; the sorting method includes at least one of a first sorting method in which the frequency of occurrence is from high to low, a second sorting method in random sorting, and a third sorting method in accordance with the first letter of the candidate information.
  • the display mode includes: a mode of displaying M pieces of information in sequence.
  • the N candidate information can be all the information obtained after the content information is deduplicated, but it is not limited to this; specifically, after the content information is obtained, deduplication processing can be performed, that is, the content information appears in the content information. Multiple text content, as a candidate information, rather than multiple candidate information. For example, in Fig. 4, there are 5 “receives” in the content information, and after deduplication processing, the 5 “receives” are regarded as one candidate information instead of 5 candidate information. In the example of FIG. 4 , after de-duplication processing, five candidate pieces of information are obtained according to the content information, namely "received", "good", "office", "group", and "10".
  • the candidate information can be sorted, and the sorting method can include at least one of the following:
  • the first sorting method according to the frequency of occurrence of candidate information, sort from high to low. For example, in Fig. 4, the candidate information "received”, the frequency of occurrence is 5 times, and the frequency of other candidate information is 1 time, then the sorted candidate information can be "received", "good” in order , "office", "group”, "10".
  • Second sorting method Randomly sort the candidate information.
  • the sorted candidate information can be "10", “OK”, “Office”, “Received”, and "Group” in sequence.
  • the third sorting method sort the candidate information according to the first letter, for example, the sorted candidate information may be "office”, “good”, “group”, “received”, and "10".
  • the electronic device sorts the N pieces of candidate information in this application
  • the sorting manners used include but are not limited to the above three.
  • M pieces of candidate information may be selected to be displayed in the candidate area, where M is less than or equal to N.
  • the candidate information may be preferable to sort the candidate information according to the first sorting method in which the occurrence frequency of the candidate information is from high to low.
  • the specific display manner may be as shown in FIG. 5 .
  • all the candidate information can be recommended to the user, and the candidate information can all be located in the same dashed frame, or can be respectively located in a dashed frame, and the dashed frame can be, for example, a rectangle or a circle.
  • the dotted box can also be colored, such as blue or yellow
  • the area where the candidate information is located can also have a background color, such as gray or light blue
  • the text font of the candidate information can also be colored, such as blue. color or green.
  • the candidate information can be made more conspicuous, thereby improving the prompting effect of the candidate information.
  • the method further includes: determining target information from the candidate information according to a selection instruction; displayed in the input area.
  • the electronic device may store an operation capable of selecting the candidate information, and the operation may be a click operation, a sliding operation, or the like.
  • the electronic device considers that it has received a selection instruction for a certain candidate information, and then uses the certain candidate information as target information, and displays the target information.
  • the input area wherein the input area may be, for example, an input box in the first interface. As shown in FIG. 6 , when the user clicks “Receive” in the candidate area, “Receive” is displayed in the input area.
  • the user when the user inputs text on the electronic device, in the candidate information, if there is candidate information that is the same as the information the user wants to input, the user can complete the input operation by selecting the corresponding candidate information;
  • Carry out manual input, such as input pinyin or strokes, thereby making the user's input more convenient, can mention the user's input efficiency, more in line with the user's use requirements;
  • it can be the text content of the current input area background), and the recognized text content is displayed and recommended to the user.
  • the user can select the corresponding text content to achieve the rapid input effect of the corresponding text content, making the recommended content more timely. User input is easier.
  • the input area may be within the input area, or within the area associated with the input area on the first interface, which is not limited herein.
  • the presentation form of the candidate information may be a text form and/or a corresponding expression image form.
  • the candidate information displayed in the candidate area can be displayed in the form of text, or in the form of a combination of text and expression images, or in the form of expression images.
  • part or all of the text can be displayed.
  • the content is replaced with the corresponding expression image for display, or the text and the expression image corresponding to the text are displayed in the candidate area at the same time.
  • the replacement may be performed only after the text content of the corresponding expression image has been stored.
  • the emoticon package (that is, the emoticon image) can be stored locally on the electronic device or stored in the cloud. If the emoticon package contains the corresponding recognized text content, the corresponding emoticon can be displayed and recommended in the candidate area. The user can click on the corresponding expression to achieve the effect of identifying the text corresponding to the expression and sending it quickly.
  • the method further includes: exiting the input area in the case of detecting an exit instruction for the input area.
  • the electronic device can determine whether the user is currently in the input method input state (ie, the input area). If an exit instruction is detected, that is, the user instructs to exit the input area, the electronic device exits the input area. Accordingly, the displayed recommended text content (candidate information) disappears together and returns to the original page state. For example, after exiting the input area, return to the interface shown in Figure 8.
  • the embodiments of the present application provide a method for displaying candidate information, which can be specifically implemented as a method for recommending input words in an input method, and further improves the user's input content in combination with the user's current usage scenario of the electronic device.
  • Personalized recommendations so that users can achieve higher input efficiency; specifically involving:
  • the text (or words) in the current screen is recognized by means of text recognition, and then according to some sorting algorithm (such as the number of occurrences), the recognized words are displayed in a certain input method box.
  • the positions are displayed, and users can directly click on these words to achieve the effect of input and improve the efficiency of user input.
  • Step 21 Detect whether it is currently in the input method input state (such as detecting whether the input keyboard has popped up), it can also be understood as determining whether the first interface including the input area is detected; if so, go to step 22, if not, continue to step 21 .
  • Step 22 Acquiring image information in the current screen can also be understood as acquiring image content included in the first interface.
  • the image information in the current electronic device interface is automatically obtained:
  • the electronic device is in the original display interface A (which may also be referred to as an electronic device interface or a background interface), and the user is about to click on the input box B to perform an input operation.
  • the user clicks on the input box, and the input keyboard D pops up.
  • the input area C is detected.
  • image information in the current electronic device interface is obtained, for example, the background interface picture content in the input state is obtained.
  • Step 23 Recognize and acquire the text content in the image information, which can also be understood as acquiring the content information in the image content included in the first interface (specifically, it may correspond to acquiring the content information included in the first interface).
  • text recognition is performed on the image content in Figure 3c (that is, text recognition is performed on the content in the acquired background interface picture of the input state), and the text content in the image is recognized.
  • "" Text content such as “received”, “ok”, “office”, “group” and “10” can also be understood as the acquired content information as “received”, “ok”, “office”, “group” , "10".
  • the dashed box represents the recognized text content.
  • Step 24 Display the recognized text content to the user for selection, which can be understood as displaying the candidate information in the candidate area according to the acquired content information.
  • the sorting method is not unique and can be determined according to specific business needs.
  • it can be random sorting (that is, the second sorting method mentioned above), and it can be sorted according to the frequency of words (that is, the above-mentioned second sorting method).
  • the first sorting method you can sort by the first letter (that is, the third sorting method mentioned above), etc.
  • the frequency of word occurrence is taken as an example)
  • the input method interface ie. (the number of displayed contents is not unique, it can be adjusted according to the specific business, and the first five, the first three or all of them can be displayed, etc.
  • the identified contents are displayed as an example), recommended to users.
  • the identified words such as "received”, “okay”, "office”, etc. are displayed and recommended to the user (that is, the identified words
  • the published text content is recommended to users). Users can click on these recommended words to achieve the effect of corresponding text input.
  • Step 25 judging whether the user clicks on the text content of the display area, it can be understood as judging whether there is a selection instruction, if yes, go to step 26 , if not, go to step 27 .
  • Step 26 automatically inputting the corresponding text content by clicking, it can be understood that the target information is determined from the candidate information according to the selection instruction, and the target information is displayed in the input area; then proceed to step 27 .
  • the user clicks to display the recommended word, and the input effect of the corresponding word is achieved in the input box B.
  • the user clicks the recommended text content of "received” and in the input box B, the two words "received” are also input at the same time. That is, the user achieves the effect of inputting the corresponding text content by clicking on the recommended text.
  • Step 27 Determine whether it is currently in the input method input state, if yes, go back to Step 22 , if not, go to Step 28 .
  • Step 28 Return to the original interface state, and the recommended text content disappears together. It can also be understood that the candidate information and the candidate area disappear together (no longer displayed).
  • the user determines whether the user is currently in the input method input state. If the user exits the input area (ie, exits the input method input state), the displayed recommended text content (ie candidate information) disappears together and returns to the original page state (also It can be understood that the user exits the input state and returns to the initial page), and the original page state is shown in FIG. 8 .
  • the identified text content can also be combined with the content of the existing emoticon package. If the emoticon package contains corresponding text content, the corresponding emoticon is displayed and recommended to better meet the needs of users. See Figures 7a and 7b.
  • the execution subject may be a candidate information display device, or a control module in the candidate information display device for executing the candidate information display method.
  • the candidate information display device provided by the embodiment of the present application is described by taking the candidate information display device executing the candidate information display method as an example.
  • the embodiment of the present application also provides a candidate information display device, as shown in FIG. 9 , including:
  • a first obtaining module 91 configured to obtain content information included in the first interface when the first interface includes an input area
  • the first display module 92 is configured to display candidate information in the candidate area of the first interface according to the content information; wherein the candidate information belongs to the content information, or the candidate information and the content information matches the first information in .
  • the first acquisition module includes: a first acquisition sub-module for acquiring the image content included in the first interface; and a second acquisition sub-module for acquiring content information in the image content.
  • the first display module includes: a first processing sub-module for obtaining N pieces of candidate information according to the content information; a second processing sub-module for The N pieces of candidate information are sorted; the first display sub-module is configured to display M pieces of candidate information in the candidate area of the first interface according to the display mode and the sorted N pieces of candidate information; wherein, the N pieces of candidate information are is a positive integer greater than or equal to 1, and the M is an integer greater than 0 and less than or equal to N; the sorting methods include: a first sorting method of occurrence frequency from high to low, a second sorting method of random sorting, and At least one of the third sorting manners of the first-letter sorting of the candidate information; the display manner includes: a manner of displaying M pieces of information in sequence.
  • the presentation form of the candidate information is a text form and/or a corresponding expression image form.
  • the candidate information display device acquires the content information included in the first interface when the first interface includes an input area; and displays the information in the candidate area of the first interface according to the content information candidate information; wherein, the candidate information belongs to the content information, or the candidate information matches the first information in the content information; it can implement information recommendation according to the current application scenario in advance before the user inputs information; This can not only quickly meet the needs of users for information recommendation, but also fit the actual usage scenarios, try to ensure that the recommended information contains the information required by users, improve user experience, and can well meet user needs.
  • the candidate information display device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook, or a personal digital assistant (Personal Digital Assistant).
  • UMPC Ultra-Mobile Personal Computer
  • netbook or a personal digital assistant (Personal Digital Assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (Personal Computer, PC), television (Television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • PC Personal Computer
  • TV Television, TV
  • teller machine or self-service machine etc.
  • 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, which are not specifically limited in the embodiments of the present application.
  • the candidate information display device provided by the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 8 , and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 100, including a processor 101, a memory 102, a program or instruction stored in the memory 102 and executable on the processor 101,
  • an electronic device 100 including a processor 101, a memory 102, a program or instruction stored in the memory 102 and executable on the processor 101,
  • the program or instruction is executed by the processor 101, each process of the above-mentioned embodiment of the candidate information display method can be implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an 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, etc. part.
  • the electronic device 110 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 1110 is configured to acquire content information included in the first interface when the first interface includes an input area; according to the content information, use the display unit 116 in the candidate area of the first interface Displaying candidate information; wherein the candidate information belongs to the content information, or the candidate information matches the first information in the content information.
  • the content information included in the first interface is acquired; according to the content information, candidate information is displayed in the candidate area of the first interface; wherein, The candidate information belongs to the content information, or the candidate information matches the first information in the content information; it is possible to implement information recommendation according to the current application scenario in advance before the user inputs information; It can quickly meet the needs of users for information recommendation, and it can also fit the actual use scenarios. Try to ensure that the recommended information contains the information required by users, improve user experience, can well meet user needs, and solve existing problems. The solution recommended for input content cannot well meet the needs of users.
  • the processor 1110 is specifically configured to acquire the image content included in the first interface; acquire content information in the image content.
  • the processor 1110 is specifically configured to obtain N pieces of candidate information according to the content information; sort the N pieces of candidate information according to a sorting manner; and sort the N pieces of candidate information according to the display manner and the sorted information , display M pieces of candidate information in the candidate area of the first interface; wherein, the N is a positive integer greater than or equal to 1, and the M is an integer greater than 0 and less than or equal to N; the sorting method includes : at least one of the first sorting method with the frequency of occurrence from high to low, the second sorting method randomly sorting and the third sorting method according to the first letter of the candidate information; the display methods include: displaying M items in sequence way of information.
  • the processor 1110 is further configured to, after displaying the candidate information in the candidate area of the first interface according to the content information, determine target information from the candidate information according to the selection instruction; through the display unit 116 The target information is displayed in the input area.
  • the presentation form of the candidate information is a text form and/or a corresponding expression image form.
  • the solution provided by this application takes into account that in the process of inputting text by the user using an electronic device, the text content input by the user is often related to the content in the current interface; this solution uses text recognition technology to recognize the text content of the current interface in real time, and will identify the text content of the current interface in real time.
  • the text content display of the text content is recommended to users. Users can display the click behavior of text content to achieve the effect of rapid input of the corresponding text content, making the recommended content more time-sensitive and the user's input method more convenient.
  • the identified text content can also be combined with the content of the existing emoticon package. If the emoticon package contains corresponding text content, the corresponding emoticon is displayed and recommended to better meet the needs of users. See Figures 7a and 7b.
  • the input unit 114 may include a graphics processor (Graphics Processing Unit, GPU) 1141 and a microphone 1142, and the graphics processor 1141 is used to communicate with the image capturing device (such as camera) to obtain still pictures or video image data for processing.
  • the display unit 116 may include a display panel 1161, which 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 .
  • the touch panel 1171 is also called a touch screen.
  • the touch panel 1171 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1172 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 119 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1110.
  • an embodiment of the present application further provides a readable storage medium, the readable storage medium may be non-volatile or volatile, and a program or instruction is stored on the readable storage medium, the When the program or the instruction is executed by the processor, each process of the above-mentioned embodiment of the candidate information display method is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • 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 used to run a program or an instruction to implement the above-mentioned candidate information.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run a program or an instruction to implement the above-mentioned candidate information.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

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

本申请公开了一种候选信息显示方法、装置及电子设备,属于电子设备技术领域。其中,方法包括:在第一界面包括输入区域的情况下,获取第一界面包括的内容信息;根据内容信息,在第一界面的候选区域内显示候选信息;其中,候选信息属于内容信息,或者候选信息与内容信息中的第一信息相匹配。

Description

候选信息显示方法、装置和电子设备
相关申请的交叉引用
本申请主张在2020年12月30日在中国提交的中国专利申请号No.202011606879.6的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于电子设备技术领域,具体涉及一种候选信息显示方法、装置和电子设备。
背景技术
目前,为了更好的满足用户的体验需求,通常是在用户使用手机输入时进行相关输入词语的推荐。但是,现有的推荐方式存在以下缺陷:
1、只有用户进行初始内容的输入之后,手机才能根据用户已经输入的内容,进行后续可能要输入内容的推荐,无法最大程度的快速满足用户需求;
2、可能推荐的内容并不存在用户所需内容,无法满足用户需求;
由上可知,现有的针对输入内容推荐的方案存在无法很好满足用户需求的问题。
发明内容
本申请实施例的目的是提供一种候选信息显示方法、装置和电子设备,能够解决现有的针对输入内容推荐的方案无法很好满足用户需求的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种候选信息显示方法,该方法包括:
在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;
根据所述内容信息,在所述第一界面的候选区域内显示候选信息;
其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配。
第二方面,本申请实施例提供了一种候选信息显示装置,包括:
第一获取模块,用于在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;
第一显示模块,用于根据所述内容信息,在所述第一界面的候选区域内显示候选信息;
其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,通过在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;根据所述内容信息,在所述第一界面的候选区域内显示候选信息;其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配;能够实现在用户输入信息之前,提前根据当前应用场景进行信息推荐;这样既能够最大程度的快速满足对用户进行信息推荐的需求,又可以贴合实际使用场景,尽量保证推荐的信息中包含用户所需信息,提升用户感受,可以很好满足用户需求。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅 是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例的候选信息显示方法的流程示意图;
图2是本申请实施例的候选信息显示方法的具体实现流程示意图;
图3a是本申请实施例的第一界面示意图一;
图3b是本申请实施例的第一界面示意图二;
图3c是本申请实施例的第一界面示意图三;
图4是本申请实施例的第一界面示意图四;
图5是本申请实施例的第一界面示意图五;
图6是本申请实施例的第一界面示意图六;
图7a是本申请实施例的第一界面示意图七;
图7b是本申请实施例的第一界面示意图八;
图8是本申请实施例的第一界面示意图九;
图9是本申请实施例的候选信息显示装置结构示意图;
图10是本申请实施例的电子设备结构示意图一;
图11是本申请实施例的电子设备结构示意图二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的候选信息显示方法进行详细地说明。
参见图1,本申请实施例提供的候选信息显示方法,包括:
步骤11:在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息。
需要说明的是,本申请的候选信息显示方法可应用于电子设备,例如智能手机或平板电脑。在第一界面包括输入区域的情况下,可以理解为电子设备当前处在输入法输入状态下(如输入键盘已经弹出的状态下),则说明用户需要在当前界面内输入信息。例如在一个聊天界面下,用户可能需要回复消息或者发送消息,此时,用户可以点击第一界面的输入框,从而弹出输入区域。内容信息包括但不限于第一界面中的文字信息、表情信息、符号信息、数字信息等等。在第一界面包括输入区域的情况下,电子设备可以获取第一界面中的内容信息。
输入区域也可理解为内容输入区域,第一界面也可理解为内容显示界面。输入区域具体可实现为输入界面,对应的第一界面具体可实现为输入界面所在的显示界面;其中,第一界面具体可以为当前电子设备界面。
步骤12:根据所述内容信息,在所述第一界面的候选区域内显示候选信息;其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配。
其中,“相匹配”包括所述候选信息为所述内容信息中的第一信息对应的预设形式的信息。
需要说明的是,候选区域可以设置在输入区域内,也可以设置在输入区域与第一界面关联的区域内(比如交界处)。候选区域内显示的候选信息属于第一界面中的内容信息;显示的候选信息可以是内容信息中的全部信息,也可以是内容信息中的部分信息。当然,候选信息也可以为与第一界面的内容信息中的第一信息对应的预设形式的信息,比如,第一信息为文字“开心”,则获取与“开心”相匹配的图像,将图像设置为候选信息;第一信息可以是部分或全部内容信息,关于预设形式可以是图像形式,在此不作限定。
上述方法能够实现在用户输入信息之前,提前根据当前应用场景进行信 息推荐;这样既能够最大程度的快速满足对用户进行信息推荐的需求,又可以贴合实际使用场景,尽量保证推荐的信息中包含用户所需信息,提升用户感受,可以很好满足用户需求。
本申请实施例中,所述获取所述第一界面包括的内容信息,包括:获取所述第一界面包括的图像内容;获取所述图像内容中的内容信息。
需要说明的是,在获取到第一界面包括的图像内容后,可以对图像内容进行识别。例如,对图像内容进行文字识别,则可以识别出图像内容中的文字内容(文字信息)。可选的,在图像内容中既包括文字信息,又包括表情图像信息时,则可以对内容信息同时进行文字识别和表情图像识别。在将表情图像信息识别后,可以将表情图像信息转换成与之对应的文字内容。例如,一个表情上有文字“好的”,则可以将该表情图像信息转换成文字内容“好的”。
在获取到内容信息后,为了能够最大程度的显示出用户所需要的信息,可以对获取的内容信息进行排序显示。对应的,本申请实施例中:
所述根据所述内容信息,在所述第一界面的候选区域内显示候选信息,可以包括:根据所述内容信息,得到N个候选信息;根据排序方式,对所述N个候选信息进行排序;根据显示方式和排序后的所述N个候选信息,在所述第一界面的候选区域内显示M个候选信息;其中,所述N为大于或等于1的正整数,所述M为大于0且小于或等于N的整数;所述排序方式包括:出现频次由高到低的第一排序方式、随机排序的第二排序方式以及按照候选信息的首字母排序的第三排序方式中的至少一个;所述显示方式包括:按照排序先后显示M个信息的方式。
关于N个候选信息可以是内容信息去重后得到的所有信息,但并不以此为限;具体的,也就是在获取到内容信息后,可以进行去重处理,也就是将内容信息中出现多次的文字内容,作为一个候选信息,而不是多个候选信息。例如,在图4中,内容信息中出现了5个“收到”,在进行去重处理后,将5个“收到”作为一个候选信息,而不是5个候选信息。在图4的示例中,经过去重处理,根据内容信息,得到了5个候选信息,即“收到”、“好的”、“办公室”、“群”、“10”。
在得到这5个候选信息后,可以对候选信息进行排序,关于排序方式可 以包括以下至少一种:
第一排序方式:按照候选信息的出现频次由高到低进行排列。例如在图4中,候选信息“收到”,出现的频次为5次,其它的候选信息出现的频次均为1次,则排序后的候选信息可以依次为“收到”、“好的”、“办公室”、“群”、“10”。
第二排序方式:随机对候选信息进行排序,例如排序后的候选信息可以依次“10”、“好的”、“办公室”、“收到”、“群”。
第三排序方式:按照候选信息的首字母排序,例如排序后的候选信息可以依次为“办公室”、“好的”、“群”、“收到”、“10”。
需要说明的是,本申请中电子设备对N个候选信息进行排序时,采用的排序方式包括但不限于以上三种。
在对N个候选信息排序后,可以选择M个候选信息在候选区域内显示,M小于或等于N。可选的,候选区域内显示的候选信息的数量,可以根据具体业务进行调整,或者根据候选信息的文字数量和候选区域的大小进行调整。例如,只能显示5个候选信息时,如果N大于5,则在排序后的候选信息中选择前5个(此时M=5)显示,如果N小于或等于5,则显示全部的N个(此时N≤M)候选信息。
在上述提到的3种对候选信息进行排序的方式中,可以优选按照候选信息的出现频次由高到低的第一排序方式进行排序。例如,在按照第一排序方式对候选信息进行排序,且候选区域E内展示的是全部的候选信息时,则具体的显示方式可以如图5所示。在图5中,可以将全部的候选信息推荐给用户,并且候选信息可以均位于同一个虚线框内,也可以分别位于一个虚线框内,虚线框例如可以是矩形或圆形。可选的,虚线框也可以带有颜色,例如蓝色或黄色,候选信息所在的区域也可以带有背景色,例如灰色或浅蓝色,候选信息的文字字体也可以带有颜色,例如蓝色或绿色。通过上述方式,可以使候选信息更加醒目,从而提高候选信息的提示效果。
本申请实施例中,在根据所述内容信息,在所述第一界面的候选区域内显示候选信息之后,还包括:根据选中指令,从所述候选信息中确定目标信息;将所述目标信息显示在所述输入区域内。
具体的,电子设备中可以保存能够针对候选信息进行选中的操作,操作可以是点击操作、滑动操作等。当用户可以对候选区域中显示的某个候选信息执行选中操作时,电子设备则认为接收到对某个候选信息的选中指令,进而将该某个候选信息作为目标信息,并将该目标信息显示在输入区域内,其中,输入区域例如可以是第一界面中的输入框。如图6所示,在用户点击候选区域内的“收到”时,输入区域内显示“收到”。在用户点击候选区域内的“收到”时,也可以称之为点击展示推荐的“收到”这一文字内容,则可以在输入框B中达到相应文字的输入效果,也就是“收到”这两个字被输入到了输入框B中。用户再通过点击第一界面中的发送按钮,便可以将输入框B中的文字发送出去。
也就是,用户在电子设备上输入文字时,在候选信息中,如果存在与用户想要输入的信息相同的候选信息时,则用户可以通过选择相应的候选信息,便可完成输入操作;无需再进行手动输入,例如输入拼音或者笔画,从而使用户的输入更加方便,能够提到用户的输入效率,更加符合用户的使用需求;并且,通过本申请,能够通过文字识别技术,识别第一界面(具体可为当前输入区域背景)的文字内容,并将识别出的文字内容展示推荐给用户,用户可以选择相应的文字内容,达到对应文字内容的快速输入效果,让推荐的内容更具有时效性,用户的输入方式更加简便。
其中,输入区域可以在输入区域内,或者,在所述第一界面上与所述输入区域关联的区域内,在此不作限定。
本申请实施例中,所述候选信息的呈现形式可以为文字形式和/或对应的表情图像形式。
需要说明的是,候选区域内显示的候选信息可以按照文字形式进行展示,也可以是文字形式与表情图像形式的结合进行展示,也可以是以表情图像形式进行展示,例如将部分或全部的文字内容替换为与之对应的表情图像进行展示,或者在候选区域同时显示文字和该文字对应的表情图像。
具体的,可以是已经存储有对应表情图像的文字内容才可以进行替换。表情包(即表情图像)可以是在电子设备本地端存储的,也可以是在云端存储的,如果表情包中包含有相应的识别出的文字内容,则候选区域内可以展 示推荐相应的表情。用户可以通过相应表情的点击,达到识别出文字对应表情快速发送的效果。例如,如图7a(将识别出的文字内容全部按照文字格式进行展示)和图7b(将已有表情的文字内容替换为表情进行展示)中小虚线框中的内容(候选信息)所示,在识别出的文字内容中,检测到“好的”和“收到”这两个词在本输入法中已经有对应的表情包,也就是电子设备的本地端或者云端存储有与识别出的文字对应的表情;则将“收到”和“好的”这两个词语替换为对应的表情展示推荐给用户,而没有对应表情词语的文字如“办公室”等,则依然按照文字进行展示。通过增加表情展示,可以提高趣味性。
进一步的,在根据所述内容信息,在所述第一界面的候选区域内显示候选信息之后,还包括:在检测到针对所述输入区域的退出指令的情况下,退出所述输入区域。
需要说明的是,电子设备可以判断用户当前是否处于输入法输入状态(即输入区域),若检测到了退出指令,也就是用户指示退出输入区域,则电子设备退出输入区域。相应的,展示的推荐文字内容(候选信息)一同消失,回到原始页面状态。例如,退出输入区域后回到如图8所示的界面。
下面对本申请实施例提供的所述候选信息显示方法进行举例说明。
针对上述技术问题,本申请实施例提供了一种候选信息显示方法,具体能够实现为一种输入法中输入词的推荐方法,结合用户当前电子设备的使用场景,对用户的输入内容做更为个性化的推荐,从而用户可以达到更高的输入效率;具体涉及:
在用户输入时,通过文字识别的方式,识别出当前屏幕中的文字(或词语),再根据某些排序算法(如出现次数多少),将识别到的这些词,在输入法框中的某个位置展示出来,用户可以通过直接点击这些词,来达到输入的效果,提高用户输入的效率。
具体的,本申请实施例提供的方案可如图2所示(基于图像文字识别,提供输入内容推荐(输入法推荐输入词)),包括:
步骤21:检测当前是否处在输入法输入状态(如检测输入键盘是否已经弹出),也可以理解为确定是否检测到了第一界面包括输入区域;若是,进入 步骤22,若否,继续执行步骤21。
步骤22:获取当前屏幕中的图像信息,也可以理解为获取第一界面包括的图像内容。
具体可以是,当检测到用户当前处在输入法输入状态下时(如输入键盘已经弹出),自动获取当前电子设备界面中的图像信息:
如图3a所示,电子设备处于原始的显示界面A(也可以称之为电子设备界面或背景界面),用户即将点击输入框B进行输入操作。如图3b所示,用户点击输入框,弹出输入键盘D,此刻检测到用户已经处在文字输入状态下,即检测到输入区域C。如图3c所示,检测到用户处在文字输入状态下时,获取当前电子设备界面中的图像信息,例如获取输入状态的背景界面图片内容。
步骤23:识别获取图像信息中的文字内容,也可以理解为获取第一界面包括的图像内容中的内容信息(具体可以对应于获取第一界面包括的内容信息)。
具体比如,对图3c中的图像内容进行文字识别(也就是对获取到的输入状态背景界面图片中的内容进行文字识别),识别出图像中的文字内容,在当前图像中,可以识别出“收到”、“好的”、“办公室”、“群”“10”等文字内容,也可以理解为获取到的内容信息为“收到”、“好的”、“办公室”、“群”、“10”。如图4所示,虚线框中表示识别出的文字内容。
步骤24:将识别出的文字内容展示给用户选择,可以理解为根据获取的内容信息将候选信息显示在候选区域内。
具体的,可根据设定好的排序方式(排序方式不唯一,可以根据具体业务需求来确定,如可以是随机排序(即上述第二排序方式),可以按照词语出现的频次多少排序(即上述第一排序方式),可以按照首字母排序(即上述第三排序方式)等等,这里以词语出现的频次多少排序为例),将识别出的文字内容去重后,在输入法界面(即上述输入区域)中展示(展示的内容个数不唯一,可以根据具体业务调整,可以展示前五个,前三个或全部展示等等,这里以识别出的内容全部进行展示为例),推荐给用户。如图5中的虚线框(可对应于候选区域E)中展示的内容所示,将识别出的“收到”、“好的”、“办公室”等词语展示推荐给用户(也就是将识别出的文字内容推荐给用户)。用 户可以通过这些推荐词语的点击,达到相应文字输入的效果。
步骤25:判断用户是否点击展示区域的文字内容,可以理解为判断是否存在选中指令,若是,进入步骤26,若否,进入步骤27。
步骤26:通过点击自动输入对应文字内容,可以理解为根据选中指令,从候选信息中确定了目标信息,并将目标信息在输入区域内显示;后续进入步骤27。
例如,用户点击展示推荐的词语,在输入框B中达到相应文字的输入效果。如图6虚线框中内容所示,用户点击了推荐的“收到”这一文字内容,在输入框B中,“收到”这两个字同时也被输入进去。也就是,用户通过点击推荐的文字达到对应文字内容输入的效果。
步骤27:判断当前是否处在输入法输入状态,若是,可返回步骤22,若否,进入步骤28。
步骤28:回到原始界面状态,推荐文字内容一同消失,也可以理解为候选信息及候选区域一同消失(不再显示)。
具体的,也就是判断用户当前是否处在输入法输入状态,如果用户退出输入区域(即退出输入法输入状态),展示的推荐文字内容(即候选信息)一同消失,回到原始页面状态(也可理解为用户退出输入状态,回到初始页面),原始页面状态如图8所示。
由上可知,考虑到用户使用电子设备输入文字过程中,用户输入的文字内容经常与当前界面中的内容相关;本方案通过文字识别技术,实时识别当前界面的文字内容,并将识别出的文字内容展示推荐给用户,用户可以通过展示文字内容的点击行为,达到对应文字内容的快速输入效果,使得推荐的内容更具有时效性,用户的输入方式更加简便。
进一步的,本方案中还可以将识别出的文字内容与已有的表情包内容结合,如果表情包中包含有相应的文字内容,展示推荐相应的表情,以更好的满足用户需求,具体可参见图7a和图7b。
需要说明的是,本申请实施例提供的候选信息显示方法,执行主体可以为候选信息显示装置,或者该候选信息显示装置中的用于执行候选信息显示方法的控制模块。本申请实施例中以候选信息显示装置执行候选信息显示方 法为例,说明本申请实施例提供的候选信息显示装置。
本申请实施例还提供了一种候选信息显示装置,如图9所示,包括:
第一获取模块91,用于在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;
第一显示模块92,用于根据所述内容信息,在所述第一界面的候选区域内显示候选信息;其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配。
其中,所述第一获取模块,包括:第一获取子模块,用于获取所述第一界面包括的图像内容;第二获取子模块,用于获取所述图像内容中的内容信息。
本申请实施例中,所述第一显示模块,包括:第一处理子模块,用于根据所述内容信息,得到N个候选信息;第二处理子模块,用于根据排序方式,对所述N个候选信息进行排序;第一显示子模块,用于根据显示方式和排序后的所述N个候选信息,在所述第一界面的候选区域内显示M个候选信息;其中,所述N为大于或等于1的正整数,所述M为大于0且小于或等于N的整数;所述排序方式包括:出现频次由高到低的第一排序方式、随机排序的第二排序方式以及按照候选信息的首字母排序的第三排序方式中的至少一个;所述显示方式包括:按照排序先后显示M个信息的方式。
其中,所述候选信息显示装置还包括:第一确定模块,用于在根据所述内容信息,在所述第一界面的候选区域内显示候选信息之后,根据选中指令,从所述候选信息中确定目标信息;第二显示模块,用于将所述目标信息显示在所述输入区域内。
可选的,所述候选信息的呈现形式为文字形式和/或对应的表情图像形式。
本申请实施例提供的候选信息显示装置通过在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;根据所述内容信息,在所述第一界面的候选区域内显示候选信息;其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配;能够实现在用户输入信息之前,提前根据当前应用场景进行信息推荐;这样既能够最大程度的快速满足对用户进行信息推荐的需求,又可以贴合实际使用场景,尽量保证 推荐的信息中包含用户所需信息,提升用户感受,可以很好满足用户需求。
本申请实施例中的候选信息显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(Personal Computer,PC)、电视机(Television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的候选信息显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的候选信息显示装置能够实现图1至图8的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选的,如图10所示,本申请实施例还提供一种电子设备100,包括处理器101,存储器102,存储在存储器102上并可在所述处理器101上运行的程序或指令,该程序或指令被处理器101执行时实现上述候选信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
可选的,图11为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备110包括但不限于:射频单元111、网络模块112、音频输出单元113、输入单元114、传感器115、显示单元116、用户输入单元117、接口单元118、存储器119、以及处理器1110等部件。
本领域技术人员可以理解,电子设备110还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1110,用于在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;根据所述内容信息,通过显示单元116在所述第一界面的候选区域内显示候选信息;其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配。
本申请实施例,通过在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;根据所述内容信息,在所述第一界面的候选区域内显示候选信息;其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配;能够实现在用户输入信息之前,提前根据当前应用场景进行信息推荐;这样既能够最大程度的快速满足对用户进行信息推荐的需求,又可以贴合实际使用场景,尽量保证推荐的信息中包含用户所需信息,提升用户感受,可以很好满足用户需求,很好的解决了现有的针对输入内容推荐的方案无法很好满足用户需求的问题。
可选的,处理器1110,具体用于获取所述第一界面包括的图像内容;获取所述图像内容中的内容信息。
可选的,处理器1110,具体用于根据所述内容信息,得到N个候选信息;根据排序方式,对所述N个候选信息进行排序;根据显示方式和排序后的所述N个候选信息,在所述第一界面的候选区域内显示M个候选信息;其中,所述N为大于或等于1的正整数,所述M为大于0且小于或等于N的整数;所述排序方式包括:出现频次由高到低的第一排序方式、随机排序的第二排序方式以及按照候选信息的首字母排序的第三排序方式中的至少一个;所述显示方式包括:按照排序先后显示M个信息的方式。
进一步的,处理器1110,还用于在根据所述内容信息,在所述第一界面的候选区域内显示候选信息之后,根据选中指令,从所述候选信息中确定目标信息;通过显示单元116将所述目标信息显示在所述输入区域内。
可选的,所述候选信息的呈现形式为文字形式和/或对应的表情图像形式。
本申请提供的方案,考虑到用户使用电子设备输入文字过程中,用户输入的文字内容经常与当前界面中的内容相关;本方案通过文字识别技术,实时识别当前界面的文字内容,并将识别出的文字内容展示推荐给用户,用户可以通过展示文字内容的点击行为,达到对应文字内容的快速输入效果,使 得推荐的内容更具有时效性,用户的输入方式更加简便。进一步的,本方案中还可以将识别出的文字内容与已有的表情包内容结合,如果表情包中包含有相应的文字内容,展示推荐相应的表情,以更好的满足用户需求,具体可参见图7a和图7b。
应理解的是,本申请实施例中,输入单元114可以包括图形处理器(Graphics Processing Unit,GPU)1141和麦克风1142,图形处理器1141对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元116可包括显示面板1161,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1161。用户输入单元117包括触控面板1171以及其他输入设备1172。触控面板1171,也称为触摸屏。触控面板1171可包括触摸检测装置和触摸控制器两个部分。其他输入设备1172可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器119可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。
可选的,本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述候选信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
可选的,本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述候选信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种候选信息显示方法,包括:
    在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;
    根据所述内容信息,在所述第一界面的候选区域内显示候选信息;
    其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配。
  2. 根据权利要求1所述的候选信息显示方法,其中,所述获取所述第一界面包括的内容信息,包括:
    获取所述第一界面包括的图像内容;
    获取所述图像内容中的内容信息。
  3. 根据权利要求1所述的候选信息显示方法,其中,所述根据所述内容信息,在所述第一界面的候选区域内显示候选信息,包括:
    根据所述内容信息,得到N个候选信息;
    根据排序方式,对所述N个候选信息进行排序;
    根据显示方式和排序后的所述N个候选信息,在所述第一界面的候选区域内显示M个候选信息;
    其中,所述N为大于或等于1的正整数,所述M为大于0且小于或等于N的整数;
    所述排序方式包括:出现频次由高到低的第一排序方式、随机排序的第二排序方式以及按照候选信息的首字母排序的第三排序方式中的至少一个;
    所述显示方式包括:按照排序先后显示M个信息的方式。
  4. 根据权利要求1所述的候选信息显示方法,其中,在根据所述内容信息,在所述第一界面的候选区域内显示候选信息之后,还包括:
    根据选中指令,从所述候选信息中确定目标信息;
    将所述目标信息显示在所述输入区域内。
  5. 根据权利要求1所述的候选信息显示方法,其中,所述候选信息的呈现形式为文字形式和/或对应的表情图像形式。
  6. 一种候选信息显示装置,包括:
    第一获取模块,用于在第一界面包括输入区域的情况下,获取所述第一界面包括的内容信息;
    第一显示模块,用于根据所述内容信息,在所述第一界面的候选区域内显示候选信息;
    其中,所述候选信息属于所述内容信息,或者所述候选信息与所述内容信息中的第一信息相匹配。
  7. 根据权利要求6所述的候选信息显示装置,其中,所述第一获取模块,包括:
    第一获取子模块,用于获取所述第一界面包括的图像内容;
    第二获取子模块,用于获取所述图像内容中的内容信息。
  8. 根据权利要求6所述的候选信息显示装置,其中,所述第一显示模块,包括:
    第一处理子模块,用于根据所述内容信息,得到N个候选信息;
    第二处理子模块,用于根据排序方式,对所述N个候选信息进行排序;
    第一显示子模块,用于根据显示方式和排序后的所述N个候选信息,在所述第一界面的候选区域内显示M个候选信息;
    其中,所述N为大于或等于1的正整数,所述M为大于0且小于或等于N的整数;
    所述排序方式包括:出现频次由高到低的第一排序方式、随机排序的第二排序方式以及按照候选信息的首字母排序的第三排序方式中的至少一个;
    所述显示方式包括:按照排序先后显示M个信息的方式。
  9. 根据权利要求6所述的候选信息显示装置,其中,还包括:
    第一确定模块,用于在根据所述内容信息,在所述第一界面的候选区域内显示候选信息之后,根据选中指令,从所述候选信息中确定目标信息;
    第二显示模块,用于将所述目标信息显示在所述输入区域内。
  10. 根据权利要求6所述的候选信息显示装置,其中,所述候选信息的呈现形式为文字形式和/或对应的表情图像形式。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行 时实现如权利要求1-5中任一项所述的候选信息显示方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的候选信息显示方法的步骤。
  13. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的候选信息显示方法的步骤。
  14. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的候选信息显示方法的步骤。
  15. 一种电子设备,被配置为执行如权利要求1-5中任一项所述的候选信息显示方法的步骤。
PCT/CN2021/142065 2020-12-30 2021-12-28 候选信息显示方法、装置和电子设备 WO2022143661A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011606879.6A CN112684912A (zh) 2020-12-30 2020-12-30 候选信息显示方法、装置和电子设备
CN202011606879.6 2020-12-30

Publications (1)

Publication Number Publication Date
WO2022143661A1 true WO2022143661A1 (zh) 2022-07-07

Family

ID=75454814

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/142065 WO2022143661A1 (zh) 2020-12-30 2021-12-28 候选信息显示方法、装置和电子设备

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112684912A (zh) * 2020-12-30 2021-04-20 维沃移动通信有限公司 候选信息显示方法、装置和电子设备

Citations (5)

* 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 (zh) * 2017-11-29 2018-03-27 维沃移动通信有限公司 一种输入法候选词推荐方法及移动终端
CN111831130A (zh) * 2019-04-18 2020-10-27 成都鼎桥通信技术有限公司 输入内容的推荐方法、终端设备以及存储介质
CN112148135A (zh) * 2020-09-30 2020-12-29 维沃移动通信有限公司 输入法处理方法、装置和电子设备
CN112684912A (zh) * 2020-12-30 2021-04-20 维沃移动通信有限公司 候选信息显示方法、装置和电子设备

Patent Citations (5)

* 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 (zh) * 2017-11-29 2018-03-27 维沃移动通信有限公司 一种输入法候选词推荐方法及移动终端
CN111831130A (zh) * 2019-04-18 2020-10-27 成都鼎桥通信技术有限公司 输入内容的推荐方法、终端设备以及存储介质
CN112148135A (zh) * 2020-09-30 2020-12-29 维沃移动通信有限公司 输入法处理方法、装置和电子设备
CN112684912A (zh) * 2020-12-30 2021-04-20 维沃移动通信有限公司 候选信息显示方法、装置和电子设备

Also Published As

Publication number Publication date
CN112684912A (zh) 2021-04-20

Similar Documents

Publication Publication Date Title
WO2022017525A1 (zh) 页面显示方法、装置和电子设备
WO2023040741A1 (zh) 消息处理方法、装置和电子设备
WO2022063045A1 (zh) 消息显示方法、装置及电子设备
WO2022161431A1 (zh) 显示方法、装置及电子设备
WO2022242745A1 (zh) 显示方法、显示装置、相关设备及可读存储介质
WO2023125157A1 (zh) 消息发送方法、装置、电子设备及介质
WO2023024970A1 (zh) 信息处理方法、相关设备及可读存储介质
WO2023046184A1 (zh) 消息处理方法、装置和电子设备
CN112783594A (zh) 一种消息显示方法、装置及电子设备
WO2022223002A1 (zh) 页面显示方法、装置及电子设备
WO2022206538A1 (zh) 信息发送方法、信息发送装置和电子设备
WO2022143661A1 (zh) 候选信息显示方法、装置和电子设备
CN112788178B (zh) 消息的展示方法和装置
CN114443203A (zh) 一种信息显示方法及装置、电子设备和可读存储介质
WO2023045908A1 (zh) 信息显示方法、装置、眼镜及介质
WO2023072265A1 (zh) 消息更正方法、装置和电子设备
WO2023061267A1 (zh) 个人信息显示方法、装置、设备和存储介质
WO2022237877A1 (zh) 信息处理方法、装置和电子设备
WO2023284640A1 (zh) 图片处理方法和电子设备
WO2023011368A1 (zh) 未读消息提示方法、装置、电子设备及介质
WO2022237795A1 (zh) 信息显示方法和电子设备
WO2022242577A1 (zh) 视频处理方法、装置及电子设备
WO2023046105A1 (zh) 消息发送方法、装置和电子设备
WO2022222821A1 (zh) 信息显示方法、装置
WO2022257883A1 (zh) 展示方法和展示装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21914395

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21914395

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.02.2024)