Transaction Authorization Method, Device and System in a Distributed System

By introducing transaction authorization trial calculation and verification mechanisms into the authorization center server of the distributed system, the cumbersome problem of transaction authorization processing is solved, and the effect of simplifying authorization steps, improving efficiency and reducing costs is achieved.

CN114862410BActive Publication Date: 2025-05-27BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210557778.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-19
Publication Date
2025-05-27
Estimated Expiration
2042-05-19

AI Technical Summary

Technical Problem

In distributed systems, transaction authorization processing is cumbersome, especially when authorization is required in the middle of the transaction, it needs to be rolled back one by one, resulting in inefficiency and increased costs.

Method used

By introducing a transaction authorization trial calculation request and verification mechanism into the authorization center server, the authorization point information of the transaction is retrieved, and the authorization point information is sent to the corresponding authorization verification server for verification, and the authenticated authorization point information is sent to the transaction initiator device for it to initiate an authorization request after authorization processing.

Benefits of technology

Simplify the transaction authorization steps, improve transaction authorization efficiency, shorten transaction processing time, and reduce costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114862410B_ABST
    Figure CN114862410B_ABST
Patent Text Reader

Abstract

The present invention discloses a transaction authorization method, device and system in a distributed system. The method includes: receiving a transaction authorization trial calculation request initiated by a transaction initiating end device; retrieving authorization point information of a transaction involved in the transaction authorization trial calculation request; sending the authorization point information to a corresponding authorization verification server; receiving the authorization point information verified and passed back by the authorization verification server; and sending the authorization point information verified and passed to the transaction initiating end device, so that after the transaction initiating end device performs authorization processing according to the authorization point information verified and passed, it can initiate an authorized transaction request to a transaction server. The present invention can simplify transaction authorization steps, improve transaction authorization efficiency, shorten transaction processing time and reduce costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distributed technologies, and in particular, to a transaction authorization method, device, and system in a distributed system. Background Art

[0002] This section aims to provide background or context for the embodiments of the present invention described in the claims. The description herein is not admitted to be prior art merely because it is included in this section.

[0003] In a distributed system, when processing a transaction that may or may not require authorization or may require authorization at multiple locations, in order to improve efficiency, each server independently submits the transaction. If an error occurs in a subsequent transaction, a rollback request is sent to the servers that have already submitted the transaction.

[0004] In bank transactions, some transactions can be determined whether authorization is required based on the input, and some require judgment in the program logic. In this case, if authorization is required midway, the servers in the distributed system that have already run have already submitted the transaction, and each needs to be rolled back one by one. This makes the processing very cumbersome. Summary of the Invention

[0005] An embodiment of the present invention provides a transaction authorization method in a distributed system, which is applied to an authorization center server to simplify transaction authorization steps, improve efficiency, and reduce costs. The method includes:

[0006] Receiving a transaction authorization trial calculation request initiated by a transaction initiating device;

[0007] Retrieving authorization point information of the transaction involved in the transaction authorization trial calculation request;

[0008] Sending the authorization point information to the corresponding authorization verification server;

[0009] Receiving the authorization point information passed in the verification feedback by the authorization verification server;

[0010] Sending the authorization point information passed in the verification to the transaction initiating device, so that after the transaction initiating device performs authorization processing according to the authorization point information passed in the verification, an authorized transaction request is sent to the transaction server.

[0011] An embodiment of the present invention provides a transaction authorization method in a distributed system, which is applied to a transaction initiating device to simplify transaction authorization steps, improve efficiency, and reduce costs. The method includes:

[0012] Sending a transaction authorization trial calculation request to the authorization center server;

[0013] Receive the authorized point information feedback by the authorization center server, where the authorized point information is the authorized point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the verified authorized point information is obtained by the authorization center server submitting the authorized point information to the corresponding authorization verification server for verification;

[0014] Perform authorization processing according to the verified authorized point information;

[0015] Initiate an authorized transaction request to the transaction server.

[0016] An embodiment of the present invention provides an authorization center server for simplifying transaction authorization steps, improving efficiency, and reducing costs. The authorization center server includes:

[0017] A request receiving module for receiving a transaction authorization trial calculation request initiated by a transaction initiating end device;

[0018] A transaction retrieval module for retrieving the authorized point information of the transaction involved in the transaction authorization trial calculation request;

[0019] An information sending module for sending the authorized point information to the corresponding authorization verification server;

[0020] An information receiving module for receiving the verified authorized point information feedback by the authorization verification server;

[0021] A transaction processing module for sending the verified authorized point information to the transaction initiating end device, so that after the transaction initiating end device performs authorization processing according to the verified authorized point information, it initiates an authorized transaction request to the transaction server.

[0022] An embodiment of the present invention provides a transaction initiating end device for simplifying transaction authorization steps, improving efficiency, and reducing costs. The transaction initiating end device includes:

[0023] A request initiating module for initiating a transaction authorization trial calculation request to the authorization center server;

[0024] An authorized point information receiving module for receiving the verified authorized point information feedback by the authorization center server, where the authorized point information is the authorized point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the verified authorized point information is obtained by the authorization center server submitting the authorized point information to the corresponding authorization verification server for verification;

[0025] An authorization processing module for performing authorization processing according to the verified authorized point information;

[0026] An authorized transaction request module for initiating an authorized transaction request to the transaction server.

[0027] An embodiment of the present invention further provides a transaction authorization system in a distributed system, which is used to simplify transaction authorization steps, improve efficiency, and reduce costs. The system includes:

[0028] The above-mentioned authorization center server;

[0029] The above-mentioned transaction initiating device;

[0030] An authorization verification server, configured to receive the authorization point information sent by the authorization center server, verify the authorization point information, and feedback the verified authorization point information to the authorization center server;

[0031] A transaction server, configured to receive and process the authorized transaction requests submitted by the transaction initiating device.

[0032] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the transaction authorization method in the above-mentioned distributed system is implemented.

[0033] An embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the transaction authorization method in the above-mentioned distributed system is implemented.

[0034] An embodiment of the present invention further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the transaction authorization method in the above-mentioned distributed system is implemented.

[0035] In an embodiment of the present invention, the authorization center server receives a transaction authorization trial calculation request initiated by the transaction initiating device; retrieves the authorization point information of the transaction involved in the transaction authorization trial calculation request; sends the authorization point information to the corresponding authorization verification server; receives the verified authorization point information feedback by the authorization verification server; sends the verified authorization point information to the transaction initiating device for the transaction initiating device to initiate an authorized transaction request to the transaction server after performing authorization processing according to the verified authorization point information; thereby, through transaction authorization trial calculation and verification, it is convenient to complete authorization processing before the transaction. Compared with the prior art solution that still requires transaction rollback when the transaction encounters an authorization point, the transaction authorization steps can be simplified, the transaction authorization efficiency can be improved, the transaction processing time can be shortened, and the cost can be reduced.

[0036] In an embodiment of the present invention, a transaction initiation device sends a transaction authorization trial calculation request to an authorization center server; receives the authorized point information that has passed verification feedback by the authorization center server, where the authorized point information is the authorized point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorized point information that has passed verification is obtained by the authorization center server submitting the authorized point information to the corresponding authorization verification server for verification; performs authorization processing according to the authorized point information that has passed verification; sends an authorized transaction request to the transaction server; thus, through transaction authorization trial calculation and verification, it is convenient to complete authorization processing before the transaction. Compared with the existing technology where transaction rollback is still required when the transaction encounters an authorized point, the transaction authorization steps can be simplified, the transaction authorization efficiency can be improved, the transaction processing time can be shortened, and the cost can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following described drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. In the drawings:

[0038] Figure 1 It is a schematic flow chart of a transaction authorization method in a distributed system in an embodiment of the present invention, applied to an authorization center server;

[0039] Figure 2 It is a schematic flow chart of a transaction authorization method in a distributed system in an embodiment of the present invention, applied to a transaction initiation device;

[0040] Figure 3 It is a specific example diagram of a transaction authorization method in a distributed system in an embodiment of the present invention;

[0041] Figure 4 It is a functional module diagram of an authorization center server provided by an embodiment of the present invention;

[0042] Figure 5 It is a functional module diagram of a transaction initiation device provided by an embodiment of the present invention;

[0043] Figure 6 It is a structural example diagram of a transaction authorization system in a distributed system in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer and more understandable, the following will further describe the embodiments of the present invention in detail with reference to the drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention.

[0045] After analysis, the inventor found that in the current distributed system, the operation for processing a transaction that may not require authorization or may require authorization in multiple places is: each server submits the transaction separately, and if the subsequent transaction fails, a rollback request is sent to the submitted server. However, in banking transactions, some transactions can determine whether authorization is required based on the input, and some transactions require judgment in the program logic. In this case, if authorization is required in the middle, the servers in the distributed system that have been running before have already submitted the transaction and need to be rolled back one by one. Based on this, the inventor proposes a transaction authorization method in a distributed system. Compared with the solution in the prior art that requires a transaction rollback when the transaction encounters an authorization point, this method can simplify the transaction authorization steps, improve transaction authorization efficiency, shorten transaction processing time, and reduce costs.

[0046] Figure 1 The following is a flow chart of a transaction authorization method in a distributed system according to an embodiment of the present invention, which is applied to an authorization center server. The method includes the following steps:

[0047] Step 101: receiving a transaction authorization trial calculation request initiated by a transaction initiating end device;

[0048] Step 102, retrieving the authorization point information of the transaction involved in the transaction authorization trial calculation request;

[0049] Step 103: Send the authorization point information to the corresponding authorization verification server;

[0050] Step 104: Receive the authorization point information that has passed the verification fed back by the authorization verification server;

[0051] Step 105: Send the verified authorization point information to the transaction initiating end device, so that the transaction initiating end device can initiate an authorized transaction request to the transaction server after performing authorization processing according to the verified authorization point information.

[0052] Depend on Figure 1As can be learned from the process shown, in the embodiment of the present invention, the authorization center server receives a transaction authorization trial calculation request initiated by a transaction initiating end device; retrieves authorization point information of the transaction involved in the transaction authorization trial calculation request; sends the authorization point information to the corresponding authorization verification server; receives the authorization point information passed in the verification feedback by the authorization verification server; and sends the authorization point information passed in the verification to the transaction initiating end device, so that after the transaction initiating end device performs authorization processing according to the authorization point information passed in the verification, it can initiate an authorized transaction request to the transaction server; thus, through transaction authorization trial calculation and verification, it is convenient to complete authorization processing before the transaction. Compared with the solution in the prior art that still needs to perform transaction rollback when the transaction encounters an authorization point, it can simplify the transaction authorization steps, improve the transaction authorization efficiency, shorten the transaction processing time, and reduce costs.

[0053] Specifically in implementation, the authorization center server first receives a transaction authorization trial calculation request initiated by a transaction initiating end device, then after retrieving the authorization point information of the transaction involved in the transaction authorization trial calculation request, sends the authorization point information to the corresponding authorization verification server; and then receives the authorization point information passed in the verification feedback by the authorization verification server.

[0054] In one embodiment, retrieving the authorization point information of the transaction involved in the transaction authorization trial calculation request may include, for example: retrieving one or more authorization point information of the transaction involved in the transaction authorization trial calculation request;

[0055] Sending the authorization point information to the corresponding authorization verification server may include, for example: sending each authorization point information to the corresponding authorization verification server respectively;

[0056] Receiving the authorization point information passed in the verification feedback by the authorization verification server may include, for example: receiving the authorization point information passed in the verification feedback by each authorization verification server respectively.

[0057] In one embodiment, the authorization point information is all information related to this embodiment involved in the authorization point, and may include, for example: authorization point identifier, number of authorizations, and authorization level, etc. Those skilled in the art should know that the content of the authorization information can be selected according to actual needs.

[0058] Finally, send the authorization point information passed in the verification to the transaction initiating end device, so that after the transaction initiating end device performs authorization processing according to the authorization point information passed in the verification, it can initiate an authorized transaction request to the transaction server.

[0059] Figure 2 It is a schematic flowchart of a transaction authorization method in a distributed system in an embodiment of the present invention, applied to the process of a transaction initiating end device. The method includes the following steps:

[0060] Step 201: Send a transaction authorization trial calculation request to the authorization center server;

[0061] Step 202: Receive the authorized point information passed the verification feedback by the authorization center server. Among them, the authorized point information is the authorized point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorized point information passed the verification is obtained by the authorization center server submitting the authorized point information to the corresponding authorization verification server for verification;

[0062] Step 203: Perform authorization processing according to the authorized point information passed the verification;

[0063] Step 204: Send an authorized transaction request to the transaction server.

[0064] From Figure 2 the process shown, in the embodiment of the present invention, the transaction initiating end device sends a transaction authorization trial calculation request to the authorization center server; receives the authorized point information passed the verification feedback by the authorization center server. Among them, the authorized point information is the authorized point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorized point information passed the verification is obtained by the authorization center server submitting the authorized point information to the corresponding authorization verification server for verification; performs authorization processing according to the authorized point information passed the verification; sends an authorized transaction request to the transaction server; thus, through transaction authorization trial calculation and verification, it is convenient to complete authorization processing before the transaction. Compared with the existing technology where transaction rollback is still required when the transaction encounters an authorized point, the transaction authorization steps can be simplified, the transaction authorization efficiency can be improved, the transaction processing time can be shortened, and the cost can be reduced.

[0065] Specifically in implementation, first, the transaction initiating end device sends a transaction authorization trial calculation request to the authorization center server; then receives the authorized point information passed the verification feedback by the authorization center server. Among them, the authorized point information is the authorized point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorized point information passed the verification is obtained by the authorization center server submitting the authorized point information to the corresponding authorization verification server for verification.

[0066] In one embodiment, the authorized point information is all the information related to this embodiment involved in the authorized point, for example, it may include: authorized point identifier, number of authorizations, and authorization level, etc. Those skilled in the art should know that the content of the authorization information can be selected according to actual needs.

[0067] Then, perform authorization processing according to the authorized point information passed the verification.

[0068] In one embodiment, performing authorization processing according to the authorized point information passed the verification may include:

[0069] According to the highest authorization level, the authorization point identifier, and the number of authorization times in each authorization point information, authorization processing is performed for each authorization point involved in the transaction. Those skilled in the art should be aware that the determination conditions here are only for this embodiment, and other conditions can be selected according to actual needs.

[0070] Finally, an authorized transaction request is sent to the transaction server.

[0071] Figure 3 This is a specific example diagram of the transaction authorization method in the distributed system in the embodiment of the present invention. As Figure 3 shown, the devices for performing transaction authorization in this example may include: a transaction initiation device, an authorization center server, Server A, Server B, Server m, and Server n. Among them, the transaction server includes Server A and Server B, and the authorization verification server includes Server m and Server n.

[0072] In this example, the transaction authorization method in the distributed system includes:

[0073] The transaction initiation device sends a transaction authorization trial calculation request to the authorization center server; the authorization center server retrieves all authorization point information related to the transaction in the transaction authorization trial calculation request. For example, it includes two pieces of authorization point information: authorization point information x and authorization point information y. Among them, authorization point information x should be verified by Server m, and authorization point information y should be verified by Server n; the authorization center server sends authorization point information x to Server m and sends authorization point information y to Server n. Assuming that both authorization point information x and authorization point information y pass the verification, Server m feeds back authorization point information x to the authorization center server, and Server n feeds back authorization point information y to the authorization center server; the authorization center server sends authorization point information x and authorization point information y to the transaction initiation device; after the transaction initiation device processes the authorizations required for authorization point information x and authorization point information y, it submits an authorized transaction request to the transaction server: Server A and Server B perform transactions, and each transaction server completes the corresponding processing and submits the transaction. The advantage of doing this is that the authorization center server is used to check whether the transaction request requires authorization; the transaction initiation device does not need to make a separate transformation for authorization processing, and the authorization trial calculation has been separately processed before transaction processing; the authorization center server centrally manages the authorization point information and maintains all authorization point information of the transaction and the authorization verification server corresponding to each authorization point information.

[0074] The embodiments of the present invention also provide an authorization center server, as described in the following embodiments. Since the principles of these authorization center servers for solving problems are similar to the transaction authorization method in a distributed system applied to the authorization center server, the implementation of these authorization center servers can refer to the implementation of the transaction authorization method in a distributed system applied to the authorization center server, and the repeated parts will not be elaborated.

[0075] Figure 4 It is a functional module diagram of the authorization center server provided by the embodiments of the present invention, as Figure 4 shown. The authorization center server includes:

[0076] A request receiving module 401, configured to receive a transaction authorization trial calculation request initiated by a transaction initiating end device;

[0077] A transaction retrieval module 402, configured to retrieve authorization point information of the transaction involved in the transaction authorization trial calculation request;

[0078] An information sending module 403, configured to send the authorization point information to the corresponding authorization verification server;

[0079] An information receiving module 404, configured to receive the authorization point information passed in the verification feedback by the authorization verification server;

[0080] A transaction processing module 405, configured to send the authorization point information passed in the verification to the transaction initiating end device, so that after the transaction initiating end device performs authorization processing according to the authorization point information passed in the verification, it initiates an authorized transaction request to the transaction server.

[0081] In one embodiment, the transaction retrieval module is specifically configured to: retrieve one or more pieces of authorization point information of the transaction involved in the transaction authorization trial calculation request;

[0082] The information sending module is specifically configured to: send each piece of authorization point information to the corresponding authorization verification server respectively;

[0083] The information receiving module is specifically configured to: receive the authorization point information passed in the verification feedback by each authorization verification server respectively.

[0084] In one embodiment, the authorization point information is all the information related to this embodiment involved in the authorization point. For example, it may include: authorization point identifier, number of authorizations, and authorization level, etc. Those skilled in the art should know that the content of the authorization information can be selected according to actual needs.

[0085] An embodiment of the present invention also provides a transaction initiating device, as described in the following embodiments. Since the principle of solving problems by these transaction initiating devices is similar to that of a transaction authorization method in a distributed system applied to the transaction initiating device, the implementation of these transaction initiating devices can refer to the implementation of the transaction authorization method in a distributed system applied to the transaction initiating device, and the repeated parts will not be elaborated.

[0086] Figure 5 FIG. is a functional module diagram of the transaction initiating device provided by an embodiment of the present invention, as Figure 5 shown. The transaction initiating device includes:

[0087] A request initiating module 501, configured to initiate a transaction authorization trial calculation request to an authorization center server;

[0088] An authorization point information receiving module 502, configured to receive the authorized authorization point information fed back by the authorization center server, where the authorization point information is the authorization point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorized authorization point information is obtained by the authorization center server submitting the authorization point information to the corresponding authorization verification server for verification;

[0089] An authorization processing module 503, configured to perform authorization processing according to the authorized authorization point information;

[0090] An authorized transaction request module 504, configured to initiate an authorized transaction request to a transaction server.

[0091] In one embodiment, the authorization point information is all information related to this embodiment involved in the authorization point, for example, it may include: authorization point identifier, number of authorizations, and authorization level, etc. Those skilled in the art should know that the content of the authorization information can be selected according to actual needs.

[0092] In one embodiment, the authorization processing module is specifically configured to:

[0093] Perform authorization processing on each authorization point involved in the transaction according to the highest authorization level, authorization point identifier, and number of authorizations in each authorization point information. Those skilled in the art should know that the determination conditions here are only for this embodiment, and other conditions can be selected according to actual needs.

[0094] An embodiment of the present invention also provides a transaction authorization system in a distributed system, as described in the following embodiments. Since the principle of solving problems by this system is similar to that of a transaction authorization method in a distributed system, the implementation of this system can refer to the implementation of the transaction authorization method in a distributed system, and the repeated parts will not be elaborated.

[0095] Figure 6 This is a structural example diagram of a transaction authorization system in a distributed system according to an embodiment of the present invention. As Figure 6 shown, the system may include:

[0096] Figure 4 The authorization center server 601 shown;

[0097] Figure 5 The transaction initiation end device 602 shown;

[0098] An authorization verification server 603, configured to receive the authorization point information sent by the authorization center server, verify the authorization point information, and feedback the verified authorization point information to the authorization center server;

[0099] A transaction server 604, configured to receive and process the authorized transaction requests submitted by the transaction initiation end device.

[0100] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the transaction authorization method in the above-mentioned distributed system is implemented.

[0101] An embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the transaction authorization method in the above-mentioned distributed system is implemented.

[0102] An embodiment of the present invention further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the transaction authorization method in the above-mentioned distributed system is implemented.

[0103] In summary, in an embodiment of the present invention, the authorization center server receives a transaction authorization trial calculation request initiated by the transaction initiation end device; retrieves the authorization point information of the transaction involved in the transaction authorization trial calculation request; sends the authorization point information to the corresponding authorization verification server; receives the verified authorization point information fed back by the authorization verification server; sends the verified authorization point information to the transaction initiation end device for the transaction initiation end device to initiate an authorized transaction request to the transaction server after performing authorization processing according to the verified authorization point information; thereby facilitating the completion of authorization processing before the transaction through transaction authorization trial calculation and verification. Compared with the prior art solution that still requires transaction rollback when the transaction encounters an authorization point, the transaction authorization steps can be simplified, the transaction authorization efficiency can be improved, the transaction processing time can be shortened, and the cost can be reduced.

[0104] In an embodiment of the present invention, a transaction initiation device sends a transaction authorization trial calculation request to an authorization center server; receives the authorized point information that passes the verification feedback by the authorization center server, where the authorized point information is the authorized point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorized point information that passes the verification is obtained by the authorization center server submitting the authorized point information to the corresponding authorization verification server for verification; performs authorization processing according to the authorized point information that passes the verification; sends an authorized transaction request to the transaction server; thus, through transaction authorization trial calculation and verification, it is convenient to complete authorization processing before the transaction. Compared with the prior art solution that still needs to perform transaction rollback when the transaction encounters an authorized point, it can simplify the transaction authorization steps, improve the transaction authorization efficiency, shorten the transaction processing time, and reduce costs.

[0105] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0106] The present invention is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for realizing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 the functions specified in one block or multiple blocks.

[0107] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device realizes the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 the functions specified in one block or multiple blocks.

[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions for implementing the process Figure 1 in one process or multiple processes and / or blocks Figure 1 steps for the functions specified in one block or multiple blocks.

[0109] The specific embodiments described above further elaborate on the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A transaction authorization method in a distributed system, characterized in that, applied to an authorization center server, the method includes: Receiving a transaction authorization trial calculation request initiated by a transaction initiating device; Retrieving authorization point information of the transaction involved in the transaction authorization trial calculation request; the authorization point information includes: authorization point identifier, number of authorizations, and authorization level; Sending the authorization point information to the corresponding authorization verification server; Receiving the authorization point information passed the verification feedback by the authorization verification server; Sending the authorization point information passed the verification to the transaction initiating device, so that the transaction initiating device can initiate an authorized transaction request to the transaction server after performing authorization processing according to the authorization point information passed the verification; Retrieving the authorization point information of the transaction involved in the transaction authorization trial calculation request includes: retrieving one or more authorization point information of the transaction involved in the transaction authorization trial calculation request; Sending the authorization point information to the corresponding authorization verification server includes: sending each authorization point information to the corresponding authorization verification server separately; Receiving the authorization point information passed the verification feedback by the authorization verification server includes: receiving the authorization point information passed the verification feedback by each authorization verification server separately.

2. A transaction authorization method in a distributed system, characterized in that, applied to a transaction initiating device, the method includes: Initiating a transaction authorization trial calculation request to the authorization center server; Receiving the authorization point information passed the verification feedback by the authorization center server, wherein the authorization point information is the authorization point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorization point information passed the verification is obtained by the authorization center server submitting the authorization point information to the corresponding authorization verification server for verification; the authorization point information includes: authorization point identifier, number of authorizations, and authorization level; wherein, the authorization verification server sends each authorization point information to the corresponding authorization verification server separately, and receives the authorization point information passed the verification feedback by each authorization verification server separately; Performing authorization processing according to the authorization point information passed the verification; Initiating an authorized transaction request to the transaction server; Wherein, performing authorization processing according to the authorization point information passed the verification includes: performing authorization processing on each authorization point involved in the transaction according to the highest authorization level, authorization point identifier, and number of authorizations in each authorization point information.

3. An authorization center server, characterized in that, includes: A request receiving module for receiving a transaction authorization trial calculation request initiated by a transaction initiating device; A transaction retrieval module for retrieving authorization point information of the transaction involved in the transaction authorization trial calculation request; The authorization point information includes: authorization point identifier, number of authorizations, and authorization level; An information sending module for sending the authorization point information to the corresponding authorization verification server; An information receiving module for receiving the authorization point information passed the verification feedback by the authorization verification server; A transaction processing module for sending the authorization point information passed the verification to the transaction initiating device, so that the transaction initiating device can initiate an authorized transaction request to the transaction server after performing authorization processing according to the authorization point information passed the verification; Among them, the transaction retrieval module is specifically configured to: retrieve one or more authorization point information of the transaction involved in the transaction authorization trial calculation request; The information sending module is specifically configured to: send each authorization point information to the corresponding authorization verification server respectively; The information receiving module is specifically configured to: receive the authorization point information passed the verification feedback by each authorization verification server respectively.

4. A transaction initiating device, characterized in that it includes: A request initiating module, configured to initiate a transaction authorization trial calculation request to the authorization center server; An authorization point information receiving module, configured to receive the authorization point information passed the verification feedback by the authorization center server, wherein the authorization point information is the authorization point information of the transaction involved in the transaction authorization trial calculation request retrieved by the authorization center server, and the authorization point information passed the verification is obtained by the authorization center server submitting the authorization point information to the corresponding authorization verification server for verification; the authorization point information includes: authorization point identifier, number of authorizations, and authorization level; wherein, the authorization verification server sends each authorization point information to the corresponding authorization verification server respectively, and receives the authorization point information passed the verification feedback by each authorization verification server respectively; An authorization processing module, configured to perform authorization processing according to the authorization point information passed the verification; An authorized transaction request module, configured to initiate an authorized transaction request to the transaction server; The authorization processing module is specifically configured to: perform authorization processing on each authorization point involved in the transaction according to the highest authorization level, authorization point identifier and number of authorizations in each authorization point information.

5. A transaction authorization system in a distributed system, characterized in that it includes: The authorization center server according to claim 1; The transaction initiating device according to claim 2; An authorization verification server, configured to receive the authorization point information sent by the authorization center server, verify the authorization point information, and feedback the authorization point information passed the verification to the authorization center server; A transaction server, configured to receive and process the authorized transaction request submitted by the transaction initiating device.

6. A computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that when the processor executes the computer program, the method according to any one of claims 1 to 2 is implemented.

7. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.

8. A computer program product, characterized in that the computer program product includes a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Data interaction method and device and related equipment

    CN114119024A