[go: up one dir, main page]

CN108537057A - Method and apparatus for handling photograph album browse request - Google Patents

Method and apparatus for handling photograph album browse request Download PDF

Info

Publication number
CN108537057A
CN108537057A CN201810258899.5A CN201810258899A CN108537057A CN 108537057 A CN108537057 A CN 108537057A CN 201810258899 A CN201810258899 A CN 201810258899A CN 108537057 A CN108537057 A CN 108537057A
Authority
CN
China
Prior art keywords
photograph
user
target user
mentioned
identity information
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.)
Pending
Application number
CN201810258899.5A
Other languages
Chinese (zh)
Inventor
孙颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810258899.5A priority Critical patent/CN108537057A/en
Publication of CN108537057A publication Critical patent/CN108537057A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus for handling photograph album browse request.One specific implementation mode of this method includes:In response to detecting photograph album browse request, the facial image of the target user of request Album for glancing over pictures is obtained;The facial image of target user is identified, determines the identity information of target user;The browsable photograph set of target user is determined according to the identity information of target user and preset photograph album permissions list, wherein, preset photograph album permissions list includes the correspondence between the identity information of registered users and the browsable photograph set of registered users.The embodiment is realizing the flexibility for improving equipment on the basis of the protection of user information and using.

Description

Method and apparatus for handling photograph album browse request
Technical field
The invention relates to field of computer technology, and in particular to the method for handling photograph album browse request and dress It sets.
Background technology
With the development of Internet technology, face recognition technology has been applied to more and more fields.For example, can pass through Recognition of face unlocks terminal device or logs in using account etc..When user carries out the photograph album in other people user terminal When checking, all photographs in photograph album are usually may browse through.If the holder of the user terminal to certain photographs in photograph album into Row encryption, user usually require to check encrypted photograph by inputting password.
Invention content
The embodiment of the present application proposes the method and apparatus for handling photograph album browse request.
In a first aspect, the embodiment of the present application provides a kind of method for handling photograph album browse request, including:In response to It detects photograph album browse request, obtains the facial image of the target user of request Album for glancing over pictures;To the facial image of target user It is identified, determines the identity information of target user;According to the identity information of target user and preset photograph album permissions list Determine the browsable photograph set of target user, wherein preset photograph album permissions list includes the identity information of registered users With the correspondence between the browsable photograph set of registered users.
In some embodiments, this method further includes:Obtain the note corresponding to registered face image and registered face image The identity information of volume user;It is retrieved as the browsable photograph set of registration user configuration;According to the identity information of registration user Correspondence between the registration browsable photograph set of user builds photograph album permissions list.
In some embodiments, this method further includes:The browsable photograph set of target user is presented.
In some embodiments, this method further includes:In response to detecting that target user asks the processing of photograph, according to Preset photograph processing authority list determines the photograph processing operation that target user can perform, wherein preset photograph disposal right Limit the correspondence between the identity information that list includes registered users and the photograph processing operation that registered users can perform; The operate interface for the photograph processing operation that target user can perform is provided.
In some embodiments, this method further includes:According to the identity information of target user determine target user whether be Pre-set user;It is pre-set user in response to determining target user not, the operation information generation of photograph is carried according to target user Show information, to push prompt message on a preset condition based.
In some embodiments, preset condition includes:Detect that the facial image of acquisition is the facial image of pre-set user; Or detect that pre-set user sends out photograph album browse request.
Second aspect, the embodiment of the present application provide a kind of device for handling photograph album browse request, including:It obtains single Member, in response to detecting photograph album browse request, obtaining the facial image of the target user of request Album for glancing over pictures;Identification is single Member is identified for the facial image to target user, determines the identity information of target user;Determination unit is used for basis The identity information of target user and preset photograph album permissions list determine the browsable photograph set of target user, wherein pre- If photograph album permissions list include pair between the identity information of registered users and the browsable photograph set of registered users It should be related to.
In some embodiments, which further includes construction unit, and construction unit is used for:Obtain registered face image and note The identity information of registration user corresponding to volume facial image;It is retrieved as the browsable photograph set of registration user configuration;Root Photograph album permissions list is built according to the correspondence between the identity information and the registration browsable photograph set of user of registration user.
In some embodiments, which further includes display unit, and display unit is used for:It is browsable that target user is presented Photograph set.
In some embodiments, which further includes processing unit, and processing unit is used for:In response to detecting target user Processing request to photograph, the photograph processing operation that target user can perform is determined according to preset photograph processing authority list, Wherein, preset photograph processing authority list includes at the photograph that can perform of identity information and registered users of registered users Correspondence between reason operation;The operate interface for the photograph processing operation that target user can perform is provided.
In some embodiments, which further includes push unit, and push unit is used for:Believed according to the identity of target user Breath determines whether target user is pre-set user;It is pre-set user in response to determining target user not, according to target user couple The operation information of photograph generates prompt message, to push prompt message on a preset condition based.
In some embodiments, preset condition includes:Detect that the facial image of acquisition is the facial image of pre-set user; Or detect that pre-set user sends out photograph album browse request.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including:One or more processors;Storage dress It sets, for storing one or more programs, when one or more programs are executed by one or more processors so that one or more A processor realizes the method such as any embodiment in the method for handling photograph album browse request.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method such as any embodiment in the method for handling photograph album browse request is realized when program is executed by processor.
Method and apparatus provided by the embodiments of the present application for handling photograph album browse request, by response to detecting phase Volume browse request obtains the facial image of the target user of request Album for glancing over pictures;Then to the facial image of above-mentioned target user It is identified with the identity information of the above-mentioned target user of determination;Finally according to the identity information of above-mentioned target user and preset Photograph album permissions list determines the browsable photograph set of above-mentioned target user, wherein above-mentioned preset photograph album permissions list includes Correspondence between the browsable photograph set of identity information and registered users of registered users.To be effectively utilized The facial image of the user of Album for glancing over pictures is asked to determine that the browsable photograph set of above-mentioned target user, this mode are realizing The flexibility that equipment uses is improved on the basis of the protection of user information.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the method for handling photograph album browse request of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for handling photograph album browse request of the application;
Fig. 4 is the flow chart according to another embodiment of the method for handling photograph album browse request of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for handling photograph album browse request of the application;
Fig. 6 is adapted for the structural schematic diagram of the computer system of the electronic equipment for realizing the embodiment of the present application.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the method for being used to handle photograph album browse request that can apply the application or for handling photograph album browsing The exemplary system architecture 100 of the embodiment of the device of request.
As shown in Figure 1, system architecture 100 may include user terminal 101,102, network 103 and server 104.Its In, network 103 between user terminal 101,102 and server 104 provide communication link medium.Network 103 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 103 with server 104 using user terminal 101,102, be disappeared with sending or receiving Breath etc..
User terminal 101,102 can be in response to detecting photograph album browse request, and the target for obtaining request Album for glancing over pictures is used The facial image at family;Later, the facial image of above-mentioned target user can be identified, determines the identity of above-mentioned target user Information;Later, it can determine that above-mentioned target is used according to the identity information and preset photograph album permissions list of above-mentioned target user The browsable photograph set in family;Finally, the browsable photograph set of above-mentioned target user can be presented in user terminal 101,102.
User terminal 101,102 can be hardware, can also be software.It, can be with when user terminal 101,102 is hardware It is the various electronic equipments that there is camera and support information exchange, including but not limited to smart mobile phone, tablet computer, electronics Book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert Compression standard audio level 3), (Moving Picture Experts Group Audio Layer IV, dynamic image are special by MP4 Family's compression standard audio level 4) player, pocket computer on knee and desktop computer etc..When user terminal 101,102 For software when, may be mounted in above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into it, also may be used To be implemented as single software or software module.It is not specifically limited herein.
Server 104 can be the server handled photograph album browse request, for example, to user terminal 1011, The facial image identification server that the facial image of the target user of the 1012 request Album for glancing over pictures sent is identified.Face figure As identifying the processing such as server can carry out identification to the facial image of target user, browsable photograph set determines, And handling result (such as the browsable photograph set of target user) is fed back into user terminal.
It should be noted that the method for handling photograph album browse request that the embodiment of the present application is provided can be by user Terminal 101,102 executes, and correspondingly, the device for handling photograph album browse request can be set in user terminal 101,102.
It should be pointed out that user terminal 101,102 can also carry out identity in local to the facial image of target user The browsable photograph set of target user is identified and determines, at this point, server 104 can be not present in exemplary system architecture 100 With network 103.
It should also be noted that, the method for handling photograph album browse request that the embodiment of the present application is provided can also be by Server 104 executes, and correspondingly, the device for handling photograph album browse request can be set in server 104.
It should be noted that server, client can be hardware, can also be software.When server, client are hard When part, the distributed apparatus cluster of multiple equipment composition may be implemented into, individual equipment can also be implemented as.As server, visitor When family end is software, multiple softwares or software module may be implemented into (such as providing multiple software moulds of Distributed Services Block), single software or software module can also be implemented as.It is not specifically limited herein.
It should be understood that the number of the user terminal, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of user terminal, network and server.
With continued reference to Fig. 2, one embodiment of the method for handling photograph album browse request according to the application is shown Flow 200.The method for being used to handle photograph album browse request, includes the following steps:
Step 201, in response to detecting photograph album browse request, the face figure of the target user of request Album for glancing over pictures is obtained Picture.
In the present embodiment, (such as user shown in FIG. 1 is whole for the executive agent of the method for handling photograph album browse request End) it can detect whether to receive the photograph album browse request of user, however, it is determined that the photograph album browse request for receiving user can obtain Take the facial image of the target user of request Album for glancing over pictures.The facial image of above-mentioned target user is typically the figure for including face Picture, for example, the image comprising front face or side face.As an example, if user clicks what above-mentioned executive agent was presented Icon for characterizing photograph album, above-mentioned executive agent can detect the photograph album browse request of above-mentioned user.At this moment, above-mentioned execution Main body can ask electronic equipment to open camera, acquire the facial image of target user;Or to the people for collecting target user The electronic equipment of face image sends out image and obtains request, to obtain the facial image of target user.
Step 202, the facial image of target user is identified, determines the identity information of target user.
In the present embodiment, above-mentioned executive agent can to the facial image of the target user got in step 201 into Row identification, to determine the identity information of target user.The Face datection skill based on template matches may be used in above-mentioned executive agent The facial image of target user is identified in art, and recognition methods may include steps of:It is extracted from database first Chartered facial image template or facial image feature templates, later according to preset template matches strategy to target user's Facial image is matched with chartered facial image template, or to the feature of the facial image of target user with The facial image feature templates of registration are matched, and determine the highest facial image template of matching degree or facial image feature templates Corresponding identity information is the identity information of target user.Optionally, face recognition result can also include facial size and people Face location information etc..Above-mentioned executive agent can be in the face recognition result pre-established pass corresponding with the identity information of user It is the identity information of the target user corresponding to the face recognition result searching and identify in table.
In the present embodiment, identity information can include but is not limited to the holder of address name, user and user terminal Between relation information (for example, holder himself, the parent of holder, stranger etc.) and Customs Assigned Number etc..Herein, Identity information can also include user gradation, for example, primary user, secondary user, three-level user, level Four user etc..It can incite somebody to action Holder himself is set as primary user, and primary user usually has the browse right to all photographs in photograph album;It can be by footpath between fields Stranger is set as level Four user, and level Four user does not have the browse right to photograph in photograph album usually;Secondary user and three-level are used Family is usually that holder himself's (primary user) is identified the user marked off, for example, can be by the parent of holder It is set as secondary user, sets the friend of holder to three-level user etc..
It should be noted that when above-mentioned executive agent is user terminal, it can be by means of server to above-mentioned target user Facial image be identified to obtain the identity information of above-mentioned target user.Specifically, above-mentioned executive agent can be by above-mentioned mesh The facial image of mark user is sent to destination server, and then destination server may be used trained based on deep learning algorithm To the modes such as human face recognition model the facial image of above-mentioned target user is identified, and will identify that above-mentioned target user Identity information feed back to above-mentioned executive agent.
Step 203, determine that target user can be clear according to the identity information of target user and preset photograph album permissions list The photograph set look at.
In the present embodiment, the identity information and preset photograph album permission that above-mentioned executive agent can be according to target user List determines the browsable photograph set of above-mentioned target user.Above-mentioned preset photograph album permissions list may include registered users Identity information and the browsable photograph set of registered users between correspondence.Above-mentioned executive agent can be preset The photograph mark of the browsable photograph of target user corresponding with the identity information of target user is found in photograph album permissions list Know set, photograph mark may include photograph number, photograph shooting time, photograph title etc.;Photograph mark can be passed through later Set search is known to the browsable photograph set of user.
As an example, if the identity information of target user is holder himself, above-mentioned executive agent can be according to preset Photograph album permissions list determines that the browsable photo album of the target user is combined into all photographs in photograph album.If the body of target user Part information is stranger, and above-mentioned executive agent can determine that the target user is browsable according to preset photograph album permissions list Photo album is combined into sky, i.e. the target user does not have the browse right to photograph in photograph album.
It should be noted that when above-mentioned executive agent is user terminal, it can determine that target user can by means of server The photograph set of browsing.Specifically, the identity information of above-mentioned target user can be sent to destination service by above-mentioned executive agent Device, then destination server can determine above-mentioned mesh according to the identity information and preset photograph album permissions list of above-mentioned target user The browsable photograph set of user is marked, and the browsable photograph set of the above-mentioned target user determined is fed back into above-mentioned execution Main body.
The method that above-described embodiment of the application provides asks the facial image of the user of Album for glancing over pictures to determine by identification The above-mentioned browsable photograph set of target user, this mode improve equipment on the basis of realizing the protection of user information The flexibility used.
In some optional realization methods of the present embodiment, if above-mentioned executive agent is user terminal, user is using During above-mentioned executive agent carries out face registration, above-mentioned executive agent can obtain active user's (the registration use taken Family) registered face image and obtain the identity letter of the registration user corresponding to above-mentioned registered face image input by user Breath, for example, name is " Zhang San ", relationship is " younger brother ", user gradation is " secondary user " etc..Later, it is retrieved as above-mentioned registration The browsable photograph set that user is configured, for example, equipment holder can be chosen in the photograph album priority assignation page it is above-mentioned The browsable photograph set of user is registered, or chooses the above-mentioned not browsable photograph set of registration user.Finally, above-mentioned execution Main body can be according to the corresponding pass between the identity information and the browsable photograph set of above-mentioned registration user of above-mentioned registration user System builds above-mentioned photograph album permissions list.If above-mentioned executive agent is server, user is carrying out face registration using user terminal During, user terminal can be utilized to send registration request to above-mentioned executive agent.Later, user terminal can be shot currently The registered face image of user (registration user), receives the above-mentioned identity information for registering user input by user and as above-mentioned registration The browsable photograph set that user is configured.Then, above-mentioned executive agent can obtain the note that above-mentioned user terminal takes Volume facial image, obtains the identity information for registering user corresponding to above-mentioned registered face image and as above-mentioned registration user institute The browsable photograph set of configuration.Finally, above-mentioned executive agent can according to the above-mentioned identity information for registering user with to be upper The correspondence stated between the browsable photograph set that registration user is configured builds above-mentioned photograph album permissions list.
In some optional realization methods of the present embodiment, when above-mentioned executive agent is user terminal, it can present State the browsable photograph set of target user.Optionally, if above-mentioned executive agent be server, service implement body can pass through to User terminal sends the logo collection of the browsable photograph of above-mentioned target user, and user terminal is to the logo collection that receives later Indicated photograph is presented.
It is the application scenarios according to the method for handling photograph album browse request of the present embodiment with continued reference to Fig. 3, Fig. 3 One schematic diagram.In the application scenarios of Fig. 3, if user to " photograph album " icon (as shown in label 301) for being shown on mobile phone into Clicking operation is gone, the executive agent (such as above-mentioned mobile phone) of the method for handling photograph album browse request detects that photograph album browses Request then gets the facial image of the above-mentioned user of request Album for glancing over pictures (as shown in label 302).It later, can be to upper The facial image for stating user is identified, and determines that the identity information (as shown in label 303) of above-mentioned user is " elder brother ".Finally, The browsable photograph set of above-mentioned user can be determined according to the identity information and preset photograph album permissions list of above-mentioned user (as shown in label 304).It should be noted that the icon for characterizing photograph album application indicated by label 301,302 institute of label The facial image of instruction and the browsable photograph set of user indicated by label 304 are only to illustrate.
With further reference to Fig. 4, it illustrates the flows of another embodiment of the method for handling photograph album browse request 400.This is used to handle the flow 400 of the method for photograph album browse request, includes the following steps:
Step 401, in response to detecting photograph album browse request, the face figure of the target user of request Album for glancing over pictures is obtained Picture.
Step 402, the facial image of target user is identified, determines the identity information of target user.
Step 403, determine that target user can be clear according to the identity information of target user and preset photograph album permissions list The photograph set look at.
In the present embodiment, step 401, step 402, step 403 operation respectively with step 201 in previous embodiment, Step 202, the operation of step 203 are essentially identical, and details are not described herein.
Step 404, it in response to detecting that target user asks the processing of photograph, is arranged according to preset photograph processing authority Table determines the photograph processing operation that target user can perform.
In the present embodiment, (such as user shown in FIG. 1 is whole for the executive agent of the method for handling photograph album browse request End) it can detect whether that receiving above-mentioned target user asks the processing of the photograph showed, uses if receiving above-mentioned target The processing of the photograph showed is asked at family, can determine that above-mentioned target user can hold according to preset photograph processing authority list Capable photograph processing operation.If as an example, user has carried out clicking operation to the photograph showed, above-mentioned executive agent can be with Detect that above-mentioned target user asks the processing for the photograph clicked.
In the present embodiment, above-mentioned preset photograph processing authority list may include registered users identity information with Correspondence between the executable photograph processing operation of registered users.Photograph processing operation may include the deletion to photograph Operation shares behaviour to the edit operation (for example, the light efficiency etc. for adding word in photograph, adjusting photograph) of photograph with to photograph Make (for example, photograph is shared with to the good friend in social class application) etc..Above-mentioned executive agent can be directed to user's request and handle Photograph, it is executable in above-mentioned photograph processing authority list by the identity information of target user to find above-mentioned target user Photograph processing operation.
As an example, if user has carried out clicking operation to the photograph showed, above-mentioned executive agent can be according to default Photograph processing authority list determine that above-mentioned target user has the deletion permission of photograph to being clicked and shares permission, no With the editing authority to the photograph.
Step 405, the operate interface for the photograph processing operation that target user can perform is provided.
In the present embodiment, after determining the photograph processing operation that above-mentioned target user can perform in step 404, on The operate interface for the photograph processing operation that above-mentioned target user can perform can be provided by stating executive agent.Aforesaid operations interface can be with To be combined to be formed by by the factors such as icon, menu and word, aforesaid operations interface for receive the instruction of user with Realize corresponding photograph processing operation.As an example, above-mentioned executive agent can show icon for deleting photograph, for compiling The icon and the icon for sharing photograph, target user for collecting photograph can be by clicking icon to execute corresponding phase Piece processing operation.
In some optional realization methods of the present embodiment, above-mentioned executive agent can be according to the body of above-mentioned target user Part information determines whether above-mentioned target user is pre-set user, and pre-set user is usually holder himself.If as an example, above-mentioned The name of pre-set user is " Xiao Ming ", then whether above-mentioned executive agent can be " small by the name of the above-mentioned target user of determination It is bright " with the above-mentioned target user of determination whether it is pre-set user;Above-mentioned executive agent can also pass through the above-mentioned target user's of determination Grade whether be " primary user " or above-mentioned target user whether be " holder himself " with the above-mentioned target user of determination whether For pre-set user.If it is determined that above-mentioned target user is not pre-set user, above-mentioned executive agent can be according to above-mentioned target user Prompt message is generated to the operation information of above-mentioned photograph, to push above-mentioned prompt message on a preset condition based.I.e. if it is determined that mesh Mark user is not the holder himself of user terminal, and above-mentioned executive agent can record target user for performed by above-mentioned photograph Photograph processing operation, and generate target user operation information.Aforesaid operations information may include the photograph of above-mentioned photograph Mark, action name, operating time, operation duration.If target user performs photograph sharing operation for above-mentioned photograph, above-mentioned Operation information can also include the application identities of the social class application utilized during sharing photograph, receive the photograph Good friend's title of good friend etc..Above-mentioned prompt message may include the content in aforesaid operations information, for example, the photograph of above-mentioned photograph Mark, action name, operating time, operation duration etc., in addition to this, above-mentioned prompt message usually can also include target user Identity information and above-mentioned target user facial image etc..
Herein, above-mentioned executive agent pushes above-mentioned prompt message and may include on a preset condition based:If target user's needle Delete operation is performed to above-mentioned photograph, above-mentioned executive agent can detected to deleting being pushed when checking request for photograph State prompt message;If target user performs sharing operation for above-mentioned photograph, above-mentioned executive agent can detect it is default User to share utilized social class application data acquisition request when push above-mentioned prompt message;If target user is for upper It states photograph and performs edit operation, above-mentioned executive agent can push above-mentioned when detecting the browse request for above-mentioned photograph Prompt message.
In some optional realization methods of the present embodiment, above-mentioned preset condition may include detecting the face of acquisition Image is the facial image of above-mentioned pre-set user, i.e., above-mentioned executive agent can be holder in the facial image for detecting acquisition Above-mentioned prompt message is pushed under the scene of my facial image.As an example, if above-mentioned executive agent detects user terminal Holder himself unlocks user terminal using face, and above-mentioned prompt message can be pushed to user terminal to prompt the above-mentioned mesh of user Mark the operation information that user is directed to above-mentioned photograph.Above-mentioned preset condition may include that detect that above-mentioned pre-set user sends out photograph album clear Look at request, i.e., above-mentioned executive agent can be pushed away in the case where detecting the scene for receiving the photograph album browse request that holder himself sends out It serves and states prompt message.As an example, if above-mentioned holder himself clicks photo album icon, above-mentioned executive agent can be presented State prompt message.
Figure 4, it is seen that compared with the corresponding embodiments of Fig. 2, being asked for handling photograph album browsing in the present embodiment The flow 400 for the method asked is increased in response to detecting that target user asks the processing of photograph, at preset photograph Reason permissions list determines the step 404 for the photograph processing operation that target user can perform and provides target user's photograph that can perform The step of step 405 of the operate interface of processing operation.The scheme of the present embodiment description can be according to user to photograph as a result, Processing operation limit power provides corresponding operate interface, so as to further provide for the protection to user information.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for handling phase One embodiment of the device of volume browse request, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, device tool Body can be applied in various electronic equipments.
As shown in figure 5, the device 500 for handling photograph album browse request of the present embodiment includes:Acquiring unit 501 is known Other unit 502 and determination unit 503.Wherein, acquiring unit 501 is used to, in response to detecting photograph album browse request, obtain request The facial image of the target user of Album for glancing over pictures;Recognition unit 502 is determined for the facial image of target user to be identified The identity information of target user;Determination unit 503 is used to be arranged according to the identity information of target user and preset photograph album permission Table determines the browsable photograph set of target user, wherein preset photograph album permissions list includes the identity letter of registered users Correspondence between breath and the browsable photograph set of registered users.
In some optional realization methods of the present embodiment, the above-mentioned device 500 for handling photograph album browse request is also It may include construction unit (not shown).If the above-mentioned device 500 for handling photograph album browse request is user terminal, use During executive agent progress face registration is stated at family in use, above-mentioned construction unit can obtain the active user taken The registered face image of (registration user) and obtain registration user's corresponding to above-mentioned registered face image input by user Identity information, for example, name is " Zhang San ", relationship is " younger brother ", user gradation is " secondary user " etc..Later, it is retrieved as The browsable photograph set that registration user is configured is stated, for example, equipment holder can select in the photograph album priority assignation page The browsable photograph set of above-mentioned registration user is taken, or chooses the above-mentioned not browsable photograph set of registration user.Finally, on Stating construction unit can be according between the identity information and the browsable photograph set of above-mentioned registration user of above-mentioned registration user Correspondence builds above-mentioned photograph album permissions list.If the above-mentioned device 500 for handling photograph album browse request is server, user During carrying out face registration using user terminal, user terminal can be utilized to send registration to above-mentioned executive agent and asked It asks.Later, user terminal can shoot the registered face image of active user (registration user), receive above-mentioned note input by user The identity information of volume user and the browsable photograph set configured by above-mentioned registration user.Then, above-mentioned construction unit can To obtain the registered face image that above-mentioned user terminal takes, obtain the registration user's corresponding to above-mentioned registered face image Identity information and the browsable photograph set configured by above-mentioned registration user.Finally, above-mentioned construction unit can basis Correspondence between the above-mentioned identity information for registering user and the browsable photograph set configured by above-mentioned registration user Build above-mentioned photograph album permissions list.
In some optional realization methods of the present embodiment, the above-mentioned device 500 for handling photograph album browse request is also It may include display unit (not shown).It is above-mentioned for when to handle the device 500 of photograph album browse request be user terminal, on The browsable photograph set of above-mentioned target user can be presented by stating display unit.Optionally, if it is above-mentioned for handling photograph album browsing The device 500 of request is server, and service implement body can be by sending the above-mentioned browsable phase of target user to user terminal The logo collection of piece, later user terminal the photograph indicated by the logo collection that receives is presented.
In some optional realization methods of the present embodiment, the above-mentioned device 500 for handling photograph album browse request is also It may include processing unit (not shown).Above-mentioned processing unit can detect whether to receive above-mentioned target user to presenting The processing of the photograph gone out is asked, and is asked the processing of the photograph showed if receiving above-mentioned target user, can be according to default Photograph processing authority list determine the photograph processing operation that above-mentioned target user can perform.As an example, if user is to presenting The photograph gone out has carried out clicking operation, and above-mentioned processing unit can detect processing of the above-mentioned target user to the photograph clicked Request.Above-mentioned preset photograph processing authority list may include that the identity information of registered users and registered users can perform Photograph processing operation between correspondence.Photograph processing operation may include the delete operation to photograph, the volume to photograph Volume operation (for example, the light efficiency etc. for adding word in photograph, adjusting photograph) and to the sharing operation of photograph (for example, by photograph The good friend being shared in social class application) etc..Above-mentioned processing unit can be directed to the photograph that user asks processing, in above-mentioned phase The photograph processing operation that above-mentioned target user can perform is found by the identity information of target user in piece processing authority list. Later, above-mentioned processing unit can provide the operate interface for the photograph processing operation that above-mentioned target user can perform.Aforesaid operations Interface can be combined to be formed by by the factors such as icon, menu and word, and aforesaid operations interface is for receiving user Instruction to realize corresponding photograph processing operation.As an example, above-mentioned processing unit can show the figure for deleting photograph Mark, the icon for editing photograph and the icon for sharing photograph, target user can be by clicking to hold icon The corresponding photograph processing operation of row.
In some optional realization methods of the present embodiment, the above-mentioned device 500 for handling photograph album browse request is also It may include push unit (not shown).Above-mentioned push unit can be determined according to the identity information of above-mentioned target user State whether target user is pre-set user, pre-set user is usually holder himself.If as an example, the name of above-mentioned pre-set user Word is " Xiao Ming ", then whether above-mentioned push unit can be that " Xiao Ming " is above-mentioned with determination by the name of the above-mentioned target user of determination Whether target user is pre-set user;Whether above-mentioned push unit can also be " one by the grade of the above-mentioned target user of determination Whether it with the above-mentioned target user of determination is pre-set user that whether grade user " or above-mentioned target user are " holder himself ".If It is pre-set user to determine above-mentioned target user not, and above-mentioned push unit can be according to above-mentioned target user to the behaviour of above-mentioned photograph Make information and generate prompt message, to push above-mentioned prompt message on a preset condition based.I.e. if it is determined that target user is not user The holder himself of terminal, above-mentioned push unit can record target user for the photograph processing behaviour performed by above-mentioned photograph Make, and generates the operation information of target user.Aforesaid operations information may include the photograph mark of above-mentioned photograph, operation name Title, operating time, operation duration.If target user performs photograph sharing operation for above-mentioned photograph, aforesaid operations information is also May include utilized during sharing photograph social class application application identities, receive the photograph good friend good friend Title etc..Above-mentioned prompt message may include the content in aforesaid operations information, for example, the photograph mark of above-mentioned photograph, operation Title, operating time, operation duration etc., in addition to this, above-mentioned prompt message usually can also include that the identity of target user is believed The facial image etc. of breath and above-mentioned target user.
Herein, above-mentioned push unit pushes above-mentioned prompt message and may include on a preset condition based:If target user's needle Delete operation is performed to above-mentioned photograph, above-mentioned push unit can detected to deleting being pushed when checking request for photograph State prompt message;If target user performs sharing operation for above-mentioned photograph, above-mentioned push unit can detect it is default User to share utilized social class application data acquisition request when push above-mentioned prompt message;If target user is for upper It states photograph and performs edit operation, above-mentioned push unit can push above-mentioned when detecting the browse request for above-mentioned photograph Prompt message.
In some optional realization methods of the present embodiment, above-mentioned preset condition may include detecting the face of acquisition Image is the facial image of above-mentioned pre-set user, i.e., above-mentioned push unit can be holder in the facial image for detecting acquisition Above-mentioned prompt message is pushed under the scene of my facial image.As an example, if above-mentioned executive agent detects user terminal Holder himself unlocks user terminal using face, and above-mentioned prompt message can be pushed to user terminal to prompt the above-mentioned mesh of user Mark the operation information that user is directed to above-mentioned photograph.Above-mentioned preset condition may include that detect that above-mentioned pre-set user sends out photograph album clear Look at request, i.e., above-mentioned push unit can be pushed away in the case where detecting the scene for receiving the photograph album browse request that holder himself sends out It serves and states prompt message.As an example, if above-mentioned holder himself clicks photo album icon, above-mentioned prompt message can be presented.
All units described in device 500 are corresponding with reference to each step in figure 2 and the method for Fig. 4 descriptions.As a result, Operation and feature above with respect to method description are equally applicable to device 500 and unit wherein included, and details are not described herein.
The device for handling photograph album browse request that the above embodiments of the present application provide, by response to detecting photograph album Browse request obtains the facial image of the target user of request Album for glancing over pictures;Then to the facial image of above-mentioned target user into Row identification is with the identity information of the above-mentioned target user of determination;Finally according to the identity information of above-mentioned target user and preset phase Volume permissions list determines the browsable photograph set of above-mentioned target user, wherein above-mentioned preset photograph album permissions list includes Register the correspondence between the identity information and the browsable photograph set of registered users of user.It is asked to be effectively utilized The facial image of the user of Album for glancing over pictures is asked to determine that the browsable photograph set of above-mentioned target user, this mode are realizing use The flexibility that equipment uses is improved on the basis of the protection of family information.
Below with reference to Fig. 6, it illustrates the computer systems 600 suitable for the electronic equipment for realizing the embodiment of the present invention Structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various actions appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
It is connected to I/O interfaces 605 with lower component:Importation 606 including keyboard, mouse etc.;Including such as liquid crystal Show the output par, c 607 of device (LCD) and loud speaker etc.;Storage section 608 including hard disk etc.;And including such as LAN card, The communications portion 609 of the network interface card of modem etc..Communications portion 609 executes communication via the network of such as internet Processing.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as disk, CD, magneto-optic disk, Semiconductor memory etc., as needed be mounted on driver 610 on, in order to from the computer program read thereon according to need It is mounted into storage section 608.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed by communications portion 609 from network, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that the above-mentioned computer-readable medium of the application can be computer-readable signal media or Computer readable storage medium either the two arbitrarily combines.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination. The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium can any be included or store The tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.And In the application, computer-readable signal media may include the data letter propagated in a base band or as a carrier wave part Number, wherein carrying computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by instruction execution system, device either device use or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more uses The executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to note Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packet Include acquiring unit, recognition unit and determination unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself.For example, acquiring unit is also described as " in response to detecting photograph album browse request, obtaining request browsing The unit of the facial image of the target user of photograph album ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can be Included in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device so that should Device:In response to detecting photograph album browse request, the facial image of the target user of request Album for glancing over pictures is obtained;To target user Facial image be identified, determine the identity information of target user;According to the identity information of target user and preset phase Volume permissions list determines the browsable photograph set of target user, wherein preset photograph album permissions list includes registered users Identity information and the browsable photograph set of registered users between correspondence.
Above description is only presently preferred embodiments of the present invention and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the present invention, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed in the present invention Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (14)

1. a kind of method for handling photograph album browse request, including:
In response to detecting photograph album browse request, the facial image of the target user of request Album for glancing over pictures is obtained;
The facial image of the target user is identified, determines the identity information of the target user;
Determine that the target user is browsable according to the identity information of the target user and preset photograph album permissions list Photograph set, wherein the preset photograph album permissions list includes the identity information of registered users and registered users can be clear Correspondence between the photograph set look at.
2. according to the method described in claim 1, wherein, the method further includes:
Obtain the identity information of the registration user corresponding to registered face image and the registered face image;
It is retrieved as the browsable photograph set of the registration user configuration;
According to the correspondence structure between the identity information of the registration user and the registration browsable photograph set of user Build the photograph album permissions list.
3. according to the method described in claim 1, wherein, the method further includes:
The browsable photograph set of the target user is presented.
4. according to the method described in claim 1, wherein, the method further includes:
In response to detecting that the target user asks the processing of photograph, institute is determined according to preset photograph processing authority list State the photograph processing operation that target user can perform, wherein the preset photograph processing authority list includes registered users Identity information and the executable photograph processing operation of registered users between correspondence;
The operate interface for the photograph processing operation that the target user can perform is provided.
5. according to the method described in claim 4, wherein, the method further includes:
Determine whether the target user is pre-set user according to the identity information of the target user;
It is pre-set user in response to determining the target user not, according to the target user to the operation information of the photograph Prompt message is generated, to push the prompt message on a preset condition based.
6. according to the method described in claim 5, wherein, the preset condition includes:
Detect that the facial image of acquisition is the facial image of the pre-set user;Or
Detect that the pre-set user sends out photograph album browse request.
7. a kind of device for handling photograph album browse request, including:
Acquiring unit, in response to detecting photograph album browse request, obtaining the face figure of the target user of request Album for glancing over pictures Picture;
Recognition unit is identified for the facial image to the target user, determines the identity information of the target user;
Determination unit, for determining the target according to the identity information and preset photograph album permissions list of the target user The browsable photograph set of user, wherein the preset photograph album permissions list include registered users identity information with Register the correspondence between the browsable photograph set of user.
8. device according to claim 7, wherein described device further includes construction unit, and the construction unit is used for:
Obtain the identity information of the registration user corresponding to registered face image and the registered face image;
It is retrieved as the browsable photograph set of the registration user configuration;
According to the correspondence structure between the identity information of the registration user and the registration browsable photograph set of user Build the photograph album permissions list.
9. device according to claim 7, wherein described device further includes display unit, and the display unit is used for:
The browsable photograph set of the target user is presented.
10. device according to claim 7, wherein described device further includes processing unit, and the processing unit is used for:
In response to detecting that the target user asks the processing of photograph, institute is determined according to preset photograph processing authority list State the photograph processing operation that target user can perform, wherein the preset photograph processing authority list includes registered users Identity information and the executable photograph processing operation of registered users between correspondence;
The operate interface for the photograph processing operation that the target user can perform is provided.
11. device according to claim 10, wherein described device further includes push unit, and the push unit is used for:
Determine whether the target user is pre-set user according to the identity information of the target user;
It is pre-set user in response to determining the target user not, according to the target user to the operation information of the photograph Prompt message is generated, to push the prompt message on a preset condition based.
12. according to the devices described in claim 11, wherein the preset condition includes:
Detect that the facial image of acquisition is the facial image of the pre-set user;Or
Detect that the pre-set user sends out photograph album browse request.
13. a kind of electronic equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-6.
14. a kind of computer-readable medium, is stored thereon with computer program, wherein the program is realized when being executed by processor Method as described in any in claim 1-6.
CN201810258899.5A 2018-03-27 2018-03-27 Method and apparatus for handling photograph album browse request Pending CN108537057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810258899.5A CN108537057A (en) 2018-03-27 2018-03-27 Method and apparatus for handling photograph album browse request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810258899.5A CN108537057A (en) 2018-03-27 2018-03-27 Method and apparatus for handling photograph album browse request

Publications (1)

Publication Number Publication Date
CN108537057A true CN108537057A (en) 2018-09-14

Family

ID=63483718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810258899.5A Pending CN108537057A (en) 2018-03-27 2018-03-27 Method and apparatus for handling photograph album browse request

Country Status (1)

Country Link
CN (1) CN108537057A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543751A (en) * 2019-07-19 2019-12-06 西安万像电子科技有限公司 Data processing method and device and server
CN112463998A (en) * 2020-11-25 2021-03-09 京东方科技集团股份有限公司 Album resource processing method, apparatus, electronic device and storage medium
CN114020206A (en) * 2021-08-03 2022-02-08 广州炒米信息科技有限公司 Electronic photo storage method and device, storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070239764A1 (en) * 2006-03-31 2007-10-11 Fuji Photo Film Co., Ltd. Method and apparatus for performing constrained spectral clustering of digital image data
CN103561161A (en) * 2013-10-15 2014-02-05 广东明创软件科技有限公司 Photo album display method and mobile terminal using same
CN103870283A (en) * 2014-03-28 2014-06-18 沈阳化工大学 Electronic photo album management system
CN107577956A (en) * 2017-08-29 2018-01-12 维沃移动通信有限公司 A kind of photo time slot scrambling and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070239764A1 (en) * 2006-03-31 2007-10-11 Fuji Photo Film Co., Ltd. Method and apparatus for performing constrained spectral clustering of digital image data
CN103561161A (en) * 2013-10-15 2014-02-05 广东明创软件科技有限公司 Photo album display method and mobile terminal using same
CN103870283A (en) * 2014-03-28 2014-06-18 沈阳化工大学 Electronic photo album management system
CN107577956A (en) * 2017-08-29 2018-01-12 维沃移动通信有限公司 A kind of photo time slot scrambling and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543751A (en) * 2019-07-19 2019-12-06 西安万像电子科技有限公司 Data processing method and device and server
CN112463998A (en) * 2020-11-25 2021-03-09 京东方科技集团股份有限公司 Album resource processing method, apparatus, electronic device and storage medium
CN114020206A (en) * 2021-08-03 2022-02-08 广州炒米信息科技有限公司 Electronic photo storage method and device, storage medium and terminal
CN114020206B (en) * 2021-08-03 2024-05-24 广州炒米信息科技有限公司 Electronic photo storage method, device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN105144156B (en) Associate metadata with images in a personal image collection
CN108416323A (en) The method and apparatus of face for identification
CN108595628A (en) Method and apparatus for pushed information
CN109034069A (en) Method and apparatus for generating information
CN109086719A (en) Method and apparatus for output data
CN104850848A (en) Photo Classification Method and Device
CN109582873A (en) Method and apparatus for pushed information
CN108363999A (en) Operation based on recognition of face executes method and apparatus
CN109446442A (en) Method and apparatus for handling information
CN109862100A (en) Method and apparatus for pushed information
CN108335390A (en) Method and apparatus for handling information
CN108521516A (en) Control method and device for terminal device
CN112395390A (en) Training corpus generation method of intention recognition model and related equipment thereof
CN108509611A (en) Method and apparatus for pushed information
CN108460365A (en) Identity identifying method and device
CN107748879A (en) For obtaining the method and device of face information
CN108280422A (en) The method and apparatus of face for identification
CN109408748A (en) Method and apparatus for handling information
CN108537057A (en) Method and apparatus for handling photograph album browse request
CN110032499B (en) Page user loss analysis method and device, server and readable storage medium
CN108446659A (en) Method and apparatus for detecting facial image
CN109413056A (en) Method and apparatus for handling information
CN109597912A (en) Method for handling picture
CN109614549B (en) Method and apparatus for pushed information
CN109255967A (en) Method and apparatus for release information

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