Parameterized transaction control method and device

By splicing transaction elements into control element values ​​and access control tables, flexible configuration and decoupling of transaction objects is achieved, which solves the problem of insufficient flexibility and coupling of traditional transaction control mechanisms and improves the flexibility and compatibility of transaction control. .

CN114092099BInactive Publication Date: 2024-10-15BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111407613.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-24
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional transaction control mechanism has deficiencies in flexibility and coupling, resulting in inflexible parameter allocation and tight coupling between control logic and objects, making it difficult to meet the diversification and scalability of business needs.

Method used

By splicing the elements in the transaction into control element values ​​and accessing the control manual table, content table and method table, the control object can be flexibly configured and decoupled, and the transaction can be allowed or denied.

Benefits of technology

It achieves low coupling and flexible parameterized transaction control, reduces development workload, supports business scalability and compatibility, and improves the flexibility and compatibility of transaction control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114092099B_ABST
    Figure CN114092099B_ABST
Patent Text Reader

Abstract

The present invention provides a parameterized transaction control method and device, which is applicable to the field of financial technology. The method includes: concatenating character strings of elements in a transaction to form a control element value; accessing a control manual table, obtaining a control object method number and a control object content number corresponding to the control object for each control object of the control subject; accessing a control content table based on the control object content number for each control object; accessing a control method table based on the control object method number for each control object; for each control object, inputting the check value of the current transaction of the control object and the processed control object content into an implementation program corresponding to the implementation program name corresponding to the control object and executing the implementation program to obtain the processing result of the control object; if there is a control object whose processing result is a processing failure, determining that the transaction control result is not allowed; otherwise, determining that the transaction control result is allowed. The present invention has low coupling and flexible parameter allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology, and in particular to a parameterized transaction control method and device. Background Art

[0002] In order to meet business needs or corresponding regulatory requirements, banking system business parties often need to determine whether the system allows the execution of this transaction or limit the transaction amount under certain business conditions. However, traditional restriction mechanisms are often not flexible in implementation, and the control method is highly coupled with the underlying code.

[0003] The following is an example of a typical transaction restriction:

[0004] In order to control debit card transactions, the identification and permission control of transaction attributes are completed by setting parameter tables and corresponding control logic. After the transaction is uploaded, the parameter table is read with the transaction scenario, domestic and foreign marks, product information, transaction code, etc. in the transaction as key elements. When the control method is blacklist control, if the record is read, it is considered that the transaction is in the blacklist and the transaction is rejected. If it is not read, it is considered that it is not in the blacklist and the transaction continues; when the control method is whitelist, if the record is read, it is considered that the transaction is in the whitelist and the transaction is allowed. If it is not read, it is considered that it is not allowed to execute and the transaction is rejected.

[0005] The above process can, to a certain extent, control in a parameterized manner whether a transaction is allowed to be executed, that is, whether a service is restricted. However, the above mechanism has the following disadvantages:

[0006] 1. Inflexible parameter adjustment

[0007] That is, the control elements are fixed and the control object is single. Since the service authority control is carried out in the form of reading records in the parameter table, the key values ​​are also solidified. In other words, when the business personnel impose restrictions, they can only control whether to conduct transactions under the current conditions. For example, when the table is designed to be based on product + scenario + transaction code, the business personnel can only realize the business meaning of "what transactions a certain product can do in a certain scenario". If the business personnel want to increase the control of the merchant layer, they must modify the parameter table and change the control logic to realize the business meaning of "what transactions a certain product can do in a certain scenario of a certain merchant".

[0008] 2. Coupling of control elements and control logic

[0009] The currently used parameterized control methods are mostly tightly coupled, in which corresponding control logic is set for certain control items. When the control items or the control logic themselves are adjusted or modified, they will affect the other party.

[0010] In summary, there is currently a lack of a transaction control method that is relatively low-coupled and supports flexible parameterized deployment. Summary of the invention

[0011] The embodiment of the present invention provides a parameterized transaction control method for implementing parameterized transaction control with low coupling and flexible parameter allocation. The method includes:

[0012] When it is determined that the control subject corresponding to the transaction needs to be controlled, the elements in the transaction are concatenated into a string to form a control element value;

[0013] Based on the control element value access control manual table, for each control object of the control subject, when determining that the control object is enabled, obtain the control object method number and the control object content number corresponding to the control object;

[0014] For each control object, access the control content table based on the control object content number, and when it is determined that the control object content of the control object is enabled, obtain the processed control object content of the control object;

[0015] For each control object, access the control method table based on the control object method number, and when determining that the control object method of the control object is enabled, obtain the implementation program name of the control object method corresponding to the control object;

[0016] For each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, the check value of the current transaction of the control object and the processed control object content are input into the implementation program corresponding to the implementation program name corresponding to the control object and the implementation program is executed to obtain the processing result of the control object;

[0017] If there is a control object whose processing result is a processing failure, the transaction control result is determined to be not allowed; otherwise, the transaction control result is determined to be allowed.

[0018] The embodiment of the present invention provides a parameterized transaction control device for implementing parameterized transaction control, with low coupling and flexible parameter allocation. The device includes:

[0019] A control element value generation module is used to concatenate a string of elements in a transaction to form a control element value when it is determined that the control subject corresponding to the transaction needs to be controlled;

[0020] A control manual table retrieval module is used to access the control manual table based on the control element value, and for each control object of the control subject, when it is determined that the control object is enabled, obtain the control object method number and the control object content number corresponding to the control object;

[0021] A control object content determination module, for accessing the control content table for each control object based on the control object content number, and obtaining the processed control object content of the control object when determining that the control object content of the control object is enabled;

[0022] A control object method determination module is used to access the control method table for each control object based on the control object method number, and when determining that the control object method of the control object is enabled, obtain the implementation program name of the control object method corresponding to the control object;

[0023] A program execution module, for each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, inputs the check value of the current transaction of the control object and the processed control object content into an implementation program corresponding to the implementation program name corresponding to the control object and executes the implementation program to obtain a processing result of the control object;

[0024] The transaction control result determination module is used to determine that the transaction control result is not allowed if there is a control object with a processing result of processing failure; otherwise, determine that the transaction control result is allowed.

[0025] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned parameterized transaction control method when executing the computer program.

[0026] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned parameterized transaction control method is implemented.

[0027] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned parameterized transaction control method is implemented.

[0028] In an embodiment of the present invention, when it is determined that the control subject corresponding to the transaction needs to be controlled, the elements in the transaction are concatenated into a string to form a control element value; based on the control element value, the control manual table is accessed, and for each control object of the control subject, when it is determined that the control object is enabled, the control object method number and the control object content number corresponding to the control object are obtained; for each control object, the control content table is accessed based on the control object content number, and when it is determined that the control object content of the control object is enabled, the processed control object content of the control object is obtained; for each control object, the control method table is accessed based on the control object method number, and when it is determined that the control object method of the control object is enabled, the implementation program name of the control object method corresponding to the control object is obtained; for each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, the check value of the current transaction of the control object and the processed control object content are input into the implementation program corresponding to the implementation program name corresponding to the control object and the implementation program is executed to obtain the processing result of the control object; if there is a control object with a processing result of processing failure, the transaction control result is determined to be not allowed; otherwise, the transaction control result is determined to be allowed. In the above process, the control manual table, control content table and control method table are used to realize flexible configuration of multiple control objects in the control subject corresponding to the transaction, including whether to start, control content and control method configuration; at the same time, the decoupling of control content and control method is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0030] Figure 1 Flow chart of a parameterized transaction control method in an embodiment of the present invention;

[0031] Figure 2 is a schematic diagram of a parameterized transaction control method in an embodiment of the present invention;

[0032] Figure 3 A flow chart for determining control of a control subject corresponding to a transaction in an embodiment of the present invention;

[0033] Figure 4 A flow chart for determining activation of a control object in an embodiment of the present invention;

[0034] Figure 5A flow chart for determining the activation of the control object content in an embodiment of the present invention;

[0035] Figure 6 is a flow chart of the control object content processing in an embodiment of the present invention;

[0036] Figure 7 A determination flow chart for enabling a control object method in an embodiment of the present invention;

[0037] Figure 8 A flowchart of table maintenance in an embodiment of the present invention;

[0038] Fig. 9 Schematic diagram of a parameterized transaction control device in an embodiment of the present invention Figure 1 ;

[0039] Fig.10 Schematic diagram of a parameterized transaction control device in an embodiment of the present invention Figure 2 ;

[0040] Fig.11 Schematic diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0042] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps is not limited and can be appropriately adjusted as needed.

[0043] First, the terms involved in the embodiments of the present invention are explained.

[0044] Control access: Control access refers to the parameter definition of the corresponding business control item at the product level, which refers to whether the product is allowed to carry out this control. Only when this access is Y, the subsequent control parameter setting is allowed to occur, and only when this is Y, the program will perform all subsequent control operations. The product can be a bank card or a bank account.

[0045] Controlling subject: The controlling subject refers to the main object of business control, specifically the entity that carries out the business, which is a product or an instantiation of a product.

[0046] Control factors: Control factors refer to the division of the business control dimension, specifically the description of the characteristics of the business during the business development process. It mainly includes the transaction location (the location where the acquiring institution number belongs), transaction scene (the business terminal when the specific transaction occurs), merchant (merchant number of the business acquiring), merchant type (merchant type to which the business acquiring merchant belongs), currency (currency used when the business occurs), provincial bank (provincial bank where the card is issued), downgrade (transaction downgrade), limit (the amount of flow of the transaction), transaction type (debit and credit type of the transaction), etc., which exist in the form of code.

[0047] Control element value: is the specific value of the control element, concatenated in the form of a string.

[0048] Control object method: The control object method refers to the control scheme corresponding to the business during the specific implementation process. It is reflected by the method name and is a black box packaging of the specific business control logic.

[0049] Control object: The control object refers to the object that is restricted when the business is to be controlled, mainly including transaction code, card status, amount, etc.

[0050] Control page number: The control page number is a definition of the control page, so that different control items with the same control number can be added in parallel in addition to the 10 controls (for example, when CONT1 represents the transaction code in the control page 1 record, CONT1 may represent the currency in the control page 2 record).

[0051] Figure 1 FIG. 1 is a flow chart of a parameterized transaction control method in an embodiment of the present invention. Figure 1 As shown, the method includes:

[0052] Step 101, when it is determined that the control subject corresponding to the transaction needs to be controlled, the elements in the transaction are concatenated into a string to form a control element value;

[0053] Step 102, based on the control element value access control manual table, for each control object of the control subject, when determining that the control object is enabled, obtain the control object method number and the control object content number corresponding to the control object;

[0054] Step 103, for each control object, access the control content table based on the control object content number, and when it is determined that the control object content of the control object is enabled, obtain the processed control object content of the control object;

[0055] Step 104, for each control object, access the control method table based on the control object method number, and when it is determined that the control object method of the control object is enabled, obtain the implementation program name of the control object method corresponding to the control object;

[0056] Step 105, for each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, the check value of the current transaction of the control object and the processed control object content are input into the implementation program corresponding to the implementation program name corresponding to the control object and the implementation program is executed to obtain the processing result of the control object;

[0057] Step 106: If there is a control object whose processing result is a processing failure, determine that the transaction control result is not allowed; otherwise, determine that the transaction control result is allowed.

[0058] In an embodiment of the present invention, flexible configuration of multiple control objects in the control subject corresponding to the transaction is achieved through the control manual table, control content table and control method table, including whether to start, control content, and control method configuration; at the same time, the decoupling of control content and control method is achieved.

[0059] Figure 2 is a schematic diagram of a parameterized transaction control method in an embodiment of the present invention, Figure 2 and Figure 1 Correspondingly, a detailed introduction is given below.

[0060] In step 101, when it is determined that the control subject corresponding to the transaction needs to be controlled, the elements in the transaction are concatenated into a string to form a control element value.

[0061] When it is determined that the control subject corresponding to the transaction needs to be controlled, this constitutes a control scenario.

[0062] Figure 3 The flowchart of determining the control subject corresponding to the transaction in an embodiment of the present invention is as follows. In one embodiment, determining that the control subject corresponding to the transaction needs to be controlled includes:

[0063] Step 301, access the access control table to obtain the control subject number;

[0064] Step 302: Based on the control subject number, the access control manual table is accessed. When the control subject number exists in the access control table, it is determined that the control subject corresponding to the transaction needs to be controlled.

[0065] In the access control table, the control subject sets multiple access items, for example, 10 items, which correspond to the number of control objects in the control manual table, such as control object 1-control object 10 (CONT1-CONT10). A single access item is a 10-bit character type, and the digits represent the specific access status of the control item of the corresponding page number. For example, the first character in CONT1 represents whether CONT1 on the first page of the control manual table is enabled, and the third character represents whether CONT1 on the third page is enabled. In other words, if the control subject number can be found in the control manual table, then the control subject needs to be controlled, and the control objects will be introduced one by one in the control manual table. Table 1 is an example of an access control table.

[0066] Table 1

[0067]

[0068] In the control manual table, the control subject, control element, control element value, control page number, control page status, and 10 control areas are set respectively (the control area consists of a set of control object status, control object name, control object method, and control object content). Table 2 is an example of a control manual table.

[0069] Table 2

[0070]

[0071]

[0072]

[0073]

[0074]

[0075] In step 102, based on the control factor value access control manual table, for each control object of the control subject, when it is determined that the control object is enabled, the control object method number and the control object content number corresponding to the control object are obtained.

[0076] Figure 4 This is a flow chart of determining activation of a control object in an embodiment of the present invention. In one embodiment, determining that the control object is activated includes:

[0077] Step 401, query the state of the control object from the control manual table;

[0078] Step 402, when the control object state is enabled, obtain the control object method number and the control object content number corresponding to the control object.

[0079] In one embodiment, determining that the control object is enabled includes:

[0080] When the control page state of the control page where the control object is located is enabled and the control object state is enabled, a control object method number and a control object content number corresponding to the control object are obtained.

[0081] In the above embodiment, since the columns are limited when designing a single table, it is difficult to satisfy the definition of all control objects, so the concept of control page is set to satisfy the parallel setting of multiple pages of control objects under the same control subject and control element.

[0082] The control page and control object use the control status to represent the status of the current item. If the status is invalid, the item is skipped directly and is only used when it is valid. The status is defined and maintained by the maintenance process.

[0083] In step 103, for each control object, a control content table is accessed based on the control object content number, and when it is determined that the control object content of the control object is enabled, the processed control object content of the control object is obtained.

[0084] Figure 5 This is a flow chart of determining activation of the control object content in an embodiment of the present invention. In one embodiment, determining activation of the control object content of the control object includes:

[0085] Step 501, obtaining the control object content state of the control object from the control content table;

[0086] Step 502: When the control object content state is enabled, determine whether the control object content of the control object is enabled.

[0087] In the control content table, the control object content number is used as the unique key value to carry the specific control content of a certain control area. It is mainly composed of status, content, and truncation bit. A single content consists of 200 characters, with a maximum of 10 items. The truncation rule is defined by the truncation bit. Table 3 is an example of a control content table.

[0088] Table 3

[0089]

[0090]

[0091]

[0092] Figure 6Flowchart of the control object content processing in an embodiment of the present invention. In one embodiment, obtaining the processed control object content of the control object includes:

[0093] Step 601, obtaining the control object content and the number of truncated bits corresponding to the control object from the control content table;

[0094] Step 602: perform interception processing on the control object content according to the interception bit number to obtain the processed control object content of the control object.

[0095] In step 104, for each control object, a control method table is accessed based on the control object method number, and when it is determined that the control object method of the control object is enabled, the implementation program name of the control object method corresponding to the control object is obtained.

[0096] Figure 7 This is a flow chart for determining the activation of a control object method in an embodiment of the present invention. In one embodiment, determining the activation of the control object method of the control object includes:

[0097] Step 701, obtaining the control object method state of the control object from the control method table;

[0098] Step 702: When the control object method state is enabled, determine whether the control object method of the control object is enabled.

[0099] The control object method includes but is not limited to combinations of greater than, less than, equal to, greater than and equal to, less than or equal to, etc. to implement control logic. Table 4 is an example of a control method table.

[0100] Table 4

[0101]

[0102]

[0103] In step 105, for each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, the verification value of the current transaction of the control object and the processed control object content are input into the implementation program corresponding to the implementation program name corresponding to the control object and the implementation program is executed to obtain the processing result of the control object.

[0104] See also Figure 2 As can be seen from the above embodiments, the control manual table, the control content table, and the control method table implement cascade control table mapping, separate the control manual from the control object content and the control object method, and associate them with each other with unique key numbering, thereby freeing up the space occupied by controlled elements, etc., so that more control object content can be maintained.

[0105] In step 106, if there is a control object whose processing result is a processing failure, the transaction control result is determined to be not allowed; otherwise, the transaction control result is determined to be allowed.

[0106] Steps 101 to 106 are an extensive reading mode, which is to judge and control each control object of the control subject. There is also an intensive reading mode, which is to specify in advance that a certain control object is to be controlled.

[0107] In one embodiment, the method further comprises:

[0108] The control manual table edited by the business personnel is received. The control elements in the control manual table are obtained by the business personnel by accessing the control code table. That is, the control subject number is for the convenience of application, but each control subject code is not easy to understand, so a control code table is designed. Table 5 is an example of the control code table.

[0109] Table 5

[0110]

[0111]

[0112] In one embodiment, when the transaction control mode is fuzzy control, it is no longer determined that the control subject corresponding to the transaction needs to be controlled. The elements in the transaction are directly concatenated into a string to form a control element value, and steps 102 to 106 are executed. When accessing the control manual table, starting with the first control page, the control objects therein are read, judged and processed item by item. The processing method for a single control object is the same as above. After all valid judgments and processing of the current page are completed, the next page is read until there is no page or all valid pages have been read.

[0113] Of course, in the embodiment of the present invention, each single control item can also be designed in a narrow table form, and the above wide table is not necessarily used. For example, control object 1 is made into a separate table, control object 2 is made into a separate table, and the control content and control method are integrated with the corresponding table to form a two-layer combination of access control + control object. All related variations fall within the protection scope of the present invention.

[0114] It should be noted that the embodiment of the present invention proposes five tables, all of which need to be maintained by business personnel. Figure 8 The flowchart of table maintenance in an embodiment of the present invention includes:

[0115] Step 801: The business personnel edits the access control table;

[0116] Step 802: The business personnel use online mode to maintain the control manual table, which mainly includes the control subject, control element, control element value, control object, control object method, and control object content;

[0117] Step 803: Add new records according to the control elements and control element values, write the corresponding control object methods, control object contents, etc. into the control manual table, and form a unique index mapping with the control content table according to the control object content situation number;

[0118] Step 804: Write the control object content maintained by the business personnel into the control content table, and determine the number of truncated bits according to its business meaning and write it into the control content table;

[0119] Step 805: Write the control object method of the business personnel into the control method table and form a sequence arrangement according to their business needs.

[0120] In summary, the method proposed in the embodiment of the present invention has the following beneficial effects:

[0121] 1. Reduce the development workload

[0122] Flexible parameterized customization solutions for multiple tables and flexible parameter configuration can greatly reduce development workload. With the enrichment of control elements, most business control requirements can be met through the definition of control elements.

[0123] 2. Fully meet business scalability

[0124] The setting of the control page can meet the length requirements of the business maintenance content to the greatest extent by redefining it. It can support a maximum of 100 items and a maintenance interval of 2000 for a single parameter, fully meeting the scalability of the business.

[0125] 3. Improve business flexibility and compatibility

[0126] Abstract concepts such as control objects and control subjects can greatly improve the compatibility of business restrictions, have low coupling, support various mainstream control restriction requirements in the current market, and reduce the resulting specific development workload.

[0127] The present invention also provides a parameterized transaction control device, as described in the following embodiments. Since the principle of solving the problem by the device is similar to that of the parameterized transaction control method, the implementation of the device can refer to the implementation of the parameterized transaction control method, and the repeated parts will not be repeated.

[0128] Fig. 9 Schematic diagram of a parameterized transaction control device in an embodiment of the present invention Figure 1 ,include:

[0129] The control element value generating module 901 is used to concatenate the elements in the transaction into a control element value when it is determined that the control subject corresponding to the transaction needs to be controlled;

[0130] The control manual table search module 902 is used to access the control manual table based on the control element value, and for each control object of the control subject, when it is determined that the control object is enabled, obtain the control object method number and the control object content number corresponding to the control object;

[0131] A control object content determination module 903 is used to access the control content table for each control object based on the control object content number, and obtain the processed control object content of the control object when determining that the control object content of the control object is enabled;

[0132] The control object method determination module 904 is used to access the control method table for each control object based on the control object method number, and when determining that the control object method of the control object is enabled, obtain the implementation program name of the control object method corresponding to the control object;

[0133] A program execution module 905 is used for, for each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, inputting the check value of the current transaction of the control object and the processed control object content into the implementation program corresponding to the implementation program name corresponding to the control object and executing the implementation program to obtain the processing result of the control object;

[0134] The transaction control result determination module 906 is used to determine that the transaction control result is not allowed if there is a control object with a processing result of processing failure; otherwise, determine that the transaction control result is allowed.

[0135] In one embodiment, the control factor value generation module is specifically used to:

[0136] Access the access control table and obtain the control subject number;

[0137] Based on the control subject number, the access control manual table is accessed. When the control subject number exists in the access control table, it is determined that the control subject corresponding to the transaction needs to be controlled.

[0138] In one embodiment, the control manual table retrieval module is specifically used to:

[0139] Query the state of the control object from the control manual table;

[0140] When the state of the control object is enabled, a control object method number and a control object content number corresponding to the control object are obtained.

[0141] In one embodiment, the control object content determination module is specifically used to:

[0142] Obtaining the control object content state of the control object from the control content table;

[0143] When the control object content state is enabled, it is determined that the control object content of the control object is enabled.

[0144] In one embodiment, the control object content determination module is specifically used to:

[0145] Obtain the control object content and the number of truncation bits corresponding to the control object from the control content table;

[0146] The control object content is truncated according to the truncated bit number to obtain the processed control object content of the control object.

[0147] In one embodiment, the control object method determination module is specifically used to:

[0148] Obtain the control object method state of the control object from the control method table;

[0149] When the control object method state is enabled, it is determined that the control object method of the control object is enabled.

[0150] Fig.10 Schematic diagram of a parameterized transaction control device in an embodiment of the present invention Figure 2 In one embodiment, the device further includes a parameter configuration module 1001, which is used to:

[0151] A control manual table edited by a business person is received, wherein the control elements in the control manual table are obtained by the business person by accessing the control code table.

[0152] In one embodiment, the control manual table also includes a control page status;

[0153] The control manual table retrieval module is specifically used for: when the control page status of the control page where the control object is located is enabled and the control object status is enabled, obtaining the control object method number and the control object content number corresponding to the control object.

[0154] In summary, the device provided in the embodiment of the present invention has the following beneficial effects:

[0155] 1. Reduce the development workload

[0156] Flexible parameterized customization solutions for multiple tables and flexible parameter configuration can greatly reduce development workload. With the enrichment of control elements, most business control requirements can be met through the definition of control elements.

[0157] 2. Fully meet business scalability

[0158] The setting of the control page can meet the length requirements of the business maintenance content to the greatest extent by redefining it. It can support a maximum of 100 items and a maintenance interval of 2000 for a single parameter, fully meeting the scalability of the business.

[0159] 3. Improve business flexibility and compatibility

[0160] Abstract concepts such as control objects and control subjects can greatly improve the compatibility of business restrictions, have low coupling, support various mainstream control restriction requirements in the current market, and reduce the resulting specific development workload.

[0161] An embodiment of the present invention further provides a computer device, Fig.11 It is a schematic diagram of a computer device in an embodiment of the present invention. The computer device 1100 includes a memory 1110, a processor 1120, and a computer program 1130 stored in the memory 1110 and executable on the processor 1120. When the processor 1120 executes the computer program 730, the above-mentioned message sending and receiving method is implemented.

[0162] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned message sending and receiving method is implemented.

[0163] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned message sending and receiving method is implemented.

[0164] An embodiment of the present invention further provides a computer-readable storage medium capable of implementing all the steps of sending and receiving messages in the above embodiments. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements all the steps of sending and receiving messages in the above embodiments.

[0165] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program business systems. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program business system 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 codes.

[0166] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program business systems according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0167] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0169] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A parameterized transaction control method, It is characterized in that include: When it is determined that the control subject corresponding to the transaction needs to be controlled, the elements in the transaction are concatenated into a string to form a control element value; Based on the control element value access control manual table, for each control object of the control subject, when determining that the control object is enabled, obtain the control object method number and the control object content number corresponding to the control object; For each control object, access the control content table based on the control object content number, and when it is determined that the control object content of the control object is enabled, obtain the processed control object content of the control object; For each control object, access the control method table based on the control object method number, and when determining that the control object method of the control object is enabled, obtain the implementation program name of the control object method corresponding to the control object; For each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, the check value of the current transaction of the control object and the processed control object content are input into the implementation program corresponding to the implementation program name corresponding to the control object and the implementation program is executed to obtain the processing result of the control object; If there is a control object whose processing result is a processing failure, the control result of the transaction is determined to be not allowed; Otherwise, the transaction control result is determined to be permitted; Determining that the control subject corresponding to the transaction needs to be controlled, including: accessing the access control table to obtain the control subject number; based on the control subject number, accessing the control manual table, and when the control subject number exists in the access control table, determining that the control subject corresponding to the transaction needs to be controlled; Determining that the control object is enabled includes: querying the state of the control object from a control manual table; when the state of the control object is enabled, obtaining a control object method number and a control object content number corresponding to the control object; Determining that the control object content of the control object is enabled includes: obtaining the control object content state of the control object from the control content table; and when the control object content state is enabled, determining that the control object content of the control object is enabled; Obtaining the processed control object content of the control object, including: obtaining the control object content and the number of interception bits corresponding to the control object from the control content table; intercepting the control object content according to the number of interception bits to obtain the processed control object content of the control object; Determining whether the control object method of the control object is enabled includes: obtaining the control object method state of the control object from a control method table; and determining that the control object method of the control object is enabled when the control object method state is enabled.

2. The method according to claim 1, It is characterized in that Also includes: A control manual table edited by a business person is received, wherein the control elements in the control manual table are obtained by the business person by accessing the control code table.

3. The method according to claim 1, It is characterized in that The control manual table also includes a control page status; Confirm that the control object is enabled, including: When the control page state of the control page where the control object is located is enabled and the control object state is enabled, a control object method number and a control object content number corresponding to the control object are obtained.

4. A parameterized transaction control device, It is characterized in that include: A control element value generation module is used to concatenate a string of elements in a transaction to form a control element value when it is determined that the control subject corresponding to the transaction needs to be controlled; A control manual table retrieval module is used to access the control manual table based on the control element value, and for each control object of the control subject, when it is determined that the control object is enabled, obtain the control object method number and the control object content number corresponding to the control object; A control object content determination module, for accessing the control content table for each control object based on the control object content number, and obtaining the processed control object content of the control object when determining that the control object content of the control object is enabled; A control object method determination module is used to access the control method table for each control object based on the control object method number, and when determining that the control object method of the control object is enabled, obtain the implementation program name of the control object method corresponding to the control object; A program execution module, for each control object, when it is determined that the control object is enabled, the control object content of the control object is enabled, and the control object method of the control object is enabled, inputs the check value of the current transaction of the control object and the processed control object content into an implementation program corresponding to the implementation program name corresponding to the control object and executes the implementation program to obtain a processing result of the control object; A transaction control result determination module, for determining that the transaction control result is not permitted if there is a control object with a processing result of processing failure; otherwise, determining that the transaction control result is permitted; The control factor value generation module is specifically used to: access the access control table to obtain the control subject number; based on the control subject number, access the control manual table, and when the control subject number exists in the access control table, determine that the control subject corresponding to the transaction needs to be controlled; The control manual table retrieval module is specifically used to: query the state of the control object from the control manual table; when the state of the control object is enabled, obtain the control object method number and the control object content number corresponding to the control object; The control object content determination module is specifically used to: obtain the control object content state of the control object from the control content table; when the control object content state is enabled, determine that the control object content of the control object is enabled; The control object content determination module is specifically used to: obtain the control object content and the number of interception bits corresponding to the control object from the control content table; intercept the control object content according to the number of interception bits to obtain the processed control object content of the control object; The control object method determination module is specifically used to: obtain the control object method state of the control object from the control method table; and when the control object method state is enabled, determine that the control object method of the control object is enabled.

5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium, It is 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 3 is implemented.

7. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.