Information recommendation method, device and electronic device

By identifying pictures in input information and displaying their associated information, the problem of existing input methods being unable to recommend picture-related information is solved and input efficiency is improved.

CN113535015BActive Publication Date: 2024-10-18BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010308079.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-17
Publication Date
2024-10-18
Estimated Expiration
2040-04-17

AI Technical Summary

Technical Problem

When existing input methods process text containing images, they cannot recommend image-related information, causing users to manually find and enter image-related information, resulting in low input efficiency.

Method used

By obtaining the picture in the input information, identifying it, determining the associated information of the picture, including attribute information and authenticity information, and displaying it to the user, who can directly choose to display it on the screen.

Benefits of technology

The input efficiency is improved. Users do not need to manually search and enter image related information, and can directly select the displayed information to display on the screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535015B_ABST
    Figure CN113535015B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides an information recommendation method, device and electronic device, wherein the method includes: obtaining input information, the input information including a picture; identifying the picture and determining the associated information of the picture; displaying the associated information of the picture; obtaining input information containing the picture, then identifying the picture, determining the associated information of the picture and displaying the associated information of the picture; and then the user can directly select the displayed associated information to be displayed on the screen without the user having to search for and manually enter the associated information of the picture, thereby improving input efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of input methods, and in particular to an information recommendation method, device and electronic equipment. Background Art

[0002] With the development of computer technology, electronic devices such as mobile phones and tablet computers are becoming more and more popular, bringing great convenience to people's life, study and work. These electronic devices are usually installed with input method applications (input methods for short), so that users can use the input methods to input information.

[0003] In order to facilitate users to input quickly, the input method is equipped with a recommendation function, that is, to recommend information based on the previous context. For example, in the previous context "Have you eaten in the evening?", the recommended information can include "eaten" and "no". Currently, the input method can only recommend information related to the text in the previous context, and the previous context may contain pictures in addition to text; when the previous context contains pictures, the input method cannot recommend information related to the pictures. When users need to enter information related to the pictures in the previous context, they need to manually search and enter word by word, which is inefficient. Summary of the invention

[0004] An embodiment of the present invention provides an information recommendation method to improve input efficiency.

[0005] Correspondingly, the embodiment of the present invention further provides an information recommendation device and an electronic device to ensure the implementation and application of the above method.

[0006] In order to solve the above problems, an embodiment of the present invention discloses an information recommendation method, which specifically includes: obtaining input information, wherein the input information includes a picture; identifying the picture to determine the associated information of the picture; and displaying the associated information of the picture.

[0007] Optionally, the association information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture.

[0008] Optionally, identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the object in the picture; when it is determined that the user has the intention to identify the object in the picture, identifying the picture to obtain a corresponding picture recognition result; and determining the attribute information of the object in the picture based on the picture recognition result.

[0009] Optionally, identifying the image to obtain a corresponding image recognition result includes: using an image recognition model to convert the image into a corresponding image vector, and calculating the similarity between the image vector and each preset image vector; and determining the image recognition result corresponding to the image using the preset image vector with the highest similarity to the image vector.

[0010] Optionally, determining the attribute information of the object in the image based on the image recognition result includes: obtaining a pre-established mapping relationship, the mapping relationship including a relationship between a preset image vector corresponding to the image and the attribute information corresponding to the object in the image; based on the mapping relationship, searching for the attribute information corresponding to the preset image vector with the highest similarity; and determining the attribute information corresponding to the preset image vector with the highest similarity as the attribute information of the object in the image.

[0011] Optionally, the identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture; when it is determined that the user has the intention to identify the authenticity of the object in the picture, identifying the authenticity of the object in the picture and determining the authenticity information corresponding to the object in the picture.

[0012] Optionally, the authenticity identification of the object in the picture to determine the authenticity information corresponding to the object in the picture includes: using a classification model to identify the authenticity of the object in the picture and outputting probability information of the corresponding authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result.

[0013] Optionally, the authenticity identification result includes a first authenticity identification result and a second authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result includes: using the probability information of the authenticity identification result as the authenticity information; or, when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, using the first authenticity identification result as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, using the second authenticity identification result as the authenticity information.

[0014] Optionally, the input information also includes interaction information and input environment information, and the judging whether the user has the intention to identify the authenticity of the object in the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture based on the input environment information and the interaction information.

[0015] The embodiment of the present invention also discloses a data processing device, which specifically includes: an acquisition module, used to acquire input information, wherein the input information includes a picture; an identification module, used to identify the picture and determine the associated information of the picture; and a display module, used to display the associated information of the picture.

[0016] Optionally, the association information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture.

[0017] Optionally, the recognition module includes: an intention recognition submodule, used to determine whether the user has the intention to recognize the object in the picture; a picture result recognition submodule, used to identify the picture when it is determined that the user has the intention to recognize the object in the picture, and obtain a corresponding picture recognition result; an attribute recognition submodule, used to determine the attribute information of the object in the picture based on the picture recognition result.

[0018] Optionally, the image result recognition submodule is used to use an image recognition module to convert the image into a corresponding image vector, and calculate the similarity between the image vector and a preset image vector; and determine the image recognition result corresponding to the image using the preset image vector with the highest similarity to the image vector.

[0019] Optionally, the attribute identification submodule is used to obtain a pre-established mapping relationship, which includes the relationship between a preset image vector corresponding to an image and attribute information corresponding to an object in the image; and determine the attribute information corresponding to the preset image vector with the highest similarity as the attribute information of the object in the image.

[0020] Optionally, the recognition module includes: an authenticity recognition submodule, used to determine whether the user has the intention to identify the authenticity of the object in the picture; and an authenticity result determination submodule, used to perform authenticity recognition on the object in the picture when it is determined that the user has the intention to identify the authenticity of the object in the picture, and determine the authenticity information corresponding to the object in the picture.

[0021] Optionally, the authenticity result determination submodule is used to use a classification model to perform authenticity identification on the object in the image, output probability information of the corresponding authenticity identification result; and generate the authenticity information based on the probability information of the authenticity identification result.

[0022] Optionally, the authenticity identification result includes a first authenticity identification result and a second authenticity identification result; the authenticity result determination submodule is used to use the probability information of the authenticity identification result as the authenticity information; or, when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, the first authenticity identification result is used as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, the second authenticity identification result is used as the authenticity information.

[0023] Optionally, the input information of the acquisition module also includes interaction information and input environment information; the authenticity identification submodule is used to determine whether the user has the intention to identify the authenticity of the object in the picture based on the input environment information and the interaction information.

[0024] An embodiment of the present invention further discloses a readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the information recommendation method as described in any one of the embodiments of the present invention.

[0025] An embodiment of the present invention also discloses an electronic device, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: obtaining input information, wherein the input information includes a picture; identifying the picture and determining associated information of the picture; and displaying the associated information of the picture.

[0026] Optionally, the association information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture.

[0027] Optionally, identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the object in the picture; when it is determined that the user has the intention to identify the object in the picture, identifying the picture to obtain a corresponding picture recognition result; and determining the attribute information of the object in the picture based on the picture recognition result.

[0028] Optionally, identifying the image to obtain a corresponding image recognition result includes: using an image recognition model to convert the image into a corresponding image vector, and calculating the similarity between the image vector and each preset image vector; and determining the image recognition result corresponding to the image using the preset image vector with the highest similarity to the image vector.

[0029] Optionally, determining the attribute information of the object in the image based on the image recognition result includes: obtaining a pre-established mapping relationship, the mapping relationship including a relationship between a preset image vector corresponding to the image and the attribute information corresponding to the object in the image; based on the mapping relationship, searching for the attribute information corresponding to the preset image vector with the highest similarity; and determining the attribute information corresponding to the preset image vector with the highest similarity as the attribute information of the object in the image.

[0030] Optionally, the identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture; when it is determined that the user has the intention to identify the authenticity of the object in the picture, identifying the authenticity of the object in the picture and determining the authenticity information corresponding to the object in the picture.

[0031] Optionally, the authenticity identification of the object in the picture to determine the authenticity information corresponding to the object in the picture includes: using a classification model to identify the authenticity of the object in the picture and outputting probability information of the corresponding authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result.

[0032] Optionally, the authenticity identification result includes a first authenticity identification result and a second authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result includes: using the probability information of the authenticity identification result as the authenticity information; or, when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, using the first authenticity identification result as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, using the second authenticity identification result as the authenticity information.

[0033] Optionally, the input information also includes interaction information and input environment information, and the judging whether the user has the intention to identify the authenticity of the object in the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture based on the input environment information and the interaction information.

[0034] The embodiments of the present invention include the following advantages:

[0035] In an embodiment of the present invention, input information containing a picture can be obtained, and then the picture can be identified, the associated information of the picture can be determined and displayed; then the user can directly select the displayed associated information to be displayed on the screen, without the user having to search for and manually enter the associated information of the picture, thereby improving input efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a flowchart of steps of an information recommendation method embodiment of the present invention;

[0037] Figure 2 is a flowchart of steps of an optional embodiment of an information recommendation method of the present invention;

[0038] Figure 3 is a flowchart of steps of an optional embodiment of an information recommendation method of the present invention;

[0039] Figure 4 is a structural block diagram of an embodiment of an information recommendation device of the present invention;

[0040] Figure 5 is a structural block diagram of an optional embodiment of an information recommendation device of the present invention;

[0041] Figure 6 A structural block diagram of an electronic device for information recommendation according to an exemplary embodiment;

[0042] Figure 7 It is a structural schematic diagram of an electronic device for information recommendation according to another exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0044] One of the core concepts of the embodiment of the present invention is to identify and recommend the associated information of the pictures contained in the input information, without the need for the user to search and manually input the associated information of the pictures, thereby improving the input efficiency.

[0045] Reference Figure 1 , shows a flowchart of an information recommendation method embodiment of the present invention, which may specifically include the following steps:

[0046] Step 102: Obtain input information, where the input information includes a picture.

[0047] In an embodiment of the present invention, during the process of a user calling an input method for input, the user's input information can be obtained; then, recommendations are made to the user based on the user's input information to improve the user's input efficiency. The input information may refer to information related to the user's input, such as interaction information with the other end, candidate items on the user's screen, input environment information, information input by editing operations, etc. The input information may include pictures, and of course may also include other information such as text information, emoticons, etc., which is not limited in the embodiment of the present invention.

[0048] Step 104: Identify the image and determine associated information of the image.

[0049] Step 106: Display the associated information of the picture.

[0050] In an embodiment of the present invention, the input method can identify the image in the input information and determine the associated information with the image; wherein the associated information can refer to information related to the image, for example, it can include attribute information of the object in the image, such as if the object in the image is a sneaker, the corresponding attribute information can be such as brand, origin, manufacturer, color and launch date, etc. It can also include, for example, the authenticity information of the object in the image, such as if the object in the image is a sneaker, the corresponding authenticity information can be such as true, false, etc. The associated information can include multiple items, and then part or all of the associated information can be displayed; the user can display one or more of the associated information on the screen as needed, thereby improving the efficiency of user input.

[0051] In summary, in an embodiment of the present invention, input information containing a picture can be obtained, and then the picture can be identified, the associated information of the picture can be determined and displayed; and then the user can directly select the displayed associated information to be displayed on the screen without the user having to search for and manually enter the associated information of the picture, thereby improving input efficiency.

[0052] In an embodiment of the present invention, a user may need to identify an object in a picture, or may need to identify the authenticity of the object in the picture; therefore, in the process of identifying the picture, the user's intention can be first judged; then the corresponding associated information is determined based on the user's intention; the associated information may include attribute information of the object in the picture and / or authenticity information of the object in the picture.

[0053] The following describes how to identify an image and determine the attribute information corresponding to the object in the image.

[0054] Reference Figure 2 , showing a step flow chart of an optional embodiment of an information recommendation method according to an embodiment of the present invention.

[0055] Step 202: Obtain input information, where the input information includes a picture.

[0056] In an embodiment of the present invention, after obtaining the input information, the input information can be detected to determine whether the input information contains a picture; when the input information contains a picture, the picture can be identified to determine the associated information of the picture, and reference can be made to steps 204 to 208.

[0057] Of course, when the input information does not include pictures, or includes other information, other types of information can be recommended based on other information contained in the input information, such as text information, such as recommended associative information, recommended emoticons, etc.; the embodiment of the present invention is not limited to this.

[0058] Step 204: Determine whether the user intends to identify the object in the picture.

[0059] In the embodiment of the present invention, during the process of identifying the image, it can be determined whether the user has the intention to identify the object in the image. When it is determined that the user has the intention to identify the object in the image, the object in the image is identified and the attribute information corresponding to the object in the image is determined. Of course, when it is determined that the user does not have the intention to identify the object in the image, other types of information can be recommended based on the input information, such as recommended associative information, recommended expressions, etc.; this is not limited in the embodiment of the present invention.

[0060] In an embodiment of the present invention, when the input environment is different, the method of determining whether the user has the intention to identify the object in the picture is different. For example, when the input environment is a comment interface, it can be determined that the user calls up the input method in order to comment on the input information, and at this time, it can be directly determined that the user has the intention to identify the object in the picture. When the input environment is a chat interface, semantic analysis can be performed based on the text information in the input information to determine whether the user has the intention to identify the object in the picture. For example, if the text information sent by the other end user in the input information includes "Guess what type of shoes are in this picture?", it can be determined that the local end user has the intention to identify the object in the picture.

[0061] Step 206: When it is determined that the user has the intention to identify the object in the picture, the picture is identified to obtain a corresponding picture recognition result.

[0062] This step may include the following sub-steps:

[0063] Sub-step 22: when it is determined that the user has the intention to identify the object in the picture, the picture recognition model is used to convert the picture into a corresponding picture vector, and the similarity between the picture vector and each preset picture vector is calculated.

[0064] Sub-step 24: using the preset picture vector having the highest similarity to the image vector to determine the picture recognition result corresponding to the picture.

[0065] In an embodiment of the present invention, pictures of various objects may be collected in advance, and then a picture recognition model may be used to convert the pictures of various objects into corresponding picture vectors (hereinafter referred to as preset picture vectors); and each preset picture vector is stored. When it is determined that the user has the intention to identify the object in the picture, the picture recognition model may be used to identify the determined picture based on the pre-stored preset picture vector to determine the corresponding picture recognition result. Among them, the picture may be input into the picture recognition model, and the picture recognition model may convert the picture to generate a picture vector corresponding to the picture. Then the picture vector corresponding to the picture is compared with each preset picture vector, and the similarity between the picture vector and each preset picture vector is calculated; then the preset picture vector with the highest similarity to the picture vector is selected, and the preset picture vector with the highest similarity to the image vector is used to determine the picture recognition result corresponding to the picture.

[0066] Step 208: Determine attribute information of the object in the image based on the image recognition result.

[0067] This step may include the following sub-steps:

[0068] Sub-step 42: Acquire a pre-established mapping relationship, where the mapping relationship includes a relationship between a preset picture vector corresponding to a picture and corresponding attribute information of an object in the picture.

[0069] Sub-step 44: searching for attribute information corresponding to the preset picture vector with the highest similarity according to the mapping relationship.

[0070] Sub-step 46: Determine the attribute information corresponding to the preset picture vector with the highest similarity as the attribute information of the object in the picture.

[0071] In the embodiment of the present invention, while collecting pictures of various objects, the attribute information corresponding to each object can also be collected. After the preset picture vector of the picture corresponding to each object is determined by the above-mentioned picture recognition model, for each picture, a mapping relationship between the preset picture vector corresponding to the picture and the attribute information corresponding to the object in the picture can be established; and the established mapping association can be stored.

[0072] Then, based on the mapping relationship, the attribute information corresponding to the preset image vector with the highest similarity to the image vector of the image can be searched; and the attribute information corresponding to the preset image vector with the highest similarity can be determined as the attribute information of the object in the image.

[0073] Step 210: Display attribute information of the object in the image.

[0074] Then, the associated information of the picture can be displayed in the input method keyboard, or in the designated area of ​​the application where the input method is currently located, and the embodiment of the present invention does not limit this. Among them, when the associated information of the picture is displayed in the input method keyboard, the associated information can be displayed in the candidate area of ​​the input method keyboard, or in the cloud association area, and the embodiment of the present invention does not limit this. Among them, the attribute information can include multiple items, one of which can be displayed, or multiple items can be displayed; when multiple items of the attribute information are displayed, they can be displayed in sequence according to the frequency of use of each attribute information.

[0075] As an example of the present invention, user A in the forum posts a picture X of a new mobile phone of a certain brand TTT; when the user wants to comment on this picture, he can call up the input method in the comment edit box to input, and the input method can obtain the input information, that is, the picture X posted by user A. Since the current input environment is a comment interface, the input method can determine that the user has the intention to identify the object in the picture. Then the picture recognition model is used to convert the picture into a corresponding picture vector, and the similarity between the picture vector and each preset picture vector is calculated, and the preset picture vector with the highest similarity to the image vector is used to determine the picture recognition result corresponding to the picture; for example, the preset picture vector with the highest similarity to the image vector is preset picture vector 10. Then obtain the pre-established mapping relationship, and according to the mapping relationship, find the attribute information corresponding to the preset picture vector with the highest similarity; determine the attribute information corresponding to the preset picture vector with the highest similarity as the attribute information of the object in the picture; for example, the attribute information corresponding to the preset picture vector 10 includes: "Brand TTT Model T-12 Designer DD Listing Time 2019 ** Month ** Day". The attribute information includes four items, which can be displayed; the user can select several of the attribute information to be displayed on the screen, such as selecting two attribute information "brand TTT" and "model T-12". Then, the user can continue to input such as "this mobile phone is really popular, and people buy it as soon as it comes out" and send it; that is, the comment information sent by the user is "brand TTT model T-12 this mobile phone is really popular, and people buy it as soon as it comes out".

[0076] In summary, in the embodiments of the present invention, after obtaining input information including a picture, it can be determined whether the user has the intention to identify the object in the picture. When it is determined that the user has the intention to identify the object in the picture, the picture is identified to obtain a corresponding picture recognition result, and then the attribute information of the object in the picture is determined based on the picture recognition result; the attribute information of the object in the picture is then displayed, and the user can directly select the attribute information of the object in the picture to be displayed on the screen, without the user having to search for and manually enter the attribute information of the object in the picture; thereby improving input efficiency.

[0077] Secondly, in the embodiment of the present invention, the picture recognition model can be used to convert the picture into a corresponding picture vector, and the similarity between the picture vector and each preset picture vector is calculated, and the preset picture vector with the highest similarity to the image vector is used to determine the picture recognition result corresponding to the picture; then, the attribute information of the object in the picture is determined based on the picture recognition result, thereby improving the accuracy of determining the attribute information of the object in the picture, thereby improving the accuracy of recommending the corresponding attribute information of the object in the picture to the user. And it can also improve the user experience.

[0078] The following describes how to identify an image and determine the authenticity information corresponding to an object in the image.

[0079] Reference Figure 3 , showing a step flow chart of another optional embodiment of the information recommendation method according to an embodiment of the present invention.

[0080] Step 302: Obtain input information, where the input information includes a picture.

[0081] This step 302 is similar to the above step 202 and will not be described again.

[0082] In the above step 104, the picture is identified and the associated information of the picture is determined, which can be referred to steps 304 to 308.

[0083] Step 304: Determine whether the user intends to identify the authenticity of the object in the picture.

[0084] In the embodiment of the present invention, during the process of identifying the image, it can be determined whether the user has the intention to identify the authenticity of the object in the image. When it is determined that the user has the intention to identify the authenticity of the object in the image, the authenticity of the object in the image is identified, and the authenticity information corresponding to the object in the image is determined. Of course, when it is determined that the user does not have the intention to identify the authenticity of the object in the image, other types of information can be recommended based on the input information, such as recommended associative information, recommended expressions, etc.; this is not limited in the embodiment of the present invention.

[0085] In an optional embodiment of the present invention, the input information may further include input environment information and interaction information; a way to determine whether the user has the intention to identify the authenticity of the object in the picture may be to determine whether the user has the intention to identify the authenticity of the object in the picture based on the input environment information and the interaction information. Among them, the interaction information may be semantically analyzed based on the input environment information to determine the user's intention; and then it is determined whether the user's intention determined by the semantic analysis is the intention to identify the authenticity of the object in the picture. When the user's intention determined by the semantic analysis is the intention to identify the authenticity of the object in the picture, it can be determined that the user has the intention to identify the authenticity of the object in the picture; when the user's intention determined by the semantic analysis is not the intention to identify the authenticity of the object in the picture, it can be determined that the user does not have the intention to identify the authenticity of the object in the picture.

[0086] In the embodiment of the present invention, when it is determined that the user has the intention to identify the authenticity of the object in the picture, the object in the picture may be identified for authenticity to determine the authenticity information corresponding to the object in the picture; refer to steps 306-308:

[0087] Step 306: When it is determined that the user has the intention to identify the authenticity of the object in the picture, a classification model is used to identify the authenticity of the object in the picture, and probability information of the corresponding authenticity identification result is output.

[0088] Step 308: Generate the authenticity information based on the probability information of the authenticity identification result.

[0089] In an embodiment of the present invention, after collecting the images of each object as mentioned above, the authenticity of the object in each image can be determined respectively; then, the classification model can be trained based on the authenticity of the image and the corresponding object, so that the trained classification model can identify the authenticity of the object in the image.

[0090] Then, the image can be input into the trained classification model, and the trained classification module can perform authenticity identification on the object in the image and output the probability information of the corresponding authenticity identification result. The authenticity identification result includes a first authenticity identification result and a second authenticity identification result; one of the first authenticity identification result and the second authenticity identification result can be true, and the other authenticity identification result can be false; and the sum of the probability information of the first authenticity identification result and the probability information of the second authenticity identification result can be 1.

[0091] Then, the authenticity information can be generated based on the probability information of the authenticity identification result; one way is to directly use the probability information of the authenticity identification result as the authenticity information. For example, the first authenticity identification result is true, the second authenticity identification result is false, and the probability information of the authenticity identification result is: true (75%) false (25%); then the authenticity information can be: true (75%) false (25%).

[0092] In one example of the present invention, another method of generating the authenticity information based on the probability information of the authenticity identification result may be: when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, the first authenticity identification result is used as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, the second authenticity identification result is used as the authenticity information. That is, the probability information of the first authenticity identification result and the probability information of the first authenticity identification result are judged, and the authenticity identification result with a large probability and greater than the preset threshold is used as the authenticity information; wherein the preset threshold can be set according to demand, and the embodiment of the present invention does not limit this. For example, the first authenticity identification result is true, the second authenticity identification result is false, and the probability information of the authenticity identification result is: true (75%) false (25%); then the authenticity information can be: true.

[0093] Step 310: Display the authenticity information of the object in the image.

[0094] As another example of the present invention, during a chat between a local user and a peer user, the peer user sent a picture of sneakers and a text message "Look at the shoes in this picture, are they real?" The input method of the terminal corresponding to the local user can obtain input information, and the input information may include: interaction information between the local user and the peer user and input environment information. Then, based on the input environment information and interaction information, it can be determined that the user has the intention to identify the authenticity of the object in the picture; then the object in the picture is authenticated, and the authenticity information corresponding to the object in the picture is determined, such as "True (75%) False (25%)", and the authenticity information is displayed. The local user can directly select the authenticity information to be displayed on the screen and send it to the peer user for reference by the peer user.

[0095] In summary, in the embodiments of the present invention, after obtaining input information including a picture, it can be determined whether the user has the intention to identify the authenticity of the object in the picture. When it is determined that the user has the intention to identify the authenticity of the object in the picture, the authenticity of the object in the picture is identified to determine the authenticity information corresponding to the object in the picture; the authenticity information of the object in the picture is then displayed, and the user can directly select the authenticity information of the object in the picture to be displayed on the screen, without the need for the user to search for and manually enter the authenticity information of the object in the picture; thereby improving input efficiency.

[0096] Secondly, in the embodiment of the present invention, a classification model can be used to identify the authenticity of the object in the picture, output the probability information of the corresponding authenticity identification result, and generate the authenticity information based on the probability information of the authenticity identification result; thereby improving the accuracy of determining the authenticity information of the object in the picture, thereby improving the accuracy of recommending the authenticity information corresponding to the object in the picture to the user. It can also improve the user experience.

[0097] Of course, in an optional embodiment of the present invention, after executing the above step 210, the above step 304 can be executed; that is, after displaying the attribute information of the object in the picture, it is further determined whether the user has the intention to identify the authenticity of the object in the picture. When it is determined that the user has the intention to identify the authenticity of the object in the picture, the authenticity of the object in the picture is identified; and then the authenticity information of the object in the picture is recommended to the user.

[0098] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0099] Reference Figure 4 , shows a structural block diagram of an information recommendation device embodiment of the present invention, which may specifically include the following modules:

[0100] The acquisition module 402 is used to acquire input information, where the input information includes a picture;

[0101] The identification module 404 is used to identify the picture and determine the associated information of the picture;

[0102] The display module 406 is used to display the associated information of the picture.

[0103] Reference Figure 5 , shows a structural block diagram of an optional embodiment of an information recommendation device of the present invention.

[0104] In an optional embodiment of the present invention, the association information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture.

[0105] In an optional embodiment of the present invention, the identification module 404 includes:

[0106] Intention recognition submodule 4042, used to determine whether the user has the intention to recognize the object in the picture;

[0107] The picture result recognition submodule 4044 is used to recognize the picture and obtain the corresponding picture recognition result when it is determined that the user has the intention to recognize the object in the picture;

[0108] The attribute recognition submodule 4046 is used to determine the attribute information of the object in the image according to the image recognition result.

[0109] In an optional embodiment of the present invention, the image result recognition submodule 4044 is used to use an image recognition module to convert the image into a corresponding image vector, and calculate the similarity between the image vector and a preset image vector; and determine the image recognition result corresponding to the image by using the preset image vector with the highest similarity to the image vector.

[0110] In an optional embodiment of the present invention, the attribute identification submodule 4046 is used to obtain a pre-established mapping relationship, wherein the mapping relationship includes a relationship between a preset image vector corresponding to an image and attribute information corresponding to an object in the image; and the attribute information corresponding to the preset image vector with the highest similarity is determined as the attribute information of the object in the image.

[0111] In an optional embodiment of the present invention, the identification module 404 includes:

[0112] The authenticity identification submodule 4048 is used to determine whether the user intends to identify the authenticity of the object in the picture;

[0113] The authenticity result determination submodule 40410 is used to perform authenticity identification on the object in the picture and determine the authenticity information corresponding to the object in the picture when it is determined that the user has the intention to identify the authenticity of the object in the picture.

[0114] In an optional embodiment of the present invention, the authenticity result determination submodule 40410 is used to use a classification model to identify the authenticity of the object in the image, output the corresponding probability information of the authenticity identification result; and generate the authenticity information based on the probability information of the authenticity identification result.

[0115] In an optional embodiment of the present invention, the authenticity identification result includes a first authenticity identification result and a second authenticity identification result; the authenticity result determination submodule 40410 is used to use the probability information of the authenticity identification result as the authenticity information; or, when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, the first authenticity identification result is used as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, the second authenticity identification result is used as the authenticity information.

[0116] In an optional embodiment of the present invention, the input information of the acquisition module also includes interaction information and input environment information; the authenticity identification submodule 4048 is used to determine whether the user has the intention to identify the authenticity of the object in the picture based on the input environment information and interaction information.

[0117] In summary, in an embodiment of the present invention, input information containing a picture can be obtained, and then the picture can be identified, the associated information of the picture can be determined and displayed; and then the user can directly select the displayed associated information to be displayed on the screen without the user having to search for and manually enter the associated information of the picture, thereby improving input efficiency.

[0118] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0119] Figure 6 1 is a block diagram of an electronic device 600 for information recommendation according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0120] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .

[0121] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0122] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.

[0123] The power component 606 provides power to the various components of the electronic device 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.

[0124] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the 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 input signals from the 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 boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0125] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

[0126] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as 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.

[0127] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0128] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can 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 614 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 614 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0129] In an exemplary embodiment, the electronic device 600 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, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0130] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0131] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform an information recommendation method, the method comprising: obtaining input information, the input information comprising a picture; identifying the picture and determining the associated information of the picture; and displaying the associated information of the picture.

[0132] Optionally, the association information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture.

[0133] Optionally, identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the object in the picture; when it is determined that the user has the intention to identify the object in the picture, identifying the picture to obtain a corresponding picture recognition result; and determining the attribute information of the object in the picture based on the picture recognition result.

[0134] Optionally, identifying the image to obtain a corresponding image recognition result includes: using an image recognition model to convert the image into a corresponding image vector, and calculating the similarity between the image vector and each preset image vector; and determining the image recognition result corresponding to the image using the preset image vector with the highest similarity to the image vector.

[0135] Optionally, determining the attribute information of the object in the image based on the image recognition result includes: obtaining a pre-established mapping relationship, the mapping relationship including a relationship between a preset image vector corresponding to the image and the attribute information corresponding to the object in the image; based on the mapping relationship, searching for the attribute information corresponding to the preset image vector with the highest similarity; and determining the attribute information corresponding to the preset image vector with the highest similarity as the attribute information of the object in the image.

[0136] Optionally, the identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture; when it is determined that the user has the intention to identify the authenticity of the object in the picture, identifying the authenticity of the object in the picture and determining the authenticity information corresponding to the object in the picture.

[0137] Optionally, the authenticity identification of the object in the picture to determine the authenticity information corresponding to the object in the picture includes: using a classification model to identify the authenticity of the object in the picture and outputting probability information of the corresponding authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result.

[0138] Optionally, the authenticity identification result includes a first authenticity identification result and a second authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result includes: using the probability information of the authenticity identification result as the authenticity information; or, when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, using the first authenticity identification result as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, using the second authenticity identification result as the authenticity information.

[0139] Optionally, the input information also includes interaction information and input environment information, and the judging whether the user has the intention to identify the authenticity of the object in the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture based on the input environment information and the interaction information.

[0140] Figure 7 : is a structural diagram of an electronic device 700 for information recommendation according to another exemplary embodiment of the present invention. The electronic device 700 may be a server, which may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 722 (for example, one or more processors) and a memory 732, and one or more storage media 730 (for example, one or more mass storage devices) storing application programs 742 or data 744. Among them, the memory 732 and the storage medium 730 may be temporary storage or permanent storage. The program stored in the storage medium 730 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processor 722 may be configured to communicate with the storage medium 730 and execute a series of instruction operations in the storage medium 730 on the server.

[0141] The server may also include one or more power supplies 726, one or more wired or wireless network interfaces 750, one or more input and output interfaces 758, one or more keyboards 756, and / or one or more operating systems 741, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0142] An electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: obtaining input information, wherein the input information includes a picture; identifying the picture and determining associated information of the picture; and displaying the associated information of the picture.

[0143] Optionally, the association information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture.

[0144] Optionally, identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the object in the picture; when it is determined that the user has the intention to identify the object in the picture, identifying the picture to obtain a corresponding picture recognition result; and determining the attribute information of the object in the picture based on the picture recognition result.

[0145] Optionally, identifying the image to obtain a corresponding image recognition result includes: using an image recognition model to convert the image into a corresponding image vector, and calculating the similarity between the image vector and each preset image vector; and determining the image recognition result corresponding to the image using the preset image vector with the highest similarity to the image vector.

[0146] Optionally, determining the attribute information of the object in the image based on the image recognition result includes: obtaining a pre-established mapping relationship, the mapping relationship including a relationship between a preset image vector corresponding to the image and the attribute information corresponding to the object in the image; based on the mapping relationship, searching for the attribute information corresponding to the preset image vector with the highest similarity; and determining the attribute information corresponding to the preset image vector with the highest similarity as the attribute information of the object in the image.

[0147] Optionally, the identifying the picture and determining the associated information of the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture; when it is determined that the user has the intention to identify the authenticity of the object in the picture, identifying the authenticity of the object in the picture and determining the authenticity information corresponding to the object in the picture.

[0148] Optionally, the authenticity identification of the object in the picture to determine the authenticity information corresponding to the object in the picture includes: using a classification model to identify the authenticity of the object in the picture and outputting probability information of the corresponding authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result.

[0149] Optionally, the authenticity identification result includes a first authenticity identification result and a second authenticity identification result; generating the authenticity information based on the probability information of the authenticity identification result includes: using the probability information of the authenticity identification result as the authenticity information; or, when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, using the first authenticity identification result as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, using the second authenticity identification result as the authenticity information.

[0150] Optionally, the input information also includes interaction information and input environment information, and the judging whether the user has the intention to identify the authenticity of the object in the picture includes: judging whether the user has the intention to identify the authenticity of the object in the picture based on the input environment information and the interaction information.

[0151] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0152] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0153] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0155] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0156] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0157] The above is a detailed introduction to an information recommendation method, an information recommendation device and an electronic device provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. An information recommendation method, applied to an input method, wherein the input method is provided with a recommendation function, characterized in that: include: Acquire input information, wherein the input information includes a picture; the input information also includes interaction information with the peer end; Identify the image and determine related information of the image; Displaying the associated information of the picture; the associated information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture; wherein the associated information includes multiple items, and displaying the associated information of the picture includes: displaying part or all of the associated information of the picture, and the user displays one or more of the associated information on the screen; The identifying the picture and determining the associated information of the picture includes: Determining whether the user has the intention to identify the authenticity of the object in the picture; When it is determined that the user has the intention to identify the authenticity of the object in the picture, the authenticity of the object in the picture is identified to determine the authenticity information corresponding to the object in the picture; The input information also includes interaction information and input environment information. The determining whether the user has the intention to identify the authenticity of the object in the picture includes: determining, based on the input environment information and the interaction information, whether the user has an intention to identify the authenticity of the object in the picture; The performing authenticity identification on the object in the picture to determine the authenticity information corresponding to the object in the picture includes: Using a classification model to identify the authenticity of the object in the image, and outputting probability information of the corresponding authenticity identification result; Generating the authenticity information according to the probability information of the authenticity identification result; The authenticity identification result includes a first authenticity identification result and a second authenticity identification result; The generating the authenticity information according to the probability information of the authenticity identification result includes: Using the probability information of the authenticity identification result as the authenticity information; or, When the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, the first authenticity identification result is used as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, the second authenticity identification result is used as the authenticity information; The method further comprises: The input method of the corresponding terminal of the local user obtains the input information, and the input information includes: the interaction information between the local user and the opposite user and the input environment information; according to the input environment information and the interaction information, it is determined that the local user has the intention to identify the authenticity of the object in the picture, and then the authenticity of the object in the picture is identified, the authenticity information corresponding to the object in the picture is determined, and the authenticity information is displayed, and the local user selects the authenticity information to be displayed on the screen and sends it to the opposite user, so that the opposite user can refer to it; When the input environment information is different, the manner of determining whether the user has the intention to recognize the object in the picture is different; When the associated information of the picture is displayed in the input method keyboard, the associated information is displayed in the candidate area or the cloud association area of ​​the input method keyboard.

2. The method according to claim 1, characterized in that The identifying the picture and determining the associated information of the picture includes: Determining whether the user has an intention to identify an object in the image; When it is determined that the user has the intention to identify the object in the picture, identifying the picture to obtain a corresponding picture recognition result; According to the image recognition result, attribute information of the object in the image is determined.

3. The method according to claim 2, characterized in that The step of identifying the image to obtain a corresponding image recognition result includes: Using an image recognition model to convert the image into a corresponding image vector, and calculating the similarity between the image vector and each preset image vector; The preset picture vector having the highest similarity to the image vector is used to determine the picture recognition result corresponding to the picture.

4. The method according to claim 3, characterized in that Determining the attribute information of the object in the image according to the image recognition result includes: Acquire a pre-established mapping relationship, where the mapping relationship includes a relationship between a preset picture vector corresponding to a picture and corresponding attribute information of an object in the picture; According to the mapping relationship, searching for attribute information corresponding to the preset picture vector with the highest similarity; The attribute information corresponding to the preset picture vector with the highest similarity is determined as the attribute information of the object in the picture.

5. An information recommendation device, applied to an input method, wherein the input method is provided with a recommendation function, characterized in that: include: An acquisition module, used to acquire input information, wherein the input information includes pictures; the input information also includes interaction information with the peer end; An identification module, used to identify the image and determine the associated information of the image; a display module, used to display the associated information of the picture; the associated information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture; wherein the associated information includes multiple items, and displaying the associated information of the picture includes: displaying part or all of the associated information of the picture, and the user displays one or more of the associated information on the screen; The recognition module includes: an authenticity recognition submodule, which is used to determine whether the user has the intention to recognize the authenticity of the object in the picture; The authenticity result determination submodule is used to, when it is determined that the user has the intention to identify the authenticity of the object in the picture, identify the authenticity of the object in the picture and determine the authenticity information corresponding to the object in the picture; The input information of the acquisition module also includes interaction information and input environment information; The authenticity identification submodule is used to determine whether the user intends to identify the authenticity of the object in the picture based on the input environment information and the interaction information; The authenticity result determination submodule is used to use a classification model to perform authenticity identification on the object in the image, and output the corresponding probability information of the authenticity identification result; and generate the authenticity information according to the probability information of the authenticity identification result; The authenticity identification result includes a first authenticity identification result and a second authenticity identification result; The authenticity result determination submodule is used to use the probability information of the authenticity identification result as the authenticity information; or when the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, use the first authenticity identification result as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, use the second authenticity identification result as the authenticity information; The method further comprises: The input method of the corresponding terminal of the local user obtains the input information, and the input information includes: the interaction information between the local user and the opposite user and the input environment information; according to the input environment information and the interaction information, it is determined that the local user has the intention to identify the authenticity of the object in the picture, and then the authenticity of the object in the picture is identified, the authenticity information corresponding to the object in the picture is determined, and the authenticity information is displayed, and the local user selects the authenticity information to be displayed on the screen and sends it to the opposite user, so that the opposite user can refer to it; When the input environment information is different, the manner of determining whether the user has the intention to recognize the object in the picture is different; When the associated information of the picture is displayed in the input method keyboard, the associated information is displayed in the candidate area or the cloud association area of ​​the input method keyboard.

6. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information recommendation method as described in any one of method claims 1-4.

7. An electronic device, applied to an input method, wherein the input method is provided with a recommendation function, characterized in that: The system comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: Acquire input information, wherein the input information includes a picture; the input information also includes interaction information with the peer end; Identify the image and determine related information of the image; Displaying the associated information of the picture; the associated information of the picture includes attribute information of the object in the picture and / or authenticity information of the object in the picture; wherein the associated information includes multiple items, and displaying the associated information of the picture includes: displaying part or all of the associated information of the picture, and the user displays one or more of the associated information on the screen; The identifying the picture and determining the associated information of the picture includes: Determining whether the user has the intention to identify the authenticity of the object in the picture; When it is determined that the user has the intention to identify the authenticity of the object in the picture, the authenticity of the object in the picture is identified to determine the authenticity information corresponding to the object in the picture; The input information also includes interaction information and input environment information. The determining whether the user has the intention to identify the authenticity of the object in the picture includes: determining, based on the input environment information and the interaction information, whether the user has an intention to identify the authenticity of the object in the picture; The performing authenticity identification on the object in the picture to determine the authenticity information corresponding to the object in the picture includes: Using a classification model to identify the authenticity of the object in the image, and outputting probability information of the corresponding authenticity identification result; Generating the authenticity information according to the probability information of the authenticity identification result; The authenticity identification result includes a first authenticity identification result and a second authenticity identification result; The generating the authenticity information according to the probability information of the authenticity identification result includes: Using the probability information of the authenticity identification result as the authenticity information; or, When the probability information of the first authenticity identification result is greater than the probability information of the second authenticity identification result and greater than a preset threshold, the first authenticity identification result is used as the authenticity information; when the probability information of the second authenticity identification result is greater than the probability information of the first authenticity identification result and greater than a preset threshold, the second authenticity identification result is used as the authenticity information; The method further comprises: The input method of the corresponding terminal of the local user obtains the input information, and the input information includes: the interaction information between the local user and the opposite user and the input environment information; according to the input environment information and the interaction information, it is determined that the local user has the intention to identify the authenticity of the object in the picture, and then the authenticity of the object in the picture is identified, the authenticity information corresponding to the object in the picture is determined, and the authenticity information is displayed, and the local user selects the authenticity information to be displayed on the screen and sends it to the opposite user, so that the opposite user can refer to it; When the input environment information is different, the manner of determining whether the user has the intention to recognize the object in the picture is different; When the associated information of the picture is displayed in the input method keyboard, the associated information is displayed in the candidate area or the cloud association area of ​​the input method keyboard.

Citation Information

Patent Citations

  • Information presenting method and device

    CN105677023A

  • Information recommendation method and device and device for information recommendation

    CN110598098A