CN111813236A - Input method, input device, electronic equipment and readable storage medium - Google Patents

Input method, input device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111813236A
CN111813236A CN202010555911.6A CN202010555911A CN111813236A CN 111813236 A CN111813236 A CN 111813236A CN 202010555911 A CN202010555911 A CN 202010555911A CN 111813236 A CN111813236 A CN 111813236A
Authority
CN
China
Prior art keywords
target
elements
database
keyword
candidate
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.)
Granted
Application number
CN202010555911.6A
Other languages
Chinese (zh)
Other versions
CN111813236B (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 CN202010555911.6A priority Critical patent/CN111813236B/en
Publication of CN111813236A publication Critical patent/CN111813236A/en
Application granted granted Critical
Publication of CN111813236B publication Critical patent/CN111813236B/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/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses an input method, an input device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: receiving a first keyword input by a user under a display interface of a first application program of first electronic equipment; displaying a first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in the first database, the elements in the first database are obtained according to the target work, and the target work comprises at least one of a target book, a target audio and a target video. The embodiment of the invention solves the problem that in the prior art, when a user uses some application programs of electronic equipment, the display interface of the application program needs to be switched to a search engine for manual search and manually identifies sentences with certain cultural background implications, so that the whole search process is too complicated.

Description

Input method, input device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to an input method, an input device, electronic equipment and a readable storage medium.
Background
With the rapid development of mobile communication technology, users can use instant messaging Applications (APPs) to communicate with each other. Based on the internet technology, in the communication process, the user can send rich multimedia information such as characters, pictures, voice, videos and the like, so that various requirements of the user in daily communication are met.
The current expression packages, bubble themes and the like are gradually popular, so that a user can send various different expression packages in the communication process and dress sent characters by using bubbles of different styles.
However, in the process of implementing the application, the inventor finds that although the expression bag and the bubble theme can increase interest and diversity in the communication process, the cultural background of the user cannot be shown. In this case, the user has to switch from the chat interface to the search engine to perform manual search. However, after a user inputs a certain keyword, the searched related sentences are various, and therefore, the user needs to recognize which sentences contain a certain cultural background from a plurality of search results one by one.
Therefore, when users communicate with each other, the wordlessness is difficult due to the limitations of the reading amount and cultural background of the users. Under the condition, the user often switches to a search engine to manually search, and manually identifies sentences which contain a certain culture background in the search result, so that the whole process is very complicated.
Disclosure of Invention
An object of the embodiments of the present application is to provide a content input method, a content input device, an electronic device, and a readable storage medium, so as to solve the problem that, in the prior art, when a user uses some application programs of the electronic device, the user needs to switch from a display interface of the application program to a search engine to manually search and manually identify a sentence with a certain cultural background, which results in an excessively tedious whole search process.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a content input method, where the method includes:
receiving a first keyword input by a user under a display interface of a first application program of first electronic equipment;
displaying a first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos.
In a second aspect, an embodiment of the present invention provides an input device, including:
the first receiving module is used for receiving a first keyword input by a user under a display interface of a first application program of first electronic equipment;
the display module is used for displaying a first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
In the embodiment of the application, elements in at least one of a target book, a target audio and a target video are extracted in advance to obtain a first database, so that a first keyword input by a user is received under a display interface of a first application program of first electronic equipment, elements matched with the first keyword in the first database can be obtained, and a first result list is formed for displaying.
Therefore, according to the embodiment of the application, under the display interface of the first application program of the first electronic device, the elements which are matched with the first keyword and are in at least one of the target book, the target audio and the target video can be obtained from the pre-established first database according to the first keyword input by the user and displayed to the user, the elements do not need to be switched to a search engine for searching, and the elements extracted from the target book, the target audio and the target video have certain cultural background implications. Therefore, the problem that in the prior art, when a user uses some application programs of the electronic equipment, the user needs to switch to a search engine for manual search from a display interface of the application program and manually identify sentences with certain cultural background implications, so that the whole search process is complicated is solved.
Drawings
FIG. 1 is a flow chart of a content input method provided by an embodiment of the invention;
FIG. 2 is a diagram illustrating an electronic device displaying a preference setting interface in an embodiment of the invention;
FIG. 3 is a diagram illustrating an embodiment of an electronic device displaying a first list of results;
FIG. 4 is a second diagram illustrating an embodiment of an electronic device displaying a first result list;
FIG. 5 is a schematic diagram of an electronic device after processing a candidate sentence shown in FIG. 4 according to an embodiment of the invention;
FIG. 6 is a diagram illustrating an electronic device displaying a second result list in accordance with an embodiment of the present invention;
FIG. 7 is a block diagram of an input device provided by an embodiment of the present invention;
FIG. 8 shows one of the block diagrams of an electronic device provided by an embodiment of the invention;
fig. 9 shows a second block diagram of an electronic device according to an embodiment of the invention.
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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. 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 content input method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present invention provides an input method, which may include the steps of:
step 101: the method includes receiving a first keyword input by a user under a display interface of a first application program of first electronic equipment.
The display interface of the first application program may be a chat interface, an interface for editing dynamic information before publishing the dynamic information of the user, and an interface for editing comment information of the dynamic information published to other users. Specifically, for example, an editing interface of a circle of friends, an interface of editing comment information on dynamic information of a certain user in the circle of friends.
In addition, the process of receiving the first keyword input by the user may include:
receiving a first keyword input by a user through character input operation;
or
And receiving voice information input by a user, and identifying keywords in the voice information to determine the keywords as first keywords.
Therefore, the user can input the first keyword in the first electronic device through a character input mode, and can also input the first keyword in the first electronic device through a voice mode.
Step 102: and displaying a first result list according to the first keyword.
The first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos. The target books include paper books and electronic books, for example, books including at least one of poetry, novels, scientific articles, narratives, discussion articles, descriptions and application articles.
Among them, the target books, the target audios and the target videos are deposited with human wisdom and rich cultural background. Therefore, the elements extracted from the literary works are pushed to the user, so that the user can refer to the literary works in the social process, and the cultural background of the user in the social process can be improved to a certain extent.
It should be noted here that the first database may be stored in the first electronic device, or may be stored in the server, and in a case that the first database is stored in the first electronic device, after receiving a first keyword input by a user, the first electronic device may directly search for an element matching the first keyword from the first database; under the condition that the first database is stored in the server, after the first electronic device receives a first keyword input by a user, the first keyword needs to be sent to the server, and the server searches for an element matched with the first keyword in the first database.
As can be seen from the above, according to the first keyword input by the user, the embodiment of the present invention can obtain, from the first database established in advance, the element that matches the first keyword and is in at least one of the target book, the target audio, and the target video, and display the element to the user, without switching to the search engine for search, and the element extracted from the target book, the target audio, and the target video has a certain cultural background, so that the embodiment of the present invention can directly push the element with cultural background to the user, without the user having to recognize the element one by one. Therefore, the problem that in the prior art, when a user uses some application programs of the electronic equipment, the user needs to switch to a search engine for manual search from a display interface of the application program and manually identify sentences with certain cultural background implications, so that the whole search process is complicated is solved.
Optionally, after displaying the first result list, the method further includes:
receiving a user selection operation on target candidate elements, wherein the target candidate elements comprise one or more candidate elements;
and responding to the selected operation, inputting the target candidate element into a target input box, or sending the target candidate element.
The target input box is an input box displayed in a display interface of the first application program.
In addition, the "sending the target candidate element" may be sending the target candidate element to the second electronic device, or may be publishing the target candidate element to a dynamic information display interface of the first application.
For example, as shown in fig. 3, when displaying the first result list, a "send" button may be displayed after each candidate element, wherein if the user clicks the "send" button of "thank you for spending all the day, and who is poor for the hong xiao xiang", then "thank you for spending all the day, and who is poor for the hong xiao xiang" is sent to the second electronic device. Alternatively, for example, if the user clicks on "assist ma temperature" as shown in fig. 6, the alternative term "assist ma temperature" is entered into the character input box 601.
Therefore, the user can select the required elements from the candidate elements included in the first result list displayed by the first electronic device, so that the candidate elements selected by the user are directly input into the target input box or sent out by the first electronic device without being input again by the user, and the operation process is simple.
Optionally, before displaying the first result list according to the first keyword, the method further includes:
extracting at least one of a self-name, an alternative name, a sentence, a picture, an audio segment and a video segment from the target work;
determining at least one of the extracted self-call, alternative call, sentence, picture, audio clip and video clip as an element in the first database.
It can be seen that in the embodiment of the present invention, the elements in the first database include at least one of self-call, alternative call, sentence, picture, audio segment and video segment extracted from the target work.
The alternative names and the self-names can be extracted from the target work according to rules, for example, in an article, generally, "XXX is said," saying "is a name, which may be a self-name or an alternative name. Therefore, the embodiment of the invention can also push at least one of the self-name and the alternative name extracted from the target work to the user, so that the user can use various names, and the interestingness is further increased.
The sentence may include a spoken sentence, poem, postscript, idiom. Specifically, in the first aspect, when the dialogue sentences in the target work are obtained, the dialogue sentences can be obtained according to rules of the dialogue sentences, for example, sentences such as "XXX" generally exist before the dialogue sentences in an article, so that the dialogue sentences in an article are extracted according to the rules; for example, in a film and television work, dialogue sentences are generally presented in the form of lines, so that the lines in the film and television work are extracted, and the dialogue sentences in the film and television work can be obtained; in the second aspect, the poetry, the postscript and the idiom respectively have respective characteristics, and the poetry, the postscript and the idiom can be extracted from the target works according to the characteristics of the poetry, the postscript and the idiom and the currently known poetry, the postscript and the idiom.
In addition, when the element matched with the first keyword is a sentence, the element matched with the first keyword is a sentence comprising the first keyword, or a sentence comprising a word with a semantic similar to the first keyword; when the element matched with the first keyword is a self-call or an alternative call, the element matched with the first keyword is a self-call or an alternative call comprising the first keyword, or a self-call or an alternative call comprising a word with a semantic similar to the first keyword; when the element matched with the first keyword is a picture, the element matched with the first keyword is a picture of which the picture content comprises the first keyword, or a picture of which the picture content comprises words with similar semantics with the first keyword; when the element matched with the first keyword is an audio clip, the element matched with the first keyword is an audio clip of which the audio content comprises the first keyword, or an audio clip of which the audio content comprises a word with a semantic similar to the first keyword; when the element matched with the first keyword is a video clip, the element matched with the first keyword is a video clip of which the video content comprises the first keyword, or a video clip of which the video content comprises a word similar to the first keyword in semanteme.
Therefore, the embodiment of the invention can push various elements to the user. When the first application program is a social application program, the user can use the elements displayed on the first electronic device in the social process as references in the social process, so that the diversity of information exchanged among the users in the social process can be increased.
Furthermore, in the case that the elements in the first database include sentences, which may be from movie works, pictures or video clips carrying the sentences may be stored in the first database (i.e. pictures or video clips associated with the sentences are stored), so that when the sentences are pushed to the user, the sentences are displayed on the first electronic device together with their associated pictures or video clips, so that the user can preview the pictures or video clips corresponding to the sentences. For example, as shown in fig. 4, if there is an associated picture 401 in the candidate sentence "you want to love me again", the picture 401 associated with the candidate sentence is also displayed at the same time as the sentence is displayed.
Further, in a case that the candidate element in the first result list includes a second target sentence and a target object associated with the second target sentence, after displaying the first result list, the method further includes:
receiving a third operation, wherein the third operation is an operation on one second target statement in the first result list;
responding to a third operation, modifying a second target statement aimed at by the third operation, and obtaining a modified statement;
replacing a second target sentence displayed in a target object associated with a second target sentence targeted by the third operation with the modified sentence;
wherein, the target object is a picture or a video clip.
Therefore, the second target sentence in the first result list can be edited, for example, replacing the character name. After sentence processing, synchronously replacing related documentations with pictures and/or video clips related to the second target sentence before processing. For example, fig. 5 is a schematic view of a display effect of a picture 401 associated with the second target sentence "you want to love my after" processing the second target sentence "in fig. 4.
Therefore, in the embodiment of the invention, the user can edit the sentences included in the first result list by himself, so that the sentences displayed in the associated pictures or video clips are replaced synchronously, and the interestingness of the user in the process of using the first application program is further increased.
When the sentence included in the first result list has a picture or a video clip associated therewith, if the first electronic device receives a first operation on the displayed sentence, the picture or the video clip associated with the sentence targeted by the first operation is sent to the second electronic device. For example, if the user clicks the "send" button shown in fig. 4, the picture 401 will be sent to the second electronic device.
Optionally, the first database further includes first feature information of the element, where the first feature information includes at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene where the element is applicable, a geographic location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
before the displaying the first result list, the method further comprises:
determining first target characteristic information according to the first keyword;
determining an element corresponding to the first target feature information as a candidate element in the first result list.
The first target characteristic information is first characteristic information matched with the first keyword. Specifically, the first feature information matched with the first keyword is the first feature information including the first keyword, or the first feature information including a term having a semantic meaning similar to that of the first keyword.
Therefore, when the first database is searched based on the first keyword, the embodiment of the invention can also search the first feature information matched with the first keyword, and display the element to which the searched first feature information belongs to the user, so that more elements matched with the first keyword can be pushed to the user, and further more choices can be provided for the user.
It should be noted that, when some elements in the first database are derived from the movie and television works, the authors of the works to which the elements belong are directors of the movie and television works.
In addition, the roles are roles to which the elements correspond. Specifically, when the element is a statement, the role corresponding to the element is a role appearing in the statement, wherein the role appearing in the statement can be extracted by using a Named Entity Recognition (NER) algorithm; when the element is called by self or another name, the role corresponding to the element is the role suitable for the calling or another name; when the element is a picture, the role corresponding to the element is the role of a character appearing in the picture; when the element is an audio clip, the role corresponding to the element is a role suitable for the audio clip; when the element is a video clip, the role corresponding to the element is a role appearing in the video clip.
The emotional colors are expressed by elements, such as happiness, sadness and the like. Specifically, when the element is a sentence, when the emotional color expressed by the sentence is obtained, the sentence is firstly subjected to word segmentation, then the emotional color of each word is obtained after the word segmentation is identified according to a pre-established database in which the emotional color to which the word belongs, and further the emotional colors to which all the words included in the sentence belong can be used as the emotional color expressed by the sentence; when the element is a self-name or an alternative name, the emotional color expressed by the element is the emotional color corresponding to the scene appearing in the target work; when the element is a picture, the emotional color expressed by the element is the emotional color expressed by the picture content; when the element is an audio clip, the emotional color expressed by the element is the emotional color applicable to the music clip; when the element is a video segment, the emotional color expressed by the element is the emotional color expressed by the video content.
The above theme is the scene to which the element is adapted. Specifically, when the element is a sentence, the scene of the element may be determined according to the sentence and context information of the sentence, that is, firstly, the sentence and the context information thereof are participled, and then, which scene the words belong to is identified, so that the scenes to which the words belong may all be used as the scene to which the sentence is applicable. When the element is called by itself or another name, the scene to which the element is applied is called by itself or another name appearing in the target work; when the element is a picture, the scene to which the element is applicable is a scene in the picture content; when the element is an audio clip, the scene to which the element is applicable is the scene to which the audio clip is applicable; when the element is a video clip, the scene to which the element applies is a scene appearing in the video clip.
The geographic location is the geographic location with which the element is associated. Specifically, when the element is a sentence, the geographical position appearing in the sentence can be extracted by using a named entity recognition algorithm; alternatively, works and work backgrounds may be mined, usually with some famous classics associated with specific geographical locations, such as the "Teng Wang Gechen", Shu dao Duan; when the element is called by itself or another name, the geographic position associated with the element is the geographic position suitable for the scene appearing in the target work; when the element is a picture, the geographic position associated with the element is the geographic position associated with the picture content; when the element is an audio clip, the associated geographic location of the element is the geographic location to which the audio clip applies; when the element is a video clip, the element's associated geographic location is the geographic location associated with the video content.
The above-described subject matter is the subject matter expressed by the elements. Specifically, when an element is named as self or alternative, the theme expressed by the element is the theme applicable to the self-naming or alternative; when the element is a picture, the theme expressed by the element is the theme expressed by the content of the picture; when the element is an audio clip, the theme expressed by the element is a theme applicable to the audio clip; when the element is a video clip, the theme expressed by the element is the theme expressed by the content of the video clip.
When the element is a sentence, the determining process of determining the topic expressed by the first target sentence may include:
performing word segmentation processing on a first target sentence to obtain a target word corresponding to the first target sentence;
searching a word matched with the target word from a second database established in advance;
determining a theme expressed by the target sentence according to the theme corresponding to the word matched with the target word;
and the third database stores the words extracted from the target works and the topics corresponding to the words.
In addition, one word in the second database is matched with the target word, namely one word in the second database is the same as or similar to the target word in semantics.
Therefore, the theme expressed by the first target sentence can be determined according to the theme to which the words in the first target sentence belong. The LDA algorithm may be adopted, and the words are used as the granularity to identify the topics to which the words in the target work belong, and then the words and the corresponding topics are stored in the second database.
Optionally, the determining, according to the theme corresponding to the word matched with the target word, the theme expressed by the first target sentence includes:
determining the topics corresponding to the words matched with the target words as the topics expressed by the first target sentence;
or
The second database is also stored with target parameters of words, and the target parameters are used for expressing the relevance between the words stored in the second database and corresponding topics; the determining the theme expressed by the first target sentence according to the theme corresponding to the word matched with the target word comprises:
and determining the theme corresponding to the word with the maximum target parameter in the words matched with the target words as the theme expressed by the first target sentence.
When the LDA algorithm is adopted and the words are used as the granularity to identify the subjects to which the words in the target work belong, the percentage of each word belonging to the corresponding subject can be obtained and can be used as the target parameter.
For example, the first target sentence is subjected to word segmentation to obtain five words, and the five words can be matched with one topic in the second database, so that the five topics can be all used as the topic of the first target sentence, and the topic of one word with the largest target parameter in the five words can also be used as the topic of the first target sentence.
The topics to which the words included in the first target sentence belong are taken as the expressed topics, so that the first target sentence is applicable to a plurality of topics, and the first target sentence can be pushed for a user under the plurality of topics. And determining the topic with the maximum target parameter, namely the topic with the maximum relevance with the first target sentence, in the topics to which the words included in the first target sentence belong as the topic of the first target sentence, so that the topic expressed by the first target sentence is more accurate.
It should be noted that, after the roles corresponding to the elements, the themes expressed by the elements, the emotional colors expressed by the elements, the scenes where the elements are applicable, the geographic positions associated with the elements, the names of the works to which the elements belong, and the authors of the works to which the elements belong are obtained by the above method, data cleaning and deduplication can be further performed.
As can be seen from the above, any one element in the first database may exist: at least one of character, theme, emotional color, scene, geographical location, work name, author. Each of the aforementioned information may be used as a field of an element, and what is stored in the first database is a data table, where the data table records a plurality of elements extracted from the target work and values of each field of each element. In addition, the value of each field of one element can be supplemented in a manual labeling mode.
Optionally, the first database further includes first feature information of the element, where the first feature information includes at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene where the element is applicable, a geographic location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
the displaying the first result list specifically includes:
determining a first arrangement order of the candidate elements according to the first characteristic information;
displaying the candidate elements in the first result list in the first arrangement order.
Therefore, the candidate elements can be sorted according to the first characteristic information of the candidate elements in the first result list, so that a user can select the required elements from the first result list more conveniently.
Optionally, determining, according to the first feature information, a first arrangement order of the candidate elements includes:
screening out elements with second target characteristic information from the first result list, and determining the elements as first type candidate elements, wherein the second target characteristic information is first characteristic information recorded in advance;
determining the arrangement order of the first-class candidate elements before the second-class candidate elements as the first arrangement order, wherein the second-class candidate elements are the candidate elements except the first-class candidate elements in the first result list.
Wherein the pre-recorded second characteristic information (i.e., the second target characteristic information) is used for the first characteristic information indicating the user preference. Specifically, the user may input the second keyword in the first electronic device in advance, so that the first electronic device records the second keyword as the first feature information of the user preference. For example, in the first application, a target button may be set, and after the target button is clicked, the first electronic device displays a preference setting interface as shown in fig. 2, wherein three options of "author", "work", and "role" represent preferences in different aspects. For example, as shown in FIG. 2, if the user currently selects the "Author" option, the name of the Author may be entered under the option. Where "ABC" and "DEF" in fig. 2 represent different names, respectively, then these two names are added to the "author" option, indicating that the user prefers elements from two authors named "ABC" and "DEF".
Therefore, the user can select the first characteristic information of the elements preferred by the user. Therefore, after the first result list is obtained from the first database according to the first keyword, the first type of candidate sentences which accord with the preference of the user in the first result list are arranged in front, and the user can view the preferred elements preferentially.
For example, the first keyword is "hurt" and the first result list includes a first candidate element "who is full of flowers and blossoming flowers, and who is full of red vanishing incense", and a second candidate element "who is bad heart and lao send bus pavilion" in the day, where the role of the first candidate element is a and the role of the second candidate element is B, and if the preference of the user is set to a, in the first result list, "who is full of flowers and blossoming flowers, and who is bad of red vanishing incense" is "arranged at" the bad heart and before lao send bus pavilion "; if the preference of the user is set to B, in the first result list, at the heart hurt place in the day, the lao send bus booth is arranged before the flow of flowers, flowers and flowers in full and the flow of hong xiao xiang absolutely. In the prior art, when a user chats, a friend with low relationship intimacy is easy to talk to form an embarrassing scene. For example, in group chat, some topics are followed by replies, which are usually like a praise emoticon, or reply with words like "praise". The screen brushing effect is formed. Because the content of the replies is very uniform, there is a suspicion of applying the replies from the emotions, and the replies are disturbing information for other users.
The elements in the first database are extracted from a large number of target works, so that the elements in the first database are various, and even if the elements expressing the same emotion in the same scene, the same role, the same theme are still various, therefore, by utilizing the first database, element pushing is carried out on different users, and the users can generate different choices.
In addition, in the embodiment of the invention, the candidate elements which accord with the preference of the user can be further screened out from the candidate elements matched with the first keyword according to the preference information of the user, so that different pushing results can be generated according to different user preferences. Therefore, even in the process of group chat, the uniform effect is not generated.
Furthermore, the second type candidate elements in the first result list can be deleted, so that the elements which do not accord with the user preference are prevented from influencing the selection of the user.
Optionally, determining, according to the first feature information, a first arrangement order of the candidate elements includes:
and adjusting the arrangement sequence of each candidate element in the first result list according to the preset priority sequence of various first characteristic information.
The ranking order of each candidate element in the first result list is adjusted according to the preset priority order of various first feature information, so that the candidate elements with higher priority are ranked in front, that is, the candidate elements which are more consistent with the requirements of the user are ranked in front, and the selection of the user is more convenient.
In addition, the first feature information may include at least two of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene to which the element is applied, a geographical location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs.
The priority order of the seven kinds of feature information can be set by the user and recorded by the first electronic device, so that the candidate elements in the first result list can be sorted according to the priority order.
It should be noted that, in the case that the first database is stored in the first electronic device, the priority order of the seven kinds of feature information may be set as a default order and stored in the electronic device, so that the electronic device may directly sort the candidate elements in the first result list according to the priority order of the seven kinds of feature information stored therein. In the case that the first database is stored in the server, the priority order of the seven kinds of feature information may be set as a default order and stored in the server, so that the server may directly sort the candidate elements in the first result list according to the priority order of the seven kinds of feature information stored therein; or, the priority order of the seven kinds of feature information may be set as a default order and stored in the first electronic device, so that when the first electronic device sends the first keyword to the server, the priority order is sent to the server together, so that the server may sort the candidate elements in the first result list according to the received priority order.
In addition, the priority order of the above six kinds of feature information may be, for example: geographic location, role, name of work, author, emotional color, scene, theme. Here, it is to be understood that the priority order for the above seven kinds of feature information is not limited thereto.
Optionally, in a case that the display interface of the first application is a chat interface, before displaying the first result list, the method further includes:
acquiring first reference information, wherein the first reference information comprises at least one of a target historical chat record of a user of the first electronic equipment in the chat interface and positioning information of the first electronic equipment, the target historical chat record is a chat record in a preset time before a target moment, and the target moment is a moment for receiving the first keyword;
determining the elements in the first database matching the first reference information as candidate elements in the first result list.
Therefore, the embodiment of the invention can also push the elements in the first database according to at least one of the historical chat records and the positioning information of the first electronic equipment, thereby providing more element choices for the user.
Optionally, in a case that the first reference information includes the target historical chat record and the first database includes a scene to which an element is applicable, the determining, as a candidate element in the first result list, an element in the first database that matches the first reference information includes:
determining a chat scene of the first electronic equipment according to the target historical chat record;
in the first database, acquiring a scene suitable for the elements matched with the chat scene, and determining the scene as a target scene;
and determining the elements corresponding to the target scene as candidate elements in the first result list.
When the chat scenes are determined according to the historical chat records, word segmentation processing can be performed on the historical chat records, then scenes to which words obtained after word segmentation processing belong are identified, and then the scenes can be used as the chat scenes, and one of the scenes can be randomly selected to be used as the chat scene. When the chat scene comprises a scene, matching the scene in the first database with the chat scene, namely that the scene in the first database is the same as or similar to the chat scene; when the chat scene comprises at least two scenes, one scene in the first database is matched with the chat scene, namely one scene in the first database is the same as or similar to one of the at least two scenes in the chat scene.
Therefore, the embodiment of the invention can also determine the chat scene according to the historical chat records, so that the matched elements can be pushed for the user according to the scene, and the user can select the elements which are more matched with the current chat scene to be sent to the opposite user in the chat process.
The emotion bag in the prior art has a scene that the emotion bag is limited to use, and for example, communication between an upper level and a lower level in a serious occasion is not applicable. And sending expression containers with too high a similarity is prone to visual fatigue. In the embodiment of the invention, appropriate elements can be pushed for the user according to the scene, namely, the elements pushed to the user can be suitable for more scenes.
Optionally, in a case that the first reference information includes the target historical chat record and the first database includes context information of an element, the determining, as a candidate element in the first result list, an element in the first database that matches the first reference information includes:
acquiring context information matched with the target historical chat records in the first database, and determining the context information as target context information;
and determining an element corresponding to the target context information as a candidate element in the first result list.
The context information in the first database is matched with the target context information, namely the feature vector of the context information in the first database and the feature vector of the target context information are obtained, and the similarity between the feature vector and the feature vector is larger than a preset value.
Therefore, according to the embodiment of the invention, the matched elements can be pushed for the user according to the context information, so that the user can select the elements which are more consistent with the current chat record to send to the opposite user in the chat process.
In addition, in the prior art, the current intelligentization degree of the push results automatically synthesized by a machine is not good enough, and some unknown results are usually generated. The embodiment of the invention can push according to the history record in the chat process and the context information of the elements in the first database, thereby reducing the situation that the pushing result is unknown to a certain extent.
Optionally, in a case that the first reference information includes the positioning information and the first database includes a geographic location associated with an element, the determining, as the candidate element in the first result list, an element in the first database that matches the first reference information includes:
acquiring a geographical position matched with the positioning information in the first database, and determining the geographical position as a target geographical position;
and determining the element corresponding to the target geographic position as a candidate element in the first result list.
The geographic position in the first database is matched with the positioning information, that is, the geographic position in the first database is the same as the geographic position represented by the positioning information, or the spatial distance between the geographic position and the positioning information is smaller than the preset distance.
Some electronic devices can be carried about and have a function of acquiring a geographical position. Thus, when the user enters keywords in different places, different results may be presented. For example, the user inputs the keyword 'beautiful scene', when the positioning is obtained that the user is in south Chang, the key word 'solar energy and solitary qi fly together, autumn water has one color in all' is returned; when the positioning obtains that the user is at the Harbin, returning to the conditions of ice sealing and snow floating.
Therefore, according to the embodiment of the invention, the matched elements can be pushed for the user according to the positioning information, so that the user can select the elements with the characteristics of the position of the user to send to the opposite user in the chat process.
In addition, in the case that the element in the first database includes at least one of a self-call and an alternative call, the first database may further store a usage frequency of the self-call and the alternative call, so that in the case that the candidate element in the first result list includes at least one of the self-call and the alternative call, the self-call and the alternative call are sorted according to the usage frequency of the self-call and the alternative call included in the first result list, or only the self-call and/or the alternative call having a usage frequency greater than a preset threshold value is displayed in the first result list.
It should be noted that, in the input method provided in the embodiment of the present application, the execution main body may be an input device, or a control module in the input device for executing a loading input method. In the embodiment of the present application, an input device executing a loading input method is taken as an example to describe the input method provided in the embodiment of the present application.
The input method provided by the embodiment of the invention is described above, and the input device provided by the embodiment of the invention is described below with reference to the accompanying drawings.
Referring to fig. 7, an embodiment of the present invention further provides an input device, where the input device 700 includes:
a first receiving module 701, configured to receive a first keyword input by a user in a display interface of a first application program of a first electronic device;
a display module 702, configured to display a first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving the selected operation of the user on the target candidate elements, wherein the target candidate elements comprise one or more of the candidate elements;
and the operation processing module is used for responding to the selected operation, inputting the target candidate element into a target input box, or sending the target candidate element.
Optionally, the first database further includes first feature information of the element, where the first feature information includes at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene where the element is applicable, a geographic location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
the device further comprises:
the first determining module is used for determining first target characteristic information according to the first keyword, wherein the first target characteristic information is first characteristic information matched with the first keyword;
a second determining module, configured to determine an element corresponding to the first target feature information as a candidate element in the first result list.
Optionally, the first database further includes first feature information of the element, where the first feature information includes at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene where the element is applicable, a geographic location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
the display module 702 includes:
the sorting submodule is used for determining a first sorting order of the candidate elements according to the first characteristic information;
a display sub-module, configured to display the candidate elements in the first result list according to the first arrangement order.
Optionally, in a case that the display interface of the first application is a chat interface, the apparatus further includes:
the reference information obtaining module is configured to obtain first reference information, where the first reference information includes at least one of a target historical chat record of a user of the first electronic device in the chat interface and positioning information of the first electronic device, the target historical chat record is a chat record within a preset time before a target time, and the target time is a time when the first keyword is received;
a third determining module, configured to determine an element in the first database that matches the first reference information as a candidate element in the first result list.
Optionally, the apparatus further comprises:
the extraction module is used for extracting at least one of a self-name, an alternative name, a sentence, a picture, an audio segment and a video segment from the target work;
and the element determining module is used for determining at least one of the extracted self-name, alternative name, sentence, picture, audio clip and video clip as an element in the first database.
As can be seen from the above, in the input apparatus according to the embodiment of the present invention, the first receiving module 701 receives a first keyword input by a user in a display interface of a first application program of the first electronic device, and the display module 702 displays the first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos.
Therefore, the input device provided by the embodiment of the invention can acquire the elements which are matched with the first keyword and are in at least one of the target book, the target audio and the target video from the pre-established first database according to the first keyword input by the user under the display interface of the first application program of the first electronic device, and display the elements to the user without switching to a search engine for searching, and the elements extracted from the target book, the target audio and the target video have certain cultural background implications. Therefore, the input device of the embodiment of the invention solves the problem that in the prior art, when a user uses some application programs of the electronic equipment, the user needs to switch to a search engine from a display interface of the application program to manually search and manually identify sentences with certain cultural background implications, so that the whole search process is too complicated.
The input device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The input device in the embodiment of the present application is 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 input device provided in the embodiment of the present application can implement each process implemented by the input method in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above-mentioned input method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 907 is configured to receive a first keyword input by a user when the display unit 906 displays a display interface of the first application;
a display unit 906, configured to display a first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos.
As can be seen from the above, in the embodiment of the present invention, in a case where the display unit 906 displays the display interface of the first application by extracting the elements from at least one of the target book, the target audio, and the target video in advance to obtain the first database, the first keyword input by the user is received through the user input unit 907, so that the elements in the first database matching with the first keyword can be obtained, the first result list is formed, and the display unit 906 displays the first result list.
Therefore, according to the embodiment of the application, under the display interface of the first application program of the first electronic device, the elements which are matched with the first keyword and are in at least one of the target book, the target audio and the target video can be obtained from the pre-established first database according to the first keyword input by the user and displayed to the user, the elements do not need to be switched to a search engine for searching, and the elements extracted from the target book, the target audio and the target video have certain cultural background implications. Therefore, the problem that in the prior art, when a user uses some application programs of the electronic equipment, the user needs to switch to a search engine for manual search from a display interface of the application program and manually identify sentences with certain cultural background implications, so that the whole search process is complicated is solved.
Optionally, the user input unit 907 is further configured to receive a user selection operation on target candidate elements, where the target candidate elements include one or more of the candidate elements;
a processor 910, configured to input the target candidate element into a target input box or send the target candidate element in response to the selection operation.
Therefore, the user can select the required elements from the candidate elements included in the first result list displayed by the first electronic device, so that the candidate elements selected by the user are directly input into the target input box or sent out by the first electronic device without being input again by the user, and the operation process is simple.
Optionally, the first database further includes first feature information of the element, where the first feature information includes at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene where the element is applicable, a geographic location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
the processor 910 is further configured to:
determining first target characteristic information according to the first keyword, wherein the first target characteristic information is first characteristic information matched with the first keyword;
determining an element corresponding to the first target feature information as a candidate element in the first result list.
Therefore, when the first database is searched based on the first keyword, the embodiment of the invention can also search the first feature information matched with the first keyword, and display the element to which the searched first feature information belongs to the user, so that more elements matched with the first keyword can be pushed to the user, and further more choices can be provided for the user.
Optionally, the first database further includes first feature information of the element, where the first feature information includes at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene where the element is applicable, a geographic location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
when the display unit 906 displays the first result list, it is specifically configured to:
determining a first arrangement order of the candidate elements according to the first characteristic information;
displaying the candidate elements in the first result list in the first arrangement order.
Therefore, the candidate elements can be sorted according to the first characteristic information of the candidate elements in the first result list, so that a user can select the required elements from the first result list more conveniently.
Optionally, the processor 910 is further configured to:
acquiring first reference information, wherein the first reference information comprises at least one of a target historical chat record of a user of the first electronic equipment in the chat interface and positioning information of the first electronic equipment, the target historical chat record is a chat record in a preset time before a target moment, and the target moment is a moment for receiving the first keyword;
determining the elements in the first database matching the first reference information as candidate elements in the first result list.
Therefore, the embodiment of the invention can also push the elements in the first database according to at least one of the historical chat records and the positioning information of the first electronic equipment, thereby providing more element choices for the user.
Optionally, the processor 910 is further configured to:
extracting at least one of a self-name, an alternative name, a sentence, a picture, an audio segment and a video segment from the target work;
determining at least one of the extracted self-call, alternative call, sentence, picture, audio clip and video clip as an element in the first database.
It can be seen that in the embodiment of the present invention, the elements in the first database include at least one of self-call, alternative call, sentence, picture, audio segment and video segment extracted from the target work.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the graphics processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 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 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
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 the processes of the above-mentioned embodiment of the input method, 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 run a program or an instruction to implement each process of the above input method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An input method, characterized in that the method comprises:
receiving a first keyword input by a user under a display interface of a first application program of first electronic equipment;
displaying a first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos.
2. The input method of claim 1, wherein after displaying the first list of results, the method further comprises:
receiving a user selection operation on target candidate elements, wherein the target candidate elements comprise one or more candidate elements;
and responding to the selected operation, inputting the target candidate element into a target input box, or sending the target candidate element.
3. The input method according to claim 1, wherein the first database further includes first characteristic information of the element, the first characteristic information including at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene to which the element is applied, a geographical location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
before the displaying the first result list, the method further comprises:
determining first target characteristic information according to the first keyword, wherein the first target characteristic information is first characteristic information matched with the first keyword;
determining an element corresponding to the first target feature information as a candidate element in the first result list.
4. The input method according to claim 1, wherein the first database further includes first characteristic information of the element, the first characteristic information including at least one of a role corresponding to the element, a theme expressed by the element, an emotional color expressed by the element, a scene to which the element is applied, a geographical location associated with the element, a name of a work to which the element belongs, and an author of the work to which the element belongs;
the displaying the first result list specifically includes:
determining a first arrangement order of the candidate elements according to the first characteristic information;
displaying the candidate elements in the first result list in the first arrangement order.
5. The input method according to claim 1, wherein before displaying the first result list in a case where the display interface of the first application is a chat interface, the method further comprises:
acquiring first reference information, wherein the first reference information comprises at least one of a target historical chat record of a user of the first electronic equipment in the chat interface and positioning information of the first electronic equipment, the target historical chat record is a chat record in a preset time before a target moment, and the target moment is a moment for receiving the first keyword;
determining the elements in the first database matching the first reference information as candidate elements in the first result list.
6. The input method according to claim 1, wherein before displaying the first result list according to the first keyword, the method further comprises:
extracting at least one of a self-name, an alternative name, a sentence, a picture, an audio segment and a video segment from the target work;
determining at least one of the extracted self-call, alternative call, sentence, picture, audio clip and video clip as an element in the first database.
7. An input device, comprising:
the first receiving module is used for receiving a first keyword input by a user under a display interface of a first application program of first electronic equipment;
the display module is used for displaying a first result list according to the first keyword; the first result list comprises candidate elements, the candidate elements are elements matched with the first keywords in a first database, the elements in the first database are obtained according to target works, and the target works comprise at least one of target books, target audios and target videos.
8. The input device of claim 7, further comprising:
the second receiving module is used for receiving the selected operation of the user on the target candidate elements, wherein the target candidate elements comprise one or more of the candidate elements;
and the operation processing module is used for responding to the selected operation, inputting the target candidate element into a target input box, or sending the target candidate element.
9. 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 input method of any one of claims 1-6.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the input method according to any one of claims 1-6.
CN202010555911.6A 2020-06-17 2020-06-17 Input method, input device, electronic equipment and readable storage medium Active CN111813236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010555911.6A CN111813236B (en) 2020-06-17 2020-06-17 Input method, input device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010555911.6A CN111813236B (en) 2020-06-17 2020-06-17 Input method, input device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111813236A true CN111813236A (en) 2020-10-23
CN111813236B CN111813236B (en) 2024-04-19

Family

ID=72844801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010555911.6A Active CN111813236B (en) 2020-06-17 2020-06-17 Input method, input device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111813236B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667774A (en) * 2020-12-23 2021-04-16 上海掌门科技有限公司 Method and equipment for providing creative help information in work creation process

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN107436896A (en) * 2016-05-26 2017-12-05 北京搜狗科技发展有限公司 Method, apparatus and electronic equipment are recommended in one kind input
CN109710088A (en) * 2018-12-29 2019-05-03 北京金山安全软件有限公司 Information searching method and device
CN109766013A (en) * 2018-12-28 2019-05-17 北京金山安全软件有限公司 Poetry sentence input recommendation method and device and electronic equipment
CN110909251A (en) * 2019-09-29 2020-03-24 上海萌家网络科技有限公司 Client device, server device, and method for providing material
CN110989847A (en) * 2019-11-22 2020-04-10 维沃移动通信有限公司 Information recommendation method and device, terminal equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436896A (en) * 2016-05-26 2017-12-05 北京搜狗科技发展有限公司 Method, apparatus and electronic equipment are recommended in one kind input
CN106605224A (en) * 2016-08-15 2017-04-26 北京小米移动软件有限公司 Information searching method, information searching device, electronic equipment and server
CN109766013A (en) * 2018-12-28 2019-05-17 北京金山安全软件有限公司 Poetry sentence input recommendation method and device and electronic equipment
CN109710088A (en) * 2018-12-29 2019-05-03 北京金山安全软件有限公司 Information searching method and device
CN110909251A (en) * 2019-09-29 2020-03-24 上海萌家网络科技有限公司 Client device, server device, and method for providing material
CN110989847A (en) * 2019-11-22 2020-04-10 维沃移动通信有限公司 Information recommendation method and device, terminal equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667774A (en) * 2020-12-23 2021-04-16 上海掌门科技有限公司 Method and equipment for providing creative help information in work creation process
CN112667774B (en) * 2020-12-23 2023-12-15 上海掌门科技有限公司 Method and equipment for providing creation help information in work creation process

Also Published As

Publication number Publication date
CN111813236B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN113114841B (en) Dynamic wallpaper acquisition method and device
CN110955821B (en) Recommendation method, recommendation device and readable medium
US20170109339A1 (en) Application program activation method, user terminal, and server
CN109582869B (en) Data processing method and device and data processing device
CN109918565B (en) Processing method and device for search data and electronic equipment
CN112084305A (en) Search processing method, device, terminal and storage medium applied to chat application
CN110209810A (en) Similar Text recognition methods and device
CN105786976A (en) Mobile terminal and application search method thereof
CN113746874A (en) Voice packet recommendation method, device, equipment and storage medium
CN108197105B (en) Natural language processing method, device, storage medium and electronic equipment
CN111158924A (en) Content sharing method and device, electronic equipment and readable storage medium
CN112615958A (en) Contact person display method and device and electronic equipment
CN112306347A (en) Image editing method, image editing device and electronic equipment
CN113037925B (en) Information processing method, information processing apparatus, electronic device, and readable storage medium
CN113778301A (en) Emotion interaction method based on content service and electronic equipment
CN111813236A (en) Input method, input device, electronic equipment and readable storage medium
CN112383662A (en) Information display method and device and electronic equipment
CN111240497A (en) Method and device for inputting through input method and electronic equipment
CN114374663B (en) Message processing method and message processing device
CN111831132A (en) Information recommendation method and device and electronic equipment
CN113835594A (en) Interaction method and device, electronic equipment and readable storage medium
CN114463046A (en) Information flow advertisement putting method and device, terminal device and readable storage medium
CN112818147A (en) Picture processing method, device, equipment and storage medium
CN111143595A (en) Picture management method, system, medium and device based on voice recognition
Pandey et al. Context-sensitive app prediction on the suggestion bar of a mobile keyboard

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