Album-based image uploading method, device, equipment and storage medium
By presenting an editing interface in the application client, it automatically filters out recommended images that match the target album name or content and controls their selection status, solving the problem of low efficiency of users manually screening images in the existing technology and achieving automation and high efficiency in image uploading.
Patent Information
- Application Number
- CN202110856851.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-28
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2041-07-28
AI Technical Summary
When storing tens of thousands of images in a system album, existing technologies require users to manually select the images to be uploaded from a large number of images, and existing technologies cannot efficiently select target images, resulting in low image uploading efficiency.
By presenting an editing interface in the application client, recommended images that match the name or content of the target album in the system album are automatically filtered out and kept in a selected state. The user only needs to confirm the upload.
It improves the efficiency of image uploading, reduces the time users spend manually screening in the system album, and improves the automation and efficiency of image uploading.
Smart Images

Figure CN115701104B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to communication technology, and in particular to an album-based image uploading method, apparatus, device, and computer-readable storage medium. Background Art
[0002] Currently, many application clients or applications (APPs) can upload images. When users upload images in the corresponding APPs, related technologies require users to select the images to be uploaded in the system album. However, if the user wants to upload a large number of images and the system album stores tens of thousands of images, the user needs to select the images to be uploaded from tens of thousands of images, which takes a lot of time and results in low image uploading efficiency. Summary of the Invention
[0003] The embodiments of the present application provide an album-based image uploading method, apparatus, device, and computer-readable storage medium, which can improve the efficiency of image uploading.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides an album-based image uploading method, including:
[0006] Presenting an editing interface for editing the target album in the application client;
[0007] In response to an image selection instruction triggered based on the editing interface, presenting at least one recommended image in a selected state in a system album, wherein the recommended image is adapted to the name or content of the target album;
[0008] In response to a determination operation on the recommended image, presenting an upload interface for uploading the recommended image;
[0009] In response to an image upload instruction triggered based on the upload interface, the recommended image is uploaded to the target album.
[0010] The embodiment of the present application provides an album-based image uploading device, comprising:
[0011] A first presentation module, configured to present an editing interface for editing a target album in the application client;
[0012] a second presentation module, configured to present, in response to an image selection instruction triggered based on the editing interface, at least one recommended image in a selected state in a system album, wherein the recommended image is adapted to the name or content of the target album;
[0013] a third presentation module, configured to present an upload interface for uploading the recommended image in response to a determination operation on the recommended image;
[0014] An image uploading module is configured to upload the recommended image to the target album in response to an image upload instruction triggered based on the upload interface.
[0015] In the above solution, the first presentation module is further used to present a creation function item for creating an album in the application client;
[0016] In response to a triggering operation on the creation function item, presenting an editing interface for editing the created target album;
[0017] The device further comprises:
[0018] An album name determination module, configured to present a text editing box in the editing interface;
[0019] In response to a text editing operation triggered based on the text editing box, the text content input based on the text editing box is presented, and the text content is used as the name of the target album.
[0020] In the above solution, before presenting at least one recommended image in a selected state in the system album, the device further includes:
[0021] An instruction receiving module, configured to present an image selection function item in the editing interface, wherein the image selection function item is used to select an image in the system album;
[0022] In response to a triggering operation on the image selection function item, receiving the image selection instruction;
[0023] The second presentation module is further configured to present the recommended image in the system album that is in a selected state when there is a recommended image in the system album that matches the name of the target album.
[0024] In the above solution, when there is no recommended image matching the name of the target album in the system album, before presenting at least one recommended image in the system album that is in a selected state, the apparatus further includes:
[0025] an album content determination module, configured to present at least one image option available for selection in the system album;
[0026] In response to a selection operation on a target option, controlling an image corresponding to the target option to be in a selected state, and using the image corresponding to the target option as content of the target album;
[0027] The second presentation module is further configured to present a recommended image in the system album that matches the image corresponding to the target option, and control the recommended image to be in a selected state.
[0028] In the above solution, the second presentation module is further used to present prompt information for prompting image selection;
[0029] In response to a triggering operation on the prompt information, at least one image option available for selection in the system album is presented.
[0030] In the above solution, when the recommended image matches the name of the target album, before presenting at least one recommended image in a selected state in the system album, the device further includes:
[0031] A recommended image screening module is used to perform semantic analysis on the name of the target album to obtain a tag list corresponding to the name;
[0032] Based on the tag list, generating a filtering condition corresponding to the name, wherein the filtering condition is used to filter recommended images;
[0033] Based on the screening conditions, images in the system photo album are screened to obtain images that meet the screening conditions as the recommended images.
[0034] In the above solution, the recommended image screening module is further configured to generate the screening condition by performing at least one of the following operations:
[0035] When the tag list includes a word indicating a geographic location, generating a geographic location screening condition based on the word;
[0036] When the tag list includes a word indicating time, generating a time filter condition based on the word;
[0037] When the tag list includes a segmentation for indicating an object name, obtaining an association relationship between the historical photo album and the object name, and generating a screening condition corresponding to the segmentation based on the association relationship;
[0038] When the part of speech of a segmented word in the tag list is a noun or an adjective, generating a corresponding filtering condition based on the segmented word;
[0039] When the part of speech of a segmentation in the tag list is a particle, the filtering conditions corresponding to the segmentations before and after the segmentation are obtained, and the filtering conditions corresponding to the segmentations before and after the segmentation are connected to generate the corresponding filtering conditions.
[0040] In the above solution, the first presentation module is further configured to present the created target album in the application client, wherein the target album includes at least one existing image;
[0041] In response to a triggering operation on the target album, presenting an editing interface for editing the target album, the editing interface including an image adding function item for adding an image to the target album;
[0042] Before presenting at least one recommended image in a selected state in the system album, the instruction receiving module is further configured to receive the image selection instruction in response to a triggering operation for the image adding function item;
[0043] The second presentation module is further configured to use the existing image as the content of the target album, present a recommended image in the system album that matches the existing image, and control the recommended image to be in a selected state.
[0044] In the above solution, the device further comprises: a fourth presentation module, configured to present candidate images in an unselected state in the system album while presenting the recommended image;
[0045] After presenting at least one recommended image in a selected state in the system album, the apparatus further includes:
[0046] A display update module, configured to receive a selection operation for a target image among the candidate images;
[0047] In response to the selection operation, the target image is controlled to be in a selected state, and
[0048] The recommended images in the selected state in the system album are updated and displayed, so that an image that is compatible with the target image is included in the recommended images that are updated and displayed.
[0049] In the above solution, the device further comprises:
[0050] a fifth presentation module, configured to present the existing image in the system album that has been uploaded when the existing image exists in the system album;
[0051] The uploaded status is used to indicate that the existing images in the system album are already uploaded and cannot be uploaded to the target album again.
[0052] In the above solution, before presenting at least one recommended image in the selected state in the system album, the recommended image screening module is further used to
[0053] Performing image recognition on the existing images respectively to obtain image features of each of the existing images, and performing image recognition on multiple candidate images in the system album respectively to obtain image features of each of the candidate images;
[0054] Associating and matching the image features of each of the existing images with the image features of each of the candidate images to obtain corresponding correlation degrees;
[0055] A candidate image whose relevance to the existing image exceeds a relevance threshold is selected as the recommended image.
[0056] In the above solution, before presenting at least one recommended image in the selected state in the system album, the recommended image screening module is further used to
[0057] Loading existing filtering conditions corresponding to the target album, wherein the existing filtering conditions are used to filter recommended images;
[0058] Based on the existing filtering conditions, candidate images that meet the existing filtering conditions are filtered from the system album as the recommended images.
[0059] In the above solution, after presenting at least one recommended image in a selected state in the system album, the display update module is further configured to generate a filtering condition corresponding to the target image in response to a selection operation on the target image in the system album;
[0060] Updating the filtering condition corresponding to the target image to the existing filtering condition;
[0061] Based on the updated existing filtering conditions, candidate images that meet the updated existing filtering conditions are filtered from the system album as the recommended images.
[0062] In the above solution, before presenting the at least one recommended image in the selected state in the system album, the recommended image screening module is further used to determine candidate images in the system album that are compatible with the name or content of the target album;
[0063] When there are multiple target images in the candidate images whose similarity values exceed a first similarity threshold, obtaining a phenotype score for each of the target images;
[0064] A target image whose phenotype score exceeds a target score and other images among the candidate images whose similarity values with the target image are lower than a second similarity threshold are determined as the recommended images.
[0065] In the above solution, after presenting at least one recommended image in a selected state in the system album, the device further includes:
[0066] The image preview module is further used to present preview prompt information for the recommended image;
[0067] In response to a triggering operation on the preview prompt information, presenting a preview interface for previewing the recommended image;
[0068] Obtaining the storage time of each of the recommended images in the system album, and presenting, in the preview interface, image blocks corresponding to the time period of each storage time;
[0069] The image block includes at least one image display position for displaying the recommended image, and the image display position and the recommended image are in a one-to-one correspondence.
[0070] In the above solution, the device further comprises:
[0071] A preview jump module, configured to receive a selection operation for a target image block among the image blocks;
[0072] In response to the selection operation, recommended images within the time period corresponding to the target image block in the system album are presented.
[0073] In the above solution, after uploading the recommended image to the target album, the device further includes:
[0074] a sixth presentation module, configured to, when there are multiple recommended images, obtain the storage time of each recommended image in the system album, and display the uploaded recommended images in the target album in the order of storage time first and corresponding recommended images later; or
[0075] The shooting location or category corresponding to each of the recommended images is obtained, and the uploaded recommended images are displayed in the target album in a classified manner according to the shooting location or category.
[0076] In the above solution, after uploading the recommended image to the target album, the device further includes:
[0077] A screening constraint updating module, configured to determine screening conditions for the target album based on the uploaded recommended images;
[0078] The filtering condition is used to filter images in the system album when uploading images to the target album again;
[0079] The filtering condition of the target album is updated to the additional attribute used to describe the target album.
[0080] An embodiment of the present application provides an electronic device, including:
[0081] a memory for storing executable instructions;
[0082] The processor is used to implement the album-based image uploading method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0083] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute and implement the album-based image uploading method provided in the embodiment of the present application.
[0084] The embodiments of the present application have the following beneficial effects:
[0085] An editing interface for editing a target album is presented in an application client; in response to an image selection instruction triggered based on the editing interface, at least one recommended image in a selected state in a system album is presented; in response to a confirmation operation on a recommended image, an upload interface for uploading the recommended image is presented; in response to an image upload instruction triggered based on the upload interface, the recommended image is uploaded to the target album; in this way, when uploading an image to a target album in an application client, recommended images that match the name or content of the target album are automatically screened out, and the screened recommended images are controlled to be in a selected state, without the need for the user to manually screen and select them one by one, thereby improving the efficiency of uploading images. BRIEF DESCRIPTION OF THE DRAWINGS
[0086] Figure 1 A schematic diagram of an optional architecture of an album-based image uploading system 100 provided in an embodiment of the present application;
[0087] Figure 2 An optional structural diagram of an electronic device 500 provided in an embodiment of the present application;
[0088] Figure 3 A flowchart of an album-based image uploading method provided in an embodiment of the present application;
[0089] Figure 4 A schematic diagram of displaying a recommended image provided in an embodiment of the present application;
[0090] Figure 5 A schematic diagram of displaying a recommended image provided in an embodiment of the present application;
[0091] Figure 6 A schematic diagram of displaying a recommended image provided in an embodiment of the present application;
[0092] Figure 7 A schematic diagram of displaying a recommended image provided in an embodiment of the present application;
[0093] Figure 8A schematic diagram of displaying a recommended image provided in an embodiment of the present application;
[0094] Figure 9 A schematic diagram of a preview of a recommended image provided in an embodiment of the present application;
[0095] Figure 10 A schematic diagram of the upload interface for recommended images provided in an embodiment of the present application;
[0096] Figure 11-12 A schematic diagram of the album display provided in an embodiment of the present application;
[0097] Figure 13 A schematic diagram of a preview interface for recommended images provided in an embodiment of the present application;
[0098] Figure 14 A schematic diagram of the logic for determining the recommended images provided in the embodiment of the present application;
[0099] Figure 15 A schematic diagram of the process for determining a recommended image according to an embodiment of the present application;
[0100] Figure 16 A schematic diagram of a method for generating a constraint list provided in an embodiment of the present application;
[0101] Figure 17 A schematic diagram of a method for generating a recommended image list provided in an embodiment of the present application;
[0102] Figure 18 A schematic diagram of the process of determining recommended images provided in an embodiment of the present application. DETAILED DESCRIPTION
[0103] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0104] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0105] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0106] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0107] The relevant data collection and processing in the embodiments of this application should be strictly in accordance with the requirements of relevant laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.
[0108] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0109] 1) Application client: an application running in the terminal to provide various services, such as a short video client, an instant messaging client, a learning client, etc.
[0110] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0111] See also Figure 1 , Figure 1 An optional architectural diagram of an album-based image upload system 100 provided in an embodiment of the present application. To support an exemplary application, terminals (terminal 400-1 and terminal 400-2 are shown as examples) are connected to a server 200 via a network 300. The network 300 can be a wide area network or a local area network, or a combination of the two, and wireless links are used to achieve data transmission.
[0112] In actual applications, the terminal can be various types of user terminals such as smart phones, tablet computers, laptops, etc., and can also be a desktop computer, a television, or a combination of any two or more of these data processing devices; the server 200 is the background server corresponding to the application client set on the terminal, which can be a separately configured server supporting various services, or it can be configured as a server cluster, or it can be a cloud server, etc.
[0113] In actual application, when the user uploads an image to the album through the application client on the terminal, the terminal presents an editing interface for editing the target album in the application client; in response to the image selection instruction triggered based on the editing interface, a filtering request for recommended images is generated and sent to the server 200; the server 200 is used to determine and return at least one recommended image in the system album that matches the name or content of the target album to the terminal based on the filtering request; the terminal presents the recommended image in the system album in a selected state based on the received recommended image; in response to the determination operation for the recommended image, an upload interface for uploading the recommended image is presented; in response to the image upload instruction triggered based on the upload interface, the recommended image is uploaded to the target album.
[0114] See also Figure 2 , Figure 2 This is an optional structural diagram of the electronic device 500 provided in the embodiment of the present application. In practical applications, the electronic device 500 may be Figure 1 The terminal or server 200 in the embodiment of the present invention is an electronic device. Figure 1 Taking the terminal shown as an example, an electronic device that implements the album-based image uploading method of an embodiment of the present application is described. Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not shown in FIG. Figure 2 Various buses are labeled as bus system 540 .
[0115] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0116] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0117] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.
[0118] The memory 550 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.
[0119] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.
[0120] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0121] A network communication module 552 for reaching other computing devices via one or more (wired or wireless) network interfaces 520 , exemplary network interfaces 520 including Bluetooth, WiFi, and USB;
[0122] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., a display screen, a speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripheral devices and displaying content and information);
[0123] The input processing module 554 is configured to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
[0124] In some embodiments, the album-based image uploading device provided in the embodiments of the present application can be implemented in a software manner. Figure 2An album-based image uploading device 555 stored in the memory 550 is shown, which can be software in the form of programs and plug-ins, etc., including the following software modules: a first presentation module 5551, a second presentation module 5552, a third presentation module 5553 and an image upload module 5554. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0125] In other embodiments, the album-based image uploading device provided in the embodiments of the present application can be implemented in hardware. As an example, the album-based image uploading device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the album-based image uploading method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.
[0126] Based on the above description of the image uploading system based on the photo album provided by the embodiment of the present application, the image uploading method based on the photo album provided by the embodiment of the present application is described below. In actual implementation, the method can be Figure 1 The terminal or server 200 shown is implemented separately, and can also be implemented by Figure 1 The terminal and server 200 shown are implemented in conjunction with each other. Figure 1 and Figure 3 , Figure 3 A flowchart of the method for uploading images based on an album provided in an embodiment of the present application is provided. Figure 1 The terminal shown is used as an example to illustrate the album-based image uploading method provided in the embodiment of the present application.
[0127] Step 101: The terminal presents an editing interface for editing a target album in the application client.
[0128] Here, an application client for uploading images to the album is set on the terminal, such as an instant messaging client, a short video client, a learning client, etc. When the user opens the application client on the terminal to upload an image, that is, when uploading the image in the system album to the album of the application client, a new target album can be created in the application client, and the image to be uploaded can be uploaded to the newly created target album, or an already created target album can be opened (the target album includes at least one previously uploaded image), and the image to be uploaded can be uploaded to the already created target album.
[0129] In actual implementation, no matter whether the target album is a newly created album or an already created album, when uploading images, the terminal can present an editing interface for editing the target album in the application client. For example, when the target album is a newly created album, the editing interface is used to edit the name of the target album; when the target album is an already created album, the editing interface is used to edit the content of the target album, such as uploading images that have not been uploaded or deleting images that have been uploaded in the album.
[0130] Step 102: In response to an image selection instruction triggered based on the editing interface, present at least one recommended image in a selected state in the system album, where the recommended image is compatible with the name or content of the target album.
[0131] Here, the system album refers to an album stored locally on the terminal. Recommended images in the system album can be images captured or captured by the terminal and stored locally, or images saved locally during user browsing or conversations. Images can be static, dynamic, or even video. The image selection command is used to automatically filter recommended images from the system album that match the name or content of the target album and automatically control the selected recommended images to be selected in the system album.
[0132] In some embodiments, the terminal may present an editing interface for editing the target album in the application client in the following manner: presenting a creation function item for creating an album in the application client; in response to a triggering operation on the creation function item, presenting an editing interface for editing the created target album; accordingly, the terminal may obtain the name of the target album in the following manner: presenting a text editing box in the editing interface; in response to a text editing operation triggered based on the text editing box, presenting text content input based on the text editing box, and using the text content as the name of the target album.
[0133] Accordingly, before the terminal presents at least one recommended image in a selected state in the system album, it may receive an image selection instruction in the following manner: presenting an image selection function item in the editing interface, and the image selection function item is used to select an image in the system album; receiving an image selection instruction in response to a trigger operation on the image selection function item; the terminal may present at least one recommended image in a selected state in the system album in the following manner: when there is a recommended image in the system album that matches the name of the target album, presenting the recommended image in a selected state in the system album.
[0134] Here, for the newly created target album, the user can edit the name of the target album through the text editing box, and enter text content such as time, place, scenery, food, pets, and names as the name of the target album; when the user triggers the image selection function item for selecting uploaded images, the terminal responds to the trigger operation and automatically filters the images in the system album. When there is at least one recommended image in the system album that matches the name of the target album, the recommended image is filtered out and the filtered recommended image is controlled to be in a selected state; in this way, when the user triggers the image selection function item, the terminal automatically filters the images in the system album, and the recommended image that matches the name of the target album can be selected without the user manually filtering.
[0135] See also Figure 4 , Figure 4 A display diagram of recommended images provided in an embodiment of the present application is provided. When a user opens an album application in an application client, if there is an album that has been created in the album application, in addition to displaying the created album, the album application interface may also present a creation function item 401 for creating a new album; when the user triggers (such as clicking, double-clicking, sliding or long pressing, etc.) the creation function item 401, the terminal responds to the trigger operation and jumps from the album application interface to the editing interface 402, presenting a text editing box 403 and an image selection function item 403 for selecting the image to be uploaded in the editing interface 402, and the user may enter the name of the target album through the text editing box 403; when the user triggers the image selection function item 403, the terminal responds to the trigger operation, and when there is a recommended image in the system album that matches the name of the target album, the recommended image in the selected state in the system album is presented.
[0136] In some embodiments, when the recommended image matches the name of the target album, the terminal may filter and obtain the recommended image in the following manner before presenting at least one recommended image in the selected state in the system album: perform semantic analysis on the name of the target album to obtain a tag list corresponding to the name; based on the tag list, generate filtering conditions corresponding to the name of the target album, and the filtering conditions are used to filter the recommended images; based on the filtering conditions, filter the images of the system album to obtain images that meet the filtering conditions as recommended images.
[0137] Here, for the newly created target album, the terminal responds to the trigger operation for the image selection function item and performs semantic analysis on the name of the target album input by the user based on the text edit box, such as performing word segmentation on the name of the target album to obtain at least one corresponding word segmentation, and using the obtained word segmentation as a label in the label list, combining each label to obtain the filtering condition corresponding to the name of the target album; generating corresponding filtering conditions based on each label in the label list to obtain the filtering condition corresponding to the name of the target album. In actual applications, when there are multiple filtering conditions, the multiple filtering conditions can be stored in the form of a constraint list, that is, the filtering condition corresponding to the name of the target album is the constraint list for filtering images, and each filtering condition in the constraint list is the constraint item corresponding to each label in the label list of the name of the target album. Based on the constraint list, images that meet each constraint item (i.e., meet each filtering condition) are filtered from the system album as recommended images that are compatible with the name of the target album.
[0138] In some embodiments, the terminal may generate the filtering condition corresponding to the name based on the tag list in the following manner: generating the filtering condition by performing at least one of the following operations: when the tag list includes participles for indicating geographic location, generating the geographic location filtering condition based on the participles; when the tag list includes filtering conditions for indicating time, generating the time filtering condition based on the participles; when the tag list includes participles for indicating object names, obtaining the association between historical photo albums and object names, and generating the filtering condition corresponding to the participles based on the association; when the part of speech of the participles in the tag list is noun or adjective, generating the corresponding filtering condition based on the participle; when the part of speech of the participles in the tag list is auxiliary word, obtaining the filtering condition corresponding to the participles before and after the participle, and connecting the constraint items corresponding to the participles before and after the participle to generate the corresponding filtering condition.
[0139] The filtering conditions generated above are the constraints corresponding to each word segment. When there are multiple constraints, the generated multiple constraints are combined to generate a constraint list corresponding to the name.
[0140] Here, after the terminal performs semantic analysis on the name of the target album to obtain the segmented words corresponding to the name of the target album, it can also perform word meaning analysis, part-of-speech analysis or importance analysis on each segmented word to obtain the meaning, part-of-speech or importance of each segmented word, and then generate corresponding filtering conditions based on the meaning, part-of-speech or importance of each segmented word; when filtering images in the system album, it traverses each constraint item one by one to filter out images that meet each filtering condition.
[0141] For example, when the meaning of a segmentation word is a geographic location, a geographic location filter condition is generated, that is, a location constraint is generated. When filtering images from the system album, images that meet the location filter condition corresponding to the segmentation word are filtered. For example, if the segmentation word "Forbidden City" expresses a geographic location, images related to the "Forbidden City" are filtered out, including images taken in the Forbidden City or images that contain Forbidden City elements. When the meaning of a segmentation word is time, a time filter condition is generated, that is, a time constraint is generated. When filtering images from the system album, images that meet the time filter condition corresponding to the segmentation word are filtered out. For example, if the segmentation word "July 2000" expresses a time, images taken or screenshot in July 2007 are filtered out from the system album.
[0142] When the meaning of the word expressed by the segmentation is an object name, such as a person's name or a pet's name, a filtering condition for an object portrait (such as a person's face or a pet's face) is generated. In this case, the association between the user's previously created historical albums and the object name is used, and the corresponding filtering condition (i.e., constraint) is generated based on the association. For example, if the user previously created a historical album named "Fei Fei" and placed many images with the same face, such as photos of user A, into it, an association can be established between the historical album "Fei Fei" and user A. When the name of the user's newly created target album includes the segmentation "Fei Fei", a filtering condition corresponding to user A is generated, and images containing user A's face are filtered from the system album. For another example, if the user previously created a historical album named "Duo Duo" and placed many images of the same dog, such as photos of dog B, into it, an association can be established between the historical album "Duo Duo" and the dog. When the name of the user's newly created target album includes the segmentation "Duo Duo", a filtering condition corresponding to dog B is generated, and images containing dog B are filtered from the system album.
[0143] When the part of speech of a segmented word is a noun, a filter condition for image content recognition is generated. For example, for the segmented word "car," a filter condition for cars is generated, and images containing cars are selected from the system album as recommended images. When the part of speech of a segmented word is an adjective, an image filter condition is generated for that adjective. For example, for a color-type adjective, a filter condition for the main color of the image is generated, and images of the same color are selected from the system album as recommended images. For shape-type or size-type adjectives, a filter condition for shape or size is generated, and images of the same shape or size are selected from the system album as recommended images. When the part of speech of a participle is a diffuse auxiliary word, such as "and", "or", "with", etc., the filtering conditions corresponding to the participles before and after the participle are connected by "or", and images that meet at least one of the filtering conditions of the participles before and after the participle are regarded as recommended images, and images that meet the filtering conditions corresponding to the participles before and after the participle are filtered from the system album; when the participle is not a diffuse auxiliary word, such as "of", the filtering conditions corresponding to the participles before and after the participle are connected by "and", and images that meet the filtering conditions of the participles before and after the participle are regarded as recommended images, and images that meet the filtering conditions corresponding to the participles before and after the participle are filtered from the system album.
[0144] When a segmentation word does not have a specific directional meaning, it is considered to have the lowest importance and can be ignored first. After generating each constraint item, the filtering conditions (i.e., constraint items) corresponding to the segmentation words corresponding to the name of the target album can be combined to obtain a constraint list of the target album. Based on the constraint list, images that meet each filtering condition are filtered from the system album as recommended images.
[0145] In some embodiments, when there is no recommended image that matches the name of the target album in the system album, the terminal may determine the content of the target album in the following manner before presenting at least one recommended image in a selected state in the system album: present at least one image option available for selection in the system album; in response to a selection operation for the target option, control the image corresponding to the target option to be in a selected state, and use the image corresponding to the target option as the content of the target album; accordingly, the terminal may present at least one recommended image in a selected state in the system album in the following manner: present a recommended image in the system album that matches the image corresponding to the target option, and control the recommended image to be in a selected state.
[0146] Here, the terminal responds to the trigger operation for the image selection function item. When it is determined that the recommended image that matches the name of the target album cannot be filtered out from the system album based on the filtering conditions corresponding to the target album name, the terminal first presents the image options available in the system album. When the user selects the target option, the terminal uses the image corresponding to the target option as the content of the target album, and generates corresponding filtering conditions based on the content of the target album. Based on the filtering conditions, images that match the image corresponding to the target option are filtered out from the system album as recommended images. The number of target options triggered by the user can be set. As the user selects the image option, the corresponding filtering conditions are updated, and the selected recommended images in the system album are updated in real time based on the updated filtering conditions.
[0147] In actual implementation, the content of the image corresponding to the target option can be recognized to identify people, scenery, pets, food, text, etc., and then related recommendations can be made based on the recognized content. For example, the image corresponding to the target option can be matched with each candidate image in the system album for similarity, and the candidate image whose similarity value with the image corresponding to the target option exceeds the similarity threshold can be used as the recommended image. Alternatively, the category of the image corresponding to the target option can be identified, and the candidate image in the system album that belongs to the same category as the image corresponding to the target option can be used as the recommended image.
[0148] See also Figure 5 , Figure 5 A display diagram of recommended images provided in an embodiment of the present application, in which the name "Little Cutie" is entered when creating a target album, and the terminal responds to the trigger operation for the image selection function item 501. If the recommended image that matches the name "Little Cutie" cannot be filtered out from the system album, the image options available for selection in the system album are presented. When the user selects the target option 502, the image corresponding to the selected target option is controlled to be in a selected state, and a recommended image that is associated and recommended based on the image corresponding to the selected target option is presented in the system album.
[0149] It should be noted that the above method is also suitable for the case where the user directly triggers the image selection function item without editing the name when creating a new target album.
[0150] In some embodiments, the terminal may present at least one image option available for selection in the system album in the following manner: presenting prompt information for prompting image selection; and presenting at least one image option available for selection in the system album in response to a triggering operation on the prompt information.
[0151] See also Figure 6 , Figure 6A display diagram of recommended images provided in an embodiment of the present application, in response to a trigger operation for an image selection function item 601, when it is determined that the constraint list based on the target album cannot filter out recommended images that match the name of the target album from the system album, a prompt message 602 may be first presented to prompt the user to select an image. When the user clicks on the prompt message 602, the terminal presents image options available for selection in the system album. When the user selects a target option 603 therefrom, the terminal responds to the user's selection operation and presents a recommended image that is associated with the image corresponding to the selected target option.
[0152] In some embodiments, the terminal can also present an editing interface for editing the target album in the application client in the following manner: presenting the created target album in the application client, the target album including at least one existing image; in response to a trigger operation on the target album, presenting an editing interface for editing the target album, the editing interface including an image adding function item for adding images to the target album; accordingly, the terminal can also receive an image selection instruction in the following manner: receiving an image selection instruction in response to a trigger operation on the image adding function item; and can present at least one recommended image in a selected state in the system album in the following manner: using the existing image as the content of the target album, presenting a recommended image in the system album that is compatible with the existing image, and controlling the recommended image to be in a selected state.
[0153] Here, for a target album that has been created, when the user opens the target album, the terminal presents an editing interface for the target album in response to the opening operation, and presents the existing images (previously uploaded) included in the target album in the editing interface, as well as an image adding function item. That is, for a target album that has been created, that is, before uploading the image to the target album this time, there are already existing images in the target album. When the user triggers the image adding function item, the terminal can receive the corresponding image selection instruction, and in response to the image selection instruction, use the existing images in the target album as the content of the target album, that is, automatically filter out recommended images that are compatible with the existing images from the system album based on the existing images, and control the filtered recommended images to be in a selected state.
[0154] See also Figure 7 , Figure 7A display diagram of recommended images provided in an embodiment of the present application, when a user opens the target album "Duoduo", an editing interface 701 is presented, and multiple photos of the pet dog Duoduo previously uploaded in the target album (i.e., existing images) and an image adding function item 702 are presented in the editing interface 701. When the user clicks on the image adding function item 702, the terminal responds to the click operation and presents the recommended images selected in the system album that are compatible with the existing images in the album, i.e., automatically filtering and selecting the photos of the pet dog Duoduo in the system album.
[0155] In some embodiments, before presenting at least one recommended image in a selected state in the system album, the terminal may determine the recommended image in the following manner: performing image recognition on existing images respectively to obtain image features of each existing image, and performing image recognition on multiple candidate images in the system album respectively to obtain image features of each candidate image; associating and matching the image features of each existing image with the image features of each candidate image to obtain a corresponding degree of correlation; and selecting a candidate image whose degree of correlation with the existing image exceeds a correlation threshold as the recommended image.
[0156] Here, in actual implementation, content recognition can be performed on existing images to identify people, scenery, pets, food, text, etc., and then related recommendations can be made based on the recognized content, such as associating and matching existing images with candidate images in the system album, and recommending candidate images whose correlation with existing images exceeds a correlation threshold, such as recommending candidate images whose similarity values with existing images exceed a similarity threshold (both contain the same target object), or recommending images, or performing category recognition on images corresponding to target options, and recommending images in the system album that belong to the same category as the existing images; in this way, candidate images that belong to the same person, are taken at the same geographical location, or are in the same category (such as food or scenery) as the existing images can be automatically screened out from the system album as recommended images.
[0157] In some embodiments, before presenting at least one recommended image in a selected state in the system album, the terminal may also determine the recommended image in the following manner: loading the existing filtering conditions corresponding to the target album, where the existing filtering conditions are used to filter the recommended images; based on the existing filtering conditions, filtering candidate images that meet the constraints from the system album as recommended images.
[0158] In actual applications, the created target album has corresponding existing filtering conditions. The existing filtering conditions are generated by the terminal based on the name or content (uploaded images) of the target album during the previous upload (before the current image upload) or after the image was uploaded to the target album. The specific method for generating filtering conditions can be found in the above-mentioned method, which will not be repeated here. When uploading the image to the target album this time, the terminal can automatically load the existing filtering conditions and filter candidate images that meet the existing filtering conditions from the system album as recommended objects.
[0159] In some embodiments, the terminal may also present candidate images that are not selected in the system album while presenting the recommended images; accordingly, after presenting at least one recommended image that is in a selected state in the system album, the terminal may also receive a selection operation for a target image among the candidate images; in response to the selection operation, the target image is controlled to be in a selected state, and the recommended images that are in a selected state in the system album are updated and displayed, so that there is an image that is compatible with the target image among the updated recommended images.
[0160] Here, in the process of uploading images to the target album that has been created, the terminal not only presents the recommended images in the system album in a selected state, but also presents the candidate images in an unselected state. When the user clicks to select the target image from the candidate images, the terminal not only controls the selected target image to be in a selected state, but also controls the candidate images that are compatible with the target image to be in a selected state, that is, continues to screen and select images associated with the target image based on the selected target image.
[0161] In some embodiments, after presenting at least one recommended image in a selected state in the system album, the terminal may also update the recommended image in the following manner: in response to a selection operation on a target image in the system album, generating constraint items corresponding to the target image; updating the filtering conditions corresponding to the target image to the existing filtering conditions; and based on the updated existing filtering conditions, filtering candidate images that meet the updated existing filtering conditions from the system album as recommended images.
[0162] Here, when the user clicks to select the target image that is in an unselected state, the terminal generates corresponding filtering conditions based on the target image, and updates the newly generated filtering conditions and adds them to the existing filtering conditions of the target album, so as to filter the candidate images in the system album based on the updated existing filtering conditions, and filter out the candidate images that meet the updated existing filtering conditions as recommended images. In this way, as the user selects the candidate images, the selected recommended images in the system album are updated and displayed in real time.
[0163] In some embodiments, when there are existing images in the system album, the terminal can present the existing images in the system album that are in the uploaded state; wherein, the uploaded state is used to indicate that the existing images in the system album are in the state of having been uploaded and can no longer be uploaded to the target album.
[0164] Here, in the process of uploading images to the target album that has been created, when presenting recommended images in the system album that are compatible with existing images in the target album, if the same images as those in the target album exist in the system album, that is, some or all of the existing images in the target album also exist in the system album, the terminal automatically controls the same images in the system album to be in an uploaded state, such as gray-checking the image option corresponding to the image, thereby avoiding missing the image to be uploaded and avoiding repeated uploading of the image.
[0165] See also Figure 8 , Figure 8 A display diagram of recommended images provided in an embodiment of the present application. In the process of uploading an image to the created target album "Duoduo", when the recommended image 801 is presented in a selected state in the system album, if the candidate image 802 in the system album also exists in the target album, that is, the user has previously uploaded the candidate image 802 to the target album, in this case, the image option corresponding to the candidate image 802 is grayed out, so that the user cannot upload the candidate image 802 to the target album again, thereby avoiding repeated uploading.
[0166] In some embodiments, before the terminal presents at least one recommended image in a selected state in the system album, it can also filter and obtain recommended images in the following manner: determine candidate images in the system album that are compatible with the name or content of the target album; when there are multiple target images in the candidate images whose similarity values exceed a first similarity threshold, obtain a phenotype score for each target image; and determine the target image whose phenotype score exceeds the target score and other images in the candidate images whose similarity values with the target image are lower than a second similarity threshold as recommended images.
[0167] Among them, multiple target images whose similarity values exceed the first similarity threshold indicate images of a comparative type with each other, such as multiple continuously shot images; the phenotype score is used to characterize the beauty of the target image, and the higher the phenotype score means the higher the beauty of the target image. In actual implementation, the target image can be input into a trained scoring model to obtain the phenotype score of the target image.
[0168] When there are multiple target images taken in succession, the most suitable target image is further screened as the recommended image based on the phenotype score of each target image; in this way, the optimal image can be uploaded without the user having to select each one individually, saving storage space while improving image upload efficiency.
[0169] In some embodiments, after presenting at least one recommended image in a selected state in the system album, the terminal can also preview the recommended image in the following manner: presenting preview prompt information for the recommended image; presenting a preview interface for previewing the recommended image in response to a trigger operation for the preview prompt information; obtaining the storage time of each recommended image in the system album, and presenting image blocks corresponding to the time periods of each storage time in the preview interface; wherein the image blocks include at least one image display position for displaying the recommended image, and the image display position and the recommended image are in a one-to-one correspondence.
[0170] Here, when the terminal presents the recommended image selected in the system album, it can also present preview prompt information for the recommended image in the form of a floating window or pop-up window. The preview prompt information may include information such as the name of the target album and the number of recommended images. When the user clicks on the preview prompt information, the terminal responds to the click operation, presents a preview interface, and displays each recommended information in the form of an image block in the preview interface, wherein the image blocks are divided based on the time period of the storage time of the recommended image in the system album (such as shooting time, screenshot time, saving time, etc.). The length of the time period can be set, such as dividing the image blocks by month, week or quarter. The number of image display positions in each image block is the number of recommended images selected in the corresponding time period, and the thumbnails of the corresponding recommended images can be displayed in the image display positions.
[0171] See also Figure 9 , Figure 9 A preview diagram of the recommended images provided in an embodiment of the present application. When the user clicks on the preview prompt information 901, the terminal presents a preview interface 902 in response to the click operation. In the preview interface 902, image blocks are displayed according to months, such as image block 903 and image block 904, wherein image block 903 is used to indicate the distribution and number of recommended images in the selected state among all images in the system album with a storage time of March 2019. Similarly, image block 904 is used to indicate the distribution and number of recommended images in the selected state among all images in the system album with a storage time of July 2019.
[0172] It should be noted that the above preview interface can also be displayed by triggering the corresponding preview function item, such as Figure 9 As shown, when the terminal presents the recommended image selected in the system album, it also presents a preview function item 905 for the recommended image. When the user clicks the preview function item 905, the terminal responds to the click operation and presents a preview interface 902.
[0173] In some embodiments, the terminal may also receive a selection operation for a target image block among the image blocks; and in response to the selection operation, present recommended images within a time period corresponding to the target image block in the system album.
[0174] Here, the user can switch the display of recommended images in the system album that are in a selected state in different time periods by clicking on the image block. For example, when the user clicks on image block 1, the recommended images in the time period corresponding to image block 1 in the system album are positioned and presented in the current view interface. When the user clicks on image block 2, the recommended images in the time period corresponding to image block 2 in the system album are positioned and presented, that is, the recommended images in the time period corresponding to image block 1 in the system album are automatically switched to the recommended images in the time period corresponding to image block 2.
[0175] For example, Figure 9 In the preview interface, image blocks 903 and image blocks 904 are displayed by month, and the recommended image corresponding to image block 903 in the system album is presented in the current view interface. When the user clicks image block 904, the terminal automatically locates the recommended image corresponding to image block 904 in response to the click operation. In this way, by clicking the image block, the image presented in the current view interface is switched, and the corresponding recommended image can be automatically located and displayed without sliding the view interface.
[0176] Through the above method, since the image display position in the image block corresponds to the recommended image, a global preview of the recommended images in the selected state can be achieved through the image block. Especially when the number of recommended images is large, there is no need to slide or drag the view interface of the recommended image. The distribution of the recommended images can be globally understood through the preview interface, which is convenient for users to quickly check whether the selected images are misselected or missed, which is conducive to improving the accuracy and efficiency of image uploading.
[0177] Step 103: In response to the confirmation operation on the recommended image, an upload interface for uploading the recommended image is presented.
[0178] Here, when the terminal presents the recommended image selected in the system album, it also presents a confirmation function item for the recommended image. When the user determines the recommended image to be uploaded and clicks the confirmation function item, the terminal responds to the click operation and presents an upload interface. Based on the determined recommended image in the upload interface, the target album or recommended image can be edited, such as the viewing permissions and themes of the target album, and the description and image quality type of each recommended image can be edited. In addition, the upload interface can also present an upload function item for uploading recommended images to the target album.
[0179] Step 104: In response to the image upload instruction triggered based on the upload interface, the recommended image is uploaded to the target album.
[0180] In actual application, when the user clicks the upload function item, the terminal responds to the click operation, receives the image upload instruction, and responds to the image upload instruction to upload the recommended image to the target album, and the uploaded recommended image can be displayed in the target album.
[0181] See also Figure 10 , Figure 10 Schematic diagram of the upload interface for recommended images provided in an embodiment of the present application. When the user decides to upload the recommended image, the terminal presents an upload interface 1001. The upload interface 1001 presents the recommended image 1002 determined to be uploaded, a text editing box 1003 for editing the target album or recommended image, and an upload function item 1004. The description of the recommended image can be edited based on the text editing box. When the user clicks the upload function item 1004, the terminal responds to the click operation and presents an upload success interface 1005, and the uploaded recommended image can be presented in the target album.
[0182] In some embodiments, after the terminal uploads the recommended image to the target album, when there are multiple recommended images, the storage time of each recommended image in the system album is obtained; in the target album, the uploaded recommended images are displayed in the order of storage time first and corresponding recommended images later.
[0183] Here, after uploading the recommended image to the target album, if there are multiple recommended images uploaded, the recommended images will be displayed in the target album according to the order in which they were originally stored in the system album. For example, Figure 10 In the list, the uploaded recommended images are displayed in order according to the storage time (shooting time, screenshot time or saving time, etc.) of the recommended images in the system album.
[0184] In some embodiments, after the terminal uploads the recommended image to the target album, when there are multiple recommended images, the shooting location or category corresponding to each recommended image is obtained; in the target album, the uploaded recommended image is displayed based on the shooting location or category.
[0185] Here, after uploading the recommended images to the target album, you can display them by location based on where they were taken, or by the categories to which they belong. Figure 11-12 , Figure 11-12 The album display diagram provided in the embodiment of the present application assumes that the recommended image is uploaded to the target album "Beijing Trip". Figure 11 If the recommended images uploaded were taken at locations such as the Great Wall or the Forbidden City, the recommended images taken at the corresponding locations will be displayed in the target album according to the locations. Figure 12In the example, if the categories of the uploaded recommended images include: selfie, food, and architecture, then in the target album, the recommended images of the corresponding categories will be displayed according to the categories.
[0186] In some embodiments, after the terminal uploads the recommended image to the target album, it can also determine the filtering conditions of the target album based on the uploaded recommended image; wherein, the filtering conditions are used to filter the images in the system album when uploading the image to the target album again; the filtering conditions of the target album are updated to the additional attributes used to describe the target album.
[0187] Here, after uploading the recommended image to the target album, the filtering conditions of the corresponding target album are generated based on the uploaded recommended image and updated to the additional attributes. In this way, the next time you upload the image to the target album, the constraint list of the target album can be automatically loaded to filter the images in the system album, and the candidate images that meet the filtering conditions are selected from the system album as the recommended objects for upload, so as to realize the rapid screening and automatic selection of the uploaded images, thereby improving the efficiency of uploading images.
[0188] In some embodiments, the album-based image uploading method provided in the embodiments of the present application can also be applied to other social application scenarios, such as when posting to Moments in an instant messaging application, or when uploading images in social applications such as Weibo, Zhihu, and forums, when editing text content and selecting an image to be uploaded, the edited text content is used as the name of the above-mentioned target album, and filtering conditions for filtering images are generated based on the edited content. Based on the generated filtering conditions, images that meet the filtering conditions are filtered from the system album as recommended images, and the filtered recommended images are automatically controlled to be in a selected state; when recommended images cannot be filtered from the system album based on the edited text content, the user can first manually select at least one target image in the system album. In response to the user's selection operation for the target image in the system album, the terminal uses the selected target image as the content of the above-mentioned target album, generates corresponding filtering conditions based on the selected target image, filters images that match the target image from the system album as recommended images based on the filtering conditions, and automatically controls the filtered recommended images to be in a selected state; finally, in response to the confirmation upload operation for the recommended image, the filtered recommended image can be uploaded to social applications such as Moments, Weibo, Zhihu, and forums.
[0189] The following describes an exemplary application of an embodiment of the present application in an actual application scenario. Taking uploading images from a terminal (such as a mobile phone or computer) to an album in an application client as an example, in the related art, when uploading photos, the user needs to select the images to be uploaded in the system album of the terminal. If there are many images to be uploaded or they are not the latest ones, and there are thousands of images stored in the system album, it will take a lot of energy and time to select the images you want to upload from the thousands of images. This selection process is extremely difficult and time-consuming, resulting in low efficiency in uploading images. Moreover, in the process of selecting images, the images you want to upload may be interspersed with images that do not need to be uploaded, which is likely to result in missing some images. Or when encountering images taken continuously in the same scene, you need to compare and select them one by one, and you may also upload images that have already been uploaded repeatedly.
[0190] To this end, an embodiment of the present application provides an album-based image uploading method, in which the text content such as the physical location, time, name, noun, etc. input by the user when creating a new target album is used as the name of the target album, or the existing images in the created target album are used as the content of the target album. When an image selection instruction is received, recommended images that match the name or content of the target album are automatically filtered out from the system album, and the filtered recommended images are controlled to be in a selected state. When encountering continuously shot images, the best ones are filtered out as recommended images, and the uploaded recommended images are marked to help users quickly, accurately, and without omission select the images they want to upload.
[0191] The target album provided in the embodiment of the present application can be a newly created album when uploading the image this time, or it can be an album (a created album) containing existing images when uploading the image this time. Next, the album-based upload method provided in the embodiment of the present application will be explained from these two directions.
[0192] 1. Product side
[0193] 1. The target album is the newly created album
[0194] a) Automatically select recommended images based on the name of the target album
[0195] For a newly created target album, the terminal performs semantic analysis on the name of the target album input by the user, such as extracting keywords corresponding to the name of the target album, such as time, place, scenery, food, pets, names, and other keywords. When the user triggers the image selection function item, the terminal responds to the triggered image selection instruction, opens the system album, and based on the recognized keywords, when there are recommended images that match the keywords in the system album, filters and locates the location of the recommended image that matches the keywords, and controls the recommended object at the located location to be selected. Figure 4 .
[0196] b) Recommended images cannot be automatically selected based on the name of the target album
[0197] For a newly created target album, when it is not possible to determine whether there are recommended images that match the name of the target album in the system album, such as the name of the target album is "Little Cuties", and the terminal cannot determine which images in the system album need to be uploaded to the album, it first presents the image options available in the system album. When the user selects the target option, the terminal uses the image corresponding to the target option as the content of the target album, controls the image corresponding to the selected target option to be in a selected state, and performs content recognition on the image selected by the user to obtain corresponding related recommendations such as people, scenery, pets, food, text, etc., and a prompt message for recommending related photos appears to help users quickly locate and select the image to be uploaded. Please refer to Figure 5 .
[0198] 2. The target album is an already created album
[0199] For a target album that has been created, that is, when a user uploads a new image to a target album that has already uploaded an image, the user opens the target album, and the terminal presents the editing interface of the target album, and presents the existing images (previously uploaded) included in the target album, as well as the image adding function item in the editing interface. When the user triggers the image adding function item, the terminal can receive the corresponding image selection instruction, and in response to the image selection instruction, the existing images in the target album are used as the content of the target album, that is, based on the existing images, the terminal automatically filters out recommended images that are compatible with the existing images from the system album, and controls the filtered recommended images to be in the selected state, which can be seen in Figure 7 .
[0200] When presenting recommended images in the system album that match existing images in the target album, if the same images as those in the target album exist in the system album, that is, if some or all of the existing images in the target album also exist in the system album, the terminal automatically controls the same images in the system album to be in the uploaded state. The uploaded state indicates that the existing images in the system album have been uploaded and cannot be uploaded to the target album again. If the image option corresponding to the image is grayed out, duplicate uploading of the image can be avoided. For details, see Figure 8 .
[0201] In actual implementation, no matter the target album is a newly created album or an already created album, while presenting the recommended objects in the selected state in the system album, preview prompt information or preview function items for the recommended images can also be presented. When the user clicks the preview prompt information or preview function item, the terminal responds to the user's click operation and presents a preview interface. The user can perform a global preview of the selected recommended images based on the preview interface, and check whether the selected recommended images are missed or misselected through the preview. Recommended images that meet the keywords are displayed according to the month. Click on the image blocks of different time periods to view the selected recommended images in the time period corresponding to the corresponding image blocks. Please refer to Figure 9 、 Figure 13 ,in, Figure 13 Schematic diagram of the preview interface of the recommended image provided in an embodiment of the present application.
[0202] When the user determines the recommended image to be uploaded and clicks the confirm function item, the terminal presents the upload interface in response to the click operation. The user can view the determined recommended image in the upload interface, and edit the target album or recommended image, such as editing the viewing permission, theme, etc. of the target album, and editing the description, image quality type, etc. of each recommended image. In addition, the upload interface can also present an upload function item for uploading the recommended image to the target album. When the user clicks the upload function item, the terminal receives the image upload instruction in response to the click operation, and uploads the recommended image to the target album in response to the image upload instruction, and the uploaded recommended image can be displayed in the target album. Figure 10 .
[0203] 2. Technical side
[0204] See also Figure 14 , Figure 14 The logic diagram for determining the recommended images provided in the embodiment of the present application is shown in FIG. x. The embodiment of the present application involves the following two situations: 1) The first is that the user uploads an image to a newly created target album: based on the name of the target album input by the user, a constraint list corresponding to the name of the target album (i.e., the above-mentioned filtering conditions) is generated; if it is impossible to analyze a label that can be used as a filtering condition from the name of the target album, then after the user selects one or several images, a constraint list is generated based on the images selected by the user; 2) The second is that the user uploads an additional image to the created target album: the existing constraint list corresponding to the existing images in the target album is loaded. The constraint manager module filters the list of recommended images that meet the filtering conditions based on the generated constraint list or the existing constraint list. The recommended image list includes multiple recommended images that are compatible with the content of the target album.
[0205] For the first case above, where the user uploads an image to a newly created target album, see Figure 15 , Figure 15 The following is a schematic diagram of the process for determining recommended images provided in the embodiment of the present application. The general process includes:
[0206] Step 201: Determine the newly created target album.
[0207] Step 202: Get the name of the target album.
[0208] Here, for the newly created target album, the user can edit the name of the target album through the text editing box and enter text content such as time, place, scenery, food, pets, names, etc. as the name of the target album.
[0209] Step 203: The tag analysis module performs semantic analysis on the name of the target album to obtain a tag list corresponding to the name.
[0210] Here, the label analysis module performs semantic analysis on the name of the target album to obtain the segmented words corresponding to the name of the target album, and then performs word meaning analysis, part-of-speech analysis or importance analysis on each segmented word to obtain the meaning, part-of-speech or importance of each segmented word. Therefore, the label list may include the word meaning list, part-of-speech list and segmented word importance list corresponding to each segmented word, and the labels in the three lists correspond one to one.
[0211] Step 204: The constraint processing module generates a constraint list corresponding to the name of the target album based on the tag list.
[0212] Here, the constraint processing module generates corresponding constraint items (ie, filtering conditions) based on each tag in the tag list, and combines each constraint item to obtain a constraint list corresponding to the name of the target album. The constraint list is the filtering condition for filtering images.
[0213] In actual implementation, see Figure 16 , Figure 16 A schematic diagram of a method for generating a constraint list provided in an embodiment of the present application, the method comprising:
[0214] 1) Traverse the tag list;
[0215] Here, after generating the tag list, the word meaning list, part of speech list and word importance list in the tag list are traversed one by one, and each word (or label) in the tag list is analyzed to generate corresponding constraint items (ie, screening conditions).
[0216] 2) If the meaning of the word expressed by the segmented word is a place name, a location filter condition is generated;
[0217] 3) If the meaning of the word expressed by the segmented word is time, generate a time filter condition;
[0218] 4) If the meaning of the word expressed by the segmented word is a person's name, generate a filter condition for a human face or a pet face;
[0219]
[0219] For a machine, both personal names and animal names can be regarded as personal names. To map a personal name to a human face or a pet's face, the existing album information needs to be utilized. For example, if the user previously created an album named "Feifei" and put many photos with the same human face into it, then an association relationship can be established between "Feifei" and that human face; if the user previously created an album named "Duoduo" and put many photos with the same dog into it, then an association relationship can be established between "Duoduo" and that dog.
[0220] 5) If the word segment is a noun, generate a screening condition for image content recognition. For example, for the word segment "car", images containing cars in the image can be recommended to the user.
[0221]
[0220] 6) If the word segment is an adjective of color type, generate a screening condition for the main color of the image, and filter out images of the same color system as that color.
[0222] 7) If the word segment is a diffusive particle, such as "and", "or", "with", etc., then connect the constraint conditions before and after this word with "or", and images that meet the conditions before and after are regarded as meeting the conditions.
[0223]
[0221] 8) If the word segment is not a diffusive particle, such as "of", then connect the two constraint conditions before and after this particle with "and", and only images that meet the conditions before and after simultaneously are regarded as meeting the conditions.
[0224] 9) Ignore other unrecognized words and connect the conditions before and after with "and".
[0225] Step 205: Receive a selection operation for the target image in the system album.
[0226]
[0225] Here, if the name of the target album entered by the user cannot analyze useful information, that is, no tags that can be used as screening conditions can be analyzed from the name of the target album, such as the name "Little Cute", the default images in the recommendation pool will be blank, and the user can be prompted to select one or several target images.
[0227] Step 206: Generate a corresponding constraint list based on the target image.
[0228]
[0226] Here, generate a constraint list based on the selected target image. At this time, the constraint items in the constraint list are mainly constraints on image similarity, and the constraint items are connected using the "or" rule. As the user selects images, the constraint list will be automatically updated.
[0229] Step 207: The constraint condition manager module filters the recommended image list that meets the screening conditions based on the constraint list.
[0230] Here, the constraint condition management module selects images that meet each constraint (i.e., satisfy the filtering conditions) from multiple candidate images in the system album as recommended images based on the constraint list, and multiple recommended images that satisfy the filtering conditions form a recommended image list.
[0231] In actual implementation, see Figure 17 , Figure 17 A schematic diagram of a method for generating a recommended image list provided in an embodiment of the present application, the method comprising:
[0232] Step 301: Traverse the constraint list.
[0233] Step 302: Determine whether the candidate image satisfies the initial constraints.
[0234] Here, the constraint list includes multiple constraint items, and multiple candidate images in the system album are judged item by item. When the candidate image meets the initial constraint item, step 303 is executed; otherwise, step 304 is executed.
[0235] Step 303: Filter out candidate images that meet the initial constraints, and add the filtered candidate images to the recommendation pool.
[0236] Step 304: Determine whether the current constraint item is connected to the initial constraint item.
[0237] Here, if the current constraint item is not the initial constraint item, it is determined whether the current constraint item and the previous constraint item are “or” connected. If so, step 305 is executed; otherwise, step 306 is executed.
[0238] Step 305: Filter out candidate images that meet the current constraints, remove duplicates, and add them to the recommendation pool.
[0239] Here, after screening out candidate images that meet the current constraints, the screened candidate images are deduplicated with the images in the recommendation pool. After removing the duplicate candidate images in the recommendation pool, the remaining candidate images are added to the recommendation pool.
[0240] Step 306: Remove candidate images that do not meet the current constraints from the recommendation pool.
[0241] Here, if the current constraint item and the previous current constraint item are not connected by "or", then they will be connected with the previous current constraint item according to the "and" rule, and the images that do not meet the current constraint item will be deleted from the recommendation pool.
[0242] Step 307: Determine whether the traversal is completed.
[0243] Here, if the traversal is not completed, step 301 is executed; when the traversal is completed, step 308 is executed.
[0244] Step 308: Output the recommended image list.
[0245] Here, when the constraint list traversal is completed, the image in the recommendation pool is the recommended image to be output, and multiple recommended images form a recommended image list.
[0246] Step 208: The image sorting and grouping module groups and sorts the recommended images by month.
[0247] Step 209: The UI control module controls the recommended image to be in a selected state.
[0248] Here, the UI (User Interface) control module selects the filtered recommended images by default based on the above results.
[0249] Step 210: In response to the image upload instruction for the recommended image, upload the recommended image to the target album.
[0250] When the user selects a picture and uploads it, the constraint list will be updated to the additional properties of the album.
[0251] For the second case above, that is, users upload additional images to the created target album, see Figure 18 , Figure 18 The following is a schematic diagram of the process for determining recommended images provided in the embodiment of the present application. The general process includes:
[0252] Step 401: Load the existing constraint list of the target album.
[0253] Here, when the user opens the target album that has been created, the terminal responds to the opening operation of the target album and presents an editing interface for editing the target album. The editing interface presents an image adding function item for adding images to the target album. When the user clicks the image adding function item, the terminal responds to the click operation and loads the existing constraint list corresponding to the target album. The loaded existing constraint list is input into the constraint condition management module, and step 403 is executed to generate a recommended image list.
[0254] Step 402: Generate a constraint list based on the newly selected image.
[0255] Here, when the user clicks to select an unselected image in the system album, the terminal generates corresponding constraint items based on the newly selected image, and updates the newly generated constraint items to the existing constraint list of the target album to filter the images in the system album based on the updated existing constraint list.
[0256] Step 403: The constraint condition manager module filters the recommended image list that meets the filtering conditions based on the constraint list.
[0257] Here, after filtering out the recommended image list, you can execute Figure 15 In steps 209-210, the image sorting and grouping module groups and sorts the recommended images by month. Based on the above results, the UI control module selects the filtered recommended images by default. If the filtered recommended images already exist in the target album, the image option corresponding to the image will be grayed out to avoid repeated uploading of images. When an image upload instruction for a recommended image is received, the recommended image is uploaded to the target album.
[0258] Through the above method, based on the text content entered by the user when creating a new album, the image selected by the user or the image uploaded by the user, the user can be intelligently helped to quickly locate and select the image to be uploaded in the system album, allowing the user to quickly, accurately and without omission select the image they want to upload from thousands of system albums, greatly improving the efficiency of image uploading.
[0259] The following continues to describe the exemplary structure of the album-based image upload device 555 provided in the embodiment of the present application as a software module. In some embodiments, the image uploaded to the image storage device 555 is stored in the image storage device 555. Figure 2 The software modules in the album-based image upload device 555 of the memory 550 may include:
[0260] A first presentation module 5551 is configured to present an editing interface for editing a target album in the application client;
[0261] A second presentation module 5552 is configured to present at least one recommended image selected in a system album in response to an image selection instruction triggered based on the editing interface, wherein the recommended image matches the name or content of the target album;
[0262] A third presentation module 5553 is configured to present an upload interface for uploading the recommended image in response to a determination operation on the recommended image;
[0263] The image uploading module 5554 is configured to upload the recommended image to the target album in response to an image upload instruction triggered based on the upload interface.
[0264] In some embodiments, the first presentation module is further configured to present a creation function item for creating an album in the application client;
[0265] In response to a triggering operation on the creation function item, presenting an editing interface for editing the created target album;
[0266] The device further comprises:
[0267] An album name determination module, configured to present a text editing box in the editing interface;
[0268] In response to a text editing operation triggered based on the text editing box, the text content input based on the text editing box is presented, and the text content is used as the name of the target album.
[0269] In some embodiments, before presenting at least one recommended image in a selected state in the system album, the apparatus further comprises:
[0270] An instruction receiving module, configured to present an image selection function item in the editing interface, wherein the image selection function item is used to select an image in the system album;
[0271] In response to a triggering operation on the image selection function item, receiving the image selection instruction;
[0272] The second presentation module is further configured to present the recommended image in the system album that is in a selected state when there is a recommended image in the system album that matches the name of the target album.
[0273] In some embodiments, when there is no recommended image matching the name of the target album in the system album, before presenting at least one recommended image in a selected state in the system album, the apparatus further includes:
[0274] an album content determination module, configured to present at least one image option available for selection in the system album;
[0275] In response to a selection operation on a target option, controlling an image corresponding to the target option to be in a selected state, and using the image corresponding to the target option as content of the target album;
[0276] The second presentation module is further configured to present a recommended image in the system album that matches the image corresponding to the target option, and control the recommended image to be in a selected state.
[0277] In some embodiments, the second presentation module is further configured to present prompt information for prompting image selection;
[0278] In response to a triggering operation on the prompt information, at least one image option available for selection in the system album is presented.
[0279] In some embodiments, when the recommended image matches the name of the target album, before presenting at least one recommended image in a selected state in the system album, the apparatus further comprises:
[0280] A recommended image screening module is used to perform semantic analysis on the name of the target album to obtain a tag list corresponding to the name;
[0281] Based on the tag list, generating a filtering condition corresponding to the name, wherein the filtering condition is used to filter recommended images;
[0282] Based on the screening conditions, images in the system photo album are screened to obtain images that meet the screening conditions as the recommended images.
[0283] In some embodiments, the recommended image screening module is further configured to generate the screening condition by performing at least one of the following operations:
[0284] When the tag list includes a word indicating a geographic location, generating a geographic location screening condition based on the word;
[0285] When the tag list includes a word indicating time, generating a time filter condition based on the word;
[0286] When the tag list includes a segmentation for indicating an object name, obtaining an association relationship between the historical photo album and the object name, and generating a screening condition corresponding to the segmentation based on the association relationship;
[0287] When the part of speech of a segmented word in the tag list is a noun or an adjective, generating a corresponding filtering condition based on the segmented word;
[0288] When the part of speech of a segmentation in the tag list is a particle, the filtering conditions corresponding to the segmentations before and after the segmentation are obtained, and the filtering conditions corresponding to the segmentations before and after the segmentation are connected to generate the corresponding filtering conditions.
[0289] In some embodiments, the first presentation module is further configured to present a created target album in the application client, wherein the target album includes at least one existing image;
[0290] In response to a triggering operation on the target album, presenting an editing interface for editing the target album, the editing interface including an image adding function item for adding an image to the target album;
[0291] Before presenting at least one recommended image in a selected state in the system album, the instruction receiving module is further configured to receive the image selection instruction in response to a triggering operation for the image adding function item;
[0292] The second presentation module is further configured to use the existing image as the content of the target album, present a recommended image in the system album that matches the existing image, and control the recommended image to be in a selected state.
[0293] In some embodiments, the apparatus further comprises: a fourth presentation module, configured to present candidate images in an unselected state in the system album while presenting the recommended image;
[0294] After presenting at least one recommended image in a selected state in the system album, the apparatus further includes:
[0295] A display update module, configured to receive a selection operation for a target image among the candidate images;
[0296] In response to the selection operation, the target image is controlled to be in a selected state, and
[0297] The recommended images in the selected state in the system album are updated and displayed, so that an image that is compatible with the target image is included in the recommended images that are updated and displayed.
[0298] In some embodiments, the apparatus further comprises:
[0299] a fifth presentation module, configured to present the existing image in the system album that has been uploaded when the existing image exists in the system album;
[0300] The uploaded status is used to indicate that the existing images in the system album are already uploaded and cannot be uploaded to the target album again.
[0301] In some embodiments, before presenting at least one recommended image in a selected state in the system album, the recommended image screening module is further configured to:
[0302] Performing image recognition on the existing images respectively to obtain image features of each of the existing images, and performing image recognition on multiple candidate images in the system album respectively to obtain image features of each of the candidate images;
[0303] Associating and matching the image features of each of the existing images with the image features of each of the candidate images to obtain corresponding correlation degrees;
[0304] A candidate image whose relevance to the existing image exceeds a relevance threshold is selected as the recommended image.
[0305] In some embodiments, before presenting at least one recommended image in a selected state in the system album, the recommended image screening module is further configured to:
[0306] Loading existing filtering conditions corresponding to the target album, wherein the existing filtering conditions are used to filter recommended images;
[0307] Based on the existing filtering conditions, candidate images that meet the filtering conditions are filtered from the system album as the recommended images.
[0308] In some embodiments, after presenting at least one recommended image in a selected state in the system album, the display update module is further configured to generate a filtering condition corresponding to the target image in response to a selection operation on the target image in the system album;
[0309] Updating the filtering condition corresponding to the target image to the existing filtering condition;
[0310] Based on the updated existing filtering conditions, candidate images that meet the updated existing filtering conditions are filtered from the system album as the recommended images.
[0311] In some embodiments, before presenting the at least one recommended image in the selected state in the system album, the recommended image screening module is further configured to determine candidate images in the system album that are compatible with the name or content of the target album;
[0312] When there are multiple target images in the candidate images whose similarity values exceed a first similarity threshold, obtaining a phenotype score for each of the target images;
[0313] A target image whose phenotype score exceeds a target score and other images among the candidate images whose similarity values with the target image are lower than a second similarity threshold are determined as the recommended images.
[0314] In some embodiments, after presenting at least one recommended image in a selected state in the system album, the apparatus further comprises:
[0315] The image preview module is further used to present preview prompt information for the recommended image;
[0316] In response to a triggering operation on the preview prompt information, presenting a preview interface for previewing the recommended image;
[0317] Obtaining the storage time of each of the recommended images in the system album, and presenting, in the preview interface, image blocks corresponding to the time period of each storage time;
[0318] The image block includes at least one image display position for displaying the recommended image, and the image display position and the recommended image are in a one-to-one correspondence.
[0319] In some embodiments, the apparatus further comprises:
[0320] A preview jump module, configured to receive a selection operation for a target image block among the image blocks;
[0321] In response to the selection operation, recommended images within the time period corresponding to the target image block in the system album are presented.
[0322] In some embodiments, after uploading the recommended image to the target album, the apparatus further includes:
[0323] a sixth presentation module, configured to, when there are multiple recommended images, obtain the storage time of each recommended image in the system album, and display the uploaded recommended images in the target album in the order of storage time first and corresponding recommended images later; or
[0324] The shooting location or category corresponding to each of the recommended images is obtained, and the uploaded recommended images are displayed in the target album in a classified manner according to the shooting location or category.
[0325] In some embodiments, after uploading the recommended image to the target album, the apparatus further comprises:
[0326] A screening constraint updating module, configured to determine screening conditions for the target album based on the uploaded recommended images;
[0327] The filtering condition is used to filter images in the system album when uploading images to the target album again;
[0328] The filtering condition of the target album is updated to the additional attribute used to describe the target album.
[0329] The present invention provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the album-based image uploading method described in the present invention.
[0330] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the album-based image uploading method provided in the embodiment of the present application.
[0331] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.
[0332] In some embodiments, executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0333] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0334] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0335] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.
Claims
1. A method for uploading images based on an album, characterized in that: The method comprises: Presenting an editing interface for editing the target album in the application client; In response to an image selection instruction triggered based on the editing interface, at least one recommended image in a selected state in a system album is presented, the recommended image meeting a filtering condition; and preview prompt information for the recommended image is presented; wherein, when the target album is a newly created album, the filtering condition is generated by semantically analyzing the name of the target album; when the target album is an album that already contains at least one existing image, the filtering condition is generated based on the existing image; In response to a triggering operation on the preview prompt information, presenting a preview interface for the recommended image; the preview interface includes an image block, the image block corresponding to a time period during which the recommended image was stored in the system album; the image block includes at least one image display position for displaying a thumbnail of the recommended image, the image display position corresponding one-to-one to the recommended image; In response to a selection operation on a target image block, presenting recommended images within a time period corresponding to the target image block; In response to a determination operation on the recommended image, presenting an upload interface for uploading the recommended image; In response to an image upload instruction triggered based on the upload interface, uploading the recommended image to the target album; Based on the uploaded recommended image, the filtering conditions of the target album are updated to the additional attributes used to describe the target album, wherein, when the image is uploaded to the target album again, the filtering conditions in the additional attributes of the target album are automatically loaded to filter the images in the system album.
2. The method according to claim 1, wherein Presenting an editing interface for editing the target album in the application client includes: Presenting a creation function item for creating an album in the application client; In response to a triggering operation on the creation function item, presenting an editing interface for editing the created target album; The method further comprises: Presenting a text editing box in the editing interface; In response to a text editing operation triggered based on the text editing box, the text content input based on the text editing box is presented, and the text content is used as the name of the target album.
3. The method according to claim 2, wherein Before presenting at least one recommended image in a selected state in the system album, the method further includes: Presenting an image selection function item in the editing interface, the image selection function item is used to select an image in the system album; In response to a triggering operation on the image selection function item, receiving the image selection instruction; The presenting system includes: When there is a recommended image in the system album that matches the name of the target album, the recommended image in the system album that is in a selected state is presented.
4. The method according to claim 3, wherein When there is no recommended image matching the name of the target album in the system album, before presenting at least one recommended image in a selected state in the system album, the method further includes: Presenting at least one image option available for selection in the system photo album; In response to a selection operation on a target option, controlling an image corresponding to the target option to be in a selected state, and using the image corresponding to the target option as content of the target album; The presenting system includes: Present recommended images in the system album that are compatible with the image corresponding to the target option, and control the recommended images to be in a selected state.
5. The method according to claim 1, wherein When the recommended image matches the name of the target album, before presenting at least one recommended image in a selected state in the system album, the method further includes: Performing semantic analysis on the name of the target album to obtain a tag list corresponding to the name; Based on the tag list, generating a filtering condition corresponding to the name, wherein the filtering condition is used to filter recommended images; Based on the screening conditions, images in the system photo album are screened to obtain images that meet the screening conditions as the recommended images.
6. The method according to claim 5, wherein Generating the filtering condition corresponding to the name based on the tag list includes: The filtering condition is generated by performing at least one of the following operations: When the tag list includes a word indicating a geographic location, generating a geographic location screening condition based on the word; When the tag list includes a word indicating time, generating a time filter condition based on the word; When the tag list includes a segmentation for indicating an object name, obtaining an association relationship between the historical photo album and the object name, and generating a screening condition corresponding to the segmentation based on the association relationship; When the part of speech of a segmented word in the tag list is a noun or an adjective, generating a corresponding filtering condition based on the segmented word; When the part of speech of a segmentation in the tag list is a particle, the filtering conditions corresponding to the segmentations before and after the segmentation are obtained, and the filtering conditions corresponding to the segmentations before and after the segmentation are connected to generate the corresponding filtering conditions.
7. The method according to claim 1, wherein Presenting an editing interface for editing the target album in the application client includes: Presenting the created target album in the application client, where the target album includes at least one existing image; In response to a triggering operation on the target album, presenting an editing interface for editing the target album, the editing interface including an image adding function item for adding an image to the target album; Before presenting at least one recommended image in a selected state in the system album, the method further includes: In response to a triggering operation for the image adding function item, receiving the image selection instruction; The presenting system includes: The existing image is used as the content of the target album, a recommended image in the system album that is compatible with the existing image is presented, and the recommended image is controlled to be in a selected state.
8. The method according to claim 7, wherein The method further comprises: While presenting the recommended image, presenting the candidate images in the system album that are not selected; After presenting at least one recommended image in a selected state in the system album, the method further includes: receiving a selection operation for a target image among the candidate images; In response to the selection operation, the target image is controlled to be in a selected state, and The recommended images in the selected state in the system album are updated and displayed, so that an image that is compatible with the target image is included in the recommended images that are updated and displayed.
9. The method according to claim 7, wherein The method further comprises: When the existing image exists in the system album, presenting the existing image in the system album that is in an uploaded state; The uploaded status is used to indicate that the existing images in the system album are already uploaded and cannot be uploaded to the target album again.
10. The method according to claim 7, wherein: Before presenting at least one recommended image in a selected state in the system album, the method further includes: Performing image recognition on the existing images respectively to obtain image features of each of the existing images, and performing image recognition on multiple candidate images in the system album respectively to obtain image features of each of the candidate images; Associating and matching the image features of each of the existing images with the image features of each of the candidate images to obtain corresponding correlation degrees; A candidate image whose relevance to the existing image exceeds a relevance threshold is selected as the recommended image.
11. The method according to claim 10, wherein Before presenting at least one recommended image in a selected state in the system album, the method further includes: Loading existing filtering conditions corresponding to the target album, wherein the existing filtering conditions are used to filter recommended images; Based on the existing filtering conditions, candidate images that meet the existing filtering conditions are filtered from the system album as the recommended images.
12. The method according to claim 11, wherein After presenting at least one recommended image in a selected state in the system album, the method further includes: In response to a selection operation on a target image in the system album, generating a screening condition corresponding to the target image; Updating the filtering condition corresponding to the target image to the existing filtering condition; Based on the updated existing filtering conditions, candidate images that meet the updated existing filtering conditions are filtered from the system album as the recommended images.
13. The method according to claim 1, wherein Before presenting at least one recommended image in a selected state in the system album, the method further includes: Determining candidate images in the system album that match the name or content of the target album; When there are multiple target images in the candidate images whose similarity values exceed a first similarity threshold, obtaining a phenotype score for each of the target images; A target image whose phenotype score exceeds a target score and other images among the candidate images whose similarity values with the target image are lower than a second similarity threshold are determined as the recommended images.
14. The method according to claim 1, wherein After uploading the recommended image to the target album, the method further includes: When there are multiple recommended images, the uploaded recommended images are displayed in the target album in at least one of the following display methods: Obtaining the storage time of each recommended image in the system album, and displaying the uploaded recommended images in the target album in the order of storage time first and corresponding recommended images later; or The shooting location corresponding to each of the recommended images is obtained, and the uploaded recommended images are categorized and displayed in the target album according to the shooting locations.
15. The method according to claim 1, wherein The method further comprises: The filtering condition of the target album is updated to the additional attribute used to describe the target album.
16. An image uploading device based on an album, characterized in that: The device comprises: A first presentation module, configured to present an editing interface for editing a target album in the application client; a second presentation module, configured to present, in response to an image selection instruction triggered based on the editing interface, at least one recommended image in a selected state in a system album, the recommended image meeting a screening condition; wherein, when the target album is a newly created album, the screening condition is generated by semantically analyzing the name of the target album; and when the target album is an album that already contains at least one existing image, the screening condition is generated based on the existing image; an image preview module configured to present preview prompt information for the recommended image; in response to a triggering operation on the preview prompt information, present a preview interface for the recommended image; the preview interface including image blocks corresponding to a time period during which the recommended image was stored in the system album; the image blocks including at least one image display position for displaying a thumbnail of the recommended image, the image display position corresponding one-to-one to the recommended image; and in response to a selection operation on a target image block, presenting recommended images within the time period corresponding to the target image block; a third presentation module, configured to present an upload interface for uploading the recommended image in response to a determination operation on the recommended image; An image upload module is used to upload the recommended image to the target album in response to an image upload instruction triggered based on the upload interface; in the target album, the recommended images are classified and displayed according to the categories to which the recommended images belong; based on the uploaded recommended images, the filtering conditions of the target album are updated to the additional attributes used to describe the target album, wherein, when the updated filtering conditions are used for uploading images to the target album again, the filtering conditions in the additional attributes of the target album are automatically loaded to filter the images in the system album.
17. The device according to claim 16, characterized in that The first presentation module is further configured to: Presenting a creation function item for creating an album in the application client; In response to a triggering operation on the creation function item, presenting an editing interface for editing the created target album; The device further comprises: An album name determination module, configured to present a text editing box in the editing interface; In response to a text editing operation triggered based on the text editing box, the text content input based on the text editing box is presented, and the text content is used as the name of the target album.
18. The device according to claim 17, wherein The device further comprises: an instruction receiving module, configured to present an image selection function item in the editing interface, the image selection function item being used to select an image from the system album; and receiving the image selection instruction in response to a triggering operation on the image selection function item; The second presentation module is further configured to present the recommended image in the system album that is in a selected state when there is a recommended image in the system album that matches the name of the target album.
19. The device according to claim 18, wherein The device further comprises: an album content determination module, configured to present at least one image option available for selection in the system album; in response to a selection operation on a target option, control the image corresponding to the target option to be in a selected state, and use the image corresponding to the target option as the content of the target album; The second presentation module is further configured to present a recommended image in the system album that matches the image corresponding to the target option, and control the recommended image to be in a selected state.
20. An electronic device, characterized in that: include: a memory for storing executable instructions; The processor is configured to implement the album-based image uploading method according to any one of claims 1 to 15 when executing the executable instructions stored in the memory.
21. A computer-readable storage medium, characterized in that Executable instructions are stored for implementing the album-based image uploading method described in any one of claims 1 to 15 when executed by a processor.
22. A computer program product, characterized in that The computer program product includes computer instructions for implementing the album-based image uploading method according to any one of claims 1 to 15 when executed by a processor.
Citation Information
Patent Citations
Photo album managing method and photo album managing device
CN104750737A
Photo album creation method, device and electronic equipment
CN109150967A
Apparatus and method for processing a album in portable terminal
KR1020140105672A