[go: up one dir, main page]

CN111539794A - Voucher information acquisition method and device, electronic equipment and storage medium - Google Patents

Voucher information acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111539794A
CN111539794A CN202010349217.9A CN202010349217A CN111539794A CN 111539794 A CN111539794 A CN 111539794A CN 202010349217 A CN202010349217 A CN 202010349217A CN 111539794 A CN111539794 A CN 111539794A
Authority
CN
China
Prior art keywords
target object
information
target
candidate
credential information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010349217.9A
Other languages
Chinese (zh)
Inventor
王京
郭凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010349217.9A priority Critical patent/CN111539794A/en
Publication of CN111539794A publication Critical patent/CN111539794A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a certificate information acquisition method and device, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring an image of a target object; acquiring identity information of a target object according to a face recognition result of the image; performing augmented reality on the image to obtain the attribute characteristics of the target object; determining at least one candidate certificate information matched with the target object according to the identity information and the attribute characteristics of the target object; and displaying at least one candidate voucher information, responding to the fact that the target voucher information in the at least one candidate voucher information is selected, and acquiring the target voucher information according to the identity information of the target object. The method does not require the target object to manually select the target credential information, nor does the target object need to manually input the identity information of the target object. Therefore, the efficiency of obtaining the target certificate information can be improved, the time for determining the target certificate information is saved, and the experience of the target object can be improved.

Description

Voucher information acquisition method and device, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for acquiring credential information, electronic equipment and a storage medium.
Background
With the continuous development of computer technology, more and more application programs provide the function of acquiring the credential information on line without queuing to the field for acquisition.
In the related art, an application program supporting online acquisition of credential information is run in an electronic device. For example, taking the voucher information as a ticket for a scenic spot as an example, the application supports online purchasing of tickets for the scenic spot, and the target object enters the name of the target scenic spot in the application. And clicking a search button to obtain all ticket information sold in the target scenic spot. And selecting one type of ticket information from all the ticket information, clicking a confirmation operation, and jumping to an identity information filling interface. And the target object manually inputs the identity information of ticket purchasing personnel in the identity information filling interface, and then pays for the entrance ticket so as to complete the flow of purchasing the entrance ticket in the scenic spot.
However, the above method for acquiring credential information requires the target object to manually input the identity information of the ticket buyer, which is tedious in operation steps, low in acquisition efficiency, and prone to cause waste of time and cost, and also reduces the use experience of the target object.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring credential information, electronic equipment and a storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a credential information obtaining method, where the method includes:
acquiring an image of a target object;
acquiring the identity information of the target object according to the face recognition result of the image;
carrying out augmented reality on the image to obtain the attribute characteristics of the target object;
determining at least one candidate certificate information matched with the target object according to the identity information and the attribute characteristics of the target object;
and displaying the at least one candidate voucher information, responding to the fact that target voucher information in the at least one candidate voucher information is selected, and acquiring the target voucher information according to the identity information of the target object.
In a possible implementation manner, the determining, according to the identity information and the attribute feature of the target object, at least one candidate credential information that matches the target object includes:
predicting a destination address reached by the target object, and acquiring credential information corresponding to the destination address;
and determining at least one candidate credential information matched with the target object in the credential information corresponding to the destination address according to the identity information and the attribute characteristics of the target object.
In a possible implementation manner, the predicting a destination address reached by the target object includes:
predicting a destination address to which the target object arrives based on the geographic location service;
or receiving an acquisition request of the credential information corresponding to the destination address, and predicting the destination address reached by the target object according to the acquisition request.
In a possible implementation, the presenting the at least one candidate credential information includes:
in response to a plurality of candidate credential information, calculating a matching degree of each candidate credential information of the plurality of candidate credential information with the target object;
and sequencing the candidate voucher information according to the matching degree, and displaying the candidate voucher information according to a sequencing result.
In a possible implementation manner, the obtaining identity information of the target object according to the face recognition result of the image includes:
inputting the face recognition result of the target object into a target identity recognition model, wherein the target identity recognition model is used for determining the identity information of the target object according to the face recognition result of the target object;
and acquiring the identity information of the target object based on the output result of the target identity recognition model.
In one possible implementation, before the inputting the face recognition result of the target object into the target identification model, the method further includes:
acquiring a face recognition result and identity information in a face library;
and training the initial identity recognition model based on the face recognition result and the identity information to obtain a target identity recognition model.
In a possible implementation manner, the obtaining identity information of the target object according to the face recognition result of the image includes:
sending the face recognition result of the image to a first server, and receiving the identity information of the target object returned by the first server based on the face recognition result;
the determining at least one candidate credential information matched with the target object according to the identity information and the attribute characteristics of the target object includes:
and sending the identity information and the attribute characteristics of the target object to a second server, and receiving at least one candidate credential information which is returned by the second server based on the identity information and the attribute characteristics of the target object and is matched with the target object.
On the other hand, an embodiment of the present application provides an apparatus for acquiring credential information, where the apparatus includes:
the first acquisition module is used for acquiring an image of a target object;
the second acquisition module is used for acquiring the identity information of the target object according to the face recognition result of the image;
the third acquisition module is used for performing augmented reality on the image to obtain the attribute characteristics of the target object;
the determining module is used for determining at least one candidate certificate information matched with the target object according to the identity information and the attribute characteristics of the target object;
the display module is used for displaying the at least one candidate certificate information;
and the fourth obtaining module is used for responding to the fact that target certificate information in the candidate certificate information is selected, and obtaining the target certificate information according to the identity information of the target object.
In a possible implementation manner, the determining module is configured to predict a destination address where the target object arrives, and obtain credential information corresponding to the destination address; and determining at least one candidate credential information matched with the target object in the credential information corresponding to the destination address according to the identity information and the attribute characteristics of the target object.
In a possible implementation manner, the determining module is configured to predict a destination address to which the target object arrives based on a geographic location service; or receiving an acquisition request of the credential information corresponding to the destination address, and predicting the destination address reached by the target object according to the acquisition request.
In a possible implementation manner, the presentation module is configured to calculate, in response to a plurality of candidate credential information, a matching degree of each candidate credential information of the plurality of candidate credential information with the target object; and sequencing the candidate voucher information according to the matching degree, and displaying the candidate voucher information according to a sequencing result.
In a possible implementation manner, the second obtaining module is configured to input a face recognition result of the target object into a target identity recognition model, where the target identity recognition model is configured to determine identity information of the target object according to the face recognition result of the target object; and acquiring the identity information of the target object based on the output result of the target identity recognition model.
In a possible implementation manner, the second obtaining module is further configured to obtain a face recognition result and identity information in the face library; and training the initial identity recognition model based on the face recognition result and the identity information to obtain a target identity recognition model.
In a possible implementation manner, the second obtaining module is configured to send a facial recognition result of the image to a first server, and receive identity information of the target object returned by the first server based on the facial recognition result;
the determining module is used for sending the identity information and the attribute characteristics of the target object to a second server and receiving at least one candidate credential information which is returned by the second server based on the identity information and the attribute characteristics of the target object and is matched with the target object.
In another aspect, an electronic device is provided, where the electronic device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement any one of the above-mentioned credential information obtaining methods.
In another aspect, a computer-readable storage medium is provided, where at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to implement any one of the above-mentioned credential information obtaining methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
the technical scheme provided by the embodiment of the application can match the target object with the proper target certificate information based on the identity information and the attribute characteristics of the target object, and the method does not need the target object to manually select the target certificate information and does not need the target object to manually input the identity information of the target object. Therefore, the efficiency of obtaining the target certificate information can be improved, the time for determining the target certificate information is saved, and the experience of the target object can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a credential information obtaining method according to an embodiment of the present application;
fig. 2 is a flowchart of a credential information obtaining method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface for obtaining an image of a target object according to an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating a destination address provided by an embodiment of the present application;
FIG. 5 is a schematic illustration showing a plurality of candidate credential information provided by an embodiment of the present application;
FIG. 6 is a diagram illustrating target credential information provided by an embodiment of the present application;
fig. 7 is a flowchart of a credential information obtaining method according to an embodiment of the present application;
fig. 8 is a flowchart of a credential information obtaining method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus for acquiring credential information according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following first explains the related terms referred to in the present application:
the Augmented Reality (AR) technology is a technology that skillfully fuses virtual information and the real world, and a plurality of technical means such as multimedia, three-dimensional modeling, real-time tracking and registration, intelligent interaction, sensing and the like are widely applied, and virtual information such as characters, images, three-dimensional models, music, videos and the like generated by a computer is applied to the real world after being simulated, and the two kinds of information complement each other, so that the real world is enhanced.
Fig. 1 is a schematic diagram of an implementation environment of a credential information obtaining method provided in an embodiment of the present application, and as shown in fig. 1, the implementation environment includes: an electronic device 101 and a server 102.
The electronic device 101 may be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III) player, an MP4(Moving Picture Experts Group Audio Layer IV) player, and a laptop computer. An application program supporting the acquisition of the credential information runs in the electronic device 101, and the electronic device 101 acquires the identity information of the target object according to the face recognition result of the target object; the attribute characteristics of the target object can be obtained by performing augmented reality on the image of the target object, and at least one candidate credential information is determined according to the identity information and the attribute characteristics of the target object. The electronic device 101 may further determine target credential information from the at least one candidate credential information, and obtain the target credential information according to the identity information of the target object.
The electronic device 101 may be generally referred to as one of a plurality of electronic devices, and the embodiment of the present application is illustrated by the electronic device 101. Those skilled in the art will appreciate that the number of electronic devices described above may be greater or fewer. For example, the number of the electronic devices may be only one, or the number of the electronic devices may be tens or hundreds, or may be more, and the number of the electronic devices and the type of the electronic devices are not limited in the embodiments of the present application.
The server 102 may be one server, may be multiple servers, and may be at least one of a cloud computing platform and a virtualization center. The server 102 may communicate with the electronic device 101 over a wired network or a wireless network. The server 102 may receive the facial recognition result sent by the electronic device 101, the server 102 may also send the identity information of the target object to the electronic device 101, and the server 102 may also send at least one candidate credential information matched with the target object to the electronic device 101. Alternatively, the number of the servers 102 may be more or less, and the embodiment of the present application is not limited thereto. Of course, the server 102 may also include other functional servers to provide more comprehensive and diverse services.
Based on the foregoing implementation environment, an embodiment of the present application provides a method for acquiring credential information, which may be executed by the electronic device 101 in fig. 1, taking a flowchart of the method for acquiring credential information provided in the embodiment of the present application shown in fig. 2 as an example. As shown in fig. 2, the method comprises the steps of:
in step 201, an image of a target object is acquired.
In an exemplary embodiment, the target object may be an object to be purchased with tickets or other ticket purchasers, and the type of the target object is not limited in the embodiment of the present application.
In one possible implementation, the image of the target object may be acquired by any one of the following implementations:
in the first implementation manner, in response to a request for opening the camera device for a target object, an image of the target object captured by the camera device is acquired.
In a possible implementation manner, the target object may turn on a camera of the electronic device, and the camera may be a camera of the electronic device itself or another camera, which is not limited in this embodiment of the application. After responding to the operation of clicking the camera device by the target object, the electronic equipment opens the camera device of the electronic equipment, so that the image of the target object obtained by the camera device is acquired. As shown in fig. 3, which is an interface schematic diagram for acquiring an image of a target object according to an embodiment of the present application, when the target object clicks a camera button in the upper left corner in fig. 3, an electronic device opens a camera in response to a click operation of the target object, so that the image of the target object is obtained through shooting by the camera.
And the second implementation mode is that the image uploaded by the target object is received.
In a possible implementation manner, the target object may click an upload button on the electronic device, and the target object may further arbitrarily select a picture in a gallery of the electronic device, where the picture includes the facial information and the attribute feature of the target image. The electronic equipment responds to the operation that the target object clicks the uploading button and the picture selected by the target object, and therefore the image of the target object is obtained.
It should be noted that, in the second implementation manner, in addition to selecting one picture from the gallery of the electronic device, the picture may also be downloaded from the network, and the source of the image uploaded by the target object is not limited in the present application. The electronic device may select any one of the above implementation manners to obtain the image of the target object, which is not limited in this application embodiment.
It should be further noted that the image of the target object may include only one object or a plurality of objects, and the number of the objects included in the image of the target object is not limited in the embodiment of the present application.
In step 202, identity information of the target object is acquired according to the face recognition result of the image.
Illustratively, the identity information of the target object includes, but is not limited to, a name of the target object, an identification number of the target object, a mobile phone number of the target object, and the like.
In the embodiment of the present application, facial recognition may be performed on the image of the target object to obtain a facial recognition result corresponding to the image of the target object. The process of face recognition may be as follows: the electronic device may input the image of the target object into a face recognition model, and obtain a face recognition result corresponding to the image of the target object according to an output result of the face recognition model.
In this embodiment of the present application, obtaining the identity information of the target object according to the face recognition result of the image may include the following steps:
step 2021, inputting the face recognition result of the target object into a target identity recognition model, where the target identity recognition model is used to determine the identity information of the target object according to the face recognition result of the target object.
In one possible implementation, before the face recognition result of the target object is input into the target identification model, the target identification model is acquired. The target identity recognition model is obtained as follows:
step one, obtaining a face recognition result and identity information in a face library.
In one possible implementation manner, a face library is stored in the electronic device, and the face library includes a plurality of face recognition results and a plurality of identity information, and each face recognition result corresponds to one identity information. The electronic device may extract the face library to obtain the face recognition result and the identity information in the face library.
And secondly, training the initial identity recognition model based on the face recognition result and the identity information to obtain a target identity recognition model.
In a possible implementation manner, based on the face recognition result and the identity information obtained in the first step, the initial identity recognition model is trained to obtain a target identity recognition model, and the target identity recognition model is used for determining the identity information of the target object according to the face recognition result of the target object.
The initial identification model may be any type of neural network model capable of performing facial recognition, and the type of the initial identification model is not limited in the embodiments of the present application. For example, the initial identification model may be a deep residual neural network (ILSVRC) or a convolutional neural network (VGG 19).
Step 2022, obtaining the identity information of the target object based on the output result of the target identity recognition model.
In one possible implementation, the identity information of the target object is obtained based on the output result of the target identity recognition model.
In a possible implementation manner, if the image of the target object includes a plurality of objects, the plurality of objects may be subjected to face recognition respectively, so as to obtain a face recognition result corresponding to each object. And inputting the face recognition result corresponding to each object into a target identity recognition model, and acquiring identity information corresponding to a plurality of objects in the target object.
For example, the target object includes two objects, the image of the target object is subjected to face recognition to obtain two face recognition results, the two face recognition results are sequentially input into the target identification model, and the identification information corresponding to the two objects is obtained based on the output result of the target identification model. The identity information of the two objects can be shown in table one below.
Watch 1
Name (I) Identity card number Mobile phone number
Object A 130421XXXXXXXX0001 150XXXXXXXX
Object B 130421XXXXXXXX0011 155XXXXXXXX
As shown in the first table, the two objects included in the image of the target object are object a and object B, the identification number of object a is 130421XXXXXXXX0001, and the mobile phone number of object a is 150 xxxxxxxxxx. The identity number of the object B is 130421XXXXXXXX0011, and the mobile phone number of the object B is 155 XXXXXXXXXXX.
In step 203, augmented reality is performed on the image to obtain the attribute features of the target object.
In this embodiment of the application, the electronic device may further perform an Augmented Reality (AR) technique based on the image of the target object. And acquiring the attribute characteristics of the target object based on the AR technology. Illustratively, the attribute characteristics of the target object include, but are not limited to, gender, age, height, etc. of the target object.
In a possible implementation manner, if the image of the target object includes a plurality of objects, AR may be performed on the image of the target object, so as to obtain an attribute feature of each object in the image of the target object.
For example, the image of the target object includes two objects, object a and object B, and the image of the target object is augmented to obtain the attribute features of the two objects in the image of the target object. The attribute characteristics of the two objects can be shown in table two below.
Watch two
Name (I) Sex Age (age) Height of a person
Object A For male 22 180CM
Object B Woman 20 165CM
As shown in Table two above, subject A was male by gender, 22 years old, and 180CM tall. Subject B was female in gender, age 20 and height 165 CM.
In step 204, at least one candidate credential information matching the target object is determined according to the identity information and the attribute characteristics of the target object.
In an exemplary embodiment, the candidate credential information includes information such as an occurrence date, an acquisition number, a name of a target object, an identification number, a mobile phone number, and benefit information of the credential information.
In an exemplary embodiment of the present application, determining at least one candidate credential information matching the target object according to the identity information and the attribute characteristics of the target object may include the following steps:
step 2041, predicting the destination address where the target object arrives, and acquiring the credential information corresponding to the destination address.
In an exemplary embodiment, if the target object wants to go to a certain scenic spot for viewing, the destination address may be an address of the target scenic spot, and the credential information may be ticket information of the scenic spot. If the target object wants to go to the movie theater to watch the movie, the destination address can be the address of the movie theater, and the voucher information can be the information of the movie ticket. If the target object wants to go to the park, the destination address may be an address of the park and the credential information may be park ticket information. The embodiment of the present application does not limit the type of the destination address.
In one possible implementation, the destination address for predicting the target object to reach may be any one of the following implementations:
the first implementation mode is that the destination address of the target object is predicted based on the geographic position service.
The geographic Location Service, Location-Based Service (LBS), also called as a Location-Based Service, mobile Location Service, Location-in-place Service, is a Service that obtains Location information (geographic coordinates) of a mobile terminal user through a radio communication network (such as GSM network, CDMA network) of a mobile operator or an external Location method (such as GPS). Under the support of the GIS platform, the value added service of the corresponding service is provided for the user.
In one possible implementation, the electronic device determines a destination address to which the target object arrives in response to the geo-location service based on the target object having opened the geo-location service. Fig. 4 is a schematic diagram of a destination address provided in the embodiment of the present application, where the obtaining of the destination address based on the geographic location service is as follows: the house of the old palace museum.
And the second implementation mode is that an acquisition request of the credential information corresponding to the destination address is received, and the destination address where the target object arrives is predicted according to the acquisition request.
In a possible implementation manner, if the geographic location service of the electronic device is not opened, the target object may input credential information corresponding to the destination address in a search box of the electronic device, and the target object clicks a search button. And the electronic equipment receives an acquisition request of the credential information corresponding to the destination address, and determines the destination address where the target object arrives according to the acquisition request.
Step 2042, according to the identity information and the attribute characteristics of the target object, at least one candidate credential information matching the target object is determined from the credential information corresponding to the destination address.
In a possible implementation manner, the electronic device may obtain, based on the destination address predicted in step 2041, multiple pieces of credential information corresponding to the destination address, where the multiple pieces of credential information may be presented on a screen of the electronic device in a form of a list.
In a possible implementation manner, the electronic device may further determine, based on the identity information of the target object obtained in step 202 and the attribute characteristics of the target object obtained in step 203, at least one candidate credential information that matches the target object from among the plurality of credential information.
In a possible implementation manner, the electronic device may further obtain, based on the identity information of the target object, a historical credential information obtaining condition of the target object. And determining at least one candidate credential information matched with the target object based on the historical credential information acquisition condition and the identity information of the target object.
For example, the destination address is a museum, and the target object obtains the historical voucher information including a museum family ticket, a museum adult ticket and a museum double ticket. If the face recognition result of the image of the target object is the identity information of one object, determining the adult ticket of the museum as candidate certificate information in the historical certificate information acquisition situation based on the identity information of the one object.
In step 205, at least one candidate credential information is presented, and in response to a target credential information of the at least one candidate credential information being selected, the target credential information is obtained according to the identity information of the target object.
In this embodiment of the application, the electronic device may further display the at least one candidate credential information obtained in step 204 on a screen of the electronic device. The at least one candidate credential information may be presented as follows:
in one possible implementation manner, in response to that at least one candidate credential information matched with the target object is provided, it may be determined that one candidate credential information is the best candidate credential information from the at least one candidate credential information, and the electronic device may display the best candidate credential information on the screen. In addition, in an exemplary embodiment, after determining the best candidate credential information, other candidate credential information in the at least one credential information may be determined as selectable candidate credential information, and both the best candidate credential information and the selectable candidate credential information are displayed on a screen of the electronic device, and the best candidate credential information and the selectable candidate credential information are displayed in a manner that the best candidate credential information is in front and the selectable credential information is in back. The present embodiment is not limited to the above-described embodiments.
Fig. 5 is a schematic diagram illustrating a plurality of candidate credential information according to an embodiment of the present application, where in fig. 5, the best candidate credential information considered by the electronic device is a museum adult ticket. The electronic device may also present selectable candidate credential information on a screen, such as museum children's ticket, museum family ticket, and museum elderly ticket in fig. 5. Of course, other types of credential information may also be presented, and the embodiments of the present application are only described by taking the presented credential information as an example, and are not intended to limit the present application.
In one possible implementation, the process of the electronic device determining the best candidate credential information among the at least one candidate credential information may be as follows: the electronic device may calculate a degree of matching of each candidate credential information with the target object based on the target object and the at least one candidate credential information. And sequencing the candidate voucher information according to the matching degree, and determining the candidate voucher information with the highest matching degree as the best candidate voucher information according to a sequencing result.
In one possible implementation, the calculation process of the matching degree of each candidate credential information with the target object may be as follows: the electronic equipment acquires all the voucher information included in the destination address and the purchase standard of each voucher information, and trains an initial matching degree calculation model based on all the voucher information of the destination address and the purchase standard of each voucher information, so that a target matching degree calculation model with high matching degree precision is obtained. The electronic device may input the attribute feature of the target object into the target matching degree calculation model, thereby obtaining a degree of matching between the target object and each credential information of all credential information.
The initial matching degree calculation model may be any type of neural network model, which is not limited in the embodiment of the present application. For example, the initial matching degree calculation model may be a tendency value matching model (PSM).
For example, the attribute features of the target object include: and the target object is 11 years old, 130CM high and male gender, and the attribute characteristics of the target object can be input into a target matching degree calculation model to obtain the matching degree between the target object and the candidate certificate information. For example, the matching degree of the target object to the adult ticket of the museum is 50%, and the matching degree of the target object to the child ticket of the museum is 99%.
In a possible implementation manner, the electronic device may further display the plurality of candidate credential information according to a ranking result of the matching degree of the candidate credential information.
In a possible implementation manner, the electronic device may present the at least one candidate credential information on a screen of the electronic device in an order from high to low according to a matching degree of the at least one candidate credential information with the target object. Of course, the at least one candidate credential information may also be presented on the screen of the electronic device in an order from low to high matching degrees. The display sequence of the at least one candidate credential information is not limited in the embodiments of the present application.
In one possible implementation, the determining the target credential information in the at least one candidate credential information may be implemented by any one of the following:
in the first implementation manner, based on the matching degree of at least one candidate credential information and the target object, the candidate credential information with the matching degree meeting the target condition is determined as the target credential information.
In a possible implementation manner, based on the matching degree of the at least one candidate credential information and the target object, the candidate credential information with the highest matching degree may be determined as the target credential information, that is, the best candidate credential information is determined as the target credential information.
For example, if the matching degree between the candidate credential information 1 and the target object is 80%, the matching degree between the candidate credential information 2 and the target object is 85%, the matching degree between the candidate credential information 3 and the target object is 95%, and the matching degree between the candidate credential information 4 and the target object is 90%, the candidate credential information with the highest matching degree, that is, the candidate credential information 3, may be determined as the target credential information.
In the second implementation manner, the electronic device may further determine, from the at least one piece of candidate credential information, at least one piece of candidate credential information whose matching degree satisfies a target condition, and randomly determine, from the at least one piece of candidate credential information whose matching degree satisfies the target condition, one piece of candidate credential information as the target credential information.
For example, the matching degree between the candidate credential information 1 and the target object is 80%, the matching degree between the candidate credential information 2 and the target object is 85%, the matching degree between the candidate credential information 3 and the target object is 95%, and the matching degree between the candidate credential information 4 and the target object is 90%. Among the plurality of candidate credential information, the candidate credential information whose matching degree is greater than or equal to 90% is determined as the candidate credential information whose matching degree satisfies the target condition, that is, the candidate credential information 3 and the candidate credential information 4 are determined as the candidate credential information whose matching degree satisfies the target condition. The electronic device may further randomly determine one candidate credential information as the target credential information from the candidate credential information 3 and the candidate credential information 4.
And the third implementation mode is that based on the determination operation of the target object, one candidate credential information is determined to be the target credential information from the at least one candidate credential information.
In a possible implementation manner, the electronic device may further present the at least one candidate credential information and the matching degree corresponding to each candidate credential information on a screen of the electronic device, and the target object views the information. The target object may click on one candidate credential information among the at least one candidate credential information based on its own needs. After receiving the operation of clicking the screen by the target object, the electronic equipment determines the candidate certificate information clicked by the target object as the target certificate information.
Fig. 6 is a schematic diagram of target credential information provided in an embodiment of the present application, where in fig. 6, the target credential information is a museum adult ticket, the date of the credential information is 3/10/2020, the number of acquired pieces of the target credential information is 1, the name of a target object is XX, the identification number is 130421xxxxxx 1, the number of mobile phones is 150XXXXXXXX, and the offer information of the target credential information is-5 yuan.
It should be noted that any implementation manner described above may be selected to determine the target credential information in the at least one candidate credential information, which is not limited in the embodiment of the present application.
In one possible implementation, the electronic device may obtain the target credential information based on the identity information of the target object.
In one possible implementation manner, if the image of the target object includes a plurality of objects, the target credential information may be obtained based on identity information of the plurality of objects. For example, if three objects are included in the image of the target object, the target credential information obtained based on the identity information of the three objects may be a family coupon, which may allow three persons to enter the target scene area for viewing at the same time.
The method can match the most suitable target certificate information for the target object based on the identity information and the attribute characteristics of the target object, and the method does not need the target object to manually select the target certificate information and manually input the identity information of the target object. Therefore, the efficiency of obtaining the target certificate information can be improved, the time for determining the target certificate information is saved, and the experience of the target object can be improved.
Fig. 7 is a flowchart illustrating a method for acquiring credential information according to an embodiment of the present application, where the method is described by interaction between an electronic device 101 and a server 102. Referring to fig. 7, the method includes:
in step 701, the electronic device acquires an image of a target object.
In this embodiment, a process of acquiring the image of the target object by the electronic device is consistent with the process in step 201, and is not described herein again.
In step 702, the electronic device transmits a face recognition result of an image of a target object to a first server.
In this embodiment of the application, a process of acquiring the face recognition result of the target object by the electronic device is the same as the process of acquiring the face recognition result in step 202, and is not described herein again.
In one possible implementation manner, after obtaining the face recognition result of the image of the target object, the electronic device may directly send the face recognition result to the first server. The face recognition result of the image of the target object may also be transmitted to the first server after receiving the face recognition result acquisition request of the first server. The transmission timing of the face recognition result of the image of the target object is not limited in the embodiment of the present application.
In step 703, the first server determines the identity information of the target object based on the face recognition result of the image of the target object.
In this embodiment of the application, a process of determining the identity information of the target object by the first server is consistent with the process of determining the identity information of the target object in step 202, and is not described herein again.
In step 704, the first server sends the identity information of the target object to the electronic device.
In this embodiment of the application, after acquiring the identity information of the target object in step 703, the first server may directly send the identity information of the target object to the electronic device, or may send the identity information of the target object to the electronic device after receiving an identity information acquisition request sent by the electronic device. The sending time of the identity information of the target object is not limited in the embodiment of the application.
In step 705, the electronic device receives the identity information of the target object returned by the first server based on the facial recognition result, and the electronic device performs augmented reality on the image of the target object to obtain the attribute feature of the target object.
In the embodiment of the present application, the process of obtaining the attribute feature of the target object is the same as the process in step 203, and is not described herein again.
In step 706, the electronic device sends the identity information and attribute characteristics of the target object to a second server.
In this embodiment of the application, after acquiring the attribute feature of the target object in step 705, the electronic device may directly send the attribute feature of the target object to the second server, or may send the attribute feature of the target object to the second server after receiving an acquisition request of the attribute feature sent by the second server. The sending time of the attribute feature of the target object is not limited in the embodiment of the present application.
It should be noted that the second server and the first server may be the same server or different servers, which is not limited in this embodiment of the application.
In step 707, the second server receives the identity information and the attribute characteristics of the target object, and determines at least one candidate credential information matching the target object based on the identity information and the attribute characteristics of the target object.
In this embodiment of the application, the process of determining, by the second server, at least one candidate credential information that matches the target object is consistent with the process in step 204, and is not described herein again.
In step 708, the second server sends the at least one candidate credential information to the electronic device.
In this embodiment of the application, after acquiring the at least one candidate credential information matched with the target object in step 707 above, the second server may directly send the at least one candidate credential information matched with the target object to the electronic device, or may send the at least one candidate credential information matched with the target object to the electronic device after receiving an acquisition request of the candidate credential information sent by the electronic device. The sending time of the candidate credential information is not limited in the embodiment of the present application.
In step 709, the electronic device receives at least one candidate credential information matched with the target object and returned by the second server based on the identity information of the target object and the attribute characteristics, displays the at least one candidate credential information, and obtains the target credential information according to the identity information of the target object in response to that the target credential information in the at least one candidate credential information is selected.
In this embodiment, the process of the electronic device obtaining the target credential information according to the identity information of the target object is the same as the process in step 205, and is not described herein again.
The method can match the most suitable target certificate information for the target object based on the identity information and the attribute characteristics of the target object, and the method does not need the target object to manually select the target certificate information and manually input the identity information of the target object. Therefore, the efficiency of obtaining the target certificate information can be improved, the time for determining the target certificate information is saved, and the experience of the target object can be improved.
Fig. 8 is a flowchart of a credential information obtaining method according to an embodiment of the present application, where the method is described by interaction between an electronic device 101 and a server 102, and as shown in fig. 8, the electronic device obtains geographic location information of a target object based on an LBS location system and sends the geographic location information to the server. The server determines a destination address corresponding to the geographical location Information based on a point of Information (POI) fence system, and sends the destination address to the electronic device. The electronic device obtains an image of a target object based on its camera, and obtains attribute characteristics of the target object, such as height, gender, and age, based on an AR recognition system. And acquiring the identity information of the target object, such as the name, the identification card number and the mobile phone number, based on a face recognition system. Or inputting the target object into the server, and identifying the target object by a face recognition system in the server, thereby obtaining the identity information of the target object. The electronic equipment sends the identity information and the attribute feature of the target object to the server, the server determines target credential information from at least one candidate credential information based on the identity information and the attribute feature of the target object, and sends the target credential information to the electronic equipment. The electronic equipment acquires the target credential information based on the identity information of the target object.
Fig. 9 is a structural diagram of an apparatus for acquiring credential information according to an embodiment of the present application, and as shown in fig. 9, the apparatus includes:
a first obtaining module 901, configured to obtain an image of a target object;
a second obtaining module 902, configured to obtain identity information of the target object according to a face recognition result of the image;
a third obtaining module 903, configured to perform augmented reality on the image to obtain an attribute feature of the target object;
a determining module 904, configured to determine, according to the identity information and the attribute feature of the target object, at least one candidate credential information that matches the target object;
a presentation module 905, configured to present the at least one candidate credential information;
a fourth obtaining module 906, configured to, in response to that target credential information in the at least one candidate credential information is selected, obtain the target credential information according to the identity information of the target object.
In a possible implementation manner, the determining module 904 is configured to predict a destination address where the target object arrives, and obtain credential information corresponding to the destination address;
and determining at least one candidate credential information matched with the target object in the credential information corresponding to the destination address according to the identity information and the attribute characteristics of the target object.
In a possible implementation, the determining module 904 is configured to predict a destination address to which the target object arrives based on a geographic location service; or receiving an acquisition request of the credential information corresponding to the destination address, and predicting the destination address reached by the target object according to the acquisition request.
In a possible implementation manner, the presentation module 905 is configured to calculate, in response to a plurality of candidate credential information, a matching degree of each candidate credential information of the plurality of candidate credential information with the target object;
and sequencing the candidate voucher information according to the matching degree, and displaying the candidate voucher information according to a sequencing result.
In a possible implementation manner, the second obtaining module 902 is configured to input a face recognition result of the target object into a target identity recognition model, where the target identity recognition model is configured to determine identity information of the target object according to the face recognition result of the target object;
and acquiring the identity information of the target object based on the output result of the target identity recognition model.
In a possible implementation manner, the second obtaining module 902 is further configured to obtain a face recognition result and identity information in a face library; and training the initial identity recognition model based on the face recognition result and the identity information to obtain a target identity recognition model.
In a possible implementation manner, the second obtaining module 902 is configured to send a facial recognition result of the image to a first server, and receive identity information of the target object returned by the first server based on the facial recognition result;
the determining module 904 is configured to send the identity information and the attribute feature of the target object to a second server, and receive at least one candidate credential information that is returned by the second server based on the identity information and the attribute feature of the target object and matches the target object.
The device can match the most suitable target certificate information for the target object based on the identity information and the attribute characteristics of the target object, and the method does not need the target object to manually select the target certificate information and manually input the identity information of the target object. Therefore, the efficiency of obtaining the target certificate information can be improved, the time for determining the target certificate information is saved, and the experience of the target object can be improved.
It should be noted that: in the above embodiment, when acquiring the credential information, the credential information acquiring apparatus is exemplified by only dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the credential information acquiring apparatus is divided into different functional modules to complete all or part of the above-described functions. In addition, the credential information obtaining apparatus and the credential information obtaining method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 1000 may be: a smart phone, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer iv, motion video Experts compression standard Audio Layer 4) player, a notebook computer or a desktop computer. The electronic device 1000 may also be referred to by other names as user equipment, portable electronic device, laptop electronic device, desktop electronic device, and so forth.
In general, the electronic device 1000 includes: one or more processors 1001 and one or more memories 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1002 is configured to store at least one instruction for execution by processor 1001 to implement a method of obtaining credential information provided by method embodiments of the present application.
In some embodiments, the electronic device 1000 may further include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, display screen 1005, camera assembly 1006, audio circuitry 1007, positioning assembly 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1004 may communicate with other electronic devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1004 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 1005 may be one, providing a front panel of the electronic device 1000; in other embodiments, the display screens 1005 may be at least two, respectively disposed on different surfaces of the electronic device 1000 or in a folded design; in some embodiments, the display screen 1005 may be a flexible display screen, disposed on a curved surface or on a folded surface of the electronic device 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of an electronic apparatus, and a rear camera is disposed on a rear surface of the electronic apparatus. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the electronic device 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
The positioning component 1008 is used to locate a current geographic Location of the electronic device 1000 to implement navigation or LBS (Location Based Service). The Positioning component 1008 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
The power supply 1009 is used to supply power to the respective components in the electronic device 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 1000 also includes one or more sensors 1100. The one or more sensors 1100 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1011, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
The acceleration sensor 1011 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the electronic apparatus 1000. For example, the acceleration sensor 1011 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1001 may control the display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the electronic device 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on the electronic device 1000. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 1011 may be disposed on a side bezel of the electronic device 1000 and/or on a lower layer of the display screen 1005. When the pressure sensor 1011 is disposed on the side frame of the electronic device 1000, the holding signal of the user to the electronic device 1000 can be detected, and the processor 1001 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1011. When the pressure sensor 1011 is disposed at the lower layer of the display screen 1005, the processor 1001 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and the processor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1014 may be disposed on the front, back, or side of the electronic device 1000. When a physical button or vendor Logo is provided on the electronic device 1000, the fingerprint sensor 1014 may be integrated with the physical button or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
A proximity sensor 1016, also known as a distance sensor, is typically disposed on the front panel of the electronic device 1000. The proximity sensor 1016 is used to capture the distance between the user and the front of the electronic device 1000. In one embodiment, the processor 1001 controls the display screen 1005 to switch from the bright screen state to the dark screen state when the proximity sensor 1016 detects that the distance between the user and the front surface of the electronic device 1000 gradually decreases; when the proximity sensor 1016 detects that the distance between the user and the front of the electronic device 1000 gradually becomes larger, the display screen 1005 is controlled by the processor 1001 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 10 is not limiting of the electronic device 1000 and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
Fig. 11 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1100 may generate a relatively large difference due to a difference in configuration or performance, and may include one or more processors (CPUs) 1101 and one or more memories 1102, where the one or more memories 1102 store at least one instruction, and the at least one instruction is loaded and executed by the one or more processors 1101 to implement the functions performed by the server in the method for obtaining credential information provided by the foregoing method embodiment. Of course, the server 1100 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server 1100 may also include other components for implementing device functions, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor of an electronic device to implement any one of the above-mentioned credential information obtaining methods.
Alternatively, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and is not intended to limit the present application, and any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for obtaining credential information, the method comprising:
acquiring an image of a target object;
acquiring the identity information of the target object according to the face recognition result of the image;
performing augmented reality on the image to obtain the attribute characteristics of the target object;
determining at least one candidate certificate information matched with the target object according to the identity information and the attribute characteristics of the target object;
and displaying the at least one candidate voucher information, responding to the fact that target voucher information in the at least one candidate voucher information is selected, and acquiring the target voucher information according to the identity information of the target object.
2. The method according to claim 1, wherein the determining at least one candidate credential information matching the target object according to the identity information and the attribute characteristics of the target object comprises:
predicting a destination address reached by the target object, and acquiring credential information corresponding to the destination address;
and determining at least one candidate credential information matched with the target object in the credential information corresponding to the destination address according to the identity information and the attribute characteristics of the target object.
3. The method of claim 2, wherein predicting the destination address of the target object comprises:
predicting a destination address to which the target object arrives based on a geographic location service;
or receiving an acquisition request of the credential information corresponding to the destination address, and predicting the destination address where the target object arrives according to the acquisition request.
4. The method according to any of claims 1-3, wherein said presenting the at least one candidate credential information comprises:
in response to a plurality of candidate credential information, calculating a matching degree of each candidate credential information of the plurality of candidate credential information with the target object;
and sequencing the candidate voucher information according to the matching degree, and displaying the candidate voucher information according to a sequencing result.
5. The method according to any one of claims 1 to 3, wherein the obtaining identity information of the target object according to the face recognition result of the image comprises:
inputting the face recognition result of the target object into a target identity recognition model, wherein the target identity recognition model is used for determining the identity information of the target object according to the face recognition result of the target object;
and acquiring the identity information of the target object based on the output result of the target identity recognition model.
6. The method of claim 5, wherein prior to entering the target object's facial recognition result into a target identification model, the method further comprises:
acquiring a face recognition result and identity information in a face library;
and training the initial identity recognition model based on the face recognition result and the identity information to obtain a target identity recognition model.
7. The method according to any one of claims 1 to 3, wherein the obtaining identity information of the target object according to the face recognition result of the image comprises:
sending a facial recognition result of the image to a first server, and receiving identity information of the target object returned by the first server based on the facial recognition result;
the determining at least one candidate credential information matched with the target object according to the identity information and the attribute characteristics of the target object includes:
and sending the identity information and the attribute characteristics of the target object to a second server, and receiving at least one candidate credential information which is returned by the second server based on the identity information and the attribute characteristics of the target object and is matched with the target object.
8. An apparatus for acquiring credential information, the apparatus comprising:
the first acquisition module is used for acquiring an image of a target object;
the second acquisition module is used for acquiring the identity information of the target object according to the face recognition result of the image;
the third acquisition module is used for performing augmented reality on the image to obtain the attribute characteristics of the target object;
the determining module is used for determining at least one candidate certificate information matched with the target object according to the identity information and the attribute characteristics of the target object;
a presentation module for presenting the at least one candidate credential information;
and the fourth obtaining module is used for responding to the fact that target voucher information in the candidate voucher information is selected, and obtaining the target voucher information according to the identity information of the target object.
9. An electronic device, comprising a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the method for acquiring credential information according to any one of claims 1 to 7.
10. A computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to implement the method of acquiring credential information according to any one of claims 1 to 7.
CN202010349217.9A 2020-04-28 2020-04-28 Voucher information acquisition method and device, electronic equipment and storage medium Pending CN111539794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010349217.9A CN111539794A (en) 2020-04-28 2020-04-28 Voucher information acquisition method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010349217.9A CN111539794A (en) 2020-04-28 2020-04-28 Voucher information acquisition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111539794A true CN111539794A (en) 2020-08-14

Family

ID=71973227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010349217.9A Pending CN111539794A (en) 2020-04-28 2020-04-28 Voucher information acquisition method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111539794A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084041A (en) * 2020-09-30 2020-12-15 汉海信息技术(上海)有限公司 Resource processing method and device, electronic equipment and storage medium
CN114363599A (en) * 2022-02-24 2022-04-15 北京蜂巢世纪科技有限公司 Focus following method, system, terminal and storage medium based on electronic zooming

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084041A (en) * 2020-09-30 2020-12-15 汉海信息技术(上海)有限公司 Resource processing method and device, electronic equipment and storage medium
CN112084041B (en) * 2020-09-30 2025-02-25 汉海信息技术(上海)有限公司 Resource processing method, device, electronic device and storage medium
CN114363599A (en) * 2022-02-24 2022-04-15 北京蜂巢世纪科技有限公司 Focus following method, system, terminal and storage medium based on electronic zooming

Similar Documents

Publication Publication Date Title
CN112162671B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN112181573B (en) Media resource display method, device, terminal, server and storage medium
CN114238812B (en) Information display method and device, computer equipment and medium
CN108737897B (en) Video playing method, device, equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN111897996A (en) Topic label recommendation method, device, equipment and storage medium
CN110163066B (en) Multimedia data recommendation method, device and storage medium
CN110457571B (en) Method, device and equipment for acquiring interest point information and storage medium
CN111539795A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN113987326B (en) Resource recommendation method and device, computer equipment and medium
CN110990728A (en) Method, device and equipment for managing point of interest information and storage medium
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN110929159B (en) Resource release method, device, equipment and medium
CN111539794A (en) Voucher information acquisition method and device, electronic equipment and storage medium
CN112989198B (en) Push content determination method, device, equipment and computer-readable storage medium
CN112084041B (en) Resource processing method, device, electronic device and storage medium
CN114547429B (en) Data recommendation method, device, server and storage medium
CN113704621A (en) Object information recommendation method, device, equipment and storage medium
CN111523876B (en) Payment mode display method, device and system and storage medium
CN112000900A (en) Method and device for recommending scenic spot information, electronic equipment and storage medium
CN113609358A (en) Content sharing method and device, electronic equipment and storage medium
CN112000899A (en) Display method, device, electronic device and storage medium for scenic spot information
CN111563201A (en) Content pushing method, device, server and storage medium
CN115657898A (en) Media resource delivery method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200814

WD01 Invention patent application deemed withdrawn after publication