Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
Referring to Fig. 1, the embodiment of the present invention provides a kind of method of real-name authentication, comprising:
Step 101: first terminal sends to the second terminal the request that one-way video connects of setting up;
Step 102: the second terminal receives this request, the one-way video of setting up between first terminal is connected;
Step 103: first terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video;
Step 104: this video of the second terminal plays, judges whether the user in this video is consistent with identity document, and carry out corresponding real-name authentication operation.
Preferably, this video of the second terminal plays, judges whether the user in this video is consistent with identity document, comprising:
This video of the second terminal plays obtains this human head picture of user and the image of identity document from the video of playing;
The second terminal is obtained the user's that identity document comprises head portrait from the image of identity document;
The user's that the second terminal comprises according to this human head picture of user and identity document head portrait, judges whether the user in video is consistent with identity document.
Preferably, the user's that the second terminal comprises according to this human head picture of user and identity document head portrait, judges whether the user in this video is consistent with identity document, comprising:
The second terminal is obtained the similarity degree of this human head picture of user and the user's that identity document comprises head portrait;
If similarity degree is more than or equal to default similarity degree, judge that the user in this video is consistent with identity document.
Further, the mark of user's first terminal is carried in this request, and the second terminal also comprises after receiving this request:
The second terminal is by the join the team tail of the queue of waiting list of the mark of user's first terminal.
Preferably, waiting list is arranged in the second terminal, and the one-way video that the second terminal is set up between first terminal is connected, and comprising:
The second terminal from waiting list by the team that identifies of user's first terminal;
The second terminal is according to the mark of first terminal, and the one-way video of setting up between first terminal is connected.
Preferably, waiting list is arranged in server, and the one-way video that the second terminal is set up between first terminal is connected, and comprising:
The second terminal from waiting list by the team that identifies of user's first terminal;
Server adds the mark of user's first terminal in authenticated channel to, sets up being connected between first terminal;
The second terminal is connected the already present one-way video connecting to form between the second terminal and first terminal being connected between server and first terminal between itself and server.
In embodiments of the present invention, first terminal sends to the second terminal the request that one-way video connects of setting up; The second terminal receives this request, and the one-way video of setting up between first terminal is connected; First terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video; This video of the second terminal plays, judges whether the user in this video is consistent with identity document, and carries out corresponding real-name authentication operation.Because first terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video, whether the user in this video of the second terminal judges is consistent with identity document, can whether be so user by judging whether the head portrait of the user in this human head picture of user and identity document in video meets to determine what carry out real-name authentication, so improve the accuracy of real-name authentication.
Embodiment 2
Referring to Fig. 2, the embodiment of the present invention provides a kind of method of real-name authentication, the second terminal of keeper is set up one-way video by server with user's first terminal and is connected, by and first terminal between one-way video be connected the user authentication information that obtains user, comprising:
Step 201: the authenticated channel request to create message that the second terminal of server receiving management person sends, this authenticated channel request to create message is carried keeper's mark of keeper and the mark of the second terminal, according to authenticated channel of this authenticated channel request to create message establishing, it is this authenticated channel channel distribution mark;
Wherein, only have keeper just to have authority to create for carrying out the authenticated channel of real-name authentication.After keeper's logon server, the second terminal to self correspondence is submitted request to create to, the second terminal receive keeper submit to request to create after send authenticated channel request to create message to server, this authenticated channel request to create message is carried the mark of the second terminal of keeper.Server receives after this authenticated channel request to create message, creates an authenticated channel, and is this authenticated channel channel distribution mark.This authenticated channel is for carrying out real-name authentication to user to be certified.
For example, after keeper C logon server, the second terminal to self correspondence is submitted request to create to, the second terminal receive keeper C submit to request to create after send authenticated channel request to create message to server, this authenticated channel request to create message is carried the mark Computer2 of the second terminal of keeper C.Server receives after this authenticated channel request to create message, creates an authenticated channel, and is this authenticated channel channel distribution mark Channel1.This authenticated channel is for carrying out real-name authentication to user to be certified.
Step 202: server obtains the mark of the second terminal of keeper, adds the mark of the second terminal of keeper in authenticated channel to, and the channel identication of authenticated channel is sent to the second terminal of keeper;
Particularly, the mark of the second terminal of the keeper that server carries authenticated channel request to create message, add in the authenticated channel of establishment, then send second terminal of channel notification message to keeper, this channel notification message carries the channel identication of authenticated channel.
For example, the mark Computer2 of the second terminal of the keeper C that server carries authenticated channel request to create message adds in the authenticated channel of establishment, then send second terminal of channel notification message to keeper C, this channel notification message carries the channel identication Channel1 of authenticated channel, makes the channel identication Channel1 of second this authenticated channel of terminal storage of keeper C.
Wherein, the second terminal of keeper is set up being connected between itself and server by the operation of above-mentioned steps 201 and 202.
In social activity application, domestic consumer except keeper is in the time need to carrying out real-name authentication to the user account of self, user can submit authentication request to the first terminal of self, user's first terminal receives after authentication request, and being connected between itself and server set up in the operation of 203-207 as follows.
Step 203: first terminal sends the request message that is used for setting up one-way video connection to the second terminal, and this request message carries the mark of first terminal;
For example, first terminal sends the request message that is used for setting up one-way video connection to the second terminal, and this request message carries the mark Computer3 of first terminal.
Step 204: the second terminal receives the request message connecting for setting up one-way video that first terminal sends, join the team to the tail of the queue of the waiting list that is arranged in server of the mark of the first terminal that this request message is carried;
Wherein, due to the second terminal of keeper once can only and a first terminal between set up one-way video and be connected, and the first terminal that may have multiple users asks to carry out real-name authentication simultaneously, so the second terminal need to be joined the team the mark of first terminal to, the waiting list that is arranged in server is waited for.
Particularly, the second terminal receives the request message connecting for setting up one-way video that first terminal sends, and the mark of the first terminal that this request message is carried sends to server.Server receives the mark of first terminal that the second terminal sends, by the join the team tail of the queue of waiting list of the mark of first terminal.
For example, the second terminal receives the request message connecting for setting up one-way video that first terminal sends, and the mark Computer3 of the first terminal that this request message is carried sends to server.Server receives the mark Computer3 of first terminal that the second terminal sends, and by the join the team tail of the queue of the waiting list as shown in queue 1 of the mark Computer3 of first terminal, wherein, in queue as follows 1, right side be enemy, and left side is tail of the queue.
Queue 1
| Compute3 |
…… |
Computer4 |
Computer1 |
Wherein, domestic consumer for other except keeper, in the time need to carrying out real-name authentication to the user account of self, the second terminal is with this user's first terminal equally being carried out to aforesaid operations by join the team to the tail of the queue of the waiting list that is arranged in server of the mark of each user's first terminal.
Wherein, waiting list is fifo queue, and the mark that enters the earliest the user's of waiting list first terminal is positioned at these treats team's head of queue, and the mark of this user's first terminal goes out team the earliest.
Wherein, in the time having user's the mark of first terminal in waiting list, the second terminal according to the operation of step 205-208 by waiting list, be positioned at team's head user first terminal identify team, and the one-way video of setting up between itself and this user's first terminal is connected.
Step 205: the second terminal sends out team and indicates to server;
For example, the second terminal of keeper C sends out team and indicates to server.
Step 206: what server received that the second terminal sends goes out team instruction, from waiting list by be positioned at correct user first terminal identify team, and user's the mark of first terminal that goes out team is defined as to the mark of user's to be certified first terminal;
For example, the team that goes out that server receives the second terminal transmission indicates, from the waiting list as shown in queue 1, the mark Computer1 of first terminal of the user A that is positioned at team's head is gone out to team, and the mark Computer1 of first terminal of user A that goes out team is defined as to the mark Computer1 of the first terminal of user A to be certified.And the mark Computer1 of the first terminal of user A is gone out to team's waiting list afterwards as shown in queue 2.
Queue 2
Step 207: server adds the mark of user's to be certified first terminal in authenticated channel to, sets up being connected between first terminal;
Particularly, server adds the mark of user's to be certified first terminal in authenticated channel to, send the first terminal of channel notification message to user to be certified, this channel notification message carries the channel identication of authenticated channel, make user's to be certified first terminal store the channel identication of this authenticated channel, thereby set up being connected between server and first terminal.
For example, server adds the mark Computer1 of the first terminal of user A to be certified in authenticated channel to, send the first terminal of channel notification message to user A to be certified, this channel notification message carries the channel identication Channel1 of authenticated channel, make the first terminal of user A to be certified store the channel identication Channel1 of this authenticated channel, thereby set up being connected between server and first terminal.
Wherein, set up being connected between the second terminal and server by the operation of step 201 and 202, and after setting up being connected between server and first terminal by the operation of step 203-207,208 one-way video of setting up between the second terminal and first terminal are connected as follows.
Step 208: the second terminal is connected the already present one-way video connecting to form between the second terminal and first terminal being connected between server and first terminal between itself and server;
For example, the second terminal of keeper C is connected the already present one-way video connecting to form between the second terminal and first terminal being connected between server and the first terminal of user A to be certified between itself and server.
Wherein, set up after one-way video between the second terminal and first terminal is connected, user's to be certified user authentication information is obtained in the operation of 209-212 as follows.
Step 209: first terminal by and the second terminal between one-way video be connected the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast;
Wherein, user's identity document is the file that can prove user's true identity, as identity card, educational background card and residence booklet etc., just differs and one has given an example at this.
Wherein, keeper is to the second terminal input information of voice prompt, this information of voice prompt is for pointing out user to be certified the face of oneself and identity document to be aimed to the camera of first terminal, so that first terminal photographs user's to be certified face and user's to be certified identity document, for example, information of voice prompt can point out user to be certified that the front of the positive face of oneself and identity document is first-class in the face of making a video recording.The information of voice prompt of the second terminal receiving management person input, obtain the channel identication of the authenticated channel of storage, then be connected being connected between the second terminal of comprising and server by the one-way video between the second terminal and first terminal, the channel identication of this information of voice prompt and authenticated channel is sent to server.Server receives the channel identication of this information of voice prompt and authenticated channel, obtain corresponding authenticated channel according to the channel identication of authenticated channel, from the authenticated channel obtaining, obtain the first terminal except the second terminal of keeper, be then connected and being connected between the server that comprises and first terminal this information of voice prompt sent to the first terminal obtaining by the one-way video between the second terminal and first terminal.First terminal receives and plays this information of voice prompt.User to be certified according to the information of voice prompt of playing by the identity document of oneself face and oneself towards camera.First terminal is taken and is obtained video user to be certified and user's to be certified identity document, then first terminal obtains the channel identication of the authenticated channel of storage, is connected and being connected between the server that comprises and first terminal the channel identication of this video and authenticated channel is sent to server by the one-way video between the second terminal and first terminal.Server receives the channel identication of this video and authenticated channel, obtain according to the channel identication of authenticated channel the authenticated channel that this channel identication is corresponding, from the authenticated channel obtaining, obtain the second terminal except first terminal, be connected being connected between the second terminal of comprising and server by the one-way video between the second terminal and first terminal, this video is sent to the second terminal.
For example, for convenience of explanation, this sentences identity document is that identity card is that example describes.Keeper C is to the second terminal input information of voice prompt Voice1, this information of voice prompt Voice1 is for pointing out user A to be certified by the camera of oneself face and identity document aligning first terminal, so that first terminal photographs the face of user A to be certified and the identity document of user A to be certified.The information of voice prompt Voice1 of the second terminal receiving management person C input, obtain the channel identication Channel1 of the authenticated channel of storage, then be connected being connected between the second terminal of comprising and server by the one-way video between the second terminal and first terminal, the channel identication Channel1 of this information of voice prompt Voice1 and authenticated channel is sent to server.Server receives the channel identication Channel1 of this information of voice prompt Voice1 and authenticated channel, obtain corresponding authenticated channel according to the channel identication Channel1 of authenticated channel, from the authenticated channel obtaining, obtain the first terminal except the second terminal of keeper C, be then connected and being connected between the server that comprises and first terminal this information of voice prompt Voice1 sent to the first terminal obtaining by the one-way video between the second terminal and first terminal.First terminal receives and plays this information of voice prompt Voice1.User A to be certified according to the information of voice prompt Voice1 playing by the identity document of oneself face and oneself towards camera.First terminal is taken and is obtained video Video1 the identity document of user A to be certified and user A to be certified, then first terminal obtains the channel identication Channel1 of the authenticated channel of storage, is connected and being connected between the server that comprises and first terminal the channel identication Channel1 of video Video1 and authenticated channel is sent to server by the one-way video between the second terminal and first terminal.Server receives the channel identication Channel1 of this video Video1 and authenticated channel, obtain according to the channel identication Channel1 of authenticated channel the authenticated channel that this channel identication is corresponding, from the authenticated channel obtaining, obtain the second terminal except first terminal, be connected being connected between the second terminal of comprising and server by the one-way video between the second terminal and first terminal, this video Video1 is sent to the second terminal.
Step 210: the second terminal receives and play this video is obtained this human head picture of user and the image of identity document from the video of playing;
Particularly, the second terminal receives and plays this video, identifies the image of this human head picture of user and user's identity document by image recognition technology from the video of playing.
For example, the second terminal receives and plays this video Video1, identifies the image image2 of this human head picture image1 of user and user's identity document by image recognition technology from the video Video1 playing.
Step 211: the second terminal is obtained the user's that identity document comprises head portrait from the image of the identity document that obtains;
Particularly, the second terminal is obtained the user's that identity document comprises head portrait from the image of the identity document that obtains by image recognition technology.
For example, the second terminal is obtained the user's that identity document comprises head portrait image3 from the image image2 of the identity document that obtains by image recognition technology.
Step 212: the user's that the second terminal comprises according to this human head picture of user and identity document head portrait, judges whether the user in video is consistent with identity document, and carry out corresponding real-name authentication operation.
Particularly, the second terminal is obtained the similarity degree of this human head picture of user and the user's that identity document comprises head portrait by preset algorithm, if the similarity degree obtaining is more than or equal to default similarity degree, the user who judges in video is consistent with identity document, is connected transmission real-name authentication by the one-way video between the second terminal and first terminal and successfully indicates to first terminal.
Wherein, preset algorithm can be PCA(Principal Component Analysis, principal component analysis) or Isomap(Isomap, Isomap) algorithm etc.
For example, suppose that default similarity degree is 90%.The user's that the second terminal comprises by preset algorithm comparison user's this human head picture image1 and identity document head portrait image3 also obtains this human head picture image1 of user and the similarity degree of the user's that identity document comprises head portrait image3, suppose that the similarity degree obtaining is 95%, the similarity degree obtaining 95% is greater than default similarity degree 90%, the user A judging in video Video1 is consistent with identity document, is connected transmission real-name authentication successfully indicates to first terminal by the one-way video between the second terminal and first terminal.
Wherein, if the similarity degree obtaining is less than default similarity degree, user and the identity document judged in video do not meet, be connected transmission real-name authentication by the one-way video between the second terminal and first terminal and unsuccessfully indicate to first terminal, the mark that server is deleted user's to be certified first terminal from authenticated channel simultaneously.
Further, if the similarity degree obtaining is more than or equal to default similarity degree, the user who judges in video is consistent with identity document, being connected transmission real-name authentication by the one-way video between the second terminal and first terminal successfully indicates to after first terminal, the second terminal intercepts this human head picture of user and the image of identity document from the video of playing, using intercept this human head picture of user and the image of identity document as user's to be certified user authentication information, send user's to be certified user authentication information to server.The mark that server received and stored user's to be certified user authentication information and delete user's to be certified first terminal from authenticated channel.
Further, first terminal receives after real-name authentication that the second terminal sends is successfully indicated or real-name authentication unsuccessfully indicates, and server disconnects being connected between itself and first terminal, thereby the one-way video disconnecting between the second terminal and first terminal is connected.If be arranged in the waiting list of server and exist the mark of user's first terminal, return to step 205 and continue next user to carry out real-name authentication.
Further, server can also create multiple authenticated channels for real-name authentication, server carries out Real-Time Monitoring to multiple authenticated channels, when monitoring while thering is no user's to be certified first terminal in certain authenticated channel except the second terminal of keeper, from waiting list, be positioned at the user of team's head first terminal identify team, and this user's the mark of first terminal that goes out team is defined as to the mark of user's to be certified first terminal, the mark of this user's to be certified first terminal is added in this authenticated channel, multiple authenticated channel like this carries out real-name authentication simultaneously, can accelerate the processing speed of real-name authentication.
In embodiments of the present invention, first terminal sends to the second terminal the request that one-way video connects of setting up; The second terminal receives this request, and the one-way video of setting up between first terminal is connected; First terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video; This video of the second terminal plays, judges whether the user in this video is consistent with identity document, and carries out corresponding real-name authentication operation.Because first terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video, whether the user in this video of the second terminal judges is consistent with identity document, can whether be so user by judging whether the head portrait of the user in this human head picture of user and identity document in video meets to determine what carry out real-name authentication, so improve the accuracy of real-name authentication.
Embodiment 3
Referring to Fig. 3, the embodiment of the present invention provides a kind of method of real-name authentication, and the second terminal of keeper is directly set up one-way video with user's first terminal and is connected, by and first terminal between one-way video be connected the user authentication information that obtains user, comprising:
Step 301: first terminal sends the request message that is used for setting up one-way video connection to the second terminal, and this request message carries the mark of first terminal;
For example, the first terminal transmission of user A is for setting up the request message of one-way video connection to the second terminal of keeper C, and this request message carries the mark Computer3 of first terminal.
Step 302: the second terminal receives the request message connecting for setting up one-way video that first terminal sends, join the team to the tail of the queue of the waiting list that is arranged in the second terminal of the mark of the first terminal that this request message is carried;
Wherein, due to the second terminal of keeper once can only and a first terminal between set up one-way video and be connected, and the first terminal that may have multiple users asks to carry out real-name authentication simultaneously, so the second terminal need to be joined the team the mark of first terminal to, the waiting list that is arranged in the second terminal is waited for.
For example, the second terminal of keeper C receives the request message connecting for setting up one-way video that the first terminal of user A sends, join the team to the tail of the queue of the waiting list as shown in queue 1 that is arranged in the second terminal of the mark Computer3 of the first terminal that this request message is carried.
Wherein, domestic consumer for other except keeper, in the time need to carrying out real-name authentication to the user account of self, the second terminal is with this user's first terminal equally being carried out to aforesaid operations by join the team to the tail of the queue of the waiting list that is arranged in the second terminal of the mark of each user's first terminal.
Wherein, waiting list is fifo queue, and the mark that enters the earliest the user's of waiting list first terminal is positioned at these treats team's head of queue, and the mark of this user's first terminal goes out team the earliest.
Wherein, in the time having user's the mark of first terminal in waiting list, the second terminal by waiting list, be positioned at team's head user first terminal identify team, and the one-way video of setting up according to the operation of step 303 and 304 between itself and this user's first terminal is connected.
Step 303: the second terminal by the team that identifies of user's first terminal, is defined as the mark of first terminal that team the mark of user's to be certified first terminal from waiting list;
Particularly, the second terminal from the waiting list that is arranged in the second terminal by be positioned at correct user first terminal identify team, the mark of first terminal that goes out team is defined as to the mark of user's to be certified first terminal.
For example, the second terminal goes out team from the waiting list as shown in queue 1 that is arranged in the second terminal by the mark Computer1 of the first terminal that is positioned at correct user A, the mark Computer1 of first terminal that goes out team is defined as to the mark of user's to be certified first terminal.
Step 304: the second terminal is according to the mark of user's to be certified first terminal, the one-way video of setting up between itself and first terminal is connected;
For example, the second terminal is according to the mark Computer1 of the first terminal of user A to be certified, and the one-way video of setting up between itself and first terminal is connected.
Step 305: first terminal is connected by the one-way video between itself and the second terminal the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast;
Wherein, user's identity document is the file that can prove user's true identity, as identity card, educational background card and residence booklet etc., just differs and one has given an example at this.
Wherein, keeper is to the second terminal input information of voice prompt, this information of voice prompt is for pointing out user to be certified the face of oneself and identity document to be aimed to the camera of first terminal, so that first terminal photographs user's to be certified face and user's to be certified identity document, for example, information of voice prompt can point out user to be certified that the front of the positive face of oneself and identity document is first-class in the face of making a video recording.The second terminal is connected this information of voice prompt is sent to first terminal by the one-way video between itself and first terminal.First terminal receives and plays this information of voice prompt.User to be certified according to the information of voice prompt of playing by the identity document of oneself face and oneself towards camera.First terminal is taken and is obtained video user to be certified and user's to be certified identity document by camera, is then connected this video is sent to the second terminal by the one-way video between itself and the second terminal.
For example, for convenience of explanation, this sentences identity document is that identity card is that example describes.Keeper C is to the second terminal input information of voice prompt Voice1, this information of voice prompt Voice1 is for pointing out user A to be certified by the camera of oneself face and identity document aligning first terminal, so that first terminal photographs the face of user A to be certified and the identity document of user A to be certified.The second terminal is connected this information of voice prompt Voice1 is sent to first terminal by the one-way video between itself and first terminal.First terminal receives and plays this information of voice prompt Voice1.User A to be certified according to the information of voice prompt Voice1 playing by the identity document of oneself face and oneself towards camera.First terminal is taken and is obtained video Video1 the identity document of user A to be certified and user A to be certified by camera, is then connected this video Video1 is sent to the second terminal by the one-way video between itself and the second terminal.
Step 306: this video of the second terminal plays obtains this human head picture of user and the image of identity document from the video of playing;
Particularly, the second terminal receives and plays this video, identifies the image of this human head picture of user and user's identity document by image recognition technology from the video of playing.
For example, the second terminal receives and plays this video Video1, identifies the image image2 of this human head picture image1 of user and user's identity document by image recognition technology from the video Video1 playing.
Step 307: the second terminal is obtained the user's that identity document comprises head portrait from the image of the identity document that obtains;
Particularly, the second terminal is obtained the user's that identity document comprises head portrait from the image of the identity document that obtains by image recognition technology.
For example, the second terminal is obtained the user's that identity document comprises head portrait image3 from the image image2 of the identity document that obtains by image recognition technology.
Step 308: the user's that the second terminal comprises according to this human head picture of user and identity document head portrait, judges whether the user in video is consistent with identity document, and carry out corresponding real-name authentication operation.
Particularly, the user's that the second terminal comprises by preset algorithm comparison user's this human head picture and identity document head portrait also obtains this human head picture of user and the similarity degree of the user's that identity document comprises head portrait, if the similarity degree obtaining is more than or equal to default similarity degree, the user who judges in video is consistent with identity document, is connected transmission real-name authentication by the one-way video between the second terminal and first terminal and successfully indicates to first terminal.
Wherein, preset algorithm can be PCA(Principal Component Analysis, principal component analysis) or Isomap(Isomap, Isomap) algorithm etc.
For example, suppose that default similarity degree is 90%.The user's that the second terminal comprises by preset algorithm comparison user's this human head picture image1 and identity document head portrait image3 also obtains this human head picture image1 of user and the similarity degree of the user's that identity document comprises head portrait image3, suppose that the similarity degree obtaining is 95%, the similarity degree obtaining 95% is greater than default similarity degree 90%, the user A judging in video Video1 is consistent with identity document, is connected transmission real-name authentication successfully indicates to first terminal by the one-way video between the second terminal and first terminal.
Wherein, if the similarity degree obtaining is less than default similarity degree, user and the identity document judged in video do not meet, and be connected transmission real-name authentication unsuccessfully indicate to first terminal by the one-way video between the second terminal and first terminal.
Further, if the similarity degree obtaining is more than or equal to default similarity degree, the user who judges in video is consistent with identity document, being connected transmission real-name authentication by the one-way video between the second terminal and first terminal successfully indicates to after first terminal, the second terminal intercepts this human head picture of user and the image of identity document from the video of playing, using user's this human head picture intercepting and the image of identity document as user's to be certified user authentication information, send user's to be certified user authentication information to server, server is received and store user's to be certified user authentication information.
Further, first terminal receives after real-name authentication that the second terminal sends is successfully indicated or real-name authentication unsuccessfully indicates, and the one-way video that the second terminal disconnects between itself and first terminal is connected.If be arranged in the waiting list of the second terminal and exist the mark of user's first terminal, return to step 303 and continue next user to carry out real-name authentication.
In embodiments of the present invention, first terminal sends to the second terminal the request that one-way video connects of setting up; The second terminal receives this request, and the one-way video of setting up between first terminal is connected; First terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video; This video of the second terminal plays, judges whether the user in this video is consistent with identity document, and carries out corresponding real-name authentication operation.Because first terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video, whether the user in this video of the second terminal judges is consistent with identity document, can whether be so user by judging whether the head portrait of the user in this human head picture of user and identity document in video meets to determine what carry out real-name authentication, so improve the accuracy of real-name authentication.
Embodiment 4
Referring to Fig. 4, the embodiment of the present invention provides a kind of system of real-name authentication, comprising: first terminal 401 and the second terminal 402;
First terminal 401, for sending to the second terminal 402 request that one-way video connects of setting up;
The second terminal 402, for receiving this request, the one-way video of setting up between first terminal 401 is connected;
First terminal 401, for connecting the video that includes this human head picture of user and identity document to the second terminal 402 real-time live broadcasts by one-way video;
The second terminal 402, for playing this video, judges whether the user in this video is consistent with identity document, and carries out corresponding real-name authentication operation.
Wherein, the second terminal 402 for playing this video, is obtained this human head picture of user and the image of identity document from the video of playing;
The second terminal 402, for obtaining the user's that identity document comprises head portrait from the image of identity document;
The second terminal 402, for the user's that comprises according to this human head picture of user and identity document head portrait, judges whether the user in this video is consistent with identity document.
Wherein, the second terminal 402, for obtaining the similarity degree of this human head picture of user and the user's that identity document comprises head portrait;
The second terminal 402, if be more than or equal to default similarity degree for similarity degree, judges that the user in this video is consistent with identity document.
Wherein, the second terminal 402, also for the tail of the queue of waiting list that the mark of user's first terminal 401 is joined the team.
Wherein, waiting list is arranged in the second terminal 402, the second terminals 402, for from waiting list by the team that identifies of user's first terminal 401;
The second terminal 402, for according to the mark of first terminal 401, the one-way video of setting up between first terminal 401 is connected.
Wherein, waiting list is arranged in server, the second terminal 402, for from waiting list by the team that identifies of user's first terminal 401;
Server 403, for adding the mark of user's first terminal 401 to authenticated channel, sets up between first terminal 401 and is connected;
The second terminal 402, for being connected the already present one-way video connecting to form between the second terminal 402 and first terminal 401 being connected between server 403 and first terminal 401 between itself and server 403.
In embodiments of the present invention, first terminal sends to the second terminal the request that one-way video connects of setting up; The second terminal receives this request, and the one-way video of setting up between first terminal is connected; First terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video; This video of the second terminal plays, judges whether the user in this video is consistent with identity document, and carries out corresponding real-name authentication operation.Because first terminal connects the video that includes this human head picture of user and identity document to the second terminal real-time live broadcast by one-way video, whether the user in this video of the second terminal judges is consistent with identity document, can whether be so user by judging whether the head portrait of the user in this human head picture of user and identity document in video meets to determine what carry out real-name authentication, so improve the accuracy of real-name authentication.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.