CN112596646B - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN112596646B
CN112596646B CN202011516318.7A CN202011516318A CN112596646B CN 112596646 B CN112596646 B CN 112596646B CN 202011516318 A CN202011516318 A CN 202011516318A CN 112596646 B CN112596646 B CN 112596646B
Authority
CN
China
Prior art keywords
text
keywords
keyword
input
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.)
Active
Application number
CN202011516318.7A
Other languages
Chinese (zh)
Other versions
CN112596646A (en
Inventor
马荣强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011516318.7A priority Critical patent/CN112596646B/en
Publication of CN112596646A publication Critical patent/CN112596646A/en
Application granted granted Critical
Publication of CN112596646B publication Critical patent/CN112596646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses an information display method and device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input to a first interface, the first interface comprising first text; displaying a first search window in response to the first input; acquiring a first keyword input by a user in the first search window; displaying N second keywords according to the first keyword; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer; receiving a second input for a third keyword of the N second keywords; in response to the second input, displaying a second interface, wherein the second interface includes a second text, the second text being a text in the first text that includes the third keyword. The method and the device are simple to operate, and can realize quick positioning of the information required by the user, so that the effect of saving the time of the user is achieved.

Description

Information display method and device and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information display method and apparatus, and an electronic device.
Background
With the continuous development of mobile communication technology, intelligent electronic devices (such as mobile phones) are becoming popular. Intelligent electronic devices are also increasingly being provided with more functionality. For example, when information is acquired by using an electronic device, long text information, such as news watching, microblog swiping, shopping and the like, needs to be browsed frequently, and particularly when information required by the user or interested contents are acquired by browsing the long text, all contents need to be browsed frequently to acquire valuable contents for the user, so that the information required by the user is difficult to be quickly positioned, repeated browsing and checking are needed, the operation is complex, and the time of the user is wasted.
Disclosure of Invention
The embodiment of the application aims to provide an information display method, an information display device and electronic equipment, and the method, the device and the electronic equipment can solve the problems that when a user browses long texts by using the electronic equipment to acquire information required by the user, the positioning efficiency is low, the operation is complex, and the user time is wasted.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information display method, including:
receiving a first input to a first interface, the first interface including first text;
displaying a first search window in response to the first input;
acquiring a first keyword input by a user in the first search window;
displaying N second keywords according to the first keywords; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer;
receiving a second input for a third keyword of the N second keywords;
in response to the second input, displaying a second interface, wherein the second interface includes a second text, the second text being a text in the first text that includes the third keyword.
In a second aspect, an embodiment of the present application further provides an information display apparatus, including:
a first receiving module for receiving a first input to a first interface, the first interface including a first text;
a first display module for displaying a first search window in response to the first input;
the acquisition module is used for acquiring a first keyword input by a user in the first search window;
the second display module is used for displaying N second keywords according to the first keyword; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer;
a second receiving module, configured to receive a second input for a third keyword of the N second keywords;
and a third display module, configured to display a second interface in response to the second input, where the second interface includes a second text, and the second text is a text that includes the third keyword in the first text.
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, where the program or instructions, when executed by the processor, implement the steps of the information display method according to the first aspect.
In a fourth aspect, the present application further provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the information display method according to the first aspect are implemented.
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 information display method according to the first aspect.
In the embodiment of the application, a first search window is displayed in response to a first input by receiving the first input to a first interface comprising first text; the method comprises the steps of obtaining a first keyword input by a user in a first search window, displaying N second keywords according to the first keyword, wherein the N second keywords are keywords in a first text, N is not less than 1, and N is a positive integer, receiving second input aiming at a third keyword in the N second keywords, responding to the second input, and displaying a second interface, wherein the second interface comprises a second text, and the second text is a text comprising the third keyword in the first text.
Drawings
Fig. 1 is a schematic flowchart of an information display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface with a first search window according to an embodiment of the present application;
fig. 3 is a schematic interface diagram corresponding to step 103 of the method provided in the embodiment of the present application;
fig. 4 is a schematic interface diagram corresponding to step 105 of the method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an information display device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure 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 information display method provided by the embodiment of the present application will be described in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of an information display method according to an embodiment of the present disclosure. The implementation of the method is described in detail below with reference to this figure.
Step 101, receiving a first input to a first interface, wherein the first interface comprises a first text;
in this step, the first input is a preset input, and the first input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the first input may be one of the above-mentioned inputs, or may also be a combination input of two or more of the above-mentioned inputs.
It should be noted that the first interface may be a foreground interaction interface of an application, a web page interface, or the like. The content of the first text may be a news report, a book article, a shopping review, and the like.
Step 102, responding to the first input, and displaying a first search window;
in this step, after receiving a first input to the first interface by the user, the electronic device displays a first search window in response to the first input.
It should be noted that, displaying the first search window has the function of providing a search function entry for the user, so that the user can conveniently and quickly search subsequent information interested in or needed by the user through the first search window.
In one example, as shown in fig. 2, after a user uses the electronic device to browse text, such as watching news or an article, opens an article link, the article is displayed on the first interface 1, a long press input is received from the user on the first interface 1, and a first search window 2 is displayed.
Step 103, acquiring a first keyword input by a user in the first search window;
in this step, generally, the first keyword is a keyword of information that is interesting to the user or required by the user.
Continuing with the example in step 102, as shown in fig. 3, the electronic device receives the first keyword "take a picture" input by the user in the first search window 2, which indicates that the user is interested in the content related to "take a picture" or that the content related to "take a picture" is the content desired by the user.
104, displaying N second keywords according to the first keywords; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer;
here, the N second keywords are obtained based on the first keyword, one of the roles of the N second keywords is for the user to select a keyword that is interesting to the user or is needed by the user from the N keywords, and the two keywords are keywords for the user to view the main content related to the first text, so that the user can quickly know the rough content related to the text.
It should be noted that the N second keywords are taken as recommendation keywords and are respectively displayed on the first interface in a suspended manner in a control selection manner, and corresponding keywords are displayed on the selection control.
Here, the purpose of the floating display is to facilitate the user to drag the selection control at will, so as not to hinder the reading and browsing or viewing of the first text by the user.
Continuing with the example in step 103, as shown in fig. 3, after the user inputs "take a picture" through the first search window 2, three second keywords "camera", "take a picture", and "pixel" are displayed, wherein the three keywords are respectively displayed on the first interface 1 in a floating manner by selecting a control.
Step 105, receiving a second input aiming at a third key word in the N second key words;
here, the second input is a preset input, and the second input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the second input may be one of the above-mentioned inputs, or may also be a combination input of two or more thereof.
It should be noted that, a second input of the user for a third keyword in the N keywords is received, and it is determined that the third keyword is selected by the user, that is, the information content related to the third keyword in the first text is currently interesting or required by the user.
Here, the number of the third keyword is at least one, that is, the third keyword may be one or more.
Here, after receiving a second input for a third keyword of the N keywords, the selection control corresponding to the third keyword is deleted, and the third keyword is displayed in the first search window.
Continuing with the example shown in fig. 3, after the user inputs "take a picture" through the first search window 2, three second keywords of "camera", "photograph", and "pixel" are displayed, wherein the three keywords are respectively suspended on the first interface 1 in a manner of selecting a control, click inputs of two keywords (a third keyword) of "self-shoot" and "photograph" by the user are received, the selection controls corresponding to the two keywords of "camera" and "photograph" are deleted, the two keywords of "camera" and "photograph" are displayed in the first search window 2, and the remaining keyword "camera" is still suspended on the first interface 1 in a manner of selecting a control, as shown in fig. 4.
Step 106, responding to the second input, displaying a second interface, wherein the second interface comprises a second text, and the second text is a text comprising the third key word in the first text.
In this step, after receiving a second input for a third keyword in the N second keywords, the electronic device displays a second interface in response to the second input, where the second interface includes a text of the third keyword, so that the content related to the third keyword is integrated and displayed in one interface, which is convenient for a user to quickly browse or view information content in which the user is interested or information content required by the user.
The information display method comprises the steps of responding to a first input by receiving the first input of a first interface comprising a first text, and displaying a first search window; the method comprises the steps of obtaining a first keyword input by a user in a first search window, displaying N second keywords according to the first keyword, wherein the N second keywords are keywords in a first text, N is not less than 1, and N is a positive integer, receiving second input aiming at a third keyword in the N second keywords, responding to the second input, and displaying a second interface, wherein the second interface comprises a second text, and the second text is a text comprising the third keyword in the first text.
As an optional implementation manner, the method step 104 in this embodiment of the present application may include:
displaying N second keywords related to the first keyword in the case that the N second keywords are included in the first text;
here, in this scenario, the N second keywords are words in the first text that are related to the first keyword input by the user at the first search interface.
Specifically, the steps may include:
and according to the first keywords, performing semantic analysis on the first text, and displaying N second keywords related to the first keywords.
Specifically, through semantic analysis of the first text, it is determined whether the first text includes N second keywords related to the first keyword (here, through semantic analysis, if the first text includes a second keywords related to the first keyword, the value of N is a); and if so, displaying N second keywords.
In this scenario, the second keyword is used for the user to select a keyword that is of interest to or needed by the user from the N keywords.
And under the condition that semantic recognition of the first keywords fails or keywords related to the first keywords are not included in the first text, obtaining M fourth keywords in the first text, selecting N second keywords from the M fourth keywords according to a preset rule, and displaying the N second keywords, wherein M is greater than or equal to 1 and is a positive integer, and the preset rule is that the semantics of words are the same and the number of words is the largest.
Optionally, the fourth keyword is a word of which the occurrence frequency of the word is greater than the preset number of times after semantic recognition in the first text. Generally, a word or words frequently appear in the first text, which indicates that the main content related to the first text is related to the words, for example, if a picture, a photograph, an image pixel and the like frequently appear in an article, it indicates that the main content related to the article is related to the photograph, the image pixel and the like.
And then, according to a preset rule, further screening the M fourth keywords, and selecting the keywords with the same semantics and the largest number of the terms with the same semantics as the keywords with the largest number as the second keywords, so that the main content related to the first text can be further accurate.
In this scenario, the second keywords are used for the user to view the keywords of the primary content to which the first text relates.
The scene is suitable for the situation that the user mistakenly inputs the first keyword in the first search interface after calling out the first search interface by misoperation, or the user mistakenly thinks that the first text relates to the content related to the first keyword, so that the second keyword is displayed in the processing mode under the situation, the user can quickly know the main content related to the first text, and a certain prompting effect is achieved, namely the user determines whether to perform the subsequent steps after looking at the second keyword, namely the content interested or needed by the user is screened by the N second keywords, and the user quits the text interface, so that the time of the user is greatly saved.
As an optional implementation manner, after step 106, the method according to the embodiment of the present application may further include:
receiving a third input for a fifth keyword of the N second keywords except the third keyword;
here, after the third keyword is previously selected, the other keywords except the third keyword among the N second keywords are displayed on the first interface.
After step 106, the other keywords of the N second keywords except the third keyword are displayed on the second interface.
It should be noted that N second keywords are respectively displayed in a suspended manner on the first interface as recommended keywords in a control selection manner, corresponding keywords are displayed on the selection control, after a second input for a third keyword in the N keywords is received, the selection control corresponding to the third keyword is deleted, the third keyword is displayed in the first search window, and the remaining unselected second keywords are still displayed in the first interface in a suspended manner in the control selection manner.
In response to the third input, in a case that the second text is a consistency output text, displaying a third interface, the third interface including a third text, the third text being a text including the fifth keyword in the second text;
here, the consistency output text specifically refers to text having logic between contexts. Typically, the author of the coherent output text is a, e.g., news-like text, and the author of the text is the contributor.
And under the condition that the second text is a non-continuously output text, integrating the second text, and displaying a fourth interface, wherein the fourth interface comprises a fourth text, and the fourth text comprises the fifth keyword.
Here, the non-coherent output text specifically refers to text having no logic between contexts. Typically, the author of the non-coherent output text includes multiple, e.g., shopping comment-like text, the authors of which are from different purchasing users.
It should be noted that, in the case that the second text is a non-coherent output text, the text content is usually segmented and relatively scattered, which is not beneficial for the user to view and occupies a large space. Through the integration processing of the second text, scattered text contents are integrated into one place, the occupied space is small, and the user can browse and view the fourth text subsequently.
The implementation mode is beneficial to further screening the once screened text, namely the second text, by the user, and the screening range is continuously narrowed until the user is interested in or needs the information content.
In the information display method provided by the embodiment, a first search window is displayed in response to a first input by receiving the first input to a first interface including a first text; the method comprises the steps of obtaining a first keyword input by a user in a first search window, displaying N second keywords according to the first keyword, wherein the N second keywords are keywords in a first text, N is not less than 1, and N is a positive integer, receiving second input aiming at a third keyword in the N second keywords, responding to the second input, and displaying a second interface, wherein the second interface comprises a second text, and the second text is a text comprising the third keyword in the first text.
It should be noted that, in the information display method provided in the embodiment of the present application, the execution main body may be an information display apparatus, or a control module for executing the information display method in the information display apparatus. In the embodiment of the present application, an information display device executing an information display method is taken as an example, and the information display device provided in the embodiment of the present application is described.
Fig. 5 is a schematic structural diagram of an information display device according to an embodiment of the present application. The information display device 500 may include:
a first receiving module 501, configured to receive a first input to a first interface, where the first interface includes a first text;
a first display module 502 for displaying a first search window in response to the first input;
an obtaining module 503, configured to obtain a first keyword input by a user in the first search window;
a second display module 504, configured to display N second keywords according to the first keyword; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer;
a second receiving module 505, configured to receive a second input for a third keyword in the N second keywords;
a third display module 506, configured to display a second interface in response to the second input, where the second interface includes a second text, and the second text is a text that includes the third keyword in the first text.
Optionally, the second display module 504 includes:
a first display unit configured to display N second keywords related to the first keyword in a case where the N second keywords are included in the first text;
the first processing unit is used for acquiring M fourth keywords in the first text under the condition that semantic recognition of the first keywords fails or keywords related to the first keywords are not included in the first text, selecting N second keywords from the M fourth keywords according to a preset rule, and displaying the N second keywords, wherein M is not less than 1 and is a positive integer, and the preset rule is that the words have the same semantics and the maximum number.
Optionally, the first display unit is configured to:
and according to the first keywords, performing semantic analysis on the first text, and displaying N second keywords related to the first keywords.
Optionally, the apparatus 500 further comprises:
a third receiving module, configured to receive a third input for a fifth keyword, excluding the third keyword, of the N second keywords;
a fourth display module, configured to, in response to the third input, display a third interface when the second text is a text that is output in a consistency manner, where the third interface includes a third text, and the third text is a text that includes the fifth keyword in the second text; and under the condition that the second text is a non-continuously output text, integrating the second text, and displaying a fourth interface, wherein the fourth interface comprises a fourth text, and the fourth text comprises the fifth keyword.
The 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 Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The 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 information display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
The information display device receives a first input of a first interface comprising a first text through a first receiving module, and the first display module responds to the first input and displays a first search window; the acquisition module acquires a first keyword input by a user in a first search window, the second display module displays N second keywords according to the first keyword, wherein the N second keywords are keywords in a first text, N is not less than 1 and is a positive integer, the second receiving module receives a second input aiming at a third keyword in the N second keywords, and the third display module responds to the second input and displays a second interface, wherein the second interface comprises a second text which is a text comprising the third keyword in the first text, so that under the condition that the user browses the text, the keywords in the text can be displayed for the user to select based on the keywords input by the user in the first search window, and the text display required by the user is displayed based on the selection of the user, the operation is simple, and the information required by the user can be quickly positioned, the effect of saving the time of the user is achieved.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned embodiment of the information display method, 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.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein the user input unit 707 is configured to receive a first input to a first interface, the first interface including first text; the display unit 706 is configured to display a first search window in response to the first input; the user input unit 707 is further configured to obtain a first keyword input by the user in the first search window; a processor 710, configured to display N second keywords according to the first keyword; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer; the user input unit 707 is further configured to receive a second input for a third keyword of the N second keywords; the display unit 706 is configured to display a second interface in response to the second input, where the second interface includes a second text, and the second text is a text that includes the third keyword in the first text.
In the embodiment of the application, under the condition that a user browses texts, the keywords in the texts can be displayed for the user to select based on the keywords input by the user in the first search window, and the text display required by the user is displayed based on the selection of the user.
Optionally, the display unit 706 is further configured to display N second keywords related to the first keyword in the case that the first text includes the N second keywords;
the processor 710 is further configured to, in a case that semantic recognition of the first keyword fails or the first text does not include a keyword related to the first keyword, obtain M fourth keywords in the first text, select N second keywords from the M fourth keywords according to a preset rule, and display the N second keywords through the display unit 706, where M is greater than or equal to 1 and M is a positive integer, where the preset rule is that the words have the same semantics and the maximum number of words.
Optionally, the processor 710 is further configured to perform semantic analysis on the first text according to the first keyword, and display N second keywords related to the first keyword through the display unit 706.
Optionally, the user input unit 707 is further configured to receive a third input for a fifth keyword of the N second keywords except the third keyword; the display unit 706 is further configured to, in response to the third input, display a third interface in a case that the second text is a text that is output in a consistency manner, where the third interface includes a third text, and the third text is a text that includes the fifth keyword in the second text; and under the condition that the second text is a non-continuously output text, integrating the second text, and displaying a fourth interface, wherein the fourth interface comprises a fourth text, and the fourth text comprises the fifth keyword.
In the embodiment of the application, under the condition that a user browses texts, the keywords in the texts can be displayed for the user to select based on the keywords input by the user in the first search window, and the text display required by the user is displayed based on the selection of the user.
It should be understood that, in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or a video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 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. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned 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.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above information display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
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 (8)

1. An information display method, comprising:
receiving a first input to a first interface, the first interface including first text;
displaying a first search window in response to the first input;
acquiring a first keyword input by a user in the first search window;
displaying N second keywords according to the first keywords; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer;
receiving a second input for a third keyword of the N second keywords;
in response to the second input, displaying a second interface, wherein the second interface includes a second text, the second text being a text in the first text that includes the third keyword;
the displaying N second keywords according to the first keyword comprises:
displaying N second keywords related to the first keyword in the case that the N second keywords are included in the first text;
and under the condition that semantic recognition of the first keywords fails or keywords related to the first keywords are not included in the first text, obtaining M fourth keywords in the first text, selecting N second keywords from the M fourth keywords according to a preset rule, and displaying the N second keywords, wherein M is greater than or equal to 1 and is a positive integer, and the preset rule is that the semantics of words are the same and the number of words is the largest.
2. The method according to claim 1, wherein in the case that N second keywords related to the first keyword are included in the first text, displaying the N second keywords comprises:
and according to the first keywords, performing semantic analysis on the first text, and displaying N second keywords related to the first keywords.
3. The method of claim 1, wherein after displaying a second interface in response to the second input, the method further comprises:
receiving a third input for a fifth keyword of the N second keywords except the third keyword;
in response to the third input, in a case that the second text is a text which is output continuously, displaying a third interface, wherein the third interface comprises a third text, and the third text is a text which comprises the fifth keyword in the second text;
and under the condition that the second text is a non-continuously output text, integrating the second text, and displaying a fourth interface, wherein the fourth interface comprises a fourth text, and the fourth text comprises the fifth keyword.
4. An information display device characterized by comprising:
a first receiving module for receiving a first input to a first interface, the first interface including a first text;
a first display module for displaying a first search window in response to the first input;
the acquisition module is used for acquiring a first keyword input by a user in the first search window;
the second display module is used for displaying N second keywords according to the first keyword; the N second keywords are keywords in the first text, N is more than or equal to 1, and N is a positive integer;
a second receiving module, configured to receive a second input for a third keyword of the N second keywords;
a third display module, configured to display a second interface in response to the second input, where the second interface includes a second text, and the second text is a text that includes the third keyword in the first text;
the second display module includes:
a first display unit configured to display N second keywords related to the first keyword in a case where the N second keywords are included in the first text;
the first processing unit is used for acquiring M fourth keywords in the first text under the condition that semantic recognition of the first keywords fails or keywords related to the first keywords are not included in the first text, selecting N second keywords from the M fourth keywords according to a preset rule, and displaying the N second keywords, wherein M is not less than 1 and is a positive integer, and the preset rule is that the words have the same semantics and the maximum number.
5. The apparatus of claim 4, wherein the first display unit is configured to:
and according to the first keywords, performing semantic analysis on the first text, and displaying N second keywords related to the first keywords.
6. The apparatus of claim 4, further comprising:
a third receiving module, configured to receive a third input for a fifth keyword, excluding the third keyword, of the N second keywords;
a fourth display module, configured to, in response to the third input, display a third interface when the second text is a text that is output in a consistency manner, where the third interface includes a third text, and the third text is a text that includes the fifth keyword in the second text; and under the condition that the second text is a non-continuously output text, integrating the second text, and displaying a fourth interface, wherein the fourth interface comprises a fourth text, and the fourth text comprises the fifth keyword.
7. 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 information display method according to any one of claims 1 to 3.
8. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the information display method according to any one of claims 1 to 3.
CN202011516318.7A 2020-12-21 2020-12-21 Information display method and device and electronic equipment Active CN112596646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011516318.7A CN112596646B (en) 2020-12-21 2020-12-21 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011516318.7A CN112596646B (en) 2020-12-21 2020-12-21 Information display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112596646A CN112596646A (en) 2021-04-02
CN112596646B true CN112596646B (en) 2022-05-20

Family

ID=75199810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011516318.7A Active CN112596646B (en) 2020-12-21 2020-12-21 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112596646B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408191A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Method and device for obtaining correlated keywords of keywords
CN106682012A (en) * 2015-11-06 2017-05-17 阿里巴巴集团控股有限公司 Commodity object information searching method and device
CN106844609A (en) * 2017-01-17 2017-06-13 百度在线网络技术(北京)有限公司 A kind of searching method and device
CN107229659A (en) * 2016-03-25 2017-10-03 华为软件技术有限公司 A kind of information search method and device
CN107451139A (en) * 2016-05-30 2017-12-08 北京三星通信技术研究有限公司 File resource methods of exhibiting, device and corresponding smart machine
CN110990532A (en) * 2019-11-28 2020-04-10 中国银行股份有限公司 Method and device for processing text
CN111078832A (en) * 2019-11-08 2020-04-28 杭州九阳小家电有限公司 Auxiliary response method and system for intelligent customer service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866785A (en) * 2012-08-29 2013-01-09 百度在线网络技术(北京)有限公司 Text input method, system and device
CN109800303A (en) * 2018-12-28 2019-05-24 深圳市世强元件网络有限公司 A kind of document information extracting method, storage medium and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408191A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Method and device for obtaining correlated keywords of keywords
CN106682012A (en) * 2015-11-06 2017-05-17 阿里巴巴集团控股有限公司 Commodity object information searching method and device
CN107229659A (en) * 2016-03-25 2017-10-03 华为软件技术有限公司 A kind of information search method and device
CN107451139A (en) * 2016-05-30 2017-12-08 北京三星通信技术研究有限公司 File resource methods of exhibiting, device and corresponding smart machine
CN106844609A (en) * 2017-01-17 2017-06-13 百度在线网络技术(北京)有限公司 A kind of searching method and device
CN111078832A (en) * 2019-11-08 2020-04-28 杭州九阳小家电有限公司 Auxiliary response method and system for intelligent customer service
CN110990532A (en) * 2019-11-28 2020-04-10 中国银行股份有限公司 Method and device for processing text

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《如何打开PDF文件根据关键词查找内容》;蔚蓝乖乖04;《https://jingyan.baidu.com/article/a3a3f811b80a9ccda3eb8a2b.html》;20191224;正文第1-6页 *

Also Published As

Publication number Publication date
CN112596646A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN112099684A (en) Search display method and device and electronic equipment
CN112988006A (en) Display method, display device, electronic equipment and storage medium
CN112083854A (en) Application program running method and device
CN113311968A (en) Application program correlation method and device
CN111813305A (en) Application program starting method and device
CN113849092A (en) Content sharing method and device and electronic equipment
CN112399010B (en) Page display method and device and electronic equipment
CN112181252B (en) Screen capturing method and device and electronic equipment
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN111857466B (en) Message display method and device
CN113821288A (en) Information display method and device, electronic equipment and storage medium
CN113220393A (en) Display method and device and electronic equipment
CN111638828A (en) Interface display method and device
WO2022257883A1 (en) Presentation method and presentation apparatus
CN112596646B (en) Information display method and device and electronic equipment
CN112291412B (en) Application program control method and device and electronic equipment
CN113127653B (en) Information display method and device
CN111796736B (en) Application sharing method and device and electronic equipment
CN114416264A (en) Message display method and device
CN113721816A (en) Video processing method and device
CN113867864A (en) Information display method and device, electronic equipment and readable storage medium
CN112286615A (en) Information display method and device of application program
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN112286613A (en) Interface display method and interface display device
CN113778271A (en) Application icon searching method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant