CN112068711A - Information recommendation method and device of input method and electronic equipment - Google Patents

Information recommendation method and device of input method and electronic equipment Download PDF

Info

Publication number
CN112068711A
CN112068711A CN202010865818.5A CN202010865818A CN112068711A CN 112068711 A CN112068711 A CN 112068711A CN 202010865818 A CN202010865818 A CN 202010865818A CN 112068711 A CN112068711 A CN 112068711A
Authority
CN
China
Prior art keywords
target
multimedia data
user
preset
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010865818.5A
Other languages
Chinese (zh)
Inventor
冯静静
蔡雅莉
张彤彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN202010865818.5A priority Critical patent/CN112068711A/en
Publication of CN112068711A publication Critical patent/CN112068711A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • 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/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/435Filtering based on additional data, e.g. user or group profiles
    • 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

Abstract

The embodiment of the invention provides an information recommendation method and device of an input method and electronic equipment, wherein the method comprises the following steps: judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user; recommending multimedia associated information when the user is determined to have an operation intention associated with the multimedia data; the functions of the input method are enriched; the subsequent user can execute the operation associated with the multimedia data based on the multimedia associated information, and the use experience of the user input method is improved.

Description

Information recommendation method and device of input method and electronic equipment
Technical Field
The invention relates to the technical field of data processing, in particular to an information recommendation method and device of an input method and electronic equipment.
Background
With the development of computer technology, electronic devices such as mobile phones and tablet computers are more and more popular, and great convenience is brought to life, study and work of people. These electronic devices are typically installed with an input method application (abbreviated as input method) so that a user can input information using the input method.
Currently, to facilitate user input, input methods provide a variety of functions: for example, a correlation function such as entering "you" above, may correlate and recommend to the user the following text such as "people", "good", etc. based on "you"; also for example, an expression recommendation function, such as inputting "haha", recommending an expression package of "haha"; as well as recommended news, weather, etc. However, as the demand of the user continuously increases, the existing functions of the existing input method cannot well meet the use demand of the user.
Disclosure of Invention
The embodiment of the invention provides an information recommendation method of an input method, which aims to improve the experience of a user in using the input method by enriching the functions of the input method.
Correspondingly, the embodiment of the invention also provides an information recommendation device of the input method and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses an information recommendation method for an input method, which specifically includes: judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user; and recommending the multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is a copying operation, acquiring target copying information corresponding to the copying; judging whether a target preset word matched with the target replication information exists in preset words or not; and if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset word matched with the target input information exists in preset words or not; and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence matched with the target input information exists in preset sentences or not; and if the target preset sentence matched with the target input information exists in the preset sentences, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns or not; and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a playing control aiming at the target multimedia data; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a card corresponding to the target multimedia data, wherein attribute information of the target multimedia data and a playing control aiming at the target multimedia data are displayed on the card; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: displaying the target preset sentences and/or attribute information of target multimedia data corresponding to the target preset sentences, and displaying playing controls aiming at the target multimedia data; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data corresponding to the target input information, and generating a text chain associated with the target multimedia data; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the text chain, and playing the target multimedia data.
Optionally, the method further comprises: determining marketing activity information associated with the multimedia data, and displaying a trigger entry of a marketing activity corresponding to the marketing activity information; receiving a trigger operation of a user aiming at the trigger entrance, and entering a marketing activity interface; and receiving lottery drawing operation of the user and displaying a corresponding lottery drawing result.
The embodiment of the invention also discloses an information recommendation device of the input method, which specifically comprises the following steps: the judging module is used for judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user; and the recommending module is used for recommending the multimedia associated information when determining that the user has the operation intention associated with the multimedia data.
Optionally, the determining module includes: a first intention judgment submodule, configured to, if the operation is a copy operation, obtain target copy information corresponding to the copy; judging whether a target preset word matched with the target replication information exists in preset words or not; and if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining module includes: the second intention judgment submodule is used for acquiring target input information corresponding to input if the operation is input operation; judging whether a target preset word matched with the target input information exists in preset words or not; and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining module includes: the third intention judgment submodule is used for acquiring correspondingly input target input information if the operation is input operation; judging whether a target preset sentence matched with the target input information exists in preset sentences or not; and if the target preset sentence matched with the target input information exists in the preset sentences, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining module includes: a fourth intention judgment submodule, configured to obtain target input information corresponding to the input if the operation is an input operation; judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns or not; and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data.
Optionally, the recommendation module includes: the first display sub-module is used for determining target multimedia data matched with the target preset words and displaying a playing control aiming at the target multimedia data; the device further comprises: and the first playing module is used for receiving the triggering operation of the user aiming at the playing control and playing the target multimedia data.
Optionally, the recommendation module includes: the second display sub-module is used for determining target multimedia data matched with the target preset words and displaying cards corresponding to the target multimedia data, and the cards are displayed with attribute information of the target multimedia data and playing controls aiming at the target multimedia data; the device further comprises: and the second playing module is used for receiving the triggering operation of the user aiming at the playing control and playing the target multimedia data.
Optionally, the recommendation module includes: the third display sub-module is used for displaying the target preset sentences and/or attribute information of target multimedia data corresponding to the target preset sentences and displaying the playing control aiming at the target multimedia data; the device further comprises: and the third playing module is used for receiving the triggering operation of the user aiming at the playing control and playing the target multimedia data.
Optionally, the recommendation module includes: the fourth display submodule is used for determining target multimedia data corresponding to the target input information and generating a text chain associated with the target multimedia data; the device further comprises: and the fourth playing module is used for receiving the triggering operation of the user aiming at the character chain and playing the target multimedia data.
Optionally, the apparatus further comprises: the system comprises a campaign marketing module, a multimedia data processing module and a marketing data processing module, wherein the campaign marketing module is used for determining marketing campaign information related to multimedia data and displaying a trigger inlet of a marketing campaign corresponding to the marketing campaign information; receiving a trigger operation of a user aiming at the trigger entrance, and entering a marketing activity interface; and receiving lottery drawing operation of the user and displaying a corresponding lottery drawing result.
The embodiment of the invention also discloses a readable storage medium, and when instructions in the storage medium are executed by a processor of the electronic equipment, the electronic equipment can execute the information recommendation method of the input method according to any one of the embodiments of the invention.
An embodiment of the present invention also discloses an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, and the one or more programs include instructions for: judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user; and recommending the multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is a copying operation, acquiring target copying information corresponding to the copying; judging whether a target preset word matched with the target replication information exists in preset words or not; and if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset word matched with the target input information exists in preset words or not; and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence matched with the target input information exists in preset sentences or not; and if the target preset sentence matched with the target input information exists in the preset sentences, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns or not; and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a playing control aiming at the target multimedia data; further comprising instructions for: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a card corresponding to the target multimedia data, wherein attribute information of the target multimedia data and a playing control aiming at the target multimedia data are displayed on the card; further comprising instructions for: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: displaying the target preset sentences and/or attribute information of target multimedia data corresponding to the target preset sentences, and displaying playing controls aiming at the target multimedia data; further comprising instructions for: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data corresponding to the target input information, and generating a text chain associated with the target multimedia data; further comprising instructions for: and receiving the triggering operation of the user aiming at the text chain, and playing the target multimedia data.
Optionally, further comprising instructions for: determining marketing activity information associated with the multimedia data, and displaying a trigger entry of a marketing activity corresponding to the marketing activity information; receiving a trigger operation of a user aiming at the trigger entrance, and entering a marketing activity interface; and receiving lottery drawing operation of the user and displaying a corresponding lottery drawing result.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, whether the user has the operation intention associated with the multimedia data or not can be judged according to the operation of the user, and when the user is determined to have the operation intention associated with the multimedia data, the multimedia associated information is recommended, so that the function of an input method is enriched; the subsequent user can execute the operation associated with the multimedia data based on the multimedia associated information, and the use experience of the user input method is improved.
Drawings
FIG. 1 is a flow chart illustrating steps of an embodiment of an information recommendation method for an input method according to the present invention;
FIG. 2a is a flow chart illustrating the steps of an alternative embodiment of an information recommendation method for an input method of the present invention;
FIG. 2b is a diagram illustrating multimedia associated information according to an embodiment of the present invention;
FIG. 3a is a flow chart illustrating the steps of an alternative embodiment of an information recommendation method of another input method of the present invention;
FIG. 3b is a diagram illustrating another embodiment of multimedia associated information;
FIG. 4a is a flowchart illustrating steps of an alternative embodiment of an information recommendation method for an input method according to the present invention;
FIG. 4b is a diagram illustrating another embodiment of multimedia associated information;
FIG. 5a is a flowchart illustrating steps of an alternative embodiment of an information recommendation method of another input method according to the present invention;
FIG. 5b is a diagram illustrating another embodiment of multimedia related information;
FIG. 5c is a diagram illustrating another multimedia related information according to an embodiment of the present invention;
FIG. 5d is a diagram illustrating multimedia associated information according to an alternative embodiment of the present invention;
FIG. 6a is a flowchart illustrating steps of an alternative embodiment of a method for recommending information by an input method according to the present invention;
FIG. 6b is a schematic illustration of a marketing campaign interface in accordance with an embodiment of the present invention;
FIG. 7 is a block diagram of an embodiment of an information recommendation apparatus according to an input method of the present invention;
FIG. 8 is a block diagram of an alternative embodiment of an information recommendation device for an input method according to the present invention;
FIG. 9 illustrates a block diagram of an electronic device for information recommendation, in accordance with an exemplary embodiment;
fig. 10 is a schematic structural diagram of an electronic device for information recommendation according to another exemplary embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core ideas of the embodiment of the invention is that the function of recommending the media related information is newly added in the input method, so that the multimedia related information can be recommended for the user when the user is determined to have the operation intention related to the multimedia data; the subsequent user can execute the operation associated with the multimedia data based on the multimedia associated information, so that the use experience of the user input method is improved.
Wherein the multimedia data may include audio data, which may include songs, pure music, etc., and video data, which may include dramas, movies, music clips, etc.; the embodiments of the present invention are not limited in this regard.
The operation associated with the multimedia data may include multiple operations, such as playing the multimedia data, viewing attribute information of the multimedia data, viewing content of the multimedia data, viewing comment information of the multimedia data, and the like, which is not limited in this embodiment of the present invention.
The multimedia data may be provided by the input method itself or provided by a third party, which is not limited in this embodiment of the present invention.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an information recommendation method for an input method according to the present invention is shown, which may specifically include the following steps:
step 102, judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user.
In the embodiment of the invention, the input method can judge whether the user has the operation intention associated with the multimedia data according to the operation of the user. The operation of the user may include multiple operations, such as an input operation in an input process using an input method, or an operation related to input in other application programs, such as a copy operation, and the like, which is not limited in this embodiment of the present invention.
The analysis can be performed according to the operation information corresponding to the user operation, and whether the user has an operation intention related to the multimedia data or not is judged. When it is determined that the user has an operational intention associated with the multimedia data, step 104 may be performed to recommend multimedia associated information to the user. When the user is determined not to have the operation intention associated with the multimedia data, whether the user has other intentions or not can be judged, and information matched with the other intentions is recommended for the user; of course, the step 102 may be continued without performing any operation; the embodiments of the present invention are not limited in this regard.
And 104, recommending multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
In the embodiment of the invention, when the user is determined to have the operation intention associated with the multimedia data, the multimedia associated information can be displayed in the input method keyboard. The multimedia associated information may include all information associated with the multimedia data, such as attribute information of the multimedia data, such as a name, content of the multimedia data, a play entry for the multimedia data, and so on; the embodiments of the present invention are not limited in this regard. Of course, when other application programs invoking the input method are provided with a designated area for presenting the multimedia related information, the multimedia information can be presented in the designated area.
In summary, in the embodiment of the present invention, whether the user has the operation intention associated with the multimedia data can be determined according to the operation of the user, and when it is determined that the user has the operation intention associated with the multimedia data, the multimedia associated information is recommended, so that the functions of the input method are enriched; the subsequent user can execute the operation associated with the multimedia data based on the multimedia associated information, and the use experience of the user input method is improved.
In the embodiment of the invention, operations for triggering the input method to recommend the multimedia associated information, such as input operation, copy operation and the like, can be preset. The operation information corresponding to different operations and used for triggering the input method to perform multimedia associated information recommendation can be preset, for example, the operation information corresponding to the input operation can be input information, and correspondingly, the input information corresponding to the input operation and used for triggering the input method to perform multimedia associated information recommendation can be set; for another example, the operation information corresponding to the copy operation may refer to copy information, and correspondingly, the copy operation may be set to correspond to copy information for triggering an input method to recommend the multimedia related information, and the like.
In an example of the present invention, a corresponding preset word may be set in advance for each multimedia data, and the preset word is used as a copy operation/input operation corresponding to copy information/input information for triggering an input method to perform multimedia associated information recommendation of the corresponding multimedia data; and establishing a mapping relation between the preset words and the corresponding multimedia data. In the embodiment of the invention, different preset words can be set for different multimedia data; the same preset words can also be set for different multimedia data, for example, the same preset words can be set for different versions of the same song. The preset words may be set as required, for example, for a song, the harmonic word of the song name may be set as the corresponding preset word, for example, if the harmonic word of the song "like you" cantonese is "black pineapple", the "black pineapple" may be used as the preset word of the song. For another example, for a song, a hotspot word corresponding to emotion expressed by the song may be set as a corresponding preset word, for example, if the song, "congratulatory-downwind", is a situation of departure of the expression, and if the corresponding hotspot word is "886", the "886" may be used as the preset word of the song, which is not limited in this embodiment of the present invention.
In an example of the present invention, a corresponding preset statement may also be set in advance for each multimedia data, and the preset statement is used as an input operation and applied to input information for triggering an input method to recommend multimedia associated information of the corresponding multimedia data; and establishing a mapping relation between the preset sentences and the corresponding multimedia data. In the embodiment of the invention, different preset sentences can be set for different multimedia data; the same preset sentence can also be set for different multimedia data, for example, the same preset sentence can be set for different versions of the same song. The preset sentences may be set as required, for example, for a song, the lyric/comment information may be set as the corresponding preset sentence, such as the song "in spring," with a happy comment "in spring, a spring fall with a slight sound, and a late willow wind with passengers. When the time is late in the north, the morning is known to have green waist fat, which is used as the preset sentence of the song. For another example, the lyric "you want one heart and the white heads are not separated" in the song "you want one heart", is used as the preset sentence corresponding to the song. For example, for a tv series/movie, the lines in the tv series/movie may be set as corresponding preset sentences; for example, the term "the officer" in the seventy second set of the drama "conutleaves" can not be used is taken as the corresponding preset sentence.
In an example of the present invention, a corresponding preset sentence pattern may also be set in advance for each multimedia data, and the preset sentence pattern is used as an input operation and applied to an input method for recommending multimedia associated information of the corresponding multimedia data. The preset sentence pattern may be set as required, for example, for a song, the preset sentence pattern may include: want to hear songs, etc. For another example, for a tv show/movie, the preset period pattern may include: think about, etc.
In the following, description is given of how to determine whether or not a user has an operation intention related to multimedia data and how to recommend multimedia-related information when the user's operation is a copy operation.
Referring to fig. 2a, a flowchart illustrating steps of an alternative embodiment of the information recommendation method for an input method of the present invention is shown, which may specifically include the following steps:
step 202, if the operation is a copy operation, obtaining target copy information corresponding to the copy.
In the embodiment of the invention, when the input method determines that the user executes the copying operation, the information copied corresponding to the copying operation executed by the user can be acquired; for convenience of the following description, the copied information may be referred to as target copy information. Then, based on the copy information, judging whether the user has an operation intention related to the multimedia data; reference may be made to step 204.
And 204, judging whether a target preset word matched with the target replication information exists in the preset words.
In the embodiment of the present invention, the target copy information may be compared with preset words, and the preset words matched with the target copy information may be searched for from the preset words. When the preset words are the same as the target copy information, the preset words can be determined to be matched with the target copy information; for convenience of subsequent description, the preset word matched with the target copy information may be referred to as a target preset word.
When the target preset word matching the target replication information is found, it may be determined that the target preset word matching the target replication information exists in the preset words, and then step 206 may be performed. When the target preset word matched with the target replication information is not found, it may be determined that the target preset word matched with the target replication information does not exist in the preset words, and at this time, other operations may be performed, or any operation may not be performed, which is not limited in this embodiment of the present invention.
Step 206, if a target preset word matched with the target replication information exists in the preset words, determining target multimedia data matched with the target preset word, and displaying a playing control for the target multimedia data.
And 208, receiving a trigger operation of the user for the playing control, and playing the target multimedia data.
In the embodiment of the present invention, if a target preset word matching the target copy information exists in the preset words, the target multimedia data corresponding to the target preset word may be searched based on a mapping relationship between the preset word and the corresponding multimedia data, which is established in advance. A play entry for the target multimedia data may then be presented, such as a play control, which may refer to the "heart of Ta" button shown in fig. 2 b.
In addition, no matter whether the preset words have the target preset words matched with the target copy information or not, the target copy information can be displayed in the clipboard of the input method, and if the target copy information is static and i want to say to you, the static and i want to say to you are displayed in the clipboard; as shown in fig. 2 b.
When a user needs to play the target multimedia data, the user can execute a trigger operation aiming at the play control; correspondingly, the target multimedia data can be played after the input method receives the triggering operation of the user for the playing control. The target multimedia data can be played completely, and parts of the target multimedia data, such as a chorus part of a song, a highlight of a certain episode of a television show, and the like, can be played. For example, the target copy information is "quiet, i.e. i want to say to you", and the corresponding target multimedia data is song "love you exactly"; after clicking the "heart sound of Ta" button in fig. 2b, the user can play the refrain part of the song "love you for.
In an example of the present invention, a playing page of the target multimedia data may be opened and the target multimedia data may be played in a browser built in an input method keyboard; the method can also jump to a browser of the operating system, open a playing page of the target multimedia data and play the target multimedia data, and can also jump to a multimedia application program (such as a video application program, a music application program and the like) corresponding to the target multimedia data, open a playing interface of the target multimedia data and play the target multimedia data.
When the user executes the copy operation, if the input method keyboard is in the call state, after the user executes the copy operation, if a target preset word matched with the target copy information exists in the preset words, the target copy information can be directly displayed in a clipboard of the input method, and the playing control is displayed. If the input method keyboard is in a retracted state, after the user executes the copy operation, if the preset words comprise the target preset words matched with the target copy information, the target copy information can be displayed in a clipboard of the input method and the playing control can be displayed when the input method keyboard is adjusted.
In summary, in the embodiment of the present invention, if the operation is a copy operation, target copy information corresponding to the copy is obtained, and whether a target preset word matching the target copy information exists in preset words is determined; if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data; and then when the user copies the preset words, the multimedia associated information can be recommended for the user, the user input is not needed, the multimedia associated information can be recommended in time, and the user experience is further improved.
Secondly, in the embodiment of the invention, in the process of recommending the multimedia associated information, target multimedia data matched with the target preset words can be determined, and a playing control aiming at the target multimedia data is displayed; after the user executes the trigger operation for the playing control, the input method can receive the trigger operation of the user for the playing control, and the target multimedia data is played; and then the user can play the multimedia data by directly triggering the playing control on the current interface without switching to other application programs to trigger the playing control, thereby simplifying the operation of playing the multimedia data and improving the efficiency and experience of playing the multimedia data by the user.
In the following, description is given of how to determine whether or not a user has an operation intention related to multimedia data and how to recommend multimedia-related information when an operation by the user is an input operation.
Referring to fig. 3a, a flowchart illustrating steps of an alternative embodiment of an information recommendation method for an input method according to the present invention is shown.
Step 302, if the operation is an input operation, acquiring target input information corresponding to the input.
In the embodiment of the invention, when the input method determines that the user executes the input operation, the input information corresponding to the input operation executed by the user can be acquired; for convenience of the following description, the input information may be referred to as target input information. Then, based on the input information, judging whether the user has an operation intention related to the multimedia data; reference may be made to step 304.
And step 304, judging whether a target preset word matched with the target input information exists in the preset words.
In the embodiment of the invention, the target input information can be compared with the preset words, and the preset words matched with the target input information can be searched from the preset words. When the preset word is the same as the target input information, the preset word can be determined to be matched with the target input information; for convenience of subsequent description, the preset word matched with the target input information may be referred to as a target preset word.
When the target preset word matching the target input information is found, it may be determined that the target preset word matching the target input information exists in the preset words, and then step 206 may be performed. When the target preset word matched with the target input information is not found, it may be determined that the target preset word matched with the target input information does not exist in the preset words, and at this time, other operations may be performed, for example, whether the user has an expansion intention is determined based on the target input information, or any operation may not be performed, for example, prediction is performed based on the target input information, and this is not limited in the embodiment of the present invention.
Step 306, if a target preset word matched with the target input information exists in the preset words, determining target multimedia data matched with the target preset word, and displaying a card corresponding to the target multimedia data, wherein attribute information of the target multimedia data and a playing control for the target multimedia data are displayed on the card.
And 308, receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
In the embodiment of the present invention, if a target preset word matching the target input information exists in the preset words, the target multimedia data corresponding to the target preset word may be searched based on a mapping relationship between the preset word and the corresponding multimedia data, which is established in advance. Then, a card corresponding to the target multimedia data, such as the mini card in fig. 3b, can be displayed; wherein, a playing entry such as a playing control for the target multimedia data is shown on the card, and the playing control may refer to the "play" button in fig. 3 b. In addition, the card can also show the attribute information of the target multimedia data; the attribute information may include a plurality of types, for example, for a song, the attribute information may include a singer name, a song name, a release time, a version, a composer name, a word maker name, and the like; for a drama/movie, the attribute information may include a lead actor name, a drama/movie name, a release time, a version, a director name, an edit name, and the like. As shown in fig. 3b, the attribute information of the target multimedia data includes: name- "like you", singer-xu x, source-platform. When a user needs to play the target multimedia data, a trigger operation such as clicking a 'play' button can be executed for the play control; correspondingly, the input method receives the triggering operation of the user aiming at the playing control, and plays the target multimedia data.
In the embodiment of the present invention, the manner of playing the target multimedia data is similar to that of playing the target multimedia data in the above embodiment, and is not described herein again.
In summary, in the embodiments of the present invention, if the operation is an input operation, target input information corresponding to the input is obtained, and whether a target preset word matching the target input information exists in preset words is determined; and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data, and further recommending the multimedia associated information for the user when the user inputs the preset words.
Secondly, in the embodiment of the invention, the card displays the attribute information of the target multimedia data; thereby facilitating the user in determining whether to perform an operation associated with the target multimedia data.
Referring to fig. 4a, a flowchart illustrating steps of an alternative embodiment of an information recommendation method for an input method according to the present invention is shown.
And step 402, if the operation is an input operation, acquiring target input information corresponding to the input.
Step 402 is similar to step 302 described above, and is not described herein again.
And step 404, judging whether a target preset statement matched with the target input information exists in preset statements.
In the embodiment of the invention, the target input information can be compared with the preset sentences, and the preset sentences matched with the target input information are searched from the preset sentences. When the preset sentence contains the target input information or the semantics of the preset sentence is the same as the semantics of the target input information, the preset sentence can be determined to be matched with the target input information; for convenience of the following description, the preset sentence matched with the target input information may be referred to as a target preset sentence.
When the target preset sentence matched with the target input information is found, it may be determined that the target preset sentence matched with the target input information exists in the preset sentences, and at this time, step 406 may be executed. When the target preset statement matched with the target input information is not found, it may be determined that the target preset statement matched with the target input information does not exist in the preset statement, and at this time, other operations may be performed, for example, whether the user has an expanded writing intention is determined based on the target input information, or any operation may not be performed, for example, prediction is performed based on the target input information, and this is not limited in the embodiment of the present invention.
And 406, if a target preset statement matched with the target input information exists in the preset statements, displaying the target preset statement and/or attribute information of target multimedia data corresponding to the target preset statement, and displaying a play control for the target multimedia data.
And step 408, receiving a trigger operation of the user for the playing control, and playing the target multimedia data.
In the embodiment of the invention, if the target preset sentence matched with the target input information exists in the preset sentences, the target preset sentence can be displayed, and the target preset sentence corresponds to the attribute information of the target multimedia data, such as the name of the multimedia data; and a play entry, such as a play control, for the target multimedia data may be presented. Referring to fig. 4b, the target input information in fig. 4b is "spring", the target preset sentence is "spring, spring fall with rain and slight sound fall, and the willow bank has passengers returned. The morning is late in the north of the season, the morning is green waist fat, the attribute information of the corresponding target multimedia data is the song name of "spring", and the button for trying to hear is a playing control. When a user needs to play the target multimedia data, the user can perform triggering operation aiming at the playing control, such as clicking a button to try listening; correspondingly, the input method receives the triggering operation of the user aiming at the playing control, and plays the target multimedia data. When the user needs to replace the target input information with the target preset sentence, the target preset sentence can be displayed on the screen, so that the target preset sentence can be rapidly input.
In the embodiment of the present invention, the manner of playing the target multimedia data is similar to that of playing the target multimedia data in the above embodiment, and is not described herein again.
In summary, in the embodiments of the present invention, if the operation is an input operation, target input information corresponding to the input is obtained, and whether a target preset statement matching the target input information exists in preset statements is determined; and if the preset sentences have the target preset sentences matched with the target input information, determining that the user has the operation intention associated with the multimedia data, and further recommending the multimedia associated information for the user when the user inputs the information matched with the preset sentences.
Secondly, in the embodiment of the invention, when the multimedia associated information is recommended, the attribute information of the target multimedia data corresponding to the target preset statement can be displayed; thereby facilitating the user in determining whether to perform an operation associated with the target multimedia data.
Referring to fig. 5a, a flowchart illustrating steps of an alternative embodiment of an information recommendation method of another input method of the present invention is shown.
Step 502, if the operation is an input operation, acquiring target input information corresponding to the input.
Step 502 is similar to step 302 described above, and is not described herein again.
And step 504, judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns.
In the embodiment of the invention, the sentence pattern of the target input information can be compared with the preset sentence pattern, and the preset sentence pattern matched with the target input information is searched from the preset sentence pattern. When the preset sentence pattern is the same as the sentence pattern of the target input information, the preset sentence pattern can be determined to be matched with the sentence pattern of the target input information; for convenience of the following description, the preset period matching the target input information may be referred to as a target preset period. For example, the target input information is "want to listen to a song of a week", and the corresponding matching target preset sentence pattern may be "want to listen to a song".
When the target preset sentence pattern matching the target input information is found, it may be determined that the target preset sentence pattern matching the target input information exists in the preset sentence pattern, and step 506 may be performed at this time. When the target preset sentence pattern matching the target input information is not found, it may be determined that the target preset sentence pattern matching the target input information does not exist in the preset sentence pattern, and at this time, other operations may be performed, for example, whether the user has the intent to expand based on the target input information is determined, or any operation may not be performed, for example, prediction is performed based on the target input information, which is not limited in this embodiment of the present invention.
Step 506, if a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining target multimedia data corresponding to the target input information, and generating a text chain associated with the target multimedia data.
And step 508, receiving a trigger operation of the user for the text chain, and playing the target multimedia data.
In the embodiment of the invention, if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, the target multimedia data can be determined based on the target input information; for example, the target input information may be subjected to word segmentation processing to obtain a plurality of word segmentation segments, and the keyword may be determined based on the plurality of word segmentation segments. And then matching the keywords with the attribute information of each multimedia data, and determining the multimedia data with the attribute information matched with the keywords as target multimedia data.
Then generating a text chain associated with the target multimedia data, wherein the text chain is a playing inlet of the target multimedia data; generating a text chain related to the target multimedia according to the target input information and a preset format; for example, a text chain related to the target multimedia can be generated according to the keywords and the preset format in the target input information. The preset format may be set as required, which is not limited in this embodiment of the present invention.
The user can play the target multimedia data by triggering the text chain. Referring to FIGS. 5b-5d, "choice song list recommendation today" in FIG. 5b, "week of this trial" in FIG. 5b, "New Song" and "spring of this trial" in FIG. 5c are all text chains.
In summary, in the embodiments of the present invention, if the operation is an input operation, the target input information corresponding to the input is obtained, and whether a target preset sentence pattern matching the sentence pattern of the target input information exists in preset sentence patterns is determined; and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data. And further, when the user inputs information with a preset sentence pattern, the multimedia associated information is recommended for the user.
In addition, the target multimedia data may include one or more than one. When the target multimedia data comprises a plurality of target multimedia data, sequencing the plurality of target multimedia data according to the playing information of the whole network user aiming at each multimedia data; the plurality of target multimedia data may also be sorted according to the input association information and/or play information of the user. The input associated information may include various information, such as location information, time information, weather information, and associated information of an application program; as well as interaction information, and historical input information, etc. The playing information may include the playing frequency and duration of the multimedia data; the embodiments of the present invention are not limited in this regard. And then, when receiving a triggering operation of a user for the text chain or receiving a triggering operation of the user for a playing control corresponding to the target multimedia data, sequentially playing the target multimedia data according to the sequencing result.
Referring to fig. 6a, a flow chart of steps of an alternative embodiment of a method for recommending input methods of the present invention is shown.
Step 602, determining whether the user has an operation intention associated with the multimedia data according to the operation of the user.
And step 604, recommending multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
Step 606, determining marketing activity information associated with the multimedia data, and displaying a trigger entry of a marketing activity corresponding to the marketing activity information.
In one example of the present invention, step 604 and step 606 may be performed simultaneously when it is determined that the user has an operational intent associated with the multimedia data.
In another example of the present invention, step 606 may be performed after the multimedia associated information is recommended, i.e., after step 604.
The input method or the multimedia platform cooperating with the input method may preset a marketing campaign associated with the multimedia data, such as randomly giving a 30-day super member, randomly giving a discount coupon, randomly giving 20 free songs on trial, and the like. And when the user is determined to have the operation intention associated with the multimedia data, the marketing activity information associated with the multimedia data can be determined, and then the trigger entrance of the marketing activity corresponding to the marketing activity information is displayed.
And 608, receiving the triggering operation of the user aiming at the triggering entrance, and entering a marketing activity interface.
Step 606, receiving lottery drawing operation of the user, and displaying corresponding lottery drawing results.
In the embodiment of the invention, when a user wants to participate in or know about the marketing campaign, a trigger operation can be executed aiming at the trigger entrance; the input method can enter a marketing activity interface according to the triggering operation of the user aiming at the triggering entrance; as shown in fig. 6 b. The user may learn about the marketing campaign in the marketing campaign interface, such as clicking on the "EYEBAO" button in FIG. 6 b. And upon determining that participation in the marketing campaign is required, a lottery operation may be performed such as clicking a "twist" button in fig. 6 b; and then after receiving the lottery drawing operation of the user, determining and displaying the corresponding lottery drawing result. Wherein the lottery result may include lottery information such as "super member for 30 days of congruence acquisition", "coupon for congruence acquisition", etc.; and may include non-drawing reminders such as "unfortunately, to shoulder with prizes", etc.
In an example of the present invention, the multimedia associated information may include one or more of the following: the method comprises the steps of playing a control aiming at the target multimedia data, a card corresponding to the target multimedia data, a target preset sentence, a name of the target multimedia data corresponding to the target preset sentence and a text chain related to the target multimedia data. The playing control for the target multimedia data and the text chain associated with the target multimedia data may be referred to as a playing entry for the target multimedia data. In an example of the present invention, the campaign entry of the marketing campaign and the play entry for the target multimedia data may be the same entry; when the user executes the entry to execute the trigger operation, whether the user enters a target multimedia data playing interface to play the target multimedia data or enters a marketing activity interface can be determined according to a preset rule. The preset rule can be set according to requirements, for example, the ratio of the marketing activity interface to the target multimedia data playing interface is 1: 9; that is, when the user performs 10 trigger operations for the entry, 1 time enters the marketing campaign interface, and 9 times enters the target multimedia data playing interface.
Of course, the trigger entry of the marketing campaign and the play entry of the target multimedia data may also be two independent entries, which is not limited in this embodiment of the present invention.
In summary, when it is determined that the user has an operation intention associated with the multimedia data, marketing campaign information associated with the multimedia data may be determined, and a trigger entry of a marketing campaign corresponding to the marketing campaign information may be presented; receiving a trigger operation of a user aiming at the trigger entrance, entering a marketing activity interface, receiving a lottery drawing operation of the user, and displaying a corresponding lottery drawing result; and then the interaction with the user is increased, the utilization rate of the recommended multimedia associated information by the user is improved, and the activity of the user on a platform corresponding to the marketing activity is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, a block diagram of an embodiment of an information recommendation apparatus for an input method according to the present invention is shown, and may specifically include the following modules:
a determining module 702, configured to determine whether the user has an operation intention associated with the multimedia data according to an operation of the user;
and a recommending module 704 for recommending the multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
Referring to fig. 8, a block diagram of an alternative embodiment of an information recommendation apparatus for an input method according to the present invention is shown.
In an optional embodiment of the present invention, the determining module 702 includes:
a first intention judgment sub-module 7022, configured to, if the operation is a copy operation, obtain target copy information corresponding to the copy; judging whether a target preset word matched with the target replication information exists in preset words or not; and if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
In an optional embodiment of the present invention, the determining module 702 includes:
a second intention judgment sub-module 7024, configured to, if the operation is an input operation, obtain target input information that is input correspondingly; judging whether a target preset word matched with the target input information exists in preset words or not; and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
In an optional embodiment of the present invention, the determining module 702 includes:
a third intention judgment sub-module 7026, configured to, if the operation is an input operation, obtain target input information that is input correspondingly; judging whether a target preset sentence matched with the target input information exists in preset sentences or not; and if the target preset sentence matched with the target input information exists in the preset sentences, determining that the user has an operation intention associated with the multimedia data.
In an optional embodiment of the present invention, the determining module 702 includes:
a fourth intention judgment sub-module 7028, configured to, if the operation is an input operation, obtain target input information that is input correspondingly; judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns or not; and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data.
In an alternative embodiment of the present invention, the recommending module 704 includes:
the first display sub-module 7042 is configured to determine target multimedia data that matches the target preset word, and display a play control for the target multimedia data;
the device further comprises:
a first playing module 706, configured to receive a trigger operation of the user for the playing control, and play the target multimedia data.
In an alternative embodiment of the present invention, the recommending module 704 includes:
the second display sub-module 7044 is configured to determine target multimedia data matched with the target preset words, and display a card corresponding to the target multimedia data, where attribute information of the target multimedia data and a play control for the target multimedia data are displayed on the card;
the device further comprises:
the second playing module 708 is configured to receive a trigger operation of the user for the playing control, and play the target multimedia data.
In an alternative embodiment of the present invention, the recommending module 704 includes:
a third displaying sub-module 7046, configured to display the target preset statement and/or attribute information of the target multimedia data corresponding to the target preset statement, and display a play control for the target multimedia data;
the device further comprises:
a third playing module 710, configured to receive a trigger operation of the user for the playing control, and play the target multimedia data.
In an alternative embodiment of the present invention, the recommending module 704 includes:
a fourth display sub-module 7048, configured to determine target multimedia data corresponding to the target input information, and generate a text chain associated with the target multimedia data;
the device further comprises:
a fourth playing module 712, configured to receive a trigger operation of the user for the text chain, and play the target multimedia data.
In an optional embodiment of the present invention, the apparatus further comprises:
the activity marketing module 714 is used for determining marketing activity information related to the multimedia data and displaying a trigger entry of a marketing activity corresponding to the marketing activity information; receiving a trigger operation of a user aiming at the trigger entrance, and entering a marketing activity interface; and receiving lottery drawing operation of the user and displaying a corresponding lottery drawing result.
In summary, in the embodiment of the present invention, whether the user has the operation intention associated with the multimedia data can be determined according to the operation of the user, and when it is determined that the user has the operation intention associated with the multimedia data, the multimedia associated information is recommended, so that the functions of the input method are enriched; the subsequent user can execute the operation associated with the multimedia data based on the multimedia associated information, and the use experience of the user input method is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 9 is a block diagram illustrating an electronic device 900 for information recommendation, according to an example embodiment. For example, the electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and a communication component 916.
The processing component 902 generally controls overall operation of the electronic device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 906 provides power to the various components of the electronic device 900. Power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 900.
The multimedia components 908 include a screen that provides an output interface between the electronic device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status evaluations of various aspects of the electronic device 900. For example, sensor assembly 914 may detect an open/closed state of electronic device 900, the relative positioning of components, such as a display and keypad of electronic device 900, sensor assembly 914 may also detect a change in the position of electronic device 900 or a component of electronic device 900, the presence or absence of user contact with electronic device 900, orientation or acceleration/deceleration of electronic device 900, and a change in the temperature of electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication part 914 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 914 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the electronic device 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a method of information recommendation, the method comprising: judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user; and recommending the multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is a copying operation, acquiring target copying information corresponding to the copying; judging whether a target preset word matched with the target replication information exists in preset words or not; and if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset word matched with the target input information exists in preset words or not; and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence matched with the target input information exists in preset sentences or not; and if the target preset sentence matched with the target input information exists in the preset sentences, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns or not; and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a playing control aiming at the target multimedia data; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a card corresponding to the target multimedia data, wherein attribute information of the target multimedia data and a playing control aiming at the target multimedia data are displayed on the card; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: displaying the target preset sentences and/or attribute information of target multimedia data corresponding to the target preset sentences, and displaying playing controls aiming at the target multimedia data; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data corresponding to the target input information, and generating a text chain associated with the target multimedia data; the method further comprises the following steps: and receiving the triggering operation of the user aiming at the text chain, and playing the target multimedia data.
Optionally, the method further comprises: determining marketing activity information associated with the multimedia data, and displaying a trigger entry of a marketing activity corresponding to the marketing activity information; receiving a trigger operation of a user aiming at the trigger entrance, and entering a marketing activity interface; and receiving lottery drawing operation of the user and displaying a corresponding lottery drawing result.
Fig. 10 is a schematic structural diagram of an electronic device 1000 for information recommendation according to another exemplary embodiment of the present invention. The electronic device 1000 may be a server, which may have large differences due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1022 (e.g., one or more processors) and a memory 1032, one or more storage media 1030 (e.g., one or more mass storage devices) storing applications 1042 or data 1044. Memory 1032 and storage medium 1030 may be, among other things, transient or persistent storage. The program stored on the storage medium 1030 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 1022 may be disposed in communication with the storage medium 1030, and execute a series of instruction operations in the storage medium 1030 on the server.
The server may also include one or more power supplies 1026, one or more wired or wireless network interfaces 1050, one or more input-output interfaces 1058, one or more keyboards 1056, and/or one or more operating systems 1041, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for: judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user; and recommending the multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is a copying operation, acquiring target copying information corresponding to the copying; judging whether a target preset word matched with the target replication information exists in preset words or not; and if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset word matched with the target input information exists in preset words or not; and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence matched with the target input information exists in preset sentences or not; and if the target preset sentence matched with the target input information exists in the preset sentences, determining that the user has an operation intention associated with the multimedia data.
Optionally, the determining, according to the operation of the user, whether the user has an operation intention associated with the multimedia data includes: if the operation is an input operation, acquiring target input information corresponding to the input; judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns or not; and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a playing control aiming at the target multimedia data; further comprising instructions for: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data matched with the target preset words, and displaying a card corresponding to the target multimedia data, wherein attribute information of the target multimedia data and a playing control aiming at the target multimedia data are displayed on the card; further comprising instructions for: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: displaying the target preset sentences and/or attribute information of target multimedia data corresponding to the target preset sentences, and displaying playing controls aiming at the target multimedia data; further comprising instructions for: and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
Optionally, the recommending multimedia associated information includes: determining target multimedia data corresponding to the target input information, and generating a text chain associated with the target multimedia data; further comprising instructions for: and receiving the triggering operation of the user aiming at the text chain, and playing the target multimedia data.
Optionally, further comprising instructions for: determining marketing activity information associated with the multimedia data, and displaying a trigger entry of a marketing activity corresponding to the marketing activity information; receiving a trigger operation of a user aiming at the trigger entrance, and entering a marketing activity interface; and receiving lottery drawing operation of the user and displaying a corresponding lottery drawing result.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. 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 terminal that comprises the element.
The information recommendation method for the input method, the information recommendation device for the input method and the electronic device provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation of the invention, and the description of the examples is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An information recommendation method for an input method, comprising:
judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user;
and recommending the multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
2. The method of claim 1, wherein the determining whether the user has an operation intention associated with the multimedia data according to the user operation comprises:
if the operation is a copying operation, acquiring target copying information corresponding to the copying;
judging whether a target preset word matched with the target replication information exists in preset words or not;
and if the target preset words matched with the target replication information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
3. The method of claim 1, wherein the determining whether the user has an operation intention associated with the multimedia data according to the user operation comprises:
if the operation is an input operation, acquiring target input information corresponding to the input;
judging whether a target preset word matched with the target input information exists in preset words or not;
and if the target preset words matched with the target input information exist in the preset words, determining that the user has an operation intention associated with the multimedia data.
4. The method of claim 1, wherein the determining whether the user has an operation intention associated with the multimedia data according to the user operation comprises:
if the operation is an input operation, acquiring target input information corresponding to the input;
judging whether a target preset sentence matched with the target input information exists in preset sentences or not;
and if the target preset sentence matched with the target input information exists in the preset sentences, determining that the user has an operation intention associated with the multimedia data.
5. The method of claim 1, wherein the determining whether the user has an operation intention associated with the multimedia data according to the user operation comprises:
if the operation is an input operation, acquiring target input information corresponding to the input;
judging whether a target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns or not;
and if the target preset sentence pattern matched with the sentence pattern of the target input information exists in the preset sentence patterns, determining that the user has an operation intention associated with the multimedia data.
6. The method of claim 2, wherein the recommending multimedia associated information comprises:
determining target multimedia data matched with the target preset words, and displaying a playing control aiming at the target multimedia data;
the method further comprises the following steps:
and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
7. The method of claim 3, wherein the recommending multimedia associated information comprises:
determining target multimedia data matched with the target preset words, and displaying a card corresponding to the target multimedia data, wherein attribute information of the target multimedia data and a playing control aiming at the target multimedia data are displayed on the card;
the method further comprises the following steps:
and receiving the triggering operation of the user aiming at the playing control, and playing the target multimedia data.
8. An information recommendation apparatus for an input method, comprising:
the judging module is used for judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user;
and the recommending module is used for recommending the multimedia associated information when determining that the user has the operation intention associated with the multimedia data.
9. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
judging whether the user has an operation intention related to the multimedia data or not according to the operation of the user;
and recommending the multimedia associated information when the user is determined to have the operation intention associated with the multimedia data.
10. A readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information recommendation method of the input method according to any one of method claims 1-7.
CN202010865818.5A 2020-08-25 2020-08-25 Information recommendation method and device of input method and electronic equipment Pending CN112068711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010865818.5A CN112068711A (en) 2020-08-25 2020-08-25 Information recommendation method and device of input method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010865818.5A CN112068711A (en) 2020-08-25 2020-08-25 Information recommendation method and device of input method and electronic equipment

Publications (1)

Publication Number Publication Date
CN112068711A true CN112068711A (en) 2020-12-11

Family

ID=73659796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010865818.5A Pending CN112068711A (en) 2020-08-25 2020-08-25 Information recommendation method and device of input method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112068711A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112684908A (en) * 2020-12-25 2021-04-20 科大讯飞股份有限公司 Input method interface tool item recommendation method and device, storage medium and equipment
CN113741709A (en) * 2021-09-03 2021-12-03 统信软件技术有限公司 Multimedia data processing method and device, computing equipment and storage medium
CN114489459A (en) * 2022-02-16 2022-05-13 北京蔚领时代科技有限公司 Cloud input method and device
CN114925274A (en) * 2022-05-24 2022-08-19 北京字跳网络技术有限公司 Media content playing method, device, equipment, storage medium and product

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112684908A (en) * 2020-12-25 2021-04-20 科大讯飞股份有限公司 Input method interface tool item recommendation method and device, storage medium and equipment
CN113741709A (en) * 2021-09-03 2021-12-03 统信软件技术有限公司 Multimedia data processing method and device, computing equipment and storage medium
CN114489459A (en) * 2022-02-16 2022-05-13 北京蔚领时代科技有限公司 Cloud input method and device
CN114489459B (en) * 2022-02-16 2023-11-03 北京蔚领时代科技有限公司 Cloud input method and device
CN114925274A (en) * 2022-05-24 2022-08-19 北京字跳网络技术有限公司 Media content playing method, device, equipment, storage medium and product

Similar Documents

Publication Publication Date Title
CN106024009B (en) Audio processing method and device
CN112068711A (en) Information recommendation method and device of input method and electronic equipment
CN107527619B (en) Method and device for positioning voice control service
US11580290B2 (en) Text description generating method and device, mobile terminal and storage medium
CN107644646B (en) Voice processing method and device for voice processing
WO2016165325A1 (en) Audio information recognition method and apparatus
CN111128183B (en) Speech recognition method, apparatus and medium
CN107229403B (en) Information content selection method and device
US20210375246A1 (en) Method, device, and storage medium for generating vocal file
CN112291614A (en) Video generation method and device
CN111831806B (en) Semantic integrity determination method, device, electronic equipment and storage medium
CN110110207B (en) Information recommendation method and device and electronic equipment
CN111540361B (en) Voice processing method, device and medium
CN111831132A (en) Information recommendation method and device and electronic equipment
CN111739535A (en) Voice recognition method and device and electronic equipment
CN108205534B (en) Skin resource display method and device and electronic equipment
CN106098066B (en) Voice recognition method and device
CN112837668B (en) Voice processing method and device for processing voice
CN113918661A (en) Knowledge graph generation method and device and electronic equipment
CN113923517A (en) Background music generation method and device and electronic equipment
CN109558017B (en) Input method and device and electronic equipment
CN113420553A (en) Text generation method and device, storage medium and electronic equipment
CN112445451A (en) Music playing method and device and electronic equipment
CN111339263A (en) Information recommendation method and device and electronic equipment
CN110929122A (en) Data processing method and device and data processing device

Legal Events

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