Method and device for processing bond position data
By generating ongoing transaction and measurement registration tasks before the payment date, automatically canceling fund messages and calculating accounts, the problem of duplicate cancellation and accounting in bond ongoing transactions is solved, improving the processing efficiency and performance of the banking system.
Patent Information
- Application Number
- CN202410960874.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-05
AI Technical Summary
Existing technologies lead to duplicate write-offs and accounting entries during the payment date of bond transactions, wasting the computing resources of the banking system and affecting internal performance.
By generating ongoing transaction and measurement registration tasks the day before the payment date, automatically canceling fund data transaction messages, and reconciling accounts during the payment date, the system ensures consistency between accounts and statements, increases transaction comparison to cancel inconsistent transactions, and reduces redundant operations.
It improved the processing efficiency and accuracy of the banking system, reduced the waste of computing resources, and ensured the convenience of business inquiries and system performance.
Smart Images

Figure CN118898511A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for processing bond position data. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.
[0003] At present, bond life transactions are based on the bond cash flow time plan (referred to as the time plan). Based on the interest-bearing deadline in the time plan as a node, the system calculates the number of bond positions held as of the interest-bearing deadline-1 and generates bond life transactions. When the interest-bearing deadline in the time plan falls on a holiday, a payment date PRECEDING scenario will occur, affecting the generation time of bond life transactions, generating process data for repeated offsets and bookkeeping, wasting computing resources of the banking system, and leading to poor internal performance of the banking system. Summary of the invention
[0004] The embodiment of the present invention provides a method for processing bond position data to avoid generating process data of repeated offset and bookkeeping, reduce computing resources of a banking system, and improve internal performance of a banking system. The method comprises:
[0005] At the end of TN day, when it is determined that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1 according to the bond cash flow time plan, find a time plan that matches the first preset condition; based on the bond position balance on that day and the time plan that meets the first preset condition, generate the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task of TN day; T is the business day of the current batch run, and N is the number of settlement days;
[0006] At the end of T-1, when it is determined that T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 according to the bond cash flow time plan, a time plan matching the second preset condition is found; based on the bond position balance on that day and the time plan meeting the second preset condition, bond duration transactions, bond duration measurement registration tasks, and bond duration accounting registration tasks for T-1 are generated;
[0007] Compare the bond duration transactions on T-1 with the bond duration transactions on TN. If the comparison results are inconsistent, cancel the bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks on TN.
[0008] On T-day, when receiving fund data transactions, the fund data transaction messages are cancelled according to the bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks on T-1 day;
[0009] At the end of day T, according to the bond life measurement registration task on T-1, a new record of position measurement on the delivery date is triggered, and the accrued interest balance data of the previous period is offset into the actual interest amount data. The newly added record is used to reflect the changes in the principal repayment amount data and interest income amount data of the current bond in real time; according to the bond life accounting registration task on T-1, the accounting accounts of interest accrual, amortization, and bond life transactions on that day are registered and accounted for, triggering accounting recording to keep the changes in the account and statement amount data consistent.
[0010] The embodiment of the present invention also provides a device for processing bond position data, which is used to avoid generating process data of repeated offsetting and bookkeeping, reduce computing resources of the banking system, and improve the internal performance of the banking system. The device includes:
[0011] The TN day processing unit is used to find a matching time plan that meets the first preset condition at the end of TN day when it is judged that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1 according to the bond cash flow time plan; generate the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task of TN day according to the bond position balance of the day and the time plan that meets the first preset condition; T is the business day of the current batch run, and N is the number of settlement days;
[0012] The T-1 day processing unit is used to find a time plan that matches the second preset condition at the end of T-1 day when it is judged that T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 according to the bond cash flow time plan; generate bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks for T-1 day according to the bond position balance on that day and the time plan that meets the second preset condition;
[0013] The comparison unit is used to compare the bond duration transactions on T-1 with the bond duration transactions on TN. If the comparison results are inconsistent, the bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks on TN are cancelled;
[0014] The T-day intraday processing unit is used to cancel the fund data transaction message when receiving the fund data transaction on T-day according to the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task on T-1 day;
[0015] The T-day end-of-day processing unit is used to trigger a new record of position measurement on the delivery day at the end of T day according to the bond life measurement registration task on T-1 day, and to offset the accrued interest balance data of the previous period into the actual interest amount data. The newly added record is used to reflect the changes in the principal repayment amount data and interest income amount data of the current bond in real time; according to the bond life accounting registration task on T-1 day, the accounting accounts of interest accrual, amortization, and bond life transactions on that day are registered and accounted for, triggering accounting recording to keep the changes in the account and statement amount data consistent.
[0016] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned bond position data processing method when executing the computer program.
[0017] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for processing bond position data is implemented.
[0018] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned bond position data processing method is implemented.
[0019] The beneficial technical effects of the bond position data processing solution provided by the embodiment of the present invention are:
[0020] First, when the payment date PRECEDING scenario appears in the time plan, that is, the payment date is before the interest calculation deadline, the embodiment of the present invention generates the duration transaction and duration measurement registration tasks one day before the payment date to generate cash flow and bond flow. During the payment day, when the system receives the fund data processing message, it will automatically cancel the message, thereby improving the efficiency of processing the bond position data and thereby improving the internal performance of the banking system.
[0021] Secondly, on the payment date, the accounting accounts of the related bond life transactions have been registered and accounted for, ensuring the consistency of the accounts and tables between the payment date and the interest calculation deadline. The accounts and tables are triggered by independent tasks, and the triggering dates of the accounts and tables can be flexibly controlled, which improves the accuracy and flexibility of the processing of bond position data, thereby improving the internal performance of the banking system.
[0022] Again, the embodiment of the present invention compares the bond life cycle transactions on T-1 day with the bond life cycle transactions on TN day. If the comparison results are inconsistent, the bond life cycle transactions on TN day, the bond life cycle measurement registration tasks and the bond life cycle accounting registration tasks are revoked, thereby increasing the comparison of the results of bond life cycle transactions. Only when the comparison results are inconsistent will the original transactions be revoked, and no repeated offset and accounting process data will be generated, thereby reducing the computing resources of the banking system, improving the internal performance of the banking system, and facilitating business audits and verifications.
[0023] In summary, the embodiments of the present invention can avoid the generation of process data for repeated write-offs and bookkeeping, reduce computing resources of the banking system, and thus improve the internal performance of the banking system. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0025] Figure 1 Schematic diagram of a process for processing bond position data in an embodiment of the present invention;
[0026] Figure 2 This is a schematic diagram of the principle of processing bond position data in an embodiment of the present invention;
[0027] Figure 3 A schematic diagram of generating a new task flow when a bond cash flow time plan is changed in an embodiment of the present invention;
[0028] Figure 4 It is a structural schematic diagram of a device for processing bond position data in an embodiment of the present invention;
[0029] Figure 5 The figure is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0031] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of laws and regulations.
[0032] In order to facilitate understanding of the embodiments of the present invention, firstly, the names involved in the implementation of the present invention are introduced.
[0033] 1. Bond trading: Bond trading is a standardized investment business in the financial market. The main investment area is bonds, which includes treasury bond investment, secondary market bond trading, bond lending, bond repurchase and other businesses.
[0034] 2. Bond delivery date position measurement: The position information is recorded in the bond position measurement table in the dimension of accounting settlement on the delivery date. The delivery date position measurement table is updated every day but no new record is generated. When bond trading, bond interest payment, bond maturity, and bond principal repayment occur, the delivery date measurement table will generate a new record. The interest accrual, cost amortization, principal and interest repayment, maturity processing, and final registration and accounting of the delivery date bonds are realized.
[0035] The existing solution for processing bond position data is:
[0036] 1. Generate bond duration transactions at the end of the day - 1 of the interest calculation deadline of the time plan;
[0037] 2. At the end of the interest calculation deadline, the bond duration transactions generated on the previous day are added to the position measurement table on the delivery date;
[0038] 3. At the end of the interest calculation deadline, the balance of accrued interest of the previous period shall be offset against the outstanding transactions;
[0039] 4. On the interest calculation deadline day, if there is a time plan change, the system will cancel the original transaction and generate a new transaction.
[0040] The inventors found that the technical problems of the existing bond position data processing scheme are:
[0041] 1. When the payment date PRECEDING scenario appears in the time plan, if the transaction during the duration is generated according to the above point 1, and the payment date is advanced, the fund transaction has actually been received, but the system has not generated the relevant transaction during the duration, which will cause the fund message to be unable to be automatically written off, affecting the internal performance of the bank system.
[0042] 2. Failure to generate accounting records for relevant bond life transactions on the payment date results in discrepancies between the payment date and the interest accrual deadline, which in turn leads to inaccurate bond position measurement and affects the internal performance of the banking system.
[0043] 3. When the interest calculation deadline and the payment date are inconsistent, as long as the time plan is changed, a cancellation transaction will be generated and a new transaction will be generated, resulting in a lot of duplicate data in the accounting, causing a lot of garbage data to be generated, wasting the computing resources of the bank system, affecting the internal performance of the bank system, and making it inconvenient for business to check and verify.
[0044] In view of the above technical problems, an embodiment of the present invention provides a processing scheme for bond position data, which is an implementation scheme for bond PRECEDING position measurement. In this scheme, when the time plan has a payment date PRECEDING (in advance, in front) scenario, when the system generates at the end of the day, it determines if the payment date is less than the interest calculation deadline of the time plan, and generates a transaction for the duration according to the payment date-1. It supports the triggering of accounting transactions on the payment date. If the bond cash flow time plan is changed during the payment day, it also supports the generation of the duration transaction by tracing the payment date-1. The system needs to identify the key elements and date ranges that have changed the bond cash flow time plan. If the content of the change does not involve the key elements, it is not necessary to trace the duration transaction and the duration measurement registration task. The duration measurement registration task is further subdivided into the specific date for registering the accounting task processing. The task processing of the account and the table is processed separately according to different dates to more flexibly meet the customization of business needs. The following is a detailed introduction to the processing scheme of the bond position data.
[0045] Figure 1 FIG. 1 is a flow chart of a method for processing bond position data in an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0046] Step 101: At the end of day TN, when it is determined that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1 according to the bond cash flow time plan, find a time plan that matches the first preset condition; based on the bond position balance on that day and the time plan that meets the first preset condition, generate the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task of day TN; T is the business day of the current batch run, and N is the number of settlement days;
[0047] Step 102: At the end of T-1, based on the bond cash flow time plan, determine whether T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1, and find a time plan that matches the second preset condition; based on the bond position balance on that day and the time plan that meets the second preset condition, generate the bond duration transaction, bond duration measurement registration task, and bond duration accounting registration task for T-1;
[0048] Step 103: Compare the bond duration transactions on T-1 with the bond duration transactions on TN. If the comparison results are inconsistent, cancel the bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks on TN.
[0049] Step 104: On day T, when a fund data transaction is received, the fund data transaction message is cancelled according to the bond duration transaction, bond duration measurement registration task, and bond duration accounting registration task on day T-1;
[0050] Step 105: At the end of day T, according to the bond life measurement registration task on day T-1, a new record of position measurement on the delivery date is triggered, and the accrued interest balance data of the previous period is offset into the actual interest amount data. The newly added record is used to reflect the changes in the principal repayment amount data and interest income amount data of the current bond in real time; according to the bond life accounting registration task on day T-1, the accounting accounts of interest accrual, amortization, and bond life transactions on that day are registered and accounted for, triggering accounting recording to keep the changes in the account and statement amount data consistent.
[0051] The method for processing bond position data provided by the embodiment of the present invention works as follows: at the end of day TN, when it is judged that T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 according to the bond cash flow time plan, a time plan matching the first preset condition is found; based on the bond position balance of the day and the time plan meeting the first preset condition, a bond duration transaction, a bond duration measurement registration task and a bond duration accounting registration task of day TN are generated; T is the business day of the current batch, N is the number of settlement days, which can be 2 or 3, and the specific The value of 2 or 3 can be set according to business adjustments. At the end of T-1, when it is determined that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1 according to the bond cash flow time plan, a time plan matching the second preset condition is found. Based on the bond position balance on that day and the time plan that meets the second preset condition, bond duration transactions, bond duration measurement registration tasks, and bond duration accounting registration tasks for T-1 are generated. The bond duration transactions for T-1 are compared with the bond duration transactions for TN. If the comparison results are inconsistent, the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task on TN day will be canceled; during the day of T day, when the fund data transaction is received, the fund data transaction message will be cancelled according to the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task on T-1 day; at the end of T day, according to the bond duration measurement registration task on T-1 day, a new record of position measurement on the delivery day will be triggered, and the accrued interest balance data of the previous period will be offset to the actual interest amount data. According to the data, the newly added records are used to reflect the changes in the principal repayment amount data and interest income amount data of the current bond in real time; according to the bond life accounting registration task on T-1, the accounting accounts of interest accrual, amortization, and bond life transaction on that day are registered and accounting is triggered to keep the changes in the account and table amount data consistent. This can achieve accurate, efficient and flexible processing of position data in the scenario of bond payment date before the interest calculation deadline, avoid the generation of repeated offset and accounting process data, reduce the computing resources of the banking system, and improve the internal performance of the banking system.
[0052] Combine the following Figures 2 to 3 , the method for processing bond position data provided by the embodiment of the present invention is described in detail, such as Figure 2 As shown, the execution process of this method includes:
[0053] 1. At the end of TN day, according to the bond cash flow time plan, when it is judged that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1, (where: N is the settlement day, generally 2 or 3, the business can be modified, T is the current business day, which is also the batch date, the payment date is a date field in the cash flow time plan, and T is the business date of the daily batch, which changes every day, and the payment date is generally fixed, unless the cash flow time of the bond is updated. For example, if the interest accrual deadline is the 9th (Saturday), the payment date is the 8th, N=2, T is the 7th, the above formula is valid, and the payment date is judged before T<=payment date <= T+N-1), find a matching time plan that meets the conditions, and generate the duration transaction, duration measurement registration task and duration accounting registration task according to the bond position balance on that day. Generate the duration transaction and push it to the transaction management to generate cash flow and bond flow, trigger the accounting position account and fund write-off. The duration measurement registration task is used to generate the bond delivery date position measurement table, which is used for the calculation of interest accrual and cost amortization. The duration accounting registration task is used to trigger the accounting. This step is the above step 101.
[0054] In specific implementation, the advantages of generating outstanding transactions, outstanding measurement registration tasks and outstanding accounting registration tasks at the end of TN day are: TN day is pre-generated in advance, the purpose is to notify the business in advance that there will be fund delivery in the next few days. If there is no transaction change before the payment date, then the data generated by TN is the final data.
[0055] In specific implementation, let's take an example of the time plan that matches the above conditions: the time plan here refers to the bond cash flow time plan, which is referred to as the time plan. The time plan includes payment date, interest calculation start date, interest calculation end date, payment of principal, payment of interest, remaining principal and other elements. It reflects the specific time schedule of interest payment and principal repayment by the bond issuer during the bond's duration. For example, a bond pays interest once a year, with a face value of 100 and a face interest rate of 3.65. The bond's start date is January 1, 2023, and its maturity date is December 31, 2025. Then the bond's cash flow time plan has 3 periods:
[0056] Phase 1 is from January 1, 2023 to December 31, 2023;
[0057] Phase II: 2023.12.31-2024.12.31;
[0058] Phase III: 2024.12.31-2025.12.31;
[0059] Among them, 12.31 of each period is the interest calculation deadline, and the interest of each period is calculated to the day before the interest calculation deadline, that is, the beginning is counted but not the end by default. The payment date of each period is postponed or advanced according to the working calendar, that is, there will be scenarios where the payment date is earlier or later.
[0060] From the above, it can be seen that in one embodiment, the above-mentioned method for processing bond position data may also include: at the end of TN, when it is judged that the conditions of T<=interest calculation deadline<=T+N-1 or T<=payment date<=T+N-1 are not met according to the bond cash flow time plan, the task generation operation is not started, thereby reducing the computing resource overhead of the banking system and improving the internal performance of the banking system.
[0061] 2. At the end of T-1 day, according to the bond cash flow time plan, determine that the interest accrual deadline <= T+1 <= payment date or the payment date <= T+1 <= interest accrual deadline, find a matching time plan (the matching time plan for T-1 day is the same as the matching time plan for the above TN day, please refer to the example of the matching time plan mentioned in the above TN day end), generate the duration transaction and duration measurement registration tasks and duration accounting registration tasks according to the bond position balance on that day, and at the same time, the duration generated on T-1 day needs to be The transaction of the current period is compared with the transaction of the current period generated by TN. If the comparison result is inconsistent, the transaction of the current period, the measurement registration task of the current period and the accounting registration task of the current period generated by TN will be cancelled, and the transaction of the current period generated by T-1 will be pushed to the transaction management for generating cash flow and bond flow, triggering the accounting position account (accounting account) and fund write-off, that is, executing step 104: during the day of T day, when the fund data transaction is received, the fund data transaction message is written off according to the bond current period transaction, bond current period measurement registration task and bond current period accounting registration task of T-1 day. This step is the above-mentioned step 102 to step 104.
[0062] In specific implementation, the judgment conditions of the cash flow time plan at the end of TN day and T-1 day are the same. If the payment date is in advance, use T<=payment date<=T+N-1. If the interest accrual deadline is in advance, use T<=interest accrual deadline<=T+N-1. The difference is that the number of positions held by TN and T-1 may change. For example: if the interest accrual deadline is the 9th (Saturday) and the payment date is the 8th, N=2, T is the 8th, the equation is also valid, and if the payment date is in advance, judge T<=payment date<=T+N-1, run the batch before the opening of the 8th, take the position held at the end of the 7th, and the interest income of the period needs to be calculated to the 9th, and calculate the interest for a full period in advance. Therefore, please refer to the implementation process of T-1. Figure 2 The implementation process of TN in.
[0063] From the above, it can be seen that in one embodiment, the processing method of the above-mentioned bond position data may also include: if the comparison results are consistent, the bond life cycle transactions, bond life cycle measurement registration tasks and bond life cycle accounting registration tasks of TN day will not be revoked, which further reduces the computing resource overhead of the banking system and improves the internal performance of the banking system.
[0064] It can be seen from the above that, in one embodiment, the method for processing the bond position data may further include:
[0065] At the end of T-1, when it is determined that the conditions of T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 are not met according to the bond cash flow time plan, the task generation operation is not started, which further reduces the computing resource overhead of the banking system and improves the internal performance of the banking system.
[0066] 3. On day T, if the cash flow of the bond plan changes, it is necessary to cancel the outstanding transaction and outstanding measurement registration tasks with payment date greater than or equal to T, and generate the outstanding transaction and outstanding measurement registration tasks and outstanding accounting registration tasks with the current interest calculation deadline <= T<= payment date or T= payment date according to the new cash flow time plan.
[0067] It can be seen from the above that, in one embodiment, the method for processing the bond position data may further include:
[0068] During the day of T, if the bond cash flow schedule changes, bond life transactions, bond life measurement registration tasks and bond life accounting registration tasks are generated according to the changed cash flow schedule, where the current interest calculation deadline <= T <= payment date or T = payment date, further reducing the computing resource overhead of the banking system and improving the internal performance of the banking system.
[0069] From the above, it can be seen that in one embodiment, the method for processing the above bond position data may also include: on day T, if the bond cash flow time plan has not changed, the operation of generating a new task is not started.
[0070] 4. The tracing of transactions during the term of the bond will be triggered only when the cash flow of the bond plan changes and the specified conditions are met. The comparison of the old and new key elements of the time plan will be added to determine whether the interest calculation start date, interest calculation end date, payment date, principal repayment amount, and interest amount have changed. Otherwise, the tracing of transactions during the term of the bond, the measurement registration tasks during the term of the bond, and the accounting registration tasks during the term of the bond will not be triggered.
[0071] From the above, it can be seen that in one embodiment, if Figure 3As shown, during the day of T, if the bond cash flow time plan changes, the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task with the current interest calculation deadline <= T <= payment date or T = payment date are generated according to the changed cash flow time plan, including the following steps:
[0072] Step 201: On day T, if the bond cash flow schedule is changed, compare the key elements of the cash flow schedule before the change and the cash flow schedule after the change;
[0073] Step 202: If it is determined according to the comparison result that the key elements have changed, generate bond life transactions, bond life measurement registration tasks and bond life accounting registration tasks with the current interest accrual deadline <= T <= payment date or T = payment date according to the changed cash flow time plan.
[0074] It can be seen from the above that, in one embodiment, the method for processing the bond position data may further include:
[0075] If it is determined based on the comparison results that the key elements have not changed, the tracing of the existing period transactions, existing period measurement registration tasks and existing period accounting registration tasks will not be triggered.
[0076] In specific implementation, if the bond cash flow schedule is changed during the payment date, it also supports retroactive payment date - 1 to generate the duration transaction. The system needs to identify the key elements and date ranges that have changed the bond cash flow schedule. If the changes do not involve key elements, there is no need to retroactively perform the duration transaction and duration measurement registration tasks.
[0077] 5. At the end of day T, the system triggers a new record of position measurement on the delivery date based on the duration measurement registration task, and offsets the accrued interest balance of the previous period to the actual interest amount. The new record reflects the changes in the current principal repayment amount and interest income amount of the bond in real time.
[0078] 6. At the end of day T (e.g. Figure 2 The "T+1" in the system means that the end of the day is usually 22:00, and the batch running starts after the day cut, that is, the batch running starts after 22:00). The system registers the accounting registration tasks for the interest accrual, amortization, and accounting of the bond's outstanding period transactions on that day, triggers the accounting recording, and keeps the changes in the account and statement amounts consistent. Figure 2 The T+1 here means the end of day T.
[0079] The above “5” and “6” are the above step 105.
[0080] In addition, in a further preferred embodiment of the present invention, the bond life measurement registration task is also used to register the specific date of accounting task processing, so as to separate the task processing of accounts and tables according to different dates for customization of business needs.
[0081] During the specific implementation, the duration measurement registration task is further subdivided into the specific date of registration and accounting task processing. The task processing of accounts and tables is processed separately according to different dates to more flexibly meet business needs and customization.
[0082] In summary, the bond position data processing solution proposed in the embodiment of the present invention has the following beneficial technical effects:
[0083] 1. When the payment date PRECEDING scenario appears in the time plan, that is, the payment date is before the interest calculation deadline, the embodiment of the present invention generates the duration transaction and duration measurement registration tasks on the payment date-1, and pushes the duration transaction to the transaction management module at the end of the payment date-1 to generate cash flow and bond flow. During the payment day, when the system receives the fund message, it will be automatically cancelled without manual cancellation, which further reduces the computing resource overhead of the banking system and improves the internal performance of the banking system.
[0084] 2. On the payment date, the accounting accounts of the relevant bond duration transactions have been registered and accounted for, ensuring the consistency of the accounts and tables between the payment date and the interest calculation deadline. The accounts and tables are triggered by independent tasks, and the triggering dates of the accounts and tables can be flexibly controlled.
[0085] To help you understand how to implement the independent task triggering for the above accounts and tables, an example is given below.
[0086] Suppose there is a bond that pays interest once a year and repays the principal once upon maturity. The payment date of the bond's cash flow period is the 8th (Friday), the interest calculation deadline is the 10th (Sunday), the interest payment amount is 3.65 per 100 yuan, the face value is 100, and the interest is calculated based on 365 days a year.
[0087] 1) After the day-end cut-off at 22:00 on the natural day 7, that is, the current business day is the 8th, the day-end holding position of the bond position balance sheet is 100, and the accrued interest of the bond position balance sheet has run a full period, and the accrued interest is 365 yuan (the payment date is in advance, and the number of holding days is calculated in advance to the interest calculation deadline of 365 days, that is, 100*3.65*number of holding days / 365).
[0088] 2) After the day-end cut-off at 22:00 on the natural day 7, the day-end batch determines that T=8<=payment date=8<=T+2-1=9 in the bond cash flow time plan, and the conditions are met. At this time, 3 tasks will be generated. Task 1: Pre-generation of transactions during the duration, with an interest amount of 365 yuan. Task 1 will be pushed to the transaction management in real time. When the business is working on the 8th, the interface can be queried that there is an interest transaction. The interest calculation deadline of the interest transaction is the 10th and the payment date is the 8th, which is consistent with the bond cash flow time plan. Task 2: Registration of duration accounting, the task processing date is the payment date 8th, the bookkeeping amount is 365 yuan, and the processing status is pending. Task 3: Registration of duration measurement, the task processing date is the interest calculation deadline 10th, and the processing status is pending.
[0089] 3) On the 8th, if the daily bond cash flow schedule does not change, the three types of registration tasks that have been generated will not be traced back in real time.
[0090] 4) After 22:00 on the 8th, that is, the day is cut to the 9th, query the pending task 2 with task processing date = 8th, execute the processing logic of task 2, trigger accounting and bookkeeping, and offset the accrued interest to the pending settlement amount.
[0091] 5) After 22:00 on the 10th, that is, the day is switched to the 11th, the processing logic of Task 3 is executed, and a new record is generated in the bond delivery day position meter for the new period of interest accrual. At this time, no accounting transaction will be triggered.
[0092] 3. Add the comparison of old and new key elements of the cash flow time plan. If the comparison results are inconsistent, the transaction will be canceled and a new transaction will be generated, which further reduces the computing resource overhead of the banking system and improves the internal performance of the banking system.
[0093] 4. Add the comparison of the transaction results during the bond life cycle. If the comparison results are inconsistent, the original transaction will be revoked. No repeated offset and accounting process data will be generated, which is convenient for business auditing and verification, further reducing the computing resource overhead of the banking system and improving the internal performance of the banking system.
[0094] The present invention also provides a device for processing bond position data, as described in the following embodiments. Since the principle of the device to solve the problem is similar to the method for processing bond position data, the implementation of the device can refer to the implementation of the method for processing bond position data, and the repeated parts will not be repeated.
[0095] Figure 4 FIG. 1 is a schematic diagram of the structure of a device for processing bond position data in an embodiment of the present invention. Figure 4 As shown, the device comprises:
[0096] TN day processing unit 01 is used to find a matching time plan that meets the first preset condition at the end of TN day when it is judged that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1 according to the bond cash flow time plan; generate bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks for TN day according to the bond position balance on that day and the time plan that meets the first preset condition; T is the business day of the current batch run, and N is the number of settlement days;
[0097] T-1 day processing unit 02 is used to find a matching time plan that meets the second preset condition at the end of T-1 day when it is judged that T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 according to the bond cash flow time plan; generate bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks for T-1 day according to the bond position balance on that day and the time plan that meets the second preset condition;
[0098] Comparison unit 03 is used to compare the bond duration transaction on T-1 with the bond duration transaction on TN. If the comparison results are inconsistent, the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task on TN are cancelled;
[0099] The T-day daytime processing unit 04 is used to cancel the fund data transaction message when receiving the fund data transaction on the T-day according to the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task on the T-1 day;
[0100] The T-day end-of-day processing unit 05 is used to trigger a new record of position measurement on the delivery day at the end of T day according to the bond life measurement registration task on T-1 day, and to offset the accrued interest balance data of the previous period into the actual interest amount data. The newly added record is used to reflect the changes in the principal repayment amount data and interest income amount data of the current bond in real time; according to the bond life accounting registration task on T-1 day, the accounting accounts of interest accrual, amortization, and bond life transactions on that day are registered and accounted for, triggering accounting to keep the changes in the account and table amount data consistent.
[0101] In one embodiment, the method for processing the bond position data may further include:
[0102] During the day of T, if the bond cash flow schedule changes, bond life transactions, bond life measurement registration tasks and bond life accounting registration tasks will be generated according to the changed cash flow schedule, with the current interest calculation deadline <= T <= payment date or T = payment date.
[0103] In one embodiment, during the day T, if the bond cash flow time plan is changed, the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task are generated according to the changed cash flow time plan, where the current interest calculation deadline <= T <= payment date or T = payment date, including:
[0104] On T-day, if the bond cash flow schedule changes, compare the key elements of the cash flow schedule before the change with the key elements of the cash flow schedule after the change;
[0105] If it is determined based on the comparison results that key factors have changed, the bond life transactions, bond life measurement registration tasks and bond life accounting registration tasks will be generated based on the changed cash flow time plan with the current interest accrual deadline <= T <= payment date or T = payment date.
[0106] In one embodiment, the method for processing the bond position data may further include:
[0107] If it is determined based on the comparison results that the key elements have not changed, the tracing of the existing period transactions, existing period measurement registration tasks and existing period accounting registration tasks will not be triggered.
[0108] In one embodiment, the method for processing the bond position data may further include:
[0109] During the day of T, if the bond cash flow schedule has not changed, the operation of generating new tasks will not be started.
[0110] In one embodiment, the bond duration measurement registration task is also used to register the specific date of accounting task processing, so as to separate the task processing of accounts and tables according to different dates for customization of business needs.
[0111] In one embodiment, the method for processing the bond position data may further include:
[0112] If the comparison results are consistent, the bond life cycle transactions, bond life cycle measurement registration tasks and bond life cycle accounting registration tasks on TN day will not be revoked.
[0113] In one embodiment, the method for processing the bond position data may further include:
[0114] At the end of the TN day, if it is determined that the conditions of T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 are not met according to the bond cash flow time plan, the task generation operation will not be started.
[0115] In one embodiment, the method for processing the bond position data may further include:
[0116] At the end of T-1, if it is determined that the bond cash flow time plan does not meet the conditions of T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1, the task generation operation will not be started.
[0117] Based on the above invention concept, Figure 5 As shown, the present invention also proposes a computer device 500, including a memory 510, a processor 520, and a computer program 530 stored in the memory 510 and executable on the processor 520, wherein the processor 520 implements the aforementioned bond position data processing method when executing the computer program 530.
[0118] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for processing bond position data is implemented.
[0119] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned bond position data processing method is implemented.
[0120] The beneficial technical effects of the bond position data processing solution provided by the embodiment of the present invention are:
[0121] First, when the payment date PRECEDING scenario appears in the time plan, that is, the payment date is before the interest calculation deadline, the embodiment of the present invention generates the duration transaction and duration measurement registration tasks one day before the payment date to generate cash flow and bond flow. During the payment day, when the system receives the fund data processing message, it will automatically cancel the message, thereby improving the efficiency of processing the bond position data and thereby improving the internal performance of the banking system.
[0122] Secondly, on the payment date, the accounting accounts of the related bond life transactions have been registered and accounted for, ensuring the consistency of the accounts and tables between the payment date and the interest calculation deadline. The accounts and tables are triggered by independent tasks, and the triggering dates of the accounts and tables can be flexibly controlled, which improves the accuracy and flexibility of the processing of bond position data, thereby improving the internal performance of the banking system.
[0123] Again, the embodiment of the present invention compares the bond life cycle transactions on T-1 day with the bond life cycle transactions on TN day. If the comparison results are inconsistent, the bond life cycle transactions on TN day, the bond life cycle measurement registration tasks and the bond life cycle accounting registration tasks are revoked, thereby increasing the comparison of the results of bond life cycle transactions. Only when the comparison results are inconsistent will the original transactions be revoked, and no repeated offset and accounting process data will be generated, thereby reducing the computing resources of the banking system, improving the internal performance of the banking system, and facilitating business audits and verifications.
[0124] In summary, the embodiments of the present invention can accurately, efficiently and flexibly process the position data of the scenario between the bond payment date and the interest calculation deadline, avoid the generation of repeated offset and accounting process data, reduce the computing resources of the banking system, and improve the internal performance of the banking system.
[0125] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0126] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0127] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0129] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for processing bond position data, characterized in that: include: At the end of TN day, when it is determined that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1 according to the bond cash flow time plan, find a time plan that matches the first preset condition; based on the bond position balance on that day and the time plan that meets the first preset condition, generate the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task of TN day; T is the business day of the current batch run, and N is the number of settlement days; At the end of T-1, when it is determined that T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 according to the bond cash flow time plan, a time plan matching the second preset condition is found; based on the bond position balance on that day and the time plan meeting the second preset condition, bond duration transactions, bond duration measurement registration tasks, and bond duration accounting registration tasks for T-1 are generated; Compare the bond duration transactions on T-1 with the bond duration transactions on TN. If the comparison results are inconsistent, cancel the bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks on TN. On T-day, when receiving fund data transactions, the fund data transaction messages are cancelled according to the bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks on T-1 day; At the end of day T, according to the bond life measurement registration task on T-1, a new record of position measurement on the delivery date is triggered, and the accrued interest balance data of the previous period is offset into the actual interest amount data. The newly added record is used to reflect the changes in the principal repayment amount data and interest income amount data of the current bond in real time; according to the bond life accounting registration task on T-1, the accounting accounts of interest accrual, amortization, and bond life transactions on that day are registered and accounted for, triggering accounting recording to keep the changes in the account and statement amount data consistent.
2. The method according to claim 1, characterized in that Also includes: During the day of T, if the bond cash flow schedule changes, bond life transactions, bond life measurement registration tasks and bond life accounting registration tasks will be generated according to the changed cash flow schedule, with the current interest calculation deadline <= T <= payment date or T = payment date.
3. The method according to claim 2, characterized in that During the day of T, if the bond cash flow time plan changes, the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task are generated according to the changed cash flow time plan, with the current interest accrual deadline <= T <= payment date or T = payment date, including: On T-day, if the bond cash flow schedule changes, compare the key elements of the cash flow schedule before the change with the key elements of the cash flow schedule after the change; If it is determined based on the comparison results that key factors have changed, the bond life transactions, bond life measurement registration tasks and bond life accounting registration tasks will be generated based on the changed cash flow time plan with the current interest accrual deadline <= T <= payment date or T = payment date.
4. The method according to claim 3, characterized in that Also includes: If it is determined based on the comparison results that the key elements have not changed, the tracing of the existing period transactions, existing period measurement registration tasks and existing period accounting registration tasks will not be triggered.
5. The method according to claim 1, characterized in that Also includes: During the day of T, if the bond cash flow schedule has not changed, the operation of generating new tasks will not be started.
6. The method according to claim 1, characterized in that The bond duration measurement registration task is also used to register the specific date of accounting task processing, so as to separate the task processing of accounts and tables according to different dates for customization of business needs.
7. The method according to claim 1, characterized in that Also includes: If the comparison results are consistent, the bond life cycle transactions, bond life cycle measurement registration tasks and bond life cycle accounting registration tasks on TN day will not be revoked.
8. The method according to claim 1, characterized in that Also includes: At the end of the TN day, if it is determined that the conditions of T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 are not met according to the bond cash flow time plan, the task generation operation will not be started.
9. The method according to claim 1, characterized in that Also includes: At the end of T-1, if it is determined that the conditions of T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 are not met according to the bond cash flow time plan, the task generation operation will not be started.
10. A device for processing bond position data, characterized in that: include: The TN day processing unit is used to find a matching time plan that meets the first preset condition at the end of TN day when it is judged that T <= interest accrual deadline <= T+N-1 or T <= payment date <= T+N-1 according to the bond cash flow time plan; generate the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task of TN day according to the bond position balance of the day and the time plan that meets the first preset condition; T is the business day of the current batch run, and N is the number of settlement days; The T-1 day processing unit is used to find a time plan that matches the second preset condition at the end of T-1 day when it is judged that T<=interest accrual deadline<=T+N-1 or T<=payment date<=T+N-1 according to the bond cash flow time plan; generate bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks for T-1 day according to the bond position balance on that day and the time plan that meets the second preset condition; The comparison unit is used to compare the bond duration transactions on T-1 with the bond duration transactions on TN. If the comparison results are inconsistent, the bond duration transactions, bond duration measurement registration tasks and bond duration accounting registration tasks on TN are cancelled; The T-day intraday processing unit is used to cancel the fund data transaction message when receiving the fund data transaction on T-day according to the bond duration transaction, bond duration measurement registration task and bond duration accounting registration task on T-1 day; The T-day end-of-day processing unit is used to trigger a new record of position measurement on the delivery day at the end of T day according to the bond life measurement registration task on T-1 day, and to offset the accrued interest balance data of the previous period into the actual interest amount data. The newly added record is used to reflect the changes in the principal repayment amount data and interest income amount data of the current bond in real time; according to the bond life accounting registration task on T-1 day, the accounting accounts of interest accrual, amortization, and bond life transactions on that day are registered and accounted for, triggering accounting recording to keep the changes in the account and statement amount data consistent.
11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
13. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Cited By
Delivery pretreatment method, device, equipment and medium
CN119784499A
A method, apparatus, equipment and medium for delivery pre-processing
CN119784499B
