Information recommendation method and electronic device

The information that the user is interested in is identified and labeled through electronic devices, and relevant applications are recommended based on the recognition results, which solves the problem of users having difficulty using the information they are interested in, and achieves convenient information use and efficient user experience.

CN115857737BActive Publication Date: 2024-09-24HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111123937.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-24
Publication Date
2024-09-24
Estimated Expiration
2041-09-24

AI Technical Summary

Technical Problem

It is difficult for users to conveniently use information of interest in their daily lives, such as information that exists in electronic images or paper documents, and cannot be effectively identified and utilized.

Method used

Provide an information recommendation method that uses electronic devices to identify information that users are interested in, and recommends matching services based on the identification results, including screenshots, gallery viewing and other operations, identifies and labels key information, recommends related applications, and improves user experience. .

Benefits of technology

It realizes the convenient identification and utilization of information that users are interested in, improves user experience, simplifies operating procedures, reduces the power consumption of electronic devices, and improves the accuracy of information recommendation and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115857737B
    Figure CN115857737B
Patent Text Reader

Abstract

The present application provides an information recommendation method and an electronic device. The method includes: when the electronic device recognizes a preset type of key information in an image, the electronic device displays a first icon to prompt the user; when the user clicks the first icon, the electronic device displays the annotation of the key information in the image, and recommends an application to the user based on the annotation selected by the user; when the user selects an application, the electronic device displays the interface of the application, and the content of the interface is related to the key information that the user is interested in. As a result, the method realizes service recommendation based on key information in the image and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal devices, and in particular to an information recommendation method and electronic device. Background Art

[0002] In daily life, users can find information of interest everywhere. For example, the information of interest can be found in electronic images, paper documents, etc. However, users cannot easily use this information of interest. Summary of the Invention

[0003] To address the above technical issues, the present application provides an information recommendation method and electronic device. In this method, the electronic device can identify any form of user information of interest and recommend services that match the information of interest to the user, thereby simplifying user operations, allowing users to conveniently access the information of interest, and improving the user experience.

[0004] In a first aspect, embodiments of the present application provide an information recommendation method. The method includes: an electronic device, in response to a first operation received, displays a first interface; wherein the first interface displays a target image and a first icon, the first icon being used to indicate that a preset type of key information has been identified in the target image; the first operation includes: a screenshot operation and an operation to view an image in a gallery; the electronic device, in response to a second operation on the first icon, displays a second interface; wherein the second interface displays the target image and an annotation of the key information; the electronic device, in response to a third operation on one of the annotations, displays a third interface; wherein the third interface displays the identifiers of one or more applications, the applications being recommended based on the information type of the key information corresponding to one of the annotations; the electronic device, in response to a fourth operation on the identifier of one of the applications, displays a fourth interface; wherein the fourth interface displays a display interface of one of the applications, the content of the display interface being related to the key information corresponding to one of the annotations. In this way, after identifying the user's information of interest in the image, the electronic device annotates the user's information of interest in the image and recommends an application to the user based on the annotation selected by the user. When the user selects an application, the electronic device displays the application's interface, and the content of the interface is related to the user's information of interest. This enables service recommendations based on the information of interest to users in the image, improving the user experience.

[0005] Exemplarily, the second operation may be a click operation.

[0006] Exemplarily, the third operation may be a click operation.

[0007] For example, the first icon may be referred to as an entity recognition result viewing icon. When the user clicks the first icon, the electronic device displays the recognition result of the icon, that is, displays the annotation of the key information of the preset type in the icon.

[0008] Exemplarily, the key information of the preset type may be address information, code information, ID card number information, mobile phone number, English text, express delivery number, website, email address, network disk download link, password (such as Taobao password, Douyin password), etc. For example, the address information may be a detailed street address, such as No. XX, XX Street, XX District, XX City, or a scenic spot name (such as the name of a famous cultural or natural attraction), or a famous building name, or an address with corresponding information of interest on a map, etc.

[0009] According to the first aspect, the electronic device displays a first interface in response to a received first operation, including: the electronic device identifies a target image corresponding to the first operation in response to the received first operation; when the identification is completed and there is key information of a preset type in the target image, the first interface is displayed.

[0010] Exemplarily, when the first operation is a screenshot operation, the target image corresponding to the first operation is the screenshot image; when the first operation is an operation of viewing an image in a gallery, the target image corresponding to the first operation is the image viewed in the gallery.

[0011] According to the first aspect, or any implementation of the first aspect above, the electronic device, in response to a received first operation, recognizes a target image corresponding to the first operation, including: the electronic device, in response to the received first operation, recognizes the target image when the target image meets a real-time recognition condition. In this way, before recognizing the target image, the electronic device determines whether the real-time recognition condition is met, and only performs the recognition operation on the target image when the real-time recognition condition is met. This avoids unnecessary image recognition operations and reduces the power consumption of the electronic device.

[0012] According to the first aspect, or any implementation of the first aspect above, when the first operation is a screenshot operation, the target image meets the real-time recognition condition, including: when the application displayed on the interface when the screenshot operation is performed meets the first recognition condition, and the user's screenshot sharing habit meets the second recognition condition, the target image meets the real-time recognition condition; wherein the first recognition condition is used to indicate the existence of an application that requires recognition, and the second recognition condition is used to indicate the user's operating habits that meet real-time recognition. In the application scenario of screenshots, the electronic device determines whether the target image meets the real-time recognition condition, taking into account two factors: one is the application corresponding to the screenshot operation, and the other is the user's operating habits. Only when both aspects meet the recognition conditions, it is determined that the target image meets the real-time recognition condition, thereby ensuring the accuracy of the result of the electronic device judging whether the target image meets the real-time recognition condition.

[0013] Exemplarily, the first recognition condition may be that the application belongs to a preset application set. That is, each application in the preset application set is an application that requires entity recognition. For example, the preset application set may include applications that generally involve entity recognition, such as WPS applications and PowerPoint applications, but may not include applications that do not involve entity recognition, such as music applications and taxi applications.

[0014] Exemplarily, the second recognition condition may be a preset set of user operation habits. That is, each user operation habit within the preset set of user operation habits is a user operation habit that complies with real-time entity recognition. Exemplarily, the preset set of user operation habits may include a user screenshot sharing habit of opening the screenshot before sharing. The preset set of user operation habits does not include direct sharing without opening the screenshot. If the user screenshot sharing habit is direct sharing without opening the screenshot (such as swiping up to share directly after taking the screenshot), then the user screenshot sharing habit does not meet the second recognition condition.

[0015] According to the first aspect, or any implementation of the first aspect above, when the first operation is an operation of viewing an image in a gallery, the target image satisfies the real-time recognition condition, including: when the target image is an image taken by a camera, the target image satisfies the real-time recognition condition when the shooting attribute of the target image satisfies the third recognition condition; when the target image is a screenshot image, the target image satisfies the real-time recognition condition when the application displayed on the interface when the screenshot operation is performed satisfies the first recognition condition; wherein the first recognition condition is used to indicate the existence of an application requiring recognition, and the third recognition condition is used to indicate the camera shooting mode requiring image recognition. In the application scenario of viewing images in a gallery, the electronic device determines whether the target image satisfies the real-time recognition condition, taking into account the source of the image, whether it is from a screenshot or from a photo. Different recognition conditions are used for images from different sources to determine whether the target image satisfies the real-time recognition condition, thereby ensuring the accuracy of the result of the electronic device determining whether the target image satisfies the real-time recognition condition.

[0016] Exemplarily, the first recognition condition may be that the application belongs to a preset application set. That is, each application in the preset application set is an application that requires entity recognition. For example, the preset application set may include applications that generally involve entity recognition, such as WPS applications and PowerPoint applications, but may not include applications that do not involve entity recognition, such as music applications and taxi applications.

[0017] Exemplarily, the third recognition condition may be that the camera shooting classification result belongs to a preset classification set (or the camera shooting mode belongs to a preset mode set). Among them, each camera shooting classification in the preset classification set is a camera shooting classification for which entity recognition needs exist. For example, the preset classification set may include classifications that generally involve entity recognition, such as documents, etc. The preset classification set does not include classifications that do not involve entity recognition, such as landscapes and portraits. Both the camera shooting classification result and the camera shooting mode may include classification tags (or mode tags) for further classification or identification. The same camera shooting mode may include multiple mode tags, some of which indicate that there is a need for entity recognition, and some of which indicate that there is no need for entity recognition.

[0018] According to the first aspect, or any implementation of the first aspect above, the electronic device displays the first camera shooting interface before displaying the first interface in response to the received first operation; in response to the received shooting operation, the target image obtained by shooting is stored in the gallery, and the target image is identified. When the identification is completed and there is a preset type of key information in the target image, the electronic device displays the first interface in response to the received first operation, including: the electronic device displays the first interface in response to the operation of viewing the target image in the gallery. In this way, in the application scenario of shooting, the electronic device will also identify the information of interest to the user on the image obtained by shooting. Therefore, after the user takes a photo of the information of interest, the electronic device can identify the information of interest and recommend services matching the information of interest to the user, thereby simplifying the user operation, allowing the user to conveniently use the information of interest, and improving the user experience.

[0019] According to the first aspect, or any implementation of the first aspect above, the electronic device recognizes a target image, including: the electronic device recognizes the target image when a shooting attribute of the target image satisfies a third recognition condition; wherein the third recognition condition is used to indicate a camera shooting mode that requires image recognition. Thus, before recognizing an image acquired through a user's camera operation, the electronic device first determines whether the image satisfies the recognition condition. Only when the image satisfies the corresponding recognition condition will the electronic device recognize the image, thereby avoiding unnecessary image recognition operations and reducing the power consumption of the electronic device.

[0020] According to the first aspect, or any implementation of the first aspect above, after the electronic device recognizes the target image, it further includes: when the recognition is completed and the target image contains key information of a preset type, the electronic device displays a second camera shooting interface; wherein, the second camera shooting interface also displays a second icon, and the second icon is used to indicate that the target image has been recognized and that the preset type of key information has been recognized in the target image. In this way, in the application scenario of shooting, when the image obtained by the user's previous photo operation is recognized and key information exists in the image, the electronic device will display an icon in the camera shooting interface to prompt the user that the image it has taken has been recognized and that key information exists in the image and is available for the user to view. At this point, the user can view the recognition result of the image. The display of the second icon can avoid the user's sense of loss when viewing the image recognition result too early when the image recognition is not completed, thereby improving the user experience.

[0021] Exemplarily, the second icon may be referred to as an image entity recognition completion mark, which is used to prompt the user that the image captured just before has been recognized and that key information of a preset type has been recognized in the image.

[0022] According to the first aspect, or any implementation of the first aspect above, the electronic device responds to a received charging operation, and if there are unrecognized images in the gallery, the electronic device recognizes the unrecognized images in sequence; the electronic device responds to a received charging stop operation, and if there are unrecognized images in the gallery, the electronic device stops recognizing the unrecognized images. In this way, in the application scenario of electronic device charging, the electronic device recognizes the unrecognized images in the gallery in sequence, avoiding the power consumption generated by recognizing the images from affecting the user's normal use of the electronic device. In particular, in the scenario of electronic device system upgrades, there will be a large number of unrecognized images in the gallery. Compared with recognizing these images when the user is using the electronic device normally, recognizing these images when the electronic device is charging can avoid affecting the user's normal use of the electronic device.

[0023] According to the first aspect, or any implementation of the first aspect above, when an application's logo is displayed in the third interface, the application's logo is displayed in the form of a floating ball; when multiple application logos are displayed in the third interface, the multiple application logos are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the labels. In this way, when the electronic device recommends applications to the user, it displays the application's logo in different forms depending on the number of applications. At the same time, when the electronic device displays the application logo in the form of a list, it also displays the key information content, which can facilitate the user to confirm whether the information on which the recommended application is based is the user's information of interest, thereby ensuring the accuracy of the recommendation service.

[0024] According to the first aspect, or any implementation of the first aspect above, the method can be applied to a foldable screen mobile phone, where the foldable screen is in an unfolded state and includes a first display area and a second display area. The electronic device displays a first interface in response to a received first operation, including: the electronic device displays the first interface in the first display area in response to the received first operation; the electronic device displays a second interface in response to a second operation on a first icon, including: the electronic device displays the second interface in the first display area in response to the second operation on the first icon; the electronic device displays a third interface in response to a third operation on one of the annotations, including: the electronic device displays the third interface in the first display area in response to the third operation on one of the annotations; the electronic device displays a fourth interface in response to a fourth operation on the identification of one of the applications, including: the electronic device displays the fourth interface in the second display area in response to the fourth operation on the identification of one of the applications; or the electronic device displays the fourth interface in a half-screen card window on the first display area in response to the fourth operation on the identification of one of the applications. In this way, in the scenario where the electronic device is a foldable screen mobile phone, the electronic device can display the display interface of the recommended service in different forms, thereby improving the user experience.

[0025] According to the first aspect, or any implementation of the first aspect above, the electronic device displays a first interface in response to a received first operation, including: the electronic device displays the first interface in a first floating window in response to the received first operation; the electronic device displays a second interface in response to a second operation on the first icon, including: the electronic device displays the second interface in the first floating window in response to the second operation on the first icon; the electronic device displays a third interface in response to a third operation on one of the annotations, including: the electronic device displays the third interface in the first floating window in response to the third operation on one of the annotations; the electronic device displays a fourth interface in response to a fourth operation on the identification of one of the applications, including: the electronic device displays the fourth interface in the second floating window in response to the fourth operation on the identification of one of the applications. In this way, the electronic device can display the display interface of the recommended service in different forms, thereby improving the user experience.

[0026] Illustratively, the second floating window may partially overlap with the first floating window, or may not overlap at all.

[0027] For example, when the electronic device is a foldable screen mobile phone, the foldable screen is in an unfolded state, including a first display area and a second display area. When the first floating window is displayed on the first display area, the second floating window can be displayed on the first display area or on the second display area.

[0028] According to the first aspect, or any implementation of the first aspect above, the method can be applied to a foldable screen mobile phone, wherein the foldable screen is in an unfolded state and includes a first display area and a second display area. The first display area displays the display interface of a first application, and the second display area displays the display interface of a second application. The electronic device displays the first interface in response to a received first operation, including: the electronic device displays the first interface in the first display area in response to the received first operation on the first application; the electronic device displays the second interface in response to a second operation on the first icon, including: the electronic device displays the second interface in the first display area in response to the second operation on the first icon. The method further includes: the electronic device displays a third floating window in the first display area in response to a long press and drag operation on one of the annotations, the third floating window moving to the second display area; wherein the drag operation is directed from the first display area to the second display area, and the third floating window displays key information content corresponding to one of the annotations; and in response to the cessation of the long press and drag operations, the key information content is displayed in the corresponding information editing area in the display interface of the second application. In this way, in the application scenario where the electronic device is a foldable screen mobile phone, the user can drag the information of interest identified by the electronic device in one display area to the application displayed in another display area for use, which simplifies user operations and improves user experience.

[0029] According to the first aspect, or any implementation of the first aspect above, when the information type of the key information corresponding to one of the annotations is a code type, the content of the display interface is related to the key information corresponding to one of the annotations, including: displaying a link interface corresponding to the key information in the display interface; when the information type of the key information corresponding to one of the annotations is a character type, the content of the display interface is related to the key information corresponding to one of the annotations, including: displaying the content of the key information corresponding to one of the annotations in the corresponding information editing area in the display interface. In this way, the service interface displayed by the electronic device after recommending a service to the user adopts different display methods depending on the information type of the information of interest. It can directly display and use the information of interest in the recommended service, or it can directly jump to the link interface that matches the information of interest, thus realizing a closed loop from the identification of information of interest to service recommendation, and improving the user experience.

[0030] According to the first aspect, or any implementation of the first aspect above, the application is recommended based on the information type of the key information corresponding to one of the annotations and the default recommendation rule corresponding to the information type; or, the application is recommended based on the information type of the key information corresponding to one of the annotations and user habits; or, the application is recommended based on the information type of the key information corresponding to one of the annotations, user operations, and user portraits. In this way, when the electronic device recommends services to the user, it is not only based on the identified information type of the key information, but also based on the default recommendation rules determined by big data, or based on user habits, or based on perceived user operations and user portraits, thereby improving the accuracy of the applications recommended by the electronic device.

[0031] In a second aspect, embodiments of the present application provide an information recommendation method. This method is applied to a foldable screen mobile phone, wherein the foldable screen is in an unfolded state and includes a first display area and a second display area. The method comprises: the foldable screen mobile phone displays a first interface in the first display area; wherein the first interface includes copyable text; in response to a copy operation received on the first interface, the foldable screen mobile phone displays a second interface in the first display area; wherein the second interface displays the identifiers of one or more applications, where the applications are recommended based on the information type corresponding to the copied text; and in response to a click operation on one of the application identifiers, the foldable screen mobile phone displays a third interface in a half-screen card window in the first display area or in the second display area; wherein the display interface of one of the applications is displayed in the third interface, and the copied text is displayed in the corresponding information editing section of the display interface. In this way, the foldable screen mobile phone recommends applications to the user based on the text copied by the user. When the user selects an application, the foldable screen mobile phone displays the application interface, and the copied text is displayed in the corresponding information editing section of the interface. This enables service recommendations based on the information of interest to the user in the copied text, thereby improving the user experience. Furthermore, the foldable screen mobile phone can display the display interface of the recommended services in different formats, thereby improving the user experience.

[0032] According to the second aspect, when a single application identifier is displayed on the second interface, the identifier is displayed as a floating ball; when multiple application identifiers are displayed on the second interface, the identifiers are displayed as a list; the list also displays the key information corresponding to one of the identifiers. In this way, when a foldable phone recommends applications to a user, the identifiers are displayed in different formats depending on the number of applications. Furthermore, when the foldable phone displays the application identifiers in a list format, it also displays the key information. This allows the user to easily confirm whether the information underlying the recommended application is of interest to the user, thereby ensuring the accuracy of the recommendation service.

[0033] According to the second aspect, or any implementation of the second aspect above, the foldable screen mobile phone displays the second interface in the first display area in response to the copy operation received on the first interface, including: the foldable screen mobile phone recognizes the copied text in response to the copy operation received on the first interface; when the copied text belongs to a preset type of key information, the foldable screen mobile phone recommends one or more pending applications according to the type of information to which the copied text belongs; the foldable screen mobile phone sends the copied text to the SDK (Software Development Kit) of each pending application, and receives confirmation information fed back by the SDK of the pending application; wherein the confirmation information is used to indicate whether the recommendation is correct; the foldable screen mobile phone filters out the applications to be displayed from one or more pending applications based on the confirmation information fed back by the SDK of each pending application, and displays the second interface in the first display area. In this way, the applications recommended by the foldable screen mobile phone are confirmed twice by the SDK of the corresponding application, which further improves the accuracy of the recommended applications.

[0034] According to the second aspect, or any implementation of the second aspect above, the application is recommended based on the information type corresponding to the copied text and the default recommendation rules corresponding to the information type; or, the application is recommended based on the information type corresponding to the copied text and user habits; or, the application is recommended based on the information type corresponding to the copied text, user operations, and user profiles. In this way, when the foldable screen mobile phone recommends services to the user, it is not only based on the information type of the copied text, but also based on the default recommendation rules determined by big data, or based on user habits, or based on perceived user operations and user profiles, thereby improving the accuracy of the applications recommended by the electronic device.

[0035] In a third aspect, embodiments of the present application provide an information recommendation method. The method comprises: a foldable screen mobile phone displays a first interface in a first floating window; wherein the first interface includes copyable text; in response to a copy operation received on the first interface, the foldable screen mobile phone displays a second interface in the first floating window; wherein the second interface displays the identifiers of one or more applications, where the applications are recommended based on the information type corresponding to the copied text; and in response to a click operation on one of the application identifiers, the foldable screen mobile phone displays a third interface in the second floating window; wherein the display interface of one of the applications is displayed in the third interface, and the copied text is displayed in the corresponding information editing area of ​​the display interface. In this way, the foldable screen mobile phone recommends applications to the user based on the text copied by the user. When the user selects an application, the foldable screen mobile phone displays the application interface, and the copied text is displayed in the corresponding information editing area of ​​the interface. This enables service recommendations based on the information of interest to the user in the copied text, thereby improving the user experience. Furthermore, the foldable screen mobile phone can display the display interface of the recommended service in the form of a floating window, thereby improving the user experience.

[0036] Illustratively, the second floating window may partially overlap with the first floating window, or may not overlap at all.

[0037] Exemplarily, the method is applied to a foldable screen mobile phone, where the foldable screen is in an unfolded state and includes a first display area and a second display area. When the first floating window is displayed on the first display area, the second floating window can be displayed on either the first display area or the second display area.

[0038] According to the third aspect, when a single application identifier is displayed on the second interface, the identifier is displayed as a floating ball; when multiple application identifiers are displayed on the second interface, the identifiers are displayed as a list; the list also displays the key information corresponding to one of the identifiers. In this way, when a foldable phone recommends applications to a user, the identifiers are displayed in different formats depending on the number of applications. Furthermore, when the foldable phone displays the identifiers as a list, it also displays the key information, making it easier for the user to confirm whether the information underlying the recommended application is of interest to the user, thereby ensuring the accuracy of the recommendation service.

[0039] According to the third aspect, or any one of the implementations of the third aspect above, the method is applied to a foldable screen mobile phone, and the foldable screen is in an unfolded state, including a first display area and a second display area. The foldable screen mobile phone displays the second interface in the first floating window in response to the copy operation received on the first interface, including: the foldable screen mobile phone recognizes the copied text in response to the copy operation received on the first interface; when the copied text belongs to a preset type of key information, the foldable screen mobile phone recommends one or more pending applications according to the type of information to which the copied text belongs; the foldable screen mobile phone sends the copied text to the SDK (Software Development Kit) of each pending application, and receives confirmation information fed back by the SDK of the pending application; wherein the confirmation information is used to indicate whether the recommendation is correct; the foldable screen mobile phone filters out the applications to be displayed from one or more pending applications based on the confirmation information fed back by the SDK of each pending application, and displays the second interface in the first floating window. In this way, the applications recommended by the foldable screen mobile phone are confirmed twice by the SDK of the corresponding application, which further improves the accuracy of the recommended applications.

[0040] According to the third aspect, or any implementation of the third aspect above, the application is recommended based on the information type corresponding to the copied text and the default recommendation rules corresponding to the information type; or, the application is recommended based on the information type corresponding to the copied text and user habits; or, the application is recommended based on the information type corresponding to the copied text, user operations, and user profile. In this way, when the foldable screen mobile phone recommends services to the user, it is not only based on the information type of the copied text, but also based on the default recommendation rules determined by big data, or based on user habits, or based on perceived user operations and user profiles, thereby improving the accuracy of the application recommendations of the electronic device.

[0041] In a fourth aspect, an embodiment of the present application provides an electronic device. The electronic device includes: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device performs the following steps:

[0042] The electronic device displays a first interface in response to a first operation received; wherein, a target image and a first icon are displayed in the first interface, and the first icon is used to indicate that key information of a preset type is recognized in the target image; the first operation includes: a screenshot operation, an operation of viewing an image in a gallery; the electronic device displays a second interface in response to a second operation on the first icon; wherein, the target image and an annotation of the key information are displayed in the second interface; the electronic device displays a third interface in response to a third operation on one of the annotations; wherein, the identification of one or more applications is displayed in the third interface, and the application is recommended based on the information type of the key information corresponding to one of the annotations; the electronic device displays a fourth interface in response to a fourth operation on the identification of one of the applications; wherein, the display interface of one of the applications is displayed in the fourth interface, and the content of the display interface is related to the key information corresponding to one of the annotations.

[0043] According to the fourth aspect, when the computer program is executed by one or more processors, the electronic device performs the following steps: the electronic device identifies the target image corresponding to the first operation in response to the received first operation; when the electronic device is identified and there is key information of a preset type in the target image, the electronic device displays the first interface.

[0044] According to the fourth aspect, or any implementation of the fourth aspect above, when the computer program is executed by one or more processors, the electronic device performs the following steps: the electronic device responds to the received first operation and identifies the target image when the target image meets the real-time recognition condition.

[0045] According to the fourth aspect, or any implementation method of the above fourth aspect, when the first operation is a screenshot operation, the application displayed on the interface when the screenshot operation is performed meets the first recognition condition, and the user's screenshot sharing habit meets the second recognition condition, the target image meets the real-time recognition condition; wherein, the first recognition condition is used to indicate that there is an application with recognition requirements, and the second recognition condition is used to indicate the user's operation habit that meets the real-time recognition requirements.

[0046] According to the fourth aspect, or any implementation method of the above fourth aspect, when the first operation is an operation of viewing an image in a gallery, when the target image is an image taken by a camera, when the shooting attributes of the target image meet the third recognition condition, the target image meets the real-time recognition condition; when the first operation is an operation of viewing an image in a gallery, when the target image is a screenshot image, when the application displayed on the interface when the screenshot operation is performed meets the first recognition condition, the target image meets the real-time recognition condition; wherein, the first recognition condition is used to indicate the existence of an application with recognition requirements, and the third recognition condition is used to indicate a camera shooting mode with image recognition requirements.

[0047] According to the fourth aspect, or any implementation of the fourth aspect above, when the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device displays a first camera shooting interface; the electronic device stores the target image obtained by the photo shooting in a gallery in response to the received photo operation, and identifies the target image; the electronic device displays the first interface in response to the operation of viewing the target image in the gallery.

[0048] According to the fourth aspect, or any implementation of the fourth aspect above, when the computer program is executed by one or more processors, the electronic device performs the following steps: the electronic device identifies the target image when the shooting attributes of the target image meet the third recognition condition; wherein the third recognition condition is used to indicate a camera shooting mode that requires image recognition.

[0049] According to the fourth aspect, or any implementation of the fourth aspect above, when the computer program is executed by one or more processors, the electronic device further performs the following steps: when the electronic device completes the recognition and there is a preset type of key information in the target image, the second camera shooting interface is displayed; wherein, the second camera shooting interface also displays a second icon, and the second icon is used to indicate that the recognition of the target image has been completed and the preset type of key information is recognized in the target image.

[0050] According to the fourth aspect, or any implementation of the fourth aspect above, when the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device responds to the received charging operation, and if there are unrecognized images in the gallery, the unrecognized images are identified in sequence; the electronic device responds to the received charging stop operation, and if there are unrecognized images in the gallery, the operation of identifying the unrecognized images is stopped.

[0051] According to the fourth aspect, or any implementation method of the above fourth aspect, when the logo of an application is displayed in the third interface, the logo of the application is displayed in the form of a floating ball; when the logos of multiple applications are displayed in the third interface, the logos of multiple applications are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the labels.

[0052] According to the fourth aspect, or any implementation method of the above fourth aspect, the electronic device is a foldable screen mobile phone, the foldable screen is in an unfolded state, including a first display area and a second display area; when the computer program is executed by one or more processors, the electronic device performs the following steps: the electronic device displays a first interface in the first display area in response to a first operation received; the electronic device displays a second interface in the first display area in response to a second operation on the first icon; the electronic device displays a third interface in the first display area in response to a third operation on one of the labels; the electronic device displays a fourth interface in the second display area in response to a fourth operation on the identification of one of the applications; or, the electronic device displays a fourth interface in a half-screen card window on the first display area in response to a fourth operation on the identification of one of the applications.

[0053] According to the fourth aspect, or any implementation of the fourth aspect above, when the computer program is executed by one or more processors, the electronic device performs the following steps: the electronic device displays a first interface in a first floating window in response to a first operation received; the electronic device displays a second interface in the first floating window in response to a second operation on the first icon; the electronic device displays a third interface in the first floating window in response to a third operation on one of the annotations; the electronic device displays a fourth interface in the second floating window in response to a fourth operation on the identification of one of the applications.

[0054] According to a fourth aspect, or any implementation of the fourth aspect above, the electronic device is a foldable screen mobile phone, the foldable screen is in an unfolded state, and includes a first display area and a second display area; the display interface of a first application is displayed in the first display area, and the display interface of a second application is displayed in the second display area. When the computer program is executed by one or more processors, the electronic device performs the following steps: the electronic device displays the first interface in the first display area in response to a first operation received on the first application; the electronic device displays the second interface in the first display area in response to a second operation on the first icon. When the computer program is executed by one or more processors, the electronic device further performs the following steps: the electronic device displays a third floating window on the first display area in response to a long press and drag operation on one of the annotations, and the third floating window moves to the second display area; wherein the drag operation is directed from the first display area to the second display area, and the third floating window displays key information content corresponding to one of the annotations; the electronic device displays the key information content in the corresponding information editing area of ​​the display interface of the second application in response to the long press and drag operation stopping.

[0055] According to the fourth aspect, or any implementation method of the above fourth aspect, when the information type of the key information corresponding to one of the annotations is a code type, the link interface corresponding to the key information is displayed in the display interface; when the information type of the key information corresponding to one of the annotations is a character type, the content of the key information corresponding to one of the annotations is displayed in the corresponding information editing area in the display interface.

[0056] According to the fourth aspect, or any implementation of the fourth aspect above, the application is recommended based on the information type of the key information corresponding to one of the annotations, and the default recommendation rule corresponding to the information type; or, the application is recommended based on the information type of the key information corresponding to one of the annotations, and user habits; or, the application is recommended based on the information type of the key information corresponding to one of the annotations, user operations and user portraits.

[0057] The fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.

[0058] In a fifth aspect, an embodiment of the present application provides a foldable screen mobile phone. The foldable screen of the foldable screen is in an unfolded state, including a first display area and a second display area; the foldable screen mobile phone includes: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the foldable screen mobile phone performs the following steps: the foldable screen mobile phone displays a first interface in the first display area; the first interface includes copyable text; the foldable screen mobile phone responds to a copy operation received on the first interface, displays a second interface in the first display area; wherein one or more application logos are displayed in the second interface, and the application is recommended based on the information type corresponding to the copied text; the foldable screen mobile phone responds to a click operation on one of the application logos, displays a third interface in a half-screen card window in the first display area, or displays the third interface in the second display area; wherein the display interface of one of the applications is displayed in the third interface, and the copied text is displayed in the corresponding information editing area in the display interface.

[0059] According to the fifth aspect, when the logo of an application is displayed in the second interface, the logo of the application is displayed in the form of a floating ball; when the logos of multiple applications are displayed in the second interface, the logos of multiple applications are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the labels.

[0060] According to the fifth aspect, or any implementation method of the above fifth aspect, when the computer program is executed by one or more processors, the foldable screen mobile phone performs the following steps: the foldable screen mobile phone recognizes the copied text in response to the copy operation received on the first interface; when the copied text belongs to a preset type of key information, the foldable screen mobile phone recommends one or more pending applications according to the information type to which the copied text belongs; the foldable screen mobile phone sends the copied text to the software tool development kit SDK of each pending application respectively, and receives confirmation information feedback from the SDK of the pending application; wherein the confirmation information is used to indicate whether the recommendation is correct; the foldable screen mobile phone filters out the applications to be displayed from one or more pending applications according to the confirmation information feedback from the SDK of each pending application, and displays the second interface in the first display area.

[0061] According to the fifth aspect, or any implementation of the fifth aspect above, the application is recommended based on the information type corresponding to the copied text and the default recommendation rules corresponding to the information type; or, the application is recommended based on the information type corresponding to the copied text and user habits; or, the application is recommended based on the information type corresponding to the copied text, user operations and user portraits.

[0062] The fifth aspect and any implementation of the fifth aspect correspond to the second aspect and any implementation of the second aspect, respectively. The technical effects corresponding to the fifth aspect and any implementation of the fifth aspect can be referred to the technical effects corresponding to the above-mentioned second aspect and any implementation of the second aspect, and will not be repeated here.

[0063] In a sixth aspect, an embodiment of the present application provides a foldable screen mobile phone. The foldable screen mobile phone includes: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the foldable screen mobile phone performs the following steps: the foldable screen mobile phone displays a first interface in a first floating window; wherein the first interface includes copyable text; the foldable screen mobile phone, in response to a copy operation received on the first interface, displays a second interface in the first floating window; wherein one or more application identifiers are displayed in the second interface, and the application is recommended based on the information type corresponding to the copied text; the foldable screen mobile phone, in response to a click operation on one of the application identifiers, displays a third interface in the second floating window; wherein the display interface of one of the applications is displayed in the third interface, and the copied text is displayed in the corresponding information editing area in the display interface.

[0064] According to the sixth aspect, when the logo of an application is displayed in the second interface, the logo of the application is displayed in the form of a floating ball; when the logos of multiple applications are displayed in the second interface, the logos of multiple applications are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the labels.

[0065] According to the sixth aspect, or any implementation of the sixth aspect above, the folding screen of the folding screen mobile phone is in an unfolded state, including a first display area and a second display area. When the computer program is executed by one or more processors, the folding screen mobile phone performs the following steps: the folding screen mobile phone recognizes the copied text in response to the copy operation received on the first interface; when the copied text belongs to a preset type of key information, the folding screen mobile phone recommends one or more pending applications according to the type of information to which the copied text belongs; the folding screen mobile phone sends the copied text to the SDK of each pending application respectively, and receives confirmation information fed back by the SDK of the pending application; wherein the confirmation information is used to indicate whether the recommendation is correct; the folding screen mobile phone filters out the application to be displayed from the one or more pending applications according to the confirmation information fed back by the SDK of each pending application, and displays the second interface in the first floating window.

[0066] According to the sixth aspect, or any implementation of the sixth aspect above, the application is recommended based on the information type corresponding to the copied text and the default recommendation rules corresponding to the information type; or, the application is recommended based on the information type corresponding to the copied text and user habits; or, the application is recommended based on the information type corresponding to the copied text, user operations and user portraits.

[0067] The sixth aspect and any implementation of the sixth aspect correspond to the third aspect and any implementation of the third aspect, respectively. The technical effects corresponding to the sixth aspect and any implementation of the sixth aspect can be referred to the technical effects corresponding to the third aspect and any implementation of the third aspect, and will not be repeated here.

[0068] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium includes a computer program, which, when executed on an electronic device, causes the electronic device to execute the information recommendation method according to the first aspect and any one of the first aspects. Alternatively, the computer-readable storage medium includes a computer program, which, when executed on a foldable screen mobile phone, causes the foldable screen mobile phone to execute the information recommendation method according to the second aspect and any one of the second aspects, or causes the foldable screen mobile phone to execute the information recommendation method according to the third aspect and any one of the third aspects.

[0069] The seventh aspect and any implementation of the seventh aspect respectively correspond to the first aspect and any implementation of the first aspect, or respectively correspond to the second aspect and any implementation of the second aspect, or respectively correspond to the third aspect and any implementation of the third aspect. Accordingly, the technical effects corresponding to the seventh aspect and any implementation of the seventh aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, or refer to the technical effects corresponding to the second aspect and any implementation of the second aspect, or refer to the technical effects corresponding to the third aspect and any implementation of the third aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 is a schematic diagram of an exemplary application scenario;

[0071] Figure 2 is a schematic structural diagram of an illustrative electronic device;

[0072] Figure 3 is a schematic diagram of the software structure of an electronic device shown as an example;

[0073] Figure 4 A schematic diagram of module interaction provided in an embodiment of the present application;

[0074] Figure 5 This is one of the schematic diagrams of an exemplary application scenario;

[0075] Figure 6 This is one of the schematic diagrams of an exemplary application scenario;

[0076] Figure 7 This is one of the schematic diagrams of an exemplary application scenario;

[0077] Figure 8 A schematic diagram of module interaction provided in an embodiment of the present application;

[0078] Figure 9 This is one of the schematic diagrams of an exemplary application scenario;

[0079] Figure 10 A schematic diagram of module interaction provided in an embodiment of the present application;

[0080] Figure 11 A schematic diagram of the judgment process provided in the embodiment of the present application;

[0081] Figure 12 A schematic diagram of module interaction provided in an embodiment of the present application;

[0082] Figure 13 This is one of the schematic diagrams of an exemplary application scenario;

[0083] Figure 14 A schematic diagram of module interaction provided in an embodiment of the present application;

[0084] Figure 15 This is one of the schematic diagrams of an exemplary application scenario;

[0085] Figure 16 This is one of the schematic diagrams of an exemplary application scenario;

[0086] Figure 17 is a schematic diagram of a window display shown as an example;

[0087] Figure 18 This is one of the schematic diagrams of an exemplary application scenario;

[0088] Figure 19 This is one of the schematic diagrams of an exemplary application scenario;

[0089] Figure 20 This is one of the schematic diagrams of an exemplary application scenario;

[0090] Figures 21a to 21c This is one of the schematic diagrams of an exemplary application scenario. DETAILED DESCRIPTION

[0091] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0092] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0093] In the description and claims of the embodiments of this application, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. For example, the terms "first target object" and "second target object" are used to distinguish different objects, rather than to describe a specific order of objects.

[0094] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0095] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.

[0096] like Figure 1 The following is a schematic diagram of an exemplary application scenario. For example, when a user opens a mobile phone gallery to view pictures, Figure 1 (1) The image 101 may contain information of interest to the user, such as text 1011 and QR code 1012 in the image 101. For example, in the scenario where the user takes a screenshot of the mobile phone display interface, refer to Figure 1 (2) The screenshot preview image 102 may contain information of interest to the user, such as text 1021 in the screenshot preview image 102. Taking the screenshot preview image 102 as a screenshot of the waybill details as an example, the text 1021 of interest to the user may be the order number information, address information, etc. For example, in the user taking a photo, referring to Figure 1 (3) The entity 1031 captured in the mobile phone capture interface 103 may contain information of interest to the user, which may be text information or code information. Taking the entity 1031 as an ID card as an example, the information of interest to the user may be the ID card number or the address information. For example, in the scenario where the user selects a copyable text from the browsing interface, refer to Figure 1 (4) The text selected by the user in the browsing interface 104 may be information of interest to the user, and these texts can usually be copied directly. Figure 1 The application scenario diagrams are shown using various display interfaces of tablet phones as examples. These application scenario diagrams are also applicable to foldable screen phones, tablets, etc., and this application does not limit this.

[0097] like Figure 2 The figure shows a schematic diagram of the structure of the electronic device 100. Optionally, the electronic device 100 may be a terminal, which may also be called a terminal device. The terminal may be a cellular phone (including a flat-type cellular phone and a foldable screen cellular phone) or a tablet computer (pad) or other device with a camera, which is not limited in this application. It should be noted that the schematic diagram of the structure of the electronic device 100 may be applicable to Figure 1The candy bar phone in the candy bar phone can also be applied to foldable screen phones and tablets. It should be understood that Figure 2 The illustrated electronic device 100 is merely one example of an electronic device, and the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. Figure 2 The various components shown in the drawings may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0098] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

[0099] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0100] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0101] The processor 110 may further include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory.

[0102] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.

[0103] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0104] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to provide power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160.

[0105] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0106] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0107] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.

[0108] The wireless communication module 160 can provide wireless communication solutions for application on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0109] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 , and antenna 2 is coupled to wireless communication module 160 , so that electronic device 100 can communicate with the network and other devices through wireless communication technology.

[0110] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0111] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0112] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0113] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0114] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0115] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0116] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0117] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0118] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121, so that the electronic device 100 implements the information recommendation method in this application. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0119] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0120] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0121] The pressure sensor is used to sense pressure signals and can convert pressure signals into electrical signals. In some embodiments, the pressure sensor can be set on the display screen 194. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. When a touch operation is applied to the display screen 194, the electronic device 100 detects the touch operation intensity based on the pressure sensor. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

[0122] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0123] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or touch vibration feedback. For example, touch operations on different applications (such as taking photos, playing audio, etc.) can correspond to different vibration feedback effects.

[0124] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0125] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.

[0126] Figure 3 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0127] The layered architecture of electronic device 100 divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other via software interfaces. In some embodiments, the Android system is divided into three layers: the application layer, the application framework layer, and the kernel layer, from top to bottom.

[0128] The application layer can include a series of application packages.

[0129] like Figure 3 As shown, the application package may include applications such as camera, gallery, map, browser, translation, shopping, short message, memo, entity recognition application, computing engine application, etc.

[0130] Among them, the entity recognition application is used to realize the recognition of text information, code information and other information, and to display the entity recognition results and the recommendation results of related applications corresponding to the entity recognition results; the computing engine application is used to identify entities of user interest based on the information recognition results, and recommend related applications based on the entity recognition results.

[0131] The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0132] like Figure 3As shown, the application framework layer may include a window manager, a perception service, an application execution management service, and may also include a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0133] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, etc.

[0134] The perception service is used to perceive the application life cycle and monitor user operations, such as copying text to the clipboard, viewing pictures, taking screenshots, etc.

[0135] The application operation management service is used to implement the operation management of each application at the application layer.

[0136] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0137] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0138] The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, or notifications that appear in the system top status bar in the form of icons or scroll bar text, or notifications that appear on the screen in the form of dialog windows.

[0139] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, sensor driver, charging driver, etc.

[0140] It is understandable that Figure 3 The layers in the illustrated software structure and the components contained in each layer do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in the present application.

[0141] It is understandable that in order to implement the information recommendation method in this application, the electronic device includes hardware and / or software modules that perform the corresponding functions. In combination with the algorithm steps of each example described in the embodiments disclosed herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0142] An embodiment of the present application provides an information recommendation method. Specifically, the electronic device in the embodiment of the present application can perform entity recognition when the user triggers entity recognition, and recommend associated applications that match the entity selected by the user to the user, so that the user can directly open the associated applications of interest. Among them, entity refers to things that objectively exist and can be distinguished from each other. In the embodiment of the present application, entity can be understood as key information, or information of interest to the user. For example, an address entity can be understood as information indicating an address. For another example, an ID number entity can be understood as information indicating an ID number. The following uses the term "entity" to explain the embodiment of the present application. It can be understood that replacing the term "entity" with "key information" or "information of interest" can also serve as an explanation of the embodiment of the present application.

[0143] It should be noted that the embodiments of the present application are only described by taking entities of interest to some users as examples, such as address entities, code entities, ID card number entities, mobile phone number entities, English text entities, etc. For example, the address involved in the address entity can be a detailed street address, such as No. XX, XX Street, XX District, XX City, or it can be a scenic spot name (such as the name of a famous cultural attraction or natural attraction), or it can be a famous building name, or it can be an address with corresponding information of interest on a map, and so on. In other embodiments, the specific implementation methods of the present application can also be applied to entities of interest to other users, such as express number entities, website entities, email address entities, network disk download link entities (wherein users can obtain information of interest stored in the network disk through the network disk download link), password entities (such as Taobao passwords, Douyin passwords, etc.), etc., and this application will not repeat the description. In addition, it should be pointed out that in the embodiments of the present application, "image" and "picture" can be understood as the same concept, and "application" and "application" can be understood as the same concept.

[0144] One possible application scenario is: when a user views or takes a screenshot of an image and finds an entity of interest to the user, entity recognition of the image is required. Another possible application scenario is: when a user copies text and finds an entity of interest to the user, entity recognition of the text is required.

[0145] Scene 1

[0146] In this scenario, taking the possible existence of entities of interest to the user in a picture of a bar phone as an example, the specific implementation method of the embodiment of the present application is described in detail.

[0147] like Figure 4 The following is a schematic diagram of the interaction process of each module, refer to Figure 4 The process of the information recommendation method provided in the embodiment of the present application specifically includes:

[0148] S401, the perception service receives an entity recognition trigger operation.

[0149] An entity recognition trigger operation refers to an operation that can trigger the mobile phone to execute the information recommendation method. Specifically, it can be a user operation that triggers the perception service to send an entity recognition instruction, so that the entity recognition application and the computing engine application can jointly complete entity recognition and determine the related applications to be recommended. In this embodiment, the entity recognition trigger operation can optionally be a user operation on an image, such as an image viewing operation or a screenshot operation. The image viewing operation can be an operation to view an image in the gallery or an operation to view a captured image in the camera shooting interface.

[0150] S402, the perception service sends an entity recognition instruction to the entity recognition application.

[0151] In this embodiment, the entity recognition instruction can be used to instruct the entity recognition application to identify an image. Specifically, it can be used to perform text recognition and code (such as a QR code) recognition on the image, so that the entity recognition application can be combined with the computing engine application to jointly complete entity recognition and determine the associated applications to be recommended. The image that the entity recognition instruction indicates to be identified refers to the image corresponding to the entity recognition trigger operation. It can be an image opened by the user in the gallery, a captured image that can be viewed in the camera shooting interface, or a screenshot image obtained by the user's screenshot operation. Optionally, the entity recognition instruction includes but is not limited to the image information to be identified.

[0152] S403: The entity recognition application performs text recognition and code recognition on the image, and sends the text recognition and code recognition results to the computing engine application.

[0153] The entity recognition application receives the entity recognition instruction, determines the image to be recognized according to the entity recognition instruction, and performs text recognition and code recognition on the image.

[0154] Optionally, the entity recognition application can call an OCR (Optical Character Recognition) application to perform text and code recognition on images. Optionally, the OCR application called by the entity recognition application can be installed on the phone. This eliminates the need for the entity recognition application to call the OCR application from the cloud, improving data security and alleviating user concerns about data security.

[0155] After completing text and code recognition on an image, the entity recognition application sends the text and code recognition results to the computing engine application. Text recognition results may include, but are not limited to, the presence of text and the recognized text information; code recognition results may include, but are not limited to, the presence of a QR code and the recognized code information.

[0156] S404: The computing engine application performs entity recognition based on the text recognition result and the code recognition result, and sends the entity recognition result to the entity recognition application.

[0157] After receiving the text recognition results and the code recognition results sent by the entity recognition application, the computing engine application performs entity recognition based on the text recognition results and the code recognition results to determine one or more entities that the user may be interested in.

[0158] Optionally, the computing engine application obtains a plurality of entity types that the preset user may be interested in, and identifies one or more entities included in the image based on these plurality of entity types. Among them, the preset entity types that the user may be interested in include but are not limited to: telephone entity, address entity, express number entity, ID number entity, QR code entity, website entity, email entity, password entity, language entity, etc. Exemplarily, the address entity may include but is not limited to information such as country, province, city, district, street (road), number, etc. Exemplarily, the language entity refers to text corresponding to a language, such as English entity, Korean entity, Chinese entity, etc.

[0159] For example, the computing engine application can call an NLU (Natural Language Understanding) application to perform entity recognition. Optionally, the NLU application called by the computing engine application can be installed on the mobile device. This eliminates the need for the computing engine application to call the NLU application from the cloud to perform entity recognition, improving data security and alleviating user concerns about data security.

[0160] After completing entity recognition, the computing engine application sends the entity recognition results to the entity recognition application. The entity recognition results include, but are not limited to, entity content and the entity type corresponding to that entity content. It should be noted that the entity recognition results include all entity content identified in the image, as well as the entity type corresponding to each entity content.

[0161] S405: The entity recognition application adds an entity recognition result viewing icon to the first layer mask and displays the first layer mask.

[0162] The entity recognition result viewing icon is used to indicate that a preset type of entity (or key information) is recognized in the image.

[0163] After receiving the entity recognition results from the computing engine application, the entity recognition application determines that entity recognition has been completed for the image and that a preset entity type has been identified. It then adds a first layer mask to the current display interface of the phone and adds an entity recognition result viewing icon to the first layer mask (which can be anywhere). The entity recognition result viewing icon is clickable by the user to view the entity recognition results for the image. It is important to note that the first layer mask only includes the entity recognition result viewing icon. Adding the entity recognition result viewing icon via the layer mask does not damage the image.

[0164] Optionally, the entity recognition application adds an entity recognition result viewing icon at any corner of the first layer mask, such as the lower right corner or the lower left corner. When the entity recognition application displays the first layer mask, the user can view the entity recognition result viewing icon on the current display interface of the mobile phone, for example, the entity recognition result viewing icon can be viewed on the currently viewed image, or the entity recognition result viewing icon can be viewed on the screenshot preview display interface.

[0165] S406: The perception service receives the operation of clicking the entity recognition result viewing icon.

[0166] The user can trigger the display of the entity recognition results for the image by clicking (e.g., single-clicking or double-clicking) the entity recognition result viewing icon. The user can also trigger the display of the entity recognition results for the image by other triggering operations on the entity recognition result viewing icon, such as long pressing, which is not limited in this embodiment.

[0167] S407: The perception service sends entity labeling instructions to the entity recognition application.

[0168] In this embodiment, the entity labeling instruction can be used to instruct the entity recognition application to perform entity labeling on the image, and the entity labeling result can display the entity recognition status of the image to the user.

[0169] S408, the entity recognition application marks the entity recognition result in the second layer mask and displays the second layer mask.

[0170] After receiving the entity annotation instruction, the entity recognition application obtains the entity recognition results for the image, adds a second layer mask to the current display interface of the mobile phone, and annotates the entity recognition results for the image in the second layer mask. The annotation is clickable by the user, allowing the user to select an entity of interest. Optionally, the entity recognition results obtained by the entity recognition application include, in addition to all entity content recognized in the image and the entity type corresponding to each entity content, the location information of each entity content in the image or screenshot preview image, such as coordinate information.

[0171] The entity recognition application is applied in the second layer mask to mark the corresponding entity content based on the location information of the entity content in the picture or screenshot preview image. Optionally, the entity recognition application is applied in the second layer mask to mark the corresponding entity content based on the location information of the entity content in the picture or screenshot preview image, and a marking method that matches the entity type. Exemplarily, the marking method can be divided into two types, one for text entities, such as phone number entities, address entities, etc., and the other for code entities, such as QR code entities. For example, for text entities, the entity recognition application can use the underline marking method, that is, to draw a line under the text entity content; for code entities, the entity recognition application can use the dot marking method, that is, to add a dot mark on the code entity content. It should be noted that the second layer mask only includes the entity annotations of the picture. Similarly, adding entity annotations through the layer mask will not cause damage to the picture.

[0172] After the entity recognition application completes the entity recognition result annotation in the second layer mask, the second layer mask is displayed and the first layer mask is canceled. At this time, the user sees one or more entity annotations of the image on the current display interface.

[0173] S409: The perception service receives the operation of clicking the entity annotation.

[0174] A user can trigger the display of recommended services that match an entity annotation (or the entity content corresponding to the entity annotation) by clicking (e.g., single-clicking or double-clicking) any entity annotation. A user can also trigger the display of recommended services that match an entity annotation by performing other triggering operations on an entity annotation, such as a long press, although this embodiment does not limit this.

[0175] S410, the perception service sends a recommended application display instruction to the computing engine application.

[0176] In this embodiment, the recommended application display instruction can be used to instruct the computing engine application to recommend related applications and, in conjunction with the entity recognition application, to display related applications. The displayed related applications can be clicked by the user to activate the functions of the related applications. Optionally, the recommended application display instruction includes, but is not limited to, the entity type and entity content corresponding to the entity annotation clicked by the user.

[0177] S411, the computing engine application recommends related applications that match the clicked entity annotation and sends the related application information to the entity recognition application.

[0178] The computing engine application receives the recommended application display instruction, parses the recommended application display instruction, determines the entity type to be recommended by the associated application, and recommends the associated application (also known as the associated service) that matches the entity type, that is, recommends the associated application that matches the clicked entity label. Taking the entity type as an address entity as an example, the associated services corresponding to the address entity recommended by the computing engine application include but are not limited to: display on the map, get directions, copy, add to address book, add to memo, share, etc. Optionally, when the computing engine application recommends multiple associated services, the computing engine application can set priorities for each of these multiple associated services.

[0179] Optionally, when recommending associated services corresponding to an entity type, the computing engine application may recommend associated services corresponding to the entity type according to the default recommendation rules corresponding to the entity type, and set the priorities of various associated services. The default recommendation rules may be determined in combination with the results of big data analysis. For example, the computing engine application obtains various user intentions after users obtain information of a certain entity type on a daily basis, as well as the priorities of various user intentions. These user intentions may be determined by the cloud in combination with big data statistics. For example, taking the entity type of telephone number as an example, the user intentions after users obtain telephone numbers on a daily basis include but are not limited to: making calls, sending text messages, adding to the address book, copying, sharing, etc., and then the associated services corresponding to the entity type of telephone number may be recommended based on these user intentions. Assuming that, among these user intentions, making calls has the highest frequency, the priority of the associated service such as making calls can be set to the highest priority.

[0180] For example, when recommending related services corresponding to an entity type, if the computing engine application determines that multiple applications corresponding to the same related service are installed on the mobile phone, the computing engine application may recommend multiple applications simultaneously. For example, when recommending a map service, if the computing engine application determines that two map applications, A Map and B Map, are installed on the mobile phone, the computing engine application may recommend both map applications simultaneously.

[0181] Optionally, when recommending associated services corresponding to entity types, the computing engine application may also combine the user's usage habits to recommend associated services corresponding to the entity type, and set the priority of various associated services. That is, the computing engine application learns the user's habits of operating the mobile phone, and recommends associated services corresponding to the entity type based on the learning results. For example, taking the address entity type as an example, suppose that after obtaining the address, the user has always queried the address or shared the address, and has never added the address to the address book contacts. The computing engine application learns the user's operating habits and can use querying the address and sharing the address as recommended associated services corresponding to the address entity, and set the priority of the two associated services, querying the address and sharing the address, to the highest priority.

[0182] Optionally, when recommending associated services corresponding to entity types, the computing engine application may also combine the user actions and user profile obtained by the perception service to recommend associated services corresponding to the entity type and set the priority of the various associated services. For example, a meeting is scheduled in a user's schedule for a certain day. The schedule information includes the meeting time and meeting details, but not the meeting address. The perception service detects that before the meeting started (e.g., an hour before), the user viewed a screenshot of the meeting details saved in the schedule and clicked the entity label corresponding to the meeting address in the entity recognition results of the meeting details screenshot. Suppose that the user profile obtained by the perception service indicates that the user never drives a car and instead travels by taxi or public transportation. The perception service sends the obtained user actions and user profile to the computing engine application, which then combines the user actions and user profile to make service recommendations. In this case, the computing engine application can determine with a high probability that the user wants to take a taxi to the meeting address and can recommend a taxi service as the associated service corresponding to the meeting address, and recommend the meeting address as the destination address for the taxi service.

[0183] After the computing engine application completes the recommendation of related applications that match the clicked entity annotation, it sends the corresponding related application information to the entity recognition application. Optionally, the related application information includes but is not limited to: the name of the related application and the recommendation priority of the related application.

[0184] S412: The entity recognition application displays a recommended application list card or a recommended application icon.

[0185] The entity recognition application receives the associated application information sent by the computing engine application and can display the associated application information. For example, the entity recognition application displays the identifier of the associated application, such as an icon and a brief description of its function.

[0186] Optionally, when the number of recommended applications sent by the computing engine application is one, the entity recognition application can directly obtain the icon of the recommended application and display the icon for the user to click to open the application; when the number of recommended applications sent by the computing engine application is multiple, the entity recognition application can obtain the icons of these multiple recommended applications and display these icons in the form of list cards for the user to select a recommendation from them and click to open.

[0187] For example, when the entity recognition application displays the icon of the recommended application, it can also display the name of the recommended application or a brief description of the application function (such as "Open in Maps", "Add to Memo", etc.).

[0188] Exemplarily, when the entity recognition application displays the icons of multiple recommended applications in the form of a list card, it can also display the entity content that matches the entity annotation clicked by the user in one row (for example, the first row) to facilitate the user to confirm the accuracy of the entity recognition result.

[0189] S413: In response to the click operation on the recommended application, the application operation management service sends an application start instruction to the recommended application.

[0190] When the only recommended application displayed by the entity recognition application meets the user's intention, the user can click the icon of the recommended application to open the recommended application; when the recommended application list card displayed by the entity recognition application includes a recommended application that meets the user's intention, the user can click the icon of the recommended application to open the recommended application.

[0191] The perception service receives a user click operation on a recommended application and sends an application start instruction for the recommended application to the application operation management service. After receiving the application start instruction, the application operation management service sends an application start instruction to the corresponding recommended application.

[0192] S414: Recommend the application to be enabled, and send an indication message indicating that the application has been enabled to the application operation management service.

[0193] After receiving the application start instruction, the recommended application executes the application start operation, and after the start is completed, sends an indication message that the application has been started to the application operation management service.

[0194] S415: The application operation management service sends an indication message to the entity recognition application indicating that the recommended application has been started.

[0195] The application operation management service receives the indication information that the recommended application has been started, and sends the indication information to the entity recognition application.

[0196] S416: The entity recognition application sends entity content that matches the clicked entity annotation to the recommendation application.

[0197] After receiving the indication that the recommended application has been opened, the entity recognition application confirms that the recommended application has been opened, and then sends entity content that matches the clicked entity annotation, such as address information, phone number information, etc., to the recommended application.

[0198] S417, recommending applications to implement corresponding application functions based on the entity content.

[0199] The recommended application receives the entity content that matches the clicked entity annotation, adds the entity content to the matching information edit, and then can implement the corresponding function of the recommended application based on the entity content. Among them, the recommended application implements the corresponding function of the recommended application based on the entity content, which can be directly implemented or implemented under the relevant operation of the user. Taking the entity content as a phone number and the recommended application as an example, the phone receives the phone number and adds it to the dial number edit, and then can directly implement the phone dialing function based on the phone number. Taking the entity content as address information and the recommended application as a taxi application as an example, the taxi application receives the address information and adds it to the destination edit. At this time, the departure edit of the taxi application can default to the current location, and the user clicks to confirm to implement the taxi function of the taxi application.

[0200] In this embodiment of the application, when triggered by a user action, the phone performs entity recognition on the image corresponding to the action and displays an icon for viewing the entity recognition results when the entity recognition is complete, allowing the user to click to view the entity recognition results for the image. If the user clicks on the annotation information of an entity in the image, the phone can recommend related services that meet the user's intention for the user to choose from, thereby improving the user experience.

[0201] The following is combined with Figure 5 The application scenario shown, that is, the application scenario in which the user takes a screenshot on the mobile phone, explains the information recommendation method provided by the embodiment of the present application. Figure 5 (1) The user double-clicks the phone screen to take a screenshot of the waybill details interface. The phone's perception service receives the user's screenshot operation. In response to the user's operation, the phone's perception service sends an entity recognition instruction to the entity recognition application, so that the entity recognition application combines with the computing engine application to complete the entity recognition operation on the screenshot image. Before the entity recognition is completed, the screenshot preview interface can refer to Figure 5 (2) When entity recognition is completed, the entity recognition application displays the entity recognition result viewing icon. At this time, the preview interface can refer to Figure 5 (3). Figure 5 In (3), the entity recognition result viewing icon 501 is exemplarily displayed in the lower right corner of the mobile phone display interface. Figure 5As shown in (3), the user clicks on the entity recognition result viewing icon 501. The mobile phone's perception service receives the user's click operation, and in response to the user's operation behavior, the mobile phone's perception service sends an entity annotation instruction to the entity recognition application, so that the entity recognition application completes the entity annotation operation. Figure 5 (4) The entity recognition application performs entity annotation operations based on the entity recognition results. Since the entities involved in the entity recognition results are all text entities, annotations (such as underscores) 502 can be used to annotate the entities involved in the entity recognition results. Figure 5 In (4), the annotated entities include the express number entity, the phone number entity, and the address entity. Assume that the entity that the user is interested in is the address entity annotated with the annotation 5021. The user can click on the annotation, that is, click on the annotation 5021. The perception service of the mobile phone receives the user's click operation, and in response to the user's operation behavior, sends a recommended application display instruction to the computing engine application, so that the computing engine application combines with the entity recognition application to complete the operation of recommending related services. Figure 5 (5) When there are multiple recommended applications, the entity recognition application can display a recommended application list card 503 for the user. In the recommended application list card 503, each row displays an icon of a recommended application and a brief description of the application function. These recommended applications can be arranged in order of priority from high to low. For example, in each row of the recommended application list card, the icon of the recommended application is displayed on the left and the brief description of the application function is displayed on the right. Optionally, Figure 5 As shown in (5), in the recommended application list card 503, the first row 5031 can also display entity content that matches the entity annotation clicked by the user, such as the recognized address information, so that the user can verify whether it is the information of interest. Exemplarily, in the first row of the recommended application list card, an icon is displayed on the left side of the entity content to indicate that this behavior is the recognized entity content. When the recommended application list card 503 includes a recommended application that meets the user's intention, such as "Get route", the user can click on the icon 5032 of the recommended application to perform a route acquisition operation for the address in the first row 5031 of the recommended application list card 503. Figure 5 In (6), the map application is already open, and the address information filled in the destination address edit 504 is the address in the first row 5031 of the recommended application list card 503, that is, the entity content that matches the annotation 5021 clicked by the user. The route can be referred to Figure 5 (6) in the route.

[0202] The following is combined with Figure 6 The application scenario shown, that is, the application scenario in which a user views pictures in a gallery, explains the information recommendation method provided by the embodiment of the present application. Figure 6(1) The user clicks on the picture 601 in the mobile phone gallery to view the picture. The mobile phone's perception service receives the user's picture viewing operation. In response to the user's operation behavior, the mobile phone's perception service sends an entity recognition instruction to the entity recognition application, so that the entity recognition application combines with the computing engine application to complete the entity recognition operation of the user viewing the picture. When the entity recognition is completed, the entity recognition application displays the entity recognition result viewing icon. At this time, the picture display interface can refer to Figure 6 (2). Figure 6 In (2), the entity recognition result viewing icon 602 is exemplarily displayed in the lower right corner of the mobile phone display interface. Figure 6 As shown in (2), the user clicks on the entity recognition result viewing icon 602. The mobile phone's perception service receives the user's click operation, and in response to the user's operation behavior, the mobile phone's perception service sends an entity annotation instruction to the entity recognition application, so that the entity recognition application completes the entity annotation operation. Figure 6 (3) The entity recognition application performs entity annotation operations based on the entity recognition results. Since the entity recognition results involve entity code-type entities, the entities involved in the entity recognition results (i.e., QR codes) can be annotated using annotations (such as dots) 603. Assuming that the entity that the user is interested in is an entity annotated using annotation 603, the user can click on the annotation. The perception service of the mobile phone receives the user's click operation, and in response to the user's operation behavior, sends a recommended application display instruction to the computing engine application, so that the computing engine application can complete the operation of recommending related services in combination with the entity recognition application. Figure 6 (4) When there are multiple recommended applications, the entity recognition application can display a recommended application list card 604 for the user. In the recommended application list card 604, each row displays an icon of a recommended application and a brief description of the application function. These recommended applications can be arranged in descending order of priority. Figure 6 As shown in (4), if the QR code corresponds to a certain APP (Application), the entity recognition result of the QR code, such as link information, can be displayed in the first row 6041 of the recommended application list card 604. Exemplarily, in the first row of the recommended application list card, an icon is displayed on the left side of the entity recognition result to indicate that this behavior is an entity recognition result. When the recommended application list card 604 includes recommended applications that meet the user's intention, such as "Open in APP", the user can click on the APP icon 6042 in the corresponding row of the recommended application list card 604 to open the recognized QR code in the APP. The recognition result of the QR code can be exemplarily referred to Figure 6 (5).

[0203] The following is combined with Figure 7The application scenario shown, that is, the application scenario in which the user takes a photo on the mobile phone, explains the information recommendation method provided by the embodiment of the present application. Figure 7 (1) The user clicks the photo icon 701 on the mobile phone photo interface to complete the photo operation. On the mobile phone photo interface, if the user wants to view the photos taken, he can click Figure 7 (2) The taken picture viewing icon 702 in the photo taking interface shown. The mobile phone's perception service receives the user's taken picture viewing operation. In response to the user's operation behavior, the mobile phone's perception service sends an entity recognition instruction to the entity recognition application, so that the entity recognition application combines with the computing engine application to complete the entity recognition operation of the taken picture. When the entity recognition is completed, the entity recognition application displays the entity recognition result viewing icon. At this time, the viewing interface of the taken picture can refer to Figure 7 (3). Figure 7 (3), the entity recognition result viewing icon 703 is exemplarily displayed in the lower right corner of the mobile phone display interface. Figure 7 (3) The user clicks on the entity recognition result viewing icon 703. The mobile phone's perception service receives the user's click operation, and in response to the user's operation behavior, the mobile phone's perception service sends an entity annotation instruction to the entity recognition application, so that the entity recognition application completes the entity annotation operation. Figure 7 (4) The entity recognition application performs entity annotation operations based on the entity recognition results. Since the entities involved in the entity recognition results are all text entities, annotations (such as underscores) 704 can be used to annotate the entities involved in the entity recognition results. Figure 7 In (4), the annotated entities include the ID card number entity and the address entity. Assume that the entity that the user is interested in is the ID card number entity annotated with the annotation 7041. The user can click on the annotation, that is, click on the annotation 7041. The perception service of the mobile phone receives the user's click operation, and in response to the user's operation behavior, sends a recommended application display instruction to the computing engine application, so that the computing engine application combines with the entity recognition application to complete the operation of recommending related services. Figure 7 (5) When there are multiple recommended applications, the entity recognition application can display a recommended application list card 705 for the user. In the recommended application list card 705, each row displays an icon of a recommended application and a brief description of the application function. These recommended applications can be arranged in descending order of priority. Figure 7As shown in (5), in the recommended application list card 705, the first row 7051 can also display entity content that matches the entity annotation clicked by the user, such as an identified ID number, so that the user can verify whether it is the information of interest. Exemplarily, in the first row of the recommended application list card, an icon is displayed on the left side of the entity recognition result to indicate that this behavior is the entity recognition result. When the recommended application list card 705 includes a recommended application that meets the user's intention, such as "Add to Memo", the user can click on the icon 7052 of the recommended application to add the ID number in the first row 7051 of the recommended application list card 705 to the memo, refer to Figure 7 (6). Figure 7 In (6), the memo is turned on, and the ID number filled in the memo editing interface is the address in the first row 7051 of the recommended application list card 705, that is, the entity content that matches the mark 7041 clicked by the user.

[0204] In each of the above application scenarios, optionally, the user clicks on the application function description corresponding to the icon of the recommended application in the recommended application list card, which can achieve the same effect as clicking the icon of the recommended application.

[0205] Next, combine Figure 7 The application scenario shown, that is, the application scenario in which the user takes a photo on the mobile phone, explains the information recommendation method provided by the embodiment of the present application. Figure 7 (1) The user clicks the photo icon 701 on the mobile phone photo interface to complete the photo operation. The mobile phone's perception service receives the user's photo operation. In response to the user's operation, the mobile phone's perception service sends an entity recognition instruction to the entity recognition application, so that the entity recognition application combines with the computing engine application to complete the entity recognition operation of the taken picture. On the mobile phone photo interface, if the user wants to view the taken picture, he can click Figure 7 (2) The picture viewing icon 702 in the picture taking interface is shown. At this time, if the entity recognition is completed and the preset entity type exists in the picture, the entity recognition application displays the entity recognition result viewing icon. At this time, the viewing interface of the taken picture can refer to Figure 7 (3). Figure 7 (3), the entity recognition result viewing icon 703 is exemplarily displayed in the lower right corner of the mobile phone display interface. Figure 7 (3) The user clicks on the entity recognition result viewing icon 703. The mobile phone's perception service receives the user's click operation, and in response to the user's operation behavior, the mobile phone's perception service sends an entity annotation instruction to the entity recognition application, so that the entity recognition application completes the entity annotation operation. Figure 7 (4)~ Figure 7 The explanation of (6) can be found above and will not be repeated here.

[0206] In the application scenario where a photo action triggers entity recognition, to provide a better user experience, the embodiments of the present application can be implemented with an image entity recognition completion indicator to prompt the user that entity recognition of the image just taken has been completed. This embodiment can prevent the user from prematurely clicking to view the taken photo and failing to view the image entity recognition results, thereby improving the user experience.

[0207] like Figure 8 The following is a schematic diagram of the interaction process of each module, refer to Figure 8 The process of the information recommendation method provided in the embodiment of the present application specifically includes:

[0208] S801, the perception service receives a photo-taking operation.

[0209] S802, the perception service sends an entity recognition instruction to the entity recognition application.

[0210] Optionally, when the perception service determines that the image meets the entity recognition condition, it sends an entity recognition instruction to the entity recognition application. In this case, the entity recognition condition can optionally be the third recognition condition described below, which will not be described in detail here.

[0211] S803: The entity recognition application performs text recognition and code recognition on the image, and sends the text recognition and code recognition results to the computing engine application.

[0212] S804: The computing engine application performs entity recognition based on the text recognition result and the code recognition result, and sends the entity recognition result to the entity recognition application.

[0213] S805: The entity recognition application adds an entity recognition result viewing icon to the first layer mask and displays the first layer mask.

[0214] S806: The entity recognition application adds an image entity recognition completion mark in the photo taking interface.

[0215] The image entity recognition completion flag is used to indicate that the image taken by the user just now has been recognized and a preset type of entity (or key information) has been recognized in the image.

[0216] When entity recognition is completed for the picture just taken, the entity recognition application can add a picture entity recognition completion mark in the photo taking interface (can be anywhere) to remind the user that entity recognition has been completed for the picture just taken. Figure 9 , in the photo interface, at the taken picture viewing icon 702, the entity recognition application can add a picture entity recognition completion mark 707. At this time, the user clicks the taken picture viewing icon 702, and the mobile phone interface jumps to the following Figure 7 (3) As shown. User clicks Figure 7 For the process after the entity recognition result viewing icon 703 in (3), please refer to the above related explanations and will not be repeated here.

[0217] In the process of the information recommendation method provided in the embodiment of the present application, the process section after S806 can be referred to as follows: Figure 4 As shown in S406 to S417, the relevant explanations of this embodiment can be found in the previous embodiment and will not be repeated here.

[0218] In this scenario one, considering the power consumption of the mobile phone when performing entity recognition on the image, the specific implementation of the embodiment of the present application needs to analyze the triggering timing of the image entity recognition, and try to avoid performing image entity recognition when it is not necessary, so as to reduce the power consumption of the mobile phone.

[0219] like Figure 10 The following is a schematic diagram of the interaction process of each module, refer to Figure 10 The process of the information recommendation method provided in the embodiment of the present application specifically includes:

[0220] S1001, the perception service receives an entity recognition trigger operation.

[0221] S1002: When the perception service determines that the image meets the entity recognition conditions, it sends an entity recognition instruction to the entity recognition application.

[0222] In this embodiment, considering the power consumption of the mobile phone, when the perception service receives an entity recognition trigger operation, it no longer directly sends an entity recognition instruction to the entity recognition application. Instead, it determines whether the image corresponding to the entity recognition trigger operation meets the entity recognition conditions. If so, the entity recognition instruction is sent to the entity recognition application; otherwise, the entity recognition instruction is not sent to the entity recognition application.

[0223] Among them, the types of entity recognition trigger operations of users are different, and the corresponding entity recognition conditions may be different. Optionally, the types of entity recognition trigger operations can be divided into two categories, one is a screenshot operation, and the other is a picture viewing operation. Exemplarily, the entity recognition conditions related to the screenshot operation may include but are not limited to: a first recognition condition related to the application information corresponding to the screenshot operation, and a second recognition condition related to the user's screenshot sharing habits. Exemplarily, the entity recognition conditions related to the picture viewing operation may include but are not limited to: a third recognition condition related to the camera shooting classification result (or camera shooting mode), and a first recognition condition related to the application information corresponding to the screenshot operation.

[0224] Exemplarily, the first identification condition may be that the application belongs to a preset application set. The first identification condition is used to indicate an application that requires entity recognition. That is, each application in the preset application set is an application that requires entity recognition. For example, the preset application set may include applications that generally involve entity recognition, such as WPS applications and PowerPoint applications, but may not include applications that do not involve entity recognition, such as music applications and taxi applications.

[0225] Exemplarily, the second recognition condition may be a preset set of user operation habits. The second recognition condition is used to indicate user operation habits that are consistent with real-time entity recognition. That is, each user operation habit within the preset set of user operation habits is a user operation habit that is consistent with real-time entity recognition. Exemplarily, the preset set of user operation habits may include the user's screenshot sharing habit of opening the screenshot before sharing. The preset set of user operation habits does not include direct sharing without opening the screenshot. If the user's screenshot sharing habit is direct sharing without opening the screenshot (such as swiping up to share directly after taking the screenshot), then the user's screenshot sharing habit does not meet the second recognition condition.

[0226] Exemplarily, the third recognition condition may be that the camera shooting classification result belongs to a preset classification set (or the camera shooting mode belongs to a preset mode set). The third recognition condition is used to indicate a camera shooting classification or camera shooting mode for which entity recognition needs exist. Among them, each camera shooting classification in the preset classification set is a camera shooting classification for which entity recognition needs exist. For example, the preset classification set may include classifications that generally involve entity recognition, such as documents, etc. The preset classification set does not include classifications that do not involve entity recognition, such as landscapes and portraits. Both the camera shooting classification result and the camera shooting mode may include classification tags (or mode tags) for further classification or identification. The same camera shooting mode may include multiple mode tags, some of which indicate that there is a need for entity recognition, and some of which indicate that there is no need for entity recognition.

[0227] like Figure 11 The following is a schematic diagram of the judgment process of the perception service, refer to Figure 11 The perception service determines whether an image meets the entity recognition conditions through the following process:

[0228] S1101: The perception service receives an entity recognition trigger operation and determines the operation type. If the operation type is a screenshot operation, the perception service executes S1102; if the operation type is an image viewing operation, the perception service executes S1105.

[0229] S1102, the perception service obtains the application information corresponding to the screenshot operation.

[0230] When the user performs a screenshot operation, the application displayed on the display interface of the mobile phone is the application corresponding to the screenshot operation. Optionally, the application information includes but is not limited to the application name.

[0231] S1103, the perception service determines whether the application information meets the entity identification conditions. If so, execute S1104; otherwise, execute S1108.

[0232] In this step, the entity recognition condition may refer to the first recognition condition. The perception service determines whether the application information meets the first recognition condition. If so, it determines that the other entity recognition conditions are met. Otherwise, it determines that the image does not meet the entity recognition condition.

[0233] S1104, the perception service determines whether the user's screenshot sharing habit meets the screenshot operation trigger recognition condition. If so, execute S1109, otherwise execute S1101.

[0234] In this step, the screenshot action triggering recognition condition may refer to the second recognition condition described above. The Perception Service obtains the user's screenshot sharing habits and determines whether these habits meet the second recognition condition described above. If so, the Perception Service determines that the image meets the entity recognition condition and can then send an entity recognition instruction to the entity recognition application. If not, the Perception Service determines that the image does not meet the entity recognition condition. At this point, the Perception Service needs to detect whether the user's next action is to view the screenshot and re-execute the process to determine whether the image meets the entity recognition condition.

[0235] S1105: The perception service determines the source of the image. If the image is taken by a camera, the perception service executes S1106; if the image is taken by an application screenshot, the perception service executes S1102.

[0236] When a user performs an image viewing operation, the perception service needs to determine the source of the image. Optionally, the perception service can determine the source of the image from the image's attribute information.

[0237] S1106, the perception service obtains the camera shooting classification results.

[0238] When the perception service determines that the image is taken by a camera, the perception service needs to further obtain the camera classification result of the image. Optionally, the perception service can determine the camera classification result of the image from the attribute information of the image.

[0239] S1107, the perception service determines whether the camera shooting classification result meets the entity recognition conditions. If so, execute S1109, otherwise execute S1108.

[0240] In this step, the entity recognition condition may refer to the third recognition condition described above. The Perception Service obtains the camera classification result for the image and determines whether the camera classification result meets the third recognition condition described above. If so, the Perception Service determines that the image meets the entity recognition condition and may then send an entity recognition instruction to the entity recognition application. If not, the Perception Service determines that the image does not meet the entity recognition condition.

[0241] Similarly, the Perception Service obtains the image's camera shooting mode and determines whether the icon meets the entity recognition condition by determining whether the camera shooting mode meets the entity recognition condition. Accordingly, the entity recognition condition may refer to the aforementioned third recognition condition. The Perception Service obtains the image's shooting mode and determines whether the shooting mode meets the corresponding third recognition condition. If so, the Perception Service determines that the image meets the entity recognition condition and may then send an entity recognition instruction to the entity recognition application. If not, the Perception Service determines that the image does not meet the entity recognition condition.

[0242] It should be noted that the attribute information of images taken with a camera and stored in the gallery may include various identifiers, such as the camera classification result (or camera shooting mode) and one or more classification tags (or mode tags). Furthermore, when the perception service determines whether an image meets the entity recognition criteria, it can determine whether the various identifiers included in its attribute information meet the entity recognition criteria.

[0243] S1108, the perception service determines that the image does not meet the entity recognition conditions.

[0244] S1109, the perception service determines that the image meets the entity recognition conditions.

[0245] S1003: The entity recognition application performs text recognition and code recognition on the image, and sends the text recognition and code recognition results to the computing engine application.

[0246] S1004: The computing engine application performs entity recognition based on the text recognition results and the code recognition results, and sends the entity recognition results to the entity recognition application.

[0247] S1005, the entity recognition application adds an entity recognition result viewing icon to the first layer mask and displays the first layer mask.

[0248] In the process of the information recommendation method provided in the embodiment of the present application, the process section after S1005 can be referred to as follows: Figure 4 As shown in S406 to S417, the relevant explanations of this embodiment can be found in the previous embodiment and will not be repeated here.

[0249] In the application scenario of viewing pictures in the gallery, especially when there are a large number of pictures in the gallery that have not undergone entity recognition. For example, after the mobile phone upgrades the operating system, since the old system does not have the function of picture entity recognition, and the new system has the function of picture entity recognition, it will result in a large number of pictures in the mobile phone gallery that have not undergone entity recognition after the operating system upgrade. Taking into account the power consumption problem of the mobile phone when performing entity recognition on the pictures, the embodiment of the present application is specifically implemented to perform picture entity recognition operations in batches when the mobile phone is charging, so as to reduce the power consumption of the mobile phone when the user is using it.

[0250] like Figure 12 The following is a schematic diagram of the interaction process of each module, refer to Figure 12 The process of image entity recognition provided by the embodiment of the present application specifically includes:

[0251] S1201, the perception service receives a charging operation.

[0252] The charging operation can be an operation of connecting the mobile phone to the mains via a charger for charging, or an operation of connecting the mobile phone to an electronic device (such as a power bank or other terminal) for charging via a data cable.

[0253] S1202, the perception service sends an entity recognition instruction to the entity recognition application.

[0254] In response to the user's charging operation, the perception service sends an entity recognition instruction to the entity recognition application. In this embodiment, the entity recognition instruction can be used to instruct the entity recognition application to perform batch image entity recognition.

[0255] S1203, the entity recognition application performs image text recognition and code recognition on the entity unrecognized images in the gallery in turn, and sends the text recognition and code recognition results to the computing engine application.

[0256] S1204: The computing engine application performs entity recognition based on the text recognition results and the code recognition results, and sends the entity recognition results to the entity recognition application.

[0257] S1205: The entity recognition application adds an entity recognition result viewing icon to the first layer mask and displays the first layer mask.

[0258] S1206, the perception service receives a stop charging operation.

[0259] S1207, the perception service sends an entity recognition stop instruction to the entity recognition application.

[0260] In response to the user's stop charging operation, the perception service sends an entity recognition stop instruction to the entity recognition application. In this embodiment, the entity recognition stop instruction can be used to instruct the entity recognition application to stop performing image entity recognition.

[0261] In this embodiment, the entity unrecognized picture refers to a picture that has not been subjected to entity recognition, and does not include pictures that cannot be subjected to entity recognition or pictures with empty entity recognition results.

[0262] Optionally, after determining the image source, the perception service can identify images for which entity recognition cannot be performed based on a first recognition condition related to the application information corresponding to the screenshot operation and a third recognition condition related to the camera capture classification result, and mark these images. Optionally, the entity recognition application can also mark images with empty entity recognition results based on whether the entity recognition result sent by the computing engine application is empty.

[0263] The entity recognition application combines the identifiers of the pictures in the gallery to obtain one unrecognized picture of the entity in turn, and combines with the computing engine application to complete the entity recognition of the unrecognized picture of the entity until the entity recognition of all unrecognized pictures of the entity in the gallery is completed, or until the mobile phone stops charging.

[0264] Reference Figure 13 Mobile phone charging application scenarios, Figure 13 (1) An example of an entity unrecognized picture in the mobile phone gallery is shown (there is a recognizable entity in the picture, but there is no entity recognition result viewing icon on its display interface). Figure 13 (2) The charging operation shown, the display interface changes of the entity unrecognized picture can refer to Figure 13 (3). At this time, if Figure 13 As shown in (3), an entity recognition result viewing icon 1301 is displayed on the image display interface, which means that the entity recognition of the image has been completed and the user can view the entity recognition result.

[0265] In the case of a mobile phone charging application, if the user operates the phone and initiates an entity recognition trigger, the information recommendation method process can continue with the previous embodiment and will not be repeated here. This process can be paralleled with the process of batch entity recognition for a large number of unrecognized entity images. In this way, this embodiment combines the real-time and non-real-time methods of image entity recognition to achieve effective control of mobile phone power consumption.

[0266] Scene 2

[0267] In this scenario, considering that there may be entities of interest to the user in the copyable text on the bar phone interface, the specific implementation method of the embodiment of the present application is described in detail using this as an example.

[0268] like Figure 14 The following is a schematic diagram of the interaction process of each module, refer to Figure 14The process of the information recommendation method provided in the embodiment of the present application specifically includes:

[0269] S1401, the perception service receives the operation of copying text to the clipboard.

[0270] S1402, the perception service sends an entity recognition instruction to the entity recognition application.

[0271] In this embodiment, the entity recognition instruction may be used to instruct the entity recognition application to perform entity recognition on the text copied by the user. Optionally, the text copied by the user may include one or more characters.

[0272] S1403: The entity recognition application sends the copied text to the computing engine application.

[0273] In this embodiment, the entity recognition application does not need to repeatedly perform text recognition on the text copied by the user. It can directly obtain the text copied by the user to the clipboard and send it to the computing engine application for entity recognition.

[0274] S1404: The computing engine application performs entity recognition based on the received text and determines a recommended application corresponding to the entity recognition result.

[0275] Optionally, the computing engine application performs entity recognition based on the received text to determine whether the received text includes only one entity, such as only an address entity or only a phone number entity. If so, the computing engine application recommends associated applications based on the entity type and sends the entity recognition result and the associated applications that match the entity recognition result to the entity recognition application. If the computing engine application recognizes that the received text includes multiple entities, such as both an address entity and a phone number entity, the computing engine application may not perform the recommended operation for the associated application and may also send the entity recognition result indicating that "no single entity was recognized" to the entity recognition application.

[0276] For example, if the computing engine application recognizes that the received text only includes characters of one language, such as English characters, it may recognize the text as an entity to be translated and then recommend a translation application.

[0277] In this step, the computing engine application preliminarily recommends related applications corresponding to the entity recognition results.

[0278] S1405: The computing engine application sends instruction information to the recommendation application SDK.

[0279] The instruction information is used to instruct the recommended application SDK to determine whether the copied text corresponds to the current application. Optionally, the instruction information includes but is not limited to the copied text.

[0280] When there are multiple related applications recommended by the computing engine application, the computing engine application sends instruction information to the SDK of each recommended application respectively, so that each recommended application SDK respectively confirms the recommended application.

[0281] S1406: When the recommended application SDK determines that the copied text corresponds to the current application, it determines that the current application is a recommended application.

[0282] For example, the recommended application SDK performs semantic analysis on the received copied text to determine whether it is text corresponding to the current application. If so, the recommended application SDK confirms the current application as a recommended application.

[0283] In this step, the recommended application SDK confirms the associated applications initially recommended by the computing engine application, further ensuring the accuracy of the recommended applications.

[0284] S1407, recommending that the application SDK send instruction information to the computing engine application.

[0285] The indication information is used to indicate to the computing engine application whether the application is confirmed as a recommended application. Exemplarily, the indication information includes but is not limited to a confirmation flag and a rejection flag.

[0286] Each recommended application SDK that receives the indication information sent by the computing engine application will feed back the indication information to the computing engine application to indicate to the computing engine application whether the application is a recommended application.

[0287] S1408: The computing engine application sends the entity recognition result and the recommended application information to the entity recognition application according to the instruction information sent by the recommended application SDK.

[0288] If the indication information sent by the recommended application SDK indicates that it is a recommended application, the computing engine application will finally confirm the recommended application as a recommended application; if the indication information sent by the recommended application SDK indicates that it is not a recommended application, the computing engine application will no longer recommend the application.

[0289] The computing engine application generates the final recommended application information based on the instruction information sent by each recommended application SDK and sends it to the entity recognition application.

[0290] In this way, the accuracy of the recommended applications is greatly guaranteed through the preliminary recommendation of the computing engine application and the secondary confirmation of each recommended application SDK.

[0291] S1409: The entity recognition application displays a recommended application list card or a recommended application icon.

[0292] Optionally, when the number of recommended applications sent by the computing engine application is one, the entity recognition application can directly obtain the icon of the recommended application and display the icon for the user to click to open the application; when the number of recommended applications sent by the computing engine application is multiple, the entity recognition application can obtain the icons of these multiple recommended applications and display these icons in the form of list cards for the user to select a recommendation from them and click to open.

[0293] In this scenario, since entity recognition is triggered by the user copying text to the clipboard, the compute engine application does not need to repeatedly recommend the copy service. Accordingly, the entity recognition application will not include the copy service in the recommended application list card, thus avoiding the problem of duplicate service recommendations.

[0294] S1410: In response to a click operation on a recommended application, the application operation management service sends an application start instruction to the recommended application.

[0295] S1411: Recommend the application to be enabled, and send an indication message indicating that the application has been enabled to the application operation management service.

[0296] S1412: The application operation management service sends an indication message to the entity recognition application indicating that the recommended application has been started.

[0297] S1413: The entity recognition application sends the recognized entity content to the recommendation application.

[0298] S1414, recommending applications to implement corresponding application functions based on entity content.

[0299] For details not explained in this embodiment, please refer to the aforementioned embodiments and will not be repeated here.

[0300] The following is combined with Figure 15 and Figure 16 The application scenario shown, that is, the application scenario in which the user copies text to the clipboard, explains the information recommendation method provided in the embodiment of the present application.

[0301] Reference Figure 15 (1) After the user selects some characters in the mobile phone browsing interface, an icon 1501 including a "Copy" option and a "Search" option appears in the mobile phone browsing interface. The user clicks the "Copy" option in icon 1501, and the mobile phone's perception service receives the user's operation of copying text to the clipboard. In response to the user's operation, the mobile phone's perception service sends an entity recognition instruction to the entity recognition application, so that the entity recognition application combines with the computing engine application to complete the entity recognition operation of the user's copied text, and recommends related service operations. In this application scenario, the computing engine application recognizes that the user's copied text belongs to the entity to be translated, so it recommends the translation application. Figure 15 As shown in (2), the entity recognition application is a translation application icon 1502, for the user to click to start the translation application. Figure 15 In (2), for example, the translation application icon 1502 is displayed in the form of a floating ball. If the translation application meets the user's intention, the user can click the translation application icon 1502 to translate the text copied by the user. Figure 15 In (3), the translation application is opened in window 1503, and the text copied by the user is displayed in the original text editing area, and the translation function from the original text to the target text is realized.

[0302] Reference Figure 16 (1) After the user selects some characters in the mobile phone browsing interface, an icon 1601 including a "copy" option and a "search" option appears in the mobile phone browsing interface. The user clicks the "copy" option in icon 1601, and the mobile phone's perception service receives the user's operation of copying text to the clipboard. In response to the user's operation, the mobile phone's perception service sends an entity recognition instruction to the entity recognition application, so that the entity recognition application combines with the computing engine application to complete the entity recognition operation of the user's copied text, and recommends related services. In this application scenario, the computing engine application recognizes that the user's copied text belongs to the phone number entity, so it recommends multiple recommended applications that match the phone number entity. Figure 16 As shown in (2), the entity recognition application can display a recommended application list card 1602 for the user. In the recommended application list card 1602, each row displays an icon of a recommended application and a brief description of the application function. These recommended applications can be arranged in descending order of priority. Figure 16 As shown in (2), in the recommended application list card 1602, the first row 16021 can also display entity content that matches the entity annotation clicked by the user, such as the recognized phone number, so that the user can verify whether it is the information of interest to him. Exemplarily, in the first row of the recommended application list card, an icon is displayed on the left side of the entity recognition result to indicate that this behavior is an entity recognition result. It should be noted that although the copy service is also a recommended service that matches the phone number entity, in this application scenario, the copy service does not need to be recommended repeatedly, so the recommended application list card 1602 does not include the copy service. When the recommended application list card 1602 includes a recommended application that meets the user's intention, such as "Send Message", the user can click the icon 16022 of the recommended application to send a message to the copied phone number, refer to Figure 16 (3). Figure 16 In (3), the message application is already open, and the phone number filled in the recipient phone number edit space 16031 in the message application display interface 1603 is the phone number displayed in the first row 16021 of the recommended application list card 1602, that is, the text copied by the user.

[0303] In an embodiment of the present application, when a user copies text to a clipboard, the mobile phone performs entity recognition on the copied text and recommends related services that meet the user's intention based on the entity recognition results for the user to choose, thereby improving the user experience.

[0304] Based on the above embodiment, the process of the information recommendation method can also be implemented using a foldable screen mobile phone, which will not be described in detail here. In the application scenario of a foldable screen mobile phone, since the interface display form of the foldable screen mobile phone is diverse, the display interface of different recommended services can be displayed in different display areas.

[0305] like Figure 17 The following is a diagram showing the recommended application display area. Figure 17 (1) When the foldable screen mobile phone is in the folded state (or straight state), the recommended application can be directly opened in the display area 1701. Please refer to the example in the above embodiment and will not be repeated here. Figure 17 (2) When the foldable screen phone is in the unfolded state, the recommended application can be opened directly in the display area 1702, Figure 17 The display situation of (1) is similar, except for the size of the display area, which will not be described here.

[0306] When the foldable screen phone is in the unfolded state, the left and right display areas of the foldable screen phone can display different applications respectively, and the display interface of the recommended application can be displayed in the left display area or the right display area. Figure 17 (3), for example, if the original application (the application for which the user performs the entity recognition triggering operation) is opened in the display area 1703, the recommended application can be opened in the display area 1704, so that the user can view the display interfaces of the two applications at the same time. Figure 18 In the application scenario shown, when the folding screen mobile phone is in the unfolded state, the left and right display areas of the folding screen display different applications respectively. Figure 18 As shown in (1), the interface of the browsing application is displayed in the display area 1801, and the interface of the chat application is displayed in the display area 1802. The user takes a screenshot in the browsing application, triggering entity recognition of the screenshot image and service recommendations based on the entity selected by the user. The user selects the map service "Open in Map" to open the map application. Figure 18 As shown in (2), the screenshot interface of the browsing application continues to be displayed in the display area 1801, while the map application can be displayed in the display area 1802 as a recommended application.

[0307] When the foldable phone is in the unfolded state, the left and right display areas of the foldable phone can display different applications respectively, and the recommended application can also be opened in a half-screen card window. Optionally, when the recommended application is not an independent APP, it can be opened in a half-screen card window. Figure 17 (4), illustratively, the interface of the original application 1 (the application for which the user performs the entity recognition triggering operation) is displayed in the display area 1705, and the interface of the recommended application can be displayed and opened in the window (half-screen card window) 1706 on the display area 1705. Optionally, if the original application 2 is the application for which the user performs the entity recognition triggering operation, the recommended application can also be opened in the window (half-screen card window) 1706, which is not limited to this. Figure 19 In the application scenario shown, when the folding screen mobile phone is in the unfolded state, the left and right display areas of the folding screen display different applications respectively. Figure 19 As shown in (1), the interface of the browsing application is displayed in the display area 1901, and the interface of the memo application is displayed in the area 1902. When the user copies text to the clipboard in the browsing application, entity recognition of the copied text is triggered, and a service recommendation is made. The user selects the recommended translation application and starts the translation application. Figure 19 As shown in (2), the interface of the browsing application continues to be displayed in the display area 1901, the interface of the memo application continues to be displayed in the display area 1902, and the translation application can be displayed in the window 1903 as a recommended application.

[0308] When the foldable screen phone is in the unfolded state, the left and right display areas of the foldable screen display different applications respectively, and the recommended applications can also be opened in the floating window. Figure 17 (5), for example, if the original application 3 (the application for which the user performs the entity recognition triggering operation) is opened in the floating window 1707, the recommended application can be opened in the newly created floating window 1708. For example, the floating window 1707 and the floating window 1708 can be respectively suspended in the left and right display areas of the folding screen mobile phone, such as Figure 17 (5) As shown. For example, the floating window 1708 can also be suspended in the left display area (or right display area) of the folding screen mobile phone at the same time as the floating window 1707, and the floating window 1708 partially covers the floating window 1707. Figure 20 In the application scenario shown, when the folding screen phone is in the unfolded state, different applications are displayed in the left and right display areas and the floating window of the folding screen. Figure 20As shown in (1), the interface of the browsing application is displayed in the display area 2001, the interface of the memo application is displayed in the area 2002, and the interface of the gallery application is displayed in the floating window 2003. Among them, the floating window 2003 is suspended on the display area 2001. When the user views a picture in the gallery, the entity recognition of the picture is triggered and a service recommendation is made. The user selects the recommended one and opens it in a certain APP. Figure 20 As shown in (2), the interface of the browsing application continues to be displayed in display area 2001, the interface of the memo application continues to be displayed in display area 2002, the interface of the gallery application continues to be displayed in floating window 2003, and a certain APP is displayed as a recommended application in a newly created floating window 2004. Among them, floating window 2004 is suspended on window 2002.

[0309] For example, floating window 2004 may also float on display area 2001 together with floating window 2003. In this case, floating window 2004 may also float on floating window 2003, covering part of floating window 2003. The size of the floating window can be adjusted, and the embodiment of the present application does not limit the size of the floating window.

[0310] In the aforementioned scenario one, in an application scenario where a foldable screen mobile phone is used and the left and right display areas of the foldable screen display different applications respectively, the user initiates an entity recognition trigger operation in the application displayed in one of the display areas, triggering the entity recognition application and the computing engine service to complete the image entity recognition. The user clicks on the entity recognition result viewing icon, and in response to the user's operation behavior, the entity recognition application displays the entity recognition application. At this time, the user can long press and drag the entity annotation, and the entity content corresponding to the entity annotation will follow the movement in the interface. Optionally, the user can drag the entity content directly to the application displayed in another display area.

[0311] like Figures 21a to 21c The following is a schematic diagram of the application scenario, which details the process of users long pressing and dragging the entity logo to move the entity content. Figure 21a As shown in the figure, the left and right display areas of the folding screen display the gallery interface and the memo interface respectively. When the user views a picture in the gallery, entity recognition of the picture is triggered, and the entity annotation results shown in Figure 21 are displayed. Figure 21a and Figure 21b When the user long-presses entity annotation 2101 and drags it, the entity content 2102 corresponding to entity annotation 2101 moves as the user's finger moves. If the user long-presses entity annotation 2101 and drags it to an editable position in the memo interface, the entity content 2102 corresponding to entity annotation 2101 will be directly displayed at the editable position.

[0312] In this way, in an application scenario where the left and right display areas of a foldable phone display different applications, the user can long-press and drag an entity annotation in one display area. The entity content corresponding to the entity annotation will move with it in the interface, and the user can directly drag the entity content to the application displayed in the other display area. The user operation is simple and convenient, and the user experience is improved.

[0313] This embodiment further provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the information recommendation method in the above-mentioned embodiment.

[0314] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the information recommendation method in the above-mentioned embodiment.

[0315] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to execute the information recommendation method in the above-mentioned method embodiments.

[0316] Among them, the electronic device (such as a foldable screen mobile phone), computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0317] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0318] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0319] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An information recommendation method, characterized in that: include: In response to the received first operation, identifying a target image corresponding to the first operation; Wherein, the first operation includes a screenshot operation or an operation of viewing an image in a gallery; when the first operation is an operation of viewing an image in a gallery, when the source of the image being viewed is camera shooting, and the mode of the camera shooting belongs to a preset mode set, the target image is recognized in real time, or when the source of the image being viewed is an application screenshot, and the application corresponding to the application screenshot belongs to a preset application set, the target image is recognized in real time; When the recognition is completed and the target image contains key information of a preset type, a first interface is displayed; wherein the target image and a first icon are displayed in the first interface, and the first icon is displayed in an upper mask of the layer where the target image is located; In response to a second operation on the first icon, a second interface is displayed; wherein the target image and a mark of the key information are displayed in the second interface; In response to a third operation on one of the annotations, displaying a third interface; wherein the third interface displays identifications of one or more applications, the applications being recommended based on the information type of the key information corresponding to the one of the annotations; In response to a fourth operation on the identification of one of the applications, a fourth interface is displayed; wherein a display interface of one of the applications is displayed in the fourth interface, and content of the display interface is related to key information corresponding to one of the annotations.

2. The method according to claim 1, characterized in that The step of identifying, in response to the received first operation, a target image corresponding to the first operation includes: In response to the received first operation, when the target image meets the real-time recognition condition, the target image is recognized.

3. The method according to claim 2, characterized in that When the first operation is a screenshot operation, the target image satisfies the real-time recognition condition, including: When the application displayed on the interface during the screenshot operation satisfies the first recognition condition, and the screenshot sharing habit of the user satisfies the second recognition condition, the target image satisfies the real-time recognition condition; The first recognition condition is used to indicate an application program that has a recognition requirement, and the second recognition condition is used to indicate a user operation habit that complies with real-time recognition.

4. The method according to claim 2, characterized in that: When the first operation is an operation of viewing an image in a gallery, the target image satisfies a real-time recognition condition, including: In the case where the target image is an image taken by a camera, when the shooting attribute of the target image meets the third recognition condition, the target image meets the real-time recognition condition; In the case where the target image is a screenshot image, when the application displayed on the interface during the screenshot operation satisfies the first recognition condition, the target image satisfies the real-time recognition condition; The first recognition condition is used to indicate an application program that has a recognition requirement, and the third recognition condition is used to indicate a camera shooting mode that has an image recognition requirement.

5. The method according to claim 1, characterized in that: In response to the received first operation, a target image corresponding to the first operation is identified, and when the identification is completed and there is key information of a preset type in the target image, a first interface is displayed, including: Display the first camera shooting interface; In response to the received photographing operation, storing the target image obtained by photographing in a gallery, and identifying the target image; When the recognition is completed and there is key information of a preset type in the target image, the first interface is displayed in response to an operation of viewing the target image in a gallery.

6. The method according to claim 5, characterized in that The identifying the target image includes: When the shooting attribute of the target image satisfies a third recognition condition, the target image is recognized; wherein the third recognition condition is used to indicate a camera shooting mode that requires image recognition.

7. The method according to claim 5, characterized in that After identifying the target image, the method further includes: When the recognition is completed and there is key information of a preset type in the target image, displaying a second camera shooting interface; Among them, a second icon is also displayed in the second camera shooting interface, and the second icon is used to indicate that the target image has been recognized and key information of a preset type has been recognized in the target image.

8. The method according to claim 1, characterized in that Also includes: In response to the received charging operation, if there are unrecognized images in the gallery, the unrecognized images are recognized in sequence; In response to the received charging stop operation, if there are unrecognized images in the gallery, the operation of recognizing the unrecognized images is stopped.

9. The method according to claim 1, characterized in that: When an application logo is displayed in the third interface, the application logo is displayed in the form of a floating ball; When the identifiers of multiple applications are displayed in the third interface, the identifiers of the multiple applications are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the annotations.

10. The method according to claim 1, characterized in that The method is applied to a folding screen mobile phone, wherein the folding screen is in an unfolded state and includes a first display area and a second display area; The step of displaying a first interface in response to the received first operation includes: In response to the received first operation, displaying a first interface in the first display area; The displaying a second interface in response to a second operation on the first icon includes: In response to a second operation on the first icon, displaying a second interface in the first display area; The displaying of a third interface in response to a third operation on one of the annotations includes: In response to a third operation on one of the annotations, displaying a third interface in the first display area; The step of displaying a fourth interface in response to a fourth operation on the identification of one of the applications comprises: In response to a fourth operation on the identification of one of the applications, displaying a fourth interface in the second display area; or, In response to a fourth operation on identifying one of the applications, a fourth interface is displayed in a half-screen card window on the first display area.

11. The method according to claim 1, characterized in that: The step of displaying a first interface in response to the received first operation includes: In response to the received first operation, displaying the first interface in the first floating window; The displaying a second interface in response to a second operation on the first icon includes: In response to a second operation on the first icon, displaying a second interface in the first floating window; The displaying of a third interface in response to a third operation on one of the annotations includes: In response to a third operation on one of the annotations, displaying a third interface in the first floating window; The step of displaying a fourth interface in response to a fourth operation on the identification of one of the applications comprises: In response to a fourth operation on the identification of one of the application programs, a fourth interface is displayed in the second floating window.

12. The method according to claim 1, characterized in that The method is applied to a foldable screen mobile phone, the foldable screen is in an unfolded state, including a first display area and a second display area, the first display area displays a display interface of a first application, and the second display area displays a display interface of a second application; The step of displaying a first interface in response to the received first operation includes: In response to receiving a first operation on the first application, displaying a first interface in the first display area; The displaying a second interface in response to a second operation on the first icon includes: In response to a second operation on the first icon, displaying a second interface in the first display area; The method further comprises: In response to a long press operation and a drag operation on one of the annotations, a third floating window is displayed on the first display area, and the third floating window is moved to the second display area; wherein the drag operation is directed from the first display area to the second display area, and the third floating window displays key information content corresponding to the one of the annotations; In response to the long press operation and the drag operation stopping, the key information content is displayed in the corresponding information editing location in the display interface of the second application.

13. The method according to claim 1, characterized in that When the information type of the key information corresponding to one of the annotations is a code type, the content of the display interface is related to the key information corresponding to one of the annotations, including: The display interface displays a link interface corresponding to the key information; When the information type of the key information corresponding to one of the annotations is character type, the content of the display interface is related to the key information corresponding to one of the annotations, including: In the corresponding information editing area in the display interface, the content of the key information corresponding to one of the annotations is displayed.

14. The method according to claim 1, characterized in that The application is recommended based on the information type of the key information corresponding to one of the annotations and a default recommendation rule corresponding to the information type; Alternatively, the application is recommended based on the information type of the key information corresponding to one of the annotations and user habits; Alternatively, the application is recommended based on the information type of the key information corresponding to one of the annotations, the user operation, and the user portrait.

15. The method according to claim 1, characterized in that The method is applied to a folding screen mobile phone, wherein the folding screen is in an unfolded state and includes a third display area and a fourth display area; the method further includes: Displaying a fifth interface in the third display area; the fifth interface includes copyable text; In response to the copy operation received on the fifth interface, displaying a sixth interface in the third display area; wherein the sixth interface displays the identification of one or more application programs, and the application programs are recommended according to the information type corresponding to the copied text; In response to a click operation on the logo of one of the applications, the seventh interface is displayed in a half-screen card window in the third display area, or the seventh interface is displayed in the fourth display area; wherein the display interface of one of the applications is displayed in the seventh interface, and the copied text is displayed in the corresponding information editing location in the display interface.

16. The method according to claim 15, characterized in that When an application logo is displayed in the sixth interface, the application logo is displayed in the form of a floating ball; When the identifiers of multiple applications are displayed in the sixth interface, the identifiers of the multiple applications are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the annotations.

17. The method according to claim 15, characterized in that The step of displaying a sixth interface in the third display area in response to a copy operation received on the fifth interface includes: In response to a copy operation received on the fifth interface, recognizing the copied text; When the copied text belongs to a preset type of key information, recommend one or more pending applications according to the information type to which the copied text belongs; Sending the copied text to the software development kits SDK of each of the pending applications respectively, and receiving confirmation information fed back by the SDK of the pending application; wherein the confirmation information is used to indicate whether the recommendation is correct; According to the confirmation information fed back by the SDK of each of the pending applications, the application program to be displayed is screened out from the one or more pending applications, and the sixth interface is displayed in the third display area.

18. The method according to claim 15, characterized in that The application is recommended based on the information type corresponding to the copied text and a default recommendation rule corresponding to the information type; Alternatively, the application is recommended based on the type of information corresponding to the copied text and user habits; Alternatively, the application is recommended based on the information type corresponding to the copied text, the user operation, and the user portrait.

19. An electronic device, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device performs the following steps: In response to the received first operation, identifying a target image corresponding to the first operation; Wherein, the first operation includes a screenshot operation or an operation of viewing an image in a gallery; when the first operation is an operation of viewing an image in a gallery, when the source of the image being viewed is camera shooting, and the mode of the camera shooting belongs to a preset mode set, the target image is recognized in real time, or when the source of the image being viewed is an application screenshot, and the application corresponding to the application screenshot belongs to a preset application set, the target image is recognized in real time; When the recognition is completed and the target image contains key information of a preset type, a first interface is displayed; wherein the target image and a first icon are displayed in the first interface, and the first icon is displayed in an upper mask of the layer where the target image is located; In response to a second operation on the first icon, a second interface is displayed; wherein the target image and a mark of the key information are displayed in the second interface; In response to a third operation on one of the annotations, displaying a third interface; wherein the third interface displays identifications of one or more applications, the applications being recommended based on the information type of the key information corresponding to the one of the annotations; In response to a fourth operation on the identification of one of the applications, a fourth interface is displayed; wherein a display interface of one of the applications is displayed in the fourth interface, and content of the display interface is related to key information corresponding to one of the annotations.

20. The electronic device according to claim 19, characterized in that: When the computer program is executed by the one or more processors, the electronic device performs the following steps: In response to the received first operation, when the target image meets the real-time recognition condition, the target image is recognized.

21. The electronic device according to claim 20, characterized in that: When the first operation is a screenshot operation, the application displayed on the interface when the screenshot operation is performed meets the first recognition condition, and the user's screenshot sharing habit meets the second recognition condition, the target image meets the real-time recognition condition; The first recognition condition is used to indicate an application program that has a recognition requirement, and the second recognition condition is used to indicate a user operation habit that complies with real-time recognition.

22. The electronic device according to claim 20, characterized in that: When the first operation is an operation of viewing an image in a gallery, and when the target image is an image taken by a camera, and when the shooting attribute of the target image meets the third recognition condition, the target image meets the real-time recognition condition; When the first operation is an operation of viewing an image in a gallery, and when the target image is a screenshot image, when the application displayed on the interface when the screenshot operation is performed satisfies the first recognition condition, the target image satisfies the real-time recognition condition; The first recognition condition is used to indicate an application program that has a recognition requirement, and the third recognition condition is used to indicate a camera shooting mode that has an image recognition requirement.

23. The electronic device according to claim 19, characterized in that: When the computer program is executed by the one or more processors, the electronic device further performs the following steps: Display the first camera shooting interface; In response to the received photographing operation, storing the target image obtained by photographing in a gallery, and identifying the target image; In response to an operation of viewing the target image in a gallery, the first interface is displayed.

24. The electronic device according to claim 23, characterized in that: When the computer program is executed by the one or more processors, the electronic device performs the following steps: When the shooting attribute of the target image satisfies a third recognition condition, the target image is recognized; wherein the third recognition condition is used to indicate a camera shooting mode that requires image recognition.

25. The electronic device according to claim 23, characterized in that: When the computer program is executed by the one or more processors, the electronic device further performs the following steps: When the recognition is completed and there is key information of a preset type in the target image, displaying a second camera shooting interface; Among them, a second icon is also displayed in the second camera shooting interface, and the second icon is used to indicate that the target image has been recognized and key information of a preset type has been recognized in the target image.

26. The electronic device according to claim 19, characterized in that: When the computer program is executed by the one or more processors, the electronic device further performs the following steps: In response to the received charging operation, if there are unrecognized images in the gallery, the unrecognized images are recognized in sequence; In response to the received charging stop operation, if there are unrecognized images in the gallery, the operation of recognizing the unrecognized images is stopped.

27. The electronic device according to claim 19, characterized in that: When an application logo is displayed in the third interface, the application logo is displayed in the form of a floating ball; When the identifiers of multiple applications are displayed in the third interface, the identifiers of the multiple applications are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the annotations.

28. The electronic device according to claim 19, characterized in that: The electronic device is a folding screen mobile phone, and the folding screen is in an unfolded state and includes a first display area and a second display area; When the computer program is executed by the one or more processors, the electronic device performs the following steps: In response to the received first operation, displaying a first interface in the first display area; In response to a second operation on the first icon, displaying a second interface in the first display area; In response to a third operation on one of the annotations, displaying a third interface in the first display area; In response to a fourth operation of identifying one of the applications, a fourth interface is displayed in the second display area; or, in response to a fourth operation of identifying one of the applications, a fourth interface is displayed in a half-screen card window on the first display area.

29. The electronic device according to claim 19, characterized in that: When the computer program is executed by the one or more processors, the electronic device performs the following steps: In response to the received first operation, displaying the first interface in the first floating window; In response to a second operation on the first icon, displaying a second interface in the first floating window; In response to a third operation on one of the annotations, displaying a third interface in the first floating window; In response to a fourth operation on the identification of one of the application programs, a fourth interface is displayed in the second floating window.

30. The electronic device according to claim 19, characterized in that The electronic device is a foldable screen mobile phone, the foldable screen is in an unfolded state, and includes a first display area and a second display area; the first display area displays a display interface of a first application, and the second display area displays a display interface of a second application; When the computer program is executed by the one or more processors, the electronic device performs the following steps: In response to receiving a first operation on the first application, displaying a first interface in the first display area; In response to a second operation on the first icon, displaying a second interface in the first display area; When the computer program is executed by the one or more processors, the electronic device further performs the following steps: In response to a long press operation and a drag operation on one of the annotations, a third floating window is displayed on the first display area, and the third floating window is moved to the second display area; wherein the drag operation is directed from the first display area to the second display area, and the third floating window displays key information content corresponding to the one of the annotations; In response to the long press operation and the drag operation stopping, the key information content is displayed in the corresponding information editing location in the display interface of the second application.

31. The electronic device according to claim 19, characterized in that: When the information type of the key information corresponding to one of the annotations is a code type, a link interface corresponding to the key information is displayed in the display interface; When the information type of the key information corresponding to one of the annotations is character type, the content of the key information corresponding to one of the annotations is displayed at the corresponding information editing location in the display interface.

32. The electronic device according to claim 19, characterized in that: The application is recommended based on the information type of the key information corresponding to one of the annotations and a default recommendation rule corresponding to the information type; Alternatively, the application is recommended based on the information type of the key information corresponding to one of the annotations and user habits; Alternatively, the application is recommended based on the information type of the key information corresponding to one of the annotations, the user operation, and the user portrait.

33. The electronic device according to claim 19, characterized in that: The electronic device is a folding screen mobile phone, and the folding screen is in an unfolded state and includes a third display area and a fourth display area; When the computer program is executed by the one or more processors, the electronic device further performs the following steps: Displaying a fifth interface in the third display area; the fifth interface includes copyable text; In response to the copy operation received on the fifth interface, displaying a sixth interface in the third display area; wherein the sixth interface displays the identification of one or more application programs, and the application programs are recommended according to the information type corresponding to the copied text; In response to a click operation on the logo of one of the applications, the seventh interface is displayed in a half-screen card window in the third display area, or the seventh interface is displayed in the fourth display area; wherein the display interface of one of the applications is displayed in the seventh interface, and the copied text is displayed in the corresponding information editing location in the display interface.

34. The electronic device according to claim 33, characterized in that: When an application logo is displayed in the sixth interface, the application logo is displayed in the form of a floating ball; When the identifiers of multiple applications are displayed in the sixth interface, the identifiers of the multiple applications are displayed in the form of a list; the list also displays the content of the key information corresponding to one of the annotations.

35. The electronic device according to claim 33, characterized in that When the computer program is executed by the one or more processors, the electronic device performs the following steps: In response to a copy operation received on the fifth interface, recognizing the copied text; When the copied text belongs to a preset type of key information, recommend one or more pending applications according to the information type to which the copied text belongs; Sending the copied text to the software development kits SDK of each of the pending applications respectively, and receiving confirmation information fed back by the SDK of the pending application; wherein the confirmation information is used to indicate whether the recommendation is correct; According to the confirmation information fed back by the SDK of each of the pending applications, the application program to be displayed is screened out from the one or more pending applications, and the sixth interface is displayed in the third display area.

36. The electronic device according to claim 33, characterized in that The application is recommended based on the information type corresponding to the copied text and a default recommendation rule corresponding to the information type; Alternatively, the application is recommended based on the type of information corresponding to the copied text and user habits; Alternatively, the application is recommended based on the information type corresponding to the copied text, the user operation, and the user portrait.

37. A computer-readable storage medium comprising a computer program, characterized in that: When the computer program runs on an electronic device, the electronic device executes the information recommendation method as described in any one of claims 1 to 18.