CN113590640B - Method and device for solving cross-platform and cross-day financial balance of banking business - Google Patents

Method and device for solving cross-platform and cross-day financial balance of banking business Download PDF

Info

Publication number
CN113590640B
CN113590640B CN202110873393.7A CN202110873393A CN113590640B CN 113590640 B CN113590640 B CN 113590640B CN 202110873393 A CN202110873393 A CN 202110873393A CN 113590640 B CN113590640 B CN 113590640B
Authority
CN
China
Prior art keywords
cross
day
platform
transaction
balance
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.)
Active
Application number
CN202110873393.7A
Other languages
Chinese (zh)
Other versions
CN113590640A (en
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110873393.7A priority Critical patent/CN113590640B/en
Publication of CN113590640A publication Critical patent/CN113590640A/en
Application granted granted Critical
Publication of CN113590640B publication Critical patent/CN113590640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • 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/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

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

Abstract

The invention discloses a method and a device for solving cross-platform and cross-day financial balance of banking business, which can be used in the financial field or other technical fields, and the method comprises the following steps: acquiring transaction uploading information of a platform server cluster in a preset triggering time period, wherein the triggering time period is within N minutes after each day cutting; if the accounting balance mode identifier in the transaction uploading information is an accounting strong consistency identifier, processing the corresponding individual user of the business transaction according to a preset cross-platform and cross-day individual user updating rule, processing the log of the business transaction according to a preset cross-platform and cross-daily log updating rule; after the processing is completed, the host server is invoked to process the credit accounting for the business transaction. The invention solves the problem of cross-platform and cross-day financial balance of banking business.

Description

Method and device for solving cross-platform and cross-day financial balance of banking business
Technical Field
The invention relates to the technical field of financial data processing, in particular to a method and a device for solving the problem of cross-platform and cross-day financial balance of banking business.
Background
With the increasing autonomous and controllable requirements of the country on the financial industry, the distributed technology system advances deeply in banks, the account core application is migrated from the host to the development platform, the business which is processed by the host in a centralized way is changed into a mode in which the host and the platform are processed in a decentralized way, and the system processing mode is changed along with the requirement that the host and the platform are processed in a decentralized way, including: 1. the day cut pattern changes. The original date cutting is concentrated on the host, and after the host is downloaded, each platform application performs independent date cutting, and even if a unified date cutting processing mechanism exists, 100% synchronization of date cutting time cannot be achieved. 2. Account system changes. The original account processing is concentrated on the migration of the host to the platform distribution deployment. 3. Billing mode changes. The original billing is unified in the host, the borrower and the lender which are changed into billing belong to different application processes, and due to the heterogeneous system relationship, the inconsistent date of processing the lender and the lender of the same transaction can occur.
For the reasons stated above, a lender cross-day situation may occur for a transaction processed across the system. According to bank accounting principles, uneven lending and lending phenomena, namely unbalanced calculation, are generated in accounting subjects, account balances and occurrence amounts. In order to meet the balance requirement of the accounting trial calculation, after the phenomenon occurs, manual tracing and manual account adjustment processing are needed, so that the accuracy of the accounting processing cannot be automatically detected, the popularization and application of a new technical system are greatly influenced, a large amount of unnecessary work is added to business personnel, and further accounting errors are possibly caused, and an avalanche phenomenon is caused. How to solve the problem that the banking business cross-platform and cross-day account balance is an important difficulty for development and operation maintenance personnel.
Disclosure of Invention
The invention provides a method and a device for solving the technical problem in the background art, and the method and the device are used for solving the problem of cross-platform and cross-daily account balance of banking business.
In order to achieve the above object, according to one aspect of the present invention, there is provided a method for solving cross-platform and cross-day accounting balance of banking, the method comprising:
the method comprises the steps that transaction uploading information of a platform server cluster is obtained in a preset triggering time period, wherein the triggering time period is N minutes after each day is cut, the platform server cluster generates transaction uploading information of a business transaction after debit accounting processing of the business transaction is completed, and the transaction uploading information comprises: the account balance mode identification corresponding to the business transaction is an account strong consistency identification or an account non-strong consistency identification;
if the accounting balance mode identifier in the transaction uploading information is an accounting strong consistency identifier, processing the corresponding individual user of the business transaction according to a preset cross-platform and cross-day individual user updating rule, processing the log of the business transaction according to a preset cross-platform and cross-daily log updating rule; the cross-platform and cross-day household updating rule comprises the following steps: if the current day is T and the business transaction occurs on the day T-1, updating the last day balance of the individual household, and if the last updating day of the individual household is less than or equal to the day T-1, updating the last updating day of the individual household; the cross-platform and cross-daily log updating rule comprises the following steps: inserting a log corresponding to the business transaction into a log surface of the T-1 day;
after the processing is completed, the host server is invoked to process the credit accounting for the business transaction.
Optionally, the method for solving the problem of cross-platform and cross-day financial balance of banking business further comprises the following steps:
and if the accounting balance mode identifier in the transaction uploading information is the accounting non-strong consistency identifier, directly calling a host server to process the credit accounting of the business transaction.
Optionally, before the calling host server processes the credit accounting of the business transaction, the method further comprises:
processing the details of the business transaction according to a preset cross-platform cross-day detail updating rule, wherein the cross-platform cross-day detail updating rule comprises the following steps: the detail of the working date corresponding to the business transaction is added as T-1 day.
Optionally, the method for solving the problem of cross-platform and cross-day financial balance of banking business further comprises the following steps:
and summarizing the accounting data of the platform server cluster and the host server, and performing final trial balance.
Optionally, the cross-platform and cross-day household updating rule further includes: and updating the balance of the individual users.
To achieve the above object, according to another aspect of the present invention, there is provided an apparatus for solving cross-platform and cross-daily accounting balance of banking, the apparatus comprising:
the transaction uploading information acquisition module is configured to acquire transaction uploading information of the platform server cluster in a preset trigger time period, where the trigger time period is N minutes after each day of cutting, and the platform server cluster generates transaction uploading information of a business transaction after completing debit accounting processing of the business transaction, and the transaction uploading information includes: the account balance mode identification corresponding to the business transaction is an account strong consistency identification or an account non-strong consistency identification;
the cross-platform and cross-day processing module is used for processing the corresponding household of the business transaction according to a preset cross-platform and cross-day household updating rule and processing the log of the business transaction according to the preset cross-platform and cross-day daily log updating rule if the accounting balance mode identifier in the transaction uploading information is the accounting strong consistency identifier; the cross-platform and cross-day household updating rule comprises the following steps: if the current day is T and the business transaction occurs on the day T-1, updating the last day balance of the individual household, and if the last updating day of the individual household is less than or equal to the day T-1, updating the last updating day of the individual household; the cross-platform and cross-daily log updating rule comprises the following steps: inserting a log corresponding to the business transaction into a log surface of the T-1 day;
and the host calling module is used for calling the host server to process the credit accounting of the business transaction after the processing is completed.
To achieve the above object, according to another aspect of the present invention, there is also provided a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method for solving the cross-platform and cross-daily accounting balance of banking when executing the computer program.
To achieve the above object, according to another aspect of the present invention, there is also provided a computer readable storage medium storing a computer program which, when executed in a computer processor, implements the steps in the above method for solving the cross-platform and cross-day financial balance of banking.
The beneficial effects of the invention are as follows:
the invention provides a cross-platform and cross-day accounting balance mechanism between systems, so that accounting is balanced, manual processing by service personnel is not needed, system processing pressure is reduced, and manual processing pressure is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a flow chart of a method of resolving cross-platform and cross-day financial balance for banking in accordance with an embodiment of the present invention;
FIG. 2 is an application scenario diagram of the method of the present invention;
FIG. 3 is a schematic diagram of a platform server cluster according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a host server according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a cross-platform cross-daily accounting balance triggering device according to an embodiment of the present invention;
FIG. 6 is a block diagram of an apparatus for resolving cross-platform and cross-day financial balance for banking in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
The invention provides a method for solving the problem of cross-platform and cross-day financial balance of banking business, which is characterized in that a cross-platform and cross-day financial balance triggering device is added, a unified processing mode of the cross-platform and cross-day financial balance is established, flexible configuration is supported, expansion is convenient, a cross-platform and cross-day financial balance mechanism between systems is flexibly customized from a business scene, so that subjects and financial balances are realized, manual processing of business personnel is not needed, system processing pressure is reduced, and manual processing pressure is reduced.
Fig. 2 is an application scenario diagram of the method of the present invention, and as shown in fig. 2, the application scenario of the present invention includes: platform server cluster 1, host computer server 2, cross-platform cross-daily account balance trigger device 3 and accounting center 4. The platform server cluster 1 is responsible for processing the business under the normal condition, the host server 2 is a main data processing center, the cross-platform cross-daily accounting balance triggering device 3 is responsible for cross-daily accounting balance processing between the platform server cluster 1 and the host server 2, and the accounting center 4 is responsible for summarizing the trial balance of accounts generated by the platform server cluster 1 and the host server 2.
The platform server cluster 1 is responsible for processing daily transaction services, and if necessary, an interface in the host server 2 is called for service processing. As shown in fig. 3, the platform server cluster 1 includes a data routing module 11, a service processing module 12, a cache module 13, and a data storage module 14.
The data routing module 11 is internally provided with a data routing rule, and is a server cluster, so that when data enters the cluster, the data can enter a corresponding set for processing according to the routing rule.
The service processing module 12 processes the service according to the code logic or calls the host API interface to process the data.
The buffer module 13 is responsible for storing some data which are accessed more frequently, and can improve the processing efficiency of the service.
The data storage module 14 is a database, typically an open source database such as MYSQL.
The host server 2 is responsible for providing a core transaction interface and storing and processing data. As shown in fig. 4, the host server 2 includes a host API interface providing module 21, a service processing module 22, and a data storage module 23.
The host API interface providing module 21, because part of the core accounts are stored in the host, sometimes needs to call the host interface to update the accounts, and the API interface in the module is provided for the open platform server cluster 1 to use.
The service processing module 22 processes the service according to the code logic.
The data storage module 23 is a database, typically a DB2 database.
The cross-platform and cross-day accounting balance triggering device 3 is responsible for cross-day accounting balance between the platform server cluster 1 and the host server 2 and can be completed in the form of service call or KAFKA message queues. As shown in fig. 5, the cross-platform and cross-day accounting balance triggering device 3 specifically includes: an accounting balance engine module 31, a household processing module 32, a log processing module 33 and a detail processing module 34.
The accounting balance engine module 31 is provided with configuration information such as a cross-day accounting balance mode rule, trigger enabling time period and the like.
The household processing module 32 is internally provided with a cross-platform and cross-day household updating rule:
balance of: normal updating;
day-to-day balance: the need for simultaneous updating;
last update day: and identifying whether the accounting transaction which occurs at the current T-1 is the latest transaction, and if so, updating.
The log processing module 33 is provided with a cross-platform and cross-daily log updating rule:
to log T-1 transactions, the transaction log is registered on the log plane of T-1.
The detail processing module 34 is internally provided with a cross-platform and cross-day detail updating rule:
the new date of operation is the specification of T-1.
The accounting center 4 may be a platform server cluster 1 or a host server 2, and it gathers accounts generated by the platform server cluster 1 and the host server 2 to perform final trial balance.
Fig. 1 is a flowchart of a method for solving the problem of cross-platform and cross-day financial balance of banking business, which is applied to a cross-platform and cross-day financial balance triggering device, that is, an implementation subject is a cross-platform and cross-day financial balance triggering device, as shown in fig. 1, in one embodiment of the present invention, the method for solving the problem of cross-platform and cross-day financial balance of banking business includes steps S101 to S103.
Step S101, acquiring transaction uploading information of a platform server cluster in a preset triggering time period, wherein the triggering time period is N minutes after each day of cutting, the platform server cluster generates transaction uploading information of a business transaction after completing debit accounting processing of the business transaction, and the transaction uploading information comprises: and the account balance mode identifier corresponding to the business transaction is an account strong consistency identifier or an account non-strong consistency identifier.
In an alternative embodiment of the invention, N has a value in the range of 10 to 20, preferably N is 15.
The method of the invention firstly carries out the engine configuration work of the accounting balance triggering device, on one hand, based on scene analysis, the accounting balance mode configuration of various scenes is completed: 1-strong consistency of accounts; 2-accounting non-strong consistency. On the other hand, based on big data analysis of the cross-platform and cross-day problem, 15 minutes after daily cutting is high-emission time of the financial balance problem, and the short default time is configured as a default trigger time period (the trigger time period is taken as trigger starting time and can be adjusted according to actual requirements).
In one embodiment of the present invention, the transaction uploading information further includes a transaction code of the business transaction.
Step S102, if the accounting balance mode identifier in the transaction uploading information is an accounting strong consistency identifier, processing the corresponding household of the business transaction according to a preset cross-platform and cross-day household updating rule, and processing the log of the business transaction according to the preset cross-platform and cross-day daily updating rule; the cross-platform and cross-day household updating rule comprises the following steps: if the current day is T and the business transaction occurs on the day T-1, updating the last day balance of the individual household, and if the last updating day of the individual household is less than or equal to the day T-1, updating the last updating day of the individual household; the cross-platform and cross-daily log updating rule comprises the following steps: the log corresponding to the business transaction is inserted into the log surface of the T-1 day.
In one embodiment of the present invention, the cross-platform and cross-day household update rule further includes: and updating the balance of the individual users.
In the invention, if the scene is the scene with strong consistency of accounts, the host API interface is called after conversion processing is carried out according to the cross-platform and cross-day household, log and detail processing rules.
In the invention, the cross-platform and cross-day account balance triggering device provides the core processing modules of household processing, log processing and detail processing, and after the account-related transaction is initiated, the cross-platform and cross-day account balance triggering device combines the account information of both lending parties according to the engine configuration information to realize the cross-platform and cross-day account balance.
In the invention, a business transaction enters a platform service cluster, debit accounts are processed by the platform service cluster, and credit accounts are processed by a host server after being processed by a cross-platform and cross-daily accounting balance triggering device.
Step S103, after the processing is completed, the host server is called to process the credit accounting of the business transaction.
Therefore, in order to solve the problem of cross-platform and cross-day financial balance of banking business, the invention provides a personalized financial balance mode based on business scenes, and achieves the solution of cross-platform and cross-day financial balance, so that under a heterogeneous system, the processing dates of the same transaction lender are inconsistent, and the effect of financial balance can be achieved.
In one embodiment of the invention, the method for solving the problem of cross-platform and cross-day financial balance of banking business further comprises the following steps:
and if the accounting balance mode identifier in the transaction uploading information is the accounting non-strong consistency identifier, directly calling a host server to process the credit accounting of the business transaction.
In one embodiment of the invention, if the accounting is in a non-strong consistency scene, the host API interface is directly called without processing.
In one embodiment of the present invention, before the host server is invoked to process the credit accounting of the business transaction in step S103, the method of the present invention further comprises:
processing the details of the business transaction according to a preset cross-platform cross-day detail updating rule, wherein the cross-platform cross-day detail updating rule comprises the following steps: the detail of the working date corresponding to the business transaction is added as T-1 day.
In one embodiment of the invention, the method for solving the problem of cross-platform and cross-day financial balance of banking business further comprises the following steps:
and summarizing the accounting data of the platform server cluster and the host server, and performing final trial balance.
In the invention, if unbalance is calculated, the amount of the borrower after the rolling is carried out is put into the machine hanging account. Business personnel and technicians need to check the account amount of the machine hanging account, check the account entering details, and manually check accounts.
From the above embodiments, it can be seen that the present invention provides a method for solving the problem of cross-platform and cross-day financial balance of banking business, which mainly solves the problem of cross-platform and cross-day daily cutting, and has the following effects and advantages:
1. the invention supports the flexible customization of the cross-platform and cross-day accounting balance mechanism between systems from the service scene, can flexibly customize the trigger time, can meet the service scene requirement, and can reduce the system maintenance cost.
2. The invention is similar to a side car mode, is triggered only at high-rise time of the problem of financial balance, greatly reduces the coupling degree between services, improves the expansibility of the system and reduces the complexity of the service.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
Based on the same inventive concept, the embodiment of the invention also provides a device for solving the problem of cross-platform and cross-daily financial balance of banking business, which can be used for realizing the method for solving the problem of cross-platform and cross-daily financial balance of banking business described in the embodiment, as described in the following embodiment. Because the principle of solving the problem of the device for solving the banking cross-platform and cross-day account balance is similar to that of the method for solving the banking cross-platform and cross-day account balance, the embodiment of the device for solving the banking cross-platform and cross-day account balance can be referred to the embodiment of the method for solving the banking cross-platform and cross-day account balance, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a block diagram of a device for solving cross-platform and cross-day financial balance of banking business according to an embodiment of the present invention, as shown in fig. 6, in one embodiment of the present invention, the device for solving cross-platform and cross-day financial balance of banking business includes:
the transaction upload information obtaining module 101 is configured to obtain transaction upload information of the platform server cluster in a preset trigger period, where the trigger period is N minutes after each day of cutting, and the platform server cluster generates transaction upload information of a service transaction after completing debit accounting processing of the service transaction, and the transaction upload information includes: the account balance mode identification corresponding to the business transaction is an account strong consistency identification or an account non-strong consistency identification;
the cross-platform and cross-day processing module 102 is configured to process a user corresponding to the business transaction according to a preset cross-platform and cross-day user update rule and process a log of the business transaction according to a preset cross-platform and cross-day log update rule if the accounting balance mode identifier in the transaction uploading information is an accounting strong consistency identifier; the cross-platform and cross-day household updating rule comprises the following steps: if the current day is T and the business transaction occurs on the day T-1, updating the last day balance of the individual household, and if the last updating day of the individual household is less than or equal to the day T-1, updating the last updating day of the individual household; the cross-platform and cross-daily log updating rule comprises the following steps: inserting a log corresponding to the business transaction into a log surface of the T-1 day;
and the host calling module 103 is used for calling the host server to process the credit accounting of the business transaction after the processing is completed.
In one embodiment of the present invention, the host calling module 103 is further configured to directly call a host server to process the credit accounting of the service transaction if the accounting balance mode identifier in the transaction upload information is an accounting non-strong consistency identifier.
In one embodiment of the present invention, the device for solving the problem of cross-platform and cross-day financial balance of banking business further comprises:
the system comprises a detail processing module, a business transaction processing module and a business transaction processing module, wherein the detail processing module is used for processing the details of the business transaction according to a preset cross-platform cross-day detail updating rule, and the cross-platform cross-day detail updating rule comprises: the detail of the working date corresponding to the business transaction is added as T-1 day.
In one embodiment of the present invention, the device for solving the problem of cross-platform and cross-day financial balance of banking business further comprises:
and the trial balance module is used for summarizing the accounting data of the platform server cluster and the host server and carrying out final trial balance.
To achieve the above object, according to another aspect of the present application, there is also provided a computer apparatus. As shown in fig. 7, the computer device includes a memory, a processor, a communication interface, and a communication bus, on which a computer program executable on the processor is stored, which processor implements the steps of the method of the embodiments described above when executing the computer program.
The processor may be a central processing unit (Central Processing Unit, CPU). The processor may also be any other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof.
The memory is used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and units, such as corresponding program units in the above-described method embodiments of the invention. The processor executes the various functional applications of the processor and the processing of the composition data by running non-transitory software programs, instructions and modules stored in the memory, i.e., implementing the methods of the method embodiments described above.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory may optionally include memory located remotely from the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more units are stored in the memory, which when executed by the processor, performs the method in the above embodiments.
The details of the computer device may be correspondingly understood by referring to the corresponding relevant descriptions and effects in the above embodiments, and will not be repeated here.
To achieve the above object, according to another aspect of the present application, there is also provided a computer readable storage medium storing a computer program which, when executed in a computer processor, implements the steps in the above method for solving cross-platform and cross-day financial balance of banking. It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (RandomAccessMemory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for solving cross-platform and cross-day financial balance of banking business, comprising the steps of:
the method comprises the steps that transaction uploading information of a platform server cluster is obtained in a preset triggering time period, wherein the triggering time period is N minutes after each day is cut, the platform server cluster generates transaction uploading information of a business transaction after debit accounting processing of the business transaction is completed, and the transaction uploading information comprises: the account balance mode identification corresponding to the business transaction is an account strong consistency identification or an account non-strong consistency identification;
if the accounting balance mode identifier in the transaction uploading information is an accounting strong consistency identifier, processing the corresponding individual user of the business transaction according to a preset cross-platform and cross-day individual user updating rule, processing the log of the business transaction according to a preset cross-platform and cross-daily log updating rule; the cross-platform and cross-day household updating rule comprises the following steps: if the current day is T and the business transaction occurs on the day T-1, updating the last day balance of the individual household, and if the last updating day of the individual household is less than or equal to the day T-1, updating the last updating day of the individual household; the cross-platform and cross-daily log updating rule comprises the following steps: inserting a log corresponding to the business transaction into a log surface of the T-1 day;
after the processing is completed, the host server is invoked to process the credit accounting for the business transaction.
2. The method for solving cross-platform and cross-day financial balance of banking according to claim 1, further comprising:
and if the accounting balance mode identifier in the transaction uploading information is the accounting non-strong consistency identifier, directly calling a host server to process the credit accounting of the business transaction.
3. The method for resolving cross-platform and cross-day financial balance of banking according to claim 1, further comprising, prior to said invoking the host server to process the credit accounting for the transaction:
processing the details of the business transaction according to a preset cross-platform cross-day detail updating rule, wherein the cross-platform cross-day detail updating rule comprises the following steps: the detail of the working date corresponding to the business transaction is added as T-1 day.
4. The method for solving cross-platform and cross-day financial balance of banking according to claim 1, further comprising:
and summarizing the accounting data of the platform server cluster and the host server, and performing final trial balance.
5. The method for solving cross-platform and cross-day financial balance of banking according to claim 1, wherein the cross-platform and cross-day account update rule further comprises: and updating the balance of the individual users.
6. A device for solving cross-platform and cross-day financial balance of banking business, comprising:
the transaction uploading information acquisition module is configured to acquire transaction uploading information of the platform server cluster in a preset trigger time period, where the trigger time period is N minutes after each day of cutting, and the platform server cluster generates transaction uploading information of a business transaction after completing debit accounting processing of the business transaction, and the transaction uploading information includes: the account balance mode identification corresponding to the business transaction is an account strong consistency identification or an account non-strong consistency identification;
the cross-platform and cross-day processing module is used for processing the corresponding household of the business transaction according to a preset cross-platform and cross-day household updating rule and processing the log of the business transaction according to the preset cross-platform and cross-day daily log updating rule if the accounting balance mode identifier in the transaction uploading information is the accounting strong consistency identifier; the cross-platform and cross-day household updating rule comprises the following steps: if the current day is T and the business transaction occurs on the day T-1, updating the last day balance of the individual household, and if the last updating day of the individual household is less than or equal to the day T-1, updating the last updating day of the individual household; the cross-platform and cross-daily log updating rule comprises the following steps: inserting a log corresponding to the business transaction into a log surface of the T-1 day;
and the host calling module is used for calling the host server to process the credit accounting of the business transaction after the processing is completed.
7. The device for solving cross-platform and cross-day financial balance of banking according to claim 6, wherein the host calling module is further configured to directly call a host server to process a credit account of the banking transaction if the account balancing mode identifier in the transaction uploading information is an account non-strong consistency identifier.
8. The apparatus for resolving cross-platform and cross-day financial balance of banking as claimed in claim 6, further comprising:
the system comprises a detail processing module, a business transaction processing module and a business transaction processing module, wherein the detail processing module is used for processing the details of the business transaction according to a preset cross-platform cross-day detail updating rule, and the cross-platform cross-day detail updating rule comprises: the detail of the working date corresponding to the business transaction is added as T-1 day.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 5 when executing the computer program.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed in a computer processor implements the method of any one of claims 1 to 5.
CN202110873393.7A 2021-07-30 2021-07-30 Method and device for solving cross-platform and cross-day financial balance of banking business Active CN113590640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110873393.7A CN113590640B (en) 2021-07-30 2021-07-30 Method and device for solving cross-platform and cross-day financial balance of banking business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110873393.7A CN113590640B (en) 2021-07-30 2021-07-30 Method and device for solving cross-platform and cross-day financial balance of banking business

Publications (2)

Publication Number Publication Date
CN113590640A CN113590640A (en) 2021-11-02
CN113590640B true CN113590640B (en) 2024-03-19

Family

ID=78253008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110873393.7A Active CN113590640B (en) 2021-07-30 2021-07-30 Method and device for solving cross-platform and cross-day financial balance of banking business

Country Status (1)

Country Link
CN (1) CN113590640B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132205A (en) * 2022-11-16 2023-05-16 上海浦东发展银行股份有限公司 Charging method, charging device, electronic terminal and storage medium
CN115760406A (en) * 2022-11-22 2023-03-07 中电金信软件(上海)有限公司 Transaction accounting processing method, device, accounting server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020941A (en) * 2019-04-04 2019-07-16 中国工商银行股份有限公司 The multi-platform accounting data processing method and processing device of bank
CN110276614A (en) * 2019-04-30 2019-09-24 阿里巴巴集团控股有限公司 The update method and device of ledger
CN110659983A (en) * 2019-09-29 2020-01-07 中国工商银行股份有限公司 Bank accounting data processing method and device, electronic equipment and storage medium
CN113159913A (en) * 2021-04-30 2021-07-23 中国工商银行股份有限公司 Accounting information processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9600341B2 (en) * 2009-09-14 2017-03-21 Red Hat, Inc. Transaction sticky load balance policies

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020941A (en) * 2019-04-04 2019-07-16 中国工商银行股份有限公司 The multi-platform accounting data processing method and processing device of bank
CN110276614A (en) * 2019-04-30 2019-09-24 阿里巴巴集团控股有限公司 The update method and device of ledger
CN110659983A (en) * 2019-09-29 2020-01-07 中国工商银行股份有限公司 Bank accounting data processing method and device, electronic equipment and storage medium
CN113159913A (en) * 2021-04-30 2021-07-23 中国工商银行股份有限公司 Accounting information processing method and device

Also Published As

Publication number Publication date
CN113590640A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN113590640B (en) Method and device for solving cross-platform and cross-day financial balance of banking business
CN111240763A (en) Configuration updating method, device, equipment and storage medium
US11263674B2 (en) Setting up a payment plan to pay a bill
CN111667360A (en) User limit information management method and device, electronic equipment and storage medium
US8341044B1 (en) System, method, and computer program product for rating and re-rating events
CN110048907A (en) Global flow control method and device under a kind of cluster environment
CN112612624A (en) Data interaction method and device between systems, computer equipment and storage medium
CN112037019B (en) Method and device for allocating self-service equipment of banking outlets
CN116797345A (en) Task processing method, device, computer equipment and storage medium
CN112801616B (en) Abnormal account book processing method and device
CN116302889A (en) Performance test method and device for functional module and server
CN110674173A (en) Method and system for caching data on wind control cloud
CN109992614A (en) Data capture method, device and server
CN112469081B (en) Method and device for processing total flow data of shared flow pool
US8538993B2 (en) Outsourced options management
CN111429125B (en) Account management method and device, storage medium and electronic equipment
CN111583030B (en) Payment routing method and device
CN113704305A (en) Authority verifying method and device, storage medium and electronic equipment
CN113689201A (en) Data processing method and system based on block chain
CN110688490A (en) Method and device for configuring knowledge graph
CN109710884B (en) Real-time index configuration method and system supporting multiple complex calculation modes
CN107622124A (en) Data query method and system based on block number evidence
CN106056410A (en) Data table update method for bonus point account adjustment and bonus point calculating system
JP6890753B1 (en) Pooling management system, pooling management method and pooling management program
CN110827009B (en) Fund transfer method and device based on account balance limit

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
GR01 Patent grant
GR01 Patent grant