CN108062673A - Method of payment, terminal device and computer readable storage medium - Google Patents

Method of payment, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN108062673A
CN108062673A CN201711130330.2A CN201711130330A CN108062673A CN 108062673 A CN108062673 A CN 108062673A CN 201711130330 A CN201711130330 A CN 201711130330A CN 108062673 A CN108062673 A CN 108062673A
Authority
CN
China
Prior art keywords
face image
human face
image information
information
identity identification
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.)
Granted
Application number
CN201711130330.2A
Other languages
Chinese (zh)
Other versions
CN108062673B (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201711130330.2A priority Critical patent/CN108062673B/en
Priority to PCT/CN2018/082307 priority patent/WO2019095616A1/en
Publication of CN108062673A publication Critical patent/CN108062673A/en
Application granted granted Critical
Publication of CN108062673B publication Critical patent/CN108062673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The present invention is suitable for technical field of information processing,Provide a kind of method of payment,Terminal device and computer readable storage medium,By obtaining identity identification information,Judge whether the corresponding user of identity identification information possesses the consumption rights of consumption area,If user possesses the consumption rights of consumption area,And detect the predetermined registration operation for being used to indicate resource deduction,Then obtain the human face image information of consumer in predeterminable area,Human face image information default human face image information corresponding with identity identification information is compared,If human face image information is consistent with default human face image information,Corresponding resource in the first account is then deducted according to predetermined registration operation and then completes to pay,It realizes when user is consumed in consumption area,Must carry out the double verification of identity identification information and human face image information identification could complete to pay,And then the resource avoided in specific consumption area the phenomenon that being occupied by other people.

Description

Method of payment, terminal device and computer readable storage medium
Technical field
The invention belongs to technical field of information processing more particularly to a kind of method of payment, terminal devices and computer-readable Storage medium.
Background technology
With the continuous popularization of terminal, convenient payment is increasingly becoming means of payment mainstream of today, and is possible to soon Future completely substitute pay in cash.
Although it is existing it is convenient pay people bring it is many convenient, for some specific consumption areas (for example, work Factory, school etc.) for, the resource in the specific consumption area is limited and is served only for service crowd, for example, school lunch service is only right Worker and student open in the school, and worker or student are consumed by IC card in campus in the school, still, other non-workers in the school Or non-student can also be consumed by IC card in campus, and it is occupied to be easy to cause resource in specific region.Therefore, it is existing The means of payment be not avoided that the phenomenon that resource is occupied by other people in specific region.
The content of the invention
In view of this, an embodiment of the present invention provides a kind of method of payment, terminal device and computer readable storage medium, The phenomenon that resource is occupied by other people in specific region is not avoided that solve the existing means of payment.
The first aspect of the embodiment of the present invention provides a kind of method of payment, including:
Obtain identity identification information;
Judge whether the corresponding user of the identity identification information possesses the consumption rights of consumption area;
If the corresponding user of the identity identification information possesses the consumption rights of consumption area, and detects and be used to indicate resource The predetermined registration operation of deduction then judges consumer whether is detected in predeterminable area, and the predeterminable area is located in the consumption area;
If detecting consumer in the predeterminable area, the human face image information of the consumer is obtained;
By the human face image information and default facial image corresponding with the identity identification information in target database Information compares;
If the human face image information is consistent with the default human face image information, deducted according to the predetermined registration operation Corresponding resource in first account, to complete to pay.
The second aspect of the embodiment of the present invention provides a kind of payment mechanism, including being used to perform first aspect the method Unit.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including:It memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor performs the computer program The step of realizing method of payment described in above-mentioned first aspect.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, and the computer program is located The step of reason device realizes method of payment described in above-mentioned first scheme when performing.
The embodiment of the present invention judges whether the corresponding user of identity identification information possesses and disappears by obtaining identity identification information Take the consumption rights in area, if user possesses the consumption rights of consumption area, and detect the default behaviour for being used to indicate resource deduction Make, then obtain the human face image information of consumer in predeterminable area, human face image information is corresponding with identity identification information pre- If human face image information compares, if human face image information is consistent with default human face image information, according to predetermined registration operation It deducts corresponding resource in the first account and then completes payment, realize when user is consumed in consumption area, it is necessary to carry out Identity identification information and the double verification of human face image information identification could be completed to pay, and then avoid in specific consumption area The phenomenon that resource is occupied by other people.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of realization flow diagram of method of payment provided in an embodiment of the present invention;
Fig. 2 is a kind of realization flow diagram for method of payment that another embodiment of the present invention provides;
Fig. 3 is a kind of structure diagram of payment mechanism provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specifically The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is that the embodiment of the present invention provides a kind of realization flow chart of method of payment, method of payment as shown in Figure 1 referring to Fig. 1 It may include:
S110:Obtain identity identification information.
In step s 110, identity identification information can include:Identity code ID, finger print information, IC card information or Telephone number.
It should be noted that identity identification information corresponds to user right rank and/or the corresponding service content of Permission Levels, Wherein, Permission Levels, for describing whether the corresponding user of identity identification information possesses the permission consumed in consumption area. The corresponding service content of Permission Levels, for describing in the corresponding user of identity identification information can be consumed in consumption area Hold.
For example, when the corresponding user of identity identification information has second level permission (secondary super-ordinate right), identity identification information Corresponding user can be consumed in the subregion in consumption area.The corresponding service content of second level permission, as can be with Any cost is consumed in subregion in consumption area.
For another example when the corresponding user of identity identification information has first order permission (highest permission), identification letter Ceasing corresponding user can be consumed in the whole region in consumption area.The corresponding service content of first order permission, as may be used To consume arbitrary commodity resource in consumption area.
It is understood that it can be manually entered identity code ID or input by user to obtain identity identification information Telephone number or by press Fingerprint Identification Unit obtain finger print information, then either pass through card reader obtain ID card informations.
In the present embodiment, when identity identification information is obtained, can include but is not limited only to following two scenes.
Scene 1:When user enters consumption area, identity identification information is obtained.
For example, be provided with access control system around consumption area, before user enters consumption area, it is necessary to access control system Identity identification information is inputted, i.e., when user enters consumption area, user to the corresponding access control system in consumption area by inputting After identity identification information, the terminal of payment is completed by loser or server obtains identity identification information.
Scene 2:When being paid in consumption area, identity identification information is obtained.
For example, after user has selected commodity in consumption area, when commodity being carried out with checkout checking, user is obtained Corresponding identity identification information, i.e., when delivery operation is carried out in consumption area, user is inputted by front-end information input equipment After identity identification information, the terminal of payment is completed by loser or server obtains identity identification information.
S120:Judge whether the corresponding user of the identity identification information possesses the consumption rights of consumption area.
In the step s 120, consumption area is the consumption area for specific crowd setting, for example, school lunch service or factory Worker supermarket etc..
In the present embodiment, when judging whether the corresponding user of identity identification information possesses the consumption rights of consumption area, It is to be judged according to the user right corresponding to identity identification information.
It should be noted that identity identification information corresponds to user right rank and/or the corresponding service content of Permission Levels, Wherein, Permission Levels, for describing whether the corresponding user of identity identification information possesses the permission consumed in consumption area. The corresponding service content of Permission Levels, for describing in the corresponding user of identity identification information can be consumed in consumption area Hold.
As a kind of mode in the cards, step S120 can specifically include:If found from target database with The corresponding account information of the identity identification information, it is determined that the corresponding user of the identity identification information possesses the Consumer right Limit;If account information corresponding with the identity identification information is not found from target database, it is determined that the identity is known The corresponding user of other information does not possess the consumption rights.
It should be noted that target database is for recording the data for the crowd's information that can be consumed in consumption area Storehouse.When account information corresponding with identity identification information can be found from target database, identity identification information is represented Corresponding user belongs to the crowd that can be consumed in consumption area, that is, determines that the corresponding user of identity identification information possesses and disappear Take permission.
It is understood that when not finding account information corresponding with identity identification information from target database, It represents that the corresponding user of identity identification information is not belonging to the crowd that can be consumed in consumption area, that is, determines identification letter It ceases corresponding user and does not possess consumption rights.
S130:If the corresponding user of the identity identification information possesses the consumption rights of consumption area, and detects to refer to Show the predetermined registration operation that resource deducts, then judge whether detect consumer in predeterminable area.
In step s 130, the predeterminable area is located in the consumption area.Predetermined registration operation is used to indicate resource deduction, tool Body can be that selection enters the touch operation of deduction account resource interfaces or after being cleared to commodity in terminal It checks operation.
It should be noted that predeterminable area is for obtaining the predeterminable area of user's human face image information, due to according only to The corresponding identity identification information of user can not avoid other people from pretending to be into consumption area and carry out resources consumption completely, therefore true Determine after whether the corresponding user of identity identification information possess the consumption rights of consumption area, also to carry out human face image information to user and adopt Collection further verifies the identity of user according to the human face image information collected, that is, verifies whether consumer can be in consumption area Inside consumed.
In the present embodiment, judge whether detect consumer in predeterminable area, can be default by sensor capture Image in region, and pass through and judge whether to have portrait movement in image frame or Identification of Images is carried out to image, and then sentence Whether consumer is detected in disconnected predeterminable area.
S140:If detecting consumer in the predeterminable area, the human face image information of the consumer is obtained.
In step S140, predeterminable area is located in consumption area, and predeterminable area is used to capture the facial image letter of consumer Breath.
It should be noted that being equipped with the equipment for capturing consumer's human face image information in predeterminable area, work as detection When having consumer in predeterminable area, by the way that the equipment is called to carry out facial image capture.
In order to avoid there is the phenomenon that hijack accounts during user's corresponding account resource is deducted, face figure is being obtained As during information, it is necessary to carry out Liveness to the source of human face image information.In practice, human face image information is obtained Mode can also be that by obtaining the human face image information in photo or video, i.e., the source of human face image information is non-live Body.Therefore, when obtaining human face image information, it is necessary to carry out live body verification to the source of human face image information.
In the present embodiment, live body verification is carried out to the source of human face image information, target face information can be being obtained Meanwhile consumer is guided to make required movement and then judgement in predeterminable area by way of suggestion voice or prompt text Whether the source of human body image information is live body, for example, blinking, shaking the head, putting head etc. or by way of iris recognition To determine whether the human face image information being acquired comes from live body.Consumer is either guided by way of prompt text again The verification information in prompt text is said according to the regulation time in predeterminable area, for example, identifying code, verification word etc..
It is understood that by call human face image information capture device to the human face image information in predeterminable area into When row obtains, facial image knowledge either can be carried out to photo or video after video by obtaining the photo in predeterminable area Not, so obtain predeterminable area in consumer human face image information.
S150:By the human face image information and default face corresponding with the identity identification information in target database Image information compares.
In step S150, the human face image information that human face image information is the advance typing of user is preset, the default face Image information is corresponded with identity identification information or an identity identification information can correspond to multiple default facial images and believe Breath.
It should be noted that by human face image information in target database compared with default human face image information it is more permissible It is to be compared by obtaining corresponding characteristic point data in two face image datas respectively.
As a kind of mode in the cards of the present embodiment, step S150 is specifically included:The facial image is obtained at random The fisrt feature point information of information;Human face image information corresponding second is preset according to the fisrt feature point acquisition of information Characteristic point information;By the fisrt feature point information compared with the second feature point information.
It should be noted that fisrt feature point information is in human face image information with second feature point information, position is identical Image parameter information, i.e. fisrt feature point information and second feature point information may each comprise corresponding facial image number The ratio value for accounting for facial image of gray value, three primary colours rgb value or characteristic point in.
For example, gray value of the fisrt feature point information for the eye position in facial image, second feature point information is institute State the gray value of the eye position in the facial image that passenger is collected in safety check.
For another example three primary colours RGB average value of the fisrt feature point information for the Hp position in facial image, second feature The three primary colours RGB average values of Hp position in the facial image that point information is collected for the passenger in safety check.
S160:If the human face image information is consistent with the default human face image information, according to the default behaviour Make to deduct corresponding resource in first account, to complete to pay.
In step S160, resource needs to pay corresponding generation for commodity when consumption area is consumed for describing user Valency.In practice, resource can be real money, ideal money, point certificate, consumption number of times, and can be also used for description commodity is made Time limit or the permission and duration of commodity in use.
It should be noted that it is provided when corresponding resource in first account will be deducted more than the residue in the first account The resource is not deducted in source then, and prompts inadequate resource and do not deducted;When corresponding money in first account will be deducted Source is equal to or less than the surplus resources in the first account, then carries out resource deduction.
Further, in order to avoid resource by thread alternating the phenomenon that, as a kind of mode in the cards of the present embodiment, in root It is deducted according to the predetermined registration operation in first account before corresponding resource, display will be by the content of deduction resource, Yi Jigen The all processes of corresponding resource in first account are deducted according to the predetermined registration operation.
It is understood that, human face image information and default human face image information. with reference to step S150 in the present embodiment It is consistent, i.e., gray value, three bases in fisrt feature point information and the corresponding face image data of second feature point information Color rgb value or the ratio value for accounting for facial image of characteristic point are consistent.
The present embodiment judges whether the corresponding user of identity identification information possesses consumption area by obtaining identity identification information Consumption rights, if user possesses the consumption rights of consumption area, and detect be used to indicate resource deduction predetermined registration operation, then The human face image information of consumer in predeterminable area is obtained, by human face image information default face corresponding with identity identification information Image information compares, if human face image information is consistent with default human face image information, the is deducted according to predetermined registration operation Corresponding resource and then completion payment, are realized when user is consumed in consumption area, it is necessary to carry out identity knowledge in one account Other information and the double verification of human face image information identification could be completed to pay, and then avoid the resource quilt in specific consumption area The phenomenon that other people occupy.
Referring to Fig. 2, Fig. 2 is that another embodiment of the present invention provides a kind of schematic flow diagram of method of payment.As shown in Fig. 2, The method of payment that another embodiment of the present invention provides may include:
S210:Obtain identity identification information.
In step S210, identity identification information can include:Identity code ID, finger print information, IC card information or Telephone number.
It should be noted that identity identification information corresponds to user right rank and/or the corresponding service content of Permission Levels, Wherein, Permission Levels, for describing whether the corresponding user of identity identification information possesses the permission consumed in consumption area. The corresponding service content of Permission Levels, for describing in the corresponding user of identity identification information can be consumed in consumption area Hold.
For example, when the corresponding user of identity identification information has second level permission (secondary super-ordinate right), identity identification information Corresponding user can be consumed in the subregion in consumption area.The corresponding service content of second level permission, as can be with Any cost is consumed in subregion in consumption area.
For another example when the corresponding user of identity identification information has first order permission (highest permission), identification letter Ceasing corresponding user can be consumed in the whole region in consumption area.The corresponding service content of first order permission, as may be used To consume arbitrary commodity resource in consumption area.
It is understood that it can be manually entered identity code ID or input by user to obtain identity identification information Telephone number or by press Fingerprint Identification Unit obtain finger print information, then either pass through card reader obtain ID card informations.
In the present embodiment, when identity identification information is obtained, can include but is not limited only to following two scenes.
Scene 1:When user enters consumption area, identity identification information is obtained.
For example, be provided with access control system around consumption area, before user enters consumption area, it is necessary to access control system Identity identification information is inputted, i.e., when user enters consumption area, user to the corresponding access control system in consumption area by inputting After identity identification information, the terminal of payment is completed by loser or server obtains identity identification information.
Scene 2:When being paid in consumption area, identity identification information is obtained.
For example, after user has selected commodity in consumption area, when commodity being carried out with checkout checking, user is obtained Corresponding identity identification information, i.e., when delivery operation is carried out in consumption area, user is inputted by front-end information input equipment After identity identification information, the terminal of payment is completed by loser or server obtains identity identification information.
S220:Judge whether the corresponding user of the identity identification information possesses the consumption rights of consumption area.
In step S220, consumption area is the consumption area for specific crowd setting, for example, school lunch service or factory Worker supermarket etc..
In the present embodiment, when judging whether the corresponding user of identity identification information possesses the consumption rights of consumption area, It is to be judged according to the user right corresponding to identity identification information.
It should be noted that identity identification information corresponds to user right rank and/or the corresponding service content of Permission Levels, Wherein, Permission Levels, for describing whether the corresponding user of identity identification information possesses the permission consumed in consumption area. The corresponding service content of Permission Levels, for describing in the corresponding user of identity identification information can be consumed in consumption area Hold.
As a kind of mode in the cards, step S220 can specifically include:If found from target database with The corresponding account information of the identity identification information, it is determined that the corresponding user of the identity identification information possesses the Consumer right Limit;If account information corresponding with the identity identification information is not found from target database, it is determined that the identity is known The corresponding user of other information does not possess the consumption rights.
It should be noted that target database is for recording the data for the crowd's information that can be consumed in consumption area Storehouse.When account information corresponding with identity identification information can be found from target database, identity identification information is represented Corresponding user belongs to the crowd that can be consumed in consumption area, that is, determines that the corresponding user of identity identification information possesses and disappear Take permission.
It is understood that when not finding account information corresponding with identity identification information from target database, It represents that the corresponding user of identity identification information is not belonging to the crowd that can be consumed in consumption area, that is, determines identification letter It ceases corresponding user and does not possess consumption rights.
S230:If the corresponding user of the identity identification information possesses the consumption rights of consumption area, and detects to refer to Show the predetermined registration operation that resource deducts, then judge whether detect consumer in predeterminable area.
In step S230, the predeterminable area is located in the consumption area.Predetermined registration operation is used to indicate resource deduction, tool Body can be that selection enters the touch operation of deduction account resource interfaces or after being cleared to commodity in terminal It checks operation.
It should be noted that predeterminable area is for obtaining the predeterminable area of user's human face image information, due to according only to The corresponding identity identification information of user can not avoid other people from pretending to be into consumption area and carry out resources consumption completely, therefore true Determine after whether the corresponding user of identity identification information possess the consumption rights of consumption area, also to carry out human face image information to user and adopt Collection further verifies the identity of user according to the human face image information collected, that is, verifies whether consumer can be in consumption area Inside consumed.
As a kind of mode in the cards of the present embodiment, step S230 is specifically included:It obtains in the preset range Thermal infrared images information;Judge whether there is human region in predeterminable area according to the thermal infrared images information;If described pre- If there is human region in region, it is determined that detect consumer in the predeterminable area.
It should be noted that determine whether there is human body in predeterminable area according to thermal infrared images information, it can be red according to heat The color and shape of outer image determines, i.e., red and yellow color of object region is determined from thermal infrared images, passes through identification It whether there is human region in the contour shape in color of object region and then definite predeterminable area.
As a kind of mode in the cards of the present embodiment, red and yellow color area is determined from thermal infrared images Domain specifically includes:The three primary colours rgb value of each color region in infrared image is obtained, according to three primary colours rgb value from thermal infrared Red color of object region corresponding with yellow is determined in image.
As a kind of mode in the cards of the present embodiment, determined by identifying the contour shape in color of object region With the presence or absence of human region in predeterminable area, specifically include:The outer profile in color of object region is drawn, obtains color of object region Outer profile figure, which is compared with pre-stored humanoid reference contours figure, when outer profile figure and humanoid reference When figure matches, it is determined that have human region in the predeterminable area.
S240:If detecting consumer in the predeterminable area, the human face image information of the consumer is obtained.
In step S240, predeterminable area is located in consumption area, and predeterminable area is used to capture the facial image letter of consumer Breath.
It should be noted that being equipped with the equipment for capturing consumer's human face image information in predeterminable area, work as detection When having consumer in predeterminable area, by the way that the equipment is called to carry out facial image capture.
In order to avoid there is the phenomenon that hijack accounts during user's corresponding account resource is deducted, face figure is being obtained As during information, it is necessary to carry out Liveness to the source of human face image information.In practice, human face image information is obtained Mode can also be that by obtaining the human face image information in photo or video, i.e., the source of human face image information is non-live Body.Therefore, when obtaining human face image information, it is necessary to carry out live body verification to the source of human face image information.
In the present embodiment, live body verification is carried out to the source of human face image information, target face information can be being obtained Meanwhile consumer is guided to make required movement and then judgement in predeterminable area by way of suggestion voice or prompt text Whether the source of human body image information is live body, for example, blinking, shaking the head, putting head etc. or by way of iris recognition To determine whether the human face image information being acquired comes from live body.Consumer is either guided by way of prompt text again The verification information in prompt text is said according to the regulation time in predeterminable area, for example, identifying code, verification word etc..
It is understood that by call human face image information capture device to the human face image information in predeterminable area into When row obtains, facial image knowledge either can be carried out to photo or video after video by obtaining the photo in predeterminable area Not, so obtain predeterminable area in consumer human face image information.
S250:By the human face image information and default face corresponding with the identity identification information in target database Image information compares.
In step s 250, the human face image information that human face image information is the advance typing of user is preset, the default face Image information is corresponded with identity identification information or an identity identification information can correspond to multiple default facial images and believe Breath.
It should be noted that by human face image information in target database compared with default human face image information it is more permissible It is to be compared by obtaining corresponding characteristic point data in two face image datas respectively.
As a kind of mode in the cards of the present embodiment, step S250 is specifically included:The facial image is obtained at random The fisrt feature point information of information;Human face image information corresponding second is preset according to the fisrt feature point acquisition of information Characteristic point information;By the fisrt feature point information compared with the second feature point information.
It should be noted that fisrt feature point information is in human face image information with second feature point information, position is identical Image parameter information, i.e. fisrt feature point information and second feature point information may each comprise corresponding facial image number The ratio value for accounting for facial image of gray value, three primary colours rgb value or characteristic point in.
For example, gray value of the fisrt feature point information for the eye position in facial image, second feature point information is institute State the gray value of the eye position in the facial image that passenger is collected in safety check.
For another example three primary colours RGB average value of the fisrt feature point information for the Hp position in facial image, second feature The three primary colours RGB average values of Hp position in the facial image that point information is collected for the passenger in safety check.
With reference to above-mentioned mode in the cards, the fisrt feature point information and the second feature point information are compared Compared with, including:The age value of user is determined according to the identity identification information;It is obtained and the age value pair from target database The object matching rate answered, wherein, the object matching rate is directly proportional to the age value;If the fisrt feature point information and institute It states the first matching rate that second feature point information compares and is equal to or more than the object matching rate, it is determined that the facial image Information is consistent with the default human face image information;If the fisrt feature point information is compared with the second feature point information The first matching rate be less than the object matching rate, it is determined that the human face image information and the default human face image information are not Unanimously.
It should be noted that face length is met with the difference of age level and is changed, particularly in juvenile period to adult Between period, the variation degree of face appearance is maximum.In order to avoid because of the long phase change of face human face image information being caused to identify Now higher mortality sets corresponding preset matching rate according to different age levels.Specifically, according to all ages and classes layer appearance The size of variation degree creates corresponding target database between age level and matching rate, the age level in the target database More low then corresponding object matching rate is lower.
For example, set corresponding matching rate according to age level, 10 years old to 15 years old corresponding matching rate is 60%, 16 years old to 20 Year, corresponding matching rate was 65%, and 21 years old to 25 years old corresponding matching rate is 70%, and so on, age level is more low then corresponding Matching rate is lower, and the more high then corresponding matching rate of age level is higher.
In the present embodiment, the matching rate corresponding to each age level in target database, can be each by gathering The corresponding facial image of age level by comparing the variation between the facial image of all ages and classes, and then determines matching rate.Example Such as, by gathering in a certain fixed crowd, everyone max age and two face figures of minimal ages in a certain age level Picture by comparing the variation of the distance between the change in location of characteristic point in two facial images or characteristic point, and then determines every Personal face appearance variation degree size, and then according to the size of appearance variation degree, set the matching of corresponding age level Rate.Wherein, according to the size of appearance variation degree, the matching rate of corresponding age level is set, when appearance variation degree is bigger, then The matching rate of corresponding age level is lower, and when appearance variation degree is smaller, then the matching rate of corresponding age level is higher.
Object matching rate corresponding with the age value is obtained from target database, can be that phase is determined according to age value The age level answered, and then matching rate corresponding with the age level is obtained as object matching rate from target database.For example, 10 Year, corresponding matching rate was 60% to 15 years old, and 16 years old to 20 years old corresponding matching rate is 65%, corresponding matching in 21 years old to 25 years old Rate is 70%.When age value is 19 years old, then corresponding age level is 16 years old to 20 years old, and corresponding object matching rate is 16 years old to 20 Year corresponding matching rate, i.e., 65%.
It is understood that in all embodiments of the invention, matching rate is used to describe human face image information with presetting The consistent degree of human face image information.The corresponding gray value of fisrt feature point, three primary colours rgb value or characteristic point account for face figure The ratio value for accounting for facial image of the ratio value of picture gray value corresponding with second feature point, three primary colours rgb value or characteristic point When comparing, the difference between each difference comparative factor determines the size of matching rate.Therefore, matching rate can be used in description two In a human face image information, the corresponding gray value of same position characteristic point, three primary colours rgb value or characteristic point account for facial image Ratio value between similarity degree.
S260:If the human face image information is consistent with the default human face image information, according to the default behaviour Make to deduct corresponding resource in first account, to complete to pay.
In step S260, resource needs to pay corresponding generation for commodity when consumption area is consumed for describing user Valency.In practice, resource can be real money, ideal money, point certificate, consumption number of times, and can be also used for description commodity is made Time limit or the permission and duration of commodity in use.
It should be noted that it is provided when corresponding resource in first account will be deducted more than the residue in the first account The resource is not deducted in source then, and prompts inadequate resource and do not deducted;When corresponding money in first account will be deducted Source is equal to or less than the surplus resources in the first account, then carries out resource deduction.
Further, in order to avoid resource by thread alternating the phenomenon that, as a kind of mode in the cards of the present embodiment, in root It is deducted according to the predetermined registration operation in first account before corresponding resource, display will be by the content of deduction resource, Yi Jigen The all processes of corresponding resource in first account are deducted according to the predetermined registration operation.
It is understood that, human face image information and default human face image information. with reference to step S250 in the present embodiment It is whether consistent, depending on the gray scale in fisrt feature point information and the corresponding face image data of second feature point information The size of value, the corresponding difference of the ratio value for accounting for facial image of three primary colours rgb value or characteristic point, i.e. the first matching rate with it is pre- If the magnitude relationship between matching rate.
As a kind of mode in the cards of the present embodiment, step S270 is further included after step S250.
It should be noted that step S270 and step S260 is step arranged side by side, i.e., no longer held after step S260 is performed Row step S270 just no longer performs step S260 after performing step S270.
S270:If the human face image information and the default human face image information are inconsistent, alarm prompt is sent simultaneously Reacquire new identity identification information.
In step S270, alarm prompt is used for the staff into consumption area and reflects human face image information and default face Image information is inconsistent.
In practical applications, when human face image information and the inconsistent default human face image information, accused by sending Alert prompting, can remind the staff in consumption area manually to verify the identity of consumer.
It should be noted that reacquire new identity identification information, the identity information of consumer is updated or It verifies again.
It is understood that in practical applications, the acquisition modes of identity identification information can be a variety of.With reference to step S210, the identity identification information got may be inconsistent with customer identification, for example, identity identification information is to pass through consumer The identification ID codes being manually entered, when some number is wrong in the identification ID codes of input, but with the identity of other consumers When identification id code is consistent, it can not be determined before face information identification is carried out.Therefore, when human face image information and default face figure When picture information is inconsistent, by reacquiring new identity identification information, the identity identification information mistake because before can be avoided The phenomenon that causing consumer that can not be consumed in consumption area.
As a kind of mode in the cards of the present embodiment, step S270 can specifically include:According to receiving and institute The corresponding control instruction of alarm prompt is stated, allow or forbids reacquiring new identity identification information.
It should be noted that alarm prompt, which is used for the staff into consumption area, reflects human face image information and default face Image information is inconsistent.The control instruction set as the case may be by the staff in consumption area is determined to allow or forbidden Reacquire new identity identification information.
Optionally, in the present embodiment in other modes in the cards, step can also be included after step S270 S280 can also include step S290 after step S280.Specifically:
S280:If new identity identification information identity identification information one corresponding with the default human face image information It causes, then the human face image information is identified as the default human face image information.
In step S280, when new identity identification information identity corresponding with the default human face image information is known When other information is consistent, then it represents that the consumer pointed by user identification information that step S210 is got, with step S270 In consumer pointed by new identity identification information be same consumer.
In the present embodiment, met and gradually changed due to face length, in human face image information and the default face When image information is inconsistent, it can also be because current collect human face image information and default human face image information is described Same person, but due to the long phase change of face after, appearance currently collect human face image information and default human face image information The phenomenon that inconsistent.
It should be noted that reacquiring new identity identification information, represent to allow to disappear while alarm signal is sent Expense person modifies to default human face image information, so that the comparison efficiency higher of human face image information is carried out next time, than It is more accurate to result.
S290:Corresponding resource in first account is deducted according to the predetermined registration operation, to complete to pay.
In step S290, resource needs to pay corresponding generation for commodity when consumption area is consumed for describing user Valency.In practice, resource can be real money, ideal money, point certificate, consumption number of times, and can be also used for description commodity is made Time limit or the permission and duration of commodity in use.
It should be noted that it is provided when corresponding resource in first account will be deducted more than the residue in the first account The resource is not deducted in source then, and prompts inadequate resource and do not deducted;When corresponding money in first account will be deducted Source is equal to or less than the surplus resources in the first account, then carries out resource deduction.
Further, in order to avoid resource by thread alternating the phenomenon that, as a kind of mode in the cards of the present embodiment, in root It is deducted according to the predetermined registration operation in first account before corresponding resource, display will be by the content of deduction resource, Yi Jigen The all processes of corresponding resource in first account are deducted according to the predetermined registration operation.
The present embodiment judges whether the corresponding user of identity identification information possesses consumption area by obtaining identity identification information Consumption rights, if user possesses the consumption rights of consumption area, and detect be used to indicate resource deduction predetermined registration operation, then The human face image information of consumer in predeterminable area is obtained, by human face image information default face corresponding with identity identification information Image information compares, if human face image information is consistent with default human face image information, the is deducted according to predetermined registration operation Corresponding resource and then completion payment, are realized when user is consumed in consumption area, it is necessary to carry out identity knowledge in one account Other information and the double verification of human face image information identification could be completed to pay, and then avoid the resource quilt in specific consumption area The phenomenon that other people occupy.
By when human face image information and default human face image information are inconsistent, sending alarm prompt and reacquiring new Identity identification information, and when new identity identification information identity identification information corresponding with default human face image information it is consistent When, human face image information is identified as default human face image information, corresponding resource in the first account is deducted according to predetermined registration operation Payment is completed, can avoid, because of the phenomenon that can not completing payment after the long phase change of face, improving the reasonability of payment.
Referring to Fig. 3, Fig. 3 is a kind of schematic block diagram of payment mechanism provided in an embodiment of the present invention.The one of the present embodiment Kind payment mechanism 300 includes:First acquisition unit 310, the first judging unit 320, second judgment unit 330, second obtain single Member 340,350 and first payment unit 360 of comparing unit.Specifically:
First acquisition unit 310, for obtaining identity identification information.
For example, first acquisition unit 310 obtains identity identification information.
First judging unit 320, for judging whether the corresponding user of the identity identification information possesses disappearing for consumption area Take permission.
For example, the first judging unit 320 judges whether the corresponding user of the identity identification information possesses disappearing for consumption area Take permission.
Further, as a kind of mode in the cards of the present embodiment, the first judging unit 320 is specifically used for, if from Account information corresponding with the identity identification information is found in target database, it is determined that the identity identification information corresponds to User possess the consumption rights;If account letter corresponding with the identity identification information is not found from target database Breath, it is determined that the corresponding user of the identity identification information does not possess the consumption rights.
For example, if the first judging unit 320 finds account corresponding with the identity identification information from target database Family information, it is determined that the corresponding user of the identity identification information possesses the consumption rights;If it is not looked into from target database Find account information corresponding with the identity identification information, it is determined that the corresponding user of the identity identification information does not possess institute State consumption rights.
Second judgment unit 330, if possessing the consumption rights of consumption area for the corresponding user of the identity identification information, And detect the predetermined registration operation for being used to indicate resource deduction, then judge consumer whether is detected in predeterminable area, it is described default Region is located in the consumption area.
If for example, the corresponding user of 330 identity identification information of second judgment unit possesses the consumption rights of consumption area, And detect the predetermined registration operation for being used to indicate resource deduction, then judge consumer whether is detected in predeterminable area, it is described default Region is located in the consumption area.
Further, further, as a kind of mode in the cards of the present embodiment, second judgment unit 330 is specifically For obtaining the thermal infrared images information in the preset range;Judged according to the thermal infrared images information in predeterminable area Whether human region is had;If there is human region in the predeterminable area, it is determined that consumption is detected in the predeterminable area Person.
For example, second judgment unit 330 obtains the thermal infrared images information in the preset range;According to the thermal infrared Image information judges whether there is human region in predeterminable area;If there is human region in the predeterminable area, it is determined that in institute It states and consumer is detected in predeterminable area.
Second acquisition unit 340 if for detecting consumer in the predeterminable area, obtains the people of the consumer Face image information.
If for example, detecting consumer in 340 predeterminable area of second acquisition unit, the people of the consumer is obtained Face image information.
Comparing unit 350, for by the human face image information and target database with the identity identification information pair The default human face image information answered compares.
For example, comparing unit 350 by the human face image information and target database with the identity identification information pair The default human face image information answered compares.
Further, comparing unit 350 is specifically used for, and the age value of user is determined according to the identity identification information;From Object matching rate corresponding with the age value is obtained in target database, wherein, the object matching rate and the age value It is directly proportional;If first matching rate of the human face image information compared with the default human face image information is equal to or more than institute State object matching rate, it is determined that the human face image information is consistent with the default human face image information;If the facial image First matching rate of the information compared with the default human face image information is less than the object matching rate, it is determined that the face Image information and the default human face image information are inconsistent.
For example, comparing unit 350 determines the age value of user according to the identity identification information;It is obtained from target database Object matching rate corresponding with the age value is taken, wherein, the object matching rate is directly proportional to the age value;If the people First matching rate of the face image information compared with the default human face image information is equal to or more than the object matching rate, then Determine that the human face image information is consistent with the default human face image information;If the human face image information and the default people The first matching rate that face image information compares be less than the object matching rate, it is determined that the human face image information with it is described pre- If human face image information is inconsistent.
First payment unit 360, if consistent with the default human face image information for the human face image information, Corresponding resource in first account is deducted according to the predetermined registration operation, to complete to pay.
If for example, 360 human face image information of the first payment unit is consistent with the default human face image information, Corresponding resource in first account is deducted according to the predetermined registration operation, to complete to pay.
Optionally, payment mechanism 300 further includes:3rd acquiring unit 370.
3rd acquiring unit 370, if inconsistent for the human face image information and the default human face image information, It sends alarm prompt and reacquires new identity identification information.
If for example, 370 human face image information of the 3rd acquiring unit and the default human face image information are inconsistent, It sends alarm prompt and reacquires new identity identification information.
Optionally, payment mechanism 300 further includes:380 and second payment unit 390 of recognition unit.
Recognition unit 380 if inconsistent for the human face image information and the default human face image information, is sent Alarm prompt simultaneously reacquires new identity identification information.
If for example, 380 human face image information of recognition unit and the default human face image information are inconsistent, send Alarm prompt simultaneously reacquires new identity identification information.
Second payment unit 390, for deducting corresponding resource in first account according to the predetermined registration operation, with complete Into payment.
For example, the second payment unit 390 deducts corresponding resource in first account according to the predetermined registration operation, with complete Into payment.
The present embodiment judges whether the corresponding user of identity identification information possesses consumption area by obtaining identity identification information Consumption rights, if user possesses the consumption rights of consumption area, and detect be used to indicate resource deduction predetermined registration operation, then The human face image information of consumer in predeterminable area is obtained, by human face image information default face corresponding with identity identification information Image information compares, if human face image information is consistent with default human face image information, the is deducted according to predetermined registration operation Corresponding resource and then completion payment, are realized when user is consumed in consumption area, it is necessary to carry out identity knowledge in one account Other information and the double verification of human face image information identification could be completed to pay, and then avoid the resource quilt in specific consumption area The phenomenon that other people occupy.
By when human face image information and default human face image information are inconsistent, sending alarm prompt and reacquiring new Identity identification information, and when new identity identification information identity identification information corresponding with default human face image information it is consistent When, human face image information is identified as default human face image information, corresponding resource in the first account is deducted according to predetermined registration operation Payment is completed, can avoid, because of the phenomenon that can not completing payment after the long phase change of face, improving the reasonability of payment.
It is a kind of terminal device schematic block diagram that another embodiment of the present invention provides referring to Fig. 4.This implementation as depicted Terminal device 400 in example can include:One or more processors 401;One or more input equipments 402, one or more A output equipment 403 and memory 404.Above-mentioned processor 401, input equipment 402, output equipment 403 and memory 404 pass through Bus 405 connects.Memory 402 is for storing, and computer program includes instruction, and processor 401 is by calling memory 402 to deposit The computer program of storage performs following operation:
Processor 401 is used for:Obtain identity identification information.
Processor 401 is used for:Judge whether the corresponding user of the identity identification information possesses the consumption rights of consumption area.
Processor 401 is used for:If the corresponding user of the identity identification information possesses the consumption rights of consumption area, and detects To the predetermined registration operation for being used to indicate resource deduction, then judge consumer whether is detected in predeterminable area, the predeterminable area position In in the consumption area.
Processor 401 is used for:If detecting consumer in the predeterminable area, the facial image of the consumer is obtained Information.
Processor 401 is used for:The human face image information is corresponding with the identity identification information with target database Default human face image information compare.
Processor 401 is additionally operable to:If the human face image information is consistent with the default human face image information, basis The predetermined registration operation deducts corresponding resource in first account, to complete to pay.
Processor 401 is specifically used for:Obtain the thermal infrared images information in the preset range;According to the thermal infrared figure As information judges whether there is human region in predeterminable area;If there is human region in the predeterminable area, it is determined that described Consumer is detected in predeterminable area.
Processor 401 is specifically used for:The age value of user is determined according to the identity identification information;From target database Object matching rate corresponding with the age value is obtained, wherein, the object matching rate is directly proportional to the age value;It is if described First matching rate of the human face image information compared with the default human face image information is equal to or more than the object matching rate, Then determine that the human face image information is consistent with the default human face image information;If the human face image information is preset with described The first matching rate that human face image information compares be less than the object matching rate, it is determined that the human face image information with it is described Default human face image information is inconsistent.
Processor 401 is additionally operable to:If the human face image information and the default human face image information are inconsistent, send Alarm prompt simultaneously reacquires new identity identification information.
Processor 401 is additionally operable to:If the human face image information and the default human face image information are inconsistent, send Alarm prompt simultaneously reacquires new identity identification information.
Processor 401 is additionally operable to:Corresponding resource in first account is deducted according to the predetermined registration operation, to complete to prop up It pays.
It should be appreciated that in embodiments of the present invention, alleged processor 501 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint and adopt sensor (for gathering the finger print information of user and fingerprint Directional information), microphone etc., output equipment 403 can include display (LCD etc.), loud speaker etc..
The memory 404 can include read-only memory and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the output equipment 403 described in the embodiment of the present invention can The realization method described in the first embodiment and second embodiment of a kind of method of payment provided in an embodiment of the present invention is performed, Also the realization method of the described equipment of the embodiment of the present invention is can perform, details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program is realized when being executed by processor:
Obtain identity identification information;
Judge whether the corresponding user of the identity identification information possesses the consumption rights of consumption area;
If the corresponding user of the identity identification information possesses the consumption rights of consumption area, and detects and be used to indicate resource The predetermined registration operation of deduction then judges consumer whether is detected in predeterminable area, and the predeterminable area is located in the consumption area;
If detecting consumer in the predeterminable area, the human face image information of the consumer is obtained;
By the human face image information and default facial image corresponding with the identity identification information in target database Information compares;
If the human face image information is consistent with the default human face image information, deducted according to the predetermined registration operation Corresponding resource in first account, to complete to pay.
The computer program is also realized when being executed by processor:
If account information corresponding with the identity identification information is found from target database, it is determined that the identity The corresponding user of identification information possesses the consumption rights;
If account information corresponding with the identity identification information is not found from target database, it is determined that the body The corresponding user of part identification information does not possess the consumption rights.
The computer program is also realized when being executed by processor:
Obtain the thermal infrared images information in the preset range;
Judge whether there is human region in predeterminable area according to the thermal infrared images information;
If there is human region in the predeterminable area, it is determined that detect consumer in the predeterminable area.
The computer program is also realized when being executed by processor:
The age value of user is determined according to the identity identification information;
Corresponding with age value object matching rate is obtained from target database, wherein, the object matching rate and The age value is directly proportional;
If first matching rate of the human face image information compared with the default human face image information is equal to or more than The object matching rate, it is determined that the human face image information is consistent with the default human face image information;
If first matching rate of the human face image information compared with the default human face image information is less than the mesh Mark matching rate, it is determined that the human face image information and the default human face image information are inconsistent.
Next passenger is prompted to enter the monitoring area.
The computer program is also realized when being executed by processor:
If the human face image information and the default human face image information are inconsistent, send alarm prompt and obtain again Take new identity identification information;
If new identity identification information identity identification information corresponding with the default human face image information is consistent, The human face image information is identified as the default human face image information;
Corresponding resource in first account is deducted according to the predetermined registration operation, to complete to pay.
The present embodiment judges whether the corresponding user of identity identification information possesses consumption area by obtaining identity identification information Consumption rights, if user possesses the consumption rights of consumption area, and detect be used to indicate resource deduction predetermined registration operation, then The human face image information of consumer in predeterminable area is obtained, by human face image information default face corresponding with identity identification information Image information compares, if human face image information is consistent with default human face image information, the is deducted according to predetermined registration operation Corresponding resource and then completion payment, are realized when user is consumed in consumption area, it is necessary to carry out identity knowledge in one account Other information and the double verification of human face image information identification could be completed to pay, and then avoid the resource quilt in specific consumption area The phenomenon that other people occupy.
By when human face image information and default human face image information are inconsistent, sending alarm prompt and reacquiring new Identity identification information, and when new identity identification information identity identification information corresponding with default human face image information it is consistent When, human face image information is identified as default human face image information, corresponding resource in the first account is deducted according to predetermined registration operation Payment is completed, can avoid, because of the phenomenon that can not completing payment after the long phase change of face, improving the reasonability of payment.
The computer readable storage medium can be the internal storage unit of the equipment described in foregoing any embodiment, example Such as the hard disk or memory of computer.The computer readable storage medium can also be the External memory equipment of the equipment, example Such as the plug-in type hard disk being equipped in the equipment, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both Including the internal storage unit of the equipment also includes External memory equipment.The computer readable storage medium is described for storing Other programs and data needed for computer program and the equipment.The computer readable storage medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is set Standby and unit specific work process, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit Division is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.In addition, shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated The form that hardware had both may be employed in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (10)

1. a kind of method of payment, which is characterized in that including:
Obtain identity identification information;
Judge whether the corresponding user of the identity identification information possesses the consumption rights of consumption area;
If the corresponding user of the identity identification information possesses the consumption rights of consumption area, and detects and be used to indicate resource deduction Predetermined registration operation, then judge consumer whether is detected in predeterminable area, the predeterminable area is located in the consumption area;
If detecting consumer in the predeterminable area, the human face image information of the consumer is obtained;
By the human face image information and default human face image information corresponding with the identity identification information in target database It compares;
If the human face image information is consistent with the default human face image information, according to deducting the predetermined registration operation Corresponding resource in first account, to complete to pay.
2. method of payment as described in claim 1, which is characterized in that described to judge the corresponding user of the identity identification information Whether the consumption rights of consumption area are possessed, including:
If account information corresponding with the identity identification information is found from target database, it is determined that the identification The corresponding user of information possesses the consumption rights;
If account information corresponding with the identity identification information is not found from target database, it is determined that the identity is known The corresponding user of other information does not possess the consumption rights.
3. method of payment as described in claim 1, which is characterized in that described to judge consumption whether is detected in predeterminable area Person, including:
Obtain the thermal infrared images information in the preset range;
Judge whether there is human region in predeterminable area according to the thermal infrared images information;
If there is human region in the predeterminable area, it is determined that detect consumer in the predeterminable area.
4. method of payment as described in claim 1, which is characterized in that described by the human face image information and target database In compared with default human face image information corresponding with the identity identification information, including:
The age value of user is determined according to the identity identification information;
Corresponding with age value object matching rate is obtained from target database, wherein, the object matching rate with it is described Age value is directly proportional;
If first matching rate of the human face image information compared with the default human face image information is equal to or more than described Object matching rate, it is determined that the human face image information is consistent with the default human face image information;
If first matching rate of the human face image information compared with the default human face image information is less than the target With rate, it is determined that the human face image information and the default human face image information are inconsistent.
5. such as Claims 1-4 any one of them method of payment, which is characterized in that it is described by the human face image information with In target database compared with default human face image information corresponding with the identity identification information after, further include:
If the human face image information and the default human face image information are inconsistent, send alarm prompt and reacquire new Identity identification information.
6. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes following steps when performing the computer program:
Obtain identity identification information;
Judge whether the corresponding user of the identity identification information possesses the consumption rights of consumption area;
If the corresponding user of the identity identification information possesses the consumption rights of consumption area, and detects and be used to indicate resource deduction Predetermined registration operation, then judge consumer whether is detected in predeterminable area, the predeterminable area is located in the consumption area;
If detecting consumer in the predeterminable area, the human face image information of the consumer is obtained;
By the human face image information and default human face image information corresponding with the identity identification information in target database It compares;
If the human face image information is consistent with the default human face image information, according to deducting the predetermined registration operation Corresponding resource in first account, to complete to pay.
7. terminal device as claimed in claim 6, which is characterized in that described to judge the corresponding user of the identity identification information Whether the consumption rights of consumption area are possessed, including:
If account information corresponding with the identity identification information is found from target database, it is determined that the identification The corresponding user of information possesses the consumption rights;
If account information corresponding with the identity identification information is not found from target database, it is determined that the identity is known The corresponding user of other information does not possess the consumption rights.
8. terminal device as claimed in claim 6, which is characterized in that described to judge consumption whether is detected in predeterminable area Person, including:
Obtain the thermal infrared images information in the preset range;
Judge whether there is human region in predeterminable area according to the thermal infrared images information;
If there is human region in the predeterminable area, it is determined that detect consumer in the predeterminable area.
9. terminal device as claimed in claim 8, which is characterized in that described by the human face image information and target database In compared with default human face image information corresponding with the identity identification information, including:
The age value of user is determined according to the identity identification information;
Corresponding with age value object matching rate is obtained from target database, wherein, the object matching rate with it is described Age value is directly proportional;
If first matching rate of the human face image information compared with the default human face image information is equal to or more than described Object matching rate, it is determined that the human face image information is consistent with the default human face image information;
If first matching rate of the human face image information compared with the default human face image information is less than the target With rate, it is determined that the human face image information and the default human face image information are inconsistent.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 the method.
CN201711130330.2A 2017-11-15 2017-11-15 Payment method, terminal device and computer-readable storage medium Active CN108062673B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711130330.2A CN108062673B (en) 2017-11-15 2017-11-15 Payment method, terminal device and computer-readable storage medium
PCT/CN2018/082307 WO2019095616A1 (en) 2017-11-15 2018-04-09 Payment method and device, server, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711130330.2A CN108062673B (en) 2017-11-15 2017-11-15 Payment method, terminal device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108062673A true CN108062673A (en) 2018-05-22
CN108062673B CN108062673B (en) 2021-06-01

Family

ID=62134878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711130330.2A Active CN108062673B (en) 2017-11-15 2017-11-15 Payment method, terminal device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN108062673B (en)
WO (1) WO2019095616A1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960841A (en) * 2018-07-16 2018-12-07 阿里巴巴集团控股有限公司 Method of payment, apparatus and system
CN108960815A (en) * 2018-07-10 2018-12-07 广东小天才科技有限公司 Method and device for payment through wearable device and wearable device
CN109214312A (en) * 2018-08-17 2019-01-15 连云港伍江数码科技有限公司 Information display method, device, computer equipment and storage medium
CN109241868A (en) * 2018-08-16 2019-01-18 平安科技(深圳)有限公司 Face identification method, device, computer equipment and storage medium
CN109376614A (en) * 2018-09-29 2019-02-22 爱笔(北京)智能科技有限公司 A kind of service providing method and device based on face
CN109493112A (en) * 2018-09-28 2019-03-19 深圳壹账通智能科技有限公司 Member management control method, device, computer equipment and storage medium
CN109767229A (en) * 2019-01-16 2019-05-17 厦门中控智慧信息技术有限公司 A kind of method, server and the consumer device of consumption rights management
CN110738500A (en) * 2019-09-29 2020-01-31 湖北三六五优米网络有限公司 Non-sensing face-brushing payment system, method, server and medium
CN111242029A (en) * 2020-01-13 2020-06-05 湖南世优电气股份有限公司 Device control method, device, computer device and storage medium
CN111339885A (en) * 2020-02-19 2020-06-26 平安科技(深圳)有限公司 User identity determination method based on iris recognition and related device
CN111667275A (en) * 2020-06-19 2020-09-15 腾讯科技(深圳)有限公司 User identity identification method, device, equipment and medium thereof
CN112102113A (en) * 2020-09-08 2020-12-18 北京首钢自动化信息技术有限公司 Dining processing method, server, medium and computer equipment
WO2021008106A1 (en) * 2019-07-18 2021-01-21 创新先进技术有限公司 Identity recognition preprocessing method and system and identity recognition method and system
CN112613389A (en) * 2020-12-18 2021-04-06 上海影创信息科技有限公司 Eye gesture control method and system and VR glasses thereof
WO2021097829A1 (en) * 2019-11-22 2021-05-27 连云港伍江数码科技有限公司 Method and apparatus for locking target object, computer device and storage medium
CN113627914A (en) * 2021-08-25 2021-11-09 杭州海康威视数字技术股份有限公司 Face consumption method, face consumption system, face consumption equipment and storage medium
US11451539B2 (en) 2019-07-18 2022-09-20 Advanced New Technologies Co., Ltd. Identity identification and preprocessing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593598A (en) * 2013-11-25 2014-02-19 上海骏聿数码科技有限公司 User online authentication method and system based on living body detection and face recognition
CN104346690A (en) * 2014-10-16 2015-02-11 陆俊 Hotel self-help check-in managing system and method
CN104599127A (en) * 2014-12-30 2015-05-06 天津瑞为拓新科技发展有限公司 Face recognition-based payment system
CN105225112A (en) * 2014-06-20 2016-01-06 中国电信股份有限公司 Mobile payment authorization method and server
CN105550862A (en) * 2015-06-26 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Identity authentication method for mobile payment, authentication terminal, and payment terminal
CN105913242A (en) * 2016-04-01 2016-08-31 王青雷 Cashier face payment system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170004493A1 (en) * 2015-07-02 2017-01-05 Mukesh Kumar Alternate payment method
EP3376454A1 (en) * 2015-07-14 2018-09-19 Samsung Electronics Co., Ltd. Payment system, electronic device and payment method thereof
WO2017039241A1 (en) * 2015-08-28 2017-03-09 Samsung Electronics Co., Ltd. Payment information processing method and apparatus of electronic device
CN106503998A (en) * 2016-10-19 2017-03-15 宁波江东晶量电子科技有限公司 Charging pile intelligent payment method and system based on encrypted biometric information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593598A (en) * 2013-11-25 2014-02-19 上海骏聿数码科技有限公司 User online authentication method and system based on living body detection and face recognition
CN105225112A (en) * 2014-06-20 2016-01-06 中国电信股份有限公司 Mobile payment authorization method and server
CN104346690A (en) * 2014-10-16 2015-02-11 陆俊 Hotel self-help check-in managing system and method
CN104599127A (en) * 2014-12-30 2015-05-06 天津瑞为拓新科技发展有限公司 Face recognition-based payment system
CN105550862A (en) * 2015-06-26 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Identity authentication method for mobile payment, authentication terminal, and payment terminal
CN105913242A (en) * 2016-04-01 2016-08-31 王青雷 Cashier face payment system

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960815A (en) * 2018-07-10 2018-12-07 广东小天才科技有限公司 Method and device for payment through wearable device and wearable device
US10747990B2 (en) 2018-07-16 2020-08-18 Alibaba Group Holding Limited Payment method, apparatus, and system
CN108960841A (en) * 2018-07-16 2018-12-07 阿里巴巴集团控股有限公司 Method of payment, apparatus and system
US10769417B2 (en) 2018-07-16 2020-09-08 Alibaba Group Holding Limited Payment method, apparatus, and system
CN109241868A (en) * 2018-08-16 2019-01-18 平安科技(深圳)有限公司 Face identification method, device, computer equipment and storage medium
CN109214312A (en) * 2018-08-17 2019-01-15 连云港伍江数码科技有限公司 Information display method, device, computer equipment and storage medium
CN109214312B (en) * 2018-08-17 2021-08-31 连云港伍江数码科技有限公司 Information display method and device, computer equipment and storage medium
CN109493112A (en) * 2018-09-28 2019-03-19 深圳壹账通智能科技有限公司 Member management control method, device, computer equipment and storage medium
CN109376614A (en) * 2018-09-29 2019-02-22 爱笔(北京)智能科技有限公司 A kind of service providing method and device based on face
CN109767229A (en) * 2019-01-16 2019-05-17 厦门中控智慧信息技术有限公司 A kind of method, server and the consumer device of consumption rights management
WO2021008106A1 (en) * 2019-07-18 2021-01-21 创新先进技术有限公司 Identity recognition preprocessing method and system and identity recognition method and system
US11451539B2 (en) 2019-07-18 2022-09-20 Advanced New Technologies Co., Ltd. Identity identification and preprocessing
CN110738500A (en) * 2019-09-29 2020-01-31 湖北三六五优米网络有限公司 Non-sensing face-brushing payment system, method, server and medium
WO2021097829A1 (en) * 2019-11-22 2021-05-27 连云港伍江数码科技有限公司 Method and apparatus for locking target object, computer device and storage medium
CN111242029A (en) * 2020-01-13 2020-06-05 湖南世优电气股份有限公司 Device control method, device, computer device and storage medium
CN111339885A (en) * 2020-02-19 2020-06-26 平安科技(深圳)有限公司 User identity determination method based on iris recognition and related device
CN111339885B (en) * 2020-02-19 2024-05-28 平安科技(深圳)有限公司 User identity determining method and related device based on iris recognition
CN111667275A (en) * 2020-06-19 2020-09-15 腾讯科技(深圳)有限公司 User identity identification method, device, equipment and medium thereof
CN111667275B (en) * 2020-06-19 2024-02-13 腾讯科技(深圳)有限公司 User identity recognition method, device, equipment and medium thereof
CN112102113A (en) * 2020-09-08 2020-12-18 北京首钢自动化信息技术有限公司 Dining processing method, server, medium and computer equipment
CN112613389A (en) * 2020-12-18 2021-04-06 上海影创信息科技有限公司 Eye gesture control method and system and VR glasses thereof
CN113627914A (en) * 2021-08-25 2021-11-09 杭州海康威视数字技术股份有限公司 Face consumption method, face consumption system, face consumption equipment and storage medium
CN113627914B (en) * 2021-08-25 2024-04-05 杭州海康威视数字技术股份有限公司 Face consumption method, system, face consumption device and storage medium

Also Published As

Publication number Publication date
WO2019095616A1 (en) 2019-05-23
CN108062673B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN108062673A (en) Method of payment, terminal device and computer readable storage medium
EP3583543B1 (en) Method and smart card adapted for progressive fingerprint enrollment
CN109886697B (en) Operation determination method and device based on expression group and electronic equipment
CN107451816B (en) Method and device for realizing offline transaction
EP1635307A1 (en) Information processing apparatus
CN109409220A (en) Business bootstrap technique, device and storage medium based on recognition of face
CN106096539A (en) A kind of method carrying out bio-identification and terminal
US20040086157A1 (en) Person recognizing apparatus, person recognizing method and passage controller
EP3869395A1 (en) Identity and liveness verification
CN108304708A (en) Mobile terminal, face unlocking method and related product
CN107392184A (en) Recognition of face verification method and device
CN107545160A (en) Fingerprint identification method and device
CN108804006B (en) Unlocking method, device, equipment and storage medium for wearable equipment
CN107909683A (en) Realize method, terminal device and the computer-readable recording medium of boarding
CN105528703A (en) Method and system for implementing payment verification via expression
CN107609703A (en) A kind of commodity attribute method and system applied to physical retail store
CN108875582A (en) Auth method, device, equipment, storage medium and program
CN107589968A (en) Put out screen unlocks method and apparatus
CN109146629A (en) Locking means, device, computer equipment and the storage medium of target object
CN106600845B (en) The self-service method and device fetched of retain card
CN108416298A (en) A kind of scene judgment method and terminal
CN105978867A (en) Fingerprint authentication method and cloud server
CN109118239A (en) Payment method and payment device for payment application program and wearable device
EP4361965A1 (en) Methods and systems for determining the authenticity of an identity document
US20220398423A1 (en) A method for amending a fingerprint template of a smart card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant