CN109462624B - Network album sharing method and system - Google Patents
Network album sharing method and system Download PDFInfo
- Publication number
- CN109462624B CN109462624B CN201710794561.7A CN201710794561A CN109462624B CN 109462624 B CN109462624 B CN 109462624B CN 201710794561 A CN201710794561 A CN 201710794561A CN 109462624 B CN109462624 B CN 109462624B
- Authority
- CN
- China
- Prior art keywords
- user
- photo
- album
- shooting
- photo album
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a method and a system for sharing a network album, wherein the method comprises the following steps: s1, acquiring first shooting time information for each photo in the photo album uploaded by the first user to determine the shooting time range of the photo album uploaded by the first user, and/or acquiring first shooting address information for each photo in the photo album uploaded by the first user to determine the shooting address range of the photo album uploaded by the first user; s2, determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user; and S3, adding all the associated photos into the first user uploading photo album to obtain the first user sharing photo album. The method and the system for sharing the network album provided by the invention combine the photos shared by the friend users into one album, thereby improving the user experience.
Description
Technical Field
The invention relates to the technical field of internet application, in particular to a method and a system for sharing a network album.
Background
The Network album is a very core function of the current SNS (Social Network Services) mainstream in the world, and a user can perform a Network sharing operation by uploading a picture to the Network album.
In the prior art, a picture sharing method for a network album is provided in a public document CN201110120988.1, and the method includes receiving a picture sharing request of a network social circle user; the picture sharing request is used for requesting to share a first picture to a network album interface of a network social circle where the network social circle user is located; and mapping the server storage address of the first picture to a network album interface of the user in the network social circle and/or a network album interface of the network social circle in which the user in the network social circle is located.
However, the sharing method of the network album provided by the prior art only shares the photo album of a single user, and the user can only see the photos taken by the user in the shared network album, and if the user wants to view other photos related to the user, the user needs to view the photo albums shared by other users, the user experience is poor.
Disclosure of Invention
The present invention provides a method and system for sharing a web album that overcomes or at least partially solves the above-mentioned problems.
According to an aspect of the present invention, there is provided a method for sharing a web album, including:
s1, for each photo in the photo album uploaded by the first user, obtaining first shooting time information to determine the shooting time range of the photo album uploaded by the first user, and/or
For each photo in the photo album uploaded by the first user, acquiring first shooting address information to determine a shooting address range of the photo album uploaded by the first user;
s2, determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user;
and S3, adding all the associated photos into the first user uploading photo album to obtain the first user sharing photo album.
Wherein after step S1, the method further comprises:
and deleting the photos which are not in the shooting time range and the photos which are not in the shooting address range from the photo album uploaded by the first user based on the shooting time range and the shooting address range.
After step S3, the method further includes:
calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm;
and displaying each photo in the shared photo album of the first user from big to small according to the priority size of each photo in the shared photo album of the first user.
Wherein the calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm comprises:
acquiring portrait data of the first user;
calculating the first user portrait weight ratio of each photo in the shared photo album of the first user based on a preset face recognition algorithm and the portrait data of the first user;
and calculating the priority of each photo in the shared photo album of the first user based on the first user portrait weight ratio of each photo in the shared photo album of the first user.
Wherein the calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm further comprises:
acquiring historical clothing data and/or historical accessory data of the first user;
extracting color and shape characteristics of the historical clothing data and/or the historical accessory data;
calculating the feature similarity of each photo in the shared photo album of the first user based on the color and shape features;
and calculating the priority of each photo in the shared photo album of the first user based on the feature similarity.
Wherein, the step S1 further includes:
respectively acquiring the distribution situation of the shooting time of the photo album uploaded by the first user in a preset time interval and the distribution situation of the shooting address in a preset geographical interval based on the first shooting time information and the first shooting address information;
and taking the time interval with the shooting time distribution quantity exceeding a preset threshold value as the shooting time range of the photo album uploaded by the first user, and taking the address interval with the shooting address distribution quantity exceeding the preset threshold value as the shooting address range of the photo album uploaded by the first user.
Wherein, the step S2 further includes:
respectively acquiring second shooting time information and second shooting address information for each photo in each photo album uploaded by each other user;
and determining the photo with the second shooting time information in the shooting time range and the second shooting address information in the shooting address range as the associated photo.
According to a second aspect of the present invention, there is provided a sharing system of a network album, comprising:
the acquisition module is used for respectively acquiring first shooting time information and first shooting address information for each photo in the photo album uploaded by the first user;
the first determining module is used for respectively determining the shooting time range and the shooting address range of the photo album uploaded by the first user based on the first shooting time information and the first shooting address information;
the second determining module is used for determining a plurality of associated photos in the photo albums uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user;
and the sharing module is used for adding all the associated photos into the photo album uploaded by the first user so as to obtain the shared photo album of the first user.
According to a third aspect of the present invention, there is provided a computer program product comprising program code for executing the above-described method for sharing a network album.
According to a fourth aspect of the invention, there is provided a non-transitory computer readable storage medium storing the computer program as described above.
According to the sharing method and system of the network photo album, the photos shared among the friend users are combined into the photo album by analyzing the time characteristics and the geographic characteristics of the photos uploaded by the users, so that the users can enjoy the photos shot by themselves and the photos shot by the friends when browsing the photo album, and the user experience is improved.
Drawings
FIG. 1 is a flowchart of a method for sharing a network album according to an embodiment of the present invention;
fig. 2 is a structure diagram of a sharing system of a network album according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a flowchart of a method for sharing a network album according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
s1, for each photo in the photo album uploaded by the first user, obtaining first shooting time information to determine the shooting time range of the photo album uploaded by the first user, and/or
For each photo in the photo album uploaded by the first user, acquiring first shooting address information to determine a shooting address range of the photo album uploaded by the first user;
s2, determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user;
and S3, adding all the associated photos into the first user uploading photo album to obtain the first user sharing photo album.
The existing network photo album has too simple function, when a user wants to click and read photos uploaded by other people for the same event, the user needs to click and read photo albums of other people one by one for confirmation, and if the user wants to completely read all photo albums related to the same event, much time is wasted for searching and confirming whether the photo albums of other people are the same event. If a user wants to merge photos of others into the network photo album of the user, a request for sharing the photos needs to be sent to other users manually, and the network photo album cannot meet the actual requirements of the user.
In view of the above problems in the prior art, embodiments of the present invention provide a method for sharing a network album to meet the actual needs of users.
Specifically, in S1, the first user refers to any user in the server that has a function of sharing a network album, the album uploaded by the first user is the album to be shared and uploaded to the server by the user, it is understood that, in the process of taking a general photo, the time information of taking the photo and the geographic information of taking the photo are recorded, so that when the user uploads the photo to the server, the server reads the shooting time information and the shooting geographic information reserved by the photo so as to obtain the first shooting time information and the first shooting address information, wherein, the first shooting time information corresponds to each photo in the photo album uploaded by the first user, and similarly, the first shooting address information corresponds to each photo in the photo album uploaded by the first user, and is not specially made with certain shooting time information and certain shooting address information.
The photo album uploaded by the first user is obtained by counting and analyzing the photo time information of each photo in the photo album uploaded by the first user, and similarly, the photo album uploaded by the first user is obtained by counting and analyzing the photo address range of each photo in the photo album uploaded by the first user.
In S2, the other users are friend users associated with the first user, it may be understood that multiple users under the same server may be in a friend relationship or a stranger relationship, and if the determination is made on the album uploaded by the stranger user of the first user, the association between the photo meeting the condition and the first user is not high, and sharing is meaningless. And then, only the photo album uploaded to the friend user of the first user is determined, so that the workload of the server can be reduced, and redundant operation can be reduced.
Further, if photos in the photo album shared by the friends of the first user meet the condition, it can be considered that the photos and the first user do the same thing at the same time and at the same address, the probability of co-occurrence is very high, and the first user appears in the shared photos with a very high probability.
It should be noted that, since the uploaded photos may only contain the time information or the address information, the associated photos of the friend users can also be determined according to the time information and the address information, and the accuracy of the associated photos determined according to the time information or the address information alone is not as high as the accuracy of the associated photos determined simultaneously according to the time information and the address information alone.
It can be understood that the friend users of the first user may not be unique, and there may be more than one album shared by each friend user, so that the method provided by the embodiment of the present invention traverses each photo from each album shared by each friend user, thereby determining a plurality of associated photos, where the associated photos are a set of photos with a high association degree with the first user.
At S3, it is understood that the determined associated photos are added to the photo album uploaded by the original first user, and the newly obtained photo album belongs to the photo album finally shared by the first user.
According to the sharing method of the network photo album, the time characteristics and the geographic characteristics of the photos uploaded by the user are analyzed, and the photos shared by the friend users are combined into the photo album, so that the user can enjoy the photos shot by the user and the photos shot by the friend when browsing the photo album, and the user experience is improved.
On the basis of the above embodiment, after step S1, the method further includes:
and deleting the photos which are not in the shooting time range and the photos which are not in the shooting address range from the photo album uploaded by the first user based on the shooting time range and the shooting address range.
It is understood that some other photos that are not highly related may be included in the album uploaded by the user, and the method provided by the embodiment of the present invention deletes the photos that are not highly related in the album uploaded by the first user.
Generally, an album uploaded by a user is usually a single-address album, that is, all photos contained in the album fall within a certain address interval, and a shooting address range is selected according to a preset threshold value, so that photos not in the shooting address range are deleted.
Similarly, according to the preset threshold value, the user shooting time range is determined, so that the photos which are not in the shooting time range are deleted. It can be understood that, because the shooting geographical positions of two pictures with large difference in shooting time are difficult to be close, the time is required to be screened while the addresses are screened.
It should be noted that, for the scheme of acquiring only the shooting time range or only the shooting address range in step S1, the corresponding embodiment of the present invention will delete photos that are not within the shooting time range according to the acquired shooting time only.
Likewise, corresponding embodiments of the present invention will delete photographs that are not within the range of the shooting address based only on the acquired shooting address.
On the basis of the foregoing embodiment, after step S4, the method further includes:
calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm;
and displaying each photo in the shared photo album of the first user from big to small according to the priority size of each photo in the shared photo album of the first user.
It can be understood that, if the first user in the album shared by the first user wants to browse photos with higher relevance to the first user, how to reasonably sort the contents in the photos will further improve the user experience.
Generally, different users take different angles, a picture taken by a first user reflects the focus of attention of the first user, and pictures taken by other users reflect the focus of attention of other users. If the focus of the first user is different from that of other users, and the number of photos shared by other users is large, it takes time and labor for the first user to find the photos focused by the first user from the large number of shared photos from other users after the first user shares the photos with other users.
In order to solve the above problem, the embodiment of the present invention sets a priority for each photo in the album, and the photo with the higher priority will be preferentially displayed in the album.
It should be noted that the preset priority algorithm is an algorithm for calculating the association degree between the photo and the user, which is preset in the embodiment of the present invention, and the embodiment of the present invention can assign a priority to each photo in the album through the priority algorithm.
Specifically, the embodiment of the present invention provides two priority calculation methods, one is based on a face recognition technology, the priority of a photo is calculated by obtaining portrait data of a first user and then calculating a weight ratio of the portrait data in the photo, and the second method is based on a historical accessory or clothing feature of the first user, such as: clothes style, clothes color, shoes style, shoes color, hair, head gear, etc., and then searching similar features in the photos according to the features, thereby calculating the priority of the photos.
And sequencing each photo in the shared photo album of the first user from big to small according to the priority assignment result, so that the first user can preferentially see photos with higher association degree with the first user and background some other photos with low association degree.
Furthermore, in order to increase the sense of reality of the electronic photo, when the photo is displayed, the photo display can be processed according to the turning and viewing times and the photographing time of the photo, so that the network photo has the texture of the real photo, such as curling, yellowing, ageing and the like, and the user experience is improved.
For example: the server counts the browsing condition of photo photos in the shared photo album, mainly comprises the browsing times and the number of browsing users, calculates the heat of the photos according to the two parameters, the browsing times and the number of browsing users are more, the heat is higher, the photos with the heat higher than a certain preset threshold value are subjected to quasi-materialization operation, and the quasi-materialization operation comprises the following steps: curling, yellowing and distressing.
On the basis of the above embodiment, the calculating the priority of each photo in the shared album of the first user based on a preset priority algorithm includes:
acquiring portrait data of the first user;
calculating the first user portrait weight ratio of each photo in the shared photo album of the first user based on a preset face recognition algorithm and the portrait data of the first user;
and calculating the priority of each photo in the shared photo album of the first user based on the first user portrait weight ratio of each photo in the shared photo album of the first user.
It can be appreciated that the embodiment of the invention provides a method for calculating the priority of photos based on face recognition. Specifically, the server acquires portrait data of the first user in the first user registration or log-on record, and performs image processing on the portrait data, thereby acquiring image characteristics of the portrait data.
Further, based on a face recognition algorithm, calculating the first user portrait weight ratio of each photo in the shared photo album of the first user, and further calculating the priority of each photo in the shared photo album according to the first user portrait weight ratio of each photo.
It is understood that the higher the portrait weighting ratio of the first user, the higher the priority of the photos.
On the basis of the above embodiment, the calculating a priority of each photo in the shared album of the first user based on a preset priority algorithm further includes:
acquiring historical clothing data and/or historical accessory data of the first user;
extracting color and shape characteristics of the historical clothing data and/or the historical accessory data;
calculating the feature similarity of each photo in the shared photo album of the first user based on the color and shape features;
and calculating the priority of each photo in the shared photo album of the first user based on the feature similarity.
Specifically, the server acquires historical clothing data and/or historical accessory data in the historical photos of the first user from the photo album uploaded by the first user before, and further, the user can upload some common clothing data and accessory data to the server by himself to serve as the historical clothing data and/or the historical accessory data acquired by the server;
the embodiment of the invention carries out image processing on the acquired historical clothes data and/or historical accessory data, mainly extracts the color and shape characteristics of each piece of historical clothes data and historical accessory data, and records and stores the color and shape characteristics in the local server.
And calculating the feature similarity of each photo in the shared photo album of the first user based on the recorded and stored color and shape features, wherein the feature similarity is the feature difference between the color and shape features in each photo and the color and shape features stored locally in the server.
It is understood that the higher the calculated feature similarity, the higher the priority of the photos.
On the basis of the above embodiment, step S1 further includes:
respectively acquiring the distribution situation of the shooting time of the first user upload album in a preset time interval and the distribution situation of the shooting address in a preset geographical interval based on the first shooting time information and the first shooting address information;
and taking the time interval with the shooting time distribution quantity exceeding a preset threshold value as the shooting time range of the photo album uploaded by the first user, and taking the address interval with the shooting address distribution quantity exceeding the preset threshold value as the shooting address range of the photo album uploaded by the first user.
It should be noted that, in step S1, the distribution of the shooting time and the distribution of the shooting address for the first user to upload the album are obtained without a time sequence, but are obtained simultaneously and respectively based on two different pieces of information.
The preset time interval and the preset address interval are set segment intervals, for example: with 1 hour as a time interval, 1 interval is divided every 1 hour from the earliest photo, and the number of photos in the interval is counted.
Preferably, the user can input the time interval and the address interval by himself.
Then, according to the statistical information set, all photos in the photo album uploaded by the first user can be counted, and the distribution condition of the shooting time and the distribution condition of the shooting address of the photo album uploaded by the first user are obtained according to the statistical data.
And then, taking a time interval with the shooting time distribution quantity exceeding a preset threshold value as a shooting time range of the photo album uploaded by the first user, and taking an address interval with the shooting address distribution quantity exceeding the preset threshold value as a shooting address range of the photo album uploaded by the first user.
Generally, the preset threshold is set to 90%, that is, the number of photos in a certain time interval is 90% of the total number in the album, the distribution amount is determined to be large, and then the interval is determined as the shooting time range.
Similarly, the shooting address range can be determined according to the dividing method, namely the distribution amount is determined to be large when the number of photos in a certain address interval accounts for 90% of the total number in the album, and then the interval is determined as the shooting address range.
If the number of the photos in the preset time interval does not reach 90%, the user is judged that the uploaded photo album is the multi-time interval photo album, and the time shooting range of the photo album is not determined.
Similarly, if the number of the photos in the preset address interval does not reach 90%, the photo album uploaded by the user is judged to be a multi-address photo album, and the shooting address range of the photo album is not determined.
For the multi-time interval photo album and the multi-address photo album, the embodiment of the invention takes the earliest shooting time and the latest shooting time of all photos uploaded by a user as the time interval of the photo album, and takes the address range of all photos uploaded by the user as the shooting address range of the photo album.
It should be noted that, the above-mentioned solution provided by the embodiment of the present invention is only directed to obtaining the first shooting time information and the first shooting address information at the same time, and when only the first shooting time information is obtained or only the first shooting address information is obtained, the embodiment of the present invention will determine the shooting time range of the album according to only the first shooting time information or only the shooting address range of the album according to only the first shooting address information.
On the basis of the above embodiment, step S2 includes:
respectively acquiring second shooting time information and second shooting address information for each photo in each photo album uploaded by each other user;
and determining the photo with the second shooting time information in the shooting time range and the second shooting address information in the shooting address range as the associated photo.
It can be understood that each photo in all photo albums uploaded by each other user, that is, the friend user of the first user, needs to perform data acquisition, and respectively acquires the shooting time information and the shooting address information of each photo, that is, the second shooting time information and the second shooting address information.
Here, the second photographing time information and the second photographing address information are used to distinguish the above-mentioned first photographing time information and first photographing address information.
And judging the data of the second shooting time information and the second shooting address information according to the determined shooting time range and the determined shooting address range, wherein if the second shooting time information is in the shooting time range and the second shooting address information is in the shooting address range, the photo is an associated photo.
It should be noted that the photos that need to satisfy the condition that the second shooting time information is within the shooting time range and the second shooting address information is within the shooting address range at the same time can be taken as the associated photos, because the co-occurrence photos that satisfy the same time and the same address at the same time can be taken as the associated photos of the first user, and the association degree between the other photos and the first user is not too high, and is not considered.
It can be understood that the above-mentioned solution provided by the embodiment of the present invention is only directed to simultaneously acquiring the shooting time range and the shooting address range, and for acquiring only the shooting time range or only the shooting address range, the embodiment of the present invention will correspondingly acquire the second shooting time information or the second shooting address information.
Further, for the photo album only acquiring the shooting time range, the embodiment of the invention determines the associated photo meeting the condition only according to the second shooting time; wherein the second photographing time information is within the photographing time range when a condition is satisfied.
Further, for the photo album only acquiring the shooting address range, the embodiment of the invention determines the associated photo meeting the condition only according to the second shooting address; wherein the condition is satisfied that the second shooting address information is within the shooting address range.
In one embodiment, for each other user, a request to invoke a photo is sent separately to obtain permission to invoke a photo.
It can be understood that, for the first user or other users, the network album sharing involves a privacy protection process, so that, in the embodiment of the present invention, preferably, before calling the albums of other users, a request for calling photos is sent to each other user separately, and only if permission of other users is obtained, the photos shared by other users can be added to the network album of the first user.
Furthermore, the first user can also set the sharing authority of the network album, and if the user sets the uploaded album to be a private album in the uploading process, the sharing operation provided by the embodiment of the invention is not performed on the uploaded album.
Preferably, the first user may further set a private address in the server, and it is understood that the user does not want to share the private address, generally, the private address is a predetermined common address of the user, and the common address is an address of a user who frequently moves, for example, an address of a home, a work unit and other daily activities, which may be input by the user in advance, or may be obtained by analyzing a user's photo album, and if there are a large number of photo albums with the same address, the address is the common address of the user.
Furthermore, the server can also set a private address for the user, after any user uploads the photo to any network album, the server side checks the shooting place of the photo in the network album, if the shooting places of most photos are in a certain interval and the correlation between the shooting positions of the photos and the private address is not large, the network album is identified as the network album to be subjected to album sharing, and the address of the network album to be subjected to album sharing is the shooting position of the photo. If the shooting places of most of the photos are in a certain interval, but the correlation between the shooting positions of the photos and the private addresses is large, the photos are determined to be the network albums which the user does not want to share, therefore, the photos are not determined to be the network albums to be shared by the albums, and the method for sharing the albums provided by the embodiment of the invention is not executed.
Fig. 2 is a structure diagram of a sharing system of a network album according to an embodiment of the present invention, as shown in fig. 2, including: the device comprises an acquisition module 1, a determination module 2 and a sharing module 3, wherein:
the acquisition module 1 is used for acquiring first shooting time information for each photo in the photo album uploaded by the first user to determine a shooting time range of the photo album uploaded by the first user and/or determine a shooting time range of the photo album uploaded by the first user
For each photo in the photo album uploaded by the first user, acquiring first shooting address information to determine a shooting address range of the photo album uploaded by the first user;
the determining module 2 is configured to determine a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, where the other users are a plurality of friend users associated with the first user;
and the sharing module 3 is used for adding all the associated photos into the photo album uploaded by the first user so as to obtain the shared photo album of the first user.
Specifically, the obtaining module 1, the determining module 2 and the sharing module 3 are 3 functional modules of the server provided in the embodiment of the present invention, the acquisition module 1 acquires the shooting time information and the shooting address information of each photo in the photo album uploaded by the user, so as to determine the shooting time range and the shooting address range of the photo album uploaded by the first user, and send the shooting time range and the shooting address range to the determining module 2, the determining module 2 determines a plurality of associated photos in the photo album uploaded by the friend user of the first user, the determining method comprises the steps of detecting that the shooting time information and the shooting address information of the photos are not in the shooting time range and the shooting address range, and finally adding all the related photos into the photo album uploaded by the first user by the sharing module 3 to obtain the shared photo album of the first user.
According to the sharing system of the network photo album, the acquisition module analyzes the time characteristics and the geographic characteristics of the photos uploaded by the user, and the sharing module combines the photos shared by the friend users into the photo album, so that the user can enjoy the photos shot by the user when browsing the photo album, and can also enjoy the photos shot by the friend, and the user experience is improved.
The embodiment of the invention provides a sharing system of a network album, which comprises: at least one processor; and at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor calls the program instructions to perform the methods provided by the method embodiments, for example, including: s1, acquiring first shooting time information for each photo in the photo album uploaded by the first user to determine the shooting time range of the photo album uploaded by the first user, and/or acquiring first shooting address information for each photo in the photo album uploaded by the first user to determine the shooting address range of the photo album uploaded by the first user; s2, determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user; and S3, adding all the associated photos into the first user uploading photo album to obtain the first user sharing photo album.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: s1, acquiring first shooting time information for each photo in the photo album uploaded by the first user to determine the shooting time range of the photo album uploaded by the first user, and/or acquiring first shooting address information for each photo in the photo album uploaded by the first user to determine the shooting address range of the photo album uploaded by the first user; s2, determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user; and S3, adding all the associated photos into the first user uploading photo album to obtain the first user sharing photo album.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: s1, acquiring first shooting time information for each photo in the photo album uploaded by the first user to determine the shooting time range of the photo album uploaded by the first user, and/or acquiring first shooting address information for each photo in the photo album uploaded by the first user to determine the shooting address range of the photo album uploaded by the first user; s2, determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user; and S3, adding all the associated photos into the first user uploading photo album to obtain the first user sharing photo album.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
In the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "plurality" means two or more unless expressly limited otherwise.
Finally, the method of the present application is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A method for sharing a web album, comprising:
s1, for each photo in the photo album uploaded by the first user, obtaining first shooting time information to determine the shooting time range of the photo album uploaded by the first user, and/or
For each photo in the photo album uploaded by the first user, acquiring first shooting address information to determine a shooting address range of the photo album uploaded by the first user;
s2, determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user;
s3, adding all the related photos into the first user uploading photo album to obtain a first user sharing photo album;
after step S3, the method further includes:
calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm;
displaying each photo in the shared photo album of the first user from big to small according to the priority of each photo in the shared photo album of the first user;
the calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm comprises the following steps:
acquiring portrait data of the first user;
calculating the first user portrait weight ratio of each photo in the shared photo album of the first user based on a preset face recognition algorithm and the portrait data of the first user;
and calculating the priority of each photo in the shared photo album of the first user based on the first user portrait weight ratio of each photo in the shared photo album of the first user.
2. The method according to claim 1, wherein after step S1, the method further comprises:
and deleting the photos which are not in the shooting time range and the photos which are not in the shooting address range from the photo album uploaded by the first user based on the shooting time range and the shooting address range.
3. The method of claim 1, wherein the calculating the priority of each photo in the shared album of the first user based on a preset priority algorithm further comprises:
acquiring historical clothing data and/or historical accessory data of the first user;
extracting color and shape characteristics of the historical clothing data and/or the historical accessory data;
calculating the feature similarity of each photo in the shared photo album of the first user based on the color and shape features;
and calculating the priority of each photo in the shared photo album of the first user based on the feature similarity.
4. The method according to claim 1, wherein step S1 further comprises:
respectively acquiring the distribution situation of the shooting time of the photo album uploaded by the first user in a preset time interval and the distribution situation of the shooting address in a preset geographical interval based on the first shooting time information and the first shooting address information;
and taking the time interval with the shooting time distribution quantity exceeding a preset threshold value as the shooting time range of the photo album uploaded by the first user, and taking the address interval with the shooting address distribution quantity exceeding the preset threshold value as the shooting address range of the photo album uploaded by the first user.
5. The method according to claim 1, wherein step S2 further comprises:
respectively acquiring second shooting time information and second shooting address information for each photo in each photo album uploaded by each other user;
and determining the photo with the second shooting time information in the shooting time range and the second shooting address information in the shooting address range as the associated photo.
6. A sharing system of a network album, comprising:
the acquisition module is used for acquiring first shooting time information for each photo in the photo album uploaded by the first user so as to determine the shooting time range of the photo album uploaded by the first user and/or determine the shooting time range of the photo album uploaded by the first user
For each photo in the photo album uploaded by the first user, acquiring first shooting address information to determine a shooting address range of the photo album uploaded by the first user;
the determining module is used for determining a plurality of associated photos in an album uploaded by other users based on the shooting time range and/or the shooting address range, wherein the other users are a plurality of friend users associated with the first user;
the sharing module is used for adding all the associated photos into the photo album uploaded by the first user to obtain a shared photo album of the first user; calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm; displaying each photo in the shared photo album of the first user from big to small according to the priority of each photo in the shared photo album of the first user; the calculating the priority of each photo in the shared photo album of the first user based on a preset priority algorithm comprises the following steps: acquiring portrait data of the first user; calculating the first user portrait weight ratio of each photo in the shared photo album of the first user based on a preset face recognition algorithm and the portrait data of the first user; and calculating the priority of each photo in the shared photo album of the first user based on the first user portrait weight ratio of each photo in the shared photo album of the first user.
7. A computer program product, characterized in that the computer program product comprises a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to carry out the method according to any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710794561.7A CN109462624B (en) | 2017-09-06 | 2017-09-06 | Network album sharing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710794561.7A CN109462624B (en) | 2017-09-06 | 2017-09-06 | Network album sharing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109462624A CN109462624A (en) | 2019-03-12 |
CN109462624B true CN109462624B (en) | 2021-05-25 |
Family
ID=65605894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710794561.7A Active CN109462624B (en) | 2017-09-06 | 2017-09-06 | Network album sharing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109462624B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1480404A2 (en) * | 2003-05-19 | 2004-11-24 | Advance Fibre Communication, Inc. | Apparatus and method that provides a primary server and a backup server that both support a radius client and share an IP address |
CN102571726A (en) * | 2010-12-23 | 2012-07-11 | 中国移动通信集团广东有限公司 | Multimedia data sharing method, system and state judgment server |
CN102780721A (en) * | 2011-05-11 | 2012-11-14 | 腾讯科技(深圳)有限公司 | Picture sharing method and picture sharing device for network albums |
CN105007300A (en) * | 2015-06-02 | 2015-10-28 | 武汉诺诗网络科技有限公司 | Apparatus and method for sharing collective photograph album based on regionalism |
CN105005597A (en) * | 2015-06-30 | 2015-10-28 | 广东欧珀移动通信有限公司 | Photograph sharing method and mobile terminal |
CN105354308A (en) * | 2015-11-09 | 2016-02-24 | 惠州Tcl移动通信有限公司 | Photo preview processing method and system for mobile terminal |
CN105391807A (en) * | 2015-12-23 | 2016-03-09 | 北京奇虎科技有限公司 | Photo album reminding function realization method and apparatus based on positioning system |
-
2017
- 2017-09-06 CN CN201710794561.7A patent/CN109462624B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1480404A2 (en) * | 2003-05-19 | 2004-11-24 | Advance Fibre Communication, Inc. | Apparatus and method that provides a primary server and a backup server that both support a radius client and share an IP address |
CN102571726A (en) * | 2010-12-23 | 2012-07-11 | 中国移动通信集团广东有限公司 | Multimedia data sharing method, system and state judgment server |
CN102780721A (en) * | 2011-05-11 | 2012-11-14 | 腾讯科技(深圳)有限公司 | Picture sharing method and picture sharing device for network albums |
CN105007300A (en) * | 2015-06-02 | 2015-10-28 | 武汉诺诗网络科技有限公司 | Apparatus and method for sharing collective photograph album based on regionalism |
CN105005597A (en) * | 2015-06-30 | 2015-10-28 | 广东欧珀移动通信有限公司 | Photograph sharing method and mobile terminal |
CN105354308A (en) * | 2015-11-09 | 2016-02-24 | 惠州Tcl移动通信有限公司 | Photo preview processing method and system for mobile terminal |
CN105391807A (en) * | 2015-12-23 | 2016-03-09 | 北京奇虎科技有限公司 | Photo album reminding function realization method and apparatus based on positioning system |
Also Published As
Publication number | Publication date |
---|---|
CN109462624A (en) | 2019-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7091504B2 (en) | Methods and devices for minimizing false positives in face recognition applications | |
US11651619B2 (en) | Private photo sharing system, method and network | |
US10043059B2 (en) | Assisted photo-tagging with facial recognition models | |
US9367757B2 (en) | Content extracting device, content extracting method and program | |
US9098584B1 (en) | Image search privacy protection techniques | |
KR101879619B1 (en) | Storing content items | |
US8774452B2 (en) | Preferred images from captured video sequence | |
CN103797493B (en) | For sharing the smart camera of picture automatically | |
US9521211B2 (en) | Content processing device, content processing method, computer-readable recording medium, and integrated circuit | |
US20130156274A1 (en) | Using photograph to initiate and perform action | |
KR20130139338A (en) | Facial recognition | |
US20130250131A1 (en) | Image evaluating device, image evaluating method, image evaluating system, and program | |
US9202131B2 (en) | Information processing apparatus, information processing method, computer program, and image display apparatus | |
JP5532180B1 (en) | Image processing apparatus and program | |
CN109462624B (en) | Network album sharing method and system | |
JP2014182650A (en) | Image sharing device, method for controlling image sharing device and program | |
CN109510752B (en) | Information display method and device | |
US20240282108A1 (en) | Method for operating an electronic device to browse a collection of images | |
KR20140075903A (en) | Categorization method of social network service archieve | |
WO2019021216A1 (en) | System and method for distributing media |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |