CN109741165A - A kind of data processing method and electronic equipment of financial system - Google Patents

A kind of data processing method and electronic equipment of financial system Download PDF

Info

Publication number
CN109741165A
CN109741165A CN201811547362.7A CN201811547362A CN109741165A CN 109741165 A CN109741165 A CN 109741165A CN 201811547362 A CN201811547362 A CN 201811547362A CN 109741165 A CN109741165 A CN 109741165A
Authority
CN
China
Prior art keywords
transaction date
subsystem
day
distributed
distributed subsystem
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
CN201811547362.7A
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.)
CITIC Aibank Corp Ltd
Original Assignee
CITIC Aibank Corp 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 CITIC Aibank Corp Ltd filed Critical CITIC Aibank Corp Ltd
Priority to CN201811547362.7A priority Critical patent/CN109741165A/en
Publication of CN109741165A publication Critical patent/CN109741165A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of data processing method of financial system and electronic equipments, order is cut this method comprises: sending first to multiple distributed subsystems using the domestic transaction date respectively, so that distributed subsystem, which is concentrated, receives public service, wherein public service includes the obtaining mode on centralized transaction date;Transmission second day cuts order and uses the centralized transaction date so that distributed subsystem, which cuts order according to second day, cuts operation in the preset time point execution day to distributed subsystem with unified;In distributed subsystem using the centralized transaction date and after preset time period, third day order is cut to distributed subsystem transmission, so that distributed subsystem, which returns, uses the domestic transaction date.This method can make distributed subsystem be able to carry out centralized day to cut operation, can be improved the accuracy of system accounting time while effectively reducing cost, to reduce the bad debt risk of financial system under distributed environment.

Description

A kind of data processing method and electronic equipment of financial system
Technical field
The present invention relates to financial level data processing field, in particular to the data processing method and electronics of a kind of financial system Equipment.
Background technique
In the financial systems such as bank, in the different application subsystem of account information dissemination, such as kernel subsystems, credit System, account tube system etc..As operation expanding and subsystem increase, the subsystem comprising account information will be continued growing.Respectively Containing the business date of oneself and date hand-off process mechanism in account subsystem, such as each subsystem can carry out respectively respectively Cut day operation the time of system accounting (replace), but due to the odjective cause of some column, when such as controlling time difference, machine The reasons such as clock deviation can not accurately accomplish switching while accounting date, therefore, need to establish and unified day cut mechanism, carry out Collaboration between each billing and accounting system, but current data processing generally requires expensive hardware support, and does not have flexibility, especially It is even more that cannot achieve accurate day to cut operation in distributed financial system, and application subsystem is caused pending accounts, wrong account occur Deng financial accident phenomenon.
Summary of the invention
The data processing method and electronic equipment for being designed to provide a kind of financial system of the embodiment of the present invention, this method Distributed subsystem can be made to be able to carry out under distributed environment and centralized day cut operation, energy while effectively reducing cost The accuracy of system accounting time is improved, enough to reduce the bad debt risk of financial system.
In order to solve the above-mentioned technical problem, embodiments herein adopts the technical scheme that a kind of financial system Data processing method, comprising:
It is sent first to multiple distributed subsystems using the domestic transaction date respectively and cuts order, so that the distribution Subsystem, which is concentrated, receives public service, and each distributed subsystem reads the centralized transaction date from master control is cut day, wherein the public affairs Service includes the obtaining mode on centralized transaction date altogether;
It sends second day and cuts order to the distributed subsystem, so that the distributed subsystem is according to the second day It cuts order and cuts operation in the preset time point execution day, that completes the centralized transaction date cuts day, uses the centralized transaction with unified Date;
In the distributed subsystem using the centralized transaction date and after preset time period, to the distribution Third day is cut order in subsystem transmission, allows each distributed subsystem to terminate to cut master control reading trade date from day, so that described point Cloth subsystem, which returns, uses the domestic transaction date.
In some embodiments, described to send first to multiple distributed subsystems using the domestic transaction date respectively Day cuts order, so that each distributed subsystem starts to cut the master control reading centralized transaction date from day, makes the distributed subsystem Concentration receives public service
It sends first and cuts to the multiple distributed subsystem using the domestic transaction date respectively in first time point Order, so that the distributed subsystem calls the micro services prestored;
The micro services are verified, and when verification result meets the first preset condition, drives the distribution formula System obtains the centralized transaction date according to the obtaining mode received, wherein the micro services are configured to driving institute It states distributed subsystem to abandon using the domestic transaction date, and concentrates and obtain the centralized transaction date.
In some embodiments, the transmission second day cuts order to the distributed subsystem, so that the distribution Subsystem cuts order according to the second day and cuts operation in the preset time point execution day, to complete cutting for centralized transaction date Day, include: using the centralized transaction date with unified
Analyze the operating result that branch's subsystem cuts operation in the execution day;
The centralized transaction date is still not used by pre-determined number when judging branch's subsystem, then described in driving Distributed subsystem was transferred using the domestic transaction date.
In some embodiments, described using the centralized transaction date and to pass through default in the distributed subsystem After period, third day is cut order in the transmission of Xiang Suoshu distributed subsystem, and each distributed subsystem is allowed to terminate to cut master control reading from day Trade date is taken, switchs to read trade date from local, so that the distributed subsystem, which returns, uses the domestic transaction day Phase specifically includes:
The distributed subsystem is driven to be based on the third day cutting order and exiting the micro services, so that the distribution Subsystem independent operating simultaneously uses the domestic transaction date returning, and switchs in distributed subsystem from the transaction locally read After date, also completes and cut day.
In some embodiments, after the distributed subsystem uniformly uses the centralized transaction date, the method Further include:
When judging that the distributed subsystem is still based on the domestic transaction date and carries out default financial processing operation, Refuse the distributed subsystem and carries out the default financial processing operation;
It drives the distributed subsystem to reacquire and uses the centralized transaction date, to be based on the centralized transaction Date re-starts the default financial processing operation, wherein the default financial processing operation includes dynamic account processing operation.
In some embodiments, the method also includes:
When being abnormal mistake during judging that the distributed subsystem execution day cuts order, generate corresponding wrong False information;
The process for carrying out manual intervention to the distributed subsystem according to error message starting, wherein the day cuts Order comprises at least one of the following: cutting order within described first day, the second day cuts order or the third day cuts order.
In some embodiments, the method also includes:
After judging that the distributed subsystem gets the centralized transaction date, covered with the centralized transaction date Fall the domestic transaction date, to form the current domestic transaction date.
The embodiment of the invention also provides a kind of electronic equipment, comprising: memory and processor, the memory are stored with Executable program, the processor execute the executable program to carry out following steps:
It is sent first to multiple distributed subsystems using the domestic transaction date respectively and cuts order, so that the distribution Subsystem, which is concentrated, receives public service, wherein the public service includes the obtaining mode on centralized transaction date;
It sends second day and cuts order to the distributed subsystem, so that the distributed subsystem is according to the second day It cuts order and cuts operation in the preset time point execution day, use the centralized transaction date with unified;
In the distributed subsystem using the centralized transaction date and after preset time period, to the distribution Third day is cut order in subsystem transmission, so that the distributed subsystem, which returns, uses the domestic transaction date.
In some embodiments, the processor executes the executable program further progress following steps:
It sends first and cuts to the multiple distributed subsystem using the domestic transaction date respectively in first time point Order, so that the distributed subsystem calls the micro services prestored;
The micro services are verified, and when verification result meets the first preset condition, drives the distribution formula System obtains the centralized transaction date according to the obtaining mode received, wherein the micro services are configured to driving institute It states distributed subsystem to abandon using the domestic transaction date, and concentrates and obtain the centralized transaction date.
In some embodiments, the processor executes the executable program further progress following steps:
Analyze the operating result that branch's subsystem cuts operation in the execution day;
The centralized transaction date is still not used by pre-determined number when judging branch's subsystem, then described in driving Distributed subsystem was transferred using the domestic transaction date.
The beneficial effect of the embodiment of the present invention is: this method can enable distributed subsystem under distributed environment Enough centralizations that carries out cut operation day, can be improved the accuracy of system accounting time while effectively reducing cost, to reduce gold Melt the bad debt risk of system.
Detailed description of the invention
Fig. 1 is the flow chart of the data processing method of the financial system of the embodiment of the present invention;
Fig. 2 is the flow chart of step S1 in Fig. 1 of the embodiment of the present invention;
Fig. 3 is the flow chart of step S2 in Fig. 1 of the embodiment of the present invention;
Fig. 4 is the flow chart of a specific embodiment of the data processing method of the financial system of the embodiment of the present invention;
Fig. 5 is the flow chart of another specific embodiment of the data processing method of the financial system of the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention;
Fig. 7 is the electronic equipment of the embodiment of the present invention and the connection relationship diagram of distributed subsystem.
Specific embodiment
In order to enable the purposes, technical schemes and advantages of the embodiment of the present disclosure are clearer, below in conjunction with disclosure reality The technical solution of the embodiment of the present disclosure is clearly and completely described in the attached drawing for applying example.Obviously, described embodiment is A part of this disclosure embodiment, instead of all the embodiments.Based on described embodiment of the disclosure, this field is common Technical staff's every other embodiment obtained under the premise of being not necessarily to creative work, belongs to the model of disclosure protection It encloses.
Unless otherwise defined, the technical term or scientific term that the disclosure uses should be tool in disclosure fields The ordinary meaning for thering is the personage of general technical ability to be understood." first ", " second " used in the disclosure and similar word are simultaneously Any sequence, quantity or importance are not indicated, and are used only to distinguish different parts." comprising " or "comprising" etc. are similar Word mean to occur element or object before the word cover the element for appearing in the word presented hereinafter or object and its It is equivalent, and it is not excluded for other elements or object.The similar word such as " connection " or " connected " be not limited to physics or The connection of person's machinery, but may include electrical connection, it is either direct or indirect."upper", "lower", " left side ", " right side " etc. is only used for indicating relative positional relationship, after the absolute position for being described object changes, then the relative positional relationship May correspondingly it change.
In order to keep the following explanation of the embodiment of the present disclosure to understand and concise, known function and known portion is omitted in the disclosure The detailed description of part.
A kind of data processing method of financial system of the embodiment of the present invention, financial system can be the gold such as bank, insurance The system for melting field, in the financial system, account information dissemination in different distributed subsystems, as kernel subsystems, Credit subsystem, account tube system etc., although each different position that each distributed subsystem can be arranged (including Different location physically and different location in logic), but (can also be such as based on preset electronic equipment respectively The server of Nginx) connection, so that the electronic equipment can coordinate each distributed subsystem, including driving is each Operation is cut in distributed subsystem progress day, and cutting operation the day is the time for replacing system accounting, each distributed subsystem From subsequent work day is switched to work at present day, transaction can submit and handle as usual data and return during cutting day.Such as Fig. 1 It is shown and combine Fig. 7, method includes the following steps:
S1 sends first to multiple distributed subsystems using the domestic transaction date cut order respectively, so that distribution Subsystem, which is concentrated, receives public service, and wherein public service includes the obtaining mode on centralized transaction date.Cut order within 1st Component can be cut by least one preset day to be sent in multiple distributed subsystems, such as carried out by gateway one by one It concentrates and sends, so that each distributed subsystem is based on cutting order and receiving public service for 1st, thus each distribution subsystem System is read the centralized transaction date from master control is cut day, which can be by electronics such as the servers that connect with distributed subsystem Equipment (such as based on the server of Nginx) generates, and by server active transmission or passively by each distributed subsystem To obtain.And the time that order is cut in the transmission of the electronic equipments such as server on the 1st can be arranged according to actual needs, such as choose In the unified previous time point (such as before half an hour) for using the centralized transaction date, guarantee that distributed subsystem can receive, And there is grace time to make preparation.In the present embodiment, the centralized transaction date is that the electronic equipments such as server carry out concentrating publication Trade date embodies the accuracy for concentrating publication.In addition, including the acquisition mould on centralized transaction date in the data of public service The information such as formula, so that distributed subsystem quickly can accurately get the centralized transaction date according to the obtaining mode, The centralized transaction date is such as obtained according to the interface of obtaining mode offer or address information.
S2 sends second day and cuts order to distributed subsystem, exists so that distributed subsystem cuts order according to second day The preset time point execution day cuts operation, uses the centralized transaction date with unified, that completes the centralized transaction date cuts day.It is specific next It says, the electronic equipments such as server can send second day and cut order to distributed subsystem, such as day cut group by one or more Part issues.In one embodiment, cutting component multiple day can be by the storage system based on redis (such as connection mysql number According to the storage system of the double redis configurations of the principal and subordinate in library) it configures, and each distributed subsystem is sent to via the gateway of connection System, so that each distributed subsystem cuts operation in the preset time point execution day, such as while receiving second day and cutting order (i.e. preset time point) soon the execution day cuts operation, or cuts other preset time point execution days as defined in order in second day Cut operation.And then each distributed subsystem can enable the centralized transaction date at same time point, that is, ensure that each point The consistency of the trade date of cloth subsystem.
S3 is sent out in distributed subsystem using the centralized transaction date and after preset time period to distributed subsystem Send third day to cut order so that distributed subsystem return use the domestic transaction date, thus each distributed subsystem terminate from It cuts master control day and reads trade date, then read trade date from local.Above-mentioned preset time period can be according to hardware or tool Body financial business is arranged, such as according to the data-handling capacity of hardware, according to the transmittability of network or according to financial business The information such as many and diverse degree be arranged.After preset time period (such as five minutes), each distributed subsystem is simultaneously or first The centralized transaction date got has been used afterwards, at this time in order not to increase added burden to entire financial system, has been guaranteed distributed Distributed subsystem can be obtained the mode of trade date by transferring to change by concentrating to obtain by the autonomous working mode of subsystem For Distributed Acquisition, that is, so that each distributed subsystem, which returns, uses the domestic transaction date, and no longer collected from server Middle acquisition.The distributed work mode that the centralized transaction date in turn ensures distributed subsystem is accurately obtained, thus real In the lower situation of present cost, the flexibility and accuracy for cutting operation day are improved, each distributed subsystem is avoided and goes out The financial accident phenomenons such as existing pending accounts, wrong account.
In one embodiment of the invention, as shown in Fig. 2, it is described respectively to multiple points using the domestic transaction date Cloth subsystem sends first and cuts order, so that it includes following step that distributed subsystem, which concentrates the step of receiving public service, It is rapid:
S11 sends first respectively to multiple distributed subsystems using the domestic transaction date in first time point and cuts Order, so that distributed subsystem calls the micro services prestored.
S12 verifies micro services, and when verification result meets the first preset condition, drives distributed subsystem The centralized transaction date is obtained according to the obtaining mode received, wherein micro services are configured to driving distributed subsystem and abandon making With the domestic transaction date, and concentrates and obtain the centralized transaction date.
Micro services can be stored in advance in each distributed subsystem or other are preset in storage regions, so that respectively A distributed subsystem can cut order on the 1st and can call the micro services rapidly once being connected to, and micro services can be a life It enables so that each distributed subsystem was abandoned using the domestic transaction date, then started the process for obtaining the centralized transaction date.It keeps away The domestic transaction date that each distributed subsystem still uses Time Inconsistency is exempted from.Furthermore the first preset condition can basis Actual use situation is specifically set, and as the first preset condition can be, micro services are lawful order or micro services are to meet The order of service life, certain first preset condition is also possible to the set of a variety of different verification modes, then in incognito Business verified after if ensure that the correctness and validity of micro services when verification result meets the first preset condition, into And ensure that each distributed subsystem can get the correct centralized transaction date according to the obtaining mode received.
In one embodiment of the invention, as shown in figure 3, the transmission second day cuts order to distributed subsystem System is handed over unified using concentration so that distributed subsystem, which cuts order according to second day, cuts operation in the preset time point execution day The step of easy date includes with step:
S21, analysis branch's subsystem cut the operating result of operation in the execution day;
S22, when judge branch's subsystem by pre-determined number still be not used the centralized transaction date, then drive distribution formula System was transferred using the domestic transaction date.
Due to distributed subsystem mistake itself, the mistake of network transmission or other nameless mistakes are distributed formula System may be by repeatedly unsuccessful to the server acquisition centralized transaction date, certainly after receiving second day and cutting order It not will use the centralized transaction date, that is, judge that the centralized transaction date is still not used by pre-determined number in branch's subsystem, drive Dynamic distributed subsystem that mistake occurs transfers the domestic transaction date stored using itself, ensure that the distributed subsystem Financial business can be normally carried out occurring and cutting mistake day, such as judges that the continuous n times of the distributed subsystem obtain and concentrates Trade date failure then changes the trade date acquisition modes of the distributed subsystem automatically, then obtains the domestic transaction date. Furthermore in one embodiment, which can be generated corresponding journal file, and be stored, so as to then to its into Error reason is found in row analysis.
In one embodiment of the invention, described using the centralized transaction date and to pass through default in distributed subsystem After period, third day order is cut to distributed subsystem transmission, so that distributed subsystem, which returns, uses the domestic transaction date The step of the following steps are included: driving distributed subsystem is based on third day cutting order and exiting micro services, so that distributed subsystem System independent operating simultaneously uses the domestic transaction date returning.
Specifically, it in order to restore the distributed frame of entire financial system, avoids occupying excessive system resource, service Device can use the centralized transaction date and after preset time period (after such as five minutes) in distributed subsystem, to distribution Order is cut in subsystem transmission third day, and driving distributed subsystem, which is based on third day cutting order, exits micro services.Such as it can be It receives and exits micro services while third day cutting order, no longer concentrate and obtain the centralized transaction date, then use domestic transaction On the date, the domestic transaction date at this time can be the centralized transaction date just obtained, ensure that each distributed subsystem makes It is substantially to have used identical date data when with the respective domestic transaction date.
In one embodiment of the invention, as shown in figure 4, uniformly using the centralized transaction date in distributed subsystem Afterwards, the method also includes following steps:
S4, when judging that distributed subsystem is still based on the domestic transaction date and carries out default financial processing operation, refusal Distributed subsystem carries out default financial processing operation;
S5 drives distributed subsystem to reacquire and uses the centralized transaction date, to be based on the centralized transaction date again Carry out default financial processing operation, wherein default finance processing operation includes dynamic account processing operation.
Default finance processing operation can be the important operation for involving the variation of fund, and distributed subsystem cut day Can handle respective business during the entire process of operation, but during using the centralized transaction date it is possible that The phenomenon that delay uses, in order to guarantee crucial financial operation (such as dynamic account processing operation, that is, involving the operation of fund variation) no There is mistake, then it, can be with when judge that distributed subsystem is still based on the domestic transaction date and carries out default finance processing operation The default financial processing operation for refusing distributed subsystem progress, drives distributed subsystem to reacquire and concentration is used to hand over The easy date so that the distributed subsystem is available and uses the centralized transaction date, and then makes the distributed subsystem again The default financial processing operation being rejected is re-started, to ensure that the accuracy of processing data.
In one embodiment of the invention, as shown in figure 5, the method also includes following steps:
S6 when being abnormal mistake during judging that the distributed subsystem execution day cuts order, is generated corresponding wrong False information;
S7 carries out the process of manual intervention according to error message starting to distributed subsystem, and wherein day cutting order includes Following at least one: order is cut within 1st, second day cuts order or third day cuts order.
Specifically, distributed subsystem executes first and cuts order, second day cuts order or cut the mistake of order third day Mistake may be abnormal in journey, being such as switched to after reading the centralized transaction date cannot switch to using the domestic transaction date, or Person's distributed subsystem can not carry out the switching of trade date at all.It can be carried out at this time according to the mistake of generation artificial to start Intervention process such as carries out artificial handover operation according to the reason of mistake, if manual switching is using the domestic transaction date or to cut It is changed to using centralized transaction date etc., guarantees that each distributed subsystem can operate normally.
In one embodiment of the invention, the method also includes following steps: when judge distributed subsystem obtain To after the centralized transaction date, the domestic transaction date is override with the centralized transaction date, to form the current domestic transaction date.Specifically For, distributed subsystem then will carry out corresponding financial business according to the centralized transaction date after getting the centralized transaction date Operation can then use concentration to can also be convenient to use the centralized transaction date in the case where guaranteeing distributed frame Trade date overrides the domestic transaction date, can directly to be called the domestic transaction date from local when in use, and nothing It need to be called again by the acquisition modes of centralization, improve service efficiency.
Present invention implementation additionally provides a kind of electronic equipment, which (such as can be base in financial system In the server of Nginx), the system which can be the financial fields such as bank, insurance, in the financial system, account Information dissemination be engaged in different distributed subsystems, such as kernel subsystems, credit subsystem, account tube system, but it is each Although each different position that a distributed subsystem can be arranged is (including different location physically and difference in logic Position), but can also be connect respectively with the electronic equipment (such as based on the server of Nginx), so that the electronic equipment can Each distributed subsystem is coordinated, including operation is cut in driving each distributed subsystem progress day, the day cuts behaviour Work is the time for replacing system accounting, and each distributed subsystem is switched to subsequent work day from work at present day, day cuts through journey Middle transaction can submit and handle as usual data and return.As shown in fig. 6, the electronic equipment includes: memory and processor, Memory is stored with executable program, and the processor executes the executable program to carry out following steps (as shown in Figure 1 simultaneously In conjunction with Fig. 7):
S1 sends first to multiple distributed subsystems using the domestic transaction date cut order respectively, so that distribution Subsystem, which is concentrated, receives public service, and wherein public service includes the obtaining mode on centralized transaction date.Cut order within 1st Component can be cut by least one preset day to be sent in multiple distributed subsystems, such as carried out by gateway one by one It concentrates and sends, so that each distributed subsystem is based on cutting order and receiving public service for 1st, which can be by Electronic equipment (such as based on the server of Nginx) generates, and by the electronic equipments such as server active transmission or passively by each A distributed subsystem obtains.And the electronic equipments such as server transmission time for cutting order on the firstth can be according to actual needs It is arranged, is such as chosen at the unified previous time point (such as before half an hour) for using the centralized transaction date, guarantees distributed subsystem It can receive, and there is grace time to make preparation.In the present embodiment, the centralized transaction date be the electronic equipments such as server into Row concentrates the trade date of publication, embodies the accuracy for concentrating publication.In addition, including centralized transaction in the data of public service The information such as the obtaining mode on date, so that distributed subsystem quickly can accurately get collection according to the obtaining mode Middle trade date, such as the centralized transaction date is obtained according to the interface of obtaining mode offer or address information.
S2 sends second day and cuts order to distributed subsystem, exists so that distributed subsystem cuts order according to second day The preset time point execution day cuts operation, uses the centralized transaction date with unified.Specifically, the electronic equipments such as server can be sent out It send second day to cut order to distributed subsystem, component is such as cut day by one or more and is issued.In one embodiment, this is more Cutting component a day can be by the storage system based on redis (as what the double redis of the principal and subordinate of connection mysql database were configured deposits Storage system) it is configured, and it is sent to each distributed subsystem via the gateway of connection, so that each distributed subsystem exists The preset time point execution day cuts operation, such as (i.e. preset time point) soon execution day while receiving second day and cutting order Operation is cut, or cuts other preset time point execution days as defined in order in second day and cuts operation.And then each distributed subsystem System can enable the centralized transaction date at same time point, that is, ensure that the consistent of the trade date of each distributed subsystem Property.
S3 is sent out in distributed subsystem using the centralized transaction date and after preset time period to distributed subsystem Third day is sent to cut order, so that distributed subsystem, which returns, uses the domestic transaction date.Above-mentioned preset time period can basis Hardware or specific financial business are arranged, such as according to the data-handling capacity of hardware, according to the transmittability of network or according to The information such as many and diverse degree of financial business are arranged.After preset time period (such as five minutes), each distributed subsystem is same When or successively used the centralized transaction date got, at this time in order not to entire financial system increase added burden, protect The autonomous working mode of distributed subsystem is demonstrate,proved, distributed subsystem can be obtained to the mode of trade date by obtaining by concentrating It takes then is changed to Distributed Acquisition, that is, so that each distributed subsystem, which returns, uses the domestic transaction date, and no longer from service Device carries out concentration acquisition.Accurately obtain the distributed work side that the centralized transaction date in turn ensures distributed subsystem Formula improves the flexibility and accuracy for cutting operation day, avoids each distribution to realize in the case where cost is relatively low There are the financial accident phenomenons such as pending accounts, wrong account in subsystem.
In one embodiment of the invention, as shown in Fig. 2, processor execution executable program further progress walks as follows It is rapid:
S11 sends first respectively to multiple distributed subsystems using the domestic transaction date in first time point and cuts Order, so that distributed subsystem calls the micro services prestored.
S12 verifies micro services, and when verification result meets the first preset condition, drives distributed subsystem The centralized transaction date is obtained according to the obtaining mode received, wherein micro services are configured to driving distributed subsystem and abandon making With the domestic transaction date, and concentrates and obtain the centralized transaction date.
Micro services can be stored in advance in each distributed subsystem or other are preset in storage regions, so that respectively A distributed subsystem can cut order on the 1st and can call the micro services rapidly once being connected to, and micro services can be a life It enables so that each distributed subsystem was abandoned using the domestic transaction date, then started the process for obtaining the centralized transaction date.It keeps away The domestic transaction date that each distributed subsystem still uses Time Inconsistency is exempted from.Furthermore the first preset condition can basis Actual use situation is specifically set, and as the first preset condition can be, micro services are lawful order or micro services are to meet The order of service life, certain first preset condition is also possible to the set of a variety of different verification modes, then in incognito Business verified after if ensure that the correctness and validity of micro services when verification result meets the first preset condition, into And ensure that each distributed subsystem can get the correct centralized transaction date according to the obtaining mode received.
In one embodiment of the invention, as shown in figure 3, processor execution executable program further progress walks as follows It is rapid:
S21, analysis branch's subsystem cut the operating result of operation in the execution day;
S22, when judge branch's subsystem by pre-determined number still be not used the centralized transaction date, then drive distribution formula System was transferred using the domestic transaction date.
Due to distributed subsystem mistake itself, the mistake of network transmission or other nameless mistakes are distributed formula System may be by repeatedly unsuccessful to the server acquisition centralized transaction date, certainly after receiving second day and cutting order It not will use the centralized transaction date, that is, judge that the centralized transaction date is still not used by pre-determined number in branch's subsystem, drive Dynamic distributed subsystem that mistake occurs transfers the domestic transaction date stored using itself, ensure that the distributed subsystem Financial business can be normally carried out occurring and cutting mistake day, such as judging the continuous N of the distributed subsystem, this obtains concentration Trade date failure then changes the trade date acquisition modes of the distributed subsystem automatically, then obtains the domestic transaction date. Furthermore in one embodiment, which can be generated corresponding journal file, and be stored, so as to then to its into Error reason is found in row analysis.
In one embodiment of the invention, processor executes executable program further progress following steps: driving point Cloth subsystem is based on third day cutting order and exiting micro services, so as to distributed subsystem independent operating and return using local Trade date.
Specifically, it in order to restore the distributed frame of entire financial system, avoids occupying excessive system resource, service Device can use the centralized transaction date and after preset time period (after such as five minutes) in distributed subsystem, to distribution Order is cut in subsystem transmission third day, and driving distributed subsystem, which is based on third day cutting order, exits micro services.Such as it can be It receives and exits micro services while third day cutting order, no longer concentrate and obtain the centralized transaction date, then use domestic transaction On the date, the domestic transaction date at this time can be the centralized transaction date just obtained, ensure that each distributed subsystem makes It is substantially to have used identical date data when with the respective domestic transaction date.
In one embodiment of the invention, as shown in figure 4, uniformly using the centralized transaction date in distributed subsystem Afterwards, processor executes executable program further progress following steps:
S4, when judging that distributed subsystem is still based on the domestic transaction date and carries out default financial processing operation, refusal Distributed subsystem carries out default financial processing operation;
S5 drives distributed subsystem to reacquire and uses the centralized transaction date, to be based on the centralized transaction date again Carry out default financial processing operation, wherein default finance processing operation includes dynamic account processing operation.
Default finance processing operation can be the important operation for involving the variation of fund, and distributed subsystem cut day Can handle respective business during the entire process of operation, but during using the centralized transaction date it is possible that The phenomenon that delay uses, in order to guarantee crucial financial operation (such as dynamic account processing operation, that is, involving the operation of fund variation) no There is mistake, then it, can be with when judge that distributed subsystem is still based on the domestic transaction date and carries out default finance processing operation The default financial processing operation for refusing distributed subsystem progress, drives distributed subsystem to reacquire and concentration is used to hand over The easy date so that the distributed subsystem is available and uses the centralized transaction date, and then makes the distributed subsystem again The default financial processing operation being rejected is re-started, to ensure that the accuracy of processing data.
In one embodiment of the invention, as shown in figure 5, processor execution executable program further progress walks as follows It is rapid:
S6 when being abnormal mistake during judging that the distributed subsystem execution day cuts order, is generated corresponding wrong False information;
S7 carries out the process of manual intervention according to error message starting to distributed subsystem, and wherein day cutting order includes Following at least one: order is cut within 1st, second day cuts order or third day cuts order.
Specifically, distributed subsystem executes first and cuts order, second day cuts order or cut the mistake of order third day Exception error may be freeed in journey, being such as switched to after reading the centralized transaction date cannot switch to using the domestic transaction date, or Person's distributed subsystem can not carry out the switching of trade date at all.It can be carried out at this time according to the mistake of generation artificial to start Intervention process such as carries out artificial handover operation according to the reason of mistake, if manual switching is using the domestic transaction date or to cut It is changed to using centralized transaction date etc., guarantees that each distributed subsystem can operate normally.
In one embodiment of the invention, processor executes executable program further progress following steps: working as judgement After distributed subsystem gets the centralized transaction date, the domestic transaction date is override with the centralized transaction date, it is current to be formed The domestic transaction date.Specifically, distributed subsystem then will be according to the centralized transaction date after getting the centralized transaction date Corresponding financial business operation is carried out, in order to also be convenient to use the centralized transaction in the case where guaranteeing distributed frame Date then can override the domestic transaction date with the centralized transaction date, can be directly somebody's turn to do when in use from local call The domestic transaction date improves service efficiency without calling again by the acquisition modes of centralization.
Above embodiments are only exemplary embodiment of the present invention, are not used in the limitation present invention, protection scope of the present invention It is defined by the claims.Those skilled in the art can within the spirit and scope of the present invention make respectively the present invention Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as being within the scope of the present invention.

Claims (10)

1. a kind of data processing method of financial system characterized by comprising
It is sent first to multiple distributed subsystems using the domestic transaction date respectively and cuts order, so that the distribution formula System, which is concentrated, receives public service, and each distributed subsystem reads the centralized transaction date from master control is cut day, wherein the public clothes Business includes the obtaining mode on centralized transaction date;
It sends second day and cuts order to the distributed subsystem, so that the distributed subsystem cuts life according to the second day It enables and cuts operation in the preset time point execution day, that completes the centralized transaction date cuts day, uses the centralized transaction date with unified;
In the distributed subsystem using the centralized transaction date and after preset time period, to the distributed subsystem System sends and third day cuts order, allows each distributed subsystem to terminate to cut master control reading trade date from day, so that the distribution Subsystem, which returns, uses the domestic transaction date.
2. the method according to claim 1, wherein described respectively to multiple points using the domestic transaction date Cloth subsystem sends first and cuts order, so that distributed subsystem concentration reception public service includes:
It is sent first to the multiple distributed subsystem using the domestic transaction date respectively in first time point and cuts order, So that the distributed subsystem calls the micro services prestored;
The micro services are verified, and when verification result meets the first preset condition, drive the distributed subsystem The centralized transaction date is obtained according to the obtaining mode received, wherein the micro services are configured to described point of driving Cloth subsystem was abandoned using the domestic transaction date, and was concentrated and obtained the centralized transaction date.
3. the method according to claim 1, wherein the transmission second day cuts order to the distribution formula System, so that the distributed subsystem, which cuts order according to the second day, cuts operation in the preset time point execution day, with unified Include: using the centralized transaction date
Analyze the operating result that the distributed subsystem cuts operation in the execution day;
The centralized transaction date is still not used by pre-determined number when judging the distributed subsystem, then drives the distribution Subsystem was transferred using the domestic transaction date.
4. according to the method described in claim 2, it is characterized in that, described use the concentration in the distributed subsystem Trade date and after preset time period, third day is cut order in the transmission of Xiang Suoshu distributed subsystem, so that the distribution Subsystem was returned using the domestic transaction date
The distributed subsystem is driven to be based on the third day cutting order and exiting the micro services, so that the distribution subsystem System independent operating simultaneously returns again to the use domestic transaction date.
5. the method according to claim 1, wherein uniformly being handed over using the concentration in the distributed subsystem After the easy date, the method also includes:
When judging that the distributed subsystem is still based on the domestic transaction date and carries out default financial processing operation, refusal The distributed subsystem carries out the default financial processing operation;
It drives the distributed subsystem to reacquire and uses the centralized transaction date, to be based on the centralized transaction date Re-start the default financial processing operation, wherein the default financial processing operation includes dynamic account processing operation.
6. the method according to claim 1, wherein the method also includes:
When being abnormal mistake during judging that the distributed subsystem execution day cuts order, corresponding mistake letter is generated Breath;
The process for carrying out manual intervention to the distributed subsystem according to error message starting, wherein the day cuts order It comprises at least one of the following: cutting order within described first day, the second day cuts order or the third day cuts order.
7. the method according to claim 1, wherein the method also includes:
After judging that the distributed subsystem gets the centralized transaction date, institute is override with the centralized transaction date The domestic transaction date is stated, to form the current domestic transaction date.
8. a kind of electronic equipment characterized by comprising memory and processor, the memory are stored with executable program, The processor executes the executable program to carry out following steps:
It is sent first to multiple distributed subsystems using the domestic transaction date respectively and cuts order, so that the distribution formula System, which is concentrated, receives public service, wherein the public service includes the obtaining mode on centralized transaction date;
It sends second day and cuts order to the distributed subsystem, so that the distributed subsystem cuts life according to the second day It enables and cuts operation in the preset time point execution day, use the centralized transaction date with unified;
In the distributed subsystem using the centralized transaction date and after preset time period, to the distributed subsystem System sends and third day cuts order, so that the distributed subsystem, which returns, uses the domestic transaction date.
9. electronic equipment according to claim 8, which is characterized in that the processor executes the executable program into one Step carries out following steps:
It is sent first to the multiple distributed subsystem using the domestic transaction date respectively in first time point and cuts order, So that the distributed subsystem calls the micro services prestored;
The micro services are verified, and when verification result meets the first preset condition, drive the distributed subsystem The centralized transaction date is obtained according to the obtaining mode received, wherein the micro services are configured to described point of driving Cloth subsystem was abandoned using the domestic transaction date, and was concentrated and obtained the centralized transaction date.
10. electronic equipment according to claim 8, which is characterized in that the processor execute the executable program into One step carries out following steps:
Analyze the operating result that branch's subsystem cuts operation in the execution day;
The centralized transaction date is still not used by pre-determined number when judging branch's subsystem, then drives the distribution Subsystem was transferred using the domestic transaction date.
CN201811547362.7A 2018-12-18 2018-12-18 A kind of data processing method and electronic equipment of financial system Pending CN109741165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811547362.7A CN109741165A (en) 2018-12-18 2018-12-18 A kind of data processing method and electronic equipment of financial system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811547362.7A CN109741165A (en) 2018-12-18 2018-12-18 A kind of data processing method and electronic equipment of financial system

Publications (1)

Publication Number Publication Date
CN109741165A true CN109741165A (en) 2019-05-10

Family

ID=66360388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811547362.7A Pending CN109741165A (en) 2018-12-18 2018-12-18 A kind of data processing method and electronic equipment of financial system

Country Status (1)

Country Link
CN (1) CN109741165A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263096A (en) * 2019-06-14 2019-09-20 深圳前海微众银行股份有限公司 Batch processing method, system, device, equipment and medium based on distributed environment
CN111369333A (en) * 2020-02-28 2020-07-03 中国工商银行股份有限公司 Daily cutting cooperative processing method and system for distributed system
CN111382028A (en) * 2020-03-05 2020-07-07 中国银行股份有限公司 Method and device for processing date switching errors of batch processing system and server
CN111626733A (en) * 2020-05-21 2020-09-04 链博(成都)科技有限公司 Supply chain financial service system based on block chain
CN113095840A (en) * 2021-04-30 2021-07-09 中国银行股份有限公司 Method, device and equipment for distributed transaction suspension continuous operation
CN114070849A (en) * 2021-11-15 2022-02-18 上海通联金融服务有限公司 Method and system for centralized management and control of subsystem service date

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150269033A1 (en) * 2011-12-12 2015-09-24 Microsoft Technology Licensing, Llc Techniques to manage collaborative documents
CN106157129A (en) * 2015-04-17 2016-11-23 阿里巴巴集团控股有限公司 One realizes distributed system across time domain coherence method and device
CN107453831A (en) * 2016-05-31 2017-12-08 阿里巴巴集团控股有限公司 The method for synchronizing time and device of distributed transaction system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150269033A1 (en) * 2011-12-12 2015-09-24 Microsoft Technology Licensing, Llc Techniques to manage collaborative documents
CN106157129A (en) * 2015-04-17 2016-11-23 阿里巴巴集团控股有限公司 One realizes distributed system across time domain coherence method and device
CN107453831A (en) * 2016-05-31 2017-12-08 阿里巴巴集团控股有限公司 The method for synchronizing time and device of distributed transaction system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263096A (en) * 2019-06-14 2019-09-20 深圳前海微众银行股份有限公司 Batch processing method, system, device, equipment and medium based on distributed environment
CN111369333A (en) * 2020-02-28 2020-07-03 中国工商银行股份有限公司 Daily cutting cooperative processing method and system for distributed system
CN111369333B (en) * 2020-02-28 2023-08-29 中国工商银行股份有限公司 Day-cut cooperative processing method and system for distributed system
CN111382028A (en) * 2020-03-05 2020-07-07 中国银行股份有限公司 Method and device for processing date switching errors of batch processing system and server
CN111382028B (en) * 2020-03-05 2023-08-18 中国银行股份有限公司 Method, device and server for processing date switching errors of batch processing system
CN111626733A (en) * 2020-05-21 2020-09-04 链博(成都)科技有限公司 Supply chain financial service system based on block chain
CN113095840A (en) * 2021-04-30 2021-07-09 中国银行股份有限公司 Method, device and equipment for distributed transaction suspension continuous operation
CN114070849A (en) * 2021-11-15 2022-02-18 上海通联金融服务有限公司 Method and system for centralized management and control of subsystem service date

Similar Documents

Publication Publication Date Title
CN109741165A (en) A kind of data processing method and electronic equipment of financial system
US10682761B2 (en) System and method for detecting and fixing robotic process automation failures
CN110310088A (en) Workflow configuration method and Related product
CN110147225A (en) A kind of code generating method, device and computer equipment, storage medium
CN106462450A (en) Notification about virtual machine live migration to VNF manager
CN108319538B (en) The monitoring method and system of big data platform operating status
CN102385718A (en) Methods and systems for managing quality of services for network participants in a networked business process
CN109961196A (en) For servicing the method and related device of numerically-controlled machine tool
CN110263096A (en) Batch processing method, system, device, equipment and medium based on distributed environment
JP3688914B2 (en) Web system processing order monitoring apparatus and computer-readable storage medium storing program
CN106250254A (en) A kind of task processing method and system
US20210166171A1 (en) Computer system arrangement and methods for reducing communication and integration complexity for functions spanning across systems
CN111652573A (en) Product production process management system and method
CN111651494A (en) Data processing method, device, equipment and computer readable storage medium
CN113159935B (en) To-be-handled business processing method and device based on block chain
US20040250176A1 (en) Generating a status report from source code
CN106600291A (en) Multi-level agent-based public cloud order delivery method
Fauvet et al. An automaton-based approach for web service mediation
CN110012109A (en) The method for building up of the engineering information of high accuracy can be achieved
US20040117231A1 (en) Interactive implementation and representation of state of operative planning processes
CN113472955B (en) Seat state consistency control method and system
CN110874713A (en) Service state management method and device
CN110688216B (en) Custom cloud plan task creation method and device
CN112732818B (en) C/S system-based docking method, device, medium and equipment
CN117689459A (en) Method, device and storage medium for converting online transaction into synchronous and asynchronous

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510