Disclosure of Invention
Based on the above, it is necessary to provide a queuing method, a queuing device, a computer device and a storage medium for solving the problem that the queuing efficiency of the conventional method is low.
A method of queuing numbers, the method comprising:
Collecting a current number-taking face image;
sending a first matching request carrying the current number-taking face image to a server; the first matching request is used for indicating the server to match the current number-taking face image with a standard face image for recording;
After receiving a successful matching notice fed back by the server, sending an identity information acquisition request; the identity information acquisition request is used for indicating the server to search the user identity information corresponding to the standard face image successfully matched;
after receiving the user identity information fed back by the server, displaying a transaction item conforming to the transaction authority corresponding to the user identity information;
receiving a specified instruction aiming at the displayed office matters, and distributing queuing numbers under the specified office matters for the current number-taking face image.
In one embodiment, the method further comprises:
acquiring a first matching degree included in the matching success notification, wherein the first matching degree is the matching degree between the current number-taking face image and a standard face image which is successfully matched;
Determining that the standard face image successfully matched corresponds to the historical number-taking face image of the same user;
matching the current number-taking face image with the historical number-taking face image to obtain a second matching degree corresponding to the historical number-taking face image;
the first matching degree and the second matching degree are weighted and summed according to corresponding preset weights;
And when the final matching degree obtained by the weighted summation is greater than a preset threshold value, executing the step of sending the identity information acquisition request.
In one embodiment, before the sending the first matching request carrying the current number-taking face image to the server, the method further includes:
Transmitting a reservation verification request carrying the current number-taking face image to a server; the reservation verification request is used for indicating the server to match the current number-taking face image with a reservation face image in a database to obtain a reservation verification result and feed back the reservation verification result, wherein the reservation face image is a face image acquired and stored during remote reservation;
Analyzing the reservation verification result;
and when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists, executing the step of sending a first matching request carrying the current number-taking face image to a server.
In one embodiment, when the reservation verification result indicates that there is a reserved face image successfully matched with the current number-taking face image, the step of sending a first matching request carrying the current number-taking face image to a server includes:
When the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists and the current time is within a reservation time period, executing a step of sending a first matching request carrying the current number-taking face image to a server; the reservation time period is a reservation time period associated with the reservation face image successfully matched.
In one embodiment, the method further comprises:
Acquiring historical office matters corresponding to the user identity information;
determining a to-be-transacted advanced office corresponding to the historical office;
when the current time is within the transaction period of the advanced transaction, then
And displaying the advanced transaction.
In one embodiment, the presenting the transaction corresponding to the transaction right corresponding to the user identity information includes:
Determining the handling authority corresponding to the user identity information;
Acquiring a transaction item conforming to the transaction right;
Determining a history of completed ones of the transactions;
and eliminating the completed history office matters from the office matters, and displaying the office matters remained after elimination.
In one embodiment, the method further comprises:
When receiving feedback information sent by the server and representing that a plurality of standard facial images matched with the current number-taking facial image exist
Outputting identity verification prompt information;
receiving authentication information input aiming at the authentication prompt information;
Sending a second matching request carrying the identity verification information to the server; the second matching request is used for indicating the server to determine the standard face image matched with the identity verification information from all the standard face images matched with the current number-taking face image, and the standard face image is used as the standard face image successfully matched, and feedback a successful matching notification.
A queuing apparatus, said apparatus comprising:
The acquisition module is used for acquiring the current number-taking face image;
The matching module is used for sending a first matching request carrying the current number-taking face image to a server; the first matching request is used for indicating the server to match the current number-taking face image with a standard face image for recording;
the sending module is used for sending an identity information acquisition request after receiving a successful matching notification fed back by the server; the identity information acquisition request is used for indicating the server to search the user identity information corresponding to the standard face image successfully matched;
the display module is used for displaying the transaction matters which are consistent with the transaction authorities corresponding to the user identity information after receiving the user identity information fed back by the server;
and the number distribution module is used for receiving the instruction aiming at the displayed office, and distributing the queuing number under the appointed office for the current number-taking face image.
A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of:
Collecting a current number-taking face image;
sending a first matching request carrying the current number-taking face image to a server; the first matching request is used for indicating the server to match the current number-taking face image with a standard face image for recording;
After receiving a successful matching notice fed back by the server, sending an identity information acquisition request; the identity information acquisition request is used for indicating the server to search the user identity information corresponding to the standard face image successfully matched;
after receiving the user identity information fed back by the server, displaying a transaction item conforming to the transaction authority corresponding to the user identity information;
receiving a specified instruction aiming at the displayed office matters, and distributing queuing numbers under the specified office matters for the current number-taking face image.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
Collecting a current number-taking face image;
sending a first matching request carrying the current number-taking face image to a server; the first matching request is used for indicating the server to match the current number-taking face image with a standard face image for recording;
After receiving a successful matching notice fed back by the server, sending an identity information acquisition request; the identity information acquisition request is used for indicating the server to search the user identity information corresponding to the standard face image successfully matched;
after receiving the user identity information fed back by the server, displaying a transaction item conforming to the transaction authority corresponding to the user identity information;
receiving a specified instruction aiming at the displayed office matters, and distributing queuing numbers under the specified office matters for the current number-taking face image.
According to the queuing number-taking method, the queuing number-taking device, the computer equipment and the storage medium, when the number is taken, the current number-taking facial image is acquired, and the current number-taking facial image is matched with the standard facial image for recording, namely, the identity of the user is confirmed through face recognition, the user does not need to manually carry an identity card and brush the identity card to take the number, and the user does not need to manually input the identity card number, so that complicated manual operation steps are saved, and queuing number-taking efficiency is improved. Displaying the transaction corresponding to the transaction authority by searching the user identity information corresponding to the standard face image successfully matched, receiving and responding to a specified instruction aiming at the displayed transaction, and distributing a queuing number under the specified transaction for the current number-taking face image. Namely, the user identity information is used for directly determining the transactable business matters for the user to select, which is equivalent to primary screening for all business matters, compared with the method that the user selects business matters needing transacting from all business matters, the method saves user operation and further improves queuing and number taking efficiency.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is an application scenario diagram of a queuing method in one embodiment. Referring to fig. 1, the application scenario includes a terminal 110 and a server 120 connected through a network. The terminal 110 has an image acquisition function. The terminal 110 may integrate an image capturing device itself to implement an image capturing function. The terminal 110 may also be connected to an external image capturing device (such as an external camera), and implement an image capturing function through the external image capturing device.
The terminal 110 may be a smart television, a desktop computer, or a mobile terminal, which may include at least one of a cell phone, a tablet computer, a notebook computer, a personal digital assistant, a wearable device, and the like. The server 120 may be implemented as a stand-alone server or as a server cluster composed of a plurality of physical servers.
Terminal 110 may acquire a current numbered face image. The terminal 110 may transmit the acquired current numbered face image to the server 120 to match the current numbered face image with a standard face image for filing through the server 120. After determining the standard facial image successfully matched with the current numbered facial image, the server 120 may notify the terminal 110 of the successful matching result, and the terminal 110 may initiate an identity information acquisition request to the server 120 to request the server 120 to search for the user identity information corresponding to the successfully matched standard facial image. The terminal 110 may determine the transaction right corresponding to the found user identity information. Terminal 110 may present a transaction that matches the transaction right. The user may input a designation instruction for the presented office to designate the office to be transacted from among the presented offices. Terminal 110 may receive and respond to a specified instruction for a presented transaction by assigning a queuing number under the specified transaction.
It should be noted that the "first" and "second" in the embodiments of the present application are used for distinction only, and are not limited in terms of size, sequence, slave, etc.
FIG. 2 is a flow diagram of a queuing method in one embodiment. The queuing and number-taking method is mainly applied to a computer device for illustration, and the computer device may be the terminal 110 in fig. 1. Referring to fig. 2, the method specifically includes the steps of:
S202, collecting a current number-taking face image.
The number-taking face image refers to a face image used for number taking, namely, a face image acquired during number taking. The current number-taking face image is a face image acquired during current number taking.
It will be appreciated that the computer device acquires the current number-taking facial image via an integrated or external image acquisition device. The computer device corresponds to a number taking machine with a calculation processing function. The number taking machine is a device for distributing queuing number codes.
In one embodiment, a user may stand within an image acquisition area of a computer device such that the user's face appears within the image acquisition range of the computer device. The computer equipment can acquire the image in the image acquisition range, determine the effective acquisition range, and filter the image content outside the effective acquisition range in the image to obtain the current number-taking face image. The effective acquisition range is the distance from which the computer equipment can acquire the face image meeting the face recognition standard. It can be appreciated that in the image acquisition range outside the effective acquisition range, although the image can be acquired, the requirement of face recognition is not satisfied, that is, the face image cannot be recognized.
In one embodiment, the effective acquisition range is determined by the hardware structure of the image acquisition device and the image acquisition algorithm of the computer device. It will be appreciated that the focal length can be determined after the hardware configuration of the image acquisition device is determined.
S204, a first matching request carrying the current number-taking face image is sent to a server; and the first matching request is used for instructing the server to match the current number-taking face image with the standard face image for filing.
The standard face image for recording is provided at the time of registration. It can be understood that the standard face image for recording is the reference face image for face recognition, and if the collected current number-taking face image is successfully matched with the standard face image for recording, the face recognition can be determined to pass.
Specifically, the computer device may send a first matching request carrying the acquired current numbered facial image to the server. At least one standard face image for recording is stored in the server in advance. The first matching request is used for instructing the server to match the current number-taking face image with each pre-stored standard face image for recording.
In one embodiment, the first matching request is further configured to instruct the server to determine a matching degree between the current number-taking face image and each pre-stored standard face image for recording, and use the standard face image with the matching degree higher than the preset matching degree threshold as the standard face image with successful matching.
In one embodiment, the method further comprises: when receiving feedback information which is sent by the server and indicates that a plurality of standard face images matched with the current number-taking face image exist, outputting identity verification prompt information; receiving authentication information input aiming at the authentication prompt information; sending a second matching request carrying authentication information to a server; and the second matching request is used for indicating the server to determine the standard face image matched with the identity verification information from all the standard face images matched with the current number-taking face image, and the standard face image is used as the standard face image successfully matched and is used for feeding back a successful matching notification.
The authentication information is information for performing authentication. In one embodiment, the authentication information includes an identification card number, passport number, etc. capable of uniquely proving identity.
It will be appreciated that although the facial features of each individual are unique, there is a certain probability that there will be two different people with very similar faces, such as a twins' faces may be very similar, and that, for example, the faces of two different people may be very similar by plastic surgery. Thus, there may be more than one standard facial image that matches the current numbered facial image.
In the process of matching the current number-taking face image with the standard face image for recording, when a plurality of standard face images matched with the current number-taking face image exist, the server sends feedback information indicating that a plurality of standard face images matched with the current number-taking face image exist to the computer equipment. The computer device may output authentication prompt information to prompt the user to enter authentication information. The user may input authentication information for the authentication prompt. The computer device may send authentication information to a server, where a matching relationship between the authentication information and the standard face image used for recording is stored in the server in advance, where the authentication information is used to instruct the server to determine, from the standard face images successfully matched with the authentication information, a standard face image that is used as a final standard face image successfully matched according to the matching relationship. Further, the server may feed back a notification of successful feedback matching to the computer device.
It can be understood that the notice of successful matching refers to a notice of successful matching of the current number-taking face image with the standard face image for recording, that is, a notice that the standard face image successfully matched with the current number-taking face image has been determined.
S206, after receiving a successful matching notice fed back by the server, sending an identity information acquisition request; and the identity information acquisition request is used for indicating the server to search the user identity information corresponding to the standard face image successfully matched.
In one embodiment, the match success notification may include a first degree of match between the current numbered face image and a standard face image that was successfully matched. It will be appreciated that in other embodiments, the match success notification may also be information that is used only to notify that there is a standard facial image that successfully matched the current numbered facial image.
The identity information acquisition request is a request for acquiring identity information. User identity information is information characterizing the identity of a user. The user identification information includes at least one of a user name, age, identification number, passport number, driver's license number, and the like. It will be appreciated that the user identity information is provided at registration.
Specifically, after determining the standard face image successfully matched with the current number-taking face image, the server feeds back a successful matching notification to the computer equipment. After receiving the matching success notification fed back by the server, the computer device may send an identity information acquisition request to the server. The corresponding relation between the user identity information and the standard face image for recording is stored in the server in advance, and the server can respond to the identity information acquisition request and search the user identity information corresponding to the standard face image successfully matched according to the corresponding relation. The server may feed back the found user identity information to the computer device.
And S208, after receiving the user identity information fed back by the server, displaying the transaction matters conforming to the transaction authorities corresponding to the user identity information.
The transaction right is right for handling the transaction matters. The transaction right is used for determining specific transactions which can be transacted by the user.
In one embodiment, the identity information obtaining request is further used for indicating the server to feed back the handling authority corresponding to the identity information of the user. The corresponding relation between the handling authority and the user identity information is prestored in the server. The server can determine the corresponding handling authority of the searched user identity information according to the corresponding relation between the pre-stored handling authority and the user identity information. The server may feed back the determined transaction rights to the computer device.
In another embodiment, the server may determine the corresponding handling authority according to the user identity information according to the preset authority allocation principle. The handling authority corresponding to the user identity information can be determined by matching the user identity information with the authority allocation principle. In another embodiment, the user may customize the handling authority during registration, and the server may store the handling authority selected by the user in correspondence with the user identity information. I.e. the handling rights corresponding to the user identity information may be obtained by user definition during registration.
The association between the transaction right and the transaction is stored in the computer device in advance, and the computer device can determine the transaction conforming to the determined transaction right in the association. It is understood that a transaction that matches the administrative rights refers to a transaction that the user has the administrative rights to transact.
S210, receiving a specified instruction aiming at the displayed office, and distributing a queuing number under the specified office for the current number-taking face image.
Specifically, the user may perform a specified operation on the presented office to input a corresponding specified instruction for the presented office, and the computer device may receive the input specified instruction. The computer device may determine the specified transaction in response to the specified instruction. The computer device may determine a queuing queue for the specified transaction, and assign a queuing number corresponding to the specified transaction to the currently-fetched facial image based on the queuing number already present in the queuing queue. The computer device may add the newly allocated queuing number to the queuing queue.
It will be appreciated that the computer device may determine, from among the queue numbers already present in the queue, a queue number currently located at the end of the queue, and allocate a new queue number to the currently-taken face image based on the queue number located at the end of the queue, the newly-allocated queue number being later than the queue number currently located at the end of the queue.
According to the queuing number-taking method, when the number is taken, the current number-taking facial image is collected, and the current number-taking facial image is matched with the standard facial image for recording, namely, the identity of the user is confirmed through face recognition, the user does not need to manually carry an identity card and brush the identity card to take the number, the user does not need to manually input the identity card number, complicated manual operation steps are saved, and queuing number-taking efficiency is improved. Displaying the transaction corresponding to the transaction authority by searching the user identity information corresponding to the successfully matched standard face image, receiving and responding to the appointed instruction aiming at the displayed transaction, and distributing the queuing number under the appointed transaction. Namely, the user identity information is used for directly determining the transactable business matters for the user to select, which is equivalent to primary screening for all business matters, compared with the method that the user selects business matters needing transacting from all business matters, the method saves user operation and further improves queuing and number taking efficiency.
As shown in fig. 3, in one embodiment, the method further includes a joint matching step, specifically including the following steps:
S302, acquiring a first matching degree included in the matching success notification, wherein the first matching degree is the matching degree between the current number-taking face image and the standard face image which is successfully matched.
Specifically, when the server matches the current number-taking face image with the standard face image for recording, the matching degree of the current number-taking face image and each standard face image is determined, the standard face image successfully matched with the current number-taking face image is determined according to the matching degree, and the server can carry the first matching degree of the current number-taking face image and the standard face image successfully matched in the success notification of the matching so as to feed back the first matching degree to the computer equipment.
S304, determining that the standard face image successfully matched with the user corresponds to the historical number-taking face image of the same user.
The historical number-taking face image refers to a face image acquired during past historical number taking. It will be understood that corresponding to the same user means that the standard face image that is successfully matched and the determined historical numbered face image belong to the same face image of the user.
In one embodiment, the computer device may obtain a user identification corresponding to the successfully matched standard facial image from the server. The corresponding relation between the user identification and the historical number-taking face image is stored in the computer equipment in advance, and the computer equipment can acquire the historical number-taking face image corresponding to the acquired user identification according to the corresponding relation. It should be noted that, the history number-taking face image stored in the computer device in advance may be a history number-taking face image collected by the computer device itself, or may be a history number-taking face image collected by the computer device itself and pulled from the server, and may include a history number-taking face image collected by the computer device itself and a history number-taking face image collected by another device.
In other embodiments, after obtaining the user identifier corresponding to the standard face image that is successfully matched, the computer device sends a historical number-taking face image obtaining request to the server based on the user identifier, so that the server searches for a historical number-taking face image corresponding to the user identifier according to the historical number-taking face image obtaining request, and feeds back the historical number-taking face image to the computer device.
S306, matching the current number-taking face image with the historical number-taking face image to obtain a second matching degree corresponding to the historical number-taking face image.
Specifically, the computer device may match the current number-taking face image with the historical number-taking face image to obtain a second matching degree of the current number-taking face image corresponding to the historical number-taking face image.
In one embodiment, the computer device may extract facial feature data of the current number-taking facial image and the historical number-taking facial image respectively, and compare the extracted facial feature data with each other in similarity, to obtain a second matching degree corresponding to the current number-taking facial image and the historical number-taking facial image.
And S308, carrying out weighted summation on the first matching degree and the second matching degree according to corresponding preset weights.
Specifically, preset weights are allocated to the standard face image and the historical number-taking face image in the computer equipment in advance, the preset weight of the first matching degree is the preset weight allocated to the standard face image, and the preset weight of the second matching degree is the preset weight allocated to the historical number-taking face image. The computer device may perform weighted summation on the first matching degree and the second matching degree according to corresponding preset weights, so as to obtain a final matching degree.
For example, 60% of preset weight is allocated to the standard face image, and 40% of preset weight is allocated to the historical numbered face image, so that the final matching degree=60% of the first matching degree+40% of the second matching degree.
It can be understood that when there are a plurality of historical number-taking face images, corresponding second matching degrees can be calculated for each historical number-taking face image respectively, and then preset weights distributed for the historical number-taking face images are divided again according to the determined number of the historical number-taking face images, so that corresponding second-level weights of each historical number-taking face image are obtained; and the sum of the corresponding secondary weights of the historical number-taking face images is equal to the preset weight distributed for the historical number-taking face images.
In one embodiment, the computer device may randomly or uniformly divide the preset weights assigned to the historical numbered face images by the number of historical numbered face images. In another embodiment, the computer device may also divide the preset weights allocated to the historical numbered face images again according to the distance between the current time and the time of the number taking time of each historical numbered face image. The size of the secondary weight of each historical number-taking face image is inversely related to the distance between the number-taking times of each historical number-taking face image and the current time, namely the closer the number-taking time of each historical number-taking face image is to the current time, the larger the secondary weight is, otherwise, the farther the number-taking time of each historical number-taking face image is to the current time, the smaller the secondary weight is.
For example, a preset weight of 40% is assigned to the historical numbered face images, wherein 2 historical numbered face images a and B are determined, and then the secondary weight corresponding to each historical numbered face image may be 20%. The method can divide the historical number-taking face image A with the number-taking time being closer to the current time by 25 percent, and divide the historical number-taking face image B with the number-taking time being closer to the current time by 15 percent.
And S310, when the final matching degree obtained by the weighted summation is greater than a preset threshold value, executing the step of sending an identity information acquisition request.
It can be understood that when the final matching degree obtained by the weighted summation is greater than the preset threshold, the matching degree is higher, and the matching is successful, that is, the face recognition is successful, the step of sending the identity information acquisition request can be performed.
In the embodiment, the standard face image and the historical number-taking face image are combined to perform face recognition processing, so that the accuracy of face recognition is improved, and the accuracy of queuing number taking is further improved.
In one embodiment, before the sending the first matching request carrying the current numbered face image to the server in step S204, the method further includes: transmitting a reservation verification request carrying the current number-taking face image to a server; the reservation verification request is used for indicating the server to match the current number-taking face image with a reservation face image in a database to obtain a reservation verification result and feed back the reservation verification result, wherein the reservation face image is a face image acquired and stored during remote reservation; analyzing the reservation verification result; and when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists, executing to send a first matching request carrying the current number-taking face image to a server.
Specifically, before the number is taken, the user can also reserve in a remote mode, and the face image of the user who carries out reservation can be acquired and stored in a database during reservation, namely the reserved face image. It will be appreciated that the database may be a database in a server. Here, the remote mode means that the reservation operation is not performed locally on the computer device.
The computer device may send a reservation verification request to the server carrying the current numbered face image. The reservation verification request is a request for verifying whether the user corresponding to the current number-taking face image has reserved or not. And the reservation verification request is used for indicating the server to match the current number-taking face image with the reservation face image in the database so as to verify whether the user reserved and taking the number is the same person or not, thereby improving the safety. The server can obtain the reservation verification result after the matching process is completed and feed the reservation verification result back to the computer equipment. It will be appreciated that the reservation verification result includes the presence of a successful reservation face image matching the current numbered face image or the absence of a successful reservation face image matching the current numbered face image.
The computer device may parse the subscription verification result fed back by the server. When it is analyzed that the reservation verification result is that there is a reservation face image successfully matched with the current number-taking face image, the computer device may further execute step S204 to send a first matching request carrying the current number-taking face image to the server.
It is understood that when the reservation verification result is that there is no reservation face image successfully matched with the current number-taking face image, the computer apparatus may not perform step S204 but generate reservation cue information. At this time, the user needs to perform a reservation operation, for example, a remote reservation operation through a mobile terminal such as a mobile phone, to acquire a reserved face image and store the reserved face image in a database.
In one embodiment, when the reservation verification result is that there is a reservation face image successfully matched with the current number-taking face image, the step of re-executing the first matching request carrying the current number-taking face image to the server includes: when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists and the current time is within the reservation time period, the step of sending a first matching request carrying the current number-taking face image to a server is executed again; the reservation time period is a reservation time period associated with the reservation face image successfully matched.
It is understood that the user may input a reservation period when performing a reservation operation, and the server may establish an association relationship between the input reservation period and the reservation face image. After confirming the reservation face image successfully matched with the current number-taking face image, the server can acquire the reservation time period associated with the reservation face image successfully matched according to the pre-established association relation. The server may determine whether the current time is within the reserved time period, and generate a reserved verification result according to the determination result. It is to be appreciated that the reservation verification result may include that there is a successful reservation face image matching the current numbered face image and that the current time is within a reservation period associated with the successful reservation face image. The reservation verification result may also include that there is a reservation face image that successfully matches the current numbered face image, and that the current time is outside of a reservation period associated with the successfully matched reservation face image.
It should be noted that, when there is no reserved face image successfully matched with the current number-taking face image, the judgment of whether the current time period is within the reserved time period may not be performed, and then the reserved verification result may include information that there is no reserved face image successfully matched with the current number-taking face image, but does not include information whether the current time is within the reserved time period.
It may be understood that, when the reservation verification result is that there is a reservation face image that is successfully matched with the current number-taking face image and the current time is outside the reservation period associated with the reservation face image that is successfully matched, or the reservation verification result is that there is no reservation face image that is successfully matched with the current number-taking face image, the computer device may not execute step S204 and generate the reservation cue information.
When the reservation verification result is that there is a reservation face image successfully matched with the current number-taking face image and the current time is within the reservation time period associated with the reservation face image successfully matched, the computer device may execute step S204 to send a first matching request carrying the current number-taking face image to the server. In this embodiment, when it is determined that the current time of the number taking is within the reservation time period and it is verified that the user reserved and the number taking is the same person, the current number taking face image is matched with the standard face to perform face recognition processing, so that the reservation effectiveness is ensured, and the safety is further improved.
In one embodiment, when the reservation verification result is that there is a reservation face image successfully matched with the current number-taking face image, the first matching request sent in step S204 is executed, and the first matching request is further used for instructing the server to reduce the matching degree threshold; and matching the current number-taking face image with the standard face image for recording to obtain corresponding matching degree, and taking the standard face image corresponding to the matching degree larger than the reduced matching degree threshold value as the standard face image matched with the current number-taking face image.
It can be understood that when there is only one standard face image matched with the current number-taking face image, the standard face image is the successfully matched standard face image; when there are a plurality of standard face images matched with the current number-taking face image, the server can send feedback information indicating that there are a plurality of standard face images matched with the current number-taking face image to the computer device, and after the computer device receives the feedback information, the step of outputting the identity verification prompt information can be executed.
In this embodiment, the matching of the current face image with the reserved face image is equivalent to performing primary face recognition according to the reserved face image, and when the primary face recognition passes, it is explained that the current face image is approved to a certain extent, then the matching degree threshold can be reduced when the current face image is matched with the standard face image, and since the primary recognition has been performed on the current face image, the matching degree threshold is reduced, and the matched standard face image also has certain accuracy. Because the influence of the surrounding environment can be possibly caused when the number is fetched on site, the accuracy of face recognition can be unavoidably influenced, and therefore, when primary face recognition is carried out according to the reserved face image, the matching degree threshold is reduced to match the standard face image, and the accurate standard face image can be matched under the influence of the number fetching environment on site.
In one embodiment, after receiving the matching success notification fed back by the server, the computer device may further obtain a third matching degree of the current number-taking face image and the successfully-matched reserved face image, and obtain a first matching degree of the current number-taking face image and the successfully-matched standard face image; and carrying out weighted summation on the first matching degree and the third matching degree according to corresponding preset weights, and executing the step of sending the identity information acquisition request when the matching degree obtained by weighted summation is larger than a preset matching degree threshold value. In this embodiment, the reserved face image and the standard face image are combined to perform face recognition, so that accuracy of face recognition is improved, and accuracy of queuing and number taking is improved.
In the above embodiment, after verifying that the user who subscribes and takes the number is the same person, the consistency of the face image of taking the number and the standard face image of the record is verified, so that the effectiveness of the subscription is ensured, the user who does not subscribe is prevented from taking the number, and primary identity verification can be performed through subscription, thereby improving the security of queuing and taking the number. In addition, resources can be allocated in advance according to reservation conditions by means of reservation in advance, and the rationality of resource allocation is improved.
In one embodiment, the method further comprises: acquiring historical office matters corresponding to the user identity information; determining advanced office matters to be transacted corresponding to the historical office matters; when the current time is within the transaction period of the advanced transaction, the advanced transaction is presented.
Wherein the history of transactions is already transacted. Advanced office work refers to a office work that needs to be done next after the last office work is done. It will be appreciated that typically a single thing requires several stages of transactions to complete. The transaction period is the expiration date of the transaction event.
In one embodiment, the computer device may obtain the historical office corresponding to the user identity information locally and obtain the advanced office to be transacted corresponding to the historical office locally.
Specifically, each time a user takes a number on a computer device, the computer device may store user identity information locally to the computer device corresponding to the transaction selected at the time the number was taken. Thus, the computer device can locally obtain historical offices corresponding to the user identity information. The computer device may also acquire and record a transaction result sent by the transaction device after the user transacts a transaction, and the computer device may determine, according to the recorded transaction result, an advanced transaction to be transacted corresponding to the history transaction.
In another embodiment, the computer device may also obtain historical office details corresponding to the user identity information from the server. The computer device may determine advanced office to be transacted corresponding to the acquired historical office based on the locally stored office flow direction guide data.
The computer device may obtain the deadline of the advanced office item from the server or locally and compare the current time to the deadline of the advanced office item, and when the current time is within the deadline of the advanced office item, then the advanced office item is presented.
In the embodiment, through intelligent analysis, the advanced office matters possibly needing to be transacted by the user are automatically determined and displayed to the user, so that the accuracy of the displayed office matters is improved, the user can select the required office matters more quickly and accurately, and the queuing and number taking efficiency is improved.
As shown in fig. 4, in one embodiment, step S208 of presenting a transaction (abbreviated as a transaction presenting step) conforming to the transaction right corresponding to the user identity information includes:
s402, determining the handling authority corresponding to the searched user identity information.
In one embodiment, the computer device may obtain the transaction right corresponding to the found user identity information, which is fed back by the server according to the indication of the identity information obtaining request. Specifically, the identity information obtaining request is further used for indicating the server to feed back the handling authority corresponding to the user identity information. The corresponding relation between the handling authority and the user identity information is prestored in the server. The server can determine the corresponding handling authority of the searched user identity information according to the corresponding relation between the pre-stored handling authority and the user identity information. The server may feed back the determined transaction rights to the computer device.
In another embodiment, the server may determine the corresponding handling authority according to the user identity information according to the preset authority allocation principle. The handling authority corresponding to the user identity information can be determined by matching the user identity information with the authority allocation principle. In another embodiment, the user may customize the handling authority during registration, and the server may store the handling authority selected by the user in correspondence with the user identity information. I.e. the handling rights corresponding to the user identity information may be obtained by user definition during registration.
S404, acquiring the transaction matters conforming to the transaction authorities.
Specifically, the association relationship between the transaction right and the transaction matters is stored in the computer device in advance, and the computer device can determine the transaction matters conforming to the determined transaction right in the association relationship. It is understood that a transaction that matches the administrative rights refers to a transaction that the user has the administrative rights to transact.
S406, determining the completed history office matters in the offices.
In particular, the computer device may determine completed historical offices corresponding to the user identity information based on locally recorded office results. Further, the computer device may determine completed historical office matters included in the office matters conforming to the office rights.
S408, the completed history office matters are removed from the office matters, and the remaining office matters after removal are displayed.
In particular, the computer device may eliminate completed historical office matters from office matters conforming to the office rights. The computer device may determine the remaining transactions that are consistent with the transaction right after the completed historical transactions are removed, and in turn, the computer device may display the remaining transactions.
In the embodiment, through intelligent analysis, the completed history office matters conforming to the office authority are automatically removed, so that unnecessary office matters are reduced to be displayed, the accuracy of the displayed office matters is improved, and further, a user can select the required office matters more quickly and accurately, and the queuing and number taking efficiency is improved.
As shown in fig. 5, in one embodiment, a queuing apparatus 500 is provided, the apparatus 500 comprising: acquisition module 502, matching module 504, sending module 506, presentation module 508, and number assignment module 510, wherein:
The acquisition module 502 is configured to acquire a current number-taking facial image.
A matching module 504, configured to send a first matching request carrying the current numbered face image to a server; and the first matching request is used for instructing the server to match the current number-taking face image with the standard face image for filing.
A sending module 506, configured to send an identity information obtaining request after receiving a successful notification of matching fed back by the server; and the identity information acquisition request is used for indicating the server to search the user identity information corresponding to the standard face image successfully matched.
And the display module 508 is used for displaying the transaction matters which are consistent with the transaction authorities corresponding to the user identity information after receiving the user identity information fed back by the server.
The number allocation module 510 is configured to receive a specific instruction for a presented office, and allocate a queuing number under the specific office to the current number-taking face image.
In one embodiment, the matching module 504 is further configured to obtain a first matching degree included in the notification of success of the obtaining of the matching, where the first matching degree is a matching degree between the current numbered face image and the standard face image that is successful in matching; determining that the standard face image successfully matched corresponds to the historical number-taking face image of the same user; matching the current number-taking face image with the historical number-taking face image to obtain a second matching degree corresponding to the historical number-taking face image; carrying out weighted summation on the first matching degree and the second matching degree according to corresponding preset weights; when the final matching degree obtained by the weighted summation is greater than the preset threshold, the sending module 506 is informed to execute the step of sending the identity information obtaining request.
In one embodiment, the sending module 506 is further configured to send a reservation verification request carrying the current numbered face image to the server; the reservation verification request is used for indicating the server to match the current number-taking face image with the reservation face image in the database to obtain a reservation verification result and feed back the reservation verification result, wherein the reservation face image is acquired and stored during remote reservation.
The matching module 504 is further configured to parse a reservation verification result fed back by the server; and when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists, executing the step of sending a first matching request carrying the current number-taking face image to the server.
In one embodiment, the matching module 504 is further configured to, when the reservation verification result is that there is a reserved face image that is successfully matched with the current number-taking face image and the current time is within the reserved time period, re-execute the step of sending a first matching request carrying the current number-taking face image to the server; the reservation time period is a reservation time period associated with the reservation face image successfully matched.
As shown in fig. 6, in one embodiment, the apparatus 500 further comprises:
a history item acquisition module 507a, configured to acquire a history transaction item corresponding to the user identity information.
The advanced matters determining module 507b is configured to determine advanced matters to be transacted corresponding to the history transaction matters.
The presentation module 508 is further configured to present the advanced transaction when the current time is within a transaction period of the advanced transaction.
In one embodiment, the presentation module 508 is further configured to determine a transaction right corresponding to the found user identity information; acquiring a transaction item conforming to the transaction right; determining a history of completed ones of the transactions; and eliminating the completed history office matters from the office matters conforming to the office rights, and displaying the office matters remained after elimination.
As shown in fig. 7, in one embodiment, the apparatus 500 further comprises:
the verification prompt module 505 is configured to output an identity verification prompt when receiving feedback information sent by the server, where the feedback information indicates that there are a plurality of standard facial images matched with the current number-taking facial image; and receiving the identity verification information input aiming at the identity verification prompt information.
The sending module 506 is further configured to send a second matching request carrying authentication information to the server; and the second matching request is used for indicating the server to determine the standard face image matched with the identity verification information from all the standard face images matched with the current number-taking face image, and the standard face image is used as the standard face image successfully matched and is used for feeding back a successful matching notification.
FIG. 8 is a schematic diagram of the internal structure of a computer device in one embodiment. Referring to fig. 8, the computer device may be the terminal 110 shown in fig. 1. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device may store an operating system and a computer program. The computer program, when executed, may cause the processor to perform a queuing method. The processor of the computer device is used to provide computing and control capabilities, supporting the operation of the entire computer device. The internal memory may store a computer program which, when executed by the processor, causes the processor to perform a queuing method. The network interface of the computer device is used for network communication. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, etc. The input device of the computer equipment can be a touch layer covered on a display screen, can be keys, a track ball or a touch pad arranged on a terminal shell, and can also be an external keyboard, a touch pad or a mouse and the like. The computer device may be a personal computer, a mobile terminal or a vehicle-mounted device, the mobile terminal including at least one of a cell phone, a tablet computer, a personal digital assistant or a wearable device, etc.
It will be appreciated by those skilled in the art that the structure shown in FIG. 8 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the queuing and number taking apparatus provided by the present application may be implemented in a form of a computer program, where the computer program may run on a computer device as shown in fig. 8, and a nonvolatile storage medium of the computer device may store various program modules that make up the queuing and number taking apparatus, for example, the acquisition module 502, the matching module 504, the sending module 506, the display module 508, and the number allocation module 510 shown in fig. 8. The computer program formed by the program modules is used for making the computer device execute the steps in the queuing method according to the embodiments of the present application described in the present specification, for example, the computer device may collect the current queuing facial image through the collection module 502 in the queuing apparatus 500 shown in fig. 5, and send a first matching request carrying the current queuing facial image to the server through the matching module 504; and the first matching request is used for instructing the server to match the current number-taking face image with the standard face image for filing. The computer equipment can send an identity information acquisition request through the sending module 506 after receiving a successful notification of the matching fed back by the server; and the identity information acquisition request is used for indicating the server to search the user identity information corresponding to the standard face image successfully matched. The computer device may display, through the display module 508, a transaction item corresponding to the transaction authority corresponding to the user identity information after receiving the user identity information fed back by the server. The computer device may receive a designation instruction for a presented transaction via the number assignment module 510 and assign a queuing number under the designated transaction to the current fetch face image.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of: collecting a current number-taking face image; sending a first matching request carrying the current number-taking face image to a server; the first matching request is used for indicating the server to match the current number-taking face image with the standard face image for recording; after receiving a successful matching notice fed back by the server, sending an identity information acquisition request; an identity information acquisition request, which is used for indicating a server to search user identity information corresponding to the standard face image successfully matched; after receiving user identity information fed back by the server, displaying a transaction item conforming to the transaction authority corresponding to the user identity information; receiving a specified instruction aiming at the displayed office, and distributing a queuing number under the specified office for the current number-taking face image.
In one embodiment, a computer program, when executed by a processor, causes the processor to perform the steps of: acquiring a first matching degree included in the successful matching notification, wherein the first matching degree is the matching degree between the current number-taking face image and the standard face image which is successfully matched; determining that the standard face image successfully matched corresponds to the historical number-taking face image of the same user; matching the current number-taking face image with the historical number-taking face image to obtain a second matching degree corresponding to the historical number-taking face image; carrying out weighted summation on the first matching degree and the second matching degree according to corresponding preset weights; and when the final matching degree obtained by the weighted summation is greater than a preset threshold value, executing the step of sending an identity information acquisition request.
In one embodiment, before sending a first matching request carrying a current numbered face image to a server, the computer program, when executed by the processor, causes the processor to perform the steps of: transmitting a reservation verification request carrying the current number-taking face image to a server; the reservation verification request is used for indicating the server to match the current number-taking face image with the reservation face image in the database to obtain a reservation verification result and feeding back the reservation verification result, wherein the reservation face image is acquired and stored during remote reservation; analyzing the reservation verification result fed back by the server; and when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists, executing the step of sending a first matching request carrying the current number-taking face image to the server.
In one embodiment, when the reservation verification result is that there is a reservation face image successfully matched with the current number-taking face image, the step of re-executing the first matching request carrying the current number-taking face image to the server includes: when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists and the current time is within the reservation time period, the step of sending a first matching request carrying the current number-taking face image to a server is executed again; the reservation time period is a reservation time period associated with the reservation face image successfully matched. .
In one embodiment, a computer program, when executed by a processor, causes the processor to perform the steps of: acquiring historical office matters corresponding to the user identity information; determining advanced office matters to be transacted corresponding to the historical office matters; when the current time is within the transaction period of the advanced transaction, the advanced transaction is presented.
In one embodiment, presenting a transaction that matches the transaction rights corresponding to the user identity information includes: determining a handling authority corresponding to the user identity information; acquiring a transaction item conforming to the transaction right; determining a history of completed ones of the transactions; and eliminating the completed history office matters from the office matters, and displaying the office matters remained after eliminating.
In one embodiment, a computer program, when executed by a processor, causes the processor to perform the steps of: when feedback information which is sent by a server and indicates that a plurality of standard face images matched with the current number-taking face image exist is received, identity verification prompt information is output; receiving authentication information input aiming at the authentication prompt information; sending a second matching request carrying authentication information to a server; and the second matching request is used for indicating the server to determine the standard face image matched with the identity verification information from all the standard face images matched with the current number-taking face image, and the standard face image is used as the standard face image successfully matched and is used for feeding back a successful matching notification.
A storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of: collecting a current number-taking face image; sending a first matching request carrying the current number-taking face image to a server; the first matching request is used for indicating the server to match the current number-taking face image with the standard face image for recording; after receiving a successful matching notice fed back by the server, sending an identity information acquisition request; an identity information acquisition request, which is used for indicating a server to search user identity information corresponding to the standard face image successfully matched; after receiving user identity information fed back by the server, displaying a transaction item conforming to the transaction authority corresponding to the user identity information; receiving a specified instruction aiming at the displayed office, and distributing a queuing number under the specified office for the current number-taking face image.
In one embodiment, a computer program, when executed by a processor, causes the processor to perform the steps of: acquiring a first matching degree included in the successful matching notification, wherein the first matching degree is the matching degree between the current number-taking face image and the standard face image which is successfully matched; determining that the standard face image successfully matched corresponds to the historical number-taking face image of the same user; matching the current number-taking face image with the historical number-taking face image to obtain a second matching degree corresponding to the historical number-taking face image; carrying out weighted summation on the first matching degree and the second matching degree according to corresponding preset weights; and when the final matching degree obtained by the weighted summation is greater than a preset threshold value, executing the step of sending an identity information acquisition request.
In one embodiment, before sending a first matching request carrying a current numbered face image to a server, the computer program, when executed by the processor, causes the processor to perform the steps of: transmitting a reservation verification request carrying the current number-taking face image to a server; the reservation verification request is used for indicating the server to match the current number-taking face image with the reservation face image in the database to obtain a reservation verification result and feeding back the reservation verification result, wherein the reservation face image is acquired and stored during remote reservation; analyzing the reservation verification result fed back by the server; and when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists, executing the step of sending a first matching request carrying the current number-taking face image to the server.
In one embodiment, when the reservation verification result is that there is a reservation face image successfully matched with the current number-taking face image, the step of re-executing the first matching request carrying the current number-taking face image to the server includes: when the reservation verification result is that the reservation face image successfully matched with the current number-taking face image exists and the current time is within the reservation time period, the step of sending a first matching request carrying the current number-taking face image to a server is executed again; the reservation time period is a reservation time period associated with the reservation face image successfully matched. .
In one embodiment, a computer program, when executed by a processor, causes the processor to perform the steps of: acquiring historical office matters corresponding to the user identity information; determining advanced office matters to be transacted corresponding to the historical office matters; when the current time is within the transaction period of the advanced transaction, the advanced transaction is presented.
In one embodiment, presenting a transaction that matches the transaction rights corresponding to the user identity information includes: determining a handling authority corresponding to the user identity information; acquiring a transaction item conforming to the transaction right; determining a history of completed ones of the transactions; and eliminating the completed history office matters from the office matters, and displaying the office matters remained after eliminating.
In one embodiment, a computer program, when executed by a processor, causes the processor to perform the steps of: when feedback information which is sent by a server and indicates that a plurality of standard face images matched with the current number-taking face image exist is received, identity verification prompt information is output; receiving authentication information input aiming at the authentication prompt information; sending a second matching request carrying authentication information to a server; and the second matching request is used for indicating the server to determine the standard face image matched with the identity verification information from all the standard face images matched with the current number-taking face image, and the standard face image is used as the standard face image successfully matched and is used for feeding back a successful matching notification.
It should be understood that although the steps in the embodiments of the present application are not necessarily performed sequentially in the order indicated by the step numbers. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.