CN116151981A - Transaction processing request processing method and device - Google Patents

Transaction processing request processing method and device Download PDF

Info

Publication number
CN116151981A
CN116151981A CN202310183473.9A CN202310183473A CN116151981A CN 116151981 A CN116151981 A CN 116151981A CN 202310183473 A CN202310183473 A CN 202310183473A CN 116151981 A CN116151981 A CN 116151981A
Authority
CN
China
Prior art keywords
target
record
transaction processing
code
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310183473.9A
Other languages
Chinese (zh)
Inventor
曹亚勇
姜楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310183473.9A priority Critical patent/CN116151981A/en
Publication of CN116151981A publication Critical patent/CN116151981A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a processing method and a processing device for transaction processing requests, and relates to the technical field of financial information. One embodiment of the method comprises the following steps: receiving a transaction processing request; acquiring a target account number corresponding to the transaction processing request, at least one target dimension identifier and a value of each target dimension identifier; searching an identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier, and determining a target component code corresponding to the transaction processing request; generating or modifying balance records of the target account aiming at the target component codes so as to process information of the target account through the balance records. The embodiment can expand balance components according to service requirements and is flexibly applicable to various credit card service scenes.

Description

Transaction processing request processing method and device
Technical Field
The present invention relates to the field of financial information technologies, and in particular, to a method and an apparatus for processing a transaction processing request.
Background
To facilitate credit card balance management, credit card balances are split into a plurality of fixed balance components based on specific dimensions in credit card applications. The balance components may include: the principal of current consumption, interest of current consumption, service charge of current consumption, etc. And under the same account, the sum of the balance records corresponding to all balance components is equal to the credit card balance of the account.
When the credit card transaction processing information is received, determining the balance component corresponding to the credit card transaction information from the fixed balance components, and generating a balance record corresponding to the transaction processing information based on the determined balance component. Because the balance components are fixed, the credit card balance processing scheme cannot be flexibly applied to various credit card business scenes.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method and an apparatus for processing a transaction processing request, which can expand balance components according to service requirements, and are flexibly applicable to various credit card service scenarios.
In a first aspect, an embodiment of the present invention provides a method for processing a transaction processing request, including:
receiving a transaction processing request;
acquiring a target account number corresponding to the transaction processing request, at least one target dimension identifier and a value of each target dimension identifier;
searching an identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier, and determining a target component code corresponding to the transaction processing request;
generating or modifying balance records of the target account aiming at the target component codes so as to process information of the target account through the balance records.
Optionally, the searching the identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier, and determining the target component code corresponding to the transaction processing request includes:
acquiring a current code record from the identification parameter table;
matching the transaction processing request by utilizing at least one dimension identifier corresponding to the current code record and the matching condition of each dimension identifier;
responding to the transaction processing request to be matched with the current code record, and determining the component code corresponding to the current code record as the target component code;
and responding to the fact that the transaction processing request is not matched with the current code record, continuing to acquire a next code record of the current code record from the identification parameter table until the transaction processing request is matched with the next code record, and determining a component code corresponding to the next code record as the target component code.
Optionally, the matching processing of the transaction processing request by using at least one dimension identifier corresponding to the current code record and the matching condition of each dimension identifier includes:
Determining at least one dimension identifier corresponding to the current code record;
for each dimension identification, acquiring a matching condition of the dimension identification from the current code record; determining a target value of the transaction processing request corresponding to the dimension identification; determining that the transaction processing request meets the matching condition of the dimension identification in response to the target value meeting the matching condition;
and determining that the transaction processing request is matched with the current code record in response to the transaction processing request meeting the matching condition of all dimension identifiers corresponding to the current code record.
Optionally, before searching the identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier and determining the target component code corresponding to the transaction processing request, the method further includes:
receiving a component configuration request;
acquiring a component code corresponding to the component configuration request, at least one dimension identifier and a matching condition of each dimension identifier;
generating a component code record corresponding to the component code according to the at least one dimension identifier and the matching condition of each dimension identifier;
And inserting the component code record into the identification parameter table.
Optionally, the method further comprises:
receiving a component modification request;
acquiring a component code, a dimension identifier and a modification condition of the dimension identifier corresponding to the component modification request;
acquiring a component code record corresponding to the component code from the identification parameter table;
and replacing the matching condition corresponding to the dimension identification in the component code record with the modification condition.
Optionally, the method further comprises:
receiving a component deletion request;
acquiring a component code corresponding to the component deleting request;
and deleting the component code record corresponding to the component code from the identification parameter table.
Optionally, the generating or modifying the balance record of the target account for the target component code includes:
determining a processing period corresponding to the transaction processing request;
determining whether there is a balance record for the target component code for the target account, the balance record corresponding to the processing period;
generating and saving a balance record of the target account for the target component code according to the transaction processing request in response to the balance record not being present;
In response to the balance record being present, updating a balance record of the target account for the target component code in accordance with the transaction processing request.
Optionally, the generating or modifying the balance record of the target account for the target component code includes:
acquiring transaction processing information corresponding to the target component codes;
and generating or modifying balance records of the target account aiming at the target component codes according to the transaction processing information so as to process the information of the target account through the balance records.
In a second aspect, an embodiment of the present invention provides a processing apparatus for processing a transaction processing request, including:
the request receiving module is used for receiving a transaction processing request;
the information acquisition module is used for acquiring a target account number corresponding to the transaction processing request, at least one target dimension identifier and the value of each target dimension identifier;
the code determining module is used for searching an identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier and determining a target component code corresponding to the transaction processing request;
and the record generation module is used for generating or modifying the balance record of the target account aiming at the target component code so as to process information on the target account through the balance record.
Optionally, the code determining module is specifically configured to:
acquiring a current code record from the identification parameter table;
matching the transaction processing request by utilizing at least one dimension identifier corresponding to the current code record and the matching condition of each dimension identifier;
responding to the transaction processing request to be matched with the current code record, and determining the component code corresponding to the current code record as the target component code;
and responding to the fact that the transaction processing request is not matched with the current code record, continuing to acquire a next code record of the current code record from the identification parameter table until the transaction processing request is matched with the next code record, and determining a component code corresponding to the next code record as the target component code.
Optionally, the code determining module is specifically configured to:
determining at least one dimension identifier corresponding to the current code record;
for each dimension identification, acquiring a matching condition of the dimension identification from the current code record; determining a target value of the transaction processing request corresponding to the dimension identification; determining that the transaction processing request meets the matching condition of the dimension identification in response to the target value meeting the matching condition;
And determining that the transaction processing request is matched with the current code record in response to the transaction processing request meeting the matching condition of all dimension identifiers corresponding to the current code record.
Optionally, the method further comprises:
a code configuration module for receiving a component configuration request;
acquiring a component code corresponding to the component configuration request, at least one dimension identifier and a matching condition of each dimension identifier;
generating a component code record corresponding to the component code according to the at least one dimension identifier and the matching condition of each dimension identifier;
and inserting the component code record into the identification parameter table.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the methods of any of the embodiments described above.
In a fourth aspect, embodiments of the present invention provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the above embodiments.
In a fifth aspect, embodiments of the present invention provide a computer program product comprising a computer program which, when executed by a processor, implements a method as described in any of the above embodiments.
One embodiment of the above invention has the following advantages or benefits: when a transaction processing request is received, determining a target component code corresponding to the transaction processing request from the identification parameter table according to a target account number corresponding to the transaction processing request, at least one target dimension identifier and the value of each target dimension identifier, and generating or modifying a balance record of the target account for the target component code so as to process information on the target account number through the balance record. The identification parameter table is used for storing the dimension identification corresponding to each balance component code and the matching condition of the dimension identification. Balance component information may be extended or modified in the identification parameter table according to credit card service requirements. When a transaction occurs, component codes are dynamically determined according to the identification parameter table, and balance records are created, so that the method can be flexibly applied to various credit card business scenes.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow chart of a transaction processing request processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a configuration method of an identification parameter table according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a method for processing a transaction processing request according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a transaction processing request processing device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the technical scheme of the invention, the aspects of acquisition, analysis, use, transmission, storage and the like of the related user personal information all meet the requirements of related laws and regulations, are used for legal and reasonable purposes, are not shared, leaked or sold outside the aspects of legal use and the like, and are subjected to supervision and management of a supervision department. Necessary measures should be taken for the personal information of the user to prevent illegal access to such personal information data, ensure that personnel having access to the personal information data comply with the regulations of the relevant laws and regulations, and ensure the personal information of the user. Once these user personal information data are no longer needed, the risk should be minimized by limiting or even prohibiting the data collection and/or deletion.
If the balance components are fixed, the problems that the service cannot be expanded, the service is not flexible and the like can occur. Assume that there are business scenarios in which two consumption transactions occur during a credit card period of 9 months 16 days to 10 months 15 days. Consumption transaction 1: the amount is 100, the interest is normally calculated at 9 months and 20 days, and the annual interest rate is 18%; consumption transaction 2: the amount of the money is 200, and the money is generated on 1 day of 10 months, so that the interest is avoided during the national celebration period, and the annual interest rate is 0%. Because the balance components are fixed, the balance components of the two transactions corresponding to the current consumption principal are mixed, namely the balance records of the two transactions cannot be used for calculating interest according to different interest rates.
Based on the analysis, the embodiment of the invention provides a processing method of a transaction processing request, which can be suitable for the service scene. Fig. 1 is a flow chart of a processing method of a transaction processing request according to a first embodiment of the present invention, as shown in fig. 1, the method includes:
step 101: a transaction processing request is received.
When the target account generates a credit card transaction, the terminal can send a transaction processing request to the server side. The transaction processing request is used to convert the credit card transaction into a balance record. The realization of functions such as summarizing and settling of the credit card system is facilitated through balance record. Under the target account, the sum of the amounts in all balance records in the settlement period is equal to the credit card balance of the target account in the settlement period.
Step 102: and obtaining a target account number corresponding to the transaction processing request, at least one target dimension identifier and the value of each target dimension identifier.
And a plurality of dimensions and dimension identifications of the dimensions can be set according to service requirements. The dimensions may include: transaction code, currency, merchant category, transaction area, transaction time, etc.
For the above-described consumer transaction 1 and consumer transaction 2. The value of the consumption transaction 1 in the currency dimension is RMB, and the value of the consumption transaction 1 in the transaction time dimension is 9 months and 20 days. The value of the consumption transaction 2 in the currency dimension is RMB, and the value in the transaction time dimension is 10 months and 1 day. It can be seen that the two transactions described above can be associated with different balance components through the transaction time dimension.
Step 103: and searching an identification parameter table according to at least one target dimension identifier and the value of each target dimension identifier, and determining a target component code corresponding to the transaction processing request.
The identification parameter table is used for storing relevant information of each balance component. The transaction identification parameter table may be configured based on a variety of dimensions, such as: transaction codes, currencies, merchant categories, transaction areas, transaction times, etc., and support expansion of the number of dimensions. The identification parameter table may include a plurality of component code records of balance components. The component code record includes: component codes, matching conditions for each dimension corresponding to the component codes, and the like. The matching conditions may be: enumerating values, value ranges, etc. And if the value of the dimension is within the enumerated value or the value range, considering that the value of the dimension meets the matching condition.
The identification parameter table may be composed of codes and columns for each dimension. One record in the identification parameter table is a component code record. If the matching condition for a certain dimension in the component code record is null, then the dimension does not have a matching condition. This dimension need not be considered when matching a transaction processing request.
The balance component codes can be dynamically added by identifying the parameter table, so that the limit of fixed balance component numbers in the traditional scheme is broken. When the credit card service requirement changes, the corresponding component code records can be newly added, modified or deleted in the identification parameter table so as to flexibly match the changed service requirement.
In one embodiment of the present invention, searching an identification parameter table according to at least one target dimension identifier and the value of each target dimension identifier, and determining a target component code corresponding to a transaction processing request includes: acquiring a current code record from the identification parameter table; matching the transaction processing request by utilizing at least one dimension identifier corresponding to the current code record and the matching condition of each dimension identifier; responding to the transaction processing request and matching with the current code record, and determining the component code corresponding to the current code record as a target component code; and responding to the fact that the transaction processing request is not matched with the current code record, continuing to acquire the next code record of the current code record from the identification parameter table until the transaction processing request is matched with the next code record, and determining the component code corresponding to the next code record as the target component code.
And if the transaction processing request is matched with the current code record, determining the component code corresponding to the current code record as the target component code. If the transaction processing request does not match the current code record, continuing to acquire the next code record of the current code record from the identification parameter table, determining the next code record as a new current code record, and determining that the transaction processing request matches the current code record until the transaction processing request matches the current code record.
And continuously acquiring the code record from the identification parameter table until the transaction processing request is matched with the code record, and determining the component code corresponding to the code record as the target component code.
The transaction processing request may be matched as follows: determining at least one dimension identifier corresponding to the current code record; aiming at each dimension identification, obtaining a matching condition of the dimension identification from the current code record; determining a target value of the transaction processing request corresponding to the dimension identification; determining that the transaction processing request meets the matching condition of the dimension identification in response to the target value meeting the matching condition; and determining that the transaction processing request is matched with the current code record in response to the transaction processing request meeting the matching conditions of all dimension identifications corresponding to the current code record.
Through the method, the value of each target dimension of the transaction processing request is matched with the matching condition of each dimension identifier in the current code record. If the transaction processing request meets the matching conditions of all dimension identifications corresponding to the current code record, determining that the transaction processing request is matched with the current code record, and determining the component code corresponding to the current code record as the target component code.
Step 104: generating or modifying balance records of the target account aiming at the target component codes so as to process information of the target account through the balance records.
The information processing may include: and carrying out statistics processing on the relevant funds of the target account, carrying out risk analysis processing on the target account and the like. Statistical processing of the funds associated with the target account may include: the method comprises the steps of current consumption principal summarization, current consumption interest summarization, current consumption parasitic charge summarization and the like.
The balance layer is added below the traditional account layer, and the account and the balance layer are in one-to-many relation. Setting a plurality of balance layers under the target account, including: balance layer 1, balance layer 2 … …. Different balance layers correspond to different settlement periods. The same balance layer comprises: balance record of balance component 1, balance record … … of balance component 2.
When the balance record is newly established, the balance record is not newly established, and the balance record is dynamically newly added when the transaction of the target account is checked in, and can be deleted as required after the balance record amount is reduced to 0.
When the transaction occurs, the balance component code corresponding to the transaction can be matched through the transaction identification parameter table based on the transaction code, currency, merchant category, transaction area, transaction time and other information contained in the transaction information.
And creating or updating the corresponding balance record amount according to the identified balance component codes. If the balance record of the corresponding balance component code exists, the record is updated, otherwise, the balance record is newly built.
In one embodiment of the invention, generating or modifying a balance record for a target account for a target component code includes: acquiring transaction processing information corresponding to the target component codes; and generating or modifying balance records of the target account aiming at the target component codes according to the transaction processing information so as to process the information of the target account through the balance records.
The identification parameter table may further include: transaction processing information such as interest rate and rate. Pricing information such as interest rate, rate and the like can be associated through balance component codes, so that flexible development of credit card business is supported through parameterized configuration.
In the embodiment of the invention, when the transaction processing request is received, the target component code corresponding to the transaction processing request is determined from the identification parameter table according to the target account number corresponding to the transaction processing request, at least one target dimension identifier and the value of each target dimension identifier, and the balance record of the target account for the target component code is generated or modified, so that the method and the device can be flexibly applied to various credit card business scenes.
Fig. 2 is a flowchart of a configuration method of an identification parameter table according to a second embodiment of the present invention, as shown in fig. 2, the method includes:
step 201: a component configuration request is received.
Step 202: and acquiring the component code corresponding to the component configuration request, at least one dimension identifier and a matching condition of each dimension identifier.
The user may perform configuration operations in a component configuration interface provided by the system. The system acquires a plurality of alternative dimensions, displays each alternative dimension in the component configuration interface, and a user can select a configuration dimension from the alternative dimensions and input a matching condition of the configuration dimension. And the system generates a dimension identifier corresponding to the component configuration request and a matching condition of the dimension identifier according to the configuration dimension and the matching condition of the configuration dimension.
Step 203: and generating a component code record corresponding to the component code according to at least one dimension identifier and the matching condition of each dimension identifier.
Step 204: the component codes are recorded and inserted into the identification parameter table.
If the original code record corresponding to the component code is already contained in the identification parameter table, the original code record is replaced by the component code record. If the identification parameter table does not contain the original code record corresponding to the component code, the component code record is directly inserted into the identification parameter table.
The identification parameter table may also be modified by: receiving a component modification request; acquiring a component code, a dimension identifier and a modification condition of the dimension identifier corresponding to the component modification request; acquiring a component code record corresponding to the component code from the identification parameter table; and replacing the matching condition corresponding to the dimension identification in the component code record with the modification condition.
The component configuration request can comprise component codes, the system queries a component code record corresponding to the component codes in the identification parameter table, and displays each dimension identification and corresponding matching condition in the component code record in the interface. The user executes editing operation through the interface, and the system determines the dimension identification and the matching condition corresponding to the editing operation as the dimension identification and the modification condition of the dimension identification corresponding to the component modification request. And the system modifies the component code records in the identification parameter table according to the dimension identification corresponding to the component modification request and the modification condition of the dimension identification.
The component code records in the identification parameter table may also be deleted by: receiving a component deletion request; acquiring a component code corresponding to the component deleting request; and deleting the component code record corresponding to the component code from the identification parameter table.
The user can directly input the component codes or input the balance components, the system determines the component codes corresponding to the balance components, and the deleting operation is executed. If the service demand changes, a balance component is not needed to be used any more, and the component code record corresponding to the balance component can be deleted from the identification parameter table by utilizing the method.
In the embodiment of the invention, the balance components are flexibly expanded through the configuration, modification and deletion methods of the identification parameter table. Based on the related information in the transaction, the balance component codes are identified through the identification parameter table, the transaction identification parameters support multidimensional flexible configuration, and the balance component codes also support parameterized configuration.
Fig. 3 is a flow chart of a processing method of a transaction processing request according to a third embodiment of the present invention, as shown in fig. 3, the method includes:
step 301: a transaction processing request is received.
Step 302: and obtaining a target account number corresponding to the transaction processing request, at least one target dimension identifier and the value of each target dimension identifier.
Step 303: and searching an identification parameter table according to at least one target dimension identifier and the value of each target dimension identifier, and determining a target component code corresponding to the transaction processing request.
Step 304: and determining a processing period corresponding to the transaction processing request.
The credit card performs statistical settlement with the processing period as a period. The processing period can be set according to the requirements. The treatment period may be one week, one month, one year, etc. The balance record may include: account information, processing period, component codes, dimension information, amount information, and the like.
Step 305: it is determined whether there is a balance record for the target component code for the target account, the balance record corresponding to the processing period.
If no balance record exists in the system, step 306 is performed. If the system has a balance record, step 307 is performed.
Step 306: and generating and storing balance records of the target account aiming at the target component codes according to the transaction processing request.
Step 307: and updating the balance record of the target account aiming at the target component code according to the transaction processing request.
In the embodiment of the invention, the balance record is dynamically created, the balance record is newly created when a transaction occurs, and the balance record amount can be deleted as required after being updated to 0. In addition, according to the identified balance component codes, the corresponding balance record amount is newly built or updated. If the balance record of the corresponding balance component code exists, updating the balance record, otherwise, creating the balance record.
Fig. 4 is a schematic structural diagram of a processing device for transaction processing request according to an embodiment of the present invention, as shown in fig. 4, the device includes:
a request receiving module 401, configured to receive a transaction processing request;
the information obtaining module 402 is configured to obtain a target account number corresponding to the transaction processing request, at least one target dimension identifier, and a value of each target dimension identifier;
the code determining module 403 is configured to search the identification parameter table according to at least one target dimension identifier and the value of each target dimension identifier, and determine a target component code corresponding to the transaction processing request;
the record generating module 404 is configured to generate or modify a balance record of the target account for the target component code, so as to perform information processing on the target account through the balance record.
Optionally, the code determining module 403 is specifically configured to:
acquiring a current code record from the identification parameter table;
matching the transaction processing request by utilizing at least one dimension identifier corresponding to the current code record and the matching condition of each dimension identifier;
responding to the transaction processing request and matching with the current code record, and determining the component code corresponding to the current code record as a target component code;
And responding to the fact that the transaction processing request is not matched with the current code record, continuing to acquire the next code record of the current code record from the identification parameter table until the transaction processing request is matched with the next code record, and determining the component code corresponding to the next code record as the target component code.
Optionally, the code determining module 403 is specifically configured to:
determining at least one dimension identifier corresponding to the current code record;
aiming at each dimension identification, obtaining a matching condition of the dimension identification from the current code record; determining a target value of the transaction processing request corresponding to the dimension identification; determining that the transaction processing request meets the matching condition of the dimension identification in response to the target value meeting the matching condition;
and determining that the transaction processing request is matched with the current code record in response to the transaction processing request meeting the matching conditions of all dimension identifications corresponding to the current code record.
Optionally, the method further comprises:
a code configuration module 405 for receiving a component configuration request;
acquiring a component code corresponding to the component configuration request, at least one dimension identifier and a matching condition of each dimension identifier;
generating a component code record corresponding to the component code according to at least one dimension identifier and the matching condition of each dimension identifier;
The component codes are recorded and inserted into the identification parameter table.
Optionally, the method further comprises:
a code modification module 406 for receiving the component modification request;
acquiring a component code, a dimension identifier and a modification condition of the dimension identifier corresponding to the component modification request;
acquiring a component code record corresponding to the component code from the identification parameter table;
and replacing the matching condition corresponding to the dimension identification in the component code record with the modification condition.
Optionally, the method further comprises:
a code deletion module 407 for receiving a component deletion request;
acquiring a component code corresponding to the component deleting request;
and deleting the component code record corresponding to the component code from the identification parameter table.
Optionally, the record generating module 404 is specifically configured to:
determining a processing period corresponding to the transaction processing request;
determining whether a balance record of the target account for the target component code exists, the balance record corresponding to a processing period;
generating and storing balance records of the target account aiming at the target component codes according to the transaction processing request in response to the absence of the balance records;
in response to the existence of the balance record, the balance record of the target account for the target component code is updated in accordance with the transaction processing request.
Optionally, the record generating module 404 is specifically configured to:
acquiring transaction processing information corresponding to the target component codes;
and generating or modifying balance records of the target account aiming at the target component codes according to the transaction processing information so as to process the information of the target account through the balance records.
The embodiment of the invention provides electronic equipment, which comprises:
one or more processors;
storage means for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the methods of any of the embodiments described above.
The embodiment of the invention provides a computer program product, which comprises a computer program, wherein the computer program realizes the enterprise risk assessment method in the embodiment of the invention when being executed by a processor.
Referring now to FIG. 5, there is illustrated a schematic diagram of a computer system 500 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 501.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: the system comprises a request receiving module, an information acquisition module, a code determining module and a record generating module. The names of these modules do not constitute a limitation on the module itself in some cases, and for example, the request receiving module may also be described as "a module that receives a transaction processing request".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include:
receiving a transaction processing request;
acquiring a target account number corresponding to the transaction processing request, at least one target dimension identifier and a value of each target dimension identifier;
searching an identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier, and determining a target component code corresponding to the transaction processing request;
generating or modifying balance records of the target account aiming at the target component codes so as to process information of the target account through the balance records.
According to the technical scheme of the embodiment of the invention, when a transaction processing request is received, a target component code corresponding to the transaction processing request is determined from the identification parameter table according to the target account number corresponding to the transaction processing request, at least one target dimension identifier and the value of each target dimension identifier, and a balance record of the target account for the target component code is generated or modified so as to process information on the target account number through the balance record. The identification parameter table is used for storing the dimension identification corresponding to each balance component code and the matching condition of the dimension identification. Balance component information can be flexibly expanded or modified in the identification parameter table according to credit card service requirements. Therefore, the scheme of the embodiment of the invention can be flexibly applied to various credit card business scenes.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (15)

1. A method of processing a transaction processing request, comprising:
receiving a transaction processing request;
acquiring a target account number corresponding to the transaction processing request, at least one target dimension identifier and a value of each target dimension identifier;
searching an identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier, and determining a target component code corresponding to the transaction processing request;
generating or modifying balance records of the target account aiming at the target component codes so as to process information of the target account through the balance records.
2. The method according to claim 1, wherein the searching the identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier, and determining the target component code corresponding to the transaction processing request includes:
Acquiring a current code record from the identification parameter table;
matching the transaction processing request by utilizing at least one dimension identifier corresponding to the current code record and the matching condition of each dimension identifier;
responding to the transaction processing request to be matched with the current code record, and determining the component code corresponding to the current code record as the target component code;
and responding to the fact that the transaction processing request is not matched with the current code record, continuing to acquire a next code record of the current code record from the identification parameter table until the transaction processing request is matched with the next code record, and determining a component code corresponding to the next code record as the target component code.
3. The method according to claim 2, wherein said matching the transaction request using at least one dimension identifier corresponding to the current code record and a matching condition of each dimension identifier includes:
determining at least one dimension identifier corresponding to the current code record;
for each dimension identification, acquiring a matching condition of the dimension identification from the current code record; determining a target value of the transaction processing request corresponding to the dimension identification; determining that the transaction processing request meets the matching condition of the dimension identification in response to the target value meeting the matching condition;
And determining that the transaction processing request is matched with the current code record in response to the transaction processing request meeting the matching condition of all dimension identifiers corresponding to the current code record.
4. The method of claim 1, wherein the searching the identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier, before determining the target component code corresponding to the transaction processing request, further comprises:
receiving a component configuration request;
acquiring a component code corresponding to the component configuration request, at least one dimension identifier and a matching condition of each dimension identifier;
generating a component code record corresponding to the component code according to the at least one dimension identifier and the matching condition of each dimension identifier;
and inserting the component code record into the identification parameter table.
5. The method as recited in claim 1, further comprising:
receiving a component modification request;
acquiring a component code, a dimension identifier and a modification condition of the dimension identifier corresponding to the component modification request;
acquiring a component code record corresponding to the component code from the identification parameter table;
And replacing the matching condition corresponding to the dimension identification in the component code record with the modification condition.
6. The method as recited in claim 1, further comprising:
receiving a component deletion request;
acquiring a component code corresponding to the component deleting request;
and deleting the component code record corresponding to the component code from the identification parameter table.
7. The method of claim 1, wherein the generating or modifying a balance record of the target account for the target component code comprises:
determining a processing period corresponding to the transaction processing request;
determining whether there is a balance record for the target component code for the target account, the balance record corresponding to the processing period;
generating and saving a balance record of the target account for the target component code according to the transaction processing request in response to the balance record not being present;
in response to the balance record being present, updating a balance record of the target account for the target component code in accordance with the transaction processing request.
8. The method of claim 1, wherein the generating or modifying a balance record of the target account for the target component code comprises:
Acquiring transaction processing information corresponding to the target component codes;
and generating or modifying balance records of the target account aiming at the target component codes according to the transaction processing information so as to process the information of the target account through the balance records.
9. A transaction processing request processing device, comprising:
the request receiving module is used for receiving a transaction processing request;
the information acquisition module is used for acquiring a target account number corresponding to the transaction processing request, at least one target dimension identifier and the value of each target dimension identifier;
the code determining module is used for searching an identification parameter table according to the at least one target dimension identifier and the value of each target dimension identifier and determining a target component code corresponding to the transaction processing request;
and the record generation module is used for generating or modifying the balance record of the target account aiming at the target component code so as to process information on the target account through the balance record.
10. The apparatus of claim 9, wherein the code determination module is specifically configured to:
acquiring a current code record from the identification parameter table;
Matching the transaction processing request by utilizing at least one dimension identifier corresponding to the current code record and the matching condition of each dimension identifier;
responding to the transaction processing request to be matched with the current code record, and determining the component code corresponding to the current code record as the target component code;
and responding to the fact that the transaction processing request is not matched with the current code record, continuing to acquire a next code record of the current code record from the identification parameter table until the transaction processing request is matched with the next code record, and determining a component code corresponding to the next code record as the target component code.
11. The apparatus of claim 10, wherein the code determination module is specifically configured to:
determining at least one dimension identifier corresponding to the current code record;
for each dimension identification, acquiring a matching condition of the dimension identification from the current code record; determining a target value of the transaction processing request corresponding to the dimension identification; determining that the transaction processing request meets the matching condition of the dimension identification in response to the target value meeting the matching condition;
And determining that the transaction processing request is matched with the current code record in response to the transaction processing request meeting the matching condition of all dimension identifiers corresponding to the current code record.
12. The apparatus as recited in claim 9, further comprising:
a code configuration module for receiving a component configuration request;
acquiring a component code corresponding to the component configuration request, at least one dimension identifier and a matching condition of each dimension identifier;
generating a component code record corresponding to the component code according to the at least one dimension identifier and the matching condition of each dimension identifier;
and inserting the component code record into the identification parameter table.
13. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-8.
14. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-8.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-8.
CN202310183473.9A 2023-03-01 2023-03-01 Transaction processing request processing method and device Pending CN116151981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310183473.9A CN116151981A (en) 2023-03-01 2023-03-01 Transaction processing request processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310183473.9A CN116151981A (en) 2023-03-01 2023-03-01 Transaction processing request processing method and device

Publications (1)

Publication Number Publication Date
CN116151981A true CN116151981A (en) 2023-05-23

Family

ID=86340628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310183473.9A Pending CN116151981A (en) 2023-03-01 2023-03-01 Transaction processing request processing method and device

Country Status (1)

Country Link
CN (1) CN116151981A (en)

Similar Documents

Publication Publication Date Title
CN109670943B (en) Settlement system, settlement method, computer equipment and storage medium
CN113205402A (en) Account checking method and device, electronic equipment and computer readable medium
CN111813804A (en) Data query method and device, electronic equipment and storage medium
CN113420057A (en) Account checking data processing method and related device
CN110879808B (en) Information processing method and device
CN112258306B (en) Account information checking method, device, electronic equipment and storage medium
CN112991029A (en) Account checking method and device
CN112905677A (en) Data processing method and device, service processing system and computer equipment
CN115391343A (en) Bill data processing method and device, electronic equipment and storage medium
CN116151981A (en) Transaction processing request processing method and device
CN114721943A (en) Method and device for determining test range
US20170148098A1 (en) Data creating, sourcing, and agregating real estate tool
CN114239519A (en) Credit investigation data processing method and device, electronic equipment and computer readable medium
CN109634868B (en) Processing method and device for automatic test result of financial data analysis system
CN112579468A (en) Method and device for testing service system
CN113704222A (en) Method and device for processing service request
CN114997977B (en) Data processing method, device, electronic equipment and computer readable medium
CN111429264A (en) Combined account checking method and device for distributed system
CN114513558B (en) User request processing method and device
CN116128668B (en) Method, system and computer storage medium for matching bank certificate subjects
CN112446783B (en) Method and device for displaying transaction data
CN115099918A (en) Tax data processing method and device
CN112862614A (en) Method and device for determining transaction sequence of account details
CN114840569A (en) Securities trade profit and loss processing method, apparatus, device and medium
CN114358898A (en) Accounting data processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination