Strong identity payment authentication system and method combining social security card and face recognition
Through the matching of social security cards with facial recognition information and blockchain payment verification, the problems of low identity authentication accuracy and low payment efficiency in the existing technology are solved, efficient identity authentication and payment recommendations are achieved, and the security of the system is enhanced. sex.
Patent Information
- Application Number
- CN202411179375.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing strong identity authentication system combining social security cards and facial recognition relies on the experience of front desk staff, resulting in low identity authentication accuracy and low payment efficiency, and failing to effectively recommend products.
By obtaining social security card information and facial recognition information, matching and judging identity authentication, labeling based on salary income range, consumption level index and environmental feature information, recommending products, and payment verification through the blockchain system to improve payment efficiency .
It improves the payment efficiency of strong identity authentication for social security cards and facial recognition, enhances the accuracy and payment efficiency of identity authentication, and improves transaction security through blockchain storage.
Smart Images

Figure CN119090502A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a strong identity payment authentication system and method combining social security card and face recognition. Background Art
[0002] At present, human living conditions are getting better and better, and the tourism industry is developing vigorously in various places. When people travel to various places, they need to register for accommodation. During the registration process, the user's identity needs to be confirmed. The social security card is the main carrier of the government's people's livelihood services. Therefore, during people's accommodation, strong identity payment authentication combining social security cards and facial recognition is very important.
[0003] The existing strong identity payment authentication system that combines social security cards and facial recognition refers to a system where the hotel or homestay front desk determines whether the user and the picture information in the social security card are the same person based on the user's social security card and visually observes the user's facial features. After determining that they are the same person, the purchase and payment operations of various products in the hotel or homestay are carried out. However, the existing strong identity payment authentication system that combines social security cards and facial recognition mainly relies on the work experience of the front desk staff, and has low accuracy in user identity authentication, and does not recommend products to users based on their social security card information. The payment efficiency of the strong identity payment authentication that combines social security cards and facial recognition is low, and there is room for improvement. Summary of the invention
[0004] In order to improve the payment efficiency of strong identity payment authentication combining social security card and face recognition, the present application provides a strong identity payment authentication system and method combining social security card and face recognition.
[0005] In the first aspect, the present application provides a strong identity payment authentication method combining social security card and face recognition, which adopts the following technical solutions:
[0006] A strong identity payment authentication method combining social security card and face recognition, comprising the following steps:
[0007] Obtain the social security card information of the user to be tested, perform face recognition on the user to be tested to obtain face recognition information, and determine whether they are the same person based on the face recognition information and the social security card information. If they are the same person, output a successful identity authentication result;
[0008] Receive the successful identity authentication result, obtain the salary income range information of the user to be tested according to the social security card information of the user to be tested, and label the user to be tested based on the social security card information and the salary income range information to obtain social security label information;
[0009] Receive the successful result of identity authentication, obtain and determine the consumption level index of the user to be tested based on the historical transaction information of the user to be tested;
[0010] Determine the environmental feature information of the user to be tested according to the face recognition information of the user to be tested, and label the user to be tested based on the environmental feature information of the user to be tested to obtain environmental recognition label information;
[0011] Determine the price segment of the recommended product based on the salary income range information and consumption level index of the user to be tested, and obtain the recommended product information based on the price segment of the recommended product, social security label information, and environmental identification label information;
[0012] Recommend products to the user to be tested based on the recommended product information, and analyze whether the user to be tested makes a purchase. If the user to be tested makes a purchase, check the balance information of the bank card associated with the social security card, and make payment based on the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, output the payment authentication success result, and upload the payment authentication success result to the blockchain system.
[0013] Preferably, the social security card information of the user to be tested is obtained, the social security card information includes identity information and social security participation information; the identity information includes head portrait information;
[0014] Performing facial recognition on the user to be tested based on the camera to obtain facial recognition information, wherein the facial recognition information includes information about the user's facial features;
[0015] Based on the distribution of facial features, the head portrait information is segmented to obtain the brow bone portrait information, eye portrait information, ear bone portrait information, nose portrait information and perioral portrait information;
[0016] Based on the distribution of the facial features, the user's facial features information is segmented to obtain the brow bone recognition information, eye recognition information, ear bone recognition information, nose recognition information and perioral recognition information;
[0017] Comparing the brow bone portrait information with the brow bone recognition information to obtain brow bone similarity information, comparing the eye portrait information with the eye recognition information to obtain eye similarity information, comparing the ear bone portrait information with the ear bone recognition information to obtain ear bone similarity information, comparing the nose portrait information with the nose recognition information to obtain nose similarity information, comparing the mouth periphery portrait information with the mouth periphery recognition information to obtain mouth periphery similarity information, and combining the brow bone similarity information, the eye similarity information, the ear bone similarity information, the nose similarity information, and the mouth periphery similarity information to form facial similarity information;
[0018] Presetting similarity threshold information, wherein the similarity threshold information includes a brow bone similarity threshold, an eye similarity threshold, an ear bone similarity threshold, a nose similarity threshold, and a perioral similarity threshold;
[0019] Comparing the facial similarity information with the similarity threshold information one by one to obtain a similarity comparison result, wherein the similarity comparison result includes a brow bone similarity comparison result, an eye similarity comparison result, an ear bone similarity comparison result, a nose similarity comparison result, and a perioral similarity comparison result;
[0020] If the brow bone similarity information in the brow bone similarity comparison result is greater than or equal to the brow bone similarity threshold, then the brow bone match is output as successful, if the eye similarity information in the eye similarity comparison result is greater than or equal to the eye similarity threshold, then the eye match is output as successful, if the ear bone similarity information in the ear bone similarity comparison result is greater than or equal to the ear bone similarity threshold, then the ear bone match is output as successful, if the nose similarity information in the nose similarity comparison result is greater than or equal to the nose similarity threshold, then the nose match is output as successful, if the oral periorbital similarity information in the oral periorbital similarity comparison result is greater than or equal to the oral periorbital similarity threshold, then the oral periorbital match is output as successful, the brow bone match success, the eye match success, the ear bone match success, the nose match success and the oral periorbital match success are combined to form a successful matching result;
[0021] The number of items in the successful matching result is determined to obtain the number of successful matching items. If the number of successful matching items exceeds three, the identity authentication success result is output.
[0022] Preferably, after receiving the successful result of the identity authentication of the user to be tested, the social security participation information in the social security card information of the user to be tested is obtained and the social security participation information is cached;
[0023] The social insurance participation information includes social insurance unit information and social insurance payment base information;
[0024] Determine the industry information of the user to be tested based on the social security unit information, and obtain the average salary range information and the average social security payment base information of the same industry as the user to be tested based on the industry information of the user to be tested;
[0025] Compare the social security payment base information of the user to be tested with the average social security payment base information of the same industry. If the social security payment base information of the user to be tested is consistent with the average social security payment base information of the same industry, the salary income range information of the user to be tested is the average salary range information of the same industry.
[0026] If the social security payment base information of the user to be tested is inconsistent with the average social security payment base information of the same industry, the difference between the social security payment base information of the user to be tested and the average social security payment base information of the same industry is calculated to obtain the social security payment base difference;
[0027] The social security payment base impact coefficient is obtained based on the difference in social security payment base, and the average salary range information of peers is adjusted based on the social security payment base impact coefficient to obtain the salary income range information of the user to be tested;
[0028] Based on the salary income range information and the industry information of the user to be tested, the user to be tested is labeled to obtain social security label information.
[0029] Preferably, historical transaction information of the user to be tested is obtained based on blockchain technology, wherein the historical transaction information includes historical transaction commodity information and historical transaction price information;
[0030] Based on historical transaction commodity information, obtain the median price information and the average price information of the same transaction commodity in the transaction market, compare the median price information with the average price information to obtain a price comparison result, and obtain the benchmark price information based on the price comparison result;
[0031] Compare the historical transaction price information of the user to be tested with the benchmark price information, and calculate the difference between the historical transaction price information of the user to be tested and the benchmark price information to obtain the historical commodity transaction difference;
[0032] The ratio of the historical commodity transaction difference to the benchmark price information is calculated to obtain the transaction commodity impact coefficient, and the commodity transaction impact coefficient of each historical transaction commodity is averaged to obtain the historical consumption impact coefficient;
[0033] The consumption level index of the user to be tested is judged based on the historical consumption impact coefficient. When the historical consumption impact coefficient is positive, the greater the absolute value of the historical consumption impact coefficient, the higher the consumption level index of the user to be tested. When the historical consumption impact coefficient is negative, the greater the absolute value of the historical consumption impact coefficient, the lower the consumption level index of the user to be tested.
[0034] Preferably, the face recognition information also includes surrounding environment information;
[0035] Based on the surrounding environment information, determine whether there are infants or infant items around the user to be tested, and if there are infants or infant items, output infant feature information;
[0036] Based on the surrounding environment information, determine whether there are elderly people around the user to be tested, and if there are elderly people, output elderly feature information;
[0037] Based on the surrounding environment information, it is determined whether there are disabled people around the user to be tested, and if there are disabled people, the disability characteristic information is output, wherein the infant characteristic information, the elderly characteristic information and the disability characteristic information are combined to form the environmental characteristic information;
[0038] The user to be tested is labeled based on the environmental feature information of the user to be tested to obtain environmental identification label information.
[0039] Preferably, the price segment of the salary consumption commodities of the user to be tested is determined based on the salary income range information of the user to be tested;
[0040] Determine the price level of the historical consumption commodities of the user to be tested based on the consumption level index of the user to be tested;
[0041] Compare the price segment of the salary consumption product with the price segment of the historical consumption product and take the larger value to obtain the recommended product price segment of the user to be tested;
[0042] Perform an initial screening of products based on the price range of recommended products to obtain pre-selected recommended products;
[0043] Based on the social security label information and the environmental identification label information, the pre-selected recommended products are screened again to obtain the recommended product information.
[0044] Preferably, based on the recommended product information, a product recommendation is made to the user to be tested, and it is determined whether the user to be tested performs a purchase operation. If the user to be tested performs a purchase operation, a product pre-order result is output;
[0045] After receiving the product pre-order information, the balance of the bank card account associated with the social security card of the user to be tested is detected to obtain the associated bank account balance information;
[0046] Based on the associated bank account balance information, determine whether the balance of the bank card account associated with the social security card of the user to be tested is sufficient to pay for the pre-ordered goods in the pre-order result of the goods. If it is sufficient to pay, ask the user to be tested whether he agrees to directly deduct the bank card account associated with the social security card of the user to be tested. If the user to be tested agrees to direct deduction, output the result of direct deduction of the associated account;
[0047] After receiving the result of direct deduction from the associated account, the bank card account associated with the social security card of the user to be tested is directly deducted based on the price of the pre-ordered product in the pre-order result, and the first payment authentication success result is output after the deduction is successful;
[0048] If the balance of the bank card account associated with the social security card of the user to be tested is insufficient to pay for the pre-ordered goods in the pre-order result, or the user to be tested does not agree to direct deduction, the user to be tested is asked for payment method information;
[0049] Charging the user to be tested based on the payment method willingness information of the user to be tested, and outputting a second payment authentication success result after the charging is successful;
[0050] Obtaining a payment authentication logic OR gate, wherein the payment authentication logic OR gate outputs a payment authentication success result after receiving the first payment authentication success result or the second payment authentication success result;
[0051] The first encryption password is pre-set based on the social security card number of the user to be tested, the second encryption password is pre-set based on the face recognition information of the user to be tested, and the sub-chain encryption password is obtained by combining the first encryption password and the second encryption password;
[0052] The successful payment authentication result is uploaded to the blockchain system and stored, and the successful payment authentication result in the blockchain system is encrypted and protected based on the sub-chain encryption password.
[0053] On the second aspect, this application provides a strong identity payment authentication system combining social security card and face recognition, which adopts the following technical solutions:
[0054] A strong identity payment authentication system combining social security card and face recognition, comprising:
[0055] The identity authentication module is configured to obtain the social security card information of the user to be tested, perform face recognition on the user to be tested to obtain face recognition information, and determine whether they are the same person based on the face recognition information and the social security card information. If they are the same person, an identity authentication success result is output;
[0056] A social security card analysis module is configured to receive a successful identity authentication result, obtain the salary income range information of the user to be tested according to the social security card information of the user to be tested, and label the user to be tested based on the social security card information and the salary income range information to obtain social security label information;
[0057] The consumption level analysis module is configured to receive a successful identity authentication result, obtain and determine the consumption level index of the user to be tested based on the historical transaction information of the user to be tested;
[0058] An environment recognition module is configured to determine the environment feature information of the user to be tested according to the face recognition information of the user to be tested, and label the user to be tested based on the environment feature information of the user to be tested to obtain environment recognition label information;
[0059] The product recommendation analysis module is configured to determine the price segment of the recommended product based on the salary income range information and the consumption level index of the user to be tested, and obtain the recommended product information based on the price segment of the recommended product, the social security label information and the environmental identification label information;
[0060] The payment authentication judgment module is configured to recommend products to the user to be tested based on the recommended product information, and analyze whether the user to be tested performs a purchase operation. If the user to be tested performs a purchase operation, the balance information of the bank card associated with the social security card is detected, and payment is made based on the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, the payment authentication success result is output, and the payment authentication success result is uploaded to the blockchain system.
[0061] In summary, the present application includes at least one of the following beneficial technical effects:
[0062] 1. The face recognition information of the user to be tested is matched with the social security card information to perform identity authentication. If the identity authentication is successful, the identity authentication success result is output. The salary income range information of the user to be tested is obtained according to the social security card information of the user to be tested. The user to be tested is labeled based on the social security card information and the salary income range information to obtain social security label information. The consumption level index of the user to be tested is determined by the historical transaction information of the user to be tested. The environmental characteristics are determined according to the face recognition information and labeled to obtain environmental identification label information. The price segment of the recommended product is determined according to the salary income range information and the consumption level index. The recommended product information is obtained by comprehensively combining the price segment of the recommended product, the social security label information and the environmental identification label information. The user to be tested is recommended products according to the recommended product information, and it is analyzed whether the user to be tested purchases. If the user to be tested purchases, the balance information of the bank card associated with the social security card is detected. The payment is made according to the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, the payment authentication success result is output and uploaded to the blockchain system, thereby improving the payment efficiency of the strong identity payment authentication combining the social security card and face recognition.
[0063] 2. Determine the price segment of the user's salary consumption products with the help of the user's salary income range information, determine the price segment of the user's historical consumption products according to the user's consumption level index, compare the salary consumption product price segment with the historical consumption product price segment and take the larger value to obtain the recommended product price segment of the user, perform a preliminary screening of the products according to the recommended product price segment to obtain pre-selected recommended products, and perform a second screening based on the social security tag information and the environmental identification tag information to obtain the recommended product information, further improving the payment efficiency of the user's strong identity payment authentication combining the social security card and face recognition;
[0064] 3. Recommend products to the user under test with the help of the recommended product information and determine whether to make a purchase operation. If a purchase operation is made, the product pre-order result is output, the balance of the bank card account associated with the social security card of the user under test is detected to obtain the balance information of the associated bank account, and determine whether the bank card account balance is sufficient to pay for the pre-ordered products in the product pre-order results. If it is sufficient to pay, ask the user under test whether he agrees to directly deduct the bank card account associated with the social security card of the user under test. If the user under test agrees to direct deduction, the result of direct deduction of the associated account is output. After the deduction is successful, the first payment authentication success result is output. If the balance of the bank card account associated with the social security card of the user under test is not enough to pay for the pre-ordered products in the product pre-order results, or the user under test does not agree to direct deduction, the user under test is asked for payment method willingness information. The user to be tested is charged based on the payment method willingness information of the user to be tested, and a second payment authentication success result is output after the charging is successful. When the first payment authentication success result or the second payment authentication success result is received, the payment authentication success result is output, which improves the payment efficiency of the strong identity payment authentication combining the social security card and face recognition. Based on the social security card number of the user to be tested and the face recognition information of the user to be tested, the first encryption password and the second encryption password are pre-set respectively, and the sub-chain encryption password is obtained by combining the first encryption password and the second encryption password. The payment authentication success result is uploaded to the blockchain system and stored, and the payment authentication success result stored in the blockchain system is encrypted and protected according to the sub-chain encryption password, which improves the security of the transaction payment situation of the user to be tested stored in the blockchain system. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 This is a flow chart of a strong identity payment authentication method that mainly combines social security card and face recognition in this embodiment;
[0066] Figure 2 This is a module diagram of a strong identity payment authentication system that mainly embodies the present embodiment and combines social security card and face recognition.
[0067] Figure numerals: 1. Identity authentication module; 2. Social security card analysis module; 3. Consumption level analysis module; 4. Environment recognition module; 5. Product recommendation analysis module; 6. Payment authentication judgment module. DETAILED DESCRIPTION
[0068] The present application is further described in detail below in conjunction with the accompanying drawings.
[0069] The embodiment of the present application discloses a strong identity payment authentication method combining a social security card and face recognition.
[0070] A strong identity payment authentication method combining social security card and face recognition, comprising the following steps:
[0071] Reference Figure 1Step S1, obtain the social security card information of the user to be tested, perform face recognition on the user to be tested to obtain face recognition information, match the face recognition information with the social security card information to determine whether they are the same person, and output a successful identity authentication result if they are the same person. Step S1 specifically includes the following sub-steps:
[0072] Step S11, obtaining the social security card information of the user to be tested, the social security card information includes identity information and social security participation information. The identity information includes head portrait information.
[0073] Step S12, performing face recognition on the user to be tested based on the camera to obtain face recognition information, where the face recognition information includes information about the user's facial features.
[0074] Step S13, segmenting the head portrait information based on the distribution of the facial features to obtain brow bone portrait information, eye portrait information, ear bone portrait information, nose portrait information and perioral portrait information.
[0075] Step S14, segmenting the user's facial features information based on the facial features distribution to obtain brow bone recognition information, eye recognition information, ear bone recognition information, nose recognition information and perioral recognition information.
[0076] Step S15, compare the brow bone portrait information with the brow bone recognition information to obtain brow bone similarity information, compare the eye portrait information with the eye recognition information to obtain eye similarity information, compare the ear bone portrait information with the ear bone recognition information to obtain ear bone similarity information, compare the nose portrait information with the nose recognition information to obtain nose similarity information, compare the perioral portrait information with the perioral recognition information to obtain perioral similarity information, and combine the brow bone similarity information, eye similarity information, ear bone similarity information, nose similarity information and perioral similarity information to form facial similarity information.
[0077] Step S16, presetting similarity threshold information, the similarity threshold information including brow bone similarity threshold, eye similarity threshold, ear bone similarity threshold, nose similarity threshold and perioral similarity threshold.
[0078] Step S17, comparing the facial similarity information with the similarity threshold information one by one to obtain a similarity comparison result, wherein the similarity comparison result includes a brow bone similarity comparison result, an eye similarity comparison result, an ear bone similarity comparison result, a nose similarity comparison result, and a perioral similarity comparison result.
[0079] Step S18, if the brow bone similarity information in the brow bone similarity comparison result is greater than or equal to the brow bone similarity threshold, then the brow bone match is output as successful; if the eye similarity information in the eye similarity comparison result is greater than or equal to the eye similarity threshold, then the eye match is output as successful; if the ear bone similarity information in the ear bone similarity comparison result is greater than or equal to the ear bone similarity threshold, then the ear bone match is output as successful; if the nose similarity information in the nose similarity comparison result is greater than or equal to the nose similarity threshold, then the nose match is output as successful; if the oral perioral similarity information in the oral perioral similarity comparison result is greater than or equal to the oral perioral similarity threshold, then the oral perioral match is output as successful; the brow bone match success, eye match success, ear bone match success, nose match success and oral perioral match success are combined to form a successful matching result.
[0080] Step S19, determining the number of items in the successful matching result to obtain the number of successful matching items, and outputting a successful identity authentication result if the number of successful matching items exceeds three.
[0081] In specific application, head portrait information is obtained through the social security card information of the user to be tested, face recognition is performed on the user to be tested to obtain the user's facial features information, and the head portrait information is segmented based on the distribution of facial features to obtain brow bone portrait information, eye portrait information, ear bone portrait information, nose portrait information and perioral portrait information. The user's facial features information is segmented based on the distribution of facial features to obtain brow bone recognition information, eye recognition information, ear bone recognition information, nose recognition information and perioral recognition information. The brow bone portrait information, eye portrait information, ear bone portrait information, nose portrait information and perioral portrait information are compared one by one with the brow bone recognition information, eye recognition information, ear bone recognition information, nose recognition information and perioral recognition information to obtain facial similarity information, and the facial similarity information is compared with the similarity threshold information to determine whether the facial features of the user to be tested can be matched successfully. If the number of successful matches exceeds three, the identity authentication success result is output, which improves the accuracy of matching the head portrait information on the social security card of the user to be tested with the facial recognition information, thereby improving the accuracy of identity authentication of the user to be tested.
[0082] Reference Figure 1 Step S2, receiving the result of successful identity authentication, obtaining the salary income range information of the user to be tested according to the social security card information of the user to be tested, and labeling the user to be tested based on the social security card information and the salary income range information to obtain the social security label information. Step S2 specifically includes the following sub-steps:
[0083] Step S21, after receiving the successful result of the identity authentication of the user to be tested, the social security participation information in the social security card information of the user to be tested is obtained and the social security participation information is cached.
[0084] Step S22, social security participation information includes social security unit information and social security payment base information.
[0085] Step S23, determining the industry information of the user to be tested based on the social security unit information, and obtaining the average salary range information and the average social security payment base information of the same industry as the user to be tested based on the industry information of the user to be tested.
[0086] Step S24, compare the social security payment base information of the user to be tested with the average social security payment base information of the same industry. If the social security payment base information of the user to be tested is consistent with the average social security payment base information of the same industry, then the salary income range information of the user to be tested is the average salary range information of the same industry.
[0087] Step S25, if the social security payment base information of the user to be tested is inconsistent with the average social security payment base information of the same industry, the difference between the social security payment base information of the user to be tested and the average social security payment base information of the same industry is calculated to obtain the social security payment base difference.
[0088] Step S26, obtaining a social security payment base impact coefficient based on the social security payment base difference, wherein the greater the social security payment base difference, the greater the social security payment base impact coefficient, and adjusting the average salary range information of peers based on the social security payment base impact coefficient to obtain the salary income range information of the user to be tested.
[0089] Step S27, labeling the user to be tested based on the salary income range information and the industry information of the user to be tested to obtain social security label information.
[0090] In specific applications, the industry information of the user to be tested is determined through the social security unit information in the social security participation information of the user to be tested, and the average salary range information and the average social security payment base information of the same industry as the user to be tested are obtained based on the industry information of the user to be tested. If the social security payment base information of the user to be tested is consistent with the average social security payment base information of the same industry, then the salary income range information of the user to be tested is the average salary range information of the same industry. If the social security payment base information of the user to be tested is inconsistent with the average social security payment base information of the same industry, the difference is calculated to obtain the social security payment base difference, and the social security payment base influence coefficient is obtained based on the social security payment base difference, and then the salary income range information of the user to be tested is obtained. Based on the salary income range information and the industry information of the user to be tested, the user to be tested is labeled to obtain the social security label information, and the user's information to be tested is analyzed and labeled through the social security card of the user to be tested, thereby improving the detection accuracy of the social security label information of the user to be tested.
[0091] Reference Figure 1 Step S3, receiving the result of successful identity authentication, obtaining and judging the consumption level index of the user to be tested based on the historical transaction information of the user to be tested. Step S3 specifically includes the following sub-steps:
[0092] Step S31, based on the blockchain technology, the historical transaction information of the user to be tested is obtained, and the historical transaction information includes historical transaction commodity information and historical transaction price information.
[0093] Step S32, based on the historical transaction commodity information, obtain the price median information and price average information of the same transaction commodity in the transaction market, compare the price median information with the price average information to obtain a price comparison result, and obtain the benchmark price information based on the price comparison result.
[0094] Among them, if the median price information is greater than or equal to the average price information, the median price information will be marked as the benchmark price information; if the median price information is less than the average price information, the average price information will be marked as the benchmark price information.
[0095] Step S33, comparing the historical transaction price information of the user to be tested with the benchmark price information, and calculating the difference between the historical transaction price information of the user to be tested and the benchmark price information to obtain the historical commodity transaction difference.
[0096] Step S34, calculating the ratio of the historical commodity transaction difference to the benchmark price information to obtain the transaction commodity impact coefficient, and calculating the average of the commodity transaction impact coefficients of each historical transaction commodity to obtain the historical consumption impact coefficient.
[0097] Step S35, judging the consumption level index of the user to be tested based on the historical consumption impact coefficient, wherein when the historical consumption impact coefficient is a positive value, the greater the absolute value of the historical consumption impact coefficient is, the higher the consumption level index of the user to be tested is; and when the historical consumption impact coefficient is a negative value, the greater the absolute value of the historical consumption impact coefficient is, the lower the consumption level index of the user to be tested is.
[0098] In specific applications, the historical transaction information of the user to be tested is obtained through blockchain technology, and the median price information and the average price information of the same transaction commodity in the transaction market are obtained according to the historical transaction commodity information in the historical transaction information. The median price information is compared with the average price information to obtain the benchmark price information. The historical transaction price information in the historical transaction information of the user to be tested is compared with the benchmark price information and the difference is calculated to obtain the historical commodity transaction difference. The transaction commodity impact coefficient is obtained based on the historical commodity transaction difference. The commodity transaction impact coefficient of each historical transaction commodity is averaged to obtain the historical consumption impact coefficient. The consumption level index of the user to be tested is judged according to the historical consumption impact coefficient, which improves the detection accuracy of the consumption level of the user to be tested and provides data support for improving the payment efficiency of strong identity payment authentication combining social security cards and facial recognition.
[0099] Reference Figure 1Step S4, judging the environmental feature information of the user to be tested according to the face recognition information of the user to be tested, and labeling the user to be tested based on the environmental feature information of the user to be tested to obtain environmental recognition label information. Step S4 specifically includes the following sub-steps:
[0100] Step S41: the face recognition information also includes surrounding environment information.
[0101] Step S42, judging whether there are infants or infant articles around the user to be tested based on the surrounding environment information, and outputting infant characteristic information if there are infants or infant articles.
[0102] Step S43, judging whether there are elderly people around the user to be tested based on the surrounding environment information, and outputting elderly characteristic information if there are elderly people.
[0103] Step S44, based on the surrounding environment information, determine whether there are disabled people around the user to be tested, and if there are disabled people, output disability feature information. The infant feature information, the elderly feature information and the disability feature information are combined to form the environmental feature information.
[0104] Step S45 , labeling the user to be tested based on the environmental feature information of the user to be tested to obtain environmental identification label information.
[0105] In specific applications, the surrounding environment information of the user to be tested when performing face recognition is used to determine whether there are infants and young children around the user to be tested. If there are infants and young children, the infant and young child characteristic information is output; based on the surrounding environment information, it is determined whether there are elderly people around the user to be tested. If there are elderly people, the elderly characteristic information is output; based on the surrounding environment information, it is determined whether there are disabled people around the user to be tested. If there are disabled people, the disability characteristic information is output; based on the infant and young child characteristic information, the elderly characteristic information and the disability characteristic information, the user to be tested is labeled to obtain environmental identification label information, thereby improving the detection accuracy of the environmental identification label information of the user to be tested.
[0106] Reference Figure 1 , step S5, determining the price segment of the recommended product based on the salary income range information and consumption level index of the user to be tested, and obtaining the recommended product information based on the price segment of the recommended product, the social security label information and the environmental identification label information. Step S5 specifically includes the following sub-steps:
[0107] Step S51, determining the price range of the goods consumed by the user under test based on the salary income range information of the user under test.
[0108] Step S52, determining the price level of the historical consumption commodities of the user to be tested based on the consumption level index of the user to be tested.
[0109] Step S53, comparing the price level of the salary consumption commodity with the price level of the historical consumption commodity, taking the larger value to obtain the recommended commodity price level of the user to be tested.
[0110] Step S54, performing a preliminary screening of the commodities based on the price range of the recommended commodities to obtain pre-selected recommended commodities.
[0111] Step S55, based on the social security tag information and the environmental identification tag information, the pre-selected recommended products are screened again to obtain recommended product information.
[0112] In specific application, the price segment of the salary consumption commodities of the user to be tested is determined through the salary income range information of the user to be tested, the price segment of the historical consumption commodities of the user to be tested is determined according to the consumption level index of the user to be tested, the salary consumption commodity price segment is compared with the historical consumption commodity price segment to take the larger value, and the recommended commodity price segment of the user to be tested is obtained, and the commodities are initially screened according to the recommended commodity price segment to obtain pre-selected recommended commodities, and then screened again based on the social security label information and the environmental identification label information to obtain the recommended commodity information, thereby improving the payment efficiency of the strong identity payment authentication of the user to be tested that combines the social security card and face recognition.
[0113] Reference Figure 1 , step S6, recommend products to the user to be tested based on the recommended product information, analyze whether the user to be tested performs a purchase operation, if the user to be tested performs a purchase operation, then detect the balance information of the bank card associated with the social security card, and make payment based on the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, output the payment authentication success result, and upload the payment authentication success result to the blockchain system. Step S6 specifically includes the following sub-steps:
[0114] Step S61, recommending products to the user to be tested based on the recommended product information, determining whether the user to be tested performs a purchase operation, and outputting a product pre-order result if the user to be tested performs a purchase operation.
[0115] Step S62, after receiving the commodity pre-order information, the balance of the bank card account associated with the social security card of the user to be tested is detected to obtain the associated bank account balance information.
[0116] Step S6, based on the associated bank account balance information, determine whether the balance of the bank card account associated with the social security card of the user to be tested is sufficient to pay for the pre-ordered goods in the pre-order results. If it is sufficient, ask the user to be tested whether he agrees to directly deduct the money from the bank card account associated with the social security card of the user to be tested. If the user to be tested agrees to direct deduction, output the direct deduction result of the associated account.
[0117] Step S63, after receiving the result of direct deduction from the associated account, direct deduction is performed on the bank card account associated with the social security card of the user to be tested based on the price of the pre-ordered goods in the pre-ordered goods result, and a first payment authentication success result is output after the deduction is successful.
[0118] Step S64: if the balance of the bank card account associated with the social security card of the user to be tested is insufficient to pay for the pre-ordered goods in the pre-order result, or the user to be tested does not agree to direct deduction, the user to be tested is asked for payment method information.
[0119] Step S65, charging the user to be tested based on the payment method willingness information of the user to be tested, and outputting a second payment authentication success result after the charging is successful.
[0120] Step S66, obtaining a payment authentication logic OR gate, the payment authentication logic OR gate outputs a payment authentication success result after receiving the first payment authentication success result or the second payment authentication success result.
[0121] Step S67, presetting the first encrypted password based on the social security card number of the user to be tested, presetting the second encrypted password based on the face recognition information of the user to be tested, and obtaining the sub-chain encrypted password by combining the first encrypted password and the second encrypted password.
[0122] Step S68, upload the successful payment authentication result to the blockchain system and perform storage operations, and encrypt and protect the successful payment authentication result in the blockchain system based on the sub-chain encryption password.
[0123] In specific applications, product information is recommended to the user to be tested, and it is determined whether to make a purchase operation. If a purchase operation is made, the product pre-order result is output, and the balance of the bank card account associated with the social security card of the user to be tested is detected to obtain the balance information of the associated bank account, and it is determined whether the bank card account balance is sufficient to pay for the pre-ordered products in the product pre-order results. If it is sufficient to pay, the user to be tested is asked whether he agrees to directly deduct the fees from the bank card account associated with the social security card of the user to be tested. If the user to be tested agrees to direct deduction, the result of direct deduction of the associated account is output. After the deduction is successful, the first payment authentication success result is output. If the balance of the bank card account associated with the social security card of the user to be tested is not enough to pay for the pre-ordered products in the product pre-order results, or the user to be tested does not agree to direct deduction, the user to be tested is asked for payment method willingness information , the user to be tested is charged based on the payment method willingness information of the user to be tested, and the second payment authentication success result is output after the charging is successful. When the first payment authentication success result or the second payment authentication success result is received, the payment authentication success result is output, which improves the payment efficiency of the strong identity payment authentication combining the social security card and face recognition. Based on the social security card number of the user to be tested and the face recognition information of the user to be tested, the first encryption password and the second encryption password are pre-set respectively, and the sub-chain encryption password is obtained by combining the first encryption password and the second encryption password. The payment authentication success result is uploaded to the blockchain system and stored, and the payment authentication success result stored in the blockchain system is encrypted and protected according to the sub-chain encryption password, which improves the security of the transaction payment situation of the user to be tested stored in the blockchain system.
[0124] The embodiment of the present application also discloses a strong identity payment authentication system that combines social security card and face recognition.
[0125] Reference Figure 2 , a strong identity payment authentication system combining social security card and face recognition includes:
[0126] The identity authentication module is configured to obtain the social security card information of the user to be tested, perform face recognition on the user to be tested to obtain face recognition information, and determine whether they are the same person based on the matching of the face recognition information and the social security card information. If they are the same person, the identity authentication success result is output.
[0127] The social security card analysis module is configured to receive a successful identity authentication result, obtain the salary income range information of the user to be tested based on the social security card information of the user to be tested, and label the user to be tested based on the social security card information and the salary income range information to obtain social security label information.
[0128] The consumption level analysis module is configured to receive a successful identity authentication result, obtain and determine the consumption level index of the user to be tested based on the historical transaction information of the user to be tested.
[0129] The environment recognition module is configured to determine the environment feature information of the user to be tested according to the face recognition information of the user to be tested, and label the user to be tested based on the environment feature information of the user to be tested to obtain environment recognition label information.
[0130] The product recommendation analysis module is configured to determine the price segment of the recommended product based on the salary income range information and consumption level index of the user to be tested, and obtain the recommended product information based on the price segment of the recommended product, social security label information and environmental identification label information.
[0131] The payment authentication judgment module is configured to recommend products to the user to be tested based on the recommended product information, and analyze whether the user to be tested performs a purchase operation. If the user to be tested performs a purchase operation, the balance information of the bank card associated with the social security card is detected, and payment is made based on the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, the payment authentication success result is output, and the payment authentication success result is uploaded to the blockchain system.
[0132] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A strong identity payment authentication method combining social security card and face recognition, characterized in that: The following steps are involved: Obtain the social security card information of the user to be tested, perform face recognition on the user to be tested to obtain face recognition information, and determine whether they are the same person based on the face recognition information and the social security card information. If they are the same person, output a successful identity authentication result; Receive the successful identity authentication result, obtain the salary income range information of the user to be tested according to the social security card information of the user to be tested, and label the user to be tested based on the social security card information and the salary income range information to obtain social security label information; Receive the successful result of identity authentication, obtain and determine the consumption level index of the user to be tested based on the historical transaction information of the user to be tested; Determine the environmental feature information of the user to be tested according to the face recognition information of the user to be tested, and label the user to be tested based on the environmental feature information of the user to be tested to obtain environmental recognition label information; Determine the price segment of the recommended product based on the salary income range information and consumption level index of the user to be tested, and obtain the recommended product information based on the price segment of the recommended product, social security label information, and environmental identification label information; Recommend products to the user to be tested based on the recommended product information, and analyze whether the user to be tested makes a purchase. If the user to be tested makes a purchase, check the balance information of the bank card associated with the social security card, and make payment based on the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, output the payment authentication success result, and upload the payment authentication success result to the blockchain system.
2. According to claim 1, a strong identity payment authentication method combining social security card and face recognition is characterized in that: The steps of obtaining the social security card information of the user to be tested, performing face recognition on the user to be tested to obtain face recognition information, and matching the face recognition information with the social security card information to determine whether they are the same person, and outputting a successful identity authentication result if they are the same person, specifically include: Obtaining the social security card information of the user to be tested, wherein the social security card information includes identity information and social security participation information; the identity information includes head portrait information; Performing facial recognition on the user to be tested based on the camera to obtain facial recognition information, wherein the facial recognition information includes information about the user's facial features; Based on the distribution of facial features, the head portrait information is segmented to obtain the brow bone portrait information, eye portrait information, ear bone portrait information, nose portrait information and perioral portrait information; Based on the distribution of the facial features, the user's facial features information is segmented to obtain the brow bone recognition information, eye recognition information, ear bone recognition information, nose recognition information and perioral recognition information; Comparing the brow bone portrait information with the brow bone recognition information to obtain brow bone similarity information, comparing the eye portrait information with the eye recognition information to obtain eye similarity information, comparing the ear bone portrait information with the ear bone recognition information to obtain ear bone similarity information, comparing the nose portrait information with the nose recognition information to obtain nose similarity information, comparing the mouth periphery portrait information with the mouth periphery recognition information to obtain mouth periphery similarity information, and combining the brow bone similarity information, the eye similarity information, the ear bone similarity information, the nose similarity information, and the mouth periphery similarity information to form facial similarity information; Presetting similarity threshold information, wherein the similarity threshold information includes a brow bone similarity threshold, an eye similarity threshold, an ear bone similarity threshold, a nose similarity threshold, and a perioral similarity threshold; Comparing the facial similarity information with the similarity threshold information one by one to obtain a similarity comparison result, wherein the similarity comparison result includes a brow bone similarity comparison result, an eye similarity comparison result, an ear bone similarity comparison result, a nose similarity comparison result, and a perioral similarity comparison result; If the brow bone similarity information in the brow bone similarity comparison result is greater than or equal to the brow bone similarity threshold, then the brow bone match is output as successful, if the eye similarity information in the eye similarity comparison result is greater than or equal to the eye similarity threshold, then the eye match is output as successful, if the ear bone similarity information in the ear bone similarity comparison result is greater than or equal to the ear bone similarity threshold, then the ear bone match is output as successful, if the nose similarity information in the nose similarity comparison result is greater than or equal to the nose similarity threshold, then the nose match is output as successful, if the oral periorbital similarity information in the oral periorbital similarity comparison result is greater than or equal to the oral periorbital similarity threshold, then the oral periorbital match is output as successful, the brow bone match success, the eye match success, the ear bone match success, the nose match success and the oral periorbital match success are combined to form a successful matching result; The number of items in the successful matching result is determined to obtain the number of successful matching items. If the number of successful matching items exceeds three, the identity authentication success result is output.
3. According to claim 2, a strong identity payment authentication method combining social security card and face recognition is characterized in that: The steps of receiving a successful identity authentication result, obtaining the salary income range information of the user to be tested according to the social security card information of the user to be tested, and labeling the user to be tested based on the social security card information and the salary income range information to obtain the social security label information specifically include: After receiving the successful result of the identity authentication of the user to be tested, the social security participation information in the social security card information of the user to be tested is obtained and the social security participation information is cached; The social insurance participation information includes social insurance unit information and social insurance payment base information; Based on the information of the social security unit, determine the industry information of the user to be tested, and based on the information of the user to be tested, obtain the average salary range information and the average social security payment base information of the same industry as the user to be tested; Compare the social security payment base information of the user to be tested with the average social security payment base information of the same industry. If the social security payment base information of the user to be tested is consistent with the average social security payment base information of the same industry, the salary income range information of the user to be tested is the average salary range information of the same industry. If the social security payment base information of the user to be tested is inconsistent with the average social security payment base information of the same industry, the difference between the social security payment base information of the user to be tested and the average social security payment base information of the same industry is calculated to obtain the social security payment base difference; The social security payment base impact coefficient is obtained based on the social security payment base difference, and the average salary range information of peers is adjusted based on the social security payment base impact coefficient to obtain the salary income range information of the user to be tested; Based on the salary income range information and the industry information of the user to be tested, the user to be tested is labeled to obtain social security label information.
4. According to claim 3, a strong identity payment authentication method combining social security card and face recognition is characterized in that: The step of receiving a successful identity authentication result and obtaining and determining the consumption level index of the user to be tested based on the historical transaction information of the user to be tested specifically includes the following sub-steps: Obtain historical transaction information of the user to be tested based on blockchain technology, wherein the historical transaction information includes historical transaction commodity information and historical transaction price information; Based on historical transaction commodity information, obtain the median price information and the average price information of the same transaction commodity in the transaction market, compare the median price information with the average price information to obtain a price comparison result, and obtain the benchmark price information based on the price comparison result; Compare the historical transaction price information of the user to be tested with the benchmark price information, and calculate the difference between the historical transaction price information of the user to be tested and the benchmark price information to obtain the historical commodity transaction difference; The ratio of the historical commodity transaction difference to the benchmark price information is calculated to obtain the transaction commodity impact coefficient, and the commodity transaction impact coefficient of each historical transaction commodity is averaged to obtain the historical consumption impact coefficient; The consumption level index of the user to be tested is judged based on the historical consumption impact coefficient. When the historical consumption impact coefficient is positive, the greater the absolute value of the historical consumption impact coefficient, the higher the consumption level index of the user to be tested. When the historical consumption impact coefficient is negative, the greater the absolute value of the historical consumption impact coefficient, the lower the consumption level index of the user to be tested.
5. According to claim 4, a strong identity payment authentication method combining social security card and face recognition is characterized in that: The steps of determining the environmental feature information of the user to be tested according to the face recognition information of the user to be tested, and labeling the user to be tested based on the environmental feature information of the user to be tested to obtain environmental recognition label information specifically include: The face recognition information also includes surrounding environment information; Based on the surrounding environment information, determine whether there are infants or infant items around the user to be tested, and if there are infants or infant items, output infant feature information; Based on the surrounding environment information, determine whether there are elderly people around the user to be tested, and if there are elderly people, output elderly feature information; Based on the surrounding environment information, it is determined whether there are disabled people around the user to be tested, and if there are disabled people, the disability characteristic information is output, wherein the infant characteristic information, the elderly characteristic information and the disability characteristic information are combined to form the environmental characteristic information; The user to be tested is labeled based on the environmental feature information of the user to be tested to obtain environmental identification label information.
6. According to claim 5, a strong identity payment authentication method combining social security card and face recognition is characterized in that: The steps of determining the price segment of the recommended product based on the salary income range information and the consumption level index of the user to be tested, and obtaining the recommended product information based on the price segment of the recommended product, the social security label information, and the environmental identification label information specifically include: Determine the price segment of the salary consumption commodities of the user to be tested based on the salary income range information of the user to be tested; Determine the price level of the historical consumption commodities of the user to be tested based on the consumption level index of the user to be tested; Compare the price segment of the salary consumption product with the price segment of the historical consumption product and take the larger value to obtain the recommended product price segment of the user to be tested; Perform an initial screening of products based on the price range of recommended products to obtain pre-selected recommended products; Based on the social security label information and the environmental identification label information, the pre-selected recommended products are screened again to obtain the recommended product information.
7. A strong identity payment authentication method combining social security card and face recognition according to claim 6, characterized in that: Recommend products to the user to be tested based on the recommended product information, analyze whether the user to be tested performs a purchase operation, and if the user to be tested performs a purchase operation, detect the balance information of the bank card associated with the social security card, and make a payment based on the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, output the payment authentication success result, and upload the payment authentication success result to the blockchain system, specifically including: Recommend products to the user to be tested based on the recommended product information, determine whether the user to be tested makes a purchase, and output the product pre-order result if the user to be tested makes a purchase; After receiving the product pre-order information, the balance of the bank card account associated with the social security card of the user to be tested is detected to obtain the associated bank account balance information; Based on the associated bank account balance information, determine whether the balance of the bank card account associated with the social security card of the user to be tested is sufficient to pay for the pre-ordered goods in the pre-order result of the goods. If it is sufficient to pay, ask the user to be tested whether he agrees to directly deduct the bank card account associated with the social security card of the user to be tested. If the user to be tested agrees to direct deduction, output the result of direct deduction of the associated account; After receiving the result of direct deduction from the associated account, the bank card account associated with the social security card of the user to be tested is directly deducted based on the price of the pre-ordered product in the pre-order result, and the first payment authentication success result is output after the deduction is successful; If the balance of the bank card account associated with the social security card of the user to be tested is insufficient to pay for the pre-ordered goods in the pre-order result, or the user to be tested does not agree to direct deduction, the user to be tested is asked for payment method information; Charging the user to be tested based on the payment method willingness information of the user to be tested, and outputting a second payment authentication success result after the charging is successful; Obtaining a payment authentication logic OR gate, wherein the payment authentication logic OR gate outputs a payment authentication success result after receiving the first payment authentication success result or the second payment authentication success result; The first encryption password is pre-set based on the social security card number of the user to be tested, the second encryption password is pre-set based on the face recognition information of the user to be tested, and the sub-chain encryption password is obtained by combining the first encryption password and the second encryption password; The successful payment authentication result is uploaded to the blockchain system and stored, and the successful payment authentication result in the blockchain system is encrypted and protected based on the sub-chain encryption password.
8. A strong identity payment authentication system combining social security card and face recognition, characterized in that: The strong identity payment authentication system combining social security card and face recognition is used to implement the strong identity payment authentication method combining social security card and face recognition as described in any one of claims 1 to 7, including: The identity authentication module is configured to obtain the social security card information of the user to be tested, perform face recognition on the user to be tested to obtain face recognition information, and determine whether they are the same person based on the face recognition information and the social security card information. If they are the same person, an identity authentication success result is output; A social security card analysis module is configured to receive a successful identity authentication result, obtain the salary income range information of the user to be tested according to the social security card information of the user to be tested, and label the user to be tested based on the social security card information and the salary income range information to obtain social security label information; The consumption level analysis module is configured to receive a successful identity authentication result, obtain and determine the consumption level index of the user to be tested based on the historical transaction information of the user to be tested; An environment recognition module is configured to determine the environment feature information of the user to be tested according to the face recognition information of the user to be tested, and label the user to be tested based on the environment feature information of the user to be tested to obtain environment recognition label information; The product recommendation analysis module is configured to determine the price segment of the recommended product based on the salary income range information and the consumption level index of the user to be tested, and obtain the recommended product information based on the price segment of the recommended product, the social security label information and the environmental identification label information; The payment authentication judgment module is configured to recommend products to the user to be tested based on the recommended product information, and analyze whether the user to be tested performs a purchase operation. If the user to be tested performs a purchase operation, the balance information of the bank card associated with the social security card is detected, and payment is made based on the balance information of the bank card associated with the social security card and the payment method willingness information of the user to be tested. If the payment is successful, the payment authentication success result is output, and the payment authentication success result is uploaded to the blockchain system.
