CN115439213A - Business data processing method and device, storage medium and electronic device - Google Patents

Business data processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN115439213A
CN115439213A CN202211065667.0A CN202211065667A CN115439213A CN 115439213 A CN115439213 A CN 115439213A CN 202211065667 A CN202211065667 A CN 202211065667A CN 115439213 A CN115439213 A CN 115439213A
Authority
CN
China
Prior art keywords
data
processing
business
result
service data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211065667.0A
Other languages
Chinese (zh)
Inventor
时磊
史晨阳
裴亚民
董丽
徐志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Everbright Bank Co Ltd
Original Assignee
China Everbright Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Everbright Bank Co Ltd filed Critical China Everbright Bank Co Ltd
Priority to CN202211065667.0A priority Critical patent/CN115439213A/en
Publication of CN115439213A publication Critical patent/CN115439213A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method and a device for processing service data, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring service data of a plurality of theme services generated in real time in a target service system; based on a business data model matched with the theme business, the business data of the theme business with business association relation is driven to be processed in real time and concurrently, and a plurality of candidate processing results are obtained; and generating an estimation result matched with the service data in real time by using the plurality of candidate processing results. By adopting the technical scheme, the technical problem that the processing pressure of the server is higher due to the fact that the scheme provided by the related technology needs to batch process the business data of the day after all the businesses of the day are finished is solved.

Description

Service data processing method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for processing service data, a storage medium, and an electronic apparatus.
Background
Currently, a bank financing company needs to evaluate and account financing products every day.
In the related technology, the valuation accounting of the financing product by the bank financing company generally adopts a batch processing mode, and the system can process the business data of the current day in batch only after all businesses of the current day are completed.
In the related art, an effective solution is not provided yet for the technical problem that the processing pressure of the server is high because the scheme provided by the related art needs to batch process the business data of the current day after all the businesses of the current day are completed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing service data, a storage medium and an electronic device, which at least solve the technical problem that the processing pressure of a server is higher because the scheme provided by the related technology needs to batch process the service data of the current day after all services of the current day are finished.
According to an embodiment of the present invention, a method for processing service data is provided, including: acquiring service data of a plurality of theme services generated in real time in a target service system; based on the business data model matched with the theme business, the business data of the theme business with business incidence relation is driven to be processed in real time and concurrently, and a plurality of candidate processing results are obtained; and generating an estimation result matched with the service data in real time by using the plurality of candidate processing results.
In an exemplary embodiment, the driving, in real-time and concurrently processing, based on a service data model matched with the theme service, service data of the theme service having a service association relationship to obtain a plurality of candidate processing results includes: under the condition that the acquired business data of the theme business is transaction business data, performing transaction accounting processing on the transaction business data to obtain a transaction candidate processing result; under the condition that the acquired business data of the theme business is clearing business data, clearing financial processing is carried out on the clearing business data to obtain a clearing candidate processing result; and under the condition that the acquired business data of the theme business are transaction business data, parameter business data and market business data, performing position accounting processing on the transaction business data, the parameter business data and the market business data to obtain position candidate processing results.
In an exemplary embodiment, the performing position accounting processing on the transaction service data, the parameter service data, and the market service data to obtain a position candidate processing result includes: performing position control processing on the transaction service data, the parameter service data and the market service data to obtain a position control result; driving valuation profit and loss calculation, interest meter amortization calculation and cost reduction payment calculation based on the position control result to respectively obtain valuation profit and loss result, amortization result and cost reduction payment result; driving tax calculation processing based on the amortization result and the reimbursement payment result to obtain a tax calculation result; and performing position accounting processing based on the valuation profit-loss knot and the tax calculation result to obtain the position candidate processing result.
In an exemplary embodiment, the performing position control processing on the transaction service data, the parameter service data, and the market service data to obtain a position control result includes: updating the parameter service data and the market service data to obtain the updated parameter service data and the updated market service data; recalculating the renewed cost-return payment, the renewed interest-withdrawal recalculation and the stock recalculation of the transaction service data, the renewed parameter service data and the renewed market service data to respectively obtain a cost-return payment updating result, an interest-withdrawal updating result and a stock updating result; generating a position table by using the updated parameter business data, the market business data, the repayment update result, the interest meter update result and the inventory update result; and taking the position table as the position control result.
In an exemplary embodiment, the generating an estimation result matched with the service data in real time by using the plurality of candidate processing results includes: merging the transaction candidate processing result, the clearing candidate processing result and the position candidate processing result to generate an estimation table; and taking the estimation table as the estimation result.
In an exemplary embodiment, after generating an estimation result matched with the traffic data in real time by using the plurality of candidate processing results, the method further includes: updating risk index parameters in the target service system in real time by using the estimation result; and under the condition that the updated risk index parameters indicate that the target theme business has excess risk, performing business adjustment operation on the target theme business in the current business period.
According to another embodiment of the present invention, there is also provided a device for processing service data, including: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring service data of a plurality of theme services generated in real time in a target service system; the processing module is used for driving real-time concurrent processing on the service data of the theme service with the service incidence relation based on the service data model matched with the theme service to obtain a plurality of candidate processing results; and the generating module is used for generating an estimation result matched with the service data in real time by using the plurality of candidate processing results.
In an exemplary embodiment, the processing module includes: the first processing unit is used for performing transaction accounting processing on the transaction service data to obtain a transaction candidate processing result under the condition that the acquired service data of the theme service is the transaction service data; the second processing unit is used for carrying out clearing financial processing on the clearing business data under the condition that the obtained business data of the theme business is clearing business data to obtain a clearing candidate processing result; and the third processing unit is used for performing position accounting processing on the transaction business data, the parameter business data and the market business data under the condition that the obtained business data of the theme business is the transaction business data, the parameter business data and the market business data to obtain position candidate processing results.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above-mentioned service data processing method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for processing the service data through the computer program.
In the embodiment of the invention, the service data of a plurality of theme services generated in real time in a target service system is acquired; based on a business data model matched with the theme business, the business data of the theme business with business association relation is driven to be processed in real time and concurrently, and a plurality of candidate processing results are obtained; and generating an estimation result matched with the service data in real time by using the plurality of candidate processing results. By adopting the technical scheme, the service data of the plurality of theme services generated in real time are concurrently processed in real time by utilizing the plurality of service data models, namely the service data can be immediately processed after being generated, and the system can perform batch processing on the day without waiting for the completion of all services on the day, so that the processing pressure of the server is reduced, and the technical problem that the processing pressure of the server is higher because the scheme provided by the related technology needs to perform batch processing on the service data on the day after all services on the day are completed is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of an application system of an optional service data processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of an alternative service data processing method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an alternative service data processing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another alternative service data processing method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another alternative service data processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of another alternative service data processing method according to an embodiment of the present invention;
fig. 7 is a block diagram of an alternative service data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, 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, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the embodiment of the present invention, an embodiment of the foregoing service data processing method is provided. As an alternative embodiment, the service data processing method may be, but is not limited to, applied to an application system as shown in fig. 1.
As shown in fig. 1, an application system of the service data processing method includes a data-driven control and a real-time estimation data model. The business driving data is divided into external data and internal data, the external data comprises trading business data from each trading place and market business data on the market for data driving control, the internal data comprises parameter business data and clearing business data for driving control, and the data is stored in various theme data models in the real-time valuation model, so that the system is supported to perform real-time processing on the business data.
In this embodiment, a method for processing service data is provided, and fig. 2 is a flowchart of a method for processing service data according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, acquiring service data of a plurality of theme services generated in real time in a target service system;
step S204, based on the service data model matched with the theme service, the service data of the theme service with the service incidence relation is driven to be concurrently processed in real time, and a plurality of candidate processing results are obtained;
step S206, an estimation result matched with the service data is generated in real time by using a plurality of candidate processing results.
Optionally, in this embodiment, the service data of the plurality of theme services may include, but is not limited to, transaction service data, parameter service data, market service data, and clearing service data.
Optionally, in this embodiment, the business data model may include, but is not limited to, a transaction business data driven control model, a parameter business data driven control model, a market business data driven control model, and a clearing business data driven control model.
Optionally, in this embodiment, the estimation result may include, but is not limited to, an estimation table and a risk monitoring indicator. Wherein, the valuation table can include but is not limited to report, assets taken position, etc., and the product income is calculated based on the valuation table; the risk monitoring indicators may include, but are not limited to, shadow pricing deviation monitoring indicators and cash ratio monitoring indicators.
According to the scheme provided by the embodiment of the application, the service data of a plurality of theme services generated in real time in the target service system is acquired; based on a business data model matched with the theme business, the business data of the theme business with business association relation is driven to be processed in real time and concurrently, and a plurality of candidate processing results are obtained; and generating an estimation result matched with the service data in real time by using the plurality of candidate processing results. By adopting the technical scheme, the service data of the plurality of theme services generated in real time are concurrently processed in real time by utilizing the plurality of service data models, namely the service data can be immediately processed after being generated, and the system can perform batch processing on the current day without waiting for the completion of all services on the current day, so that the processing pressure of the server is reduced, and the technical problem that the processing pressure of the server is higher because the scheme provided by the related technology needs to perform batch processing on the service data on the current day after all services on the current day are completed is solved.
In an exemplary embodiment, the method for performing real-time concurrent processing on the service data of the subject service with the service association relation based on the service data model matched with the subject service, and obtaining a plurality of candidate processing results includes: under the condition that the acquired business data of the theme business is transaction business data, performing transaction accounting processing on the transaction business data to obtain a transaction candidate processing result; under the condition that the acquired business data of the theme business is clearing business data, clearing financial processing is carried out on the clearing business data to obtain a clearing candidate processing result; and under the condition that the acquired business data of the theme business are transaction business data, parameter business data and market business data, performing position accounting processing on the transaction business data, the parameter business data and the market business data to obtain position candidate processing results.
Alternatively, in the present embodiment, the transaction data may include, but is not limited to, bond transaction data, debit transaction data, buyback transaction data, fund transaction data, buyback transaction data, redemption transaction data, dividend transaction data, etc. Clearing service data may include, but is not limited to, transaction clearing data, payment clearing data, fee clearing data, value added tax clearing data, and the like. The parametric business data may include, but is not limited to, product definition data, asset definition data, collateral definition data, calendar data, and the like. Market traffic data may include, but is not limited to, reference curve data, bond valuation data, and the like.
As shown in fig. 3, the transaction service data is driven by the transaction service data driving control model to perform transaction accounting processing, so as to obtain a transaction candidate processing result. And the clearing business data is driven by the clearing business data drive control model to carry out clearing financial processing to obtain a clearing candidate processing result. And performing position financial processing on the transaction service data, the parameter service data and the market service data under the driving of a transaction service data driving control model, a parameter service data driving control model and a market service data driving control model respectively to obtain position candidate processing results. And processing according to the transaction candidate processing result, the position candidate processing result and the clearing candidate processing result to obtain an evaluation result.
By the scheme provided by the embodiment of the application, different financial processing is performed in parallel according to different acquired data types, and the data processing speed is increased.
In an exemplary embodiment, the position accounting processing is performed on the transaction business data, the parameter business data and the market business data, and obtaining position candidate processing results includes: position control processing is carried out on the transaction service data, the parameter service data and the market service data to obtain a position control result; driving valuation profit and loss calculation, interest meter amortization calculation and cost return payment calculation based on the position control result to respectively obtain valuation profit and loss result, amortization result and cost return payment result; driving tax calculation processing based on the amortization result and the reimbursement result to obtain a tax calculation result; and performing position accounting processing based on the valuation profit-loss knot and the tax calculation result to obtain a position candidate processing result.
As shown in fig. 4, the transaction service data, the parameter service data, and the market service data are respectively driven by the transaction service data driving control model, the parameter service data driving control model, and the market service data driving control model to perform position control processing, so as to obtain a position control result. Driving valuation profit and loss calculation, interest meter improvement amortization calculation and cost return payment calculation based on the position control result to respectively obtain valuation profit and loss result, amortization result and cost return payment result; driving tax calculation processing based on the amortization result and the reimbursement result to obtain a tax calculation result; and performing position accounting processing based on the valuation profit and loss knot and the tax calculation result to obtain a position candidate processing result.
By the scheme provided by the embodiment of the application, different financial processing is performed in parallel according to different acquired data types, and the data processing speed is increased.
In an exemplary embodiment, the position control processing is performed on the transaction service data, the parameter service data and the market service data, and obtaining the position control result includes: updating the parameter service data and the market service data to obtain updated parameter service data and market service data; recalculating the repayment interest, the interest meter update and the inventory of the transaction service data, the updated parameter service data and the market service data to respectively obtain a repayment update result, an interest meter update result and an inventory update result; generating a position table by using the updated parameter service data and market service data, the repayment update result, the interest meter promotion update result and the inventory update result; the position table is used as the position control result.
As shown in fig. 5, the position processing control is a key part of the data-driven control, the system performs real-time concurrent computation through the position processing control S502, after the market service data and the parameter service data are updated S504, the latest market service data and parameter service data are used for each computation, the computation process mainly includes the recalculation of payback payment S506-1, the recalculation of interest bearing withdrawal S506-2, the recalculation of value added tax S508-2, the recalculation of actual daily interest rate S508-1, the recalculation of position remaining cost S510, the recalculation of inventory S506-3, and the real-time generation of the position table S512, and the related key computation values include: position Benjin P t0 Position pay amount Int t0 Estimate profit and loss PL t0 Interest improvement accInt t0 Amt for interest amortization t0 Value added tax (accTax) t0 ,sprTax t0 ,bonTax t0 ) The specific calculation formula is as follows:
1) Position Benjin P t0 Can be calculated as follows:
P t0 =P t-1 -P cur (1)
wherein, P t-1 The last day's position of Benjin, P cur The amount of money is returned on the same day.
2) Position interest amount Int t0 Can be calculated as follows:
Figure BDA0003828309810000091
wherein, accInt n For the nth day interest, accInt n-1 It is mentioned for interest on the last day.
3) Estimate profit and loss PL t0 The calculation of (c) may be as follows:
PL t0 =Val t0 -Val t-1 (3)
wherein, val t0 For valuation of the day market, val t-1 Valuation for the market of the day;
4) Interest bearing and procint t0 The calculation of (c) may be as follows:
accInt t0 =P t0 ×R t0 /100×Basis (4)
wherein, P t0 Is the current principal of gold, R t0 Basis is the interest rate of the current date ticket and is the Basis of interest management.
5) On-day counter contribution Amt t0 The calculation of (c) may be as follows:
Amt t0 =actInt t0 -accInt t0 (5)
wherein actInt t0 actInt for actual interest on the day t0 The calculation of (c) may be as follows:
actInt t0 =(P t0 +Z)×y/100×Basis (6)
wherein y is the actual daily interest rate and can be calculated by using the following formula:
Figure BDA0003828309810000092
wherein M is the face value of each bond, y is the actual daily interest rate, Z is the premium balance of each bond, and Z 0 For initial discount per bond, Z 0 The calculation of (c) may be as follows:
Z 0 =a-b+c/d-e+f (8)
wherein a is the over-price balance of the bonds on T days, b is the over-price confirmed by the buy transaction which is not delivered on T days, c is the over-price confirmed by the sell transaction which is not delivered on T days, d is the balance of the number of the bonds on T days, e is the number of the buy bonds which are not delivered on T days, and f is the number of the sell bonds which are not delivered on T days;
wherein i is the nominal daily interest rate, and i is the expected future interest rate 0 ,i 1 ,i 2 ,...,i t T +1 is the remaining number of payouts;
the mode of calculation of the coupon i paid on average may be as follows:
i=(R T+n /N)/D T+n (9)
wherein R is T+n The nominal interest rate corresponding to T + N days, N is the number of paid interest in 1 year, D T+n The actual number of days of the payoff cycle corresponds to T + n days.
The manner of calculation of the coupon i paid in actual days may be as follows:
i=R T+n /M T+n (10)
R T+n is the nominal interest rate, M, corresponding to T + n days T+n The number of actual days of the rest year corresponding to the rest period of T + n days.
A natural day from the date of calculating the actual interest rate to the due date of the bond is n, wherein the previous days of the expected interest rate change days are respectively the kth day 1 ,k 2 ,k 3, k 4 ,...,k t Day;
6) Interest value-added tax accTax t0 The calculation of (c) may be as follows:
accTax t0 =accInt t0 ÷(1+IR tax )×IR tax (10)
wherein, IR tax The tax rate is added for interest.
Price difference value-added tax sprTax t0 The calculation of (c) may be as follows:
sprTax t0 =(SellAmt-AmortAmt)÷(1+SR tax )×SR tax (11)
wherein the SellAmt is a sale/return amount, and the calculation mode of the SellAmt can be as follows:
SellAmt=P sell ×CleanPrice÷100 (12)
wherein, P sell To sell principal, clearprice is the net price sold, amortAmt is the AmortAmt cost corresponding to the sale/return, and the calculation mode of AmortAmt can be as follows:
AmortAmt=P sell ÷P t0 ×(P t0 +Amt 1 +…+Amt t-1 ) (12)
wherein, SR tax The value added tax rate is the price difference of business.
Hongda value-added tax bonTax t0 The calculation of (c) may be as follows:
bonTax t0 =Bonus t0 ÷(1+BR tax )×BR tax (13)
wherein, bonus t0 In order to divide the amount of money into dividends, BR tax The tax rate is added in red.
According to the scheme provided by the embodiment of the application, real-time concurrent calculation is carried out through position control processing, and the data processing speed is improved.
In an exemplary embodiment, the generating an estimation result matched with the service data in real time by using a plurality of candidate processing results comprises: merging the transaction candidate processing result, the clearing candidate processing result and the position candidate processing result to generate an estimation table; and taking the evaluation table as an evaluation result.
By the scheme provided by the embodiment of the application, the transaction candidate processing result, the clearing candidate processing result and the position candidate processing result which are obtained by real-time concurrent calculation are combined to obtain the valuation result, so that the data processing speed is improved.
In an exemplary embodiment, after generating an estimation result matched with the service data in real time by using a plurality of candidate processing results, the method further includes: updating risk index parameters in the target service system in real time by using the evaluation result; and under the condition that the updated risk index parameters indicate that the risk excess exists in the target theme service, performing service adjustment operation on the target theme service in the current service period.
Optionally, in this embodiment, the business adjustment operation may include, but is not limited to, recalculating position taken, profit and loss risk indicators in real time after modifying the asset definition, and performing accounting adjustment and product valuation adjustment in real time.
According to the scheme provided by the embodiment of the application, the risk index parameters in the target service system are updated in real time by using the estimation result; and under the condition that the updated risk index parameters indicate that the target theme service has excess risk, performing service adjustment operation on the target theme service in the current service period, thereby avoiding the risk service.
As shown in fig. 6, the real-time simulation control is a derivative application under a data-driven control scheme, the system can simulate and predict the general condition of the product income in the same day in advance, and can reflect the influence of the overall risk index in real time based on the simulated transaction, and the specific implementation scheme is as follows:
1) For the products needing to be simulated for financing, firstly generating simulated position data based on the real position data, and generating simulated financial data based on the real financial data;
2) For the real transaction service data which passes the approval, the system automatically generates simulated transaction service data with the same transaction elements under the simulated product items in real time;
3) The trader can directly input the simulated trade business data under the simulated product item;
4) The transaction data drive control does not distinguish real transaction service data from simulated transaction service data, and transaction accounting processing and position accounting processing are carried out according to the same processing method;
5) The system automatically generates simulated clearing service data for the simulated transaction;
6) The clearing business data drive control model does not distinguish real clearing business data from simulated clearing business data, and clearing financial processing is carried out according to the same processing method;
in the whole system processing process, the real transactions and the simulated transactions are distinguished only in product dimensions, so that the consistency of the real transactions and the simulated transaction processing is ensured to the maximum extent, special processing for the simulated transactions is reduced, and the timeliness and maintainability of the system simulation function are improved.
As shown in fig. 1, the real-time data model is a basis for the whole data-driven control and processing, and is divided into a transaction business data model, a market business data model, a position data model, a parameter business data model, a risk data model, and an accounting data model. The main data model table is as follows:
1. key transaction business data model table
1) Product transaction form
Figure BDA0003828309810000131
Figure BDA0003828309810000141
2) Bond transaction form
Figure BDA0003828309810000142
Figure BDA0003828309810000151
3) Borrowing and repurchasing transaction table
Figure BDA0003828309810000152
Figure BDA0003828309810000161
Figure BDA0003828309810000171
4) Table for buyback mortgage
Figure BDA0003828309810000172
Figure BDA0003828309810000181
5) Position trading table
Figure BDA0003828309810000182
Figure BDA0003828309810000191
2. Market business data model table
1) Fiducial definition
Name(s) Types of Can be empty
DATAID VARchar2(20) N
VERSION NUMBER(15) N
UPDATETIME TIMESTAMP(6) Y
CURVEID VARchar2(30) Y
CURVENAME VARchar2(100) Y
REMARK VARchar2(100) Y
2) Reference data
Figure BDA0003828309810000192
Figure BDA0003828309810000201
3) Bond evaluation form
Figure BDA0003828309810000202
Figure BDA0003828309810000211
3. Position data model table
1) General position table
Figure BDA0003828309810000212
Figure BDA0003828309810000221
2) Day bond position table
Figure BDA0003828309810000222
Figure BDA0003828309810000231
Figure BDA0003828309810000241
3) Daily repurchase position table
Figure BDA0003828309810000242
Figure BDA0003828309810000251
Figure BDA0003828309810000261
4. Parameter business data model table
1) Calendar definition table
Name(s) Type (B) Can be empty
DATAID VARchar2(20) N
VERSION NUMBER(15) N
UPDATETIME TIMESTAMP(6) Y
CALENDARID VARchar2(20) Y
CALENDARNAME VARchar2(100) Y
REMARK VARchar2(100) Y
2) Calendar data table
Figure BDA0003828309810000262
Figure BDA0003828309810000271
3) Bond basis definition form
Figure BDA0003828309810000272
Figure BDA0003828309810000281
4) Bond core definition sheet
Figure BDA0003828309810000282
Figure BDA0003828309810000291
Figure BDA0003828309810000301
5) Bond cash flow table
Figure BDA0003828309810000311
Figure BDA0003828309810000321
6) Value-added tax parameter table
Figure BDA0003828309810000322
Figure BDA0003828309810000331
7) Task control table
Name (R) Types of Can be empty
DATAID VARchar2(20) N
UPDATETIME TIMESTAMP(6) Y
PRCNAME VARchar2(128) Y
PRCPARAMETER VARchar2(500) Y
TASKTYPE VARchar2(20) Y
EXESTATUS VARchar2(5) Y
BEGINTIME TIMESTAMP(6) Y
ENDTIME TIMESTAMP(6) Y
REMARK VARchar2(1000) Y
8) Product definition table
Figure BDA0003828309810000332
Figure BDA0003828309810000341
5. Risk data model
1) Risk quota index table
Figure BDA0003828309810000342
Figure BDA0003828309810000351
2) Transaction risk checking table
Name (R) Type (B) Can be empty
DATAID VARchar2(20) N
VERSION NUMBER(15) N
UPDATETIME TIMESTAMP(6) N
DEALID NUMBER(12) Y
DEALTYPE VARchar2(64) Y
CHECKVALUE VARchar2(256) Y
CHECKRESULT char(1) Y
DEALCHKID NUMBER(12) Y
TRRESHOLD VARchar2(32) Y
UNIT VARchar2(64) Y
INDEXCODE VARchar2(32) Y
3) Product income rate table
Figure BDA0003828309810000352
Figure BDA0003828309810000361
4) Deviation degree risk table
Figure BDA0003828309810000362
Figure BDA0003828309810000371
5) Cash proportional risk table
Figure BDA0003828309810000372
Figure BDA0003828309810000381
6. Accounting data model table
1) Subject definition table
Figure BDA0003828309810000382
Figure BDA0003828309810000391
2) Accounting driving table
Name (R) Type (B) Can be empty
DATAID VARchar2(20) N
VERSION NUMBER(15) N
UPDATETIME TIMESTAMP(6) N
BOOK VARchar2(30) N
TRADETYPE VARchar2(20) N
ACCOUNTEVENT VARchar2(30) N
DRCR VARchar2(5) N
ACCOUNTIDFIELD VARchar2(30) N
AMOUNTFIELD VARchar2(30) N
BALANCEDIRECTION VARchar2(5) Y
VOUCHERID VARchar2(20) Y
ACCOUNTGROUP VARchar2(20) Y
3) Subject rule mapping table
Name(s) Type (B) Can be empty
DATAID VARchar2(20) N
VERSION NUMBER(15) N
UPDATETIME TIMESTAMP(6) N
ACCOUNTGROUP VARchar2(20) N
BOOK VARchar2(30) N
AMOUNTFIELD VARchar2(30) Y
ACCOUNTFIELD1 VARchar2(30) Y
ACCOUNTID1 VARchar2(20) Y
ACCOUNTFIELD2 VARchar2(30) Y
ACCOUNTID2 VARchar2(20) Y
ACCOUNTFIELD3 VARchar2(30) Y
ACCOUNTID3 VARchar2(20) Y
ACCOUNTFIELD4 VARchar2(30) Y
ACCOUNTID4 VARchar2(20) Y
ACCOUNTFIELD5 VARchar2(30) Y
ACCOUNTID5 VARchar2(20) Y
ACCOUNTFIELD6 VARchar2(30) Y
ACCOUNTID6 VARchar2(20) Y
4) Subject code mapping table
Figure BDA0003828309810000401
Figure BDA0003828309810000411
5) Accounting clearing table
Figure BDA0003828309810000412
Figure BDA0003828309810000421
6) Accounting voucher table
Figure BDA0003828309810000422
Figure BDA0003828309810000431
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 7 is a block diagram of a service data processing apparatus according to an embodiment of the present invention; as shown in fig. 7, includes:
an obtaining module 701, configured to obtain service data of multiple theme services generated in a target service system in real time;
the processing module 702 is configured to drive real-time concurrent processing on service data of a theme service having a service association relationship based on a service data model matched with the theme service, so as to obtain a plurality of candidate processing results;
a generating module 703 is configured to generate an estimation result matched with the service data in real time by using the plurality of candidate processing results.
According to the scheme provided by the embodiment of the application, the service data of a plurality of theme services generated in real time in the target service system is acquired; based on a business data model matched with the theme business, the business data of the theme business with business association relation is driven to be processed in real time and concurrently, and a plurality of candidate processing results are obtained; and generating an estimation result matched with the service data in real time by using the plurality of candidate processing results. By adopting the technical scheme, the service data of the plurality of theme services generated in real time are concurrently processed in real time by utilizing the plurality of service data models, namely the service data can be immediately processed after being generated, and the system can perform batch processing on the day without waiting for the completion of all services on the day, so that the processing pressure of the server is reduced, and the technical problem that the processing pressure of the server is higher because the scheme provided by the related technology needs to perform batch processing on the service data on the day after all services on the day are completed is solved.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in this embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, acquiring service data of a plurality of theme services generated in real time in a target service system;
s2, based on a service data model matched with the theme service, driving real-time concurrent processing on the service data of the theme service with the service association relation to obtain a plurality of candidate processing results;
and S3, generating an estimation result matched with the service data in real time by using the plurality of candidate processing results.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring service data of a plurality of theme services generated in real time in a target service system;
s2, based on a service data model matched with the theme service, carrying out real-time concurrent processing on the service data of the theme service with the service association relation to obtain a plurality of candidate processing results;
and S3, generating an estimation result matched with the service data in real time by using the plurality of candidate processing results.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized in a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be executed out of order, or separately as individual integrated circuit modules, or multiple modules or steps thereof may be implemented as 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 a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for processing service data is characterized by comprising the following steps:
acquiring service data of a plurality of theme services generated in real time in a target service system;
based on a business data model matched with the theme business, driving real-time concurrent processing on the business data of the theme business with a business incidence relation to obtain a plurality of candidate processing results;
and generating an estimation result matched with the service data in real time by using the plurality of candidate processing results.
2. The method for processing the service data according to claim 1, wherein the step of performing real-time concurrent processing on the service data of the subject service having the service association relationship based on the service data model matched with the subject service to obtain a plurality of candidate processing results comprises:
under the condition that the acquired business data of the theme business is transaction business data, performing transaction accounting processing on the transaction business data to obtain a transaction candidate processing result;
under the condition that the acquired business data of the theme business is clearing business data, clearing account processing is carried out on the clearing business data to obtain a candidate clearing processing result;
and under the condition that the acquired business data of the theme business are transaction business data, parameter business data and market business data, performing position accounting processing on the transaction business data, the parameter business data and the market business data to obtain position candidate processing results.
3. The method for processing business data according to claim 2, wherein the performing position accounting processing on the transaction business data, the parameter business data and the market business data to obtain position candidate processing results comprises:
performing position control processing on the transaction service data, the parameter service data and the market service data to obtain a position control result;
driving valuation profit and loss calculation, interest meter amortization calculation and cost reduction payment calculation based on the position control result to respectively obtain valuation profit and loss result, amortization result and cost reduction payment result;
driving tax calculation processing based on the amortization result and the reimbursement result to obtain a tax calculation result;
and performing position accounting processing based on the valuation profit-loss knot and the tax calculation result to obtain a position candidate processing result.
4. The method for processing service data according to claim 3, wherein the performing position control processing on the transaction service data, the parameter service data and the market service data to obtain a position control result comprises:
updating the parameter service data and the market service data to obtain the updated parameter service data and the market service data;
recalculating the renewed parameter service data and the market service data for the transaction service data, the renewed interest bearing recalculation, the interest bearing update recalculation and the stock recalculation to respectively obtain a renewed interest bearing update result, an interest bearing update result and a stock update result;
generating a position table by using the updated parameter service data, the market service data, the repayment update result, the interest improvement update result and the inventory update result;
and taking the position table as the position control result.
5. The method of claim 2, wherein the generating an estimation result matching the traffic data in real time using the plurality of candidate processing results comprises:
merging the transaction candidate processing result, the clearing candidate processing result and the position candidate processing result to generate an estimation table;
and taking the estimation table as the estimation result.
6. The method for processing service data according to any one of claims 1 to 5, further comprising, after generating an estimation result matching the service data in real time using the plurality of candidate processing results:
updating risk index parameters in the target service system in real time by using the valuation result;
and under the condition that the updated risk index parameters indicate that the risk excess exists in the target theme service, performing service adjustment operation on the target theme service in the current service period.
7. A device for processing service data, comprising:
the acquisition module is used for acquiring the service data of a plurality of theme services generated in real time in the target service system;
the processing module is used for driving real-time concurrent processing on the business data of the theme business with business incidence relation based on the business data model matched with the theme business to obtain a plurality of candidate processing results;
and the generating module is used for generating an estimation result matched with the service data in real time by using the candidate processing results.
8. The apparatus for processing service data according to claim 7, wherein the processing module comprises:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for performing transaction accounting processing on transaction business data under the condition that the obtained business data of the theme business is the transaction business data to obtain a transaction candidate processing result;
the second processing unit is used for carrying out settlement financial processing on the settlement business data under the condition that the obtained business data of the theme business is settlement business data to obtain a settlement candidate processing result;
and the third processing unit is used for performing position accounting processing on the transaction business data, the parameter business data and the market business data under the condition that the acquired business data of the theme business is the transaction business data, the parameter business data and the market business data to obtain position candidate processing results.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202211065667.0A 2022-09-01 2022-09-01 Business data processing method and device, storage medium and electronic device Pending CN115439213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211065667.0A CN115439213A (en) 2022-09-01 2022-09-01 Business data processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211065667.0A CN115439213A (en) 2022-09-01 2022-09-01 Business data processing method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115439213A true CN115439213A (en) 2022-12-06

Family

ID=84244352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211065667.0A Pending CN115439213A (en) 2022-09-01 2022-09-01 Business data processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115439213A (en)

Similar Documents

Publication Publication Date Title
CN110415119B (en) Model training method, bill transaction prediction method, model training device, bill transaction prediction device, storage medium and equipment
US8150764B2 (en) System, program product, and method to authorize draw for retailer optimization
US20120116943A1 (en) System and Method for Processing Contracts for Conditional and Unconditional Forward Sales of Retail Goods
EP1321881A1 (en) Data processing system for automated commission allocation
US20070162376A1 (en) System, method and computer program product for determining a minimum asset value for exercising a contingent claim of an option
US20070150394A1 (en) System, method and computer program product for determining a minimum asset value for exercising a contingent claim of an option
US20070150390A1 (en) System, method and computer program product for performing a contingent claim valuation of a multi-stage option
EP1330749A1 (en) Communication network based system and method for auctioning shares on an investment product
CN106910129B (en) Asset data processing method, client and server
AU2001292891A1 (en) Communication network based system and method for auctioning shares on an investment product
Palmborg et al. Financial position and performance in IFRS 17
JP2007272325A (en) Sma management system and sma management method
CN115439213A (en) Business data processing method and device, storage medium and electronic device
CN110929155B (en) Product information recommendation method and device, electronic equipment and storage medium
US11151651B1 (en) System and method for operating a family of mutual funds or ETFs
Lindholm et al. Financial position and performance in IFRS 17
KR102636876B1 (en) Method for apparatus for automatically quoting bond unit price and apparatus thereof
CN115082238A (en) Method and device for determining virtual resource growth amount, storage medium and electronic device
US11928735B2 (en) Method and apparatus for providing after tax valuation of tax-exempt bonds
JP2002304520A (en) Device for calculating portfolio value and method for the same and its program and recording medium with its program recorded
CN114493847A (en) Data processing method, device and system based on big data environment
CN111626475A (en) Credit credit calculation method based on product diffusion model
CN116823479A (en) Risk control method and device for bond transaction, storage medium and electronic equipment
CN115797074A (en) Account management method and device, electronic equipment and storage medium
US20130138576A1 (en) Systems and methods for implementing a defined maturity equity

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