Display method, electronic device, and storage medium
By recognizing personal information and displaying related interfaces, the problem of low exploratory nature and poor interactivity in image recommendations on electronic devices is solved, resulting in richer display effects and a better user experience.
Patent Information
- Application Number
- PCT/CN2026/096011
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-12
- Filing Date
- 2026-05-09
- Publication Date
- 2026-11-19
AI Technical Summary
Existing electronic devices exhibit low exploratory capabilities and poor interactivity in image classification and recommendation, resulting in suboptimal recommendation performance.
By recognizing the portrait information of the primary person, the system displays an interface related to that person, allowing users to view the portrait albums of other people associated with that person. Different display methods are used to distinguish and identify these individuals, and multiple operation methods are supported for viewing related media content.
The display effect and user experience of portrait albums for different people have been improved, interactivity has been increased, and it is convenient for users to view media content related to the people.
Smart Images

Figure CN2026096011_19112026_PF_FP_ABST
Abstract
Description
A display method, an electronic device, and a storage medium
[0001] This application claims priority to Chinese Patent Application No. 202510609036.8, filed on May 12, 2025, with the Chinese National Intellectual Property Administration, entitled “A Display Method, Electronic Device and Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to a display method, electronic device and storage medium. Background Technology
[0003] With the advancement of technology and the improvement of people's living standards, electronic devices such as mobile phones with camera functions have entered thousands of households. More and more users are keen on taking pictures or downloading images from apps, acquiring a large number of images.
[0004] Currently, mobile phones and other electronic devices can extract images from their saved files according to pre-defined categories (such as people, objects, locations, or shooting modes), and then recommend these images to users as separate albums. Users can click on an icon corresponding to an album displayed on the device to trigger the display of images belonging to the same category within that album. However, this approach only allows users to view images within fixed categories, resulting in low exploration potential and poor interactivity, thus leading to suboptimal recommendation performance. Summary of the Invention
[0005] This application provides a display method, an electronic device, and a storage medium. Implementing this method, the electronic device can identify a first person based on their facial information and display a first interface related to that first person. Users can view the photo albums of other people associated with the first person's photo album on the first interface, thus improving the display effect of different people's photo albums.
[0006] In a first aspect, this application provides a display method. The method includes: an electronic device acquiring facial image information of a first person; the electronic device displaying a first interface based on the facial image information of the first person, the first interface including a first display area, the first display area including an identifier of the first person and a first set of identifiers, the first set of identifiers including identifiers of at least one other person, the identifier of the first person being displayed in a first display mode, the identifiers of at least one other person being displayed in a second display mode, the first display mode and the second display mode being different, and the first set of identifiers not including the identifier of the first person; the electronic device receiving a selection operation for the identifier of the first person and displaying a second interface, the second interface including media content related to the first person.
[0007] Optionally, media content may include any one or more of the following: images, videos, GIFs, etc. Images may include portrait images and / or non-portrait images.
[0008] By implementing this method, electronic devices can identify a first person based on their facial information and display a first interface related to that first person. Users can then view the photo albums of other people that are related to the first person's photo album on the first interface, thus improving the display effect of photo albums for different people.
[0009] In some embodiments, after the electronic device displays the first interface, the electronic device can receive a selection operation from the user regarding the identifier of the first person, and display media content related to the first person, making it convenient for the user to view the media content related to the first person. The selection operation regarding the identifier of the first person may include single-click / double-click / multi-click / long-press operations, etc. It should be noted that the selection operation regarding the identifier of the first person can also be other operations, which are not limited in this application.
[0010] Optionally, in addition to receiving user selection operations for the first person's identifier and displaying media content related to the first person, the electronic device can also receive swiping operations on the first interface and display media content related to the first person.
[0011] In some embodiments, the first set of identifiers includes identifiers of the second person. After the electronic device displays the first interface, the electronic device receives the user's selection operation on the identifier of the second person (e.g., single click / double click / multiple click / long press operation, etc.) and displays media content related to the second person, so that the user can view the media content related to the second person.
[0012] For example, the first person can be the owner of the electronic device, the first interface can be the recommendation interface 1600 shown in Figure 2F or Figure 2G, the first display area can be the display area 1011 shown in Figure 2F or Figure 2G, the identifier of the first person can be the icon 1012 of the owner's portrait album shown in Figure 2F or Figure 2G, and the first set of identifiers can include the icons 1013 of person A's portrait album, 1014 of person B's portrait album, 1015 of person C's portrait album, 1016 of person D's portrait album, 1017 of person E's portrait album, 1018 of person F's portrait album, 1019 of person G's portrait album, and 1031 of person H's portrait album shown in Figure 2F or Figure 2G.
[0013] In conjunction with the first aspect, in one possible implementation, displaying the identifier of the first person in a first display mode and displaying the identifier of at least one other person in a second display mode includes: displaying the identifier of at least one other person around the identifier of the first person. For example, the display effect shown in Figure 2F can be referred to.
[0014] It should be noted that, not only is it limited to the logo of at least one other character being displayed around the logo of the first character, but the logo of at least one other character may also be displayed below the logo of the first character. For example, the display effect shown in Figure 2G can be referred to.
[0015] In conjunction with the first aspect, in one possible implementation, the first identifier set includes the identifier of the second person; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation on the identifier of the second person and the identifier of the first person, displaying a third interface, the third interface including a combined identifier of the first person and the second person and a second identifier set, the combined identifier of the first person and the second person being displayed in a first display mode, the second identifier set being displayed in a second display mode, and the second identifier set not including the combined identifier of the first person and the second person.
[0016] By implementing this method, the electronic device can receive user input and display a third interface related to the first and second people. The user can view portrait albums of other people that are related to the portrait album containing the first and second people's photos in the third interface, which also improves the display effect of portrait albums of different people.
[0017] For example, the third interface can be the recommendation interface 8100 shown in Figure 27B. The combined identifier of the first character and the second character can be the icon 2801 shown in Figure 27B, and the second identifier set can be the icon 1019 shown in Figure 27B.
[0018] For example, the third interface can be the recommendation interface 8400 shown in Figure 27C. The combined identifier of the first character and the second character can be icon 2802 shown in Figure 27C, and the second identifier set can be icon 1019 shown in Figure 27C.
[0019] In conjunction with the first aspect, in one possible implementation, the combined identifier of the first person and the second person is displayed in a first display mode, and the second identifier set is displayed in a second display mode, including: the identifiers of the persons in the second identifier set are displayed around the combined identifier of the first person and the second person. For example, refer to the display effects shown in Figures 27B or 27C.
[0020] It should be noted that, not only are the identifiers of characters in the second identifier set displayed around the combined identifier of the first and second characters, but the identifiers of characters in the second identifier set can also be displayed below the combined identifier of the first and second characters. For example, please refer to the display effect shown in Figure 2G.
[0021] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the third interface, the electronic device can receive a selection operation from the user regarding the combined identifier of the first and second characters, and then display a fourth interface. The fourth interface displays media content related to the first and second characters, facilitating user access to this content. The selection operation regarding the combined identifier of the first and second characters can include single-click / double-click / multi-click / long-press operations, etc. It should be noted that the selection operation regarding the combined identifier of the first and second characters can also be other operations, which are not limited in this application.
[0022] Optionally, in addition to the selection operation for the combined identifiers of the first and second characters, the electronic device can also receive a swipe operation by the user on the third interface to display the fourth interface. For example, please refer to the description in the embodiments of Figures 29A and 29B.
[0023] For example, the fourth interface may be the user interface 8200 shown in Figure 29B.
[0024] In conjunction with the first aspect, in one possible implementation, the operation on the identifiers of the second person and the first person includes dragging the identifier of the second person onto the identifier of the first person. For example, the identifier of the second person may be icon 1017 as shown in FIG27A, and the identifier of the first person may be icon 1012 as shown in FIG27A.
[0025] In conjunction with the first aspect, in one possible implementation, the fourth interface also includes: a solo portrait image of the first person who is related to both the first and second persons, and / or a solo portrait image of the second person who is related to both the first and second persons. Thus, while viewing the group photo of the first and second persons, the user can also view solo portrait images of the first person and / or the second person who are related to both the first and second persons on the fourth interface.
[0026] Among them, being related to the first person and the second person can mean that the location where the photo of the first person and the second person is generated or obtained is the same, and / or that the event recorded in the photo of the first person and the second person is the same, and / or that the time of generation or acquisition of the photo of the first person and the second person is within the same time period.
[0027] In conjunction with the first aspect, in one possible implementation, the fourth interface further includes at least one option; the method further includes: the electronic device receiving and responding to an operation on a first option among the at least one option in the fourth interface, displaying a fifth interface, the fifth interface including a portrait image related to the first person and the second person; and / or, the electronic device receiving and responding to an operation on a second option among the at least one option in the fourth interface, displaying a sixth interface, the sixth interface including a non-portrait image related to the first person and the second person; and / or, the electronic device receiving and responding to an operation on a third option among the at least one option in the fourth interface, displaying a seventh interface, the seventh interface including media content related to the first person and the second person within a second time period, generated or acquired; and / or, the electronic device receiving and responding to an operation on a fourth option among the at least one option in the fourth interface, displaying an eighth interface, the eighth interface including media content related to the first person and the second person at a second location, generated or acquired at a second location; and / or, the electronic device receiving and responding to an operation on a fifth option among the at least one option in the fourth interface, displaying a ninth interface, the ninth interface including media content related to the first person and the second person where the recorded event is a second event.
[0028] By implementing this method, the electronic device can receive user operations to filter and obtain portrait images and / or non-human images of the first and second individuals, and / or, the electronic device can also receive user operations to filter and obtain target media content based on one or more of events, locations, etc., making it convenient for users to view portrait images and / or non-human images of the first and second individuals and / or target media content of the first and second individuals, thus improving the user experience. For example, please refer to the description in the embodiments shown in Figures 31A-32.
[0029] In conjunction with the first aspect, in one possible implementation, the method further includes: an electronic device detecting the facial information of a first person via a camera; and the electronic device displaying a first marker at the identifier of the first person based on the detected facial information. The first marker is used to indicate that the first person is currently viewing the first interface.
[0030] For example, the first marker could be the effect 1023 shown in Figure 2H.
[0031] In conjunction with the first aspect, in one possible implementation, the first set of identifiers includes the identifiers of the second person; the method further includes: an electronic device detecting the facial information of the first person and the second person via a camera; the electronic device displaying a first marker at the identifier of the first person and a second marker at the identifier of the second person. The second marker is used to indicate that the second person is currently viewing the first interface.
[0032] For example, the second marker could be the effect 1024 shown in Figure 2I.
[0033] In conjunction with the first aspect, in one possible implementation, the first set of identifiers includes the identifiers of the second person; the method further includes: an electronic device detecting the facial information of the first person and the second person via a camera; the electronic device displaying a first marker at the identifier of the first person and a second marker at the identifier of the second person. The first and second markers are used to indicate that the first person and the second person are simultaneously viewing the first interface.
[0034] For example, the first marker can be effect 1023 as shown in Figure 2K, and the second marker can be effect 1024 as shown in Figure 2K.
[0035] In conjunction with the first aspect, in one possible implementation, after the electronic device displays a first mark at the identifier of the first person and a second mark at the identifier of the second person, the method further includes: the electronic device displaying a first prompt message, the first prompt message being used to instruct the user to view media content related to the first person and the second person; or, the electronic device displaying media content related to the first person and the second person.
[0036] By implementing this method, when multiple people are viewing the first interface at the same time, the electronic device can prompt the user to view a group photo of those multiple people, thus improving the user experience.
[0037] For example, the first prompt message can be the prompt message 1900 shown in Figure 2L.
[0038] In conjunction with the first aspect, in one possible implementation, the first interface further includes a second display area, which includes the identifier of the first person and the identifier of at least one other person; the electronic device further includes the identifier of a third person, which is not displayed in the second display area; the method further includes: the electronic device detects the image information of the third person through a camera; the electronic device displays the identifier of the third person in the second display area and displays a third mark at the identifier of the third person.
[0039] By implementing this method, if the electronic device detects that a third person is viewing the first interface, and the first interface does not display the identifier of the third person, the electronic device can display the identifier of the third person in the second display area and display a third mark at the identifier of the third person to indicate that a third person is viewing the first interface.
[0040] Optionally, the electronic device may display the identifier of the third person at the very front of the second display area, or it may display the identifier of the third person at any position at the very back or in the middle of the second display area. This application does not limit the display position of the identifier of the third person in the second display area.
[0041] For example, the second display area can be the display area 1020 shown in Figure 2J, the third character identifier can be the icon 1025 shown in Figure 2J, and the third mark can be the special effect 1026 shown in Figure 2J.
[0042] In conjunction with the first aspect, in one possible implementation, the electronic device displays a first marker at the identifier of the first person, specifically including: if the duration of the duration of the first person's image information detected by the electronic device through the camera exceeds a first duration, the electronic device displays a first marker at the identifier of the first person.
[0043] By implementing this method, if the electronic device continuously detects the image information of the first person through the camera for a first duration, the electronic device will then display a first mark at the first person's identification point. This can prevent the first person from accidentally entering the camera's shooting area and thus avoid displaying the first mark at the first person's identification point.
[0044] In conjunction with the first aspect, in one possible implementation, the electronic device includes an image application and a facial feature recognition module; the method further includes: the image application registering a facial feature recognition service with the facial feature recognition module; the electronic device displaying a first marker at the identifier of a first person, specifically including: the facial feature recognition module detecting the image information of the first person through a camera; the facial feature recognition module sending the tag of the first person to the image application; and in response to receiving the tag of the first person, the image application displaying the first marker at the identifier of the first person.
[0045] For example, an image application could be a gallery application. The image application can register with the facial recognition service of the facial recognition module to invoke the module's facial recognition capabilities, identify different individuals, and display markers at the identifiers of each individual. For example, please refer to the description in the embodiment shown in Figure 3D.
[0046] In conjunction with the first aspect, in one possible implementation, the facial feature recognition module sends the first person's tag to the image application, specifically including: when the image application is running in the foreground, the facial feature recognition module sends the first person's tag to the image application.
[0047] By implementing this method, when the image application is running in the foreground, the facial recognition module can send the tag of the first identified person to the image application, and the image application can display the first marker at the first person's identifier. Because when the image application is running in the background, the electronic device does not display the first interface, and the image application does not need to display the first marker at the first person's identifier, the facial recognition module also does not need to send the first person's tag to the image application, thus saving power consumption of the electronic device.
[0048] Optionally, when the image application is running in the background, the facial recognition module may not perform the operation of detecting the image information of the first person through the camera, which can save power consumption of electronic devices.
[0049] In conjunction with the first aspect, in one possible implementation, the first set of identifiers includes identifiers of the second person; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation on the identifiers of the second person in the first interface, and stopping the display of the identifiers of the second person in the first interface.
[0050] By implementing this method, when a user does not want to view the second person's photo album on the first screen, the electronic device can receive the user's operation to remove the second person's identifier from the first screen.
[0051] For example, the identifier of the second person could be icon 1016.
[0052] In conjunction with the first aspect, in one possible implementation, after the electronic device stops displaying the second person's identifier on the first interface, the method further includes: the electronic device reducing the association between the second person and the first person. Thus, after the electronic device reduces the association between the second person and the first person, the electronic device may not display the second person's identifier on the first interface.
[0053] In conjunction with the first aspect, in one possible implementation, after the electronic device stops displaying the identifier of the second person on the first interface, the method further includes: if it is confirmed that the first condition is met, the electronic device displays the identifier of the second person on the first interface again.
[0054] The first condition includes any one or more of the following: the number of new media content added by the second person is greater than the first value; the number of new photos of the second person and the first person is greater than the second value; the total number of photos of the second person and the first person is greater than the third value; and the total number of media content of the second person is greater than the fourth value.
[0055] By implementing this method, after the electronic device receives a user operation to remove the identifier of the second person from the first interface, if the first condition is met, the electronic device can display the identifier of the second person again on the first interface.
[0056] Optionally, after the electronic device can display the second person's icon again on the first screen, it can restore the association between the second person and the first person to its previous state. This allows the gallery app to display the second person's icon again on the recommendations screen.
[0057] For example, reference can be made to the description in the embodiments of Figures 22A-22C and 23.
[0058] In conjunction with the first aspect, in one possible implementation, the electronic device acquires the portrait information of the first person, specifically including: the electronic device acquires the portrait information of the first person through an image captured by a camera; or, the electronic device acquires the portrait information of the first person through a first image selected by the user in an image selection interface.
[0059] By implementing this method, electronic devices can acquire the portrait information of a first person, identify the first person based on the portrait information, and display a first interface related to the first person. Users can view the portrait albums of other people that are related to the first person's portrait album in the first interface, thus improving the display effect of portrait albums of different people.
[0060] Optionally, if the image selection interface does not display a portrait of the first person, the user can choose to capture a portrait of the first person using their camera to obtain their portrait information. Alternatively, the user can also directly capture a portrait of the first person using their camera without confirming whether a portrait of the first person is displayed in the image selection interface.
[0061] For example, the image selection interface can be the owner confirmation interface 1500 shown in Figure 2E. The portrait information of the first person can be the portrait image of the owner shown in Figure 2E. For example, refer to the description in the embodiments of Figures 2E and 3A.
[0062] In conjunction with the first aspect, in one possible implementation, the image selection interface displays identifiers for the individuals corresponding to the selfies, and the selfies are images that satisfy the second condition. The second condition may include: selfies from one or more individuals whose number of selfies ranks among the top n. Alternatively, the second condition may include: selfies from one or more individuals whose number of selfies exceeds a preset value.
[0063] In conjunction with the first aspect, in one possible implementation, the identifier of at least one other person includes the identifier of the second person; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation on the identifier of the second person, displaying a tenth interface, the tenth interface including the identifier of the second person and a third set of identifiers, the identifier of the second person being displayed in a first display mode, the third set of identifiers being displayed in a second display mode, and the third set of identifiers not including the identifier of the second person.
[0064] By implementing this method, electronic devices can receive user input and view portrait albums of other people that are related to the second person's portrait album, thus improving the display effect of portrait albums of different people.
[0065] For example, the operation for the identifier of the second person can be the input operation for icon 1016 as shown in Figure 25C, such as a click operation. The tenth interface can be the recommendation interface 7100 as shown in Figure 25D. The identifier of the second person can be icon 1016 as shown in Figure 25D. The third set of identifiers can be icons 1018, 1012, and 7102 as shown in Figure 25D.
[0066] In conjunction with the first aspect, in one possible implementation, the identifier of the second character is displayed in a first display mode, and the third set of identifiers is displayed in a second display mode, including: the identifiers of characters in the third set of identifiers are displayed around the identifier of the second character. For example, the display effect shown in Figure 25D can be referred to.
[0067] It should be noted that, not only are the identifiers of characters in the third identifier set displayed around the identifier of the second character, but the identifiers of characters in the third identifier set can also be displayed below the identifier of the first character. For example, please refer to the display effect shown in Figure 2G.
[0068] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the tenth interface, the method further includes: the electronic device receiving a selection operation for the identifier of the second person and displaying media content related to the second person.
[0069] By implementing this method, after the electronic device displays the tenth interface, the device can receive a user's selection operation on the identifier of the second person, and display media content related to the second person, making it convenient for the user to view the media content related to the second person. The selection operation on the identifier of the second person can include single-click / double-click / multi-click / long-press operations, etc. It should be noted that the selection operation on the identifier of the second person can also be other operations, and this application does not limit this.
[0070] Optionally, in addition to receiving user selection operations for the identifier of the second person and displaying media content related to the second person, the electronic device can also receive swiping operations on the tenth interface and display media content related to the second person.
[0071] In conjunction with the first aspect, in one possible implementation, the tenth interface further includes a third display area, the third display area including a cover of a story set related to the second character, the story set related to the second character including a collection of one or more images and / or one or more videos related to the second character; the method further includes: the electronic device receiving and responding to an operation on the cover of the first story set in the cover of the story set related to the second character, displaying the content of the first story set.
[0072] By implementing this method, electronic devices can receive user input to view content from story collections related to a second character.
[0073] For example, the third display area could be the story collection display area shown in Figure 25D. The first story collection could be a collection of videos or images themed around "Beijing," as shown in Figure 25E. For example, refer to the descriptions in Figures 25D-25F.
[0074] In conjunction with the first aspect, in one possible implementation, the first interface further includes a fourth display area, the fourth display area including a cover of a story set related to the first character, the story set related to the first character including a collection of one or more images and / or one or more videos related to the first character; the method further includes: an electronic device receiving and responding to an operation on the cover of a second story set in the cover of the story set related to the first character, displaying the content of the second story set.
[0075] By implementing this method, electronic devices can receive user input to view content from story collections related to the first character.
[0076] For example, the fourth display area could be the story collection display area shown in Figure 25A. The second story collection could be a collection of videos or images themed around "Xi'an," as shown in Figure 25A. For example, refer to the descriptions in Figures 25A-25B.
[0077] In conjunction with the first aspect, in one possible implementation, the degree of association between at least one other person and the first person is greater than a first value; wherein the degree of association between at least one other person and the first person is determined by the electronic device based on the user's operation on the portrait album of at least one other person, and / or by information of media content related to at least one other person.
[0078] In conjunction with the first aspect, in one possible implementation, the operation on the portrait album of at least one other person includes: a collection operation on the portrait album of at least one other person, a removal operation on the portrait album of at least one other person; and / or, the information on the media content related to at least one other person includes: the quantity of media content related to at least one other person, the quantity of group photos containing the first person and at least one other person, and the annotation relationship between the first person and at least one other person. For example, regarding how the electronic device obtains the correlation between at least one other person and the first person, please refer to the description in the embodiment of Figure 3B.
[0079] In conjunction with the first aspect, in one possible implementation, the second interface includes at least one option; after the electronic device displays the second interface, the method further includes: the electronic device receiving and responding to an operation on a sixth option among at least one option in the second interface, displaying an eleventh interface, the eleventh interface including a non-human image related to the first person; and / or, the electronic device receiving and responding to an operation on a seventh option among at least one option in the second interface, displaying a twelfth interface, the twelfth interface including a non-human image related to the first person; and / or, the electronic device receiving and responding to an operation on an eighth option among at least one option in the second interface, displaying a thirteenth interface, the thirteenth interface including media content related to the first person within a first time period, generated or acquired at a time of generation; and / or, the electronic device receiving and responding to an operation on a ninth option among at least one option in the second interface, displaying a fourteenth interface, the fourteenth interface including media content related to the first person at a first location, generated or acquired at a first location; and / or, the electronic device receiving and responding to an operation on a tenth option among at least one option in the second interface, displaying a fifteenth interface, the fifteenth interface including media content related to the first person where the recorded event is a first event.
[0080] By implementing this method, the electronic device can receive user operations to filter and obtain portrait images and / or non-portrait images of the first person, and / or, the electronic device can also receive user operations to filter and obtain target media content based on one or more of events, locations, etc., making it convenient for users to view portrait images and / or non-portrait images of the first person and / or target media content of the first person, thus improving the user experience. For example, please refer to the description in the embodiments shown in Figures 6A-9.
[0081] In conjunction with the first aspect, in one possible implementation, the electronic device includes a smart analysis module and an image application; the method further includes: the smart analysis module acquiring tag information of media content related to the first person, the tag information including any one or more of the following: location tag, time tag, event tag, person tag; the image application displays at least one option on a second interface based on the tag information of the media content related to the first person.
[0082] For example, the people tag can be the all-featured options shown in Figures 6A and 6B, or the option to display only portraits, or the option to display only non-portrait images. Refer to the description in the embodiment of Figure 7.
[0083] For example, the location label can be option 1026 as shown in Figure 8A, and the event label can be options 1027, 1028, 1029, and 1030 as shown in Figure 8A. Refer to the description in the embodiment of Figure 9.
[0084] In conjunction with the first aspect, in one possible implementation, the first display area includes the identifier of the second person, the first interface also includes a second display area including the identifier of the first person, the electronic device also includes the identifier of a third person, and the identifier of the third person is not displayed in the first display area or the second display area; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation on the first interface to change the display position of the identifier of the second person in the first display area; or, the electronic device receiving and responding to an operation on the first interface to remove the identifier of the second person displayed in the first display area; or, the electronic device receiving and responding to an operation on the first interface to add the identifier of the third person to the first display area or the second display area.
[0085] By implementing this method, the electronic device can receive user input to change the display position of the character's identifier on the first interface. For example, refer to the description in the embodiments shown in Figures 14A-14S.
[0086] For example, the identifier of the second person can be icon 1016, and the identifier of the third person can be icon 3103.
[0087] In conjunction with the first aspect, in one possible implementation, the first set of identifiers includes the identifiers of the second person and the identifiers of the third person; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to operations on the identifiers of the second person and the identifiers of the third person, stopping the display of the identifiers of the second person on the first interface, displaying the identifiers of the third person, and merging media content related to the second person into the portrait album of the third person.
[0088] By implementing this method, the electronic device can receive user input to merge two portrait albums of the same person into one portrait album. In some embodiments, the user can actively merge two portrait albums of the same person into one portrait album, as exemplarily described in the embodiments of Figures 18A-18D and 19. In other embodiments, the electronic device 100 can also prompt the user to merge two portrait albums of the same person into one portrait album, as exemplarily described in the embodiments of Figures 20A-20B and 21.
[0089] For example, the identifier of the second person can be icon 1016 as shown in Figure 18C or Figure 20B, and the identifier of the third person can be icon 1015 as shown in Figure 18C or Figure 20B.
[0090] In a second aspect, this application provides an electronic device, including a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the call to the computer program, the electronic device performs a display method provided in any possible implementation of the first aspect.
[0091] Thirdly, this application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform a display method provided in any possible implementation of the first aspect above.
[0092] Fourthly, this application provides a chip system including one or more processors, which are used to invoke computer instructions to cause an electronic device to execute a display method provided in any possible implementation of any of the above aspects.
[0093] Fifthly, this application provides a computer program product containing instructions that, when the computer program product is run on an electronic device, causes the electronic device to execute a display method provided in any possible implementation of any of the above aspects.
[0094] For a description of the beneficial effects in aspects two through five, please refer to the description of the beneficial effects in aspect one; this application will not repeat them here. Attached Figure Description
[0095] Figure 1A shows a schematic diagram of the hardware structure of an electronic device 100;
[0096] Figure 1B shows a software structure block diagram of an electronic device 100;
[0097] Figure 1C shows a schematic diagram of the interaction between various modules in an electronic device 100;
[0098] Figures 2A-2L exemplarily illustrate schematic diagrams of an electronic device 100 displaying a recommendation interface A;
[0099] Figure 3A shows a flowchart of a method for an electronic device 100 to display a recommendation interface A;
[0100] Figure 3B shows a flowchart of a method for displaying a recommended interface A in another electronic device 100;
[0101] Figure 3C shows a schematic diagram of the software interaction of an electronic device 100 that marks different people to view a recommendation interface A;
[0102] Figure 3D shows a flowchart of a method for an electronic device 100 to mark different people to view a recommendation interface A;
[0103] Figures 4A and 4B show schematic diagrams of an electronic device 100 displaying a portrait image of the device owner;
[0104] Figure 5 shows a flowchart of a method for an electronic device 100 to display a portrait image of the device owner;
[0105] Figures 6A-6C illustrate schematic diagrams of an electronic device 100 displaying non-human images that are associated with a human image of the device owner;
[0106] Figure 7 illustrates a flowchart of a method for an electronic device 100 to display a non-human image that is associated with a human image of the device owner.
[0107] Figures 8A and 8B illustrate schematic diagrams of electronic device 100 filtering portrait images of device owners related to preset locations;
[0108] Figure 9 illustrates a flowchart of a method for electronic device 100 to filter portrait images of the device owner related to preset locations and / or preset events.
[0109] Figures 10A-10C illustrate schematic diagrams of electronic device 100 deleting the owner's portrait image;
[0110] Figure 11 shows a flowchart illustrating the method of deleting the owner's portrait image by electronic device 100;
[0111] Figure 12 shows a schematic diagram of the method for electronic device 100 to collect portrait pictures of the device owner;
[0112] Figure 13 shows a schematic diagram of the method by which the electronic device 100 sets the owner's portrait image as the cover image of the owner's portrait album;
[0113] Figures 14A-14S illustrate the display order of icons for non-owner portrait albums displayed in the recommendation interface A of the electronic device 100;
[0114] Figure 15 shows a flowchart illustrating a method for an electronic device 100 to receive user operations to change the display position of the icon in the non-owner's photo album in the recommendation interface.
[0115] Figures 16A-16E illustrate how electronic device 100 names a non-owner's photo album displayed on electronic device 100;
[0116] Figure 17 shows a schematic diagram of the method for naming the non-owner's photo album displayed by the electronic device 100;
[0117] Figures 18A-18D illustrate how a set of electronic devices 1000 merges multiple portrait albums of the same person to obtain a single portrait album.
[0118] Figure 19 shows a schematic flowchart of a method for merging portrait albums using an electronic device 100;
[0119] Figures 20A-20B show schematic diagrams of another set of electronic devices 1000 merging multiple portrait albums of the same person to obtain a single portrait album;
[0120] Figure 21 shows a flowchart of another method for merging portrait albums using an electronic device 100;
[0121] Figures 22A-22C exemplarily illustrate schematic diagrams of the icons for the portrait album displayed in the deletion recommendation interface A of the electronic device 100;
[0122] Figure 23 shows a flowchart of a method for removing icons from the non-owner's photo album displayed in the recommendation interface A of an electronic device 100;
[0123] Figure 24 shows a flowchart of a method for an electronic device 100 to receive user operations to collect portrait albums of people;
[0124] Figures 25A-25B illustrate schematic diagrams of an electronic device 100 displaying images from one or more story sets related to the device owner;
[0125] Figures 25C-25D show schematic diagrams of the electronic device 100 displaying the recommended interface C;
[0126] Figures 25E-25F illustrate schematic diagrams of an electronic device 100 displaying images from one or more story sets that are not related to the device owner;
[0127] Figure 26 shows a flowchart of a method for an electronic device 100 to display the content of a character's story collection;
[0128] Figures 27A-27F show schematic diagrams of the electronic device 100 displaying the recommended interface D;
[0129] Figure 28 shows a schematic flowchart of the method for displaying the recommended interface D by the electronic device 100;
[0130] Figures 29A-29B show schematic diagrams of a group photo of the device owner and person E displayed on the electronic device 100;
[0131] Figure 30 shows a flowchart of a method for an electronic device 100 to display a photo of a first person and a second person together;
[0132] Figures 31A-31C illustrate schematic diagrams of an electronic device 100 displaying non-human images that are associated with a photograph of the device owner and person E;
[0133] Figure 32 shows a schematic diagram of the method for an electronic device 100 to display a non-human image related to a photo of the device owner and person E;
[0134] Figure 33 shows a flowchart of a display method. Detailed Implementation
[0135] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0136] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0137] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with a user. It realizes the conversion between the internal form of information and the form that the user can accept. The most common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be visual interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of a wearable device.
[0138] To improve the display and recommendation effects of media content such as images and videos, this application provides a display method applicable to electronic devices. In this method, the electronic device can categorize and display media content of different types in a set-like manner, and can respond to user interactions with at least one set by displaying the media content within that set, changing the display position of the set, or adding or removing media content from the set.
[0139] The categories of subjects in media content can include, but are not limited to, people, animals, and things. Subjects within the same category can be further divided into different subjects; for example, when the category of subjects is "people," different subjects can include different people.
[0140] Media content can include, but is not limited to, images, videos, and GIFs.
[0141] In some embodiments of this application, the electronic device may be a portable device, such as a mobile phone, tablet computer, wearable device with wireless communication capabilities (e.g., smartwatch, smart glasses, etc.), in-vehicle terminal device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), smart home device (e.g., smart TV, smart speaker, etc.), smart robot, workshop equipment, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, or wireless terminal in smart home, flying equipment (e.g., smart robot, drone, airplane), etc. Wearable devices are portable devices that users can wear directly on their body or integrate into their clothing or accessories.
[0142] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions. Exemplary embodiments of the portable terminal device include, but are not limited to, carrying... Alternatively, it could be a portable terminal device with another operating system. The aforementioned portable terminal device could also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of this application, the aforementioned electronic device may not be a portable terminal device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0143] For a description of the performance of electronic devices, please refer to the relevant descriptions below.
[0144] Referring to Figure 1A below, the structure of the electronic device to which the method provided in the embodiments of this application is applicable will be described.
[0145] As shown in Figure 1A, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a 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, a sensor module 180, a display screen 194, and a SIM card interface 195, etc.
[0146] The sensor module 180 may include a gyroscope sensor 180B, a magnetic sensor 180D, an accelerometer sensor 180E, a proximity sensor 180F, a touch sensor 180K, etc. The sensor module 180 may also include a temperature sensor, a pressure sensor, a proximity sensor, a fingerprint sensor, an ambient light sensor, a barometric pressure sensor, a bone conduction sensor, etc.
[0147] It is understood that the electronic device 100 shown in Figure 1A is merely an example and does not constitute a limitation on the electronic device. Furthermore, the electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in Figure 1A can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0148] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.
[0149] The processor 110 may also include a memory for storing instructions and data.
[0150] The execution of the display method provided in this application embodiment can be controlled by the processor 110 or by calling other components. For example, it can call the processing program of this application embodiment stored in the internal memory 121, or call the processing program of this application embodiment stored in a third-party device through the external memory interface 120 to control the wireless communication module 160 to perform data communication with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 may include different devices. For example, when integrating a CPU and a GPU, the CPU and GPU can cooperate to execute the display method provided in this application embodiment. For example, some algorithms in the display method can be executed by the CPU, and other algorithms can be executed by the GPU to achieve faster processing efficiency.
[0151] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. Display screen 194 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 194 can display various interfaces from the embodiments of this application.
[0152] In this embodiment of the application, the display screen 194 can be a single flexible display screen, or it can be a splicing display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
[0153] The electronic device 100 may also include a camera (a front-facing camera or a rear-facing camera, or a camera that can function as both a front-facing and a rear-facing camera), which is used to capture still images or videos.
[0154] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121.
[0155] The internal memory 121 may also store one or more computer programs corresponding to the algorithm of this application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.
[0156] Of course, the algorithm code of the embodiment of this application can also be stored in external memory. In this case, the processor 110 can run the algorithm code of the embodiment of this application stored in external memory through the external memory interface 120.
[0157] A touch sensor, also known as a "touch panel". The touch sensor can be set on the display screen 194, and the touch sensor and the display screen 194 together form a touch display screen, also known as a "touch screen".
[0158] For example, the display screen 194 of the electronic device 100 can display a main interface, which includes icons for multiple applications (such as a gallery application). For instance, a user can tap the gallery application icon on the main interface using a touch sensor, triggering the processor 110 to launch the gallery application, and the display screen 194 will then show the gallery application's interface.
[0159] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0160] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.
[0161] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc.
[0162] In addition, the electronic device 100 can implement audio functions such as music playback and recording through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, and an application processor.
[0163] In some embodiments, the electronic device 100 may further include buttons, motors, indicators, etc. The electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of the electronic device 100. The electronic device 100 can utilize a motor to generate vibration alerts (such as vibration alerts for incoming calls). The indicators in the electronic device 100 may be indicator lights, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc.
[0164] The SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be inserted into or removed from the electronic device 100 to achieve contact and separation with the electronic device 100.
[0165] It should be understood that in practical applications, the electronic device 100 may include more or fewer components than those shown in FIG. 1A, and the embodiments of this application are not limited thereto. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure 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.
[0166] Please refer to Figure 1B, which exemplarily illustrates the software structure block diagram of electronic device 100.
[0167] The electronic device provided in this application embodiment can run an operating system (OS). This operating system can be various operating systems used in the industry, such as an operating system based on OpenHarmony, like HarmonyOS; or other operating systems such as Android. TM An operating system can refer to the iOS mobile operating system; it can also refer to various open-source operating systems or their derivatives, such as Linux OS and other embedded operating systems; or it can refer to future new operating systems, such as AI operating systems based on artificial intelligence. An operating system is a set of interconnected system software programs that manage and control the operation of electronic devices, utilize and run hardware and software resources, and provide public services to organize user interactions. In electronic devices, the operating system connects downwards to the physical devices at the hardware layer and upwards to provide a runtime environment for application software.
[0168] An operating system typically includes a kernel layer, a middleware layer, and an application layer. The application layer includes applications, which can include system applications and third-party applications. The middleware layer includes a suite of software providing various services to application developers, or frameworks providing services such as databases, multimedia, and graphics, or capabilities such as distributed scheduling and system scaling. For example, the middleware layer may include a framework layer and / or a system service layer. The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The system service layer includes the system's core capabilities, providing services to applications through the framework layer. The kernel layer is the layer between hardware and software. The kernel layer may include hardware drivers and the operating system kernel. In addition to providing hardware drivers, the kernel layer also supports functions such as memory management and system process management.
[0169] The electronic devices we use in our daily lives come in various types and forms, and are applied in a wide range of scenarios. Therefore, based on the different forms and functions of electronic devices, different application scenarios, and different user needs, the operating systems used in these devices may also differ. The basic functions implemented by the electronic device provided in this application can be implemented using a general-purpose operating system or a dedicated operating system. To more clearly illustrate the implementation of the embodiments of this application under a specific operating system, the architecture of HarmonyOS is shown below. Those skilled in the art can deduce the implementation of the embodiments of this application under other specific operating systems, such as Android. TM Implementation under operating systems, etc.
[0170] As shown in Figure 1B, the software architecture of an electronic device can be divided into several layers. In some embodiments, from bottom to top, these layers are: kernel layer, system service layer, framework layer, and application layer. Layers communicate with each other through software interfaces. System functions can be tailored, added, or combined at the subsystem level depending on the deployment scenario of different device forms. Each subsystem can also be tailored, added, or combined at the functional level.
[0171] The Kernel Abstraction Layer (KAL) provides basic kernel capabilities to upper layers by shielding the differences between multiple kernels, including but not limited to process / thread management, memory management, file system, network management, and peripheral device management.
[0172] Kernel Subsystem: Supports the selection of a suitable OS kernel for different resource-constrained devices, including but not limited to Linux kernel, HarmonyOS kernel, LiteOS (Lite Operating System), etc.
[0173] Driver Subsystem: The driver framework is the foundation for the open system hardware ecosystem, providing unified peripheral access capabilities and a framework for driver development and management. The driver framework includes: display drivers, camera drivers, audio drivers, Bluetooth drivers, sensor drivers, etc.
[0174] The system service layer comprises the core capabilities of the system, providing services to applications through the framework layer. This layer includes, but is not limited to, the following subsystems:
[0175] The system's basic capability subsystem set provides fundamental capabilities for the operation, scheduling, and migration of distributed applications across multiple devices. This set may include distributed soft bus, distributed data management, distributed task scheduling, and Ark multi-language runtime; it may also include multi-modal input subsystem, graphics subsystem, security subsystem, and AI sub-business system.
[0176] In some embodiments, the system service layer may also include media intelligence analytics services.
[0177] Basic software service subsystem set: Provides public and general software services; the basic software service subsystem set may include an event notification subsystem, a telephone service subsystem, a multimedia subsystem, etc. In some embodiments, the basic software service subsystem set may include a media library.
[0178] In some embodiments, the media intelligent analysis service can retrieve media content and its feature information from the memory of the electronic device 100 through a media library. The feature information includes, but is not limited to, visual features, contextual features, and other features of the media content. The media intelligent analysis service can classify the media content based on its basic information, obtain analysis results, and then send these results to the media library, which can store the analysis results. The analysis results include, but are not limited to, collections of media content from different categories of subjects, the proximity between different collections of media content, and other media content related to a collection of media content.
[0179] For example, media content can be images, and the analysis results of media content can include: a collection of portrait images of different people, the degree of intimacy between collections of portrait images of different people, cover images of collections of portrait images of different people, and non-portrait images that are related to the collections of portrait images of people, etc.
[0180] For example, in a photo gallery application, a collection of portrait images of different people can also be called a portrait album of different people.
[0181] In some embodiments, the electronic device 100 can receive user operations on a media content set, and the media library can store the results of user operations on the media content set.
[0182] Enhanced software service subsystem suite: Provides differentiated enhanced software services for different devices; the enhanced software service subsystem suite may include smart screen proprietary business subsystem, wearable proprietary business subsystem, IoT proprietary business subsystem, etc.
[0183] Hardware service subsystem set: Provides hardware services; the hardware service subsystem set may include location service subsystem, user IAM (Identity and Access Management) subsystem, wearable proprietary hardware service subsystem, biometric identification, IoT proprietary hardware service subsystem, etc.
[0184] Distributed task scheduling enables distributed service management (discovery, synchronization, registration, and invocation), supporting remote startup, remote invocation, remote connection, and migration of applications across devices.
[0185] Distributed data management enables data synchronization, data storage, data sharing, and data access across all scenarios and devices.
[0186] The distributed soft bus provides communication-related capabilities for seamless interconnection between multiple devices, including: WLAN service capabilities, Bluetooth service capabilities, soft bus, inter-process communication (IPC), and StarFlash communication capabilities.
[0187] Ark Multilingual Runtime is a unified compilation runtime platform designed to support the joint compilation and execution of multiple programming languages and multiple chip platforms.
[0188] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The framework layer includes: the ArkUI framework (which provides a complete infrastructure for UI development of system applications, including UI functions such as components, layouts, animations, and interactive events, as well as a real-time interface preview tool), the user application framework, and the Ability framework (an Ability is a lightweight application; the Ability framework schedules and manages the operation and lifecycle of Abilities). Different devices may have different operating systems, and the APIs they support may also differ.
[0189] The HarmonyOS API is a series of open capabilities provided to support HarmonyOS application development. The HarmonyOS API can be set at the framework layer or independently of the framework layer. The HarmonyOS API includes the Audio API (audio service), Push API (push service), and Account API (account service), among others.
[0190] Applications can include system apps and extended / third-party apps. System apps can include the desktop, control bar, settings, contacts, phone, camera, gallery, etc., while extended / third-party apps can include, but are not limited to, social apps, travel apps, etc.
[0191] Figure 1C illustrates an example of the interaction diagram of the various modules in the electronic device 100.
[0192] As shown in Figure 1C, the electronic device 100 includes a gallery application, a media library, and media intelligence analytics services.
[0193] The media intelligence analysis service includes multiple algorithms, such as geographic parsing algorithms, face detection algorithms, face feature algorithms, face clustering algorithms, image labeling algorithms, aesthetic scoring algorithms, best presentation algorithms, video semantic algorithms, portrait optimization algorithms, pet clustering algorithms, and portrait affinity algorithms. The media intelligence analysis service can run these algorithms to analyze media content and obtain analysis results. These results include, but are not limited to: media content sets from different categories of subjects, the affinity between different media content sets, and other media content that is related to a media content set.
[0194] Optionally, the media intelligence analytics service can analyze media content when the electronic device 100 is in an idle state, a screen-off state, or a charging state with the screen off.
[0195] The media intelligence analytics service can also store the analysis results of media content in a media library.
[0196] For example, media content can be images, and the analysis results of media content can refer to the analysis results of images. Image analysis results can include: collections of portrait images of different people, the degree of intimacy between collections of portrait images of different people, cover images of collections of portrait images of different people, and non-portrait images that are related to collections of portrait images of different people, etc. Media intelligence analysis services can also store the image analysis results in a media library.
[0197] For example, in a photo gallery application, a collection of portrait images of different people can also be called a portrait album of different people.
[0198] In some embodiments, the media intelligent analysis service can generate various albums such as portrait albums of different people and pet albums based on the analysis results of the images, and store the information of various albums such as portrait albums of different people and pet albums in the media library.
[0199] In some embodiments, the media intelligence analytics service can also be combined with voice assistants (such as the "Xiaoyi" voice assistant) and map services.
[0200] The gallery app can retrieve information such as album cover details, album intimacy levels, and whether an album has been saved from the media library, and then display a recommendation screen.
[0201] In some embodiments, the gallery application may also receive user actions on the recommendation interface and display different user interfaces.
[0202] The solution provided in this application will be described in detail below with reference to the accompanying drawings.
[0203] In the solution provided in this application embodiment, the electronic device 100 can display media content of different categories of subjects in a set manner, and can recommend and display the set based on user operations. The categories of subjects in the media content can include, but are not limited to, people, animals, and objects. The media content can be various types of media content such as pictures (or images), GIFs, and videos; pictures can include portrait pictures and / or non-portrait pictures.
[0204] The following embodiments use images as the type of media content and people as the category of the main subject in the media content as an example to provide a detailed description of the solution provided in this application. The methods for other types of media content and other categories of the main subject in the media content can be implemented by referring to the methods described below, and will not be detailed in detail in this application embodiment.
[0205] In a photo gallery application, the electronic device 100 can categorize images by different people to create different portrait albums. This method is not limited to photo gallery applications; it can also be applied to other applications. The corresponding methods for other applications can be found in the implementation details of the photo gallery application method described below, and will not be elaborated upon further in this embodiment.
[0206] In this embodiment, the icon for a person's portrait album can also be referred to as a person's identifier, and the icons for multiple people's portrait albums can also be simply referred to as an identifier set. A person's portrait image can also be referred to as a portrait image related to that person. A person's non-portrait image can also be referred to as a non-portrait image related to that person, or a non-portrait image that is associated with a portrait image related to that person. The degree of association between different people's portrait albums can also be referred to as the degree of association between different people.
[0207] The following details how the electronic device 100 displays portrait albums in the gallery application and receives user input to edit portrait albums in the gallery application.
[0208] 1. Electronic device 100 displays a recommended interface A, which includes an icon for the owner's photo album and icons for non-owner photo albums that are related to the owner's photo album.
[0209] In this application embodiment, the owner of the device can be referred to as the first person, and the non-owner can include the second person and the third person.
[0210] In one possible solution provided in this application embodiment, the electronic device 100 can display a recommendation interface A in response to a received user operation. The recommendation interface A may include icons for multiple portrait albums, each album icon indicating that album. Each portrait album may include one or more portrait images of a single person, or each album may include one or more portrait images of a single person and one or more non-portrait images associated with those images.
[0211] Figures 2A-2L exemplarily illustrate schematic diagrams of an electronic device 100 displaying a recommended interface A.
[0212] Figure 2A exemplarily illustrates a user interface on an electronic device 100 for displaying applications installed on the electronic device 100. This user interface may include: a status bar 1001, a calendar indicator, a weather indicator, a tray 1004 with icons of commonly used applications, and other application icons 1002. Wherein:
[0213] Other application icons 1002 may include browser application icons, gallery application icons, music application icons, shopping app icons, email application icons, cloud sharing application icons, notes application icons, settings application icons, etc. Below these application icons, a page indicator 1003 may also be displayed to indicate the positional relationship between the currently displayed page and other pages. Below the page indicator is a tray icon 1004 containing frequently used application icons, which may include camera application icons, contacts application icons, messaging application icons, and dialer application icons. The application icons remain displayed when switching pages.
[0214] Electronic device 100 can detect user actions performed on the gallery application icon, and in response to such actions, electronic device 100 can display the gallery interface 1200 shown in Figure 2B. The gallery interface 1200 can be the default user interface of the gallery application, on which the user can view the pictures and / or videos stored in the gallery application.
[0215] It is understood that the user operations mentioned in this application may include, but are not limited to, touch, click, voice control, gesture, etc., and this application does not impose any restrictions on them.
[0216] As shown in Figure 2B, the gallery interface 1200 includes identifiers for multiple albums and the number of pictures or videos contained in each album. Album identifiers may include "Pictures," "Videos," "My Favorites," "New Album 1," "New Album 2," "Portraits," "Locations," and "Categories." Specifically, the "Pictures" album contains all pictures saved in the gallery application, comprising 9234 pictures. The "Videos" album contains all videos saved in the gallery application, comprising 3452 videos. The "My Favorites" album contains all pictures saved by the user in the gallery application, comprising 356 pictures. The "New Album 1" album contains pictures added by the user, comprising 15 pictures. The "New Album 2" album contains pictures added by the user, comprising 23 pictures. The "Portraits" album contains all portrait pictures saved in the gallery application, comprising 134 pictures. The "Locations" album contains photos saved by the gallery app that are associated with one or more locations. The "Locations" album contains 32 photos. The "Categories" album contains 13 photos.
[0217] As shown in Figures 2B and 2C, the electronic device 100 can receive user input operations on the icons of the "Portrait" album, such as a click operation. In response to the user's input operation, the electronic device 100 can display the portrait album interface 1300 shown in Figure 2C. The portrait album interface 1300 includes icons for portrait albums of multiple different people, and each portrait album includes one or more portrait pictures of the same person.
[0218] Optionally, the portrait album icon can display either the "Favorite" option 1005 or 1006. If the user has not favorited the portrait album, the icon will display "Favorite" option 1005. If the user has already favorited the portrait album, the icon will display "Favorite" option 1006, which can be highlighted to indicate that the album has been favorited.
[0219] The portrait album interface 1300 also includes option 1007, which allows users to switch to the display interface showing the association relationship of the portrait album. This association relationship display interface can be referred to as the recommendation interface.
[0220] In some embodiments, as shown in Figures 2C and 2D, electronic device 100 can receive user input for option 1007, such as a click operation, and in response to the user's input, electronic device 100 can display the prompt interface 1400 shown in Figure 2D.
[0221] As shown in Figure 2D, the prompt interface 1400 includes the text message "The remaining 20% of photos in the protagonist planet generation are yet to be analyzed. Please charge overnight and turn off the screen to complete the analysis." This text message is used to prompt the user that the electronic device 100 has not yet obtained the correlation between different characters' portrait albums, or the electronic device 100 has not yet categorized the images to obtain different characters' portrait albums, and therefore cannot display the recommendation interface. The user can put the electronic device 100 in a charging and screen-off state to continue analyzing the remaining 20% of the images to obtain the correlation between different characters' portrait albums.
[0222] In some embodiments, as shown in Figures 2D and 2E, in response to a user's input operation on option 1007, electronic device 100 may display the owner confirmation interface 1500 shown in Figure 2E.
[0223] As shown in Figure 2E, the owner confirmation interface 1500 includes a portrait display area 1008, a portrait switching option 1009, and a confirmation option 1010. The portrait display area 1008 is used to display a portrait image so that the user can confirm whether the portrait image displayed in the portrait display area 1008 is the portrait image of the owner, where the owner can refer to the holder of the electronic device 100.
[0224] Electronic device 100 can acquire portrait images of one or more people and display these images sequentially in portrait display area 1008, allowing the user to confirm whether the portrait images include the owner's image. If the portrait image displayed in portrait display area 1008 is not the owner's image, electronic device 100 can receive user input for switching portrait options 1009, such as a left or right swipe, to switch the portrait image displayed in portrait display area 1008.
[0225] In some embodiments, the electronic device 100 can obtain the number of portrait images of different people stored in a photo library application, determine one or more people whose number of portrait images exceeds a preset value, and then obtain portrait images of those one or more people. Here, the portrait images can be selfies or non-selfie images.
[0226] In other embodiments, the electronic device 100 can acquire the number of selfie pictures of different people, sort the number of selfie pictures of different people, determine one or more people whose number of selfie pictures ranks in the top n (e.g., n can be 5), and then use the selfie pictures of the one or more people as portrait pictures of the one or more people.
[0227] Optionally, if the portrait images of one or more of the aforementioned individuals acquired by the electronic device 100 do not include the portrait image of the device owner, the electronic device 100 may also capture portrait images through a camera and use the portrait images captured by the camera as the portrait image of the device owner.
[0228] Optionally, the electronic device 100 can also acquire the facial image corresponding to the screen unlock, use the facial image as the owner's portrait image, and display it in the portrait display area 1008 shown in Figure 2E, allowing the user to see if the portrait image is the owner's portrait image.
[0229] In some embodiments, as shown in Figures 2E and 2F, if the portrait image displayed in the portrait display area 1008 is the portrait image of the device owner, the electronic device 100 can receive the user's input operation for the confirmation option 1010, such as a click operation. In response to the user's input operation, the electronic device 100 can display the recommendation interface 1600 shown in Figure 2F.
[0230] Optionally, recommended interface A can be recommended interface 1600.
[0231] As shown in Figure 2F, the recommended interface 1600 includes display area 1011, display area 1020, story collection display area, and featured protagonist display area.
[0232] In other embodiments, the prompt interface 1400 shown in FIG2D can also be accessed through other entry points. For example, input operations can be performed on the owner confirmation interface 1500 shown in FIG2E, or on the recommendation interface 1600 shown in FIG2F, or on the icon of the "Portrait" album shown in FIG2B, or on other functional controls on the gallery interface 1200 shown in FIG2B. The display area 1011 includes icons for multiple portrait albums of different people, such as icon 1012 for the owner's portrait album, icon 1013 for person A's portrait album, icon 1014 for person B's portrait album, icon 1015 for person C's portrait album, icon 1016 for person D's portrait album, icon 1017 for person E's portrait album, icon 1018 for person F's portrait album, icon 1019 for person G's portrait album, and icon 1031 for person H's portrait album.
[0233] Icon 1012 is displayed in the center of display area 1011, while icons 1013, 1014, 1015, 1016, 1017, 1018, and 1019 are displayed around icon 1012 to indicate that the recommendation interface 1600 displays non-owner portrait albums that are related to the owner's portrait album.
[0234] Optionally, the non-owner's photo albums displayed in display area 1011 have a correlation degree greater than the owner's photo album. Non-owner's photo albums with a correlation degree less than the owner's photo album are not displayed in display area 1011.
[0235] The display area 1020 shows icons for non-owner photo albums that are associated with the owner's photo album. The electronic device 100 can display the icons of the non-owner photo albums from left to right, according to the degree of association between the non-owner photo albums and the owner's photo album, from high to low.
[0236] For example, if person F's photo album has the highest correlation with the owner's photo album, then person F's photo album icon can be displayed at the forefront of display area 1020. If person B's photo album has a lower correlation with the owner's photo album than person F's photo album, then person B's photo album icon can be displayed after person F's photo album icon, and so on.
[0237] Optionally, the electronic device 100 may receive input operations from the user on the display area 1020, such as a swipe-left operation, to display non-owner portrait albums that are associated with the owner's portrait album in the display area 1020.
[0238] The story collection display area shown in Figure 2F displays icons for multiple videos or multiple image collections. These videos or image collections are generated based on portrait photos and / or non-portrait photos according to different themes, with different videos or image collections having different themes. Portrait photos and / or non-portrait photos can include any one or more of the following: a portrait photo of the device owner, non-portrait photos related to the portrait photo of the device owner, portrait photos of other people related to the portrait photo of the device owner, and non-portrait photos of other people related to the portrait photo of the device owner. For example, the story collection display area shown in Figure 2F displays icons for video or image collections themed "Xi'an," "Holidays," "Birthday," and "Travel." The electronic device 100 can receive user input to sequentially display the videos or images in the image collections.
[0239] The featured display area shown in Figure 2F displays portrait images of the device owner, such as images 1021 and 1022. The electronic device 100 can receive swiping actions from the user on the recommendation interface 1600, such as swiping up to view more portrait images of the device owner.
[0240] It should be noted that Figure 2F above only exemplifies one display style of the recommendation interface A, and is not limited to the display of other characters' icons surrounding the owner's icon 1012. The recommendation interface A can also have other display styles, and the icons of other characters and the owner's icon 1012 can also have other display forms. For example, the owner's icon 1012 can be displayed above the icons of other characters, or the icons of other characters can be arranged and displayed below the owner's icon 1012, etc.
[0241] For example, as shown in Figure 2G, another display style of the recommendation interface A is illustrated. Figure 2G is similar to Figure 2F, except that the display positions of the owner's icon 1012 and the icons of other characters are different in Figure 2G.
[0242] The following embodiments of this application are merely illustrative examples of the recommended interface A as shown in Figure 2F, and do not constitute a limitation.
[0243] In some embodiments, after the electronic device 100 displays the recommendation interface 1600, the electronic device 100 can identify the user currently using the electronic device 100 through a camera. If the user currently using the electronic device 100 is the owner, the electronic device 100 can display the special effect 1023 shown in Figure 2H near the icon 1012 of the owner's portrait album. For example, the special effect 1023 can be a halo effect, etc. The special effect 1023 is used to prompt the user that the owner is currently viewing the recommendation interface 1600.
[0244] Optionally, if the user currently using the electronic device 100 is person F, the electronic device 100 can display the special effect 1024 shown in Figure 2I near the icon 1018 of person F's portrait album. For example, the special effect 1024 can be a halo effect, etc. The special effect 1024 is used to prompt the user that person F is currently viewing the recommendation interface 1600.
[0245] Optionally, if the user currently using electronic device 100 is person H, and the icon of person H's portrait album is not displayed in display area 1011 or display area 1020, as shown in Figure 2J, electronic device 100 can display the icon 1025 of person H's portrait album at the forefront of display area 1020, and display special effects 1026 near the icon 1025 of person H's portrait album. For example, special effects 1026 can be a halo effect, etc. Special effects 1026 are used to prompt the user that person H is currently viewing the recommendation interface 1600.
[0246] It should be noted that Figures 2H, 2I, and 2J can be displayed in pairs or in multiple combinations.
[0247] For example, if the electronic device 100 detects multiple people through its camera, the electronic device 100 can display special effects at the icons of the multiple people's portrait albums. These multiple people may include the device owner and non-owners, or multiple non-owners.
[0248] For example, as shown in Figure 2K, when the electronic device 100 detects the owner and person F through the camera, the electronic device 100 can display effect 1023 at the icon 1012 of the owner's portrait album and effect 1024 at the icon 1018 of the person F's portrait album.
[0249] In some embodiments, when the electronic device 100 detects multiple people through a camera, the electronic device 100 may also display a first prompt message, which prompts the user to view a group photo of the multiple people.
[0250] For example, as shown in Figure 2L, when the electronic device 100 detects the owner and person F through the camera, the electronic device 100 can display a prompt message 1900. The prompt message 1900 includes the text "View the photo of the two people," and is used to prompt the user to view the photo of the owner and person F. The prompt message 1900 also includes a "Go to View" option, and the electronic device 100 can receive input from the user regarding the "Go to View" option, such as a click operation, to view the photo of the owner and person F.
[0251] In other embodiments, when the electronic device 100 detects multiple people through the camera, the electronic device 100 can also directly display a group photo of these multiple people, saving user operation.
[0252] Using the method shown in Figures 2A-2L, users can view the portrait albums of different people stored in the electronic device 100, as well as the relationship between the portrait albums of different people and the portrait album of the device owner.
[0253] Figure 3A shows a flowchart of a method for an electronic device 100 to display a recommended interface A.
[0254] S3001A, electronic device 100 receives user input when viewing recommended interface A.
[0255] For example, receiving a user's operation to view the recommendation interface A can be an input operation for the icon of the "Portrait" album as shown in Figure 2B, or an input operation for option 1007 as shown in Figure 2C, or an input operation for the confirmation option 1010 as shown in Figure 2E.
[0256] S3002A, Electronic device 100 confirms whether the recommended interface A can be displayed.
[0257] The electronic device 100 can display a recommended interface A, which may indicate that the electronic device 100 has categorized the images and obtained portrait albums of different people, or that the electronic device 100 has obtained the correlation between portrait albums of different people, or that the analysis volume of photos stored in the photo library application exceeds a preset value, or that the analysis volume of photos stored in the photo library application is less than a preset value, but the ratio between the analysis volume of the number of photos stored in the photo library application and the total number of photos stored in the photo library application exceeds a preset ratio.
[0258] If it is confirmed that the recommended interface A can be displayed, the electronic device 100 can execute S3004A-S3006A.
[0259] If it is confirmed that the recommended interface A cannot be displayed, the electronic device 100 can execute S3003A.
[0260] S3003A, Electronic device 100 prompts that recommended interface A cannot be displayed.
[0261] If it is confirmed that recommended interface A cannot be displayed, electronic device 100 may display a message indicating that recommended interface A cannot be displayed.
[0262] For example, electronic device 100 may display the prompt interface 1400 shown in FIG2D.
[0263] Optionally, electronic device 100 may not execute S3002A-S3003A.
[0264] S3004A, Electronic device 100 confirms whether there is a picture of the owner.
[0265] If it is confirmed that the recommended interface A can be displayed, the electronic device 100 can display a user interface that includes multiple portrait images, allowing the user to confirm whether the multiple portrait images include the image of the device owner.
[0266] For example, electronic device 100 may display owner confirmation interface 1500 as shown in FIG2E to allow the user to confirm whether a portrait image of the owner exists.
[0267] If the existence of a picture of the owner is confirmed, the electronic device 100 can execute S3006A.
[0268] If it is confirmed that there is no image of the owner, the electronic device 100 can execute S3005A.
[0269] S3005A, Electronic Device 100 prompts the user to reselect a portrait photo of the device owner.
[0270] If it is confirmed that there is no image of the owner, the electronic device 100 may prompt the user to select an image of the owner again.
[0271] In some embodiments, the electronic device 100 may prompt the user to take a picture with the camera to obtain a portrait image of the device owner.
[0272] In other embodiments, the electronic device 100 allows a user to select a portrait of the device owner from a wider selection of images in a gallery application.
[0273] S3006A, Electronic device 100 displays a recommended interface A, which includes an icon for the owner's photo album and icons for one or more non-owner photo albums.
[0274] If the existence of the owner's portrait image is confirmed, the electronic device 100 can obtain the correlation between one or more non-owner portrait albums and the owner's portrait album, and display the recommendation interface A based on the correlation between one or more non-owner portrait albums and the owner's portrait album.
[0275] Optionally, recommended interface A includes a core display area and a non-core display area. The non-core display area includes one or more icons of non-owner's portrait albums, and the core display area includes icons of the owner's portrait albums, as well as one or more icons of non-owner's portrait albums with a correlation greater than a first value to the owner's portrait albums.
[0276] Optionally, in the core display area, one or more icons for non-owner portrait albums can be displayed around the owner's portrait album icon.
[0277] For details on how the electronic device 100 obtains the correlation between one or more non-owner photo albums and the owner's photo album, please refer to the description in the embodiment of Figure 3B, which will not be repeated here. For example, the recommendation interface A can be the recommendation interface 1600 shown in Figure 2F, as described in Figure 2F.
[0278] Figure 3B shows a flowchart illustrating a method for displaying a recommended interface A on another electronic device 100.
[0279] As shown in Figure 3B, the electronic device 100 includes a gallery application, a media library, and media intelligence analytics services. The method flow shown in Figure 3B includes, but is not limited to, the following steps:
[0280] Optionally, the electronic device 100 can receive user suggestions in the gallery application or settings application to enable or disable the media intelligence analysis service.
[0281] S3001B, the media intelligence analysis service, categorizes images to obtain portrait albums for different individuals, album cover images, and the intimacy between portrait albums.
[0282] The media intelligent analysis service can acquire feature information of images stored in image library applications, identify these features, and classify the subjects within the images based on these features. Candidate images belonging to the same subject are then grouped into the same image set. In this embodiment, grouping an image into a specific image set can be understood as using that image set as the set to which the image belongs (but does not mean that the image belongs exclusively to that set). The identification of the subject category can be achieved using one or more large models.
[0283] Image features include, but are not limited to, any one or more of the following: visual features, contextual features, and other features.
[0284] Visual features can be used to characterize display-related attributes of an image, such as content, structure, and texture. For example, visual features may include semantic features, color features, texture features, and edge (or contour) features, and may also include other related features, which will not be listed individually in this embodiment. Semantic features describe information about the image, such as the scene depicted, the main objects within the image, and the actions of the main objects. Color features indicate color-related characteristics in the image, such as the image's hue and the colors it contains. Texture features reflect homogeneous phenomena in the image, representing the slowly changing or periodically altered surface structure of objects. Edge features indicate the characteristics of curves (i.e., contour lines or edge lines) with consecutive points of the same color or grayscale value in the image.
[0285] Contextual features can be used to characterize the overall attributes of an image, as well as its relationship with other images. For example, contextual features may include the image's source, time (e.g., generation time or acquisition time), and location (e.g., generation location or acquisition location). Other relevant features may also be included, but these will not be listed individually in this embodiment.
[0286] Optionally, other features may include atmospheric features, the main subject in the image, and features of the main subject in the image.
[0287] For example, the main object in the image can be any type of object such as a person, animal, or thing, and no specific limitation is made in this embodiment. The features of the main object in the image may include posture (or pose) features, identity features (for example, when the main object in the image is a person, identity features may include the person's facial features, etc.), or other features, and no specific limitation is made in this embodiment.
[0288] In one example, electronic device 100 can divide images into portrait sets based on the people they contain. Specifically, electronic device 100 can group images containing the same person into the same portrait set. Portrait sets containing different people may include one or more images of the same person. For example, portrait set 1 may include images containing person A, portrait set 2 may include images containing person 2, and so on. When an image contains both person 1 and person 2, that image belongs to both portrait set 1 and portrait set 2.
[0289] Optionally, in addition to dividing the image collection based on people, the electronic device 100 can also divide the image collection according to animals or objects. This explanation will only use the division of the image collection based on people as an example.
[0290] Optionally, in gallery applications, a collection of portraits can also be referred to as a portrait album.
[0291] For example, a portrait album may include the portrait album of the device owner Nina, the portrait album of person A, the portrait album of person B, the portrait album of person C, the portrait album of person D, the portrait album of person E, the portrait album of person F, the portrait album of person G, the portrait album of person H, the portrait album of person I, etc.
[0292] In some embodiments, after dividing the portrait albums of different people, the electronic device 100 can acquire non-portrait images. If the generation time or acquisition time of the non-portrait image is within the same time period as the generation time or acquisition time of any portrait image in the portrait album, or the generation location or acquisition location of the non-portrait image is the same as the generation location or acquisition location of the portrait image, or the event recorded in the non-portrait image is the same event as the event recorded in the portrait image, then it can be confirmed that the non-portrait image and the portrait image are associated.
[0293] In one possible implementation, the electronic device 100 can recreate the non-human portrait album of a person and assign the aforementioned non-human portrait images to the non-human portrait album of that person.
[0294] In other possible implementations, the electronic device 100 may also classify the aforementioned non-human images into the portrait album of the person.
[0295] For example, electronic device 100 can obtain a portrait album of person A, which includes one or more portrait images of person A, such as portrait image A. Electronic device 100 can also obtain non-portrait image A. If the generation time or acquisition time of non-portrait image A is within the same time period as the generation time or acquisition time of portrait image A, or the generation location or acquisition location of non-portrait image A is the same as the generation location or acquisition location of portrait image A, or the event recorded in non-portrait image A is the same event recorded in portrait image A, in one possible implementation, electronic device 100 can create a new non-portrait album for person A and add non-portrait image A to this album. In other possible implementations, electronic device 100 can also add non-portrait image A to person A's portrait album.
[0296] In some embodiments, after obtaining portrait albums of different individuals, the media intelligence analysis service can select the optimal portrait image from multiple portrait images in the same individual's album and use this optimal portrait image as the cover image of the album. The optimal portrait image may refer to an image that has higher clarity and a better pose compared to other portrait images in the album.
[0297] For example, the cover image of Nina's photo album can be the portrait image displayed in icon 1012 as shown in Figure 2F. The cover image of Person A's photo album can be the portrait image displayed in icon 1013 as shown in Figure 2F. The cover image of Person B's photo album can be the portrait image displayed in icon 1014 as shown in Figure 2F. The cover image of Person C's photo album can be the portrait image displayed in icon 1015 as shown in Figure 2F. The cover image of Person D's photo album can be the portrait image displayed in icon 1016 as shown in Figure 2F. The cover image of Person E's photo album can be the portrait image displayed in icon 1017 as shown in Figure 2F. The cover image of Person F's photo album can be the portrait image displayed in icon 1018 as shown in Figure 2F. The cover image of Person G's photo album can be the portrait image displayed in icon 1019 as shown in Figure 2F.
[0298] The intimacy level between the first and second portrait albums can be determined based on the number of portrait and / or non-portrait photos of the person corresponding to the first album, the number of group photos between the two people corresponding to the first and second albums, and the user-labeled relationships between the people. User-labeled relationships can include, but are not limited to, one or more of the following: family, friends, clients, colleagues, etc.
[0299] The more portrait and / or non-portrait photos of the person in the first portrait album, the more photos of the two people in the first and second portrait albums together, and the more important the relationship the user labels, the higher the intimacy between the first and second portrait albums. Different relationships have different levels of importance; for example, family relationships are more important than friendship relationships, and friendship relationships are more important than client or colleague relationships.
[0300] For example, the intimacy between Person A's portrait album and the owner Nina's portrait album can be determined by the number of portrait and / or non-portrait photos of Person A, the number of photos containing Person A and the owner Nina together, and the labeling relationship between Person A and the owner Nina.
[0301] Optionally, in S3001B, the images analyzed by the Media Intelligence Analysis Service can be images captured by a camera and saved in the Gallery application, and / or images saved in the Gallery application from other applications. Images in other applications can refer to images downloaded from the server by other applications, and users can choose to save images downloaded from the server by other applications in the Gallery application.
[0302] Optionally, the electronic device 100 can also receive user input to select the source of the images. For example, the user can select images captured by a camera and saved in a gallery application, and the media intelligence analysis can only analyze images captured by a camera and saved in a gallery application. As another example, the user can also select images saved in a gallery application from other applications, and the media intelligence analysis can only analyze images saved in a gallery application from other applications. Furthermore, the user can simultaneously select images captured by a camera and saved in a gallery application from other applications saved in a gallery application, and the media intelligence analysis can analyze both images captured by a camera and saved in a gallery application from other applications saved in a gallery application.
[0303] S3002B, the Media Intelligence Analysis Service sends information about portrait albums, album cover images, and the intimacy between portrait albums to the media database.
[0304] After acquiring the portrait albums of different individuals, the cover images of the portrait albums, and the intimacy between the portrait albums, the media intelligence analysis service can send the information of the portrait albums, the cover images of the portrait albums, and the intimacy between the portrait albums to the media database.
[0305] Among them, the collection information of portrait albums and the intimacy between portrait albums are used to confirm the correlation between one or more non-owner portrait albums and the owner's portrait albums.
[0306] The cover image information of the portrait album is used by the gallery application to display the portrait album icon.
[0307] The information in the portrait album can refer to the information of one or more portrait pictures in the album. The information of the portrait pictures can include the image identifier, storage location, and other information. The image identifier can uniquely identify an image.
[0308] The cover image information of a portrait album can include information such as the cover image's identifier and storage location. The cover image's identifier can also uniquely identify a cover image.
[0309] The media library can save the information of portrait albums and the cover images of portrait albums to the storage device.
[0310] S3003B, the gallery application and / or media library determine the association between one or more non-owner portrait albums and the owner's portrait albums based on the collection information of portrait albums and the intimacy between portrait albums.
[0311] In some embodiments, after obtaining the collection information of portrait albums and the intimacy between portrait albums, the media library can determine the correlation between one or more non-owner portrait albums and the owner's portrait albums based on the collection information of portrait albums and the intimacy between portrait albums.
[0312] In other embodiments, the gallery application can obtain the collection information of portrait albums and the affinity between portrait albums from the media library, and determine the association between one or more non-owner portrait albums and the owner's portrait albums based on the collection information of portrait albums and the affinity between portrait albums.
[0313] Optionally, the gallery app can retrieve the intimacy between portrait albums from the media library via the get intimacy info interface.
[0314] Optionally, the gallery application can retrieve the cover image information of portrait albums from the media library via the get portrait covers info interface.
[0315] This application uses the example of a photo library application determining the correlation between one or more non-owner photo albums and the owner's photo album to illustrate the concept.
[0316] The collection information for portrait albums can refer to whether a portrait album has been collected or not.
[0317] Optionally, if a non-owner's photo album is saved, the correlation between the non-owner's photo album and the owner's photo album is higher than the correlation between a non-owner's photo album that is not saved and the owner's photo album.
[0318] The photo library app can access the saved albums of photos of people who are not the phone owner. Then, based on the closeness between these albums and the phone owner's albums, it determines the correlation between the saved albums and the phone owner's albums. For example, the higher the closeness between the saved albums and the phone owner's albums, the higher the correlation between the two albums.
[0319] The photo library app can then retrieve non-user-owned photo albums that are not currently favorited. Based on the proximity between these albums and the user's albums, it determines the correlation between the two albums. For example, the higher the proximity between the albums, the stronger the correlation between them.
[0320] The photo library app can obtain the correlation between one or more non-owner photo albums and the owner's photo album.
[0321] The electronic device 100 may determine the correlation between one or more non-owner photo albums and the owner's photo album in other ways than the methods described above. This application does not limit the methods used in this regard.
[0322] S3004B, The gallery application receives user input to view the interface displaying the relationships between portrait albums.
[0323] For example, receiving a user's operation to view the recommendation interface A can be an input operation for the icon of the "Portrait" album as shown in Figure 2B, or an input operation for option 1007 as shown in Figure 2C, or an input operation for the confirmation option 1010 as shown in Figure 2E.
[0324] In other embodiments, the electronic device 100 can also change the correlation between portrait albums based on user operations, thereby changing the display order of the portrait albums. For example, the electronic device 100 can reduce the correlation between a portrait album and the owner's portrait album based on a user's removal operation, thereby changing the display order of the portrait albums. For example, referring to the embodiment of FIG23, the electronic device 100 can receive a user's removal operation for person D's portrait album and stop displaying the icon of that portrait album in the recommendation interface 1600. In response to the removal operation for person D's portrait album, the electronic device 100 can reduce the correlation between person D and the owner's portrait album, thereby reducing the display order of person D's portrait album.
[0325] S3005B, the gallery application displays a recommendation interface A based on the correlation between one or more non-owner portrait albums and the owner's portrait album. The recommendation interface A includes the icon of the owner's portrait album and the icons of one or more non-owner portrait albums.
[0326] Optionally, the gallery app can default to displaying the relationship between the owner's photo album and non-owner photo albums. The gallery app can obtain the correlation between one or more non-owner photo albums and the owner's photo album to determine the display order of one or more non-owner photo albums, and then display the recommended interface A based on the display order of one or more non-owner photo albums.
[0327] The higher the correlation between the non-owner's photo album and the owner's photo album, the earlier the non-owner's photo album will be displayed.
[0328] For example, the display order of the portrait albums of non-owners from front to back is as follows: portrait album of person F, portrait album of person B, portrait album of person A, portrait album of person G, portrait album of person C, portrait album of person E, portrait album of person D, portrait album of person H, etc.
[0329] For example, recommendation interface A can be recommendation interface 1600 as shown in Figure 2F. Refer to the description in Figure 2F.
[0330] Optionally, this method is not limited to gallery applications; it can also be applied to other applications that can install a software development kit (SDK) to implement the methods shown in Figures 2A-2I.
[0331] It should be noted that the method steps in Figure 3B are only used to explain this application, and the execution order of the method steps in Figure 3B does not constitute a limitation.
[0332] Figure 3C shows a schematic diagram of the software interaction of an electronic device 100 that marks different people to view a recommendation interface A.
[0333] As shown in Figure 3C, the electronic device 100 includes an application layer, a framework layer, and a hardware abstraction layer. The application layer includes a gallery application. The framework layer includes a media library, a media intelligence analysis service, and Swing SA. The hardware abstraction layer includes an AI service (hiaiserver) and a smart sensor hub (sensorhub). Swing SA is used to confirm whether the electronic device 100 supports Swing capabilities. Hiaiserver can provide the electronic device with an artificial intelligence computing library and an application programming interface (API). For example, the electronic device 100 can use Hiaiserver to identify the first person based on their facial features and those detected by the sensorhub. The sensorhub can be used to control the sensors on the electronic device to collect and process sensor data. For example, the sensorhub can perform related business calculations based on sensor data. For instance, the electronic device 100 can use the sensorhub to determine facial features in images captured by a camera. The electronic device 100 can identify the facial features of different people and tag different people to view the recommendation interface A through the multiple software modules shown in Figure 3C, as described in the embodiment in Figure 3D.
[0334] Figure 3D shows a flowchart illustrating a method for an electronic device 100 to mark different people and view a recommendation interface A.
[0335] Among them, S3001C-S3012C is the facial feature analysis stage for different individuals. S3013C-S3019C is the person recognition stage.
[0336] Optionally, S3001C-S3012C can be executed when the electronic device 100 is in a screen-off state and / or in a charging state. S3013C-S3019C can be executed when the electronic device 100 displays the recommended interface A or when a trigger for displaying the recommended interface A is detected.
[0337] S3001C, Media Intelligent Analysis Service obtains analysis information from images.
[0338] The S3002C Media Intelligence Analysis Service sends the image analysis information to the media library.
[0339] After acquiring the image analysis information, the media intelligence analytics service can send this information to the media library. The media library can then store the image analysis information.
[0340] For example, the image analysis information may include, but is not limited to, image information contained in portrait albums of different people.
[0341] The S3003C Media Intelligence Analytics Service confirms that the electronic device 100 supports Swing capabilities from the facial recognition module (Swing SA).
[0342] Swing capability can refer to a toolkit that supports enabling a graphical user interface. For example, in this application, electronic device 100 can recognize facial feature data of different individuals based on Swing capability.
[0343] S3004C and Media Intelligence Analytics Service send a message to Swing SA to start Swing.
[0344] S3005C and Swing SA send a message to hiaiserver to start Swing.
[0345] S3006C and hiaiserver send a message to sensorhub to start Swing.
[0346] Starting Swing means calling Swing's capabilities to recognize the facial features of different people.
[0347] S3007C and SensorHub acquire features from portrait images of different people.
[0348] SensorHub can retrieve portrait images of different people from a media library, analyze these images, and extract their features.
[0349] Optionally, the portrait image of a person can be one or more portrait images of the same person.
[0350] Optionally, the portrait image of the person can also be the person's most recent portrait image.
[0351] S3008C and SensorHub send the features of portrait images of different people to the hiaiserver.
[0352] S3009C and hiaiserver send the features of portrait images of different people to the swing SA.
[0353] The S3010C and Swing SA send the features of portrait images of different people to the Media Intelligence Analysis Service.
[0354] S3011C, the Media Intelligence Analysis Service, sends the features of portrait images of different people to the media database.
[0355] S3012C, the media library stores the characteristics of portrait images of different people.
[0356] After acquiring the features of portrait images of different individuals, SensorHub can sequentially send these features to the media library via HiAIServer, Swing SA, and Media Intelligence Analytics Service. The media library can then store the features of portrait images of different individuals.
[0357] S3013C, the gallery application confirms from the Swing SA that electronic device 100 supports Swing capabilities.
[0358] S3014C, the image library application is registered to the facial recognition module to provide facial recognition services.
[0359] For an introduction to S3013C-S3014C, please refer to the descriptions in S3003C-S3004C.
[0360] After the gallery app confirms that the electronic device 100 supports Swing capabilities, the gallery app can register with the facial recognition service provided by the facial recognition module. After the facial recognition module recognizes a person through the camera, it can return the person's tag to the gallery app, which can then display a marker in the person's photo album based on the tag.
[0361] Optionally, after the electronic device 100 has a gallery app installed, the gallery app can register with the facial recognition service provided by the facial recognition module. Alternatively, after the electronic device 100 has a gallery app installed and the gallery app is enabled, the gallery app can register with the facial recognition service provided by the facial recognition module.
[0362] Optionally, the gallery application only needs to perform the registration operation once with the facial recognition service provided by the facial recognition module. The S3015C and Swing SA obtain facial features of different people from the media library.
[0363] S3016C and Swing SA send the features of portrait images of different people to the hiaiserver.
[0364] S3017C and hiaiserver obtain facial features detected by sensorhub from sensorhub.
[0365] S3018C and hiaiserver determine the first person based on the facial features of different individuals and the facial features detected by sensorhub.
[0366] The sensorhub can use images captured by the camera to determine if a face image has been recognized. If the sensorhub confirms a face image, it can acquire the facial features in the camera-captured image and send these features to the hiaiserver. After acquiring the facial features detected by the sensorhub, the hiaiserver can determine the face image captured by the camera as the primary person based on the facial features of different individuals and the facial features detected by the sensorhub through the camera.
[0367] S3019C and hiaiserver send the first person's tag to the gallery application.
[0368] The primary person's tag can be a face tag or other identifying information that distinguishes different people.
[0369] Optionally, S3017C-S3019C or S3019C can be executed when the gallery application is running in the foreground. When the gallery application is running in the background, the electronic device does not display the first interface, and the gallery application does not need to display the first marker at the first person's icon. Therefore, S3017C-S3019C or S3019C can be omitted, saving 100% of the electronic device's power consumption. S3020C: The gallery application displays the first marker at the first person's portrait album icon.
[0370] After confirming that the face image captured by the camera is the first person, hiaiserver can send a tag for the first person to the gallery application. In response to the tag sent by hiaiserver, the gallery application can display a first marker at the identifier of the first person's portrait album. The first marker indicates that the first person is currently viewing the recommended interface A.
[0371] Optionally, the facial recognition module (Swing SA) can be integrated into the SDK, allowing other applications to call the SDK to recognize facial feature data of different individuals based on Swing capabilities.
[0372] II. Interaction with the owner's portrait album.
[0373] In one possible solution provided in this application embodiment, after displaying the recommendation interface A, the electronic device 100 can perform interactions related to the photo album based on the user's operation on the icon of the owner's photo album in the recommendation interface A. These will be described separately below.
[0374] 1. Electronic devices display a portrait image of the device owner.
[0375] In one possible solution provided in this application embodiment, after displaying the recommendation interface A, the electronic device 100 can receive user operation and display the owner's portrait image, which the user can view. The owner's portrait image can refer to a portrait image containing the owner, which can refer to a single portrait image of the owner, and / or include a group photo of the owner and a non-owner.
[0376] Figures 4A and 4B show schematic diagrams of an electronic device 100 displaying a portrait image of the device owner.
[0377] As shown in Figure 4A, the electronic device 100 displays a recommendation interface 1600. The recommendation interface 1600 shows the relationship between the non-owner's photo album and the owner's photo album. The recommendation interface 1600 includes a featured portrait display area. This area displays portrait images from the owner's photo album. The electronic device 100 can receive user actions on the display screen, such as swiping upwards to display more portrait images.
[0378] As shown in Figures 4A and 4B, the electronic device 100 can receive user operations on the display screen, such as an upward swipe operation. In response to the user operation, the electronic device 100 can display the user interface 2100 shown in Figure 4B, which displays all the images of the owner.
[0379] As shown in Figure 4B, the user interface 2100 displays images 1021, 1022, 1023, 1024, 8001, and 8002. Images 1021, 1022, 1023, 1024, 8001, and 8002 are portrait images of the device owner. Among them, images 1021, 1022, 1023, and 1024 are solo portrait images of the device owner, while images 8001 and 8002 are group photos including the device owner and person E. The electronic device 100 can receive swiping operations from the user on the user interface 2100, such as swiping upwards, to view more portrait images of the device owner.
[0380] The user interface 2100 also displays option 1025, through which users can view non-human images that are associated with the owner's portrait image.
[0381] In some embodiments, the user interface 2100 may simultaneously display a portrait image of the device owner and a non-human image of the device owner. Alternatively, the user interface 2100 may display a non-human image of the device owner. This allows the user to view the non-human image of the device owner within the user interface 2100.
[0382] Optionally, the image of the device owner may include a solo portrait of the device owner, as well as a group photo of the device owner and non-device owners.
[0383] In other embodiments, the user interface 2100 may display only a single portrait image of the owner.
[0384] It should be noted that Figures 4A and 4B illustrate the use of an electronic device 100 displaying a portrait image of the device owner upon receiving a swipe operation from a user on the recommendation interface 1600. In other embodiments, the electronic device 100 may also display a non-human image of the device owner, or simultaneously display both a portrait image and a non-human image of the device owner, upon receiving a swipe operation from a user on the recommendation interface 1600.
[0385] In other embodiments, the user interface 2100 may display a single portrait image of the device owner, as well as group photos including the device owner and other individuals. In this embodiment, the electronic device 100 may receive user actions on the user interface 2100 to filter and view single portrait images of the device owner, or to filter and view portrait images of the device owner with other individuals. The user may also filter for images related to a location and / or an event. The location may be related to the location where the device owner's portrait image and / or a non-portrait image associated with the device owner's portrait image was generated or obtained. The event may be related to the background content of the image in the device owner's portrait image and / or the background content of the image in a non-portrait image associated with the device owner's portrait image. For example, the location may include, but is not limited to, any one or more of the following: Beijing, Shanghai, Shenzhen, etc. The event may include, but is not limited to, any one or more of the following: "cycling" event, "skiing" event, "afternoon tea" event, "birthday" event, etc.
[0386] For example, users can use option 1026 to filter for portrait photos of the camera owner and / or non-portrait photos of the camera owner taken in Beijing.
[0387] Optionally, users can filter to get images from other locations, not just Beijing.
[0388] Users can also filter for images related to preset events using options 1027, 1028, 1029, and 1030.
[0389] For example, users can filter for images of the phone owner related to the "cycling" event and / or non-human images of the phone owner using option 1027. Users can filter for images of the phone owner related to the "skiing" event and / or non-human images of the phone owner using option 1028. Users can filter for images of the phone owner related to the "afternoon tea" event and / or non-human images of the phone owner using option 1029. Users can filter for images of the phone owner related to the "birthday" event and / or non-human images of the phone owner using option 1030. Optionally, users can also filter for images related to other events.
[0390] Optionally, the user interface 2100 may also display one or more time tags, allowing users to filter and obtain media content related to the person within a first time period by the generation time or the time of acquisition.
[0391] Figure 5 shows a flowchart illustrating a method for displaying a portrait image of the device owner on an electronic device 100.
[0392] As shown in Figure 5, the electronic device 100 includes a gallery application and a media library application. The method flow shown in Figure 5 includes, but is not limited to, the following steps:
[0393] S5001, Gallery application displays recommended interface A.
[0394] For example, recommendation interface A can be recommendation interface 1600 as shown in Figure 4A.
[0395] S5002. In response to an input operation on the recommendation interface A, the gallery application sends message A to the media library.
[0396] Message A is used to retrieve the owner's portrait image from the media library.
[0397] After the recommended screen A is displayed, the gallery app can receive user input on recommended screen A to obtain and display the owner's portrait image.
[0398] For example, the input operation for the recommendation interface A can be a swiping operation on the recommendation interface 1600 shown in Figure 4A, such as an upward swipe operation.
[0399] For example, the input operation for the recommendation interface A could also be clicking the icon of the owner's portrait album. This application does not limit the method by which the electronic device 100 displays the owner's portrait image.
[0400] S5003, in response to message A, retrieves the owner's portrait image from the media library.
[0401] S5004, the media library sends the owner's portrait photo to the photo library application.
[0402] S5005, Gallery application displays user interface A, which includes the owner's portrait image.
[0403] The electronic device 100 stores photo albums of different people, each album containing one or more photos of the same person. For example, the owner's photo album contains one or more photos of the owner, and person A's photo album contains one or more photos of person A.
[0404] Optionally, message A carries information about the owner's photo album. This information is used by the media library to retrieve the owner's photo album and, consequently, the owner's portrait image.
[0405] Upon receiving message A from the Gallery app, in response to message A, the Media Library can retrieve the owner's portrait image and send it to the Gallery app.
[0406] After receiving the owner's portrait image from the media library, the gallery application can display user interface A, which includes the owner's portrait image.
[0407] For example, user interface A can be user interface 2100 as shown in Figure 4B, and the owner's portrait image can include images 1021, 1022, 1023, 1024, 8001, and 8002 as shown in Figure 4B.
[0408] In some embodiments, after the electronic device 100 displays the user interface A, the electronic device 100 can receive user operations on the user interface A and filter one or more portrait images from the owner's portrait images based on a first location and / or a first event. In this way, the user can view portrait images of the owner related to a preset location and / or preset event.
[0409] 2. Electronic device 100 displays non-human images that are related to the image of the device owner.
[0410] In one possible solution provided in this application embodiment, after the electronic device 100 displays the portrait image of the device owner, the electronic device 100 can also receive user operations to display non-human portrait images that are related to the portrait image of the device owner, so that the user can also view non-human portrait images that are related to the portrait image of the device owner, such as landscape images, object images, etc. that are related to the portrait image of the device owner.
[0411] Figures 6A-6C illustrate schematic diagrams of an electronic device 100 displaying non-human images that are associated with a human image of the device owner.
[0412] As shown in Figures 6A-6B, the electronic device 100 can receive user input operations for option 1025, such as a click operation. In response to the user's input operation, the electronic device 100 can display the prompt bar 2001 shown in Figure 6B.
[0413] As shown in Figure 6B, the prompt bar 2001 includes a "Show All Featured" option and a "Show Only Portraits" option. The "Show Only Portraits" option is selected to indicate to the user that the electronic device 100 is displaying a portrait of the device owner, and not non-portrait images of the owner.
[0414] Optionally, the prompt bar 2001 may also include an option to display only non-human images, which the user can use to make the electronic device 100 display only non-human images that are related to the owner's human images.
[0415] As shown in Figures 6B-6C, the electronic device 100 can receive user input operations for displaying all selected options in the prompt bar 2001, such as a click operation. In response to the user's input operation, the electronic device 100 can acquire non-human images related to the owner's portrait image and simultaneously display the owner's portrait image and the owner's non-human images.
[0416] In the above embodiments, the selection methods of portrait photos, non-portrait photos, and all photos are merely illustrative examples, and this application does not limit them. The specific options can be set according to the actual situation.
[0417] Optionally, as shown in the embodiment of Figure 3B, after obtaining portrait albums for different individuals, the electronic device 100 can also acquire non-human portrait images that are related to the portrait images in the individuals' portrait albums. After obtaining the owner's portrait album, the electronic device 100 can also acquire non-human portrait images that are related to the owner's portrait images, making it convenient for the user to view non-human portrait images that are related to the owner's portrait images.
[0418] As shown in Figure 6C, the electronic device 100 can display the user interface 2200 shown in Figure 6C. The user interface 2200 includes images 1021, 1022, 1023, 1024, 2002, and 2003. Image 2002 can be a landscape photograph related to image 1021; for example, the location where image 2002 was generated or acquired is the same as the location where image 1021 was generated or acquired. Image 2003 can be a landscape photograph related to image 1022; for example, the time when image 2003 was generated or acquired is the same as the time when image 1021 was generated or acquired.
[0419] It should be noted that Figure 6C only shows the display positions of images 2002 and 2003 as an example, and this application does not limit the display positions of each image.
[0420] It should be noted that Figure 6C only shows a portion of the images as examples; other images are not shown, such as images 8001 and 8002.
[0421] Figure 7 illustrates a flowchart of a method for an electronic device 100 to display a non-human image that is associated with a human image of the device owner.
[0422] As shown in Figure 7, the electronic device 100 includes a gallery application, a media library application, and a media intelligence analysis service. The method flow shown in Figure 2G includes, but is not limited to, the following steps:
[0423] S7001, the Media Intelligence Analysis Service analyzes images to obtain image information.
[0424] In some embodiments, image analysis may include, but is not limited to, classifying images, obtaining portrait albums of different individuals, and obtaining non-human images associated with portrait albums of different individuals. Image information may include, but is not limited to, information about portrait albums of different individuals and information about non-human images associated with portrait albums of different individuals.
[0425] For the device owner, information about non-human images that are associated with different people's photo albums can include information about non-human images that are associated with the device owner's photo albums.
[0426] After obtaining the user's photo album through the Media Intelligence Analysis Service, the service can also acquire non-human images that are related to the user's photo album.
[0427] If the generation time or acquisition time of a non-human image is within the same time period as the generation time or acquisition time of any human image in the owner's photo album, or if the generation location or acquisition location of the non-human image is the same as the generation location or acquisition location of the human image, or if the event recorded by the non-human image is the same as the event recorded by the human image, then it can be confirmed that the non-human image and the human image are related.
[0428] In one possible implementation, the electronic device 100 can recreate the owner's non-human photo album and assign the aforementioned non-human photos to the owner's non-human photo album.
[0429] In other possible implementations, the electronic device 100 may also categorize the aforementioned non-human images into the owner's portrait album.
[0430] For example, electronic device 100 can obtain the owner's portrait album, which includes one or more portrait images of the owner, such as portrait image A. Electronic device 100 can also obtain non-portrait image A. If the generation time or acquisition time of non-portrait image A is within the same time period as the generation time or acquisition time of portrait image A, or the generation location or acquisition location of non-portrait image A is the same as the generation location or acquisition location of portrait image A, or the event recorded in non-portrait image A is the same event recorded in portrait image A, in one possible implementation, electronic device 100 can create a new non-portrait album for the owner and add non-portrait image A to this album. In other possible implementations, electronic device 100 can also add non-portrait image A to the owner's portrait album.
[0431] S7002, the Media Intelligence Analysis Service sends information about non-human images that are associated with the user's portrait album to the media library.
[0432] After acquiring non-human images that are associated with the user's photo album, the media intelligence analysis service can send the information of these non-human images to the media library. The media library can store the information of these non-human images that are associated with the user's photo album and send it to the media library.
[0433] For example, information about non-human images associated with the owner's photo album may include the identifier of the non-human image, the storage address of the non-human image, etc.
[0434] S7003, Gallery application display user interface A, including the option to display non-human portrait images.
[0435] S7004. In response to an input operation for the option to display a non-human image, the gallery application sends message B to the media library.
[0436] For example, user interface A can be user interface 2100 as shown in Figure 6A. Input operations for user interface A can be input operations for displaying all selected options in prompt bar 2001 as shown in Figure 6B.
[0437] In response to an input operation on user interface A, the gallery application sends message B to the media library. Message B instructs the media library to retrieve non-human images that are associated with the owner's portrait images, referred to as the owner's non-human images.
[0438] S7005, in response to message B, the media library retrieves a non-human image of the device owner.
[0439] S7006, Media Library sends non-human images of the device owner to the Gallery application.
[0440] S7007, Gallery application displays user interface B, which includes non-human images of the user.
[0441] Upon receiving message B from the Gallery app, in response to message B, the Media Library can retrieve a non-human image of the user and then send that image to the Gallery app.
[0442] After receiving a non-human image of the device owner from the media library, the gallery application can display user interface B, which includes both the non-human image and the portrait image of the device owner. This allows the user to simultaneously view both the portrait image and related non-human images.
[0443] Optionally, user interface B may include only non-human images of the device owner. This allows users to view non-human images that are associated with the device owner's human images.
[0444] For example, user interface B can be user interface 2200 as shown in Figure 6C. The non-human image of the owner can be image 2002 or image 2003 as shown in Figure 6C.
[0445] 3. Electronic devices filter images of the device owner that are related to preset locations and / or preset events.
[0446] In some embodiments, the electronic device 100 can receive user input to filter one or more non-human images of the device owner from a pool of non-human images based on a first location and / or a first event. This allows the user to view non-human images of the device owner associated with a preset location and / or preset event.
[0447] In some embodiments, the electronic device 100 can receive user input to filter one or more images of the device owner from a pool of images based on a first location and / or a first event. This allows the user to view images of the device owner associated with a preset location and / or preset event.
[0448] In some embodiments, the electronic device 100 can receive user input and filter one or more portrait images and one or more non-human images from portrait images and non-human images based on a first location and / or a first event. This allows the user to view portrait images and non-human images related to a preset location and / or preset event.
[0449] This application example illustrates how an electronic device 100 filters images of the device owner that are related to a preset location and / or preset event.
[0450] Figures 8A and 8B illustrate schematic diagrams of electronic device 100 filtering portrait images of device owners related to preset locations.
[0451] As shown in Figure 8A, the electronic device 100 displays a user interface 2100, which includes options 1026. Users can use options 1026 to filter and obtain portrait images of the camera owner whose shooting location is Beijing.
[0452] As shown in Figures 8A-8B, the electronic device 100 can receive user input operations for option 1026, such as a click operation. In response to the user's input operation, the electronic device 100 can filter the shooting location from the owner's portrait image or obtain an image of the location in Beijing, and display the user interface 8300 shown in Figure 8B.
[0453] As shown in Figure 8A, the user interface 8300 includes images 8001, 8002, and 8003. The images 8001, 8002, and 8003 were all taken or obtained in Beijing.
[0454] Optionally, users can filter to get more shooting locations or obtain images of other locations, not just Beijing.
[0455] Figure 9 illustrates a flowchart of a method for electronic device 100 to filter portrait images of the device owner related to preset locations and / or preset events.
[0456] As shown in Figure 9, the electronic device 100 includes a gallery application, a media library, and media intelligence analytics services.
[0457] The method shown in Figure 9 includes, but is not limited to, the following steps:
[0458] S9001, the Media Intelligence Analysis Service analyzes images to obtain image information.
[0459] In some embodiments, analyzing an image may further include obtaining image information. Image information may include image tagging information, such as location tags, event tags, etc.
[0460] For the device owner, image information can include tag information for the device owner's portrait photos and tag information for the device owner's non-portrait photos.
[0461] In some embodiments, the media intelligence analytics service can obtain tag information from the user's portrait image. Tag information may include, but is not limited to, the location where the portrait image was taken or acquired, and the event corresponding to the portrait image. The event corresponding to the portrait image can be determined through the background content of the portrait image. For example, the event corresponding to the portrait image may include, but is not limited to, cycling events, birthday events, and travel events.
[0462] S9002, the Media Intelligence Analysis Service sends the tag information of the owner's portrait image to the media database.
[0463] After obtaining the tag information of the user's portrait image, the media intelligence analysis service can send the tag information of the user's portrait image to the media database.
[0464] The media library can store tag information for the owner's portrait images.
[0465] S9003, the media library sends the tag information of the owner's portrait image to the gallery application.
[0466] After obtaining the tag information of the owner's portrait image, the media library can send the tag information of the owner's portrait image to the gallery application. The gallery application can then display tag options in the user interface based on the tag information of the owner's portrait image. Users can filter the images of the owner that are related to preset locations and / or preset events through the tag options.
[0467] S9004, The gallery application displays a user interface A, including the owner's portrait image and one or more tag options, including location tag options and / or event tag options.
[0468] For example, user interface A can be user interface 2100 as shown in FIG6A. One or more tab options can be options 1026, 1027, 1028, 1029 and 1030 as shown in FIG6A.
[0469] S9005. In response to input of location label options, the gallery application sends message C to the media library.
[0470] S9006, In response to message C, the media library retrieves one or more portrait images of the device owner based on the first location.
[0471] For example, the location label option can be option 1026 as shown in Figure 6A. The input operation for the location label option can be the input operation for option 1026 as shown in Figure 8A.
[0472] In response to input for location tag options, the gallery app can send message C to the media library. Upon receiving message C, the media library can retrieve one or more portrait images of the user based on the first location, thus obtaining one or more portrait images of the user related to the first location.
[0473] S9007, the media library sends one or more portrait photos of the owner related to the first location to the gallery application.
[0474] S9008, Gallery application displays user interface C, which includes one or more portrait images of the owner related to the first location.
[0475] After acquiring one or more portrait images of the device owner related to the first location, the media library can send one or more portrait images of the device owner related to the first location to the gallery application.
[0476] The gallery application can display a user interface C, which includes one or more portrait images of the owner related to the first location.
[0477] For example, the user interface C can be the user interface 8300 shown in Figure 8B, the first location can be "Beijing", and one or more portrait pictures of the owner related to "Beijing" can be pictures 8001, 8002 and 8003 shown in Figure 8B.
[0478] In some embodiments, the electronic device 100 may also filter out the portrait image of the owner related to the first event according to the method shown in FIG9.
[0479] In some embodiments, the electronic device 100 may also filter to obtain non-human images of the device owner related to the first location and / or the first event, as shown in FIG9.
[0480] 4. Edit the owner's portrait image on electronic devices.
[0481] In one possible solution provided in this application embodiment, after the electronic device 100 displays the portrait image of the device owner, the electronic device 100 can receive user operations to edit the portrait image of the device owner, including but not limited to: sharing the portrait image of the device owner, saving the portrait image of the device owner, hiding the portrait image of the device owner, deleting the portrait image of the device owner, etc.
[0482] Optionally, the electronic device 100 can also receive user operations to edit non-human images of the device owner. This embodiment of the application uses the example of the electronic device 100 receiving user operations to edit human images of the device owner for illustration.
[0483] Figures 10A-10C illustrate schematic diagrams of electronic device 100 deleting the owner's portrait image.
[0484] As shown in Figures 10A and 10B, the electronic device 100 can receive user input operations on the image 1024, such as a click operation. In response to the user's input operation, the electronic device 100 can enlarge the display of the image 1024 and display the prompt bar 2004 shown in Figure 10B. The prompt bar 2004 includes multiple operation options, such as multi-selection options, sharing options, favorite options, hide options, show in all photos options, delete options, and set as cover image options. The user can select image 1024 and other images simultaneously using multiple options. The user can share image 1024 to other devices or to other applications on the electronic device 100 using the share option. The user can favorite image 1024 using the favorite option. The user can stop the display of image 1024 in the user interface 2100 using the hide option. The user can add image 1024 to the "Images" album shown in Figure 2B using the show in all photos option. The user can delete image 1024 from the owner's portrait album using the delete option. The user can set image 1024 as the cover image of the owner's portrait album using the set as cover image option.
[0485] As shown in Figures 10B and 10C, the electronic device 100 can receive user input operations, such as a click operation, for the deletion option in the prompt bar 2004. In response to the user's input operation, the electronic device 100 can delete the image 1024 from the owner's portrait album and display the user interface 2200 shown in Figure 10C. The user interface 2200 is similar to the user interface 2100, except that the user interface 2200 does not include the image 1024, but also includes the image 8003, which is a group photo containing the owner, person G, and person E.
[0486] Figure 11 shows a schematic diagram of the method for deleting the owner's portrait image by electronic device 100.
[0487] As shown in Figure 11, the electronic device 100 includes a gallery application and a media library application. The method flow shown in Figure 11 includes, but is not limited to, the following steps:
[0488] S1101, The gallery application displays user interface B, which includes the owner's portrait image A.
[0489] S1102. In response to the operation of deleting the owner's portrait image A, the gallery application displays user interface D, where user interface D does not include the owner's portrait image A.
[0490] In one embodiment, the gallery application can receive a user's deletion of one or more portrait photos from the owner's portrait album, or deletion of one or more non-portrait photos from the owner's portrait album, or deletion of one or more non-portrait photos from the owner's non-portrait album.
[0491] For example, user interface B can be user interface 2100 as shown in Figure 10A. The owner's portrait image A can be image 1024 as shown in Figure 10A. The operation of deleting the owner's portrait image A in user interface B can be the input operation for the delete option in the prompt bar 2004 as shown in Figure 10B. User interface D can be user interface 2200 as shown in Figure 10C.
[0492] S1103. The gallery application sends information about the owner's portrait image A to the media library.
[0493] S1104. The media library deletes the owner's portrait image A from the owner's portrait album based on the owner's portrait image A information.
[0494] Optionally, the information of the owner's portrait image A includes, but is not limited to: the identifier of the owner's portrait image A, the storage location of the owner's portrait image A, etc.
[0495] In response to the deletion of the owner's portrait image A from user interface B, the gallery application can send information about the owner's portrait image A to the media library. This information is used by the media library to delete the owner's portrait image A from the owner's portrait album.
[0496] Optionally, users can also delete non-human images from the owner's portrait album or delete non-human images from the owner's non-human album, as shown in Figure 11.
[0497] In some embodiments, the electronic device 100 can receive user input and save the owner's portrait image.
[0498] Figure 12 shows a schematic diagram of the method for electronic device 100 to collect portrait pictures of the device owner.
[0499] As shown in Figure 12, the electronic device 100 includes a gallery application and a media library application. The method flow shown in Figure 12 includes, but is not limited to, the following steps:
[0500] S1201, The gallery application displays the user interface B, which includes the owner's portrait image A.
[0501] S1202, In response to the operation of collecting the owner's portrait image A, the gallery application sends message C to the media library.
[0502] For example, user interface B can be user interface 2100 as shown in Figure 10A. The owner's portrait image A can be image 1024 as shown in Figure 10A. The operation of adding the owner's portrait image A to favorites can be an input operation for the favorites option in the prompt bar 2004 shown in Figure 10B.
[0503] In response to the user's action of saving the user's portrait image A, the gallery app sends message C to the media library. Message C instructs the media library to add a tag indicating that the user's portrait image A has been saved.
[0504] S1203, In response to message C, the media library adds the owner's portrait image A to the favorites tag.
[0505] Upon receiving message C from the gallery application, the media library can add a favorite tag to the owner's portrait image A. This favorite tag indicates that the owner's portrait image A has been favorited.
[0506] In some embodiments, the electronic device 100 may receive a user operation to set the owner's portrait image as the cover image of the owner's portrait album.
[0507] Figure 13 illustrates a flowchart of the method by which an electronic device 100 sets a portrait image of the device owner as the cover image of the device owner's portrait album.
[0508] As shown in Figure 13, the electronic device 100 includes a gallery application and a media library application. The method flow shown in Figure 13 includes, but is not limited to, the following steps:
[0509] S1301, The gallery application displays the user interface B, which includes a portrait image of the user A.
[0510] S1302, In response to the operation of setting the owner's portrait image A as the cover image, the gallery application sends message D to the media library.
[0511] For example, user interface B can be user interface 2100 as shown in Figure 10A. The owner's portrait image A can be image 1024 as shown in Figure 10A. The operation of adding the owner's portrait image A to the favorites can be an input operation targeting the cover image option in the prompt bar 2004 shown in Figure 10B.
[0512] In response to the operation of setting the owner's portrait image A as the cover image, the gallery application can send message D to the media library, which instructs the media library to set the owner's portrait image A as the cover image of the owner's portrait album.
[0513] S1303, In response to message D, the media library sets the cover image of the owner's portrait to the owner's portrait image A.
[0514] After receiving message D from the Gallery app, the Media Library can set the owner's portrait image A as the owner's portrait image A.
[0515] In some embodiments, after the electronic device 100 receives a user operation to set the cover image of the device owner's portrait to the device owner's portrait image A, the electronic device 100 can display the device owner's portrait image A in the recommendation interface A. For example, the electronic device 100 can replace icon 1012 in the recommendation interface 1600 shown in FIG2F with the device owner's portrait image A.
[0516] III. Interaction with the non-owner's portrait album.
[0517] 1. Electronic device 100 changes the display order of the icons for non-owner portrait albums displayed in the recommended interface A.
[0518] As shown in the embodiment of Figure 3B, the electronic device 100 can display icons of non-owner portrait albums in the display area 1011 of the recommendation interface A, where the association degree with the owner's portrait album is greater than a first value, and the display order of the icons of each non-owner portrait album is fixed. In some embodiments, the electronic device 100 can receive user operations to change the display order of non-owner portrait albums displayed in the display area 1011.
[0519] Figures 14A-14S illustrate the display order of icons for non-owner portrait albums displayed in the recommendation interface A of the electronic device 100.
[0520] A. Remove the icon of the non-owner (person D)'s portrait album displayed in the recommended interface A of electronic device 100.
[0521] Figures 14A-14G illustrate schematic diagrams of electronic devices 100 receiving user operations to remove icons from the portrait album of person D (non-owner) displayed in the recommended interface A.
[0522] As shown in Figure 14A, option 3031 is displayed in the recommended interface 1600. The user can use option 3031 to switch the electronic device 100 to display the portrait album interface 1300 shown in Figure 2C. The user can also use option 3031 to switch the electronic device 100 to display the portrait album association editing interface, which can also be referred to as the editing interface.
[0523] As shown in Figures 14A and 14B, the electronic device 100 can receive user input operations for option 3031, such as a click operation. In response to the user's input operation, the electronic device 100 can display the prompt bar 3001 shown in Figure 14B. The prompt bar 3001 includes options to switch the portrait album view and editing options. The user can switch the electronic device 100 to display the portrait album interface 1300 shown in Figure 2C by switching the portrait album view option. The user can also switch the electronic device 100 to display the portrait album association editing interface by using the editing options.
[0524] As shown in Figures 14B and 14C, the electronic device 100 can receive input operations from the user for editing options in the prompt bar 3001, such as a click operation. In response to the user's input operation, the electronic device 100 can display the editing interface 3100 shown in Figure 14C.
[0525] As shown in Figure 14C, the editing interface 3100 includes a display area 3101 and a display area 3102. Display area 3101 displays icons of non-owner portrait albums whose relevance to the owner's portrait album is greater than a first value. Display area 3102 displays icons of non-owner portrait albums whose relevance to the owner's portrait album is less than the first value. For a description of display area 3101, please refer to the description of display area 1011 shown in Figure 2F, which will not be described further here. Display area 3102 displays icons 3103 for portrait album of person H and icons 3104 for portrait album of person I.
[0526] As shown in Figure 14C, the portrait album icon in display area 3101 displays option 3105. Users can use option 3105 to delete the corresponding portrait album icon from display area 3101, and the album icon will then be displayed in display area 3102. The portrait album icon in display area 3102 displays option 3106. Users can use option 3106 to delete the corresponding portrait album icon from display area 3102, and the album icon will then be displayed in display area 3101.
[0527] As shown in Figures 14C and 14D, the electronic device 100 can receive input operations from the user option 3105, such as a click operation. In response to the user's input operation, the electronic device 100 can remove the icon 1016 from the display area 3101 and display the icon 1016 in the display area 3102.
[0528] As shown in Figure 14D, icon 1016 is displayed in display area 3102, and option 3106 is displayed on icon 1016.
[0529] Optionally, Figure 3D only shows the display position of icon 1016 in display area 3102 as an example. Icon 1016 can also be displayed in other positions in display area 3102. For example, icon 1016 can also be displayed after icon 3104. This application does not limit the display position of icon 1016 in display area 3102.
[0530] In other embodiments, the removal of the portrait album icon from the display area 3101 is not limited to option 3105; the electronic device 100 may also receive a long press and drag operation from the user on the portrait album icon to remove the icon from the display area 3101.
[0531] As shown in Figures 14E and 14F, the electronic device 100 can receive the user's operation of long-pressing and dragging the icon 1016 into the display area 3102. After the user releases his finger, the electronic device 100 can display the icon 1016 in the display area 3102 as shown in Figure 14F.
[0532] As shown in Figures 14F and 14G, the electronic device 100 can receive user input for the confirmation option 3002, such as a click. In response to the user's input, the electronic device 100 can display the recommendation interface 3200 shown in Figure 14G. The recommendation interface 3200 is similar to the recommendation interface 1600 shown in Figure 2F, except that the display area 1011 shown in Figure 14G does not include icon 1016. The display area 1020 shown in Figure 14G includes icon 1016.
[0533] Optionally, the electronic device 100 can receive user operations to exchange the display positions of icons 1016 and 1015 in the display area 3101, so as to change the display positions of icons 1016 and 1015 in the display area 1011.
[0534] B. Electronic device 100 adds an icon for a non-owner's photo album to the recommended interface A.
[0535] Figures 14H-14L illustrate how electronic device 100 receives user input to add an icon for a non-owner's photo album in the recommendation interface A.
[0536] As shown in Figures 14H and 14I, the electronic device 100 can receive user input operations for option 3106 on icon 3103, such as a click operation. In response to the user's input operation, the electronic device 100 can remove icon 3103 from display area 3102 and display icon 3103 in display area 3101 as shown in Figure 14I.
[0537] In other embodiments, the display area 3101 is not limited to displaying the portrait album icon via option 3106; the electronic device 100 may also receive long-press and drag operations from the user on the portrait album icon to display the portrait album icon in the display area 3101.
[0538] As shown in Figures 14J and 14K, the electronic device 100 can receive a user's operation of long-pressing and dragging the icon 3103 into the display area 3101. After the user releases their finger, as shown in Figure 14K, the electronic device 100 can display the icon 3103 in the display area 3101.
[0539] As shown in Figures 14K and 14L, the electronic device 100 can receive user input operations for the confirmation option 3002, such as a click operation. In response to the user's input operation, the electronic device 100 can display the recommendation interface 3300 shown in Figure 14L. The recommendation interface 3300 is similar to the recommendation interface 1600 shown in Figure 2F, except that the display area 1011 shown in Figure 14L does not include icon 1016, but icon 3103 is displayed.
[0540] In some embodiments, if the number of icons for non-owner portrait albums displayed in the display area 3101 reaches a threshold (e.g., 8), the electronic device 100 may prompt the user that it cannot add other non-owner portrait album icons when the electronic device 100 receives a notification from the user that the user has added other non-owner portrait album icons in the display area 3101.
[0541] For example, as shown in Figure 14M, the display area 3101 shows eight icons for non-owner character photo albums. After the electronic device 100 receives the user's input operation on option 3106 on icon 3103, the electronic device 100 can display the prompt message 3107 shown in Figure 14O. The prompt message 3107 includes the text "The protagonist's planet is full. Please remove any one or more character albums before adding other character albums to the protagonist's planet." The prompt message 3107 is used to inform the user that it is not possible to add other non-owner character photo album icons in the display area 3101.
[0542] For example, as shown in Figure 14N, after the electronic device 100 receives the user's operation of long-pressing and dragging the icon 3103 into the display area 3101, the electronic device 100 can also display the prompt information 3107 shown in Figure 14O when the user releases his finger.
[0543] In other embodiments, if the number of icons for non-owner portrait albums displayed in display area 3101 reaches a threshold (e.g., 8), when electronic device 100 receives the user adding icons for other non-owner portrait albums in display area 3101, electronic device 100 may also delete any non-owner portrait album icon displayed in display area 3101 and then display the icon of the non-owner portrait album selected by the user in display area 3101.
[0544] Optionally, the icon of any non-owner's photo album deleted by the electronic device 100 may be an icon of a non-owner's photo album with a low degree of association with the owner's photo album, or it may be determined by other means. This application does not limit this.
[0545] As shown in Figures 14P and 14Q, the electronic device 100 can receive the user's operation of long-pressing and dragging the icon 3104 into the display area 3101. In response to this operation, as shown in Figure 14Q, the electronic device 100 can delete the icon 1016 displayed in the display area 3101 and display the icon 3104 in the display area 3101.
[0546] As shown in Figure 14Q, the electronic device 100 can display icon 1016 in the display area 3102.
[0547] Optionally, icon 1016 in display area 3102 may also be displayed after icon 3103. This application does not impose any restrictions on the display order of icon 1016.
[0548] In some embodiments, the electronic device 100 may also receive user operations to change the display order of icons in the non-owner's portrait album displayed in the display area 3102.
[0549] As shown in Figures 14R and 14S, the electronic device 100 can receive user operations on icon 3104, such as long-pressing and dragging icon 3104 in front of icon 3103. In response to this operation, as shown in Figure 14S, the electronic device 100 can display icon 3104 in front of icon 3103 to change the display position of icon 3103 and icon 3104 in display area 3102.
[0550] Figure 15 shows a flowchart illustrating a method for an electronic device 100 to receive user input to change the display position of an icon in a non-owner's photo album on a recommendation interface.
[0551] S1501, The gallery application displays a recommended interface A. The first display area of the recommended interface A includes the icon of the owner's portrait album and the icon of the portrait album of non-owners A.
[0552] For example, recommendation interface A can be recommendation interface 1600. The icon for the owner's portrait album can be icon 1012, and the icon for the portrait album of non-owner A is icon 1016.
[0553] S1502, In response to the operation of adjusting the display position of the portrait album of non-owner A, the gallery application sends message E to the media library.
[0554] The recommended interface A includes a first display area and a second display area. The first display area displays icons of non-owner photo albums that have a greater correlation with the owner's photo album than a first value. The second display area displays icons of non-owner photo albums that have a correlation with the owner's photo album.
[0555] Adjusting the display position of the non-owner A's photo album can be achieved by removing the non-owner A's photo album icon from the first display area. For example, refer to the descriptions shown in Figures 14C-14G.
[0556] Adjusting the display position of the non-owner A's photo album can also be done by adding the icon of the non-owner A's photo album to the first display area. For example, refer to the descriptions shown in Figures 14H-14L.
[0557] Adjusting the display position of the non-owner A's photo album can also mean changing the display position of the non-owner A's photo album icon in the second display area. For example, refer to the descriptions shown in Figures 14R-14S.
[0558] Adjusting the display position of the non-owner A's photo album can also be done by changing the display position of the non-owner A's photo album icon in the first display area.
[0559] In response to an operation that adjusts the display position of the portrait album of a person other than the owner A, the gallery application can send message E to the media library.
[0560] S1503, In response to message E, the media library adjusts the correlation between the non-owner A's portrait album and the owner's portrait album.
[0561] Upon receiving message E from the gallery application, in response to message E, the media library can adjust the association between the non-owner A's portrait album and the owner's portrait album.
[0562] For example, if adjusting the display position of a non-owner A's photo album involves removing the icon of the non-owner A's photo album from the first display area, the media library can reduce the correlation between the non-owner A's photo album and the owner's photo album. For instance, the media library can reduce the correlation between the non-owner A's photo album and the owner's photo album to less than a first value.
[0563] Optionally, the media library can reduce the correlation between the non-owner A's photo album and the owner's photo album to less than a first value, which may include: the media library can reduce the correlation between the non-owner A's photo album and the owner's photo album to a minimum value.
[0564] For example, if adjusting the display position of a non-owner A's photo album involves adding the non-owner A's photo album icon to the first display area, the media library can improve the correlation between the non-owner A's photo album and the owner's photo album. For instance, the media library can increase the correlation between the non-owner A's photo album and the owner's photo album to a value greater than the first value.
[0565] For example, if adjusting the display position of the non-owner A's photo album changes the display position of the non-owner A's photo album icon in the second display area, the media library can increase or decrease the correlation between the non-owner A's photo album and the owner's photo album.
[0566] For example, if non-owner A is person I, and adjusting the display position of non-owner A's portrait album is to increase the correlation between person I's portrait album and the owner's portrait album, the media library could set the correlation between person I's portrait album and the owner's portrait album to be greater than the correlation between person H's portrait album and the owner's portrait album.
[0567] 2. Electronic device 100 edits the non-owner's photo album displayed on electronic device 100, including but not limited to: adding to favorites, naming, hiding, merging, etc.
[0568] The electronic device 100 can edit the photo album of the device owner as well as the photo album of non-owners. The specific implementation is similar, and this application only uses the editing of the photo album of non-owners as an example for explanation.
[0569] A. Electronic device 100 names the non-owner's photo album displayed on electronic device 100.
[0570] Figures 16A-16E illustrate how electronic device 100 names a non-owner's photo album displayed on electronic device 100.
[0571] As shown in Figures 16A and 16B, the electronic device 100 can receive user input operations on the icon 1016, such as a click operation. In response to the user's input operation, the electronic device 100 can display the prompt bar 4001 shown in Figure 16B. The prompt bar 4001 includes multiple options, such as a favorite option, a naming option, a merge option, and a remove this person option. The user can favorite the portrait album of person D using the favorite option. The user can name the portrait album of person D using the naming option. The user can merge the portrait album of person D with another portrait album using the merge option. The user can remove this person option to prevent the electronic device 100 from displaying the icon of the portrait album of person D in interface A.
[0572] As shown in Figures 16B and 16C, the electronic device 100 can receive user input operations for naming options, such as a click operation. In response to the user's input operation, the electronic device 100 can display the prompt bar 4002 shown in Figure 16C. The prompt bar 4002 includes a text input area, a cancel option, and an confirm option. The user can enter the name of the portrait album of person D in the text input area.
[0573] As shown in Figure 16D, the electronic device 100 can receive the user's input of the text "Tom" in the prompt bar 4002 shown in Figure 16D and the operation of confirming the option. In response to the operation, the electronic device 100 can display the recommendation interface 4100 shown in Figure 16E. The recommendation interface 4100 is similar to the recommendation interface 1600 shown in Figure 2F, except that the text "Tom" is displayed below the icon 1016 in the recommendation interface 4100. The text "Tom" is the name of the portrait album of person D.
[0574] Figure 17 shows a schematic diagram of the method for naming the non-owner's photo album displayed on the electronic device 100.
[0575] As shown in Figure 17, the electronic device 100 includes a gallery application and a media library application. The method flow shown in Figure 17 includes, but is not limited to, the following steps:
[0576] S1701, The gallery application displays a recommended interface A, which includes an icon for the first person's portrait album.
[0577] Optionally, the first person can be the owner of the device or a non-owner. This application will use the example of the first person being a non-owner for illustration.
[0578] For example, recommendation interface A can be recommendation interface 1600 as shown in Figure 16A. The icon for the first person's portrait album can be icon 1016 for the portrait album of person D as shown in Figure 16A.
[0579] S1702, In response to the operation of adding the name of the first person's portrait album as the first name, the gallery application displays the first name near the icon of the first person's portrait album.
[0580] For example, the operation of adding the name of the first person's portrait album as the first name can be referred to the operation shown in Figures 16A-16E.
[0581] S1703, The gallery application sends message F to the media library. Message F includes information about the first name and the portrait album of the first person.
[0582] In response to the operation of changing the name of the first person's portrait album to the first name, the gallery application can send message F to the media library. Message F includes the first name and information about the first person's portrait album. Message F instructs the media library to change the name of the first person's portrait album to the first name.
[0583] S1704, The media library obtains the second name based on the information in the first person's portrait album.
[0584] S1705, The media library changes the name of the portrait album of the first person from the second name to the first name.
[0585] Upon receiving message F from the gallery application, the media library can obtain the second name based on the information of the first person's portrait album, and change the name of the first person's portrait album from the second name to the first name.
[0586] Optionally, if the gallery application did not assign a name to the first person's portrait album before S1702, the second name can be empty.
[0587] B. Electronic device 100 merges multiple portrait albums of the same person to obtain a single portrait album.
[0588] In some embodiments, when the electronic device 100 divides the images into albums of different people, it may identify multiple images of the same person as multiple images of different people, thus resulting in multiple albums of the same person. The electronic device 100 can receive user input to merge the multiple albums of the same person into one album.
[0589] Among them, the multiple portrait albums of the same person mentioned above can be the portrait albums of the device owner or the portrait albums of non-device owners. The following embodiments of this application take the example of the multiple portrait albums of the same person being portrait albums of non-device owners.
[0590] In some embodiments, the electronic device 100 can receive active operation from the user to merge multiple portrait albums of the same person into one portrait album.
[0591] Figures 18A-18D illustrate a schematic diagram of a set of electronic devices 100 merging multiple portrait albums of the same person to obtain a single portrait album.
[0592] As shown in Figures 18A and 18B, the electronic device 100 can receive user input operations for the merge options in the prompt bar 4001, such as a click operation. In response to the user's input operation, the electronic device 100 can display the portrait album merge interface 4200 shown in Figure 18B. The portrait album merge interface 4200 includes multiple portrait album icons, such as icon 1012, person icon 1018, icon 1019, icon 1017, icon 1013, icon 1014, icon 1016, icon 1015, icon 1031, icon 3103, and icon 3104.
[0593] As shown in Figure 18B, the lower right corner of the portrait album icon displays option 4003. Option 4003 is used to select the corresponding portrait album to merge two or more portrait albums into one portrait album.
[0594] As shown in Figures 18B and 18C, the user can select the portrait albums of person D and person C. The options 4003 in the lower right corner of icon 1016 and the lower right corner of icon 1015 are selected. Then, the electronic device 100 can receive the user's input operation on the confirmation option 4004 in the portrait album merging interface 4200, such as a click operation. In response to the user's input operation, the electronic device 100 can display the portrait album merging interface 4300 shown in Figure 18C.
[0595] As shown in Figure 18C, the portrait album merging interface 4300 includes icons 1016 and 1015, and the text "Merging with selected person". The portrait album merging interface 4300 is used to prompt the user whether to merge the portrait albums of person D and person C into one album. The electronic device 100 can receive the user's input operation on the confirmation option 4005 in the portrait album merging interface 4300, such as a click operation. In response to the user's input operation, the electronic device 100 can merge the portrait albums of person D and person C into one album and display the recommendation interface 4400 shown in Figure 18D.
[0596] As shown in Figure 18D, the recommendation interface 4400 is similar to the recommendation interface 1600 shown in Figure 2F. The difference is that the display areas 1011 and 1020 in the recommendation interface 4400 do not include icon 1015, while the display area 1011 in the recommendation interface 4400 has added icon 1016.
[0597] Figure 19 shows a schematic flowchart of a method for merging portrait albums using an electronic device 100.
[0598] As shown in Figure 19, the electronic device 100 includes a gallery application and a media library. The method flow shown in Figure 19 includes, but is not limited to, the following steps:
[0599] S1901, The gallery application displays a recommended interface A, which includes icons for the second person's portrait album and the third person's portrait album.
[0600] For example, the recommendation interface A can be the recommendation interface 1600 shown in Figure 2F, the icon of the second person's portrait album can be the icon 1016 of the portrait album of person D shown in Figure 18A, and the icon of the third person's portrait album can be the icon 1015 of the portrait album of person C shown in Figure 18A.
[0601] S1902, In response to the operation of merging the portrait albums of the second person and the third person, the gallery application displays a recommendation interface B, which includes the icon of the third person's portrait album but does not include the icon of the second person's portrait album.
[0602] For example, the operation of merging the portrait albums of the second person and the portrait album of the third person can be referred to the description in Figures 18A-18D.
[0603] Recommended interface B can be recommended interface 4400 as shown in Figure 18D.
[0604] In this way, after merging the portrait albums of two people, the electronic device 100 can display the icon of either person's portrait album.
[0605] S1903, The gallery application sends message G to the media library. Message G includes the identifier of the second person's portrait album and the identifier of the third person's portrait album.
[0606] S1904, The media library saves the images from the second person's portrait album into the third person's portrait album.
[0607] In response to merging the portrait albums of a second person and a third person, the gallery application can send message G to the media library. Message G includes identifiers for the second person's portrait album and the third person's portrait album, and instructs the media library to merge the two albums.
[0608] After receiving message G from the gallery application, the media library can save images from the second person's portrait album into the third person's portrait album.
[0609] Using the methods shown in Figures 18A-18D, users can actively merge multiple portrait albums of the same person into one portrait album.
[0610] In other embodiments, the electronic device 100 may prompt the user to merge multiple portrait albums of the same person to obtain a single portrait album.
[0611] Figures 20A-20B illustrate how another set of electronic devices 1000 merges multiple portrait albums of the same person to obtain a single portrait album.
[0612] For example, as shown in Figure 20A, when the electronic device 100 recognizes that the portrait albums of person D and person C are the same person's portrait albums, the electronic device 100 can display the prompt message 4006 shown in Figure 20A. The prompt message 4006 includes the text "Similar people detected, merge immediately?", and also includes a "Go to merge" option. The user can view the portrait album merging interface by going to the merge option.
[0613] As shown in Figures 20A and 20B, the electronic device 100 can receive user input operations for the merge option in the prompt information 4006, such as a click operation. In response to the user's input operation, the electronic device 100 can display the portrait album merging interface 4500 shown in Figure 20B. The portrait album merging interface 4500 includes icons 1016 and 1015, and the text "The above person is identified as friend Tom". The portrait album merging interface 4500 is used to prompt the user whether to merge the portrait albums of person D and person C into one album. The electronic device 100 can also receive user input operations for the merge 4006 in the portrait album merging interface 4300, such as a click operation. In response to the user's input operation, the electronic device 100 can merge the portrait albums of person D and person C into one album and display the recommendation interface 4400 shown in Figure 18D. For details, please refer to the description in Figure 18D, which will not be repeated here.
[0614] Figure 21 shows a schematic diagram of a method for merging portrait albums using another electronic device 100.
[0615] As shown in Figure 21, the electronic device 100 includes a gallery application, a media library, and media intelligence analytics services. The method flow shown in Figure 21 includes, but is not limited to, the following steps:
[0616] S2101, Media Intelligence Analysis Service determines that the portrait albums of the second person and the third person belong to the same person's portrait album.
[0617] As shown in the embodiment of Figure 3B, the media intelligent analysis service can divide the images stored in the electronic device 100 into portrait albums of different people. In some embodiments, the media intelligent analysis service may divide multiple images of the same person into portrait albums of different people. When the electronic device 100 is in an idle state, such as when the screen of the electronic device 100 is off, the media intelligent analysis service can confirm whether one or more portrait albums belong to different people. If it is confirmed that multiple portrait albums belong to the same person, the media intelligent analysis service can output a prompt message through the gallery application to prompt the user whether to merge the portrait albums.
[0618] For example, a media analytics service can confirm that the second person's photo album and the third person's photo album belong to the same person. For instance, the second person's photo album could be the photo album of person D, and the third person's photo album could be the photo album of person C.
[0619] S2102, The Media Intelligence Analysis Service sends message H to the media database. Message H includes the identifier of the second person's portrait album and the identifier of the third person's portrait album.
[0620] S2103, The media library sends message H to the gallery application. Message H includes the identifier of the second person's portrait album and the identifier of the third person's portrait album.
[0621] S2104. The gallery application outputs a first prompt message, which is used to prompt the merging of the second person's portrait album and the third person's portrait album.
[0622] If the media analytics service identifies that the second person's and the third person's portrait albums belong to the same person, the media analytics service can send message H to the media library, which then sends message H to the photo library application. Message H includes the identifiers of the second person's and the third person's portrait albums. Message H instructs the photo library application to output a prompt message, asking the user whether to merge the second person's and the third person's portrait albums.
[0623] For example, after receiving message H from the media library, the gallery application can output a first prompt message to suggest merging the portrait albums of the second person and the third person. For instance, the first prompt message could be prompt message 4006 as shown in Figure 20A.
[0624] S2105, In response to the operation of merging the portrait albums of the second person and the portrait album of the third person, the gallery application sends message I to the media library.
[0625] S2106. The media library saves the images from the second person's portrait album into the third person's portrait album.
[0626] After the Gallery app outputs the first prompt message, and upon receiving confirmation of merging the second person's and the third person's portrait albums, the Gallery app can send message I to the Media Library. Message I instructs the Media Library to merge the second person's and the third person's portrait albums.
[0627] Optionally, message I may include the identifiers of the second person's portrait album and the third person's portrait album, or it may not include the identifiers of the second person's portrait album and the third person's portrait album.
[0628] After receiving message I from the gallery application, the media library can save images from the second person's portrait album to the third person's portrait album.
[0629] Using the method shown in Figures 20A-20B, the electronic device 100 can prompt the user to merge multiple portrait albums of the same person into one portrait album.
[0630] C. Remove the icons for non-owner photos from the recommended interface A on electronic devices.
[0631] In some embodiments, if a user does not want to view the portrait albums of any one or more people in the recommendation interface 1600, the electronic device 100 can receive the user's operation and delete the icon of the portrait album of that person displayed in the recommendation interface 1600.
[0632] Figures 22A-22C exemplarily illustrate schematic diagrams of the icons for the portrait album displayed in the deletion recommendation interface A of the electronic device 100.
[0633] As shown in Figures 22A and 22B, the electronic device 100 can receive user input operations for the merge option in the prompt information 4001, such as a click operation. In response to the user's input operation, the electronic device 100 can display the prompt bar 6001 shown in Figure 22B. The prompt bar 6001 includes the text "Remove this person? After removal, this person will not appear on the protagonist planet." This text is used to prompt the user whether to delete the icon 1016 of the portrait album of character D displayed in the recommendation interface 1600.
[0634] As shown in Figures 22B and 22C, the electronic device 100 can receive user input operations, such as a click operation, for the removal option in the prompt bar 6001. In response to the user's input operation, the electronic device 100 can stop displaying the icon 1016 of the portrait album of person D in the recommendation interface 1600 and display the recommendation interface 6100 shown in Figure 22C. The recommendation interface 6100 does not include icon 1016, but includes icon 3103.
[0635] Optionally, icon 3103 can also be omitted in the recommended interface 6100.
[0636] Optionally, after the electronic device 100 stops displaying the icon 1016 of person D's portrait album in the recommendation interface 1600, if the first condition is met, the electronic device 100 may display the icon 1016 of person D's portrait album in the recommendation interface again. For an explanation of the first condition, please refer to the description in S2305.
[0637] Figure 23 shows a flowchart illustrating a method for removing icons from the non-owner's photo album displayed in the recommendation interface A of an electronic device 100.
[0638] As shown in Figure 23, the electronic device 100 includes a gallery application, a media library, and media intelligence analytics services. The method flow shown in Figure 23 includes, but is not limited to, the following steps:
[0639] S2301, The gallery application displays a recommended interface A, which includes an icon for a second person's portrait album.
[0640] For example, recommendation interface A can be recommendation interface 1600 as shown in Figure 22A. The icon for the second person's portrait album can be icon 1016 for the portrait album of person D as shown in Figure 22A.
[0641] S2302, The gallery application receives the operation to remove the icon of the second person's portrait album, and displays the recommendation screen B, which does not include the icon of the second person's portrait album.
[0642] In some embodiments, if a user does not want the icon of the second person's portrait album to be displayed in the recommendation interface A, the gallery application can receive the user's operation to remove the icon of the second person's portrait album, and the icon of the second person's portrait album will not be displayed in the recommendation interface A.
[0643] Optional, not limited to removal, could also include deletion or hiding operations, causing the electronic device 100 to stop displaying the second person's portrait album icon in the recommended interface A.
[0644] For example, the operation of removing the icon of the second person's portrait album can be referred to Figures 22A-22B. The recommendation interface B can be the recommendation interface 6100 shown in Figure 22C. The recommendation interface 6100 does not display albums containing the second person, or, in other people's albums, it does not display photos containing the second person.
[0645] Optionally, after removing the icon for the second person's portrait album, the gallery app can add icons for other people's portrait albums in the recommendation screen A. For example, an icon 3104 for the portrait album of person I is added to the recommendation screen 6100.
[0646] Optionally, after removing the icon for the second person's portrait album, the gallery app may also choose not to add icons for other people's portrait albums in the recommended screen A.
[0647] S2303, The gallery application sends message J to the media library.
[0648] S2304, In response to message J, the media library reduces the correlation between the second person's portrait album and the owner's portrait album.
[0649] In response to the removal of the icon from the second person's photo album, the gallery app can send message J to the media library, which instructs the media library to reduce the association between the second person's photo album and the owner's photo album.
[0650] In response to message J, the media library can reduce the correlation between the second person's photo album and the owner's photo album. For example, the media library can set the correlation between the second person's photo album and the owner's photo album to be less than a first value. For instance, if the second person is person D, the photo library application can reduce the correlation between person D's photo album and the owner's photo album to be less than the correlation between person H's photo album and the owner's photo album.
[0651] It should be noted that the reduction is not limited to lowering the correlation between the portrait album of character D and the portrait album of the machine owner to less than the correlation between the portrait album of character H and the portrait album of the machine owner; it can also be reduced to other values, such as to the minimum value. This application does not limit this.
[0652] S2305, Media Intelligent Analysis Service meets the first condition.
[0653] The first condition may include any one or more of the following: the number of new pictures added by the second person is greater than the first value; the number of new group photos added by the second person and the owner is greater than the second value; the total number of group photos of the second person and the owner exceeds the third value (e.g., 20 photos); and the total number of pictures of the second person exceeds the fourth value.
[0654] S2306, The Media Intelligence Analysis Service sends message K to the media database.
[0655] S2307, In response to message K, the media library restores the correlation between the second person's portrait album and the owner's portrait album to the correlation before the reduction.
[0656] Optionally, after reducing the correlation between the second person's photo album and the device owner's photo album, the media intelligence analysis service can determine whether the first condition is met. If the first condition is met, the media intelligence analysis service can send message K to the media library. In response to message K, the media library can restore the correlation between the second person's photo album and the device owner's photo album to its pre-reduction level. This allows the photo library application to once again display the icon for the second person's photo album in the recommendation interface.
[0657] Optionally, S2305-S2307 can be omitted.
[0658] D. Electronic device 100 receives user-generated images of people collected in a photo album.
[0659] Figure 24 shows a flowchart illustrating a method for an electronic device 100 to receive user input for creating a photo album of people's portraits.
[0660] As shown in Figure 24, the electronic device 100 includes a gallery application and a media library. The method shown in Figure 24 includes, but is not limited to, the following steps:
[0661] S2401, The gallery application displays a recommended interface A, which includes an icon for a second person's portrait album.
[0662] For example, recommendation interface A can be recommendation interface 1600 as shown in Figure 22A. The icon for the second person's portrait album can be icon 1016 for the portrait album of person D as shown in Figure 22A.
[0663] S2402, In response to the operation of collecting a second person's portrait album, the gallery application sends message L to the media library.
[0664] In some embodiments, the electronic device 100 can receive user input to save a second person's portrait album.
[0665] For example, the operation of adding a second person's portrait to the album can be an input operation for the add-to-favorites option in the prompt message 4001 shown in Figure 22A, such as a click operation.
[0666] In response to the action of adding a second person's portrait album to the library, the gallery app can send message L to the media library. Message L is used to indicate to the media library that the second person's portrait album has been added to the library.
[0667] S2403, In response to message L, the media library adds a favorite tag to the second person's portrait album.
[0668] Upon receiving message L from the gallery application, the media library can add a favorite tag to the second person's portrait album. This favorite tag indicates that the second person's portrait album has been favorited.
[0669] In some embodiments, after a user saves a second person's portrait album, the electronic device 100 can enhance the correlation between the second person's portrait album and the owner's portrait album.
[0670] 3. The electronic device 100 displays a recommended interface C, which includes icons for non-owner portrait albums and a display interface for portrait albums that are associated with non-owner portrait albums.
[0671] In some embodiments, after the electronic device 100 displays the recommendation interface A, the electronic device 100 may receive user input to display images from one or more story sets related to the device owner.
[0672] Figures 25A-25B illustrate schematic diagrams of an electronic device 100 displaying images from one or more story sets related to the device owner.
[0673] As shown in Figure 25A, the electronic device 100 can receive user input operations on icons of a video or image collection themed "Xi'an," such as a click operation. In response to the user's input operation, the electronic device 100 can display a story collection interface 2520 as shown in Figure 25B. The story collection interface 2520 includes multiple images, such as images 2521, 1022, 2003, and 2522. The story collection interface 2520 also includes a story collection playback control area 2505, which includes a volume option 2506, a play / pause option 2507, and an editing option 2508. The user can use the volume option 2506 to mute or demute the images in the video or image collection. The user can pause the playback using the play / pause option 2507, and can also trigger the electronic device 100 to display the images in the video or image collection. Users can edit the video or images in the image collection using editing option 2508, such as deleting certain images.
[0674] In one possible solution provided in this application embodiment, after the electronic device 100 displays the recommendation interface A, the electronic device 100 can receive the user's input operation on the icon of the non-owner's portrait album in the recommendation interface A, and display the recommendation interface C. The recommendation interface C includes the icon of the non-owner's portrait album, as well as the icons of other people's portrait albums that are associated with the non-owner's portrait album. The portrait albums of other people may include the owner's portrait album and / or the non-owner's portrait album.
[0675] Figures 25C-25D show schematic diagrams of the electronic device 100 displaying the recommended interface C.
[0676] As shown in Figure 25C, the electronic device 100 displays a recommendation interface 1600. The electronic device 100 can receive input operations from the user on the icon 1016 of the portrait album of person D, such as a click operation. In response to the user's input operation, the electronic device 100 can display the recommendation interface 7100 shown in Figure 25D.
[0677] Optionally, the recommended interface C can be the recommended interface 7100.
[0678] As shown in Figure 25D, the recommendation interface 7100 includes a display area 7101, a story collection display area, and a friends' selection display area.
[0679] The display area 7101 includes icons for portrait albums of various people, such as icon 1016, icon 1018, icon 1012, and icon 7102 for portrait album of person J.
[0680] In this context, icon 1016 is displayed in the center of display area 7101, while icons 1018, 1012, and 7102 are displayed around icon 1016 to indicate that the recommendation interface 7100 displays the portrait albums of other people who are related to person D's portrait album.
[0681] The story collection display area shown in Figure 25D displays icons for multiple videos or multiple image collections. These videos or image collections are generated based on portrait images of person D, categorized by different themes. For example, the story collection display area in Figure 25D displays icons for video or image collections themed "Beijing," "Holiday," "Party," and "Travel."
[0682] Figure 25D shows the featured display area displaying portrait images of character D, such as images 7103 and 7104. The electronic device 100 can receive user swiping operations on the recommendation interface 7100, such as swiping upwards, to view more portrait images of character D. In one possible solution provided in this application embodiment, after the electronic device 100 displays the recommendation interface C, it can receive user operations to display portrait images of character D. For exemplary examples, refer to the descriptions in embodiments similar to Figures 4A-4B, which will not be repeated here.
[0683] In one possible solution provided in this application embodiment, after the electronic device 100 displays the recommendation interface C, the electronic device 100 can also receive user operations to display non-human images related to the portrait image of person D, so that the user can also view non-human images related to person D, such as landscape images, object images, etc. For example, the descriptions in the embodiments similar to Figures 6B-6C can be referred to, and will not be repeated here.
[0684] In one possible solution provided in this application embodiment, after the electronic device 100 displays a portrait image of person D, the electronic device 100 can also receive user operations to edit the portrait image of person D, including but not limited to: sharing the portrait image of person D, collecting the portrait image of person D, hiding the portrait image of person D, deleting the portrait image of person D, etc. For example, refer to the descriptions in the embodiments similar to Figures 10A-10C and Figures 11-13, which will not be repeated here.
[0685] In one possible solution provided in this application embodiment, after the electronic device 100 displays a portrait image of person D and / or a non-human image related to the portrait image of person D, the electronic device 100 can also receive user operation to filter and obtain the portrait image of person D and / or the non-human image related to the portrait image of person D based on the first location and / or the first event.
[0686] In one possible solution provided in this application embodiment, after the electronic device 100 displays the recommendation interface C, the electronic device 100 can also receive user operations to change the display order of the icons of other people's portrait albums displayed in the recommendation interface C. For example, refer to the descriptions in embodiments similar to Figures 14A-14S, which will not be repeated here.
[0687] In some embodiments, after the electronic device 100 displays the recommendation interface C, the electronic device 100 can receive user input to view the story collection of character D.
[0688] Figures 25E-25F illustrate schematic diagrams of an electronic device 100 displaying images from one or more story sets related to a non-owner.
[0689] As shown in Figure 25E, the electronic device 100 can receive user input operations on icons related to a collection of videos or images themed around "Beijing," such as click operations. In response to the user's input, the electronic device 100 can display the story collection interface 2510 shown in Figure 25F. The story collection interface 2510 includes multiple images, such as images 2501, 2502, 2503, and 2504. The story collection interface 2510 also includes a story collection playback control area 2505. For a description of the story collection playback control area 2505, please refer to the description in Figure 25B. Optionally, the electronic device 100 can also receive user operations on the owner's story collections, allowing the user to view the owner's story collections, similar to Figures 25C and 25D.
[0690] Figure 26 shows a flowchart of a method for an electronic device 100 to display content from a collection of characters' stories.
[0691] As shown in Figure 26, the electronic device 100 includes a gallery application, a media library, and a media intelligence analytics service. The method shown in Figure 26 includes, but is not limited to, the following steps:
[0692] S2601, Media Intelligence Analysis Service generates one or more story collections based on images of a second person, and determines cover images for one or more story collections.
[0693] Media analytics services can generate one or more story sets based on portrait and / or non-portrait images of a second person, categorized by different themes. Themes for different story sets can include, but are not limited to, location, time, and event.
[0694] The media intelligence analysis service can also identify the cover image of one or more story collections. The cover image of one or more story collections can be the best image among multiple images in the story collection. The best image can refer to the image with higher clarity compared to other images.
[0695] The second character can be a non-owner, and one or more story sets are generated by the electronic device 100 based on portrait images and / or non-human images of the non-owner.
[0696] Optionally, if the first person is the device owner, the media intelligence analysis service generates one or more story sets based on the first person's image and determines the cover image for one or more story sets. This application embodiment uses a story set featuring a second person as an example for illustration.
[0697] In some embodiments, the electronic device 100 may have already generated story sets for different people based on their portrait images and / or non-portrait images before displaying the recommendation interface. Then, before executing S2601, the electronic device 100 may receive a user's operation to select a second person from multiple people, and the electronic device 100 may then obtain the story set for the second person based on the user's selection. For example, if the user selects a non-owner, the media intelligence analysis service may obtain one or more story sets for the non-owner based on the user's selection. As another example, if the user selects the owner, the media intelligence analysis service may obtain one or more story sets for the owner based on the user's selection.
[0698] In some embodiments, the electronic device 100 may not have obtained the story sets of different people before displaying the recommendation interface. The electronic device 100 can generate the story set of the user-selected person based on the portrait image or non-portrait image of the person selected by the user. For example, before executing S2601, the electronic device 100 may receive a user operation to select the device owner from multiple people, then the media intelligent analysis service can generate the device owner's story set based on the device owner's portrait image or non-portrait image. As another example, before executing S2601, the electronic device 100 may receive a user operation to select a non-device owner from multiple people, then the media intelligent analysis service can generate a non-device owner's story set based on the non-device owner's portrait image or non-portrait image.
[0699] This application does not limit the timing of when the electronic device 100 generates story collections of different characters.
[0700] S2602, The Media Intelligence Analysis Service sends information about one or more story sets and the cover images of one or more story sets to the media library.
[0701] Information about one or more story sets can refer to information about one or more images in the story set. Image information can include image identifiers, storage locations, etc. Image identifiers can uniquely identify an image.
[0702] Information about the cover images of one or more story collections can refer to information such as the cover image's identifier and storage location. The cover image's identifier can uniquely identify an image.
[0703] The media intelligence analytics service can send information about one or more story sets, along with their cover images, to the media library. The media library can then store this information in its storage.
[0704] S2603, The Media Library sends information about the cover images of one or more storybooks to the Gallery application.
[0705] S2604. The gallery application displays cover images for one or more story collections.
[0706] The media library can send information about the cover images of one or more storybooks to the gallery app. The gallery app can then display the cover images of one or more storybooks.
[0707] For example, the cover image of one or more story sets may be the icon of a video or image set themed "Beijing", "Holiday", "Party", or "Travel", as shown in Figure 25B.
[0708] S2605, The gallery application receives user actions for the first story set.
[0709] S2606, The gallery application sends message M to the media library.
[0710] For example, an operation on the first story set could be an input operation on an icon of a collection of videos or images themed "Beijing," as shown in Figure 25C.
[0711] In response to an operation on the first story set, the gallery app can send message M to the media library. Message M instructs the media library to retrieve one or more images from the first story set.
[0712] S2607. Obtain one or more images from the first story collection from the media library.
[0713] S2608. The Media Library sends one or more images from the first story set to the Gallery application.
[0714] S2609. The gallery application displays one or more images from the first story collection in sequence.
[0715] Upon receiving message M from the gallery application, the media library can retrieve one or more images from the first story set in response to message M.
[0716] For example, the media library can retrieve one or more images from the first story set based on information from one or more images in the first story set.
[0717] After retrieving one or more images from the first story collection, the media library then sends one or more images from the story collection to the gallery app. The gallery app can then display one or more images from the first story collection sequentially.
[0718] In some embodiments, the electronic device 100 may add tag options to filter one or more story sets based on the tag options. These tag options may be one or more people tag options, one or more location tag options, one or more event tag options, one or more time tag options, etc. Users can filter story sets related to the people corresponding to the person tag option using the people tag option. For example, a user can filter story sets containing a single image of a second person using the people tag option; another example is that a user can filter story sets containing a group photo of the second person and other people using the people tag option; yet another example is that a user can filter story sets that do not contain images of people using the people tag option. Users can filter story sets related to one or more locations corresponding to the location tag option using the location tag option. Users can filter story sets related to one or more events corresponding to the event tag option using the event tag option. Users can filter story sets related to one or more times using the time tag option.
[0719] In some embodiments, after the electronic device 100 displays the recommendation interface A, the electronic device 100 can receive user operations to view the owner's story collection, as described in Figure 26.
[0720] In some embodiments, after the electronic device 100 displays the recommendation interface D, the electronic device 100 may receive user input to view a story collection containing a photo of the first person and the second person, as can be seen in the description in FIG26.
[0721] For example, users can filter photos containing the owner and person E by using the "person" tag, or users can filter photos containing the owner, person E, and other people by using the "person" tag.
[0722] IV. Interaction between the owner's photo album and non-owner's photo album.
[0723] 1. Electronic devices 100 display recommended interface D.
[0724] In one possible solution provided in this application embodiment, after displaying the recommendation interface A, the electronic device 100 can display the recommendation interface D based on the user's operation on the icons of the portrait albums of any two people in the recommendation interface B. Recommendation interface D includes icons of portrait albums containing photos of two people together, and icons of portrait albums of other people that are associated with the portrait albums containing photos of two people together. These two people can be the owner and a non-owner, or two non-owners. This application embodiment uses the example of the two people being the owner and a non-owner for illustration.
[0725] Figures 27A-27F show schematic diagrams of the electronic device 100 displaying the recommended interface D.
[0726] As shown in Figure 27A, the electronic device 100 displays a recommendation interface 1600. The electronic device 100 can receive user operations on icons 1017 and 1012, such as long-pressing and dragging icon 1017 and moving it to the display area where icon 1012 is located. When icon 1017 is moved to the display area where icon 1012 is located, the user releases their finger. The electronic device 100 can obtain the icon of the portrait album containing a photo of the owner and person E, as well as the icons of portrait albums of other people that are related to the portrait album containing the photo of the owner and person E, and display the recommendation interface 8100 shown in Figure 27B.
[0727] As shown in Figure 27B, the recommendation interface 8100 includes a display area 8110, a display area 8120, a story collection display area, and a featured display area for friends.
[0728] The display area 8110 includes icons for portrait albums of various people, such as icon 2801 for a portrait album containing a photo of the owner and person E, and icon 1019 for a portrait album of person G.
[0729] Icon 2801 is displayed in the center of display area 8110, and icon 1019 is displayed around icon 2801 to indicate that the recommended interface 8100 displays portrait albums of other people that are related to the portrait album containing the photo of the owner and person E.
[0730] Optionally, the non-owner's photo album displayed in display area 8110 has a higher correlation with the photo album containing a photo of the owner and person E than a first value. Non-owner's photo albums with a lower correlation with the photo album containing a photo of the owner and person E are not displayed in display area 8120.
[0731] Display area 8120 shows icons for non-owner portrait albums that are associated with the portrait album containing a photo of the owner and person E. Electronic device 100 can display the icons of non-owner portrait albums from left to right, according to the degree of association between the non-owner portrait albums and the portrait album containing the photo of the owner and person E, from high to low.
[0732] For example, icon 1019 is also displayed in display area 1020.
[0733] Optionally, the recommended interface 8100 may not include the display area 8120.
[0734] The story collection display area shown in Figure 27B displays icons for multiple videos or multiple image collections. These videos or image collections are generated based on photos of the owner and person E, each with a different theme. For example, the story collection display area shown in Figure 8B displays icons for video or image collections themed "Beijing," "Holiday," "Party," and "Travel."
[0735] Figure 27B shows the featured display area with friends, displaying photos of the device owner and person E, such as images 8001 and 8002. The electronic device 100 can receive swiping operations from the user on the recommended interface 8100, such as swiping up, to view more photos of the device owner and person E.
[0736] In some embodiments, in response to operations on icons 1017 and 1012, such as long-pressing and dragging icon 1017 and moving it towards the display area where icon 1012 is located, when icon 1017 moves into the display area where icon 1012 is located, the user releases their finger, and the electronic device 100 can also display the recommendation interface 8400 shown in FIG. 27C. The recommendation interface 8400 includes a display area 8410 and a display area 8420. The recommendation interface 8400 is similar to the recommendation interface 8100 shown in FIG. 27B, except that the display area 8410 in the recommendation interface 8400 includes icon 2802, and the display style of icon 2802 is different from that of icon 2801.
[0737] In some embodiments, in response to operations on icons 1017 and 1012, such as long-pressing and dragging icon 1017 and moving it towards the display area where icon 1012 is located, when icon 1017 moves into the display area where icon 1012 is located, the user releases their finger, and the electronic device 100 can also display the prompt message 2803 shown in FIG27D. The prompt message 2803 includes the text "Person E and the owner have no photos together!" The prompt message 2803 is used to inform the user that the electronic device 100 does not store a photo of person E and the owner together, and the electronic device 100 cannot display the recommendation interface shown in FIG27B or FIG27C.
[0738] In some embodiments, after the electronic device 100 displays the recommendation interface 8100, the electronic device 100 can display a photo of person E and the device owner in the recommendation interface 8100. In this way, after the user drags icon 1017 to icon 1012, the electronic device 100 directly displays the photo of person E and the device owner, making it convenient for the user to view the photo of person E and the device owner and saving user operations.
[0739] For example, in response to operations on icons 1017 and 1012, electronic device 100 can display a recommendation interface 8100 as shown in FIG27E. The recommendation interface 8100 includes a display area 8410 and multiple photos of person E and the owner of the device. The multiple photos of person E and the owner of the device may include images 8001, 8002, and 8003.
[0740] In some embodiments, after the electronic device 100 displays the recommendation interface 8100, the electronic device 100 may display a prompt message on the recommendation interface 8100, which instructs the user to view a photo of person E and the device owner. The user can click on the prompt message to view the photo of person E and the device owner.
[0741] For example, the electronic device 100 can display the prompt message 8500 shown in Figure 27F. The prompt message 8500 includes the text "View the photo of the two people," and is used to prompt the user to view the photo of person E and the device owner. The prompt message 8500 also includes a "Go to view" option, and the electronic device 100 can receive input from the user regarding the "Go to view" option, such as a click operation, to view the photo of person E and the device owner.
[0742] Figure 28 shows a schematic diagram of the method flow for displaying the recommended interface D by the electronic device 100.
[0743] As shown in Figure 28, the electronic device 100 includes a gallery application and a media library. The method flow shown in Figure 28 includes, but is not limited to, the following steps:
[0744] S2801. The gallery application displays a recommended interface A, which includes icons for the first person's portrait album and the second person's portrait album.
[0745] For example, the recommendation interface A can be the recommendation interface 1600 shown in Figure 27A, the icon of the first person's portrait album can be the icon 1017 of the portrait album of person E shown in Figure 27A, and the icon of the second person's portrait album can be the icon 1012 of the owner's portrait album shown in Figure 27A.
[0746] S2802, In response to an operation on the icon of the first person's portrait album and the icon of the second person's portrait album, the gallery application obtains the correlation between the portrait albums of one or more people and the portrait album containing a photo of the first person and the second person together.
[0747] In some embodiments, if a user needs to view a photo of the first person and the second person together, the gallery application can receive the user's actions on the icons of the first person's portrait album and the second person's portrait album, such as the operation shown in Figure 27A of long-pressing and dragging the icon 1017 of person E's portrait album and moving it towards the display area where the icon 1012 of the owner's portrait album is located.
[0748] In response to this action, the gallery app can obtain the correlation between a portrait album of one or more people and a portrait album containing a group photo of the first and second people.
[0749] The degree of association between a portrait album of one or more individuals and a portrait album containing a group photo of the first and second individuals can be determined based on the intimacy between the portrait album of one or more individuals and the portrait album containing a group photo of the first and second individuals.
[0750] The method by which electronic device 100 obtains the intimacy between a portrait album of one or more people and a portrait album containing a group photo of the first person and the second person is similar to the specific implementation of a photo library application obtaining the intimacy between a portrait album of one or more people and the portrait album of the device owner. For details, please refer to the description of S3001B in the embodiment of Figure 3B. This application will not repeat it here.
[0751] S2803. The gallery application displays a recommendation interface D based on the correlation between portrait albums of one or more people and portrait albums containing a group photo of the first person and the second person. The recommendation interface D includes an icon of a portrait album containing a group photo of the first person and the second person, and a second set of identifiers.
[0752] In some embodiments, the icon of a portrait album containing a photo of a first person and a second person may be referred to as a combined identifier of the first person and the second person, and the second identifier set may include icons of portrait albums of other people.
[0753] After obtaining the correlation between the portrait albums of one or more people and the portrait album containing a group photo of the first and second people, the gallery application can determine the display order of the portrait albums of one or more people based on the correlation between the portrait albums of one or more people and the portrait album containing a group photo of the first and second people, and then display the recommendation interface D based on the display order of the portrait albums of one or more people.
[0754] For example, the recommendation interface D can be the recommendation interface 8100 shown in Figure 27B or the recommendation interface 8400 shown in Figure 27C. The icon of the portrait album of the first person and the second person can be the icon 2801 shown in Figure 27B or the icon 2802 shown in Figure 27C. The second set of identifiers can include icon 1019.
[0755] Using the method shown in Figures 27A-27D, users can view portrait albums of other people that are related to the portrait album containing the first and second person's photos together.
[0756] 2. Electronic device 100 displays a photo of the owner and person E.
[0757] In one possible solution provided in this application embodiment, after the electronic device 100 displays the recommendation interface D, the electronic device 100 can receive user operation to obtain a photo of the owner and person E, and the user can view the photo of the owner and person E.
[0758] Figures 29A and 29B show schematic diagrams of a group photo of the device owner and person E displayed on the electronic device 100.
[0759] As shown in Figure 29A, the electronic device 100 displays a recommendation interface 8100, which includes a featured display area with friends. This featured display area shows photos of the device owner and person E. The electronic device 100 can receive user actions on the display screen, such as swiping upwards to display more photos of the device owner and person E.
[0760] As shown in Figures 29A and 29B, the electronic device 100 can receive user operations on the display screen, such as an upward swipe operation. In response to the user operation, the electronic device 100 can display the user interface 8200 shown in Figure 29B, which displays a photo of the organic host and the person E.
[0761] As shown in Figure 29B, the user interface 8200 displays images 8001, 8002, and 8003. Images 8001, 8002, and 8003 are all group photos of the phone owner and person E. The user interface 8200 also displays options 8004, 8005, 8006, 8007, 8008, and 8009. Option 8004 allows the user to view non-human images associated with the group photo of the phone owner and person E. Optionally, the group photo of the phone owner and person E can refer to a photo containing both the phone owner and person E, or a photo containing the phone owner, person E, and other people.
[0762] In other embodiments, the user interface 8200 may display only a group photo of the owner and person E.
[0763] In other embodiments, the user interface 8200 may display a group photo including the owner and person E, as well as a group photo including the owner, person E, and other people.
[0764] It should be noted that Figures 29A and 29B illustrate the use of an electronic device 100 receiving a user's swipe operation on the recommendation interface 8100 to display a photo of the device owner and person E. In other embodiments, the electronic device 100 can also display a non-human image related to the non-human image of the device owner and the photo of person E by the user's swipe operation on the recommendation interface 8100. Alternatively, it can simultaneously display the photo of the device owner and person E, and a non-human image related to the non-human image of the device owner and the photo of person E.
[0765] Users can also filter images to obtain those related to a location and / or event. For example, users can use option 8005 to filter for photos of the camera owner and person E taken in Shanghai, and / or non-human images that are related to the photos of the camera owner and person E.
[0766] Optionally, not limited to Shanghai, users can also filter to get images from other locations.
[0767] Users can also filter for images related to preset events using options 8006, 8007, 8008, and 8009.
[0768] For example, a user can filter using option 8006 to obtain photos of the owner and person E related to the "travel" event, and / or non-human images associated with such photos. A user can filter using option 8007 to obtain photos of the owner and person E related to the "party" event, and / or non-human images associated with such photos. A user can filter using option 8008 to obtain photos of the owner and person E related to the "food" event, and / or non-human images associated with such photos. A user can filter using option 8009 to obtain photos of the owner and person E related to the "cycling" event, and / or non-human images associated with such photos.
[0769] Figure 30 shows a flowchart of a method for an electronic device 100 to display a photo of a first person and a second person.
[0770] As shown in Figure 30, the electronic device 100 includes a gallery application and a media library. The method flow shown in Figure 30 includes, but is not limited to, the following steps:
[0771] S3001, Gallery application displays recommended interface D.
[0772] For example, the recommendation interface D can be the recommendation interface 8100 shown in Figure 29A.
[0773] S3002. In response to an input operation on the recommendation interface D, the gallery application sends message N to the media library.
[0774] Among them, message N is used to retrieve a photo of the first and second people from the media library.
[0775] After the recommendation interface D is displayed, the gallery application can receive user input on the recommendation interface D to obtain a photo of the first person and the second person together, and display the photo of the first person and the second person together.
[0776] For example, the input operation for the recommendation interface D can be a swiping operation on the recommendation interface 8100 shown in Figure 29A, such as an upward swipe operation.
[0777] S3003, in response to message N, the media library retrieves a photo of the first and second people together.
[0778] S3004, the media library sends a photo of the first and second people together to the gallery application.
[0779] S3005, The gallery application displays the user interface D, which includes a photo of the first person and the second person together.
[0780] Upon receiving message N from the gallery application, in response to message N, the media library can retrieve a photo of the first person and the second person together and send the photo of the first person and the second person together to the gallery application.
[0781] After receiving a photo of the first and second people from the media library, the gallery application can display user interface D, which includes the photo of the first and second people.
[0782] For example, the user interface D can be the user interface 8200 shown in Figure 29B, and the photo of the first person and the second person can include the pictures 8001, 8002 and 8003 shown in Figure 29B.
[0783] Using the method shown in Figures 29A-29B, users can view group photos of multiple people.
[0784] In some embodiments, the recommendation interface D may further include a single portrait image of the first person associated with the photo of the first person and the second person, and / or a single portrait image of the second person associated with the photo of the first person and the second person.
[0785] Among them, being related to the photo of the first person and the second person can mean that the photo of the first person and the second person was generated at the same location or obtained at the same location, and / or that the event recorded in the photo of the first person and the second person is the same, and / or that the photo of the first person and the second person was generated at the same time or obtained at the same time period.
[0786] 3. Electronic device 100 displays a non-human image that is related to a photo of the device owner and person E.
[0787] In one possible solution provided in this application embodiment, after the electronic device 100 displays the recommendation interface D, the electronic device 100 can also receive user operations to display non-human images that are related to the photo of the owner and person E, so that the user can also view non-human images that are related to the photo of the owner and person E, such as landscape images, object images, etc. that are related to the photo of the owner and person E.
[0788] Figures 31A-31C illustrate schematic diagrams of an electronic device 100 displaying non-human images that are associated with a photograph of the device owner and person E.
[0789] As shown in Figures 31A-31B, the electronic device 100 can receive user input operations for option 8004, such as a click operation. In response to the user's input operation, the electronic device 100 can display the prompt bar 8010 shown in Figure 31B.
[0790] As shown in Figure 31B, the prompt bar 8010 includes a "Show All Featured" option and a "Show Only Portraits" option. The "Show Only Portraits" option is selected to indicate to the user that the electronic device 100 is displaying a photo of the device owner and person E, and not displaying any non-portrait images related to the photo of the device owner and person E.
[0791] As shown in Figures 31B-31C, the electronic device 100 can receive input operations from the user regarding the display of all selected options in the prompt bar 8010, such as a click operation. In response to the user's input operation, the electronic device 100 can acquire non-human images related to the photo of the owner and person E, and simultaneously display the photo of the owner and person E, as well as non-human images related to the photo of the owner and person E.
[0792] As shown in Figure 31C, the electronic device 100 can display the user interface 8300 shown in Figure 31C. The user interface 8300 includes images 8001, 8011, 8003, 8012, and 8002. Image 8011 can be a landscape photograph related to image 8001, for example, the location where image 8011 was generated or acquired is the same as the location where image 8001 was generated or acquired. Image 8012 can be a landscape photograph related to image 8003, for example, the time when image 8012 was generated or acquired is the same as the time when image 8003 was generated or acquired.
[0793] It should be noted that Figure 31C only shows the display positions of images 8011 and 8012 as an example, and this application does not limit the display positions of each image.
[0794] In some embodiments, the prompt bar 8010 may also include an option to view only the photo of the owner and person E. The electronic device 100 may receive input from the user for the option to view only the photo of the owner and person E, such as a click operation. In response to the user's input operation, the electronic device 100 may acquire and display only the photo of the owner and person E.
[0795] Figure 32 illustrates a flowchart of a method for an electronic device 100 to display a non-human image associated with a photo of the device owner and person E.
[0796] As shown in Figure 32, the electronic device 100 includes a gallery application and a media library application. The method flow shown in Figure 32 includes, but is not limited to, the following steps:
[0797] S3201, Gallery application displays user interface D.
[0798] S3202, In response to an input operation on the user interface D, the gallery application sends message O to the media library.
[0799] For example, user interface D can be user interface 8200 as shown in Figure 31A. Input operations for user interface D can be input operations for displaying all selected options in prompt bar 8010 as shown in Figure 31B.
[0800] In response to an input operation to the user interface D, the gallery application sends message O to the media library. Message O is used by the media library to retrieve a non-human image that is associated with the photo of the first person and the second person.
[0801] S3203, In response to message O, the media library retrieves a non-human image that is associated with the photo of the first and second people.
[0802] S3204. The media library sends non-human images that are associated with the photo of the first and second people together to the gallery application.
[0803] S3205, The gallery application displays a user interface E, which includes non-human portrait images related to a photo of the first and second people.
[0804] Upon receiving message O from the gallery application, in response to message O, the media library can retrieve a non-human image associated with the photo of the first and second people, and then send the non-human image associated with the photo of the first and second people to the gallery application.
[0805] Upon receiving a non-human image associated with the photo of the first and second people from the media library, the gallery application can display a user interface E, which includes the non-human image associated with the photo of the first and second people.
[0806] Optionally, the user interface E may include only non-human images that are associated with the photo of the first and second people. This allows the user to view non-human images that are associated with the photo of the first and second people. For example, the non-human images associated with the photo of the first and second people may be images 8011 and 8012 as shown in Figure 31C.
[0807] Optionally, the user interface E may also include a photo of the first person and the second person together, as well as a non-human image associated with the photo of the first person and the second person. In this way, the user can view the photo of the first person and the second person together, as well as the non-human image associated with the photo of the first person and the second person.
[0808] For example, the user interface E may be the user interface 8300 shown in Figure 31C.
[0809] Using the methods shown in Figures 31A-31C, users can view non-human images that are related to the group photo of the first and second people.
[0810] In some embodiments, the electronic device 100 may also add one or more of the following tags: person tags, event tags, location tags, etc., to the user interface 8200 or user interface 8300.
[0811] Users can filter images related to the person associated with that person tag. For example, users can filter photos containing the phone owner and person E, or photos containing the phone owner, person E, and other people.
[0812] Users can filter images related to events corresponding to those events by using event tags, and users can filter images related to locations corresponding to those locations by using location tags. In one possible solution provided in this application embodiment, after the electronic device 100 displays a photo of the owner and person E, the electronic device 100 can also receive user operations to edit the photo, including but not limited to: sharing the photo, saving the photo, hiding the photo, deleting the photo, etc. For example, refer to the descriptions in the embodiments similar to Figures 10A-10C and Figures 11-13, which will not be repeated here.
[0813] In one possible solution provided in this application embodiment, after the electronic device 100 displays a photo of the owner and person E and / or a non-human image related to the photo of the owner and person E, the electronic device 100 can also receive user operation to filter and obtain the photo of the owner and person E and / or the non-human image related to the photo of the owner and person E based on the first location and / or the first event.
[0814] Figure 33 shows a flowchart of a display method.
[0815] S3301, Electronic device acquires the portrait information of the first person.
[0816] S3302. The electronic device displays a first interface based on the image information of a first person. The first interface includes a first display area, which includes the identifier of the first person and a first set of identifiers. The first set of identifiers includes the identifiers of at least one other person. The identifier of the first person is displayed in a first display mode, and the identifiers of at least one other person are displayed in a second display mode. The first display mode and the second display mode are different, and the first set of identifiers does not include the identifier of the first person.
[0817] S3303, The electronic device receives a selection operation for the identifier of the first person and displays a second interface, which includes media content related to the first person.
[0818] Optionally, media content may include any one or more of the following: images, videos, GIFs, etc. Images may include portrait images and / or non-portrait images.
[0819] By implementing this method, electronic devices can identify a first person based on their facial information and display a first interface related to that first person. Users can then view the photo albums of other people that are related to the first person's photo album on the first interface, thus improving the display effect of photo albums for different people.
[0820] In some embodiments, after the electronic device displays the first interface, the electronic device can receive a selection operation from the user regarding the identifier of the first person, and display media content related to the first person, making it convenient for the user to view the media content related to the first person. The selection operation regarding the identifier of the first person may include single-click / double-click / multi-click / long-press operations, etc. It should be noted that the selection operation regarding the identifier of the first person can also be other operations, which are not limited in this application.
[0821] Optionally, in addition to receiving user selection operations for the first person's identifier and displaying media content related to the first person, the electronic device can also receive swiping operations on the first interface and display media content related to the first person.
[0822] In some embodiments, the first set of identifiers includes identifiers of the second person. After the electronic device displays the first interface, the electronic device receives the user's selection operation on the identifier of the second person (e.g., single click / double click / multiple click / long press operation, etc.) and displays media content related to the second person, so that the user can view the media content related to the second person.
[0823] For example, the first person can be the owner of the electronic device, the first interface can be the recommendation interface 1600 shown in Figure 2F or Figure 2G, the first display area can be the display area 1011 shown in Figure 2F or Figure 2G, the identifier of the first person can be the icon 1012 of the owner's portrait album shown in Figure 2F or Figure 2G, and the first set of identifiers can include the icons 1013 of person A's portrait album, 1014 of person B's portrait album, 1015 of person C's portrait album, 1016 of person D's portrait album, 1017 of person E's portrait album, 1018 of person F's portrait album, 1019 of person G's portrait album, and 1031 of person H's portrait album shown in Figure 2F or Figure 2G.
[0824] In one possible implementation, displaying the identifier of the first person in a first display mode and displaying the identifier of at least one other person in a second display mode includes displaying the identifier of at least one other person around the identifier of the first person. For example, the display effect shown in Figure 2F can be referenced.
[0825] It should be noted that, not only is it limited to the logo of at least one other character being displayed around the logo of the first character, but the logo of at least one other character may also be displayed below the logo of the first character. For example, the display effect shown in Figure 2G can be referred to.
[0826] In one possible implementation, after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation targeting the identifier of the second person and the identifier of the first person, and displaying a third interface, the third interface including a combined identifier of the first person and the second person and a second set of identifiers, the combined identifier of the first person and the second person being displayed in a first display mode, the second set of identifiers being displayed in a second display mode, and the second set of identifiers not including the combined identifier of the first person and the second person.
[0827] By implementing this method, the electronic device can receive user input and display a third interface related to the first and second people. The user can view portrait albums of other people that are related to the portrait album containing the first and second people's photos in the third interface, which also improves the display effect of different people's albums.
[0828] For example, the third interface can be the recommendation interface 8100 shown in Figure 27B. The combined identifier of the first character and the second character can be the icon 2801 shown in Figure 27B, and the second identifier set can be the icon 1019 shown in Figure 27B.
[0829] For example, the third interface can be the recommendation interface 8400 shown in Figure 27C. The combined identifier of the first character and the second character can be icon 2802 shown in Figure 27C, and the second identifier set can be icon 1019 shown in Figure 27C.
[0830] In one possible implementation, the combined identifier of the first person and the second person is displayed in a first display mode, and the second identifier set is displayed in a second display mode, including: the identifiers of the persons in the second identifier set are displayed around the combined identifier of the first person and the second person. For example, refer to the display effects shown in Figures 27B or 27C.
[0831] It should be noted that, not only are the identifiers of characters in the second identifier set displayed around the combined identifier of the first and second characters, but the identifiers of characters in the second identifier set can also be displayed below the combined identifier of the first and second characters. For example, please refer to the display effect shown in Figure 2G.
[0832] In one possible implementation, after the electronic device displays the third interface, it can receive a user's selection operation on the combined identifier of the first and second characters, and then display a fourth interface. The fourth interface displays media content related to the first and second characters, facilitating user access to this content. The selection operation on the combined identifier of the first and second characters can include single-click, double-click, multi-click, or long-press operations. It should be noted that the selection operation on the combined identifier of the first and second characters can also be other operations, which are not limited in this application.
[0833] Optionally, in addition to the selection operation for the combined identifiers of the first and second characters, the electronic device can also receive a swipe operation by the user on the third interface to display the fourth interface. For example, please refer to the description in the embodiments of Figures 29A and 29B.
[0834] For example, the fourth interface may be the user interface 8200 shown in Figure 29B.
[0835] In one possible implementation, the operations on the identifiers of the second person and the first person include dragging the identifier of the second person onto the identifier of the first person. For example, the identifier of the second person may be icon 1017 as shown in Figure 27A, and the identifier of the first person may be icon 1012 as shown in Figure 27A.
[0836] In one possible implementation, the fourth interface also includes: a solo portrait of the first person who is associated with both the first and second persons, and / or a solo portrait of the second person who is associated with both the first and second persons. Thus, while viewing the group photo of the first and second persons, the user can also view solo portraits of the first person and / or the second person who are associated with both the first and second persons on the fourth interface.
[0837] Among them, being related to the first person and the second person can mean that the location where the photo of the first person and the second person is generated or obtained is the same, and / or that the event recorded in the photo of the first person and the second person is the same, and / or that the time of generation or acquisition of the photo of the first person and the second person is within the same time period.
[0838] In one possible implementation, the fourth interface further includes at least one option; the method further includes: the electronic device receiving and responding to an operation on a first option among at least one option in the fourth interface, displaying a fifth interface, the fifth interface including a portrait image related to the first person and the second person; and / or, the electronic device receiving and responding to an operation on a second option among at least one option in the fourth interface, displaying a sixth interface, the sixth interface including a non-portrait image related to the first person and the second person; and / or, the electronic device receiving and responding to an operation on a third option among at least one option in the fourth interface, displaying a seventh interface, the seventh interface including media content related to the first person and the second person within a second time period, generated or acquired at a second time period; and / or, the electronic device receiving and responding to an operation on a fourth option among at least one option in the fourth interface, displaying an eighth interface, the eighth interface including media content related to the first person and the second person at a second location, generated or acquired at a second location; and / or, the electronic device receiving and responding to an operation on a fifth option among at least one option in the fourth interface, displaying a ninth interface, the ninth interface including media content related to the first person and the second person where the recorded event is a second event.
[0839] By implementing this method, the electronic device can receive user operations to filter and obtain portrait images and / or non-human images of the first and second individuals, and / or, the electronic device can also receive user operations to filter and obtain target media content based on one or more of events, locations, etc., making it convenient for users to view portrait images and / or non-human images of the first and second individuals and / or target media content of the first and second individuals, thus improving the user experience. For example, please refer to the description in the embodiments shown in Figures 31A-32.
[0840] In one possible implementation, the method further includes: an electronic device detecting the facial information of a first person via a camera; and the electronic device displaying a first marker at the first person's identifier based on the detected facial information. The first marker indicates that the first person is currently viewing the first interface.
[0841] For example, the first marker could be the effect 1023 shown in Figure 2H.
[0842] In one possible implementation, the first set of identifiers includes the identifiers of the second person; the method further includes: an electronic device detecting the facial information of the first person and the second person via a camera; the electronic device displaying a first marker at the identifier of the first person and a second marker at the identifier of the second person. The second marker is used to indicate that the second person is currently viewing the first interface.
[0843] For example, the second marker could be the effect 1024 shown in Figure 2I.
[0844] In one possible implementation, the first set of identifiers includes the identifiers of the second person; the method further includes: an electronic device detecting the facial information of the first person and the second person via a camera; the electronic device displaying a first marker at the identifier of the first person and a second marker at the identifier of the second person. The first and second markers are used to indicate that the first person and the second person are currently viewing the first interface simultaneously.
[0845] For example, the first marker can be effect 1023 as shown in Figure 2K, and the second marker can be effect 1024 as shown in Figure 2K.
[0846] In one possible implementation, after the electronic device displays a first marker at the identifier of the first person and a second marker at the identifier of the second person, the method further includes: the electronic device displaying a first prompt message, the first prompt message being used to instruct the user to view media content related to the first person and the second person; or, the electronic device displaying media content related to the first person and the second person.
[0847] By implementing this method, when multiple people are viewing the first interface at the same time, the electronic device can prompt the user to view a group photo of those multiple people, thus improving the user experience.
[0848] For example, the first prompt message can be the prompt message 1900 shown in Figure 2L.
[0849] In one possible implementation, the first interface further includes a second display area, which includes the identifier of the first person and the identifier of at least one other person; the electronic device further includes the identifier of a third person, which is not displayed in the second display area; the method further includes: the electronic device detects the image information of the third person through a camera; the electronic device displays the identifier of the third person in the second display area and displays a third mark at the identifier of the third person.
[0850] By implementing this method, if the electronic device detects that a third person is viewing the first interface, and the first interface does not display the identifier of the third person, the electronic device can display the identifier of the third person in the second display area and display a third mark at the identifier of the third person to indicate that a third person is viewing the first interface.
[0851] Optionally, the electronic device may display the identifier of the third person at the very front of the second display area, or it may display the identifier of the third person at any position at the very back or in the middle of the second display area. This application does not limit the display position of the identifier of the third person in the second display area.
[0852] For example, the second display area can be the display area 1020 shown in Figure 2J, the third character identifier can be the icon 1025 shown in Figure 2J, and the third mark can be the special effect 1026 shown in Figure 2J.
[0853] In one possible implementation, the electronic device displays a first marker at the identifier of the first person, specifically including: if the duration of the duration of the first person's image information detected by the electronic device through the camera exceeds a first duration, the electronic device displays a first marker at the identifier of the first person.
[0854] By implementing this method, if the electronic device continuously detects the image information of the first person through the camera for a first duration, the electronic device will then display a first mark at the first person's identification point. This can prevent the first person from accidentally entering the camera's shooting area and thus avoid displaying the first mark at the first person's identification point.
[0855] In one possible implementation, the electronic device includes an image application and a facial recognition module; the method further includes: the image application registering a facial recognition service with the facial recognition module; the electronic device displaying a first marker at the identifier of a first person, specifically including: the facial recognition module detecting the image information of the first person through a camera; the facial recognition module sending the tag of the first person to the image application; and in response to receiving the tag of the first person, the image application displaying the first marker at the identifier of the first person.
[0856] For example, an image application could be a gallery application. The image application can register with the facial recognition service of the facial recognition module to invoke the module's facial recognition capabilities, identify different individuals, and display markers at the identifiers of each individual. For example, please refer to the description in the embodiment shown in Figure 3D.
[0857] In one possible implementation, the facial recognition module sends the first person's tag to the image application, specifically including: when the image application is running in the foreground, the facial recognition module sends the first person's tag to the image application.
[0858] By implementing this method, when the image application is running in the foreground, the facial recognition module can send the tag of the first identified person to the image application, and the image application can display the first marker at the first person's identifier. Because when the image application is running in the background, the electronic device does not display the first interface, and the image application does not need to display the first marker at the first person's identifier, the facial recognition module also does not need to send the first person's tag to the image application, thus saving power consumption of the electronic device.
[0859] Optionally, when the image application is running in the background, the facial recognition module may not perform the operation of detecting the image information of the first person through the camera, which can save power consumption of electronic devices.
[0860] In one possible implementation, the first set of identifiers includes identifiers of the second person; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation on the identifiers of the second person in the first interface, and stopping the display of the identifiers of the second person in the first interface.
[0861] By implementing this method, when a user does not want to view the second person's photo album on the first screen, the electronic device can receive the user's operation to remove the second person's identifier from the first screen.
[0862] For example, the identifier of the second person could be icon 1016.
[0863] In one possible implementation, after the electronic device stops displaying the second person's identifier on the first interface, the method further includes: the electronic device reducing the association between the second person and the first person. Thus, after the electronic device reduces the association between the second person and the first person, the electronic device may not display the second person's identifier on the first interface.
[0864] In one possible implementation, after the electronic device stops displaying the identifier of the second person on the first interface, the method further includes: if it is confirmed that the first condition is met, the electronic device displays the identifier of the second person on the first interface again.
[0865] The first condition includes any one or more of the following: the number of new media content added by the second person is greater than the first value; the number of new photos of the second person and the first person is greater than the second value; the total number of photos of the second person and the first person is greater than the third value; and the total number of media content of the second person is greater than the fourth value.
[0866] By implementing this method, after the electronic device receives a user operation to remove the identifier of the second person from the first interface, if the first condition is met, the electronic device can display the identifier of the second person again on the first interface.
[0867] Optionally, after the electronic device can display the second person's icon again on the first screen, it can restore the association between the second person and the first person to its previous state. This allows the gallery app to display the second person's icon again on the recommendations screen.
[0868] For example, reference can be made to the description in the embodiments of Figures 22A-22C and 23.
[0869] In one possible implementation, the electronic device acquires the portrait information of the first person, specifically by: the electronic device acquiring the portrait information of the first person through an image captured by a camera; or, the electronic device acquiring the portrait information of the first person through a first image selected by the user in an image selection interface.
[0870] By implementing this method, electronic devices can acquire the portrait information of a first person, identify the first person based on the portrait information, and display a first interface related to the first person. Users can view portrait albums of other people that are related to the first person's album in the first interface, thus improving the display effect of portrait albums of different people.
[0871] Optionally, if the image selection interface does not display a portrait of the first person, the user can choose to capture a portrait of the first person using their camera to obtain their portrait information. Alternatively, the user can also directly capture a portrait of the first person using their camera without confirming whether a portrait of the first person is displayed in the image selection interface.
[0872] For example, the image selection interface can be the owner confirmation interface 1500 shown in Figure 2E. The portrait information of the first person can be the portrait image of the owner shown in Figure 2E. For example, refer to the description in the embodiments of Figures 2E and 3A.
[0873] In one possible implementation, the image selection interface displays identifiers for the people corresponding to the selfie images, and the selfie images are those that satisfy a second condition. The second condition can include: selfie images from one or more people whose number of selfie images ranks in the top n. Alternatively, the second condition can include: selfie images from one or more people whose number of selfie images exceeds a preset value.
[0874] In one possible implementation, the identifier of at least one other person includes the identifier of the second person; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation on the identifier of the second person, displaying a tenth interface, the tenth interface including the identifier of the second person and a third set of identifiers, the identifier of the second person being displayed in a first display mode, the third set of identifiers being displayed in a second display mode, and the third set of identifiers not including the identifier of the second person.
[0875] By implementing this method, electronic devices can receive user input and view portrait albums of other people that are related to the second person's portrait album, thus improving the display effect of portrait albums of different people.
[0876] For example, the operation for the identifier of the second person can be the input operation for icon 1016 as shown in Figure 25C, such as a click operation. The tenth interface can be the recommendation interface 7100 as shown in Figure 25D. The identifier of the second person can be icon 1016 as shown in Figure 25D. The third set of identifiers can be icons 1018, 1012, and 7102 as shown in Figure 25D.
[0877] In one possible implementation, the identifier of the second character is displayed in a first display mode, and the third set of identifiers is displayed in a second display mode, including: the identifiers of characters in the third set of identifiers are displayed around the identifier of the second character. For example, the display effect shown in Figure 25D can be referred to.
[0878] It should be noted that, not only are the identifiers of characters in the third identifier set displayed around the identifier of the second character, but the identifiers of characters in the third identifier set can also be displayed below the identifier of the first character. For example, please refer to the display effect shown in Figure 2G.
[0879] In one possible implementation, after the electronic device displays the tenth interface, the method further includes: the electronic device receiving a selection operation for the identifier of the second person and displaying media content related to the second person.
[0880] By implementing this method, after the electronic device displays the tenth interface, the device can receive a user's selection operation on the identifier of the second person, and display media content related to the second person, making it convenient for the user to view the media content related to the second person. The selection operation on the identifier of the second person can include single-click / double-click / multi-click / long-press operations, etc. It should be noted that the selection operation on the identifier of the second person can also be other operations, and this application does not limit this.
[0881] Optionally, in addition to receiving user selection operations for the identifier of the second person and displaying media content related to the second person, the electronic device can also receive swiping operations on the tenth interface and display media content related to the second person.
[0882] In one possible implementation, the tenth interface further includes a third display area, the third display area including a cover of a story set related to the second character, the story set related to the second character including a collection of one or more images and / or one or more videos related to the second character; the method further includes: the electronic device receiving and responding to an operation on the cover of the first story set in the cover of the story set related to the second character, displaying the content of the first story set.
[0883] By implementing this method, electronic devices can receive user input to view content from story collections related to a second character.
[0884] For example, the third display area could be the story collection display area shown in Figure 25D. The first story collection could be a collection of videos or images themed around "Beijing," as shown in Figure 25E. For example, refer to the descriptions in Figures 25D-25F.
[0885] In one possible implementation, the first interface further includes a fourth display area, the fourth display area including a cover of a story set related to the first character, the story set related to the first character including a collection of one or more images and / or one or more videos related to the first character; the method further includes: the electronic device receiving and responding to an operation on the cover of a second story set in the cover of the story set related to the first character, displaying the content of the second story set.
[0886] By implementing this method, electronic devices can receive user input to view content from story collections related to the first character.
[0887] For example, the fourth display area could be the story collection display area shown in Figure 25A. The second story collection could be a collection of videos or images themed around "Xi'an," as shown in Figure 25A. For example, refer to the descriptions in Figures 25A-25B.
[0888] In one possible implementation, the correlation between at least one other person and the first person is greater than a first value; wherein the correlation between at least one other person and the first person is determined by the electronic device based on the user's operation on the portrait album of at least one other person, and / or by information of media content related to at least one other person.
[0889] In one possible implementation, the operation on the portrait album of at least one other person includes: a collection operation on the portrait album of at least one other person, a removal operation on the portrait album of at least one other person; and / or, the information on the media content related to at least one other person includes: the quantity of media content related to at least one other person, the quantity of group photos containing the first person and at least one other person, and the annotation relationship between the first person and at least one other person. For example, regarding how the electronic device obtains the correlation between at least one other person and the first person, please refer to the description in the embodiment of Figure 3B.
[0890] In one possible implementation, the second interface includes at least one option; after the electronic device displays the second interface, the method further includes: the electronic device receiving and responding to an operation on a sixth option among at least one option in the second interface, displaying an eleventh interface, the eleventh interface including a non-human image related to the first person; and / or, the electronic device receiving and responding to an operation on a seventh option among at least one option in the second interface, displaying a twelfth interface, the twelfth interface including a non-human image related to the first person; and / or, the electronic device receiving and responding to an operation on an eighth option among at least one option in the second interface, displaying a thirteenth interface, the thirteenth interface including media content related to the first person within a first time period, generated or acquired at a time of generation; and / or, the electronic device receiving and responding to an operation on a ninth option among at least one option in the second interface, displaying a fourteenth interface, the fourteenth interface including media content related to the first person at a first location, generated or acquired at a first location; and / or, the electronic device receiving and responding to an operation on a tenth option among at least one option in the second interface, displaying a fifteenth interface, the fifteenth interface including media content related to the first person where the recorded event is a first event.
[0891] By implementing this method, the electronic device can receive user operations to filter and obtain portrait images and / or non-portrait images of the first person, and / or, the electronic device can also receive user operations to filter and obtain target media content based on one or more of events, locations, etc., making it convenient for users to view portrait images and / or non-portrait images of the first person and / or target media content of the first person, thus improving the user experience. For example, please refer to the description in the embodiments shown in Figures 6A-9.
[0892] In one possible implementation, the electronic device includes a smart analysis module and an image application; the method further includes: the smart analysis module acquiring tag information of media content related to the first person, the tag information including any one or more of the following: location tag, time tag, event tag, person tag; the image application displays at least one option on a second interface based on the tag information of the media content related to the first person.
[0893] For example, the people tag can be the all-featured options shown in Figures 6A and 6B, or the option to display only portraits, or the option to display only non-portrait images. Refer to the description in the embodiment of Figure 7.
[0894] For example, the location label can be option 1026 as shown in Figure 8A, and the event label can be options 1027, 1028, 1029, and 1030 as shown in Figure 8A. Refer to the description in the embodiment of Figure 9.
[0895] In one possible implementation, the first display area includes the identifier of the second person, the first interface also includes a second display area including the identifier of the first person, the electronic device also includes the identifier of the third person, and the identifier of the third person is not displayed in the first display area or the second display area; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to an operation on the first interface to change the display position of the identifier of the second person in the first display area; or, the electronic device receiving and responding to an operation on the first interface to remove the identifier of the second person displayed in the first display area; or, the electronic device receiving and responding to an operation on the first interface to add the identifier of the third person to the first display area or the second display area.
[0896] By implementing this method, the electronic device can receive user input to change the display position of the character's identifier on the first interface. For example, refer to the description in the embodiments shown in Figures 14A-14S.
[0897] For example, the identifier of the second person can be icon 1016, and the identifier of the third person can be icon 3103.
[0898] In one possible implementation, the first set of identifiers includes the identifiers of the second person and the identifiers of the third person; after the electronic device displays the first interface, the method further includes: the electronic device receiving and responding to operations on the identifiers of the second person and the identifiers of the third person, stopping the display of the identifiers of the second person on the first interface, displaying the identifiers of the third person, and merging media content related to the second person into the portrait album of the third person.
[0899] By implementing this method, the electronic device can receive user input to merge two portrait albums of the same person into one portrait album. In some embodiments, the user can actively merge two portrait albums of the same person into one portrait album, as exemplarily described in the embodiments of Figures 18A-18D and 19. In other embodiments, the electronic device 100 can also prompt the user to merge two portrait albums of the same person into one portrait album, as exemplarily described in the embodiments of Figures 20A-20B and 21.
[0900] For example, the identifier of the second person can be icon 1016 as shown in Figure 18C or Figure 20B, and the identifier of the third person can be icon 1015 as shown in Figure 18C or Figure 20B.
[0901] This application provides an electronic device, including a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the computer program, the electronic device performs the method provided in any one or more of the above embodiments.
[0902] This application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the methods provided in any one or more of the above embodiments.
[0903] This application provides a chip system including one or more processors, which are used to invoke computer instructions to cause an electronic device to perform the methods provided in any one or more of the above embodiments.
[0904] This application provides a computer program product containing instructions that, when run on an electronic device, cause the electronic device to perform the methods provided in any one or more of the above embodiments.
[0905] The above are merely some embodiments and implementation methods of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0906] It is understood that the user interfaces described in the embodiments of this application are merely example interfaces and do not constitute a limitation on the solution of this application. In other embodiments, the user interface may adopt different interface layouts, may include more or fewer controls, and may add or remove other functional options, as long as they are based on the same inventive concept provided in this application, they are all within the protection scope of this application.
[0907] It should be noted that, without causing contradictions or conflicts, any feature in any embodiment of this application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of this application.
[0908] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A display method, characterized in that the method include: The electronic device acquires the facial image information of the first person; The electronic device displays a first interface based on the image information of the first person. The first interface includes a first display area, which includes the identifier of the first person and a first set of identifiers. The first set of identifiers includes the identifiers of at least one other person. The identifier of the first person is displayed in a first display mode, and the identifiers of the at least one other person are displayed in a second display mode. The first display mode and the second display mode are different. The first set of identifiers does not include the identifier of the first person. The electronic device receives a selection operation for the identifier of the first person and displays a second interface, which includes media content related to the first person.
2. The method according to claim 1, characterized in that, The identification of the first person is displayed in a first display mode, and the identification of the at least one other person is displayed in a second display mode, including: the identification of the at least one other person is displayed around the identification of the first person.
3. The method according to claim 1 or 2, characterized in that, The first set of identifiers includes the identifiers of the second person; after the electronic device displays the first interface, the method further includes: The electronic device receives and responds to operations targeting the identifier of the second person and the identifier of the first person, and displays a third interface. The third interface includes a combined identifier of the first person and the second person and a second identifier set. The combined identifier of the first person and the second person is displayed in a first display mode, and the second identifier set is displayed in a second display mode. The second identifier set does not include the combined identifier of the first person and the second person.
4. The method according to claim 3, characterized in that, After the electronic device displays the third interface, the method further includes: The electronic device receives a selection operation for a combination of identifiers for the first person and the second person, and displays a fourth interface, which displays media content related to the first person and the second person.
5. The method according to claim 4, characterized in that, The fourth interface further includes: a single portrait image of the first person who is associated with the first person and the second person, and / or a single portrait image of the second person who is associated with the first person and the second person.
6. The method according to any one of claims 3-5, characterized in that, The operations on the identifiers of the second person and the first person include dragging the identifier of the second person onto the identifier of the first person.
7. The method according to claim 3 or 5, characterized in that, The fourth interface further includes at least one option; the method further includes: The electronic device receives and responds to an operation on a first option among at least one of the options in the fourth interface, and displays a fifth interface, the fifth interface including portrait images related to the first person and the second person; And / or, The electronic device receives and responds to an operation on the second option of at least one of the options in the fourth interface, and displays a sixth interface, the sixth interface including non-human images related to the first person and the second person; And / or, The electronic device receives and responds to an operation on the third option of at least one option in the fourth interface, and displays a seventh interface, the seventh interface including media content related to the first person and the second person within a second time period, generated or acquired at a time of generation or acquisition. And / or, The electronic device receives and responds to an operation for at least one of the fourth options in the fourth interface, and displays an eighth interface, the eighth interface including generating or acquiring media content related to the first person and the second person at a location in a second location; And / or, The electronic device receives and responds to an operation on the fifth option of at least one option in the fourth interface, and displays a ninth interface, the ninth interface including media content related to the first person and the second person whose recorded event is the second event.
8. The method according to claim 1, characterized in that, The method further includes: The electronic device detects the first person's facial information via a camera; The electronic device displays a first marker at the identifier of the first person based on the detected facial information of the first person.
9. The method according to claim 1, characterized in that, The first set of identifiers includes the identifiers of the second person; the method further includes: The electronic device detects the facial information of the first person and the second person through a camera; The electronic device displays a first mark at the identifier of the first person and a second mark at the identifier of the second person.
10. The method according to claim 9, characterized in that, After the electronic device displays a first mark at the identifier of the first person and a second mark at the identifier of the second person, the method further includes: The electronic device displays a first prompt message, which instructs the user to view media content related to the first person and the second person. or, The electronic device displays media content related to the first person and the second person.
11. The method according to claim 1, characterized in that, The first interface further includes a second display area, which includes the identifier of the first person and the identifier of the at least one other person; the electronic device further includes the identifier of a third person, which is not displayed in the second display area; the method further includes: The electronic device detects the facial information of the third person through a camera. The electronic device displays the identifier of the third person in the second display area and displays a third mark at the identifier of the third person.
12. The method according to claim 8, characterized in that, The electronic device displays a first marker at the identifier of the first person, specifically including: If the electronic device detects the image information of the first person through the camera for a duration exceeding a first duration, the electronic device displays the first mark at the identifier of the first person.
13. The method according to claim 8 or 12, characterized in that, The electronic device includes an image application and a facial recognition module; The method further includes: The image application registers the facial feature recognition service of the facial feature recognition module; The electronic device displays a first marker at the identifier of the first person, specifically including: The facial recognition module detects the image information of the first person through the camera; The facial feature recognition module sends the tag of the first person to the image application; In response to receiving a tag from the first person, the image is applied to display the first tag at the identifier of the first person.
14. The method according to claim 13, characterized in that, The facial feature recognition module sends the tag of the first person to the image application, specifically including: When the image application is running in the foreground, the facial feature recognition module sends the tag of the first person to the image application.
15. The method according to claim 1, characterized in that, The first set of identifiers includes the identifiers of the second person; after the electronic device displays the first interface, the method further includes: The electronic device receives and responds to an operation targeting the second character's identifier on the first interface, and stops displaying the second character's identifier on the first interface.
16. The method according to claim 15, characterized in that, After the electronic device stops displaying the identifier of the second person on the first interface, the method further includes: If the first condition is confirmed to be met, the electronic device will again display the identifier of the second person on the first interface; The first condition includes any one or more of the following: the number of new media content added by the second person is greater than the first value; the number of new group photos added by the second person and the first person is greater than the second value; the total number of group photos of the second person and the first person is greater than the third value; and the total number of media content added by the second person is greater than the fourth value.
17. The method according to claim 16, characterized in that, The new media content added by the second person or the new group photo of the second person and the first person was obtained by an electronic device through a camera.
18. The method according to any one of claims 15-17, characterized in that, After the electronic device stops displaying the identifier of the second person on the first interface, the method further includes: The electronic device reduces the correlation between the second person and the first person.
19. The method according to any one of claims 1-18, characterized in that, The electronic device acquires the facial information of the first person, specifically including: The electronic device acquires the facial information of the first person through images captured by the camera; or, The electronic device obtains the portrait information of the first person by selecting the first image in the image selection interface.
20. The method according to claim 19, characterized in that, The image selection interface displays a person icon corresponding to a selfie image, and the selfie image is an image that meets the second condition.
21. The method according to claim 1, characterized in that, The first set of identifiers includes the identifiers of the second person; after the electronic device displays the first interface, the method further includes: The electronic device receives and responds to an operation targeting the identifier of the second person, and displays a tenth interface. The tenth interface includes the identifier of the second person and a third identifier set. The identifier of the second person is displayed in the first display mode, and the third identifier set is displayed in the second display mode. The third identifier set does not include the identifier of the second person.
22. The method according to claim 21, characterized in that, After the electronic device displays the tenth interface, the method further includes: The electronic device receives a selection operation for the identifier of the second person and displays media content related to the second person.
23. The method according to claim 21 or 22, characterized in that, The tenth interface further includes a third display area, which includes the cover of a story collection related to the second character. The story collection related to the second character includes a collection of one or more images and / or one or more videos related to the second character. The method further includes: The electronic device receives and responds to an operation on the cover of the first story set in the story set related to the second character, and displays the content of the first story set.
24. The method according to claim 1, characterized in that, The first interface further includes a fourth display area, the fourth display area including the cover of a story collection related to the first character, the story collection related to the first character including a collection of one or more images and / or one or more videos related to the first character; the method further includes: The electronic device receives and responds to an operation on the cover of a second story set in the cover of a story set related to the first character, and displays the content of the second story set.
25. The method according to any one of claims 1-24, characterized in that, The correlation between at least one other person and the first person is greater than the first value; The degree of association between the at least one other person and the first person is determined by the electronic device based on the user's operation on the portrait album of the at least one other person, and / or by information on media content related to the at least one other person.
26. The method according to claim 25, characterized in that, The operations for the albums of the at least one other person include: adding the album of portraits of the at least one other person to the collection, and removing the album of portraits of the at least one other person from the collection; And / or, The information on media content related to the at least one other person includes: the number of media contents related to the at least one other person, the number of group photos containing the first person and the at least one other person, and the labeling relationship between the first person and the at least one other person.
27. The method according to any one of claims 1-26, characterized in that, The second interface includes at least one option; after the electronic device displays the second interface, the method further includes: The electronic device receives and responds to an operation on the sixth option of at least one option in the second interface, and displays an eleventh interface, the eleventh interface including a non-human image related to the first person; And / or, The electronic device receives and responds to an operation on the seventh option in at least one of the options in the second interface, and displays a twelfth interface, the twelfth interface including a non-human image related to the first person; And / or, The electronic device receives and responds to an operation on the eighth option in at least one of the options in the second interface, and displays a thirteenth interface, the thirteenth interface including media content related to the first person within a first time period, generated or acquired at a time of time. And / or, The electronic device receives and responds to an operation on the ninth option in at least one of the options in the second interface, and displays a fourteenth interface, the fourteenth interface including generating or acquiring media content related to the first person at a first location; And / or, The electronic device receives and responds to an operation on the tenth option in at least one of the options in the second interface, and displays a fifteenth interface, the fifteenth interface including media content related to the first person whose recorded event is the first event.
28. The method according to claim 27, characterized in that, The electronic device includes a smart analysis module and an image application; the method further includes: The intelligent analysis module acquires tag information of media content related to the first person, and the tag information includes any one or more of the following: location tag, time tag, event tag, and person tag; The image application displays at least one option in the second interface based on the tag information of the media content related to the first person.
29. The method according to any one of claims 1-28, characterized in that, The first display area includes the identifier of the second person, the first interface also includes a second display area, the second display area includes the identifier of the first person, the electronic device also includes the identifier of the third person, and the identifier of the third person is not displayed in the first display area and the second display area; After the electronic device displays the first interface, the method further includes: The electronic device receives and responds to operations on the first interface, changing the display position of the second character's identifier in the first display area; or, The electronic device receives and responds to an operation on the first interface, removing the identifier of the second character displayed in the first display area; or, The electronic device receives and responds to the operation on the first interface, and adds the identifier of the third person to the first display area or the second display area.
30. The method according to any one of claims 1-29, characterized in that, The first set of identifiers includes the identifiers of the second person and the identifiers of the third person; after the electronic device displays the first interface, the method further includes: The electronic device receives and responds to operations targeting the second person's identifier and the third person's identifier, stops displaying the second person's identifier on the first interface, displays the third person's identifier, and merges media content related to the second person into the third person's portrait album.
31. An electronic device, characterized in that, The electronic device includes a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the computer program, the electronic device performs the method of any one of claims 1-30.
32. A computer-readable storage medium, characterized in that, Includes instructions that, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 1-30.
33. A computer program product, characterized in that, Includes a computer program that, when run on an electronic device, causes the electronic device to perform the method of any one of claims 1-30.
