CN115914384A - Transaction processing method and device, electronic equipment and computer readable medium - Google Patents
Transaction processing method and device, electronic equipment and computer readable medium Download PDFInfo
- Publication number
- CN115914384A CN115914384A CN202211581792.7A CN202211581792A CN115914384A CN 115914384 A CN115914384 A CN 115914384A CN 202211581792 A CN202211581792 A CN 202211581792A CN 115914384 A CN115914384 A CN 115914384A
- Authority
- CN
- China
- Prior art keywords
- transaction
- message
- server
- biometric identification
- identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000012545 processing Methods 0.000 claims abstract description 76
- 238000000034 method Methods 0.000 claims abstract description 53
- 230000004044 response Effects 0.000 claims abstract description 50
- 238000012795 verification Methods 0.000 claims abstract description 40
- 230000008569 process Effects 0.000 claims abstract description 25
- 238000004590 computer program Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000003384 imaging method Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 230000004927 fusion Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000001276 controlling effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本申请公开了交易处理方法、装置、电子设备及计算机可读介质,涉及物联网技术领域,一具体实施方式包括接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识;响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端;接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。可以实现统一化、自动化、简易化的管理多种型号的终端系统,可以应用于多种平台系统,提高了交易处理的效率和便捷性,降低资源消耗。
This application discloses a transaction processing method, device, electronic equipment, and computer-readable medium, and relates to the technical field of the Internet of Things. A specific implementation method includes receiving a transaction processing request, and obtaining a corresponding transaction message, server identification, and biometric identification requirement identification; In response to the biometric identification corresponding to the need for biometric identification, the biometric identification program is executed, and in response to the success of the biometric identification, the distributed message middleware is invoked to send the transaction message to the server corresponding to the server identification; the receiving server returns The verification result information of the transaction message, in response to the verification result information corresponding to the unblocked changes, calling the server to execute the transaction processing process based on the transaction message. It can realize unified, automated and simplified management of various types of terminal systems, and can be applied to various platform systems, improving the efficiency and convenience of transaction processing and reducing resource consumption.
Description
技术领域technical field
本申请涉及物联网技术领域,尤其涉及一种交易处理方法、装置、电子设备及计算机可读介质。The present application relates to the technical field of the Internet of Things, and in particular to a transaction processing method, device, electronic equipment, and computer-readable medium.
背景技术Background technique
目前,随着生物识别设备的普及和推广,应用场景和功能越来越丰富多变,各种生物识别设备与应用软件的对接也变得越来越多,导致软件的功能也越来越复杂。多个设备终端进行权限验证的时候需要做出对应的修改,没有统一化的管理,导致效率低,复用性差,消耗资源。At present, with the popularization and promotion of biometric devices, application scenarios and functions are becoming more and more varied, and there are more and more connections between various biometric devices and application software, resulting in more and more complex software functions. . Corresponding modifications need to be made when multiple device terminals perform permission verification. There is no unified management, resulting in low efficiency, poor reusability, and resource consumption.
发明内容Contents of the invention
有鉴于此,本申请实施例提供一种交易处理方法、装置、电子设备及计算机可读介质,能够解决现有的多个设备终端进行权限验证的时候需要做出对应的修改,没有统一化的管理,导致效率低,复用性差,消耗资源的问题。In view of this, the embodiment of the present application provides a transaction processing method, device, electronic equipment, and computer-readable medium, which can solve the need to make corresponding modifications when multiple existing equipment terminals perform authority verification, and there is no unified Management, leading to problems of low efficiency, poor reusability, and resource consumption.
为实现上述目的,根据本申请实施例的一个方面,提供了一种交易处理方法,包括:To achieve the above purpose, according to an aspect of the embodiment of the present application, a transaction processing method is provided, including:
接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识;Receive the transaction processing request, and obtain the corresponding transaction message, server identification and biometric identification;
响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端;In response to the biometric identification corresponding to the need for biometric identification, the biometric identification program is executed, and in response to the success of the biometric identification, the distributed message middleware is invoked to send the transaction message to the server corresponding to the server identification;
接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。The verification result information of the transaction message returned by the server is received, and in response to the fact that the verification result information corresponds to an unblocked change, the server is called to execute a transaction processing process based on the transaction message.
可选地,获取对应的交易报文,包括:Optionally, obtain corresponding transaction messages, including:
获取交易处理请求对应的终端标识;Obtain the terminal ID corresponding to the transaction processing request;
基于终端标识,获取对应的交易数据;Based on the terminal identification, obtain the corresponding transaction data;
对交易数据执行签名计算和加密计算,以得到签名报文字段和加密报文字段;Perform signature calculation and encryption calculation on transaction data to obtain signed message fields and encrypted message fields;
基于签名报文字段和加密报文字段,执行全报文加密进程,以得到交易报文。Based on the signed message field and the encrypted message field, the full message encryption process is performed to obtain the transaction message.
可选地,在执行生物识别程序之前,方法还包括:Optionally, prior to performing the biometric procedure, the method further comprises:
响应于生物识别需求标识为预设标识,确定生物识别需求标识对应于需要进行生物识别。In response to the biometric requirement flag being the preset flag, determining that the biometric requirement flag corresponds to a need for biometric authentication.
可选地,执行生物识别程序,包括:Optionally, perform biometric procedures, including:
开启摄像设备,获取摄像框中的生物图像;Turn on the camera equipment to obtain the biological image in the camera frame;
将生物图像与已注册图像集合中的各个已注册图像进行匹配。Match the bioimage to each registered image in the registered image collection.
可选地,在调用分布式消息中间件之前,方法还包括:Optionally, before invoking the distributed message middleware, the method further includes:
响应于在各个已注册图像中存在与生物图像相匹配的已注册图像,确定生物识别成功。Biometrics is determined to be successful in response to the presence of a registered image matching the biometric image among the respective registered images.
可选地,将生物图像与已注册图像集合中的各个已注册图像进行匹配,包括:Optionally, matching the bio-image to individual registered images in a collection of registered images, including:
计算生物图像与已注册图像集合中的各个已注册图像之间的相似度;Computing the similarity between the biological image and each registered image in the registered image collection;
基于相似度对生物图像与各个已注册图像进行匹配。The biological image is matched to each registered image based on similarity.
可选地,在调用服务端以执行基于交易报文的交易处理进程之前,方法还包括:Optionally, before invoking the server to execute the transaction processing process based on the transaction message, the method further includes:
调用加解密工具,以对交易报文进行解密,得到明文;Call the encryption and decryption tool to decrypt the transaction message and get the plaintext;
响应于签名报文字段和加密报文字段均与明文相匹配,确定验证结果信息对应于未被拦截改动。In response to both the signed message field and the encrypted message field matching the plaintext, it is determined that the verification result information corresponds to an unintercepted change.
另外,本申请还提供了一种交易处理装置,包括:In addition, the present application also provides a transaction processing device, including:
接收单元,被配置成接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识;The receiving unit is configured to receive a transaction processing request, and obtain a corresponding transaction message, server identification and biometric identification;
发送单元,被配置成响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端;The sending unit is configured to respond to the biometric identification corresponding to the need for biometric identification, execute the biometric identification program, and call the distributed message middleware in response to the success of the biometric identification, so as to send the transaction message to the service corresponding to the identification of the server end;
交易处理单元,被配置成接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。The transaction processing unit is configured to receive the verification result information of the transaction message returned by the server, and call the server to execute the transaction processing process based on the transaction message in response to the verification result information corresponding to the unblocked changes.
可选地,接收单元进一步被配置成:Optionally, the receiving unit is further configured to:
获取交易处理请求对应的终端标识;Obtain the terminal ID corresponding to the transaction processing request;
基于终端标识,获取对应的交易数据;Based on the terminal identification, obtain the corresponding transaction data;
对交易数据执行签名计算和加密计算,以得到签名报文字段和加密报文字段;Perform signature calculation and encryption calculation on transaction data to obtain signed message fields and encrypted message fields;
基于签名报文字段和加密报文字段,执行全报文加密进程,以得到交易报文。Based on the signed message field and the encrypted message field, the full message encryption process is performed to obtain the transaction message.
可选地,发送单元进一步被配置成:Optionally, the sending unit is further configured to:
响应于生物识别需求标识为预设标识,确定生物识别需求标识对应于需要进行生物识别。In response to the biometric requirement flag being the preset flag, determining that the biometric requirement flag corresponds to a need for biometric authentication.
可选地,发送单元进一步被配置成:Optionally, the sending unit is further configured to:
开启摄像设备,获取摄像框中的生物图像;Turn on the camera equipment to obtain the biological image in the camera frame;
将生物图像与已注册图像集合中的各个已注册图像进行匹配。Match the bioimage to each registered image in the registered image collection.
可选地,发送单元进一步被配置成:Optionally, the sending unit is further configured to:
响应于在各个已注册图像中存在与生物图像相匹配的已注册图像,确定生物识别成功。Biometrics is determined to be successful in response to the presence of a registered image matching the biometric image among the respective registered images.
可选地,发送单元进一步被配置成:Optionally, the sending unit is further configured to:
计算生物图像与已注册图像集合中的各个已注册图像之间的相似度;Computing the similarity between the biological image and each registered image in the registered image collection;
基于相似度对生物图像与各个已注册图像进行匹配。The biological image is matched to each registered image based on similarity.
可选地,交易处理单元进一步被配置成:Optionally, the transaction processing unit is further configured to:
调用加解密工具,以对交易报文进行解密,得到明文;Call the encryption and decryption tool to decrypt the transaction message and get the plaintext;
响应于签名报文字段和加密报文字段均与明文相匹配,确定验证结果信息对应于未被拦截改动。In response to both the signed message field and the encrypted message field matching the plaintext, it is determined that the verification result information corresponds to an unintercepted change.
另外,本申请还提供了一种交易处理电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如上述的交易处理方法。In addition, the present application also provides a transaction processing electronic device, including: one or more processors; storage device for storing one or more programs, when one or more programs are executed by one or more processors, One or more processors are caused to implement the transaction processing method as described above.
另外,本申请还提供了一种计算机可读介质,其上存储有计算机程序,程序被处理器执行时实现如上述的交易处理方法。In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned transaction processing method is realized.
为实现上述目的,根据本申请实施例的又一个方面,提供了一种计算机程序产品。To achieve the above purpose, according to still another aspect of the embodiments of the present application, a computer program product is provided.
本申请实施例的一种计算机程序产品,包括计算机程序,程序被处理器执行时实现本申请实施例提供的交易处理方法。A computer program product according to an embodiment of the present application includes a computer program, and when the program is executed by a processor, the transaction processing method provided in the embodiment of the present application is implemented.
上述发明中的一个实施例具有如下优点或有益效果:本申请通过接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识;响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端;接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。可以实现统一化、自动化、简易化的管理多种型号的终端系统,可以应用于多种平台系统,提高了交易处理的效率和便捷性,降低资源消耗。An embodiment of the above-mentioned invention has the following advantages or beneficial effects: the application obtains the corresponding transaction message, server identification and biometric requirement identification by receiving the transaction processing request; responding to the biometric identification requirement corresponds to the need for biometric identification , execute the biometric identification program, and in response to successful biometric identification, call the distributed message middleware to send the transaction message to the server corresponding to the server identification; receive the verification result information of the transaction message returned by the server, and respond to The verification result information corresponds to the change that has not been intercepted, and the server is called to execute the transaction processing process based on the transaction message. It can realize unified, automatic and simplified management of various types of terminal systems, and can be applied to various platform systems, improving the efficiency and convenience of transaction processing and reducing resource consumption.
上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。The further effects of the above-mentioned non-conventional alternatives will be described below in conjunction with specific embodiments.
附图说明Description of drawings
附图用于更好地理解本申请,不构成对本申请的不当限定。其中:The accompanying drawings are used for better understanding of the present application, and do not constitute an improper limitation of the present application. in:
图1是根据本申请一个实施例的交易处理方法的主要流程的示意图;FIG. 1 is a schematic diagram of the main flow of a transaction processing method according to an embodiment of the present application;
图2是根据本申请一个实施例的交易处理方法的主要流程的示意图;Fig. 2 is a schematic diagram of the main flow of a transaction processing method according to an embodiment of the present application;
图3是根据本申请一个实施例的交易处理方法的主要流程示意图;Fig. 3 is a schematic flow diagram of the main flow of a transaction processing method according to an embodiment of the present application;
图4是根据本申请实施例的交易处理装置的主要单元的示意图;Fig. 4 is a schematic diagram of main units of a transaction processing device according to an embodiment of the present application;
图5是本申请实施例可以应用于其中的示例性系统架构图;FIG. 5 is an exemplary system architecture diagram to which the embodiment of the present application can be applied;
图6是适于用来实现本申请实施例的终端设备或服务器的计算机系统的结构示意图。Fig. 6 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present application.
具体实施方式Detailed ways
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。需要说明的是,本申请的技术方案中,所涉及的用户个人信息的采集、分析、使用、传输、存储等方面,均符合相关法律法规的规定,被用于合法且合理的用途,不在这些合法使用等方面之外共享、泄露或出售,并且接受监管部门的监督管理。应当对用户个人信息采取必要措施,以防止对此类个人信息数据的非法访问,确保有权访问个人信息数据的人员遵守相关法律法规的规定,确保用户个人信息安全。一旦不再需要这些用户个人信息数据,应当通过限制甚至禁止数据收集和/或删除数据的方式将风险降至最低。Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that in the technical solution of this application, the collection, analysis, use, transmission, storage, etc. of the user's personal information involved are in compliance with the relevant laws and regulations, and are used for legal and reasonable purposes. Sharing, divulging or selling other than legitimate use, and accepting the supervision and management of regulatory authorities. Necessary measures should be taken for users' personal information to prevent illegal access to such personal information and data, ensure that those who have access to personal information and data abide by relevant laws and regulations, and ensure the security of users' personal information. Risk should be minimized by limiting or even prohibiting data collection and/or deleting data once such user personal data is no longer required.
当使用时,包括在某些相关应用程序中,通过对数据去标识来保护用户隐私,例如在使用时通过移除特定标识符、控制所存储数据的量或特异性、控制数据如何被存储、和/或其他方法去标识。When used, including in certain related applications, to protect user privacy by de-identifying data, such as by removing specific identifiers at the time of use, controlling the amount or specificity of stored data, controlling how data is stored, and/or other methods to de-identify.
图1是根据本申请一个实施例的交易处理方法的主要流程的示意图,如图1所示,交易处理方法包括:Fig. 1 is a schematic diagram of the main flow of a transaction processing method according to an embodiment of the present application. As shown in Fig. 1, the transaction processing method includes:
步骤S101,接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识。Step S101, receiving a transaction processing request, and obtaining the corresponding transaction message, server identification and biometric identification requirement identification.
本实施例中,交易处理方法的执行主体(例如,可以是服务器)可以通过有线连接或无线连接的方式,接收交易处理请求。交易处理请求,例如可以是在多个终端之间进行交易处理的请求。执行主体在接收到交易处理请求后,可以获取对应的交易报文,具体地,交易报文例如可以是支付金额对应的报文。获取交易处理请求对应的服务端标识以调用与相对应的服务端进行连接以准备接收交易报文。在交易处理请求中还可以携带有生物识别需求标识,该生物识别需求标识用于表征是否需要进行生物识别,示例的,当生物识别需求标识为Y时,表明需要进行生物识别,当生物识别需求标识为N时,表明不需要进行生物识别。本申请实施例对生物识别需求标识不做具体限定。In this embodiment, the execution subject of the transaction processing method (for example, it may be a server) may receive the transaction processing request through a wired connection or a wireless connection. The transaction processing request may be, for example, a request for transaction processing between multiple terminals. After receiving the transaction processing request, the execution subject may obtain the corresponding transaction message. Specifically, the transaction message may be, for example, a message corresponding to the payment amount. Obtain the server ID corresponding to the transaction processing request to call and connect to the corresponding server to prepare to receive transaction messages. The transaction processing request can also carry a biometric identification, which is used to indicate whether biometric identification is required. For example, when the biometric identification is Y, it indicates that biometric identification is required. When the biometric identification When marked as N, it indicates that biometric identification is not required. The embodiment of the present application does not specifically limit the biometric identification requirement.
具体地,获取对应的交易报文,包括:获取交易处理请求对应的终端标识;基于终端标识,获取对应的交易数据;对交易数据执行签名计算和加密计算,以得到签名报文字段和加密报文字段;基于签名报文字段和加密报文字段,执行全报文加密进程,以得到交易报文。Specifically, obtaining the corresponding transaction message includes: obtaining the terminal identification corresponding to the transaction processing request; obtaining the corresponding transaction data based on the terminal identification; performing signature calculation and encryption calculation on the transaction data to obtain the signature message field and the encrypted message field. text field; based on the signed message field and the encrypted message field, the full message encryption process is performed to obtain the transaction message.
示例的,通过终端标识获取在对应的终端上进行交易得到的交易数据。该交易数据,例如可以为信用卡账单、消费支付金额等,本申请实施例对交易数据的类型不做具体限定。示例的,设备终端针对发起的交易对应的交易数据组装得到报文,基于设备终端对报文进行签名计算,得到签名信息,基于签名信息组装得到签名报文字段;设备终端完成签名计算之后对报文进行base64加密,得到加密报文字段,添加签名报文字段和加密报文字段以生成全报文,对全报文进行加密以得到交易报文,然后推送到分布式消息中间件EMQX。For example, the transaction data obtained from the transaction on the corresponding terminal is acquired through the terminal identifier. The transaction data may be, for example, a credit card bill, consumption payment amount, etc., and the embodiment of the present application does not specifically limit the type of transaction data. As an example, the device terminal assembles a message based on the transaction data corresponding to the initiated transaction, performs signature calculation on the message based on the device terminal, obtains the signature information, and assembles the signature message field based on the signature information; Encrypt the text with base64 to get the encrypted message field, add the signed message field and the encrypted message field to generate the full message, encrypt the full message to get the transaction message, and then push it to the distributed message middleware EMQX.
步骤S102,响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端。Step S102, in response to the biometric identification requirement corresponding to the need for biometric identification, execute the biometric identification program, and in response to the success of the biometric identification, call the distributed message middleware to send the transaction message to the server corresponding to the server identification.
示例的,当生物识别需求标识为Y时,表明需要进行生物识别,当生物识别需求标识为N时,表明不需要进行生物识别。本申请实施例对生物识别需求标识不做具体限定。For example, when the biometric identification requirement is marked as Y, it indicates that biometric identification is required, and when the biometric identification requirement is identified as N, it indicates that biometric identification is not required. The embodiment of the present application does not specifically limit the biometric identification requirement.
具体地,在执行生物识别程序之前,方法还包括:Specifically, before performing the biometric identification procedure, the method further includes:
响应于生物识别需求标识为预设标识。例如为Y,确定生物识别需求标识对应于需要进行生物识别。Responsive to biometric requirements for identification as preset identification. For example, it is Y, and it is determined that the biometric identification requirement flag corresponds to the need for biometric identification.
当需要进行生物识别时,执行主体可以执行生物识别程序,例如调用摄像头,以获取生物的图像,对获取的图像进行识别,当识别成功时,调用分布式消息中间件以将交易报文发送至服务端标识对应的服务端。可以理解的是,分布式消息中间件可以设置于服务端中,也可以设置于服务端之外,本申请实施例对分布式消息中间件的设置位置不做具体限定。When biometric identification is required, the execution subject can execute the biometric identification program, such as calling the camera to obtain the biological image, and then identify the acquired image. When the identification is successful, the distributed message middleware is called to send the transaction message to The server identifies the corresponding server. It can be understood that the distributed messaging middleware can be set in the server or outside the server, and the embodiment of the present application does not specifically limit the location of the distributed messaging middleware.
步骤S103,接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。Step S103, receiving the verification result information of the transaction message returned by the server, and invoking the server to execute the transaction processing process based on the transaction message in response to the fact that the verification result information corresponds to the unblocked changes.
具体地,在调用服务端以执行基于交易报文的交易处理进程之前,方法还包括:调用加解密工具,以对交易报文进行解密,得到明文;响应于签名报文字段和加密报文字段均与明文相匹配,确定验证结果信息对应于未被拦截改动。Specifically, before calling the server to execute the transaction processing process based on the transaction message, the method further includes: calling an encryption and decryption tool to decrypt the transaction message to obtain plain text; responding to the signed message field and the encrypted message field Both match the plaintext, and it is determined that the verification result information corresponds to the unblocked changes.
示例的,服务端接收到设备终端推送到EMQX的交易报文进行解密和验证,在确认验证通过后进行对应的交易处理,包括:服务端在接收到设备终端发送来的进行了全报文加密的交易报文后,调用加解密工具对交易报文进行解密以得到明文;服务端对解密后的交易报文字段和签名报文字段进行验证,确定报文未被拦截改动后,进行对应的交易处理。For example, the server receives the transaction message pushed by the device terminal to EMQX for decryption and verification, and performs corresponding transaction processing after confirming that the verification is passed, including: the server encrypts the entire message after receiving the message sent by the device terminal After the transaction message, the encryption and decryption tool is called to decrypt the transaction message to obtain the plaintext; the server verifies the decrypted transaction message field and the signature message field, and after confirming that the message has not been intercepted and modified, the corresponding transaction processing.
本实施例通过接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识;响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端;接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。可以实现统一化、自动化、简易化的管理多种型号的终端系统,可以应用于多种平台系统,提高了交易处理的效率和便捷性,降低资源消耗。In this embodiment, by receiving a transaction processing request, the corresponding transaction message, server identification and biometric identification requirement are obtained; in response to the biometric identification corresponding to the need for biometric identification, the biometric identification program is executed, and in response to successful biometric identification, call Distributed message middleware, to send the transaction message to the server corresponding to the server identification; receive the verification result information of the transaction message returned by the server, and call the server in response to the verification result information corresponding to the unintercepted change To execute the transaction processing process based on the transaction message. It can realize unified, automatic and simplified management of various types of terminal systems, and can be applied to various platform systems, improving the efficiency and convenience of transaction processing and reducing resource consumption.
图2是根据本申请一个实施例的交易处理方法的主要流程示意图,如图2所示,交易处理方法包括:Fig. 2 is a schematic flow chart of a transaction processing method according to an embodiment of the present application. As shown in Fig. 2, the transaction processing method includes:
步骤S201,接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识。Step S201, receiving a transaction processing request, and obtaining the corresponding transaction message, server identification and biometric identification requirement identification.
交易报文,例如可以为贷款交易报文、抵押交易报文等,本申请实施例对交易报文的内容不做具体限定。The transaction message may be, for example, a loan transaction message, a mortgage transaction message, etc., and the embodiment of the present application does not specifically limit the content of the transaction message.
步骤S202,响应于生物识别需求标识对应于需要进行生物识别,开启摄像设备,获取摄像框中的生物图像。Step S202, in response to the biometric identification requirement flag corresponding to the need for biometric identification, turn on the imaging device, and acquire the biometric image in the imaging frame.
摄像设备,例如可以为手机摄像机、监控摄像机等,本申请实施例对摄像设备不做具体限定。The imaging device may be, for example, a mobile phone camera, a surveillance camera, etc., and the embodiment of the present application does not specifically limit the imaging device.
摄像设备获取的生物图像,可以是人的脸部图像,也可以是整体人身图像,也可以是双眼图像,本申请实施例对生物图像不做具体限定。获取的生物图像的数量可以为一张,也可以为连续的多张,本申请实施例对获取的生物图像的数量不做具体限定。The biological image acquired by the imaging device may be a person's face image, an overall human body image, or a binocular image, and the embodiment of the present application does not specifically limit the biological image. The number of acquired biological images may be one or multiple consecutive ones, and the embodiment of the present application does not specifically limit the number of acquired biological images.
步骤S203,将生物图像与已注册图像集合中的各个已注册图像进行匹配。Step S203, matching the biological image with each registered image in the registered image set.
若生物图像的数量为多个时,将多个生物图像分别与预注册图像集合中的各个已注册图像进行相似度匹配。匹配的内容可以包括肤色的匹配,尺寸的匹配,纹理的匹配等,本申请实施例对匹配的内容不做具体限定。If there are multiple biological images, similarity matching is performed between the multiple biological images and each registered image in the pre-registered image set. The matching content may include skin color matching, size matching, texture matching, etc., and the embodiment of the present application does not specifically limit the matching content.
作为本申请实施例的另一种实现方式,将生物图像与已注册图像集合中的各个已注册图像进行匹配,包括:计算生物图像与已注册图像集合中的各个已注册图像之间的相似度;基于相似度对生物图像与各个已注册图像进行匹配。As another implementation of the embodiment of the present application, matching the biological image with each registered image in the registered image collection includes: calculating the similarity between the biological image and each registered image in the registered image collection ; Match the bio-image to each registered image based on similarity.
具体地,执行主体可以提取生物图像中的第一高层抽象特征和第一低层具体特征,提取已注册图像集合中的各个已注册图像的第二高层抽象特征和第二低层具体特征。然后,执行主体可以将第一高层抽象特征与各个第二高层抽象特征进行相似度计算以得到各个第一相似度,执行主体可以将第一低层具体特征与各个第二低层具体特征进行相似度计算,以得到各个第二相似度。将第一相似度超出相似度阈值并且第二相似度超出相似度阈值时对应的已注册图像确定为与生物图像相匹配的已注册图像。Specifically, the execution subject may extract the first high-level abstract features and the first low-level specific features in the biological image, and extract the second high-level abstract features and the second low-level specific features of each registered image in the registered image set. Then, the execution subject can perform similarity calculation on the first high-level abstract features and each second high-level abstract feature to obtain each first similarity, and the execution subject can perform similarity calculation on the first low-level specific features and each second low-level specific features , to get each second similarity. The registered image corresponding to when the first similarity exceeds the similarity threshold and the second similarity exceeds the similarity threshold is determined as a registered image matching the biological image.
此外,执行主体还可以根据第一高层抽象特征与第一低层具体特征计算得到对应的第一融合特征,根据第二高层抽象特征与第二低层具体特征计算得到对应的第二融合特征,将第一融合特征与各个第二融合特征进行相似度计算,将相似度最高时对应的第二融合特征对应的已注册图像确定为与生物图像相匹配的已注册图像。In addition, the execution subject can also calculate the corresponding first fusion feature according to the first high-level abstract feature and the first low-level specific feature, calculate the corresponding second fusion feature according to the second high-level abstract feature and the second low-level specific feature, and combine the second The similarity calculation is performed between a fusion feature and each second fusion feature, and the registered image corresponding to the second fusion feature corresponding to the highest similarity is determined as the registered image matching the biological image.
步骤S204,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端。Step S204, in response to successful biometric identification, call the distributed message middleware to send the transaction message to the server corresponding to the server identifier.
当已注册图像集合中存在与生物图像相匹配的图像时,则生物识别成功。在生物识别成功时,执行主体可以调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端。Biometric identification is successful when there is an image matching the biometric image in the registered image collection. When the biometric identification is successful, the execution subject can call the distributed message middleware to send the transaction message to the server corresponding to the server identifier.
步骤S205,接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。Step S205, receiving the verification result information of the transaction message returned by the server, and invoking the server to execute a transaction processing process based on the transaction message in response to the fact that the verification result information corresponds to an unblocked change.
服务端接收到设备终端推送到分布式消息中间件EMQX的交易报文进行解密和验证,在确认验证通过后进行对应的交易处理,包括:服务端在接收到设备终端发送来的进行了全报文加密的交易报文后,调用加解密工具对交易报文进行解密以得到明文;服务端对解密后的交易报文字段和签名报文字段进行验证,确定报文未被拦截改动后,进行对应的交易处理。The server receives the transaction message pushed by the device terminal to the distributed message middleware EMQX for decryption and verification, and performs corresponding transaction processing after confirming that the verification is passed, including: the server completes the full report after receiving the message sent by the device terminal After encrypting the transaction message, call the encryption and decryption tool to decrypt the transaction message to obtain the plaintext; the server verifies the decrypted transaction message field and the signature message field, and after confirming that the message has not been intercepted and modified, proceed to corresponding transaction processing.
图3是根据本申请一个实施例的交易处理方法的主要流程示意图。如图3所示,交易处理方法包括:Fig. 3 is a schematic flow chart of a transaction processing method according to an embodiment of the present application. As shown in Figure 3, the transaction processing methods include:
骤S301,接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识。In step S301, a transaction processing request is received, and a corresponding transaction message, server identification and biometric identification requirement identification are acquired.
交易处理请求,例如可以是同一个用户在名下的银行卡之间进行转账交易的处理请求,本申请实施例对交易数据请求不做具体限定。此时的终端和服务端可以是相同的端。The transaction processing request may be, for example, a processing request for transferring funds between bank cards under the same user's name, and this embodiment of the present application does not specifically limit the transaction data request. At this time, the terminal and the server may be the same terminal.
步骤S302,响应于生物识别需求标识对应于需要进行生物识别,开启摄像设备,获取摄像框中的生物图像。Step S302, in response to the biometric identification requirement flag corresponding to the need for biometric identification, turn on the imaging device, and acquire the biometric image in the imaging frame.
示例的,当生物识别需求标识为1时,可以确定需要进行生物识别,此时触发开启摄像设备,例如发起交易处理请求对应的用户的手持手机摄像头,来获取用户的面部或眼部图像,以作为获取到的生物图像。For example, when the biometric identification requirement is 1, it can be determined that biometric identification is required. At this time, the camera device is triggered to be turned on, such as the hand-held mobile phone camera of the user who initiates the transaction processing request, to obtain the user's face or eye image. as the acquired biological image.
步骤S303,将生物图像与已注册图像集合中的各个已注册图像进行匹配。Step S303, matching the biological image with each registered image in the registered image set.
提取生物图像中的实体轮廓并作为第一轮廓,提取已注册图像集合中的各个已注册图像中的实体轮廓并作为第二轮廓。将第一轮廓与各个第二轮廓进行相似度匹配。The entity contour in the biological image is extracted as the first contour, and the entity contour in each registered image in the registered image set is extracted as the second contour. Perform similarity matching between the first contour and each second contour.
步骤S304,响应于在各个已注册图像中存在与生物图像相匹配的已注册图像,确定生物识别成功。Step S304, in response to there is a registered image matching the biometric image among the registered images, determining that the biometric identification is successful.
当各个第二轮廓中存在与第一轮廓相匹配的轮廓时,将匹配成功的第二轮廓对应的已注册图像确定为与生物图像相匹配的已注册图像,输出生物识别成功消息。When there is a profile matching the first profile in each of the second profiles, the registered image corresponding to the successfully matched second profile is determined as the registered image matching the biometric image, and a biometric identification success message is output.
步骤S305,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端。Step S305, in response to successful biometric identification, call the distributed message middleware to send the transaction message to the server corresponding to the server identifier.
当已注册图像集合中存在与生物图像相匹配的图像时,则生物识别成功。在生物识别成功时,执行主体可以调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端。Biometric identification is successful when there is an image matching the biometric image in the registered image collection. When the biometric identification is successful, the execution subject can call the distributed message middleware to send the transaction message to the server corresponding to the server identifier.
步骤S306,接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。Step S306, receiving the verification result information of the transaction message returned by the server, and invoking the server to execute the transaction processing process based on the transaction message in response to the fact that the verification result information corresponds to an unblocked change.
服务端接收到设备终端推送到分布式消息中间件EMQX的交易报文进行解密和验证,在确认验证通过后进行对应的交易处理,包括:服务端在接收到设备终端发送来的进行了全报文加密的交易报文后,调用加解密工具对交易报文进行解密以得到明文;服务端对解密后的交易报文字段和签名报文字段进行验证,确定报文未被拦截改动后,进行对应的交易处理。The server receives the transaction message pushed by the device terminal to the distributed message middleware EMQX for decryption and verification, and performs corresponding transaction processing after confirming that the verification is passed, including: the server completes the full report after receiving the message sent by the device terminal After encrypting the transaction message, call the encryption and decryption tool to decrypt the transaction message to obtain the plaintext; the server verifies the decrypted transaction message field and the signature message field, and after confirming that the message has not been intercepted and modified, proceed to corresponding transaction processing.
本申请实施例的多种终端在服务端进行注册,然后下载密钥,根据服务端生成对应的EMQX交互规则,终端把发送请求的报文进行加密,然后推送EMQX。服务端根据EMQX交互的规则,接收到加密的报文,对报文进行解密,完成后再推送给EMQX。针对不同型号的终端,整合一套能兼容各种型号的终端设备服务端,能快速根据不同型号的设备采集的终端信息进行预处理,以提供满足设备终端要求的报文并支持设备终端能全流程传输。能快速兼容各种型号终端的交互规则,进行相关反向校验筛选。本申请实施例可以提高终端的传输效率:各种型号的终端设备获取信息的请求不同,比如采集图片、同步数据等,在与服务端交互的时候需要制定多种的交互规则,而且请求过多的时候服务端承受的压力过大,导致请求时间过长,而通过中间件EMQX交互,这样可以减轻服务端的压力,也可以提高传输效率。本申请实施例可以快速兼容各种型号的终端设备接入平台:针对各种型号的刷脸终端设备,随着产品更新换代,设备底层应用版本更新迭代等情况,通过发布相关接口,能快速在平台上建立一套安全稳定可靠的识别算法,能兼容各种型号设备,在平台上快速处理终端传输过来的报文信息,确保传输过程快速无误。Various terminals in the embodiment of this application register at the server, then download the key, and generate the corresponding EMQX interaction rules according to the server, the terminal encrypts the message to send the request, and then pushes EMQX. According to the rules of EMQX interaction, the server receives the encrypted message, decrypts the message, and pushes it to EMQX after completion. For different types of terminals, integrate a set of terminal equipment servers that are compatible with various types, and can quickly perform preprocessing based on terminal information collected by different types of equipment to provide messages that meet the requirements of equipment terminals and support equipment terminals to be fully functional. process transmission. It can quickly be compatible with the interaction rules of various types of terminals, and perform relevant reverse verification and screening. The embodiment of this application can improve the transmission efficiency of the terminal: various types of terminal devices have different requests for information acquisition, such as collecting pictures, synchronizing data, etc., when interacting with the server, it is necessary to formulate various interaction rules, and there are too many requests When the server is under too much pressure, the request time is too long, and through the middleware EMQX interaction, this can reduce the pressure on the server and improve transmission efficiency. The embodiment of this application can be quickly compatible with various types of terminal equipment access platforms: for various types of facial recognition terminal equipment, as the product is updated, the underlying application version of the equipment is updated and iterative, etc., by publishing relevant interfaces, it can be quickly used A safe, stable and reliable identification algorithm is established on the platform, which is compatible with various types of equipment, and the message information transmitted by the terminal is quickly processed on the platform to ensure that the transmission process is fast and error-free.
图4是根据本申请实施例的交易处理装置的主要单元的示意图。如图4所示,交易处理装置400包括接收单元401、发送单元402和交易处理单元403。Fig. 4 is a schematic diagram of main units of a transaction processing device according to an embodiment of the present application. As shown in FIG. 4 , the
接收单元401,被配置成接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识。The receiving
发送单元402,被配置成响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端。The sending
交易处理单元403,被配置成接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。The
在一些实施例中,接收单元401进一步被配置成:In some embodiments, the receiving
获取交易处理请求对应的终端标识;Obtain the terminal ID corresponding to the transaction processing request;
基于终端标识,获取对应的交易数据;Based on the terminal identification, obtain the corresponding transaction data;
对交易数据执行签名计算和加密计算,以得到签名报文字段和加密报文字段;Perform signature calculation and encryption calculation on transaction data to obtain signed message fields and encrypted message fields;
基于签名报文字段和加密报文字段,执行全报文加密进程,以得到交易报文。Based on the signed message field and the encrypted message field, the full message encryption process is performed to obtain the transaction message.
在一些实施例中,发送单元402进一步被配置成:In some embodiments, the sending
响应于生物识别需求标识为预设标识,确定生物识别需求标识对应于需要进行生物识别。In response to the biometric requirement flag being the preset flag, determining that the biometric requirement flag corresponds to a need for biometric authentication.
在一些实施例中,发送单元402进一步被配置成:In some embodiments, the sending
开启摄像设备,获取摄像框中的生物图像;Turn on the camera equipment to obtain the biological image in the camera frame;
将生物图像与已注册图像集合中的各个已注册图像进行匹配。Match the bioimage to each registered image in the registered image collection.
在一些实施例中,发送单元402进一步被配置成:In some embodiments, the sending
响应于在各个已注册图像中存在与生物图像相匹配的已注册图像,确定生物识别成功。Biometrics is determined to be successful in response to the presence of a registered image matching the biometric image among the respective registered images.
在一些实施例中,发送单元402进一步被配置成:In some embodiments, the sending
计算生物图像与已注册图像集合中的各个已注册图像之间的相似度;Computing the similarity between the biological image and each registered image in the registered image collection;
基于相似度对生物图像与各个已注册图像进行匹配。The biological image is matched to each registered image based on similarity.
在一些实施例中,交易处理单元403进一步被配置成:In some embodiments, the
调用加解密工具,以对交易报文进行解密,得到明文;Call the encryption and decryption tool to decrypt the transaction message and get the plaintext;
响应于签名报文字段和加密报文字段均与明文相匹配,确定验证结果信息对应于未被拦截改动。In response to both the signed message field and the encrypted message field matching the plaintext, it is determined that the verification result information corresponds to an unintercepted change.
需要说明的是,本申请的交易处理方法和交易处理装置在具体实施内容上具有相应关系,故重复内容不再说明。It should be noted that the transaction processing method and the transaction processing device of the present application have a corresponding relationship in specific implementation content, so repeated content will not be described again.
图5示出了可以应用本申请实施例的交易处理方法或交易处理装置的示例性系统架构500。FIG. 5 shows an
如图5所示,系统架构500可以包括终端设备501、502、503,网络504和服务器505。网络504用以在终端设备501、502、503和服务器505之间提供通信链路的介质。网络504可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 5 , a
用户可以使用终端设备501、502、503通过网络504与服务器505交互,以接收或发送消息等。终端设备501、502、503上可以安装有各种通讯客户端应用,例如购物类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等(仅为示例)。Users can use
终端设备501、502、503可以是具有交易处理屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The
服务器505可以是提供各种服务的服务器,例如对用户利用终端设备501、502、503所提交的交易处理请求提供支持的后台管理服务器(仅为示例)。后台管理服务器可以接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识;响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端;接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。可以实现统一化、自动化、简易化的管理多种型号的终端系统,可以应用于多种平台系统,提高了交易处理的效率和便捷性,降低资源消耗。The
需要说明的是,本申请实施例所提供的交易处理方法一般由服务器505执行,相应地,交易处理装置一般设置于服务器505中。It should be noted that the transaction processing method provided in the embodiment of the present application is generally executed by the
应该理解,图5中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 5 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
下面参考图6,其示出了适于用来实现本申请实施例的终端设备的计算机系统600的结构示意图。图6示出的终端设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of a
如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM603中,还存储有计算机系统600操作所需的各种程序和数据。CPU601、ROM602以及RAM603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6 , a
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶征信授权查询处理器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I/O interface 605: an
特别地,根据本申请公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的系统中限定的上述功能。In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in this application include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 609 and/or installed from
需要说明的是,本申请所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer-readable storage medium, for example, may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括接收单元、发送单元和交易处理单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. The described units may also be set in a processor, for example, it may be described as: a processor includes a receiving unit, a sending unit, and a transaction processing unit. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances.
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备接收交易处理请求,获取对应的交易报文、服务端标识和生物识别需求标识;响应于生物识别需求标识对应于需要进行生物识别,执行生物识别程序,响应于生物识别成功,调用分布式消息中间件,以将交易报文发送至服务端标识对应的服务端;接收服务端返回的对交易报文的验证结果信息,响应于验证结果信息对应于未被拦截改动,调用服务端以执行基于交易报文的交易处理进程。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be contained in the device described in the above embodiments, or may exist independently without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device receives a transaction processing request, and obtains a corresponding transaction message, server identification and biometric requirement identification ; In response to the biometric identification corresponding to the need for biometric identification, the biometric identification program is executed, and in response to the success of the biometric identification, the distributed message middleware is invoked to send the transaction message to the server corresponding to the server identification; the receiving server The returned verification result information of the transaction message, in response to the fact that the verification result information corresponds to an unintercepted change, calls the server to execute a transaction processing process based on the transaction message.
本申请的计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现本申请实施例中的交易处理方法。The computer program product of the present application includes a computer program, and when the computer program is executed by a processor, the transaction processing method in the embodiment of the present application is implemented.
根据本申请实施例的技术方案,可以实现统一化、自动化、简易化的管理多种型号的终端系统,可以应用于多种平台系统,提高了交易处理的效率和便捷性,降低资源消耗。According to the technical solution of the embodiment of the present application, unified, automated, and simplified management of various types of terminal systems can be realized, and it can be applied to various platform systems, improving the efficiency and convenience of transaction processing, and reducing resource consumption.
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above specific implementation methods are not intended to limit the protection scope of the present application. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application shall be included within the protection scope of this application.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211581792.7A CN115914384A (en) | 2022-12-09 | 2022-12-09 | Transaction processing method and device, electronic equipment and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211581792.7A CN115914384A (en) | 2022-12-09 | 2022-12-09 | Transaction processing method and device, electronic equipment and computer readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115914384A true CN115914384A (en) | 2023-04-04 |
Family
ID=86491352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211581792.7A Pending CN115914384A (en) | 2022-12-09 | 2022-12-09 | Transaction processing method and device, electronic equipment and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115914384A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050187883A1 (en) * | 1999-08-31 | 2005-08-25 | American Express Travel Related Services Company, Inc. | Methods and apparatus for conducting electronic transactions using biometrics |
US20200067917A1 (en) * | 2018-08-26 | 2020-02-27 | Ncr Corporation | Transaction Authentication |
CN111614753A (en) * | 2020-05-20 | 2020-09-01 | 京东数字科技控股有限公司 | Method, system and device for sending log |
CN112184243A (en) * | 2020-09-28 | 2021-01-05 | 中国建设银行股份有限公司 | A transaction method, device, device and storage medium based on biometric identification |
CN112202794A (en) * | 2020-09-30 | 2021-01-08 | 中国工商银行股份有限公司 | Transaction data protection method and device, electronic equipment and medium |
-
2022
- 2022-12-09 CN CN202211581792.7A patent/CN115914384A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050187883A1 (en) * | 1999-08-31 | 2005-08-25 | American Express Travel Related Services Company, Inc. | Methods and apparatus for conducting electronic transactions using biometrics |
US20200067917A1 (en) * | 2018-08-26 | 2020-02-27 | Ncr Corporation | Transaction Authentication |
CN111614753A (en) * | 2020-05-20 | 2020-09-01 | 京东数字科技控股有限公司 | Method, system and device for sending log |
CN112184243A (en) * | 2020-09-28 | 2021-01-05 | 中国建设银行股份有限公司 | A transaction method, device, device and storage medium based on biometric identification |
CN112202794A (en) * | 2020-09-30 | 2021-01-08 | 中国工商银行股份有限公司 | Transaction data protection method and device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9741033B2 (en) | System and method for point of sale payment data credentials management using out-of-band authentication | |
EP3100171B1 (en) | Client authentication using social relationship data | |
US20180295121A1 (en) | Secure element authentication | |
US11487896B2 (en) | Sensitive data shield for networks | |
US9799029B2 (en) | Securely receiving data input at a computing device without storing the data locally | |
TW202232407A (en) | Information processing method and device, electronic equipment, server and medium | |
CN112232814B (en) | Encryption and decryption methods of payment key, payment authentication method and terminal equipment | |
CN108681676B (en) | Data management method and apparatus, system, electronic device, program, and storage medium | |
KR20180061168A (en) | Wireless biometric authentication system and method | |
WO2015062530A1 (en) | User account information management method, user account management server, sales terminal and system | |
CN109145628B (en) | Data acquisition method and system based on trusted execution environment | |
CN110555300A (en) | application program authorization method, client, server, terminal device and medium | |
CN107895105B (en) | Password processing method, terminal equipment and computer readable storage medium | |
CN116112240A (en) | Service request response method and device | |
CN102480725A (en) | Remote payment method | |
CN114282254A (en) | Encryption, decryption method and device, electronic equipment | |
CN117041959A (en) | Service processing method, device, electronic equipment and computer readable medium | |
CN116112172B (en) | Android client gRPC interface security verification method and device | |
CN115801287A (en) | Signature authentication method and device | |
CN112053159A (en) | Transaction data verification method and device, risk control server and business server | |
US10108937B2 (en) | Method of registering a membership for an electronic payment, system for same, and apparatus and terminal thereof | |
US9413749B2 (en) | System and method of authentication of a first party respective of a second party aided by a third party | |
Zhao et al. | Feasibility of deploying biometric encryption in mobile cloud computing | |
CN115914384A (en) | Transaction processing method and device, electronic equipment and computer readable medium | |
CN114095254B (en) | Message encryption method, server device, client device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |