Cloud computing-based payment data security management method and system
Through the payment data security management method based on cloud computing, the face verification confidence value estimation model is used to determine the authenticity of the payment request, which solves the security risk problem of the mobile payment platform and achieves stronger payment data security management.
Patent Information
- Application Number
- CN202411126558.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-08-16
AI Technical Summary
Existing mobile payment platforms face payment security risks such as cloud platform system attacks and account theft. Face recognition solutions are easily imitated and are in urgent need of a more secure payment management technology solution.
Using a payment data security management method based on cloud computing, the user terminal determines the payment risk level based on the payment request information. When the risk is high, it generates a secondary verification instruction to obtain real-time face images. The cloud server uses historical face images and face verification confidence values to predict The estimation model calculates the confidence value and decides whether to perform the payment operation to prevent imitation and fraud.
It improves the security of the payment process, prevents counterfeiting methods such as photos and AI fake videos, and enhances the security of payment data.
Smart Images

Figure CN118657528A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of payment data security, and in particular to a payment data security management method and system based on cloud computing. Background Art
[0002] With the continuous development of mobile Internet technology, more convenient mobile payment platforms have begun to emerge; in people's daily lives, mobile payment has brought great convenience to people's lives. For payment platforms, mobile payment faces multiple and complex payment security risks, such as cloud platform system attacks, account theft and other payment security risks.
[0003] With the development of technology, online payment has become an indispensable payment method in people's daily life, and the biggest problem of online payment is security. In order to ensure the security of payment data, the operator is usually authenticated when making a payment. The current mainstream security authentication methods include face recognition and other methods. However, face recognition solutions are easy to imitate and forge, so there is an urgent need for a more secure payment management technology solution. Summary of the invention
[0004] The main purpose of the present invention is to provide a payment data security management method and system based on cloud computing, aiming to solve the problem that a more secure payment management technical solution is currently needed.
[0005] The technical solution proposed by the present invention is: A payment data security management method based on cloud computing is applied to a payment data security management system based on cloud computing; the system includes a cloud server, and a user terminal and a merchant terminal that are communicatively connected to the cloud server; the method includes: The user terminal obtains payment request information from the merchant terminal, wherein the payment request information includes the merchant account number and the requested payment amount; The user terminal determines a payment risk level of the current payment request based on the payment request information, wherein the payment risk level is low risk or high risk; When the payment risk level is high risk, the user terminal generates a secondary verification instruction, obtains a real-time facial image of the user based on the secondary verification instruction, and sends the real-time facial image to the cloud server; The cloud server obtains the historical facial image and facial verification confidence value estimation model corresponding to the user, and obtains the confidence value corresponding to the current payment request based on the facial verification confidence value estimation model, the historical facial image and the real-time facial image; The cloud server determines whether to perform a payment operation based on the confidence value.
[0006] Preferably, the cloud server determines whether to perform a payment operation based on the confidence value, and then further comprises: When the cloud server determines to execute the payment operation, sending a feedback instruction to the user terminal; The user terminal packages the payment request information and the user's payment account number and sends them to the cloud server based on the feedback instruction; The cloud server deducts the payment account and transfers the payment to the merchant account in the payment request information; The user terminal determines the payment risk level of the current payment request based on the payment request information, and then further includes: When the payment risk level is low risk, the user terminal packages the payment request information and the user's payment account and sends them to the cloud server; The cloud server deducts the payment from the payment account and transfers the payment to the merchant account in the payment request information.
[0007] Preferably, the cloud server stores a plurality of historical facial images corresponding to the user and the collection time corresponding to each historical facial image; the method further includes: The cloud server establishes a face verification confidence value estimation model corresponding to the user; The cloud server obtains the interpupillary distance between both eyes in the historical face image, marked as the target distance, obtains the nose wing width in the historical face image, marked as the first distance, obtains the zygomatic face width in the historical face image, marked as the second distance, obtains the mandibular face width in the historical face image, marked as the third distance, obtains the lip width in the historical face image, marked as the fourth distance, obtains the distance between the bottom of the mandible and the base of the nose wing in the historical face image, marked as the fifth distance, obtains the distance between the line connecting the center points of the two eyes and the bottom of the mandible in the historical face image, marked as the sixth distance; The cloud server packages the first distance, the second distance, the third distance, the fourth distance, the fifth distance and the sixth distance into an original data set; The cloud server arranges the historical facial images corresponding to the user in the order of the collection time to obtain an image sequence, wherein the first historical facial image in the image sequence represents the historical facial image with the earliest collection time, the kth historical facial image in the image sequence represents the kth historical facial image in the order of the collection time from the earliest to the latest, K is the total number of historical facial images corresponding to the user, and satisfies 1≤k≤K; The cloud server obtains the time interval between the acquisition moments of any two adjacent historical face images in the image sequence, and marks it as the acquisition interval duration: The cloud server trains the face verification confidence value estimation model based on the collection interval length between any two adjacent historical face images in the image sequence and the original data set of each historical face image.
[0008] Preferably, the cloud server trains the face verification confidence value estimation model based on the acquisition interval between any two adjacent historical face images in the image sequence and the original data set of each historical face image, including: The cloud server calculates the resizing coefficient between any two adjacent historical face images in the image sequence: , In the formula, is the size adjustment coefficient between the kth and k+1th historical face images in the image sequence; is the target distance of the k+1th historical face image in the image sequence, in millimeters; is the target distance of the kth historical face image in the image sequence, in millimeters; The cloud server calculates a face ratio change data set between two adjacent historical face images based on the original data set and the size adjustment coefficient between any two adjacent historical face images in the image sequence, wherein the face ratio change data set includes a first ratio, a second ratio, a third ratio, a fourth ratio, a fifth ratio and a sixth ratio, and the calculation formula of the face ratio change data set is: , , In the formula, is the first ratio between the kth and k+1th historical face images in the image sequence; is the first distance of the k+1th historical face image in the image sequence, in millimeters; is the first distance of the kth historical face image in the image sequence, in millimeters; is the second ratio between the kth and k+1th historical face images in the image sequence; is the second distance of the k+1th historical face image in the image sequence, in millimeters; is the second distance of the kth historical face image in the image sequence, in millimeters; is the third ratio between the kth and k+1th historical face images in the image sequence; is the third distance of the k+1th historical face image in the image sequence, in millimeters; is the third distance of the kth historical face image in the image sequence, in millimeters; is the fourth ratio between the kth and k+1th historical face images in the image sequence; is the fourth distance of the k+1th historical face image in the image sequence, in millimeters; is the fourth distance of the kth historical face image in the image sequence, in millimeters; is the fifth ratio between the kth and k+1th historical face images in the image sequence; is the fifth distance of the k+1th historical face image in the image sequence, in millimeters; is the fifth distance of the kth historical face image in the image sequence, in millimeters; is the sixth ratio between the kth and k+1th historical face images in the image sequence; is the sixth distance of the k+1th historical face image in the image sequence, in millimeters; is the sixth distance of the kth historical face image in the image sequence, in millimeters; The cloud server uses the face ratio change data set between any two adjacent historical face images in the image sequence as the input parameter of the face verification confidence value estimation model, and uses the collection interval length between the same two adjacent historical face images as the output parameter of the face verification confidence value estimation model for training.
[0009] Preferably, the cloud server obtains the historical face image and face verification confidence value estimation model corresponding to the user, and obtains the confidence value corresponding to the current payment request based on the face verification confidence value estimation model, the historical face image and the real-time face image, including: The cloud server marks the historical face image corresponding to the user and whose collection time is closest to the current time as a reference image; The cloud server obtains an original data set corresponding to the real-time face image and an original data set corresponding to the reference image; The cloud server obtains a size adjustment coefficient between the real-time face image and the reference image; The cloud server calculates a face ratio change data set between the real-time face image and the reference image based on a size adjustment coefficient between the real-time face image and the reference image, an original data set corresponding to the real-time face image, and an original data set corresponding to the reference image; The cloud server inputs the face ratio change data set between the real-time face image and the reference image into the trained face verification confidence value estimation model to obtain the interval duration output by the face verification confidence value estimation model and marks it as the estimated interval duration; The cloud server obtains the actual time interval between the acquisition time of the reference image and the current time; The cloud server calculates a confidence value corresponding to the current payment request based on the estimated interval duration and the actual interval duration.
[0010] Preferably, the cloud server calculates the confidence value corresponding to the current payment request based on the estimated interval duration and the actual interval duration using the following calculation formula: , In the formula, The confidence value corresponding to this payment request; is the estimated interval duration; is the actual interval duration; The cloud server determines whether to perform a payment operation based on the confidence value, including: When the confidence value is less than a preset value, the cloud server determines to execute a payment operation; When the confidence value is greater than or equal to a preset value, the cloud server determines to refuse to perform the payment operation.
[0011] Preferably, the cloud server stores historical payment data corresponding to the user; the historical payment data includes the payment address and actual payment amount corresponding to each payment behavior, and the payment address is the real-time location address of the user terminal when the user performs the payment operation; the user terminal determines the payment risk level of the current payment request based on the payment request information, including: The user terminal obtains historical payment data corresponding to the user within a preset time period in the past and marks it as data to be analyzed; The user terminal marks the payment behavior in the data to be analyzed as a target behavior, and obtains the input preset radius and preset ratio; The user terminal determines whether there is a target area that meets the following conditions: the target area is a circular area, the radius of the target area is the preset radius, and payment addresses corresponding to a preset proportion of target behaviors are all within the target area; If yes, the user terminal marks the center point of the target area as the center point of the life trajectory; If not, the user terminal increases the preset radius, and then performs the steps of determining whether the target area exists and the subsequent steps again; The user terminal obtains the current location and the requested payment amount in the payment request information; The user terminal determines the payment risk level of the current payment request based on the current location, the requested payment amount and the life trajectory center point.
[0012] Preferably, the user terminal determines the payment risk level of the current payment request based on the current location, the requested payment amount and the life trajectory center point, including: The user terminal obtains the distance between the current position and the center point of the life trajectory, and marks it as the seventh distance; The user terminal determines whether the following conditions are met: the seventh distance is greater than a preset distance value, or the requested payment amount is greater than a preset amount; If satisfied, the user terminal determines that the payment risk level is high risk; If not, the user terminal determines that the payment risk level is low risk.
[0013] Preferably, the user terminal includes a camera module; when the payment risk level is high risk, the user terminal generates a secondary verification instruction, obtains a real-time face image of the user based on the secondary verification instruction, and sends the real-time face image to the cloud server, including: The user terminal obtains a real-time face image collected by a camera module; The user terminal randomly selects two pixels in the real-time face image as first target pixels, and marks a pixel corresponding to a midpoint of a line between the two first target pixels as a second target pixel; The user terminal determines the rotation radius corresponding to the two first target pixels, wherein the rotation radius corresponding to the first target pixel is smaller than the distance between the first target pixel and the nearest boundary in the real-time face image, and the distance between the two first target pixels is larger than the sum of the rotation radii corresponding to the two first target pixels; The user terminal uses half of the distance between the two first target pixel points as the rotation radius corresponding to the second target pixel point; The user terminal determines preset angles corresponding to two first target pixel points, wherein the preset angles corresponding to the two first target pixel points are different; The user terminal determines a preset angle corresponding to a second target pixel point; The user terminal performs an anti-leakage transformation operation on the real-time face image, including: The user terminal crops a circular area with one of the first target pixels as the center and the corresponding rotation radius as the radius in the real-time face image, and then rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified real-time face image, and marks it as the first image; The user terminal crops a circular area with another first target pixel point as the center and the corresponding rotation radius as the radius in the first image, and rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified first image, and marks it as the second image; The user terminal crops a circular area with the second target pixel point as the center and the corresponding rotation radius as the radius in the second image, and rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified second image, and marks it as a third image; The user terminal sends the third image, the pixel position of the first target pixel, the rotation radius and the preset angle corresponding to the first target pixel, the pixel position of the second target pixel, and the rotation radius and the preset angle corresponding to the second target pixel to the cloud server; The method further comprises: The cloud server restores the third image based on the third image, the pixel position of the first target pixel, the rotation radius and preset angle corresponding to the first target pixel, the pixel position of the second target pixel, and the rotation radius and preset angle corresponding to the second target pixel to generate an original real-time facial image.
[0014] The present invention also proposes a payment data security management system based on cloud computing, which applies a payment data security management method based on cloud computing; the system includes a cloud server, and a user terminal and a merchant terminal that are communicatively connected to the cloud server.
[0015] Through the above technical solution, the following beneficial effects can be achieved: The payment data security management method based on cloud computing proposed in the present invention can ensure that the payment process is safer; in specific operation, the user terminal first determines the payment risk level of the current payment request based on the payment request information, and if it is a low risk, the transaction is carried out normally; if it is a high risk, a secondary verification instruction is generated, and the user's real-time face image is obtained based on the secondary verification instruction, and the real-time face image is sent to the cloud server, the cloud server obtains the user's corresponding historical face image and face verification confidence value estimation model, and obtains the confidence value corresponding to the current payment request based on the face verification confidence value estimation model, the historical face image and the real-time face image. The confidence value can reflect the authenticity of the real-time face image collected during the current payment process to prevent imitation and fraud (such as counterfeiting methods such as photos and AI fraud videos), and then determines whether to execute the payment operation based on the confidence value; therefore, the security of the payment data security management method based on cloud computing proposed in the present invention is stronger than that of the existing technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0017] Figure 1 This is a flowchart of the steps of a first embodiment of a payment data security management method based on cloud computing proposed by the present invention. DETAILED DESCRIPTION
[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0019] The present invention provides a payment data security management method and system based on cloud computing.
[0020] As attached Figure 1 As shown, in a first embodiment of a payment data security management method based on cloud computing proposed by the present invention, the method is applied to a payment data security management system based on cloud computing; the system includes a cloud server (the cloud server here is a server used by a third-party platform that executes payment amount deduction, such as a cloud server used by a bank), and a user terminal and a merchant terminal (the merchant terminal here is a terminal for conducting commercial transactions, such as a cash register terminal) that are communicatively connected to the cloud server. This embodiment includes the following steps: Step S110: the user terminal (eg, mobile phone terminal) obtains payment request information from the merchant terminal, wherein the payment request information includes the merchant account number (bank account number) and the requested payment amount.
[0021] Step S120: The user terminal determines the payment risk level of the current payment request based on the payment request information, wherein the payment risk level is low risk or high risk.
[0022] Step S130: When the payment risk level is high risk, the user terminal generates a secondary verification instruction, obtains a real-time facial image of the user based on the secondary verification instruction, and sends the real-time facial image to the cloud server.
[0023] Step S140: The cloud server obtains the historical facial image and facial verification confidence value estimation model corresponding to the user, and obtains the confidence value corresponding to the current payment request based on the facial verification confidence value estimation model, the historical facial image and the real-time facial image.
[0024] Step S150: The cloud server determines whether to perform a payment operation based on the confidence value.
[0025] The payment data security management method based on cloud computing proposed in the present invention can ensure that the payment process is safer; in specific operation, the user terminal first determines the payment risk level of the current payment request based on the payment request information, and if it is a low risk, the transaction is carried out normally; if it is a high risk, a secondary verification instruction is generated, and the user's real-time face image is obtained based on the secondary verification instruction, and the real-time face image is sent to the cloud server, the cloud server obtains the user's corresponding historical face image and face verification confidence value estimation model, and obtains the confidence value corresponding to the current payment request based on the face verification confidence value estimation model, the historical face image and the real-time face image. The confidence value can reflect the authenticity of the real-time face image collected during the current payment process to prevent imitation and fraud (such as counterfeiting methods such as photos and AI fraud videos), and then determines whether to execute the payment operation based on the confidence value; therefore, the security of the payment data security management method based on cloud computing proposed in the present invention is stronger than that of the existing technical solutions.
[0026] In a second embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the first embodiment, step S150 further includes the following steps: Step S210: When the cloud server determines to execute the payment operation, it sends a feedback instruction to the user terminal.
[0027] Step S220: The user terminal packages the payment request information and the user's payment account (ie, the user's bank account) based on the feedback instruction and sends them to the cloud server.
[0028] Specifically, after receiving the feedback instruction, the user terminal determines that the payment operation can be performed, so the payment request information and the user's payment account are packaged and sent to the cloud server.
[0029] Step S230: The cloud server deducts the payment account and transfers the payment to the merchant account in the payment request information.
[0030] Specifically, the payment operation is performed according to the payment request information.
[0031] Step S120 further includes the following steps: Step S240: When the payment risk level is low risk, the user terminal packages the payment request information and the user's payment account and sends them to the cloud server.
[0032] Step S250: The cloud server deducts the payment account and transfers the payment to the merchant account in the payment request information.
[0033] Specifically, when the payment risk level is a low risk level, the payment operation is performed normally.
[0034] In a third embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the first embodiment, the cloud server stores a plurality of historical face images corresponding to the user, and the collection time corresponding to each historical face image (the historical face image here is the face image uploaded by the user when performing normal payment operations using the user terminal in the past. In order to ensure the training accuracy of the subsequent face verification confidence value estimation model, the time span of the collection time of the historical face image should be ensured to be at least 3 years in practice); this embodiment also includes the following steps: Step S310: The cloud server establishes a face verification confidence value estimation model corresponding to the user.
[0035] Step S320: The cloud server obtains the pupil distance between both eyes in the historical facial image, marked as the target distance, obtains the nose wing width in the historical facial image, and marks it as the first distance, obtains the zygomatic width in the historical facial image, and marks it as the second distance, obtains the mandibular width in the historical facial image, and marks it as the third distance, obtains the lip width in the historical facial image, and marks it as the fourth distance, obtains the distance between the bottom of the mandible and the base of the nose wing in the historical facial image, and marks it as the fifth distance, obtains the distance between the line connecting the center points of the two eyes and the bottom of the mandible in the historical facial image, and marks it as the sixth distance.
[0036] Step S330: The cloud server packages the first distance, the second distance, the third distance, the fourth distance, the fifth distance and the sixth distance into an original data set.
[0037] Specifically, among the above parameter indicators of facial images, except that the target distance changes less with the age of the user, the other first distance, second distance, third distance, fourth distance, fifth distance and sixth distance will all change to a corresponding degree over time. Therefore, the face verification confidence value estimation model can be trained by the changes of these data over time; the trained face verification confidence value estimation model can judge the authenticity of the most recently collected real-time facial image. The specific judgment logic is: the degree of change in the original data set between the current real-time collected facial image and the most recently collected facial image should be consistent with the degree of change between the historical facial images. If not, it means that the authenticity of the currently collected real-time facial image is in doubt. In order to ensure payment security, the payment operation will be rejected.
[0038] Step S340: The cloud server arranges the historical facial images corresponding to the user in the order of collection time to obtain an image sequence, wherein the first historical facial image in the image sequence represents the historical facial image with the earliest collection time, the kth historical facial image in the image sequence represents the kth historical facial image sorted from the earliest to the last collection time, K is the total number of historical facial images corresponding to the user, and satisfies 1≤k≤K.
[0039] Step S350: The cloud server obtains the time interval between the acquisition moments of any two adjacent historical face images in the image sequence, and marks it as the acquisition interval duration.
[0040] Step S360: The cloud server trains the face verification confidence value estimation model based on the collection interval between any two adjacent historical face images in the image sequence and the original data set of each historical face image.
[0041] Specifically, the original data set of two adjacent historical face images and the collection interval between the two historical face images are used to train the face verification confidence value estimation model.
[0042] In a fourth embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the third embodiment, step S360 includes the following steps: Step S410: The cloud server calculates the size adjustment coefficient between any two adjacent historical face images in the image sequence: , In the formula, is the size adjustment coefficient between the kth and k+1th historical face images in the image sequence; is the target distance of the k+1th historical face image in the image sequence, in millimeters; is the target distance of the kth historical face image in the image sequence, in millimeters.
[0043] Specifically, since the target distance changes little with the user's age (the target distance of an adult's face hardly changes), it can be used as a reference to adjust the size of any two adjacent historical face images to be consistent; the principle is: assume that the target distance of the face images of the same user is unchanged, and calculate the size adjustment coefficient between the two adjacent historical face images , then the overall size of the k-th historical face image is multiplied by Afterwards, the overall size is consistent with the k+1th historical face image; thus, the sizes of two adjacent historical face images are adjusted to the same standard.
[0044] Step S420: The cloud server calculates a face ratio change data set between two adjacent historical face images based on the original data set and the size adjustment coefficient between any two adjacent historical face images in the image sequence, wherein the face ratio change data set includes a first ratio, a second ratio, a third ratio, a fourth ratio, a fifth ratio and a sixth ratio, and the calculation formula of the face ratio change data set is: , , In the formula, is the first ratio between the kth and k+1th historical face images in the image sequence; is the first distance of the k+1th historical face image in the image sequence, in millimeters; is the first distance of the kth historical face image in the image sequence, in millimeters; is the second ratio between the kth and k+1th historical face images in the image sequence; is the second distance of the k+1th historical face image in the image sequence, in millimeters; is the second distance of the kth historical face image in the image sequence, in millimeters; is the third ratio between the kth and k+1th historical face images in the image sequence; is the third distance of the k+1th historical face image in the image sequence, in millimeters; is the third distance of the kth historical face image in the image sequence, in millimeters; is the fourth ratio between the kth and k+1th historical face images in the image sequence; is the fourth distance of the k+1th historical face image in the image sequence, in millimeters; is the fourth distance of the kth historical face image in the image sequence, in millimeters; is the fifth ratio between the kth and k+1th historical face images in the image sequence; is the fifth distance of the k+1th historical face image in the image sequence, in millimeters; is the fifth distance of the kth historical face image in the image sequence, in millimeters; is the sixth ratio between the kth and k+1th historical face images in the image sequence; is the sixth distance of the k+1th historical face image in the image sequence, in millimeters; is the sixth distance of the kth historical face image in the image sequence, in millimeters.
[0045] Specifically, the first ratio here is the ratio of the first distance between the latter historical face image and the previous historical face image of two adjacent historical face images, which can reflect the change of the first distance; the second ratio, third ratio, fourth ratio, fifth ratio and sixth ratio are the same, and will not be repeated here.
[0046] Step S430: The cloud server uses the face ratio change data set between any two adjacent historical face images in the image sequence as the input parameter of the face verification confidence value estimation model, and uses the collection interval between the same two adjacent historical face images as the output parameter of the face verification confidence value estimation model for training.
[0047] Specifically, the first ratio, second ratio, third ratio, fourth ratio, fifth ratio and sixth ratio between two adjacent historical face images are taken as input parameters, and the collection interval between the two historical face images is taken as the output parameter to train the face verification confidence value estimation model, so that the model can reflect the relationship between the changes between two adjacent historical face images and the collection interval.
[0048] In a fifth embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the fourth embodiment, step S140 includes the following steps: Step S510: The cloud server marks the historical facial image corresponding to the user and whose collection time is closest to the current time as a reference image.
[0049] Specifically, the reference image here is a historical face image that needs to be compared with the real-time face image later.
[0050] Step S520: The cloud server obtains an original data set corresponding to the real-time face image and an original data set corresponding to the reference image.
[0051] Step S530: The cloud server obtains a size adjustment coefficient between the real-time face image and the reference image.
[0052] Step S540: The cloud server calculates a face ratio change data set between the real-time face image and the reference image based on a size adjustment coefficient between the real-time face image and the reference image, an original data set corresponding to the real-time face image, and an original data set corresponding to the reference image.
[0053] Specifically, the method of calculating the face ratio change data set between the real-time face image and the reference image in this step may refer to step S420.
[0054] Step S550: The cloud server inputs the face ratio change data set between the real-time face image and the reference image into the trained face verification confidence value estimation model to obtain the interval duration output by the face verification confidence value estimation model and marks it as the estimated interval duration.
[0055] Specifically, after the face proportion change data set between the real-time face image and the reference image is input into the trained face verification confidence value estimation model, the model can output an estimated interval duration, where the estimated interval duration is the interval duration between the acquisition times of the real-time face image and the reference image calculated based on the model; if the actual interval duration is closer to the estimated interval duration, it means that the degree of change between the real-time face image and the reference image is reasonable, and the authenticity of the real-time face image is higher, and it can be ruled out that it is counterfeited or imitated.
[0056] Step S560: The cloud server obtains the actual interval between the capture time of the reference image and the current time.
[0057] Step S570: The cloud server calculates a confidence value corresponding to the current payment request based on the estimated interval duration and the actual interval duration.
[0058] Specifically, the confidence value corresponding to the current payment request is calculated by the estimated interval duration and the actual interval duration; thus, the authenticity of the real-time face image is reflected by the confidence value.
[0059] In a sixth embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the fifth embodiment, the cloud server calculates the confidence value corresponding to the current payment request based on the estimated interval duration and the actual interval duration as follows: , In the formula, The confidence value corresponding to this payment request; is the estimated interval duration; is the actual interval duration.
[0060] Step S150 includes the following steps: Step S610: When the confidence value is less than a preset value (eg, 0.1), the cloud server determines to perform a payment operation.
[0061] Specifically, from the above analysis, it can be seen that when the confidence value is closer to 0, the authenticity of the real-time face image is higher, so the preset value here is 0.1.
[0062] Step S620: When the confidence value is greater than or equal to a preset value, the cloud server determines to refuse to perform the payment operation.
[0063] Specifically, if the confidence value is greater than or equal to the preset value, it means that the authenticity of the facial image is not high. In order to ensure payment security, the cloud server directly refuses to execute this payment operation.
[0064] In a seventh embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the first embodiment, the cloud server stores historical payment data corresponding to the user; the historical payment data includes a payment address and an actual payment amount corresponding to each payment behavior, and the payment address is a real-time location address of the user terminal when the user performs a payment operation; step S120 includes the following steps: Step S710: The user terminal obtains historical payment data corresponding to the user within a preset time period in the past (eg, the past year), and marks the data as data to be analyzed.
[0065] Step S720: The user terminal marks the payment behavior in the data to be analyzed as a target behavior, and obtains the input preset radius and preset ratio.
[0066] Specifically, here, a preset ratio is used to filter out most of the expenditure behaviors within a preset time period in the past, so the input preset ratio is preferably 80%; the preset radius is the radius value of the subsequent target area, such as 1 kilometer.
[0067] Step S730: The user terminal determines whether there is a target area that meets the following conditions: the target area is a circular area, the radius of the target area is the preset radius, and payment addresses corresponding to a preset proportion of target behaviors are all within the target area.
[0068] Specifically, the target area obtained here is the area where the user makes most of his or her spending. The proportion of consumption expenditure by the user in this area is larger, that is, the target area is the center of the user's life activities. It can be determined that the risk of consumption expenditure in the target area is lower.
[0069] If yes, execute step S740: the user terminal marks the center point of the target area as the center point of the life trajectory.
[0070] If not, execute step S750: the user terminal increases the preset radius, and then executes step S730 and subsequent steps again.
[0071] Specifically, if the target area does not exist, it means that the preset radius is too small to cover the payment addresses corresponding to the preset proportion of target behaviors; the target area can be obtained by increasing the preset radius, and the increase value of the preset radius can be set to 100 meters each time.
[0072] Step S760: The user terminal obtains the current location and the requested payment amount in the payment request information.
[0073] Step S770: The user terminal determines the payment risk level of this payment request based on the current location, the requested payment amount and the life trajectory center point.
[0074] Specifically, the payment risk level is determined based on the following principles: when executing a payment request, the farther the real-time location of the user terminal is from the target area, the higher the corresponding risk level; and the higher the requested payment amount, the higher the corresponding risk level.
[0075] In an eighth embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the seventh embodiment, step S770 includes the following steps: Step S810: the user terminal obtains the distance between the current position and the center point of the life trajectory, and marks it as the seventh distance, where the unit of the seventh distance is meter.
[0076] Step S820: The user terminal determines whether the following conditions are met: the seventh distance is greater than a preset distance value (the preset distance value here is preferably 5 times the preset radius), or the requested payment amount is greater than a preset amount (preferably 20% of the total amount spent by the user in the past month).
[0077] Specifically, through the above conditions, the risk level of this payment request can be determined in real time.
[0078] Step S830: If satisfied, the user terminal determines that the payment risk level is high risk.
[0079] Step S840: If not satisfied, the user terminal determines that the payment risk level is low risk.
[0080] Specifically, this embodiment provides a specific solution for determining the payment risk level of the current payment request based on the current location, the requested payment amount and the target area.
[0081] In a ninth embodiment of a payment data security management method based on cloud computing proposed by the present invention, based on the first embodiment, the user terminal includes a camera module (such as a front camera); step S130 includes the following steps: Step S910: The user terminal obtains a real-time face image captured by a camera module.
[0082] Specifically, after the user terminal collects the user's real-time facial image, the real-time facial image needs to be sent to the cloud server so that the cloud server can perform subsequent risk judgment; in the process of network transmission of the real-time facial image, there is a risk of information leakage, which may lead to the user's real-time facial image being intercepted and leaked; for this reason, this embodiment subsequently provides a solution for how to prevent the real-time facial image from being transmitted leak-proof.
[0083] Step S920: The user terminal randomly selects two pixel points in the real-time face image as first target pixel points, and marks the pixel point corresponding to the midpoint of the line between the two first target pixel points as the second target pixel point.
[0084] Step S930: The user terminal determines the rotation radius corresponding to the two first target pixel points, wherein the rotation radius corresponding to the first target pixel point is smaller than the distance between the first target pixel point and the nearest boundary in the real-time face image, and the distance between the two first target pixel points is larger than the sum of the rotation radii corresponding to the two first target pixel points (to prevent two circular areas with the first target pixel point as the center and the rotation radius as the radius from overlapping in the real-time face image).
[0085] Specifically, the rotation radius corresponding to the first target pixel point here is smaller than the distance between the first target pixel point and the nearest boundary in the real-time face image, in order to avoid the situation where a circular area of the real-time face image cannot be intercepted with the first target pixel point as the center and the rotation radius as the radius.
[0086] Step S940: The user terminal uses half of the distance between the two first target pixel points as the rotation radius corresponding to the second target pixel point.
[0087] Step S950: The user terminal determines the preset angles corresponding to the two first target pixel points, wherein the preset angles corresponding to the two first target pixel points are different.
[0088] Specifically, the preset angle here is the angle at which the circular area to be subsequently intercepted needs to be rotated.
[0089] Step S950: The user terminal determines a preset angle corresponding to a second target pixel point.
[0090] Step S960: the user terminal performs an anti-leakage transformation operation on the real-time face image, specifically comprising the following steps: Step S961: The user terminal crops a circular area with one of the first target pixels as the center and the corresponding rotation radius as the radius in the real-time facial image, and then rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified real-time facial image, and marks it as the first image.
[0091] Step S962: The user terminal crops a circular area with another first target pixel point as the center and the corresponding rotation radius as the radius in the first image, and rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified first image, and marks it as the second image.
[0092] Step S963: The user terminal crops a circular area with the second target pixel point as the center and the corresponding rotation radius as the radius in the second image, and rotates the cropped circular area clockwise by the corresponding preset angle to obtain a modified second image, and marks it as the third image.
[0093] Specifically, through the above steps, two circular areas can be cropped from the real-time face image, and after the cropped circular areas are rotated, the third circular area can be cropped and rotated. After such changes, the third image obtained is quite different from the original real-time face image and cannot reflect the characteristics of the original real-time face image. In this way, even if the third image is leaked during network transmission, the user's real face information will not be leaked, thereby effectively protecting the user's privacy data security.
[0094] Step S970: The user terminal sends the third image, the pixel position of the first target pixel, the rotation radius and preset angle corresponding to the first target pixel, the pixel position of the second target pixel, and the rotation radius and preset angle corresponding to the second target pixel to the cloud server.
[0095] This embodiment further includes the following steps: Step S980: The cloud server restores the third image based on the third image, the pixel position of the first target pixel, the rotation radius and preset angle corresponding to the first target pixel, the pixel position of the second target pixel, and the rotation radius and preset angle corresponding to the second target pixel to generate the original real-time face image.
[0096] Specifically, although the user's privacy data can be prevented from being leaked due to information leakage by transforming the original real-time face image, for the cloud server that needs to perform image analysis, the third image also needs to be restored to facilitate subsequent authenticity judgment.
[0097] Specifically: the cloud server performs a reverse anti-leakage transformation operation on the third image based on the third image, the position coordinates of the first target pixel, the rotation radius and preset angle corresponding to the first target pixel, the position coordinates of the second target pixel, and the rotation radius and preset angle corresponding to the second target pixel to generate the original real-time face image.
[0098] At the same time, in order to further ensure data security, the user terminal can send the third image itself, as well as the above-mentioned third image, the position coordinates of the first target pixel point, the rotation radius and preset angle corresponding to the first target pixel point, the position coordinates of the second target pixel point, and the rotation radius and preset angle corresponding to the second target pixel point in batches to the cloud server.
[0099] The present invention also proposes a payment data security management system based on cloud computing, which applies a payment data security management method based on cloud computing; the system includes a cloud server, and a user terminal and a merchant terminal that are communicatively connected to the cloud server.
[0100] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0101] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A payment data security management method based on cloud computing, characterized in that: Applied to payment data security management system based on cloud computing; The system includes a cloud server, and a user terminal and a merchant terminal that are communicatively connected to the cloud server; The method comprises: The user terminal obtains payment request information from the merchant terminal, wherein the payment request information includes the merchant account number and the requested payment amount; The user terminal determines a payment risk level of the current payment request based on the payment request information, wherein the payment risk level is low risk or high risk; When the payment risk level is high risk, the user terminal generates a secondary verification instruction, obtains a real-time facial image of the user based on the secondary verification instruction, and sends the real-time facial image to the cloud server; The cloud server obtains the historical facial image and facial verification confidence value estimation model corresponding to the user, and obtains the confidence value corresponding to the current payment request based on the facial verification confidence value estimation model, the historical facial image and the real-time facial image; The cloud server determines whether to perform a payment operation based on the confidence value.
2. The method for secure management of payment data based on cloud computing according to claim 1, characterized in that: The cloud server determines whether to perform a payment operation based on the confidence value, and then further includes: When the cloud server determines to execute the payment operation, sending a feedback instruction to the user terminal; The user terminal packages the payment request information and the user's payment account number and sends them to the cloud server based on the feedback instruction; The cloud server deducts the payment account and transfers the payment to the merchant account in the payment request information; The user terminal determines the payment risk level of the current payment request based on the payment request information, and then further includes: When the payment risk level is low risk, the user terminal packages the payment request information and the user's payment account and sends them to the cloud server; The cloud server deducts the payment from the payment account and transfers the payment to the merchant account in the payment request information.
3. The method for secure management of payment data based on cloud computing according to claim 1, characterized in that: The cloud server stores a plurality of historical facial images corresponding to the user and the collection time corresponding to each historical facial image; the method further includes: The cloud server establishes a face verification confidence value estimation model corresponding to the user; The cloud server obtains the interpupillary distance between both eyes in the historical face image, marked as the target distance, obtains the nose wing width in the historical face image, marked as the first distance, obtains the zygomatic face width in the historical face image, marked as the second distance, obtains the mandibular face width in the historical face image, marked as the third distance, obtains the lip width in the historical face image, marked as the fourth distance, obtains the distance between the bottom of the mandible and the base of the nose wing in the historical face image, marked as the fifth distance, obtains the distance between the line connecting the center points of the two eyes and the bottom of the mandible in the historical face image, marked as the sixth distance; The cloud server packages the first distance, the second distance, the third distance, the fourth distance, the fifth distance and the sixth distance into an original data set; The cloud server arranges the historical facial images corresponding to the user in the order of the collection time to obtain an image sequence, wherein the first historical facial image in the image sequence represents the historical facial image with the earliest collection time, the kth historical facial image in the image sequence represents the kth historical facial image in the order of the collection time from the earliest to the latest, K is the total number of historical facial images corresponding to the user, and satisfies 1≤k≤K; The cloud server obtains the time interval between the acquisition moments of any two adjacent historical face images in the image sequence, and marks it as the acquisition interval duration: The cloud server trains the face verification confidence value estimation model based on the collection interval length between any two adjacent historical face images in the image sequence and the original data set of each historical face image.
4. A payment data security management method based on cloud computing according to claim 3, characterized in that: The cloud server trains the face verification confidence value estimation model based on the collection interval between any two adjacent historical face images in the image sequence and the original data set of each historical face image, including: The cloud server calculates the resizing coefficient between any two adjacent historical face images in the image sequence: , In the formula, is the size adjustment coefficient between the kth and k+1th historical face images in the image sequence; is the target distance of the k+1th historical face image in the image sequence, in millimeters; is the target distance of the kth historical face image in the image sequence, in millimeters; The cloud server calculates a face ratio change data set between two adjacent historical face images based on the original data set and the size adjustment coefficient between any two adjacent historical face images in the image sequence, wherein the face ratio change data set includes a first ratio, a second ratio, a third ratio, a fourth ratio, a fifth ratio and a sixth ratio, and the calculation formula of the face ratio change data set is: , , In the formula, is the first ratio between the kth and k+1th historical face images in the image sequence; is the first distance of the k+1th historical face image in the image sequence, in millimeters; is the first distance of the kth historical face image in the image sequence, in millimeters; is the second ratio between the kth and k+1th historical face images in the image sequence; is the second distance of the k+1th historical face image in the image sequence, in millimeters; is the second distance of the kth historical face image in the image sequence, in millimeters; is the third ratio between the kth and k+1th historical face images in the image sequence; is the third distance of the k+1th historical face image in the image sequence, in millimeters; is the third distance of the kth historical face image in the image sequence, in millimeters; is the fourth ratio between the kth and k+1th historical face images in the image sequence; is the fourth distance of the k+1th historical face image in the image sequence, in millimeters; is the fourth distance of the kth historical face image in the image sequence, in millimeters; is the fifth ratio between the kth and k+1th historical face images in the image sequence; is the fifth distance of the k+1th historical face image in the image sequence, in millimeters; is the fifth distance of the kth historical face image in the image sequence, in millimeters; is the sixth ratio between the kth and k+1th historical face images in the image sequence; is the sixth distance of the k+1th historical face image in the image sequence, in millimeters; is the sixth distance of the kth historical face image in the image sequence, in millimeters; The cloud server uses the face ratio change data set between any two adjacent historical face images in the image sequence as the input parameter of the face verification confidence value estimation model, and uses the collection interval length between the same two adjacent historical face images as the output parameter of the face verification confidence value estimation model for training.
5. A payment data security management method based on cloud computing according to claim 4, characterized in that: The cloud server obtains the historical face image and face verification confidence value estimation model corresponding to the user, and obtains the confidence value corresponding to the current payment request based on the face verification confidence value estimation model, the historical face image and the real-time face image, including: The cloud server marks the historical face image corresponding to the user and whose collection time is closest to the current time as a reference image; The cloud server obtains an original data set corresponding to the real-time face image and an original data set corresponding to the reference image; The cloud server obtains a size adjustment coefficient between the real-time face image and the reference image; The cloud server calculates a face ratio change data set between the real-time face image and the reference image based on a size adjustment coefficient between the real-time face image and the reference image, an original data set corresponding to the real-time face image, and an original data set corresponding to the reference image; The cloud server inputs the face ratio change data set between the real-time face image and the reference image into the trained face verification confidence value estimation model to obtain the interval duration output by the face verification confidence value estimation model and marks it as the estimated interval duration; The cloud server obtains the actual time interval between the acquisition time of the reference image and the current time; The cloud server calculates a confidence value corresponding to the current payment request based on the estimated interval duration and the actual interval duration.
6. A payment data security management method based on cloud computing according to claim 5, characterized in that: The cloud server calculates the confidence value corresponding to the current payment request based on the estimated interval duration and the actual interval duration as follows: , In the formula, The confidence value corresponding to this payment request; is the estimated interval duration; is the actual interval duration; The cloud server determines whether to perform a payment operation based on the confidence value, including: When the confidence value is less than a preset value, the cloud server determines to execute a payment operation; When the confidence value is greater than or equal to a preset value, the cloud server determines to refuse to perform the payment operation.
7. The method for secure management of payment data based on cloud computing according to claim 1, characterized in that: The cloud server stores the historical payment data corresponding to the user; the historical payment data includes the payment address and actual payment amount corresponding to each payment behavior, and the payment address is the real-time location address of the user terminal when the user performs the payment operation; The user terminal determines the payment risk level of the current payment request based on the payment request information, including: The user terminal obtains historical payment data corresponding to the user within a preset time period in the past and marks it as data to be analyzed; The user terminal marks the payment behavior in the data to be analyzed as a target behavior, and obtains the input preset radius and preset ratio; The user terminal determines whether there is a target area that meets the following conditions: the target area is a circular area, the radius of the target area is the preset radius, and payment addresses corresponding to a preset proportion of target behaviors are all within the target area; If yes, the user terminal marks the center point of the target area as the center point of the life trajectory; If not, the user terminal increases the preset radius, and then performs the steps of determining whether the target area exists and the subsequent steps again; The user terminal obtains the current location and the requested payment amount in the payment request information; The user terminal determines the payment risk level of the current payment request based on the current location, the requested payment amount and the life trajectory center point.
8. The method for secure management of payment data based on cloud computing according to claim 7, characterized in that: The user terminal determines the payment risk level of the current payment request based on the current location, the requested payment amount and the life trajectory center point, including: The user terminal obtains the distance between the current position and the center point of the life trajectory, and marks it as the seventh distance; The user terminal determines whether the following conditions are met: the seventh distance is greater than a preset distance value, or the requested payment amount is greater than a preset amount; If satisfied, the user terminal determines that the payment risk level is high risk; If not, the user terminal determines that the payment risk level is low risk.
9. The method for secure management of payment data based on cloud computing according to claim 1, characterized in that: The user terminal includes a camera module; when the payment risk level is high risk, the user terminal generates a secondary verification instruction, obtains a real-time face image of the user based on the secondary verification instruction, and sends the real-time face image to the cloud server, including: The user terminal obtains a real-time face image collected by a camera module; The user terminal randomly selects two pixels in the real-time face image as first target pixels, and marks a pixel corresponding to a midpoint of a line between the two first target pixels as a second target pixel; The user terminal determines the rotation radius corresponding to the two first target pixels, wherein the rotation radius corresponding to the first target pixel is smaller than the distance between the first target pixel and the nearest boundary in the real-time face image, and the distance between the two first target pixels is larger than the sum of the rotation radii corresponding to the two first target pixels; The user terminal uses half of the distance between the two first target pixel points as the rotation radius corresponding to the second target pixel point; The user terminal determines preset angles corresponding to two first target pixel points, wherein the preset angles corresponding to the two first target pixel points are different; The user terminal determines a preset angle corresponding to a second target pixel point; The user terminal performs an anti-leakage transformation operation on the real-time face image, including: The user terminal crops a circular area with one of the first target pixels as the center and the corresponding rotation radius as the radius in the real-time face image, and then rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified real-time face image, and marks it as the first image; The user terminal crops a circular area with another first target pixel point as the center and the corresponding rotation radius as the radius in the first image, and rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified first image, and marks it as the second image; The user terminal crops a circular area with the second target pixel point as the center and the corresponding rotation radius as the radius in the second image, and rotates the cropped circular area clockwise by a corresponding preset angle to obtain a modified second image, and marks it as a third image; The user terminal sends the third image, the pixel position of the first target pixel, the rotation radius and the preset angle corresponding to the first target pixel, the pixel position of the second target pixel, and the rotation radius and the preset angle corresponding to the second target pixel to the cloud server; The method further comprises: The cloud server restores the third image based on the third image, the pixel position of the first target pixel, the rotation radius and preset angle corresponding to the first target pixel, the pixel position of the second target pixel, and the rotation radius and preset angle corresponding to the second target pixel to generate an original real-time facial image.
10. A payment data security management system based on cloud computing, characterized in that: The payment data security management method based on cloud computing as described in any one of claims 1 to 9 is applied; the system includes a cloud server, and a user terminal and a merchant terminal that are communicatively connected to the cloud server.
Citation Information
Patent Citations
Mobile payment processing method and system using optimal payment link
CN112101953A
Face recognition method, electronic equipment, computer readable medium and program product
CN114882576A
Face recognition training method and apparatus
US20090238419A1
Audience measurement system and method
US5550928A
Identity recognition utilizing face-associated body characteristics
WO2022241294A2
Cited By
Payment method and device based on risk association model, and network system
CN119313347A
