CN113221030A - Recommendation method, device and medium - Google Patents

Recommendation method, device and medium Download PDF

Info

Publication number
CN113221030A
CN113221030A CN202010080062.3A CN202010080062A CN113221030A CN 113221030 A CN113221030 A CN 113221030A CN 202010080062 A CN202010080062 A CN 202010080062A CN 113221030 A CN113221030 A CN 113221030A
Authority
CN
China
Prior art keywords
content
recommendation
user
category
displaying
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
CN202010080062.3A
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 CN202010080062.3A priority Critical patent/CN113221030A/en
Publication of CN113221030A publication Critical patent/CN113221030A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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
    • G06F3/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a recommendation method, a recommendation device and a recommendation medium, wherein the method specifically comprises the following steps: monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content; and displaying second content corresponding to the first content in a recommendation window. The embodiment of the invention can improve the information acquisition efficiency of the user.

Description

Recommendation method, device and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a recommendation method, a recommendation apparatus, an apparatus for recommendation, and a machine-readable medium.
Background
The input method is a coding method adopted for inputting various characters into equipment (such as a computer, a mobile phone, a tablet computer and the like), and can facilitate a user to input information in various scenes, such as chat information input in a communication scene.
At present, an input method at a PC (Personal Computer) end generally provides corresponding candidate items for a user to select according to an input string of the user. For example, for the input string "zan," providing "set up", "like", "set up", "pause" wait options, the user may select the desired candidate (e.g., "like") to be on the screen.
The inventor finds that additional information acquisition requirements, such as optimized expression requirements, translation requirements, rarely-used word understanding requirements and the like, exist in the input process of the user in the implementation process of the embodiment of the invention. Currently, users often rely on the jumping of pages to meet the above requirements. Taking translation requirements as an example, jumping to a translation page is usually required; taking optimization of expression requirements or learning requirements of uncommon words as an example, it is often necessary to jump to a page of a search engine. The jumping of the page usually requires a certain operation cost and is time-inefficient, thus resulting in inefficient information acquisition.
Disclosure of Invention
The embodiment of the invention provides a recommendation method, a recommendation device, a device for recommendation and a machine readable medium, which can improve the information acquisition efficiency of a user.
In order to solve the above problem, an embodiment of the present invention discloses a recommendation method, including:
monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and displaying second content corresponding to the first content in a recommendation window.
On the other hand, the embodiment of the invention discloses a recommendation device, which comprises:
the monitoring module is used for monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and the recommended content display module is used for displaying the second content corresponding to the first content in the recommendation window.
In yet another aspect, an embodiment of the present invention discloses an apparatus for recommending, 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:
monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and displaying second content corresponding to the first content in a recommendation window.
In yet another aspect, embodiments of the invention disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the aforementioned recommendation methods.
The embodiment of the invention has the following advantages:
according to the embodiment of the invention, second content corresponding to first content is displayed in a recommendation window according to the first content triggered by a user in real time; the second content may be a recommendation of the first content. According to the embodiment of the invention, the corresponding second content can be intelligently recommended according to the first content triggered by the user in real time, so that the user can quickly acquire the information corresponding to the first content from the second content, and the information acquisition efficiency of the user can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of the steps of one preferred method embodiment of the present invention;
FIG. 2 is an illustration of a recommendation window in accordance with an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of an embodiment of a method for processing pictures according to the present invention;
FIG. 4 is a block diagram of a recommender embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus 900 for recommending according to the present invention; and
fig. 6 is a schematic diagram of a server in some embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the technical problem of low information acquisition efficiency in the related art, an embodiment of the present invention provides a recommendation scheme, which specifically includes: monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content; and displaying the second content corresponding to the first content in a recommendation window.
According to the embodiment of the invention, second content corresponding to first content is displayed in a recommendation window according to the first content triggered by a user in real time; the second content may be a recommendation of the first content. According to the embodiment of the invention, the corresponding second content can be intelligently recommended according to the first content triggered by the user in real time, so that the user can quickly acquire the information corresponding to the first content from the second content, and the information acquisition efficiency of the user can be improved.
The recommendation method provided by the embodiment of the invention can be applied to application environments corresponding to the client and the server, wherein the client and the server are positioned in a wired or wireless network, and the client and the server perform data interaction through the wired or wireless network.
Optionally, the client may run on a terminal, and the terminal specifically includes but is not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like. The operating system installed in the terminal may include: the operating system is configured to be installed in the terminal, and the operating system is configured to be installed in the terminal.
Alternatively, the terminal may be a PC. In the case of the PC environment, the stroke content may refer to a content selected by sliding on the text content in a case where a mouse is pressed. In practical application, mouse-down events and mouse-up events can be monitored to obtain word-stroke content.
In the embodiment of the invention, the window refers to a basic unit set in a graphical user interface by an application program for using data. The embodiment of the invention can display rich recommendation results in the recommendation window by utilizing the advantage of the large screen of the PC.
Of course, the terminal may be a mobile terminal, and the word-stroke content may be content selected by sliding on the touch screen.
The client can correspond to any application program, such as an input method program, an instant messaging program, a recommendation program and the like.
The embodiment of the present invention may be applied to an input method program of an input mode such as keyboard symbol input, handwriting input, voice input, etc., and for convenience of description, the embodiment of the present invention refers to a code character string input by a user in the input mode as an input string. In the field of input methods, for input method programs in, for example, chinese, japanese, korean, or other languages, an input string input by a user may be generally converted into a candidate for a corresponding language. The input process of the embodiment of the invention is mainly explained by taking Chinese as an example, and other languages can be referred to each other. It is to be understood that the above-mentioned chinese input methods may include, but are not limited to, full pinyin, simple pinyin, strokes, five strokes, etc., and the embodiment of the present invention is not limited to a specific input method program corresponding to a certain language.
According to some embodiments, the input string may include, but is not limited to: a key symbol or a combination of a plurality of key symbols input by a user through a key. The key symbol may specifically include: pinyin, strokes, kana, etc.
Method embodiment one
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a recommendation method of the present invention is shown, which may specifically include:
step 101, monitoring first content triggered by a user; the first content may include: inputting content or word-stroke content;
and 102, displaying second content corresponding to the first content in a recommendation window.
As soon as the embodiment of the method shown in fig. 1 can be executed by the client, it is understood that the embodiment of the present invention does not limit the specific execution subject of the steps included in the method.
In step 101, the input method program may monitor the user's on-screen operation to obtain the user's input content. Other programs may monitor the input box for changes in content to obtain the user's input. It is understood that the embodiment of the present invention does not limit the specific monitoring manner of the input content.
In case of being applied to a PC environment, the stroke contents may refer to contents selected by sliding on the text contents in case of mouse-down. In practical application, mouse-down events and mouse-up events can be monitored to obtain word-stroke content. Specifically, the content between the mouse-down event and the mouse-up event may be taken as the stroke content. It is understood that the embodiment of the present invention does not limit the specific determination manner of the word-dividing content.
The embodiment of the invention does not limit the specific text content corresponding to the word-dividing content. For example, the text content corresponding to the stroke content may be web page content. For another example, in a communication scenario, the text content corresponding to the word-stroke content may be communication content, and the communication content may include: the input content of the local terminal and/or the content sent by the communication opposite terminal.
In step 102, the recommendation window may be independent of the current application. For example, the recommendation window may be provided by an input method program, and the current application program may be an application program hosted by the input method program, such as an instant messaging application program, and the like, and the recommendation window may be independent of a communication window of the instant messaging application program, so that the problem of limited window size of the current application program may be overcome, and the influence on the window of the current application program may be reduced. The current application may refer to an application whose current time is in the foreground.
Of course, the recommendation window may be subordinate to the current application program, that is, the recommendation window is provided by the current application program, and the specific relationship between the recommendation window and the current application program is not limited in the embodiment of the present invention.
Alternatively, in the case where the recommendation window is provided by an input method program, the recommendation window may be different from the input window of the input method program, specifically, the input window is used for input of the input content, and the recommendation window is used for recommendation of the second content.
For example, the input window includes: the input string area is used for displaying input strings input by a user, such as 'zan', and the candidate area is used for displaying candidates corresponding to the input strings, such as 'like'. And the recommendation window may be used to display at least one category of second content.
Those skilled in the art can determine the position and size of the recommendation window according to the actual application requirements. For example, the recommendation window may be located on the right side of the screen. Of course, the position of the recommendation window may be determined according to the browsing habit of the user, for example, if the user a is used to browse the content on the left side, the position of the recommendation window may be on the left side, and the user B is used to browse the content on the right side, the position of the recommendation window may be on the right side.
Alternatively, the size of the recommendation window in the vertical direction may be smaller than the size of the screen in the vertical direction, the size of the recommendation window in the vertical direction may be smaller than half the size of the screen in the horizontal direction, and so on.
Of course, the position of the recommendation window may be upper or lower, etc. For example, some users habitually use office type windows located on the upper or lower side, and the recommendation window may be disposed on the opposite side of the office type window. For example, if the office window is located at the upper side, the recommendation window is located at the lower side; alternatively, the office window is located at the lower side, the recommendation window is located at the upper side, and the like.
Thus, in an alternative embodiment of the present invention, the position of the recommendation window may be determined in dependence upon the position of the currently active window. The position of the recommendation window may be opposite to the position of the currently active window.
In an alternative embodiment of the invention, the size of the recommendation window may be determined in dependence on the size of the currently active window. The sum of the sizes of the current active window and the recommended window in a certain direction may be smaller than the size of the screen in this direction.
It is to be understood that the embodiments of the present invention do not impose limitations on the specific location and specific size of the recommendation window.
It is to be understood that the position of the recommended window may be updated according to a position updating operation, for example, the position updating operation may be a window dragging operation, and the like. It will be appreciated that the size of the recommendation window may be updated in accordance with the resizing operation.
In the embodiment of the present invention, optionally, the display of the recommendation window may be triggered in the following manner: and responding to the triggering operation of the floating control or the shortcut icon, and displaying the recommendation window.
An embodiment of the present invention may provide a floating control, and when a trigger operation for the floating control is received, the floating control may be stopped from being displayed, and a recommendation window is displayed. It can be understood that a closing control or a minimizing control may be displayed on the recommended window, and if a triggering operation for the closing control or the minimizing control is received, the display of the recommended window may be stopped, and the floating control may be displayed again.
Therefore, the states of the recommendation window of the embodiment of the present invention may include: the display state and the non-display state can be switched between the display state and the non-display state through the suspension control.
Another embodiment of the present invention may provide a shortcut icon to trigger the display of the recommendation window through the shortcut icon. It can be understood that a closing control or a minimizing control may be displayed on the recommendation window, and if a trigger operation for closing the control is received, the recommendation window may be closed; if a trigger operation for the minimization control is received, the recommendation window can be switched to the taskbar.
In the embodiment of the invention, the function of the recommendation window can be provided through the role of the recommendation assistant or the input assistant.
The icon of the recommendation assistant may be an icon of an object, and the object may include: humans, virtual humans, animals, virtual animals, plants, virtual plants, and the like. For example, the object may be a virtual animal such as a virtual cat or a virtual dog. The icon of the recommendation assistant is an object such as a virtual animal, so that the attractiveness and participation of the recommendation assistant for the user can be improved.
In this embodiment of the present invention, optionally, the recommendation window may include: an input box and a display area; the input box is used for displaying the word-dividing content; the display area is used for displaying the second content. The word-stroke content displayed by the input box can facilitate the user to verify the accuracy of the word-stroke content.
Optionally, the input box may be a search box, the word-stroke content may be displayed in the search box in the embodiment of the present invention, and if the user triggers the search of the search box, the fast search of the word-stroke content may be implemented. It can be understood that if a trigger operation for the search box is received, a corresponding search result may be presented in the presentation area.
Those skilled in the art can determine the category corresponding to the second content according to the actual application requirement. For example, the category corresponding to the second content may specifically include at least one of the following categories: beautification replacement category, expression category, custom category, translation category, encyclopedia category, and association category.
The beautification of the second content of the replacement category can be obtained by beautifying the first content, the expression of the first content can be optimized, and the expression result is improved. For example, the first content is "like", and the second content may include: "for your pratautazima water, lingering", "this must be praised, not praised etc. For another example, if the first content is "good and difficult", the corresponding second content may include: the baby feels good and hurts the heart, feels no love any more, feels bitter in the heart, feels like the baby, feels slightly too small and hurts the baby, feels uncomfortable in the heart, gets stuck and hurried, feels dry in eyes and feels crying.
The second content of the expression category may be an expression corresponding to the first content.
Optionally, the first content may be matched with a keyword corresponding to the emoticon to obtain the emoticon matched with the content in the input box as the second content. The keywords corresponding to the expression pictures can be obtained in a labeling mode.
In practical application, one or more expression pictures corresponding to the first content can be displayed for a user to select, and if a selection operation of the user for the expression pictures is received, the expression pictures selected by the user can be displayed on a screen, that is, the expression pictures selected by the user are output to the screen.
In the related art, if a user needs to input an expression picture, an expression entry in an input window needs to be triggered to open an expression page, and a required expression picture is selected from the expression page. According to the embodiment of the invention, the corresponding expression picture can be recommended according to the first content triggered by the user, so that the input efficiency of the expression picture can be improved.
For example, when the first content is "like", at least one emoticon corresponding to the keyword "like" may be recommended for the user to select.
The second content of the custom category, referred to as custom content for short, may be user-defined content. The embodiment of the invention can support the user to set the mapping relation between the trigger content and the custom content so as to realize the quick input of the custom content. For example, the trigger content is "gsdizhi" or "company address" or "address", and the custom content is "No. 9 th floor of network building, No. 9 th floor 01 room of network building, No. 9 of Guanyu, Toyowa, Naoku, China, Haizi, Beijing, and the like. The embodiment of the invention can provide the custom content corresponding to the first content under the condition that the first content hits the trigger content in the mapping relation. The embodiment of the invention can display all characters of the user-defined content by utilizing the characteristic that the size of the recommendation window is not limited, for example, all characters of the user-defined content can be displayed under the condition that the character length of the user-defined content exceeds 100, so that the richness of the displayed content is increased, and the user experience is enhanced.
In an alternative embodiment of the invention, the user's cut and paste operations may be monitored; obtaining and displaying prompt information related to the cut and pasted content; the prompt information is used for prompting the addition of the custom content aiming at the cut and pasted content.
According to the embodiment of the invention, after the clipping operation of the user is monitored, the prompt information related to the clipping content can be provided for the user, and the prompt information can prompt the user to add the customized content aiming at the clipping content, so that the convenience of adding the customized content can be improved, and the adding efficiency of the customized content can be improved.
In this embodiment of the present invention, the clipping operation may include: cutting, copying, pasting and the like. The cut and paste contents may refer to contents selected by a user through a cut, copy, paste, etc. cut and paste operation.
In this embodiment of the present invention, the user's cut-and-paste operation may be monitored by monitoring a trigger event of the input device, where the input device may include: a keyboard, a mouse, or a touch screen, etc. Alternatively, the user's clipboard operation may be monitored by monitoring clipboard information. For example, when the information of the clipboard is monitored to be changed, it is considered that the user's clipboard operation is monitored.
Optionally, the method may further include: responding to the feedback operation of the user for the prompt message, and determining the custom content and the trigger content corresponding to the cut and pasted content; displaying the user-defined content and the trigger content corresponding to the cut and pasted content; and responding to the completion operation of the user, and saving the custom content and the trigger content corresponding to the cut and pasted content.
The feedback operation of the user for the prompt information can represent that the user confirms that the addition of the custom content is performed for the cut and pasted content, so that the adding process of the custom content corresponding to the cut and pasted content can be executed.
In the adding process of the customized content corresponding to the cut and pasted content, the customized content and the trigger content corresponding to the cut and pasted content can be automatically determined, wherein the trigger content is used for triggering the display of the customized content, for example, the customized content corresponding to the input content is displayed under the condition that the input content of the user is matched with the trigger content, so that the quick input of the customized content is realized.
In the embodiment of the invention, the cut and pasted content can be directly used as the self-defined content. Or, the clip content may be preprocessed, and the preprocessed clip content may be used as the user-defined content.
Alternatively, the pre-processing may remove incomplete content. The clipping content may not be complete due to human factors in the clipping process, and the preprocessing can improve the completeness of the clipping content. For example, the user may copy a sentence a, but also copy a part a before the sentence a and a part B after the sentence a, where both the part a and the part B are incomplete sentences, so that the embodiment of the present invention may remove the part a and the part B through preprocessing to improve the integrity of the cut and pasted content.
In an optional embodiment of the present invention, the determining the custom content and the trigger content corresponding to the clipped content specifically includes:
according to the sequence from front to back, extracting a character string with a preset length from the custom content corresponding to the cut and pasted content to serve as trigger content; or
And performing natural language processing on the custom content corresponding to the cut and pasted content, and extracting triggering content from the custom content corresponding to the cut and pasted content according to a natural language processing result.
The embodiment of the invention can extract the character string with the preset length from the beginning of the cut and paste content as the trigger content. The preset length can be determined by one skilled in the art according to the actual application requirement, for example, the preset length can be 5, or 4, etc.
The embodiment of the invention can perform natural language processing on the custom content corresponding to the cut-and-pasted content, for example, keywords can be extracted from the custom content corresponding to the cut-and-pasted content to be used as trigger content.
The natural language processing method of the embodiment of the invention can comprise the following steps: a syntax analysis method, a deep learning method, TF-IDF (term frequency, reverse document frequency), and the like, it can be understood that the embodiment of the present application is not limited to a specific natural language processing method.
The displayed custom content and the trigger content can be confirmed by a user, and if the user confirms the displayed custom content and the trigger content, the operation can be triggered to be completed, so that the custom content and the trigger content corresponding to the cut and pasted content can be stored, namely the mapping relation between the custom content and the trigger content can be stored.
In an optional embodiment of the present invention, the method may further include: and displaying the adding interface corresponding to the triggering content.
In the embodiment of the invention, one item of self-defined content can correspond to at least one item of trigger content. Therefore, the embodiment of the present invention may support adding other trigger contents on the basis of the displayed trigger contents, and specifically may add other trigger contents through the adding interface.
Optionally, the adding interface may include: an input box; the above method may further comprise: and responding to the carriage return operation of the user aiming at the input box, and taking the content in the input box as trigger content.
In this embodiment of the present invention, optionally, a deletion operation for the displayed trigger content may be supported, for example, the trigger content may be displayed in an input box, a corresponding deletion control may be provided in the input box, and if a trigger operation for the deletion control is received, the corresponding trigger content in the input box may be deleted.
In the embodiment of the invention, the related content in the processing process of the user-defined content can be displayed in the recommendation window. The embodiment of the invention can display rich contents in the recommendation window by utilizing the advantage of the large screen of the PC.
The second content of the translation category may characterize the content translated from the first content. The first content may be an original text and the second content may be a translated text. Assuming that the first content corresponds to the first language and the second content corresponds to the second language, the second language may be obtained according to the setting of the user, or the second language may be determined according to the historical usage data of the user for the languages. For example, the frequency of use of the language by the user may be determined, and a language that is most frequently used and is different from the first language may be selected as the second language from the languages used by the user.
Alternatively, the second language may be determined according to the input environment characteristic.
In the embodiment of the invention, the input environment characteristics can be used for representing the environment information of the terminal when the user inputs the information. The embodiment of the invention uses the input environment characteristics in the determination process of the second language, and can improve the accuracy of the second language.
In practical applications, the input environment features may include various types of features. Optionally, the input environment feature may include: at least one of a temporal environment feature, a location environment feature, a climate environment feature, an application environment feature, and a page environment feature.
Even if the same terminal is in the environment information which is likely to change, the time environment characteristic is a typical example. Therefore, the input environment characteristics of the embodiment of the invention can have real-time performance, and the input environment characteristics corresponding to the input string can be acquired in real time in the input process.
For an input string, its reception time may be taken as a corresponding temporal environment characteristic.
Location information obtained according to an IP (Internet Protocol) address thereof, a GPS (Global Positioning System) of the terminal, or a mobile communication network may be used as a corresponding location environment characteristic.
The identification feature of the current object which is being served by the input method program is obtained, so that the corresponding application program environment feature can be determined, for example, when the input method program is in operation, the GetModuleFilename is called to find the program path name 'C: \ ProgamFiles \ Microsoft OFFICE \ OFFICE11\ WINWORD.EXE', that is, the corresponding application environment feature is 'WinWord.exe', that is, the input string is input in the word application program.
The page environment features may be used to characterize the page environment provided by the application or website, and optionally, the page environment may include, but is not limited to: an Instant Messaging (IM) page environment, a document page environment, a mail page environment, a password entry page environment, a game page environment, a search page environment, a travel page environment, a shopping page environment, a social page environment, a movie page environment, a reading page environment, and the like.
Of course, the input environment features of the embodiment of the present invention may include other environment features, such as physical environment features of barometric pressure, altitude, temperature, humidity, etc., in addition to the time environment feature, the location environment feature, the application environment feature, and the page environment feature. Wherein, it is understood that the embodiment of the present invention does not impose limitation on the specific input environment features.
For example, the second language may be determined according to the environmental characteristics of the location where the user is located. For example, the translation result of the language of the corresponding country may be provided according to the country where the user is located.
For another example, the second language may be determined according to the environmental characteristics of the page where the user is located. For example, if the page includes english, the second language is english, or if the page includes japanese, the second language is japanese, and so on. Or alternatively. The user is accustomed to using English in the first page environment feature, and the second language is English, etc.
Alternatively, the number of the second languages may be 1, or the number of the second languages may be more than 1, for example, in the case where the first language is chinese, translation text in english or japanese may be provided.
The second content of the encyclopedia category can represent encyclopedia knowledge corresponding to the first content. For example, where the first content is a word, the encyclopedic knowledge may include: pronunciation, definition, etc. of words.
In the related art, when a user encounters some unknown words, such as " ", while browsing a page, the user usually selects, copies, opens a browser, opens a search engine, and performs a paste query. The embodiment of the invention can automatically monitor the word-stroke content ' ' of the user and provide corresponding information such as pronunciation, paraphrase and the like in the recommendation window.
The second content of the association category can be obtained by predicting and associating the first content, and the number of times of active input and the number of times of key pressing by a user can be reduced, so that the input efficiency is improved. For example, the first content is "roaming", and the second content of the association category may include: "snow", "rolling up", "flying", etc., for the user to select. As another example, the first content is a part of poetry and the second content is another part of poetry. It is appreciated that in addition to predicting and associating poetry, embodiments of the present invention may also predict and associate lyrics, and famous sentences.
In an alternative embodiment of the invention, the second content of the association category may be interesting. For example, in the case where the first content is "hoeing sunday at noon", the second content in one case may include: "hoeing the grass at noon, sweating and dropping the grass to soil, whose dish has dinner, all grains are bitter; the second content in another case may include: what is not depending on the music score, is free from doing things and is not like fighting a landowner, and the interesting second content can enhance the interest of chatting.
It is understood that one skilled in the art may adopt one or more of beautification replacement category, expression category, custom category, translation category, encyclopedia category and association category according to the actual application requirement, and may provide one or more corresponding second contents for one category.
In the embodiment of the present invention, optionally, in the case of displaying the second content of multiple categories, the second content of multiple categories may be displayed in a vertical direction or a horizontal direction. For example, in the case of displaying in the vertical direction, the second contents of different categories may be arranged one above the other; as another example, in the case of displaying in the horizontal direction, the second contents of different categories may be arranged left and right.
In an optional embodiment of the present invention, for a type of the second content, a plurality of items of second content corresponding to the type may be displayed in a folded manner, specifically, a part of the second content corresponding to the type and the expansion control may be displayed, and according to a trigger operation for the expansion control, more second content corresponding to the type may be displayed. Optionally, in a case where a triggering operation for the expansion control is received, the size of the recommendation window in the target direction may be increased to show more second content.
The target direction may be a vertical direction or a horizontal direction. For example, in the case where the different kinds of second contents are arranged one above another, the possible target direction may be a vertical direction. As another example, in the case where the second contents of different categories are arranged left and right, for example, the possible target direction may be a horizontal direction.
In the embodiment of the present invention, optionally, the user may be supported to set the number of presentations of the second content of one category. For example, for the beautification replacement category, the customization category, the translation category, the encyclopedia category, and the association category, setting of the number of displays of the second content may be supported; for the expression category, setting the number of display lines of the second content, such as 1 line, 2 lines, and the like, may be supported.
In this embodiment of the present invention, optionally, the user may be supported to set a trigger mode corresponding to the second content of the one category, where the trigger mode may include: the word-stroke content triggering mode and/or the input content triggering mode can be selected by a user according to requirements, and any one or combination of the two triggering modes can be selected by the user.
In the embodiment of the present invention, the method may further include: and responding to the trigger operation aiming at the second content, and uploading the second content or sending the second content to a communication opposite terminal.
And the second content is displayed on the screen, so that the second content can be rapidly input. For example, in an instant messaging scenario, the second content is displayed on a screen, and the second content may be output to an input box of the instant messaging.
In the embodiment of the present invention, optionally, the duplication degree between the second content and the first content may be detected, and if the duplication degree meets a preset condition, the second content may be used to replace the first content, so as to achieve the effects of displaying the second content and deleting the first content, thereby reducing redundancy of information. For example, the first content comprises ' hoeing day at noon ', the second content comprises ' hoeing day at noon ', yarn is not depending on the music score, is idle and does not do things, is not like a landholder ', and the second content has a repeated content ' hoeing day at noon ', so that the first content can be replaced by the second content. Or, in the case that the first content is "like" and the second content is an emoticon corresponding to "like", the second content may be used to replace the first content.
And sending the second content to the communication opposite end, so that the second content can be quickly sent in a communication scene.
The embodiment of the invention can support the user to set the processing mode corresponding to the second content of one category. The processing mode can comprise: a sending mode, a screen-up non-deleting mode, a screen-up and deleting mode, etc. The sending mode can send the second content to the communication opposite terminal, the screen-up non-deleting mode can screen up the second content but not delete the first content, and the screen-up deleting mode can screen up the second content and delete the first content.
In the embodiment of the present invention, optionally, in addition to providing the second content in real time, the embodiment of the present invention may also provide static content corresponding to at least one category for the user to select. For example, a custom category of static content, an emoticon category of static content, and a transcript category of static content may be provided.
A transcript may refer to a person's speech record, typically used for formal discourse, usually to explain a person's spoken sentences and linguistic features over a period of time. The language record can also refer to new entries generated by the language of famous persons, netizen's language and social events which can cause resonance, are deeply owned and have certain transmission power.
Referring to fig. 2, a schematic diagram of a recommendation window according to an embodiment of the present invention is shown, where the recommendation window may include: an input box 201 and a presentation area 202.
Wherein, the right side of the input box 201 is provided with a search trigger control so as to trigger the search of the content in the input box 201.
The presentation area 202 may provide a plurality of labels for the user to select, where the plurality of labels specifically includes: recommending assistant tags, custom content tags, expression tags and language book tags. The recommendation assistant tag is used for providing corresponding first content in real time according to the first content triggered by the user. Custom content tags, emoji tags, and transcript tags may provide static content.
In the case that a certain tag is selected, the detailed content corresponding to the tag can be provided. As shown in fig. 2, if the recommended assistant tab is selected, the display area 202 may display a plurality of categories of the second content, and the categories may be arranged up and down, for example, the categories are, in order from top to bottom: beautification replacement category, expression category, custom category, translation category, encyclopedia category, association category, and the like. For a category, the corresponding one or more second content items may be presented. It is understood that the specific arrangement order of the plurality of categories is not limited by the embodiment of the present invention.
Under the condition that custom content label was chosen, can provide the custom content of user's setting and the setting interface that corresponds, the setting interface can include: modify interfaces, delete interfaces, add interfaces, etc.
And under the condition that the expression label is selected, providing an expression picture corresponding to at least one expression category. The expression categories may include: favorites categories, bucket images categories, text-to-color categories, etc.
Under the condition that the category label is selected, a category corresponding to at least one category of the category can be provided. The category of the corpus may include: favorite categories, celebrity language records, self-created language records, and the like.
It can be understood that, the embodiment of the present invention does not limit the specific category of the static content, and the category of the static content may further include: a hot spot category, or a hotword category, etc.
In an optional embodiment of the present invention, the method may further include: and triggering the picture search corresponding to the picture in response to the operation of dragging the picture into the input box.
In an optional embodiment of the present invention, the method may further include: and triggering search or translation corresponding to the text content in response to the operation of dragging the text content into the input box.
The embodiment of the invention responds to the operation of dragging the text content into the input box, triggers the search corresponding to the text content, and can improve the convenience of the search corresponding to the text content. Optionally, the search result corresponding to the text content may be displayed in the display area.
According to the embodiment of the invention, the translation corresponding to the text content is triggered in response to the operation of dragging the text content into the input box, so that the convenience of the translation corresponding to the text content can be improved. Optionally, the translation result corresponding to the text content may be displayed in the display area.
In an optional embodiment of the present invention, the method may further include: and collecting the pictures in response to the operation of dragging the pictures to the display area.
In summary, according to the recommendation method of the embodiment of the present invention, according to a first content triggered by a user in real time, a second content corresponding to the first content is displayed in a recommendation window; the second content may be a recommendation of the first content. According to the embodiment of the invention, the corresponding second content can be intelligently recommended according to the first content triggered by the user in real time, so that the user can quickly acquire the information corresponding to the first content from the second content, and the information acquisition efficiency of the user can be improved.
Method embodiment two
Referring to fig. 3, a flowchart illustrating steps of an embodiment of an image processing method according to the present invention is shown, which may specifically include:
step 301, displaying a recommendation window; the recommendation window may include: an input box and a display area;
step 302, in response to the operation of dragging the picture into the input box, triggering picture search corresponding to the picture.
The recommendation window of the embodiment of the present invention may be the recommendation window in the first embodiment of the method shown in fig. 1, and the display area of the recommendation window may be used to display the second content to be recommended.
In the embodiment of the invention, in response to an operation of dragging a picture into an input frame, a picture search corresponding to the picture is triggered, so that a picture search function corresponding to the picture is quickly realized, that is, a picture matched with the picture is searched, for example, a picture similar to or related to the picture is searched.
The dragged picture in the embodiment of the invention can be any picture, and the picture can be originated from any page. For example, the user a chats with the user B, and is interested in the picture a sent by the user B, so that the picture a can be dragged from the chat window corresponding to the user a and the user B to the input box of the recommendation window to be dropped, and then the picture search corresponding to the picture a can be triggered by the embodiment of the present invention. For another example, the user a is interested in the picture B in the web page, and may also drag the picture B to the input box of the recommendation window to drop.
In the embodiment of the present invention, optionally, corresponding image search prompt information may be displayed in the input box to prompt the user to drag the image to the input box, for example, the image search prompt information may be "the image can be dragged to this location to be searched", and the like.
In an optional embodiment of the present invention, the method may further include: the image search result corresponding to the image is displayed in the display area, for example, a similar image, a related image, a similar image, or the like corresponding to the image may be displayed in the display area.
In an optional embodiment of the present invention, the method may further include: monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content; and displaying second content corresponding to the first content in the recommendation window.
In an optional embodiment of the present invention, the method may further include: and displaying the word segmentation content in the input box.
In an optional embodiment of the present invention, the method may further include: and collecting the pictures in response to the operation of dragging the pictures to the display area. The embodiment of the invention can collect the picture in response to the operation of dragging the picture to the display area. For example, pictures may be collected into a picture collection of the user, so that the user can access the collected pictures in the picture collection.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the present invention is not limited by the described motion sequences, because some steps may be performed in other sequences or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no moving act is required as an embodiment of the invention.
Device embodiment
Referring to fig. 4, a block diagram of a recommendation device according to an embodiment of the present invention is shown, which may specifically include:
a monitoring module 401, configured to monitor a first content triggered by a user; the first content may include: inputting content or word-stroke content;
a recommended content displaying module 402, configured to display, in a recommendation window, second content corresponding to the first content.
Optionally, the category corresponding to the second content may include at least one of the following categories:
beautification replacement category, expression category, custom category, translation category, encyclopedia category, and association category.
Optionally, the recommendation window may include: an input box and a display area; the input box is used for displaying the word-dividing content; the display area is used for displaying the second content.
Optionally, the apparatus may further include:
and the recommendation window display module is used for responding to the triggering operation aiming at the floating control or the shortcut icon and displaying the recommendation window.
Optionally, the apparatus may further include:
and the recommended content processing module is used for responding to the trigger operation aiming at the second content, and displaying the second content on a screen or sending the second content to a communication opposite terminal.
Optionally, the apparatus may further include:
the first triggering module is used for responding to the operation of dragging the picture into the input box and triggering the picture search corresponding to the picture; and/or
And the second triggering module is used for responding to the operation of dragging the text content into the input box and triggering the search or translation corresponding to the text content.
Optionally, the apparatus may further include:
and the collection module is used for collecting the pictures in response to the operation of dragging the pictures to the display area.
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.
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.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Embodiments of the present invention also provide an apparatus for recommendation, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and configured for execution by the one or more processors comprises instructions for: monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content; and displaying second content corresponding to the first content in a recommendation window.
Fig. 5 is a block diagram illustrating a structure of an apparatus 900 for recommending as a terminal according to an exemplary embodiment. For example, the apparatus 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. 5, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the 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 device 900. Examples of such data include instructions for any application or method operating on 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 supply component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the 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-facing camera and/or the rear-facing camera may receive external multimedia data when the 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, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating 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 assessment of various aspects of the apparatus 900. For example, the sensor assembly 914 may detect an open/closed state of the device 900, the relative positioning of the components, such as a display and keypad of the apparatus 900, the sensor assembly 914 may also detect a change in the position of the apparatus 900 or a component of the apparatus 900, the presence or absence of user contact with the apparatus 900, orientation or acceleration/deceleration of the apparatus 900, and a change in the temperature of the apparatus 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 communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 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 component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 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 apparatus 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 apparatus 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.
Fig. 6 is a schematic diagram of a server in some embodiments of the invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (terminal or server), enable the apparatus to perform a recommendation method, the method comprising: monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content; and displaying second content corresponding to the first content in a recommendation window.
The embodiment of the invention discloses A1 and a recommendation method, which comprises the following steps:
monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and displaying second content corresponding to the first content in a recommendation window.
A2, according to the method of A1, the category corresponding to the second content includes at least one of the following categories:
beautification replacement category, expression category, custom category, translation category, encyclopedia category, and association category.
A3, the method of A1, the recommendation window comprising: an input box and a display area; the input box is used for displaying the word-dividing content; the display area is used for displaying the second content.
A4, the method of A1, the method further comprising:
and responding to the triggering operation of the floating control or the shortcut icon, and displaying the recommendation window.
A5, the method of A1, the method further comprising:
and responding to the trigger operation aiming at the second content, and uploading the second content or sending the second content to a communication opposite terminal.
A6, the method of A3, the method further comprising:
triggering picture search corresponding to the picture in response to the operation of dragging the picture into the input box; and/or
And triggering search or translation corresponding to the text content in response to the operation of dragging the text content into the input box.
A7, the method of A3, the method further comprising:
and in response to the operation of dragging the picture to the display area, collecting the picture.
The embodiment of the invention discloses B8 and a recommendation device, wherein the device comprises:
the monitoring module is used for monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and the recommended content display module is used for displaying the second content corresponding to the first content in the recommendation window.
B9, the category corresponding to the second content comprises at least one of the following categories according to the device of B8:
beautification replacement category, expression category, custom category, translation category, encyclopedia category, and association category.
B10, the apparatus of B8, the recommendation window comprising: an input box and a display area; the input box is used for displaying the word-dividing content; the display area is used for displaying the second content.
B11, the apparatus of B8, the apparatus further comprising:
and the recommendation window display module is used for responding to the triggering operation aiming at the floating control or the shortcut icon and displaying the recommendation window.
B12, the apparatus of B8, the apparatus further comprising:
and the recommended content processing module is used for responding to the trigger operation aiming at the second content, and displaying the second content on a screen or sending the second content to a communication opposite terminal.
B13, the apparatus of B10, the apparatus further comprising:
the first triggering module is used for responding to the operation of dragging the picture into the input box and triggering the picture search corresponding to the picture; and/or
And the second triggering module is used for responding to the operation of dragging the text content into the input box and triggering the search or translation corresponding to the text content.
B14, the apparatus of B10, the apparatus further comprising:
and the collection module is used for collecting the pictures in response to the operation of dragging the pictures to the display area.
The embodiment of the invention discloses C15 and a picture processing method, which comprises the following steps:
displaying a recommendation window; the recommendation window includes: an input box and a display area;
and triggering picture search corresponding to the picture in response to the operation of dragging the picture into the input box.
C16, the method of C15, the method further comprising:
monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and displaying second content corresponding to the first content in the recommendation window.
C17, the method of C15, the method further comprising:
and displaying the word drawing content in the input box.
C18, the method of C15, the method further comprising:
and in response to the operation of dragging the picture to the display area, collecting the picture.
The embodiment of the invention discloses D19, a device for recommending, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs are configured to be executed by one or more processors and comprise instructions for:
monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and displaying second content corresponding to the first content in a recommendation window.
D20, the device according to D19, the category corresponding to the second content includes at least one of the following categories:
beautification replacement category, expression category, custom category, translation category, encyclopedia category, and association category.
D21, the apparatus of D19, the recommendation window comprising: an input box and a display area; the input box is used for displaying the word-dividing content; the display area is used for displaying the second content.
D22, the device of D19, the device also configured to execute the one or more programs by one or more processors including instructions for:
and responding to the triggering operation of the floating control or the shortcut icon, and displaying the recommendation window.
D23, the device of D19, the device also configured to execute the one or more programs by one or more processors including instructions for:
and responding to the trigger operation aiming at the second content, and uploading the second content or sending the second content to a communication opposite terminal.
D24, the device of D21, the device also configured to execute the one or more programs by one or more processors including instructions for:
triggering picture search corresponding to the picture in response to the operation of dragging the picture into the input box; and/or
And triggering search or translation corresponding to the text content in response to the operation of dragging the text content into the input box.
D25, the device of D21, the device also configured to execute the one or more programs by one or more processors including instructions for:
and in response to the operation of dragging the picture to the display area, collecting the picture.
Embodiments of the present invention disclose E26, one or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause an apparatus to perform a recommendation method as described in one or more of a 1-a 7.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
The above detailed description of a recommendation method, a recommendation device, a device for recommendation, and a machine-readable medium provided by the present invention, and the detailed description of the principles and embodiments of the present invention are provided herein by using specific examples, and the descriptions of the above examples are only used to help understand the method and the core ideas of the present 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. A recommendation method, characterized in that the method comprises:
monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and displaying second content corresponding to the first content in a recommendation window.
2. The method of claim 1, wherein the category corresponding to the second content comprises at least one of the following categories:
beautification replacement category, expression category, custom category, translation category, encyclopedia category, and association category.
3. The method of claim 1, wherein the recommendation window comprises: an input box and a display area; the input box is used for displaying the word-dividing content; the display area is used for displaying the second content.
4. The method of claim 1, further comprising:
and responding to the triggering operation of the floating control or the shortcut icon, and displaying the recommendation window.
5. The method of claim 1, further comprising:
and responding to the trigger operation aiming at the second content, and uploading the second content or sending the second content to a communication opposite terminal.
6. The method of claim 3, further comprising:
triggering picture search corresponding to the picture in response to the operation of dragging the picture into the input box; and/or
And triggering search or translation corresponding to the text content in response to the operation of dragging the text content into the input box.
7. A recommendation device, characterized in that the device comprises:
the monitoring module is used for monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and the recommended content display module is used for displaying the second content corresponding to the first content in the recommendation window.
8. An image processing method, comprising:
displaying a recommendation window; the recommendation window includes: an input box and a display area;
and triggering picture search corresponding to the picture in response to the operation of dragging the picture into the input box.
9. An apparatus for recommendation, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein execution of the one or more programs by one or more processors comprises instructions for:
monitoring first content triggered by a user; the first content includes: inputting content or word-stroke content;
and displaying second content corresponding to the first content in a recommendation window.
10. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the recommendation method of one or more of claims 1-6.
CN202010080062.3A 2020-02-04 2020-02-04 Recommendation method, device and medium Pending CN113221030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010080062.3A CN113221030A (en) 2020-02-04 2020-02-04 Recommendation method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010080062.3A CN113221030A (en) 2020-02-04 2020-02-04 Recommendation method, device and medium

Publications (1)

Publication Number Publication Date
CN113221030A true CN113221030A (en) 2021-08-06

Family

ID=77085367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010080062.3A Pending CN113221030A (en) 2020-02-04 2020-02-04 Recommendation method, device and medium

Country Status (1)

Country Link
CN (1) CN113221030A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220468A (en) * 2020-02-04 2021-08-06 北京搜狗科技发展有限公司 Method, device and medium for processing custom content

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281699A (en) * 2014-10-15 2015-01-14 百度在线网络技术(北京)有限公司 Search recommending method and device
CN107104881A (en) * 2015-05-29 2017-08-29 北京搜狗科技发展有限公司 A kind of information processing method and device
CN107153541A (en) * 2017-04-20 2017-09-12 北京小米移动软件有限公司 Browse interaction processing method and device
KR20180021316A (en) * 2016-08-19 2018-03-02 네이버 주식회사 Integrated keyboard for character input and content recommendation
CN108763579A (en) * 2018-06-08 2018-11-06 Oppo(重庆)智能科技有限公司 Search for content recommendation method, device, terminal device and storage medium
CN109246464A (en) * 2018-08-22 2019-01-18 Oppo广东移动通信有限公司 Method for displaying user interface, device, terminal and storage medium
KR20190019465A (en) * 2017-08-17 2019-02-27 한국과학기술원 Recommendation System for Corresponding Message
CN110598098A (en) * 2019-08-30 2019-12-20 北京搜狗科技发展有限公司 Information recommendation method and device and information recommendation device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281699A (en) * 2014-10-15 2015-01-14 百度在线网络技术(北京)有限公司 Search recommending method and device
CN107104881A (en) * 2015-05-29 2017-08-29 北京搜狗科技发展有限公司 A kind of information processing method and device
KR20180021316A (en) * 2016-08-19 2018-03-02 네이버 주식회사 Integrated keyboard for character input and content recommendation
CN107153541A (en) * 2017-04-20 2017-09-12 北京小米移动软件有限公司 Browse interaction processing method and device
KR20190019465A (en) * 2017-08-17 2019-02-27 한국과학기술원 Recommendation System for Corresponding Message
CN108763579A (en) * 2018-06-08 2018-11-06 Oppo(重庆)智能科技有限公司 Search for content recommendation method, device, terminal device and storage medium
CN109246464A (en) * 2018-08-22 2019-01-18 Oppo广东移动通信有限公司 Method for displaying user interface, device, terminal and storage medium
CN110598098A (en) * 2019-08-30 2019-12-20 北京搜狗科技发展有限公司 Information recommendation method and device and information recommendation device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220468A (en) * 2020-02-04 2021-08-06 北京搜狗科技发展有限公司 Method, device and medium for processing custom content

Similar Documents

Publication Publication Date Title
CN108304412B (en) Cross-language search method and device for cross-language search
CN110222256B (en) Information recommendation method and device and information recommendation device
CN110598098A (en) Information recommendation method and device and information recommendation device
CN111565143B (en) Instant messaging method, equipment and computer readable storage medium
CN107346182B (en) Method and device for constructing user word bank
CN110391966B (en) Message processing method and device and message processing device
CN110633017B (en) Input method, device and device for inputting
CN111382339A (en) Search processing method and device and search processing device
CN110929122B (en) Data processing method and device for data processing
CN107784037B (en) Information processing method and device, and device for information processing
CN112667124A (en) Information processing method and device and information processing device
CN112000766B (en) Data processing method, device and medium
CN113221030A (en) Recommendation method, device and medium
CN111708444A (en) Input method, input device and input device
CN110020335B (en) Favorite processing method and device
CN112000877B (en) Data processing method, device and medium
CN113010768B (en) Data processing method and device for data processing
CN111597325B (en) Text query method and device
CN114610163A (en) Recommendation method, apparatus and medium
CN113220468A (en) Method, device and medium for processing custom content
CN114330325A (en) Method and device for processing personalized entries
CN112905079B (en) Data processing method, device and medium
CN112306252A (en) Data processing method and device and data processing device
CN113589950A (en) Input method, input device and input device
CN113534973B (en) Input method, device and device for inputting

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