A quota-based service control method and device
By parsing the limit dimension parameters in the business request, splicing and matching the limit information, the problem of the inability to adjust the limit check in the existing technology is solved, and adaptive control and multi-scenario adaptability of the limit business are realized.
Patent Information
- Application Number
- CN202310827209.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-07-06
AI Technical Summary
The existing database script quota checking method has limited quota parameters and related information when writing, cannot be adjusted according to scene changes, is only applicable to a small number of scenarios, and cannot achieve adaptive control of quota services.
By receiving business requests, parsing the correspondence between data bits and limit dimensions, extracting parameters such as account object type and transaction type, splicing variables based on set rules, matching pre-stored limit information, and reading limit information from the limit accumulation register , to allow or deny business for the target account.
It realizes the adaptive control of limit business, can make timely limit determination under different transaction scenarios, facilitates the adjustment of limit parameters, and meets the needs of various business scenarios.
Smart Images

Figure CN116993470B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a quota-based service control method and device. Background Art
[0002] The limit check in the core business system of the bank is a general check. The limit check requires the use of limit parameters and the scenario is relatively complex. For example, the limit accumulation types include amount limit, number limit and balance limit; the cycle types include single, daily, weekly, ten-day, monthly, quarterly and annual; the limit dimensions include transaction type, transaction channel, account category, loan mark, domestic and foreign mark, currency, etc. Generally, the limit parameters can be maintained through database scripts.
[0003] However, the limit check based on database scripts is highly targeted, as the limit parameters and related information such as limits are already defined when the database scripts are written. It is often only applicable to a small number of scenarios and cannot be adjusted according to changes in the scenarios. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.
[0005] To this end, a first object of the present invention is to propose a quota-based service control method to achieve adaptive control of quota-limited services.
[0006] The second objective of the present invention is to provide a quota-based service control device.
[0007] The third object of the present invention is to provide another quota-based service control device.
[0008] A fourth object of the present invention is to provide a non-transitory computer-readable storage medium.
[0009] A fifth object of the present invention is to provide a computer program product.
[0010] To achieve the above object, a first aspect of the present invention provides a quota-based service control method, including:
[0011] Receive business requests;
[0012] Parsing the business request to read the data on each data bit in the business request as a parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include business parameters of the target business and account parameters of the target account;
[0013] Based on the target limit dimension to which each limit parameter configured by the user belongs, extracting the account object type and / or account attribute from the account parameter to obtain a first target parameter belonging to the target limit dimension, and extracting one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency from the business parameter to obtain a second target parameter belonging to the target limit dimension;
[0014] Based on a set rule, the first target parameter and the second target parameter are concatenated to obtain a first variable;
[0015] In the case where the first variable matches the pre-stored second variable, the quota information associated with the second variable is read from the quota accumulation register, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, wherein the second variable is obtained by splicing the quota parameters configured by the user based on the set rule;
[0016] Refuse or allow execution of the target business for the target account based on the limit information.
[0017] To achieve the above-mentioned purpose, a second aspect of the present invention provides a quota-based service control device, including:
[0018] A receiving module, used for receiving a service request;
[0019] A parsing module, used to parse the business request, and read the data on each data bit in the business request as a parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include business parameters of the target business and account parameters of the target account;
[0020] an extraction module, configured to extract the account object type and / or account attribute from the account parameter based on the target limit dimension to which each limit parameter configured by the user belongs, to obtain a first target parameter belonging to the target limit dimension, and to extract one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency from the business parameter to obtain a second target parameter belonging to the target limit dimension;
[0021] A splicing module, used for splicing the first target parameter and the second target parameter based on a set rule to obtain a first variable;
[0022] A reading module, configured to read the quota information associated with the second variable from the quota accumulation register when the first variable matches the pre-stored second variable, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, and wherein the second variable is obtained by splicing the quota parameters configured by the user based on the set rule;
[0023] A control module is used to reject or allow the execution of the target business for the target account based on the limit information.
[0024] To achieve the above-mentioned purpose, the third aspect of the present invention provides another quota-based service control device, including a memory, a transceiver, and a processor:
[0025] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0026] Receive business requests;
[0027] Parsing the business request to read the data on each data bit in the business request as a parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include business parameters of the target business and account parameters of the target account;
[0028] Based on the target limit dimension to which each limit parameter configured by the user belongs, extracting the account object type and / or account attribute from the account parameter to obtain a first target parameter belonging to the target limit dimension, and extracting one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency from the business parameter to obtain a second target parameter belonging to the target limit dimension;
[0029] Based on a set rule, the first target parameter and the second target parameter are concatenated to obtain a first variable;
[0030] In the case where the first variable matches the pre-stored second variable, the quota information associated with the second variable is read from the quota accumulation register, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, wherein the second variable is obtained by splicing the quota parameters configured by the user based on the set rule;
[0031] Refuse or allow execution of the target business for the target account based on the limit information.
[0032] In order to achieve the above-mentioned objectives, the fourth aspect embodiment of the present invention proposes a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of an electronic device, the electronic device is enabled to execute a quota-based service control method proposed in the first aspect embodiment of the present invention.
[0033] In order to achieve the above-mentioned purpose, the fifth embodiment of the present invention proposes a computer program product. When the instruction processor in the computer program product is executed, the quota-based service control method proposed in the first embodiment of the present invention is executed.
[0034] The present invention includes at least the following beneficial effects: receiving a business request; parsing the business request, so as to read the data on each data bit in the business request as the parameter of the corresponding limit dimension according to the corresponding relationship between the data bit and the limit dimension, wherein the parameter includes the business parameter of the target business and the account parameter of the target account; based on the target limit dimension to which each limit parameter configured by the user belongs, extracting the account object type and / or account attribute from the account parameter to obtain the first target parameter belonging to the target limit dimension, extracting one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark and currency from the business parameter to obtain the second target parameter belonging to the target limit dimension; splicing the first target parameter and the second target parameter based on the set rule to obtain the first variable; when the first variable matches the pre-stored second variable, reading the amount information associated with the second variable from the limit accumulation register, wherein the amount information is the used amount or the remaining amount calculated based on the set limit within the set statistical period, wherein the second variable is obtained by splicing the limit parameters configured by the user based on the set rule; and refusing or allowing the execution of the target business for the target account based on the amount information. Since the limit detection is performed in a variable matching manner, the first variable is generated by extracting multiple parameters of the limit setting dimensions applicable to various business scenarios based on the business request during each limit detection. The second variable can also be conveniently modified when the limit parameters are adjusted, and the configurations of different limits are pre-stored in the limit accumulation register for easy modification and adjustment, so that limit judgments can be made in a timely manner in different transaction scenarios, thereby realizing adaptive control of limit business.
[0035] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0037] Figure 1 A flow chart of a quota-based service control method provided by an embodiment of the present invention;
[0038] Figure 2 A flow chart of another quota-based service control method provided by an embodiment of the present invention;
[0039] Figure 3A schematic diagram of the structure of a quota-based service control device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0041] A quota-based service control method and device according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
[0042] Figure 1 The flowchart of a quota-based service control method provided by an embodiment of the present invention is as follows. Figure 1 As shown, the method comprises the following steps:
[0043] Step 101: Receive a service request.
[0044] A business request is a request from a user to conduct a business. The bank receives the business request from the user and provides feedback.
[0045] Step 102, parse the business request to read the data on each data bit in the business request as the parameters of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include the business parameters of the target business and the account parameters of the target account.
[0046] After receiving the service request, the service request is parsed to read the parameters of the service request. Optionally, the parameters include service parameters of the target service and account parameters of the target account.
[0047] The business request includes multiple data bits, which correspond to the limit dimension one by one. The data on the data bit is the parameter on the corresponding limit dimension. For example, business parameters may include transaction type, channel number, loan mark, domestic and foreign mark, currency and other parameters corresponding to the limit dimension; account parameters may include account object type, account attributes and other parameters corresponding to the limit dimension.
[0048] By extracting business parameters and account parameters, the parameters of each limit dimension are determined.
[0049] Step 103, based on the target limit dimension to which each limit parameter configured by the user belongs, the account object type and / or account attribute is extracted from the account parameter to obtain the first target parameter belonging to the target limit dimension, and one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark and currency are extracted from the business parameter to obtain the second target parameter belonging to the target limit dimension.
[0050] Optionally, the two limit dimensions of account object type and account attribute corresponding to the account parameters belong to the target limit dimension; the five limit dimensions of transaction type, channel number, loan mark, domestic and foreign mark and currency corresponding to the business parameters belong to the target limit dimension.
[0051] The corresponding target parameters are composed of the same type of parameters belonging to the target limit dimension, that is, for account parameters, the first target parameter is composed of parameters corresponding to the account object type and / or account attributes; for business parameters, the second target parameter is composed of one or more combinations of transaction type, channel number, loan mark, domestic and foreign mark and currency.
[0052] By filtering the parameters belonging to the target limit dimension to form target parameters of corresponding types, it is possible to accurately extract parameters that are of reference significance for limit determination.
[0053] Step 104: Based on the set rule, the first target parameter and the second target parameter are concatenated to obtain a first variable.
[0054] The selected parameters that are of reference significance for limit determination are combined with each other through splicing to obtain a first variable as a basis for limit determination.
[0055] Optionally, a setting rule for splicing the first target parameter and the second target parameter is predetermined, for example, the setting rule may be splicing in a regular expression manner.
[0056] Step 105, when the first variable matches the pre-stored second variable, read the quota information associated with the second variable from the quota accumulation register, wherein the quota information is the used quota or remaining quota calculated based on the set limit within the set statistical period, wherein the second variable is obtained by concatenating the user-configured quota parameters based on the set rules.
[0057] Optionally, the pre-stored second variable and the first variable are obtained based on the same setting rule so that the first variable matches the second variable.
[0058] Optionally, the pre-stored second variable records associated limit information. If the first variable matches the pre-stored second variable, it means that the limit information corresponding to the first variable is the limit information associated with the pre-stored second variable, and then the limit determination of the first variable is performed based on the limit information.
[0059] Step 106: Refuse or allow execution of the target business for the target account based on the credit limit information.
[0060] Based on the quota information, it is determined whether the first variable reaches the limit quota. If the limit quota is reached, the target business is refused to be executed for the target account; if the limit quota is not reached, the target business is allowed to be executed for the target account.
[0061] In this embodiment, a business request is received; the business request is parsed to read the data on each data bit in the business request as the parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include the business parameters of the target business and the account parameters of the target account; based on the target limit dimension to which each limit parameter configured by the user belongs, the account object type and / or account attribute are extracted from the account parameter to obtain a first target parameter belonging to the target limit dimension, and one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark and currency are extracted from the business parameter to obtain a second target parameter belonging to the target limit dimension; based on the set rule, the first target parameter and the second target parameter are spliced to obtain a first variable; when the first variable matches the pre-stored second variable, the amount information associated with the second variable is read from the limit accumulation register, wherein the amount information is the used amount or the remaining amount calculated based on the set limit within the set statistical period, wherein the second variable is obtained by splicing the limit parameters configured by the user based on the set rule; and the execution of the target business for the target account is rejected or allowed based on the amount information. The configurations of different limits can be pre-stored and matched with the obtained first variable, and the limit determination can be carried out in a timely manner in different transaction scenarios, thus realizing adaptive control of the limit business.
[0062] In order to clearly explain the above embodiment, this embodiment provides another quota-based service control method. Figure 2 A flowchart of another quota-based service control method provided by an embodiment of the present invention.
[0063] like Figure 2 As shown, the method may include the following steps:
[0064] Step 201: receiving a service request.
[0065] A business request is a request from a user to conduct a business. The bank receives the business request from the user and provides feedback.
[0066] Optionally, the service request may be a personal card ATM cash withdrawal, a Class II account transfer, a Class III account transfer, a supplementary card consumption, etc.
[0067] Step 202, parse the business request to read the data on each data bit in the business request as the parameters of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include the business parameters of the target business and the account parameters of the target account.
[0068] Optionally, the business request includes multiple data bits, which correspond to the limit dimensions one by one, and the data on the data bits are parameters on the corresponding limit dimensions. For example, business parameters may include transaction type, channel number, loan mark, domestic and foreign mark, currency and other parameters corresponding to the limit dimensions; account parameters may include account object type, account attributes and other parameters corresponding to the limit dimensions.
[0069] As a possible implementation method, the limit dimension corresponding to the account parameter is obtained according to the account number sent by the transaction corresponding to the received business request, including the account object type and account attributes. The account object type represents whether the account is a personal card, a unit settlement card or a customer number, and the account attribute represents whether the account is a Class I account, a Class II account or a Class III account.
[0070] According to the transaction request information, the limit dimension corresponding to the business parameters is obtained, namely, the transaction type, channel number, loan mark, domestic and foreign mark and currency.
[0071] Optionally, the parameters corresponding to the account object type are as follows:
[0072] 01-Personal card discount, 02-Unit settlement card, 03-Unit settlement card-account total, 04-Unit current account, 05-Customer number.
[0073] When determining the account object type, the data on the corresponding data bit is the parameter on the account object type dimension.
[0074] Optionally, the parameters corresponding to the account attributes are as follows:
[0075] 0-all, 1-Type I accounts, 2-Type II accounts, 3-Type III accounts.
[0076] When determining account attributes, the data on the corresponding data bit is the parameter on the account attribute dimension.
[0077] Optionally, the parameters corresponding to the transaction type are as follows:
[0078] 00-All, 01-Cash withdrawal, 02-Cash deposit, 03-Cash, 04-Transfer out, 05-Transfer in, 07-Consumption, 08-Financial purchase, 09-Loan repayment, 10-Loan disbursement, 11-Cash withdrawal by face recognition, 12-Cash deposit by face recognition, 13-Cardless payment, 15-Bank-Securities transfer, 16-Inter-bank transfer, 17-Counter access, 18-UnionPay collection, 19-Cardless withdrawal, 20-Credit card repayment, 21-Return, etc.
[0079] When determining the transaction type, the data on the corresponding data bit is the parameter on the transaction type dimension.
[0080] Optionally, the parameters corresponding to the channel number are as follows:
[0081] 000000-full access, 100100-counter comprehensive business system, 100200-telephone banking customer service system, 101300-smart teller machine (STM), 101900-ATM system, 103100-mobile phone is very good, 103201-online banking system, 103300-WeChat bank, 103400-direct bank, 104300-WeChat applet, 106100-bank-enterprise direct connection, 301100-credit system, 303100-second-generation modern payment system, 303300-city commercial bank payment system, 304200-international settlement system, 304300-commercial bill management system, 304800-integrated payment platform, 305100-integrated financial management platform, 802040-online goods system, etc.
[0082] When the channel number is determined, the data on the corresponding data bit is a parameter on the channel number dimension.
[0083] Optionally, the parameters corresponding to the borrow and lend flags are as follows:
[0084] 2-all, 0-debit, 1-credit.
[0085] When the borrowing and lending flags are determined, the data on the corresponding data bits are parameters on the borrowing and lending flag dimension.
[0086] Optionally, the parameters corresponding to the domestic and foreign flags are as follows:
[0087] 0-all, 1-domestic, 2-overseas.
[0088] When the domestic and foreign flags are determined, the data on the corresponding data bits are parameters on the domestic and foreign flag dimension.
[0089] Optionally, the parameters corresponding to the currency are as follows:
[0090] AUD-Australian dollar, CAD-Canadian dollar, CHF-Swiss franc, CNY-Chinese yuan, DKK-Danish krone, EUR-Euro, GBP-British pound, JPY-Japanese yen, NOK-Norwegian kronor, SEK-Swedish kronor, SGD-Singapore dollar, USD-US dollar.
[0091] When the currency is determined, the data on the corresponding data bit is the parameter on the currency dimension.
[0092] Step 203, based on the target limit dimension to which each limit parameter configured by the user belongs, the account object type and / or account attribute is extracted from the account parameter to obtain the first target parameter belonging to the target limit dimension, and one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark and currency are extracted from the business parameter to obtain the second target parameter belonging to the target limit dimension.
[0093] Optionally, the parameter corresponding to the extracted account object type is ([^,]*(01)[^,]*); the parameter corresponding to the account attribute is ([^,]*(0|1)[^,]*); the parameter corresponding to the transaction type is ([^,]*(00|01)[^,]*); the parameter corresponding to the channel number is ([^,]*(000000|101900)[^,]*); the parameter corresponding to the loan flag is ([^,]*(0)[^,]*); the parameter corresponding to the domestic and foreign flag is ([^,]*(0|1)[^,]*); the parameter corresponding to the currency is (CNY).
[0094] Optionally, a parameter corresponding to an account type, a parameter corresponding to an account attribute, or a combination of parameters corresponding to an account object type and an account attribute may be used as the first target parameter.
[0095] Optionally, one or more combinations of parameters corresponding to the transaction type, channel number, loan mark, domestic and foreign mark and currency may be selected as the second target parameter.
[0096] As a possible implementation method, the parameters corresponding to the extracted account object type and account attributes are combined into the first target parameter: ([^,]*(01)[^,]*),([^,]*(0|1)[^,]*); the extracted transaction type, channel number, loan mark, domestic and foreign mark and currency are all combined to obtain the second target parameter: ([^,]*(00|01)[^,]*),([^,]*(000000|101900)[^,]*),([^,]*(0)[^,]*),([^,]*(0|1)[^,]*),(CN Y).
[0097] Step 204, fill each first target parameter belonging to the target limit dimension and each second target parameter belonging to the target limit dimension into the regular expression template generated based on the set rule to obtain a first variable.
[0098] As a possible implementation method, the first target parameters and the second target parameters corresponding to the seven target limit dimensions, namely, transaction type, channel number, loan mark, domestic and foreign mark, currency, object type and account attribute, are concatenated in a regular expression manner to obtain the first variable: ([^,]*(00|01)[^,]*),([^,]*(000000|101900)[^,]*),([^,]*(01)[^,]*),([^,]*(0|1)[^,]*),([^,]*(0)[^,]*),([^,]*(0|1)[^,]*),(CNY).
[0099] Step 205, when the first variable matches the pre-stored second variable, read the quota information associated with the second variable from the quota accumulation register, wherein the quota information is the used quota or remaining quota calculated based on the set limit within the set statistical period, wherein the second variable is obtained by concatenating the user-configured quota parameters based on the set rules.
[0100] The pre-stored second variable is a variable obtained by splicing the limit parameters configured by the user through a regular expression by the parameter platform.
[0101] Optionally, the second variable is associated with at least one limit type, wherein each limit type has corresponding limit information.
[0102] It should be noted that the limit type is at least one of an amount limit, a number limit, and a balance limit.
[0103] As a possible implementation, in the case where the business request is a personal card ATM withdrawal, as an example, the daily cumulative withdrawal limit of a personal card ATM is 20,000 yuan, and the limit parameters are set on the parameter platform. The transaction type selects 01-cash withdrawal, 11-face recognition withdrawal, and 19-cardless withdrawal; the transaction channel selects 101900-ATM system; the object type selects 01-personal card; the account attribute selects 0-all; the debit and credit flag selects 0-debit; the domestic and foreign flag selects 1-domestic; the currency selects CNY-RMB; the cycle type selects D-day; the cumulative limit type selects 1-amount limit; and the cumulative limit value is 20,000 yuan. Then, after extracting the parameters of each limit dimension from the business parameters and account parameters of the business request, the limit string synchronized from the parameter platform to the core system is: 01_11_19,101900,01,0,0,1,CNY. The limit string is the pre-stored second variable obtained when the business request is a personal card ATM withdrawal.
[0104] As a possible implementation method, in the case where the business request is a transfer of Class II accounts, as an example, the Class II account transfers a total of 10,000 yuan on the day of the transfer, and the limit parameters are set in the parameter platform, and the transaction type is selected as 00-all; the transaction channel is selected as 000000-all channels; the object type is selected as 01-personal card; the account attribute is selected as 2-Class II accounts; the loan flag is selected as 1-loan; the domestic and foreign flag is selected as 0-all; the currency is selected as CNY-RMB; the cycle type is selected as D-day; the cumulative limit type is selected as 1-amount limit; and the cumulative limit value is 10,000 yuan. Then, the limit string synchronized from the parameter platform to the core system is: 00,000000,01,2,1,0,CNY. The limit character is the pre-stored second variable obtained when the business request is a transfer of Class II accounts.
[0105] As a possible implementation method, in the case where the business request is a transfer of a Class III account, as an example, the account balance limit of a Class III account is 2,000 yuan. The limit parameters are set in the parameter platform, and the transaction type is selected as 00-all; the transaction channel is selected as 000000-all channels; the object type is selected as 01-personal card; the account attribute is selected as 3-Class III account; the loan flag is selected as 1-loan; the domestic and foreign flag is selected as 0-all; the currency is selected as CNY-RMB; the cycle type is selected as S-single; the cumulative limit type is selected as 3-balance limit; and the cumulative limit value is 2,000 yuan. Then, the limit string synchronized from the parameter platform to the core system is: 00,000000,01,3,1,0,CNY. The limit string is the pre-stored second variable obtained when the business request is a transfer of a Class III account.
[0106] As a possible implementation method, when the business request is for supplementary card consumption, after the supplementary card is opened, the main card sets a custom limit for the supplementary card. As an example, the custom limit for the supplementary card is set to a monthly cumulative consumption of 10,000 yuan. The limit parameters are set on the parameter platform, and the transaction type is selected as 07-consumption; the transaction channel is selected as 000000-all channels; the object type is selected as 01-personal card; the account attribute is selected as 0-all; the loan mark is selected as 0-borrow; the domestic and foreign mark is selected as 1-domestic; the currency is selected as CNY-RMB; the cycle type is selected as M-month; the cumulative limit type is selected as 1-amount limit; and the cumulative limit value is 10,000 yuan. Then, after the custom limit setting is completed, the limit string saved to the core system is: 00,000000,01,3,1,0,CNY, and the limit is associated with the supplementary card number. The limit string is the pre-stored second variable obtained when the business request is for supplementary card consumption.
[0107] When there is at least one second variable that matches the first variable, the first variable is matched successfully, and the amount information associated with the corresponding second variable is read from the DPE_LMT_TOT-limit accumulation register.
[0108] It should be noted that for some specific scenarios, such as simple account opening, unit settlement card opening, and social security account opening, the core background will register the default limit information in the limit register after completing the account opening. For example, the default daily cumulative cash withdrawal limit of a personal card ATM is 20,000 yuan. After the personal card account is opened, the daily cumulative cash withdrawal limit of the personal card will be automatically registered in the limit register as 20,000 yuan.
[0109] The credit limit information associated with any second variable is customized credit limit information and / or global credit limit information.
[0110] The customized quota information refers to the used quota or remaining quota calculated based on the customized set limit within the customized set statistical period.
[0111] The global quota information is the used quota or remaining quota calculated based on the set limit of the global parameter configuration within the set statistical period of the global parameter configuration.
[0112] As a possible implementation manner, when reading the quota information associated with the second variable, the custom limit is read first, and then the global limit is read.
[0113] Since custom limits are set separately for each account, they can usually cover more set limit dimensions and have a higher priority. Therefore, when reading the quota information, the custom limit is read first, and then the global limit.
[0114] Optionally, when the target account is opened or the configuration is updated, a customized set statistical period and / or a customized set limit is obtained from the counter system; the global parameter configuration applicable to any account in the bank is read from the parameter platform to obtain the set statistical period and / or set limit contained in the global parameter configuration.
[0115] It should be noted that the core system has developed a synchronization interface. After the parameter platform is maintained, the parameters are synchronized to the core library table through HTTP REST. The core system obtains the latest limit parameters for verification when performing limit checks.
[0116] Step 206: If the service request does not satisfy the quota information corresponding to at least one quota type, the target service is rejected for the target account; if the service request satisfies the quota information corresponding to any quota type, the target service is allowed to be executed for the target account.
[0117] Optionally, when the business request satisfies any customized quota information associated with the second variable, it is determined whether the business request satisfies any global quota information associated with the second variable; when the business request satisfies any global quota information associated with the second variable, execution of the target business is allowed for the target account.
[0118] Optionally, when the business request does not satisfy any customized limit information associated with the second variable, or when the business request does not satisfy any global limit information associated with the second variable, the target business is refused to be executed for the target account.
[0119] As a possible implementation method, if the first variable matches successfully, the used limit amount for the day associated with the corresponding second variable is read from the limit accumulation register to determine whether the used limit amount + transaction amount is greater than the corresponding limit information. The limit information can be a custom limit information or a global limit information. If it is greater than the limit information, it means that the limit has been exceeded for the day and the limit information associated with the second variable is not satisfied. The target business is refused to be executed for the target account and the transaction is terminated. If it is less than or equal to the limit information, it means that the limit information associated with the second variable is satisfied, and the target business is allowed to be executed for the target account.
[0120] It should be noted that in the process of comparing the size of the credit limit information, it is first compared with the customized credit limit information. If it is greater than the customized credit limit information, it means that the credit limit information associated with the second variable is no longer satisfied, and there is no need to perform a global credit limit information comparison, and the target business is refused to be executed for the target account. On the contrary, if it is less than or equal to the customized credit limit information, it is necessary to further perform a global credit limit information comparison. Only when both credit limit information are satisfied, the credit limit information associated with the second variable is satisfied, and the target business is allowed to be executed for the target account.
[0121] It should be noted that if the date in the limit accumulation register is not equal to the transaction date, the daily limit will be accumulated starting from 0.
[0122] Furthermore, if the target business is allowed to be executed for the target account based on the quota information, the quota information associated with the matching second variable in the quota accumulation register is updated according to the quota occupied by the business request.
[0123] When the target business is allowed to be executed for the target account, the daily cumulative value in the limit accumulation register is updated according to the amount occupied by the business request.
[0124] In order to implement the above embodiment, the present invention also proposes a quota-based service control device.
[0125] Figure 3 A schematic diagram of the structure of a quota-based service control device provided in an embodiment of the present invention.
[0126] like Figure 3 As shown, the quota-based service control device 300 includes: a receiving module 310 , a parsing module 320 , an extracting module 330 , a splicing module 340 , a reading module 350 and a control module 360 .
[0127] The receiving module 310 is used to receive a service request.
[0128] The parsing module 320 is used to parse the business request, and read the data on each data bit in the business request as the parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameter includes the business parameter of the target business and the account parameter of the target account;
[0129] The extraction module 330 is used to extract the account object type and / or account attribute from the account parameter based on the target limit dimension to which each limit parameter configured by the user belongs to obtain a first target parameter belonging to the target limit dimension, and to extract one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency from the business parameter to obtain a second target parameter belonging to the target limit dimension;
[0130] A concatenation module 340, configured to concatenate the first target parameter and the second target parameter based on a set rule to obtain a first variable;
[0131] The reading module 350 is used to read the quota information associated with the second variable from the quota accumulation register when the first variable matches the pre-stored second variable, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, and the second variable is obtained by splicing the quota parameters configured by the user based on the set rules;
[0132] The control module 360 is used to reject or allow the execution of the target business for the target account based on the credit limit information.
[0133] Furthermore, in a possible implementation of the embodiment of the present invention, the control module 360 includes:
[0134] If the business request does not satisfy the quota information corresponding to at least one limit type, the target business is refused to be executed for the target account;
[0135] If the business request meets the quota information corresponding to any limit type, the target business is allowed to be executed for the target account.
[0136] The limit type is at least one of an amount limit, a number limit, and a balance limit.
[0137] Furthermore, in a possible implementation of the embodiment of the present invention, the device further includes:
[0138] When the target account is opened or updated, the user-defined statistical period and / or the user-defined limit are obtained from the counter system;
[0139] Read the global parameter configuration applicable to any account in the bank from the parameter platform to obtain the set statistical period and / or set limit contained in the global parameter configuration.
[0140] When there is at least one second variable matching the first variable, the credit limit information associated with any second variable is user-defined credit limit information and / or global credit limit information;
[0141] The custom quota information refers to the used quota or remaining quota calculated based on the custom set limit within the custom set statistical period;
[0142] The global quota information is the used quota or remaining quota calculated based on the set limit of the global parameter configuration within the set statistical period of the global parameter configuration.
[0143] In the case where the business request satisfies any of the customized quota information associated with the second variable, determining whether the business request satisfies any of the global quota information associated with the second variable;
[0144] If the business request satisfies any global quota information associated with the second variable, the target business is allowed to be executed for the target account;
[0145] When the business request does not satisfy any customized limit information associated with the second variable, or does not satisfy any global limit information associated with the second variable, the target business is refused to be executed for the target account.
[0146] Furthermore, in a possible implementation of the embodiment of the present invention, the splicing module 340 includes:
[0147] Each first target parameter belonging to the target limit dimension and each second target parameter belonging to the target limit dimension are filled into a regular expression template generated based on a set rule to obtain a first variable.
[0148] Furthermore, in a possible implementation of the embodiment of the present invention, the device further includes:
[0149] If the target business is allowed to be executed for the target account based on the quota information, the quota information associated with the matching second variable in the quota accumulation register is updated according to the quota occupied by the business request.
[0150] It should be noted that the above explanation of the quota-based service control method embodiment is also applicable to the quota-based service control device of this embodiment, and will not be repeated here.
[0151] In order to implement the above embodiment, the present invention further proposes another quota-based service control device, comprising: a memory, a transceiver, and a processor:
[0152] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0153] Receive business requests;
[0154] Parse the business request to read the data on each data bit in the business request as the parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameter includes the business parameter of the target business and the account parameter of the target account;
[0155] Based on the target limit dimension to which each limit parameter configured by the user belongs, the account object type and / or account attribute are extracted from the account parameter to obtain a first target parameter belonging to the target limit dimension, and one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency are extracted from the business parameter to obtain a second target parameter belonging to the target limit dimension;
[0156] Based on the set rule, the first target parameter and the second target parameter are concatenated to obtain a first variable;
[0157] In the case where the first variable matches the pre-stored second variable, the quota information associated with the second variable is read from the quota accumulation register, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, wherein the second variable is obtained by splicing the quota parameters configured by the user based on the set rules;
[0158] Deny or allow execution of target business for target account based on quota information.
[0159] In order to implement the above embodiment, the present invention also proposes a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the above quota-based service control method.
[0160] In order to implement the above embodiment, the present invention also proposes a computer program product, when the instruction processor in the computer program product is executed, the above-mentioned artificial intelligence-based quota-based business control method is executed.
[0161] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. 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, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0162] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0163] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0164] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0165] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0166] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0167] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0168] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A quota-based service control method, characterized in that: The following steps are involved: Receiving a service request, wherein the service request includes a plurality of data bits, and the data bits correspond one-to-one to the quota dimensions; Parsing the business request to read the data on each data bit in the business request as a parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include business parameters of the target business and account parameters of the target account; Based on the target limit dimension to which each limit parameter configured by the user belongs, extracting the account object type and / or account attribute from the account parameter to obtain a first target parameter belonging to the target limit dimension, and extracting one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency from the business parameter to obtain a second target parameter belonging to the target limit dimension; Fill each first target parameter belonging to the target limit dimension and each second target parameter belonging to the target limit dimension into a regular expression template generated based on a set rule to obtain a first variable; In the case where the first variable matches the pre-stored second variable, the quota information associated with the second variable is read from the quota accumulation register, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, wherein the second variable is obtained by splicing the quota parameters configured by the user based on the set rule; refusing or allowing execution of the target business for the target account based on the credit limit information; If the target business is allowed to be executed for the target account based on the limit information, the limit information associated with the matching second variable in the limit accumulation register is updated according to the limit occupied by the business request.
2. The method according to claim 1, characterized in that The second variable is associated with at least one limit type, wherein each limit type has corresponding limit information; and refusing or allowing execution of the target business for the target account based on the limit information includes: If the service request does not satisfy the quota information corresponding to at least one limit type, refusing to execute the target service for the target account; In the case that the service requests all meet the quota information corresponding to any limit type, the target service is allowed to be executed for the target account.
3. The method according to claim 2, characterized in that The limit type is at least one of an amount limit, a number limit, and a balance limit.
4. The method according to claim 1, characterized in that: The method further comprises at least one of the following: When the target account is opened or updated, the customized statistical period and / or the customized limit are obtained from the counter system; The global parameter configuration applicable to any account in the bank is read from the parameter platform to obtain the set statistical period and / or the set limit contained in the global parameter configuration.
5. The method according to claim 4, characterized in that When there is at least one second variable matching the first variable, the credit limit information associated with any second variable is user-defined credit limit information and / or global credit limit information; The user-defined quota information is the used quota or remaining quota calculated based on the user-defined set quota within the user-defined set statistical period; The global quota information is the used quota or remaining quota calculated based on the set limit of the global parameter configuration within the set statistical period of the global parameter configuration.
6. The method according to claim 5, characterized in that The refusing or allowing execution of the target business for the target account based on the credit limit information includes: In the case where the business request satisfies the customized quota information associated with any second variable, determining whether the business request satisfies the global quota information associated with any second variable; In the case where the business request satisfies the global quota information associated with any second variable, allowing the target business to be executed for the target account; When the business request does not satisfy the customized limit information associated with any second variable, or when the business request does not satisfy the global limit information associated with any second variable, the target business is refused to be executed for the target account.
7. A quota-based service control device, characterized in that: Includes the following modules: A receiving module, used for receiving a service request, wherein the service request includes a plurality of data bits, and the data bits correspond to the quota dimensions one by one; A parsing module, used to parse the business request, and read the data on each data bit in the business request as a parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include business parameters of the target business and account parameters of the target account; an extraction module, configured to extract the account object type and / or account attribute from the account parameter based on the target limit dimension to which each limit parameter configured by the user belongs, to obtain a first target parameter belonging to the target limit dimension, and to extract one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency from the business parameter to obtain a second target parameter belonging to the target limit dimension; A splicing module, used for filling each first target parameter belonging to the target limit dimension and each second target parameter belonging to the target limit dimension into a regular expression template generated based on a set rule to obtain a first variable; A reading module, configured to read the quota information associated with the second variable from the quota accumulation register when the first variable matches the pre-stored second variable, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, and wherein the second variable is obtained by splicing the quota parameters configured by the user based on the set rule; A control module is used to deny or allow the execution of the target business for the target account based on the quota information; if the execution of the target business for the target account is allowed based on the quota information, the quota information associated with the matching second variable in the quota accumulation register is updated according to the quota occupied by the business request.
8. A quota-based service control device, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Receiving a service request, wherein the service request includes a plurality of data bits, and the data bits correspond one-to-one to the limit dimensions; Parsing the business request to read the data on each data bit in the business request as a parameter of the corresponding limit dimension according to the correspondence between the data bit and the limit dimension, wherein the parameters include business parameters of the target business and account parameters of the target account; Based on the target limit dimension to which each limit parameter configured by the user belongs, extracting the account object type and / or account attribute from the account parameter to obtain a first target parameter belonging to the target limit dimension, and extracting one or more combinations of the transaction type, channel number, loan mark, domestic and foreign mark, and currency from the business parameter to obtain a second target parameter belonging to the target limit dimension; Fill each first target parameter belonging to the target limit dimension and each second target parameter belonging to the target limit dimension into a regular expression template generated based on a set rule to obtain a first variable; In the case where the first variable matches the pre-stored second variable, the quota information associated with the second variable is read from the quota accumulation register, wherein the quota information is the used quota or the remaining quota calculated based on the set quota within the set statistical period, wherein the second variable is obtained by splicing the quota parameters configured by the user based on the set rule; refusing or allowing execution of the target business for the target account based on the credit limit information; If the target business is allowed to be executed for the target account based on the limit information, the limit information associated with the matching second variable in the limit accumulation register is updated according to the limit occupied by the business request.
Citation Information
Patent Citations
Bank accounting entry generation method
CN110766545A
Multi-account transaction processing method and device
CN113487306A
Multi-dimensional limit control method and device for bank business transaction
CN113592628A
Data processing method and device, electronic equipment and storage medium
CN115456634A
Counting method and device, storage medium and computer equipment
CN116244353A
