CN1588865A - Associated data batch processing method - Google Patents

Associated data batch processing method Download PDF

Info

Publication number
CN1588865A
CN1588865A CN 200410074240 CN200410074240A CN1588865A CN 1588865 A CN1588865 A CN 1588865A CN 200410074240 CN200410074240 CN 200410074240 CN 200410074240 A CN200410074240 A CN 200410074240A CN 1588865 A CN1588865 A CN 1588865A
Authority
CN
China
Prior art keywords
data
center
node side
node
batch processing
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.)
Granted
Application number
CN 200410074240
Other languages
Chinese (zh)
Other versions
CN1310465C (en
Inventor
林建军
朱卫民
孙剑
林芝丰
陈春荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hundsun Technologies Inc
Original Assignee
HANGZHOU HANDSOME ELECTRONICS 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 HANGZHOU HANDSOME ELECTRONICS CO Ltd filed Critical HANGZHOU HANDSOME ELECTRONICS CO Ltd
Priority to CNB2004100742402A priority Critical patent/CN1310465C/en
Publication of CN1588865A publication Critical patent/CN1588865A/en
Application granted granted Critical
Publication of CN1310465C publication Critical patent/CN1310465C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An association data batch processing method includes: A, The central end processes data of the node ends timely according to the random data process request, B, saving this time process result to feed back the results to the nodal ends, C, judging if all nodal ends needing to be processed are processed and saving the result, if so, data of every nodal end kept in the central part are arranged and registered based on the associated relations among the data, otherwise, step A is continued to be carried out.

Description

The method of associated data batch processing
Technical field
The present invention relates to the method that a kind of batch is handled, relate in particular to a kind of method of associated data batch processing.
Background technology
Associated data, be mainly reflected in two aspects, one, the angle that stands in center-side sees that each node side is the branch that its business is carried out, the batch processing meeting of center-side depends on the completeness of each branch's data, so interrelated between node side and node side; Two, from client's angle, a client and a plurality of node side generation transaction relationship, like this for this client, just there is relevance in the transaction data of these node sides.
Batch processing is meant the process that center-side focuses on and writes down associated data, the initial data of batch processing is from each back end end that is mutually related, because these initial data have comprised the whole data of client in each node side transaction, so these initial data are to be mutually related for batch process.
In the method for existing associated data batch processing, be treated to example with the logical transaction data of silver card, bank is as center-side, and the securities broker company of all networkings is a node side.After the whole closing the transaction of day, bank initiates the batch processing request as center-side, and each node side sends to center-side with initial data, and center-side is concentrated these initial data are carried out batch processing, and after batch processing finished, each node side could obtain the batch processing result.Because of the closing the transaction time of each node side variant, if there is a family to close the trade in advance, initial data is sent to center-side, this moment, center-side can not be done batch processing to its data, it also just can not obtain the batch processing result, and the resource of center-side also is in idle state at this moment.Concentrate when initial data carried out batch processing when center-side, resource can be concentrated and be taken, and the configuration requirement to center-side is just very high like this.Therefore, press for the problem that takies in the resource set when solving center-side processing associated data.
Moreover, because after the initial data of essential concentrated all node sides of center-side, just can carry out batch processing, thereby caused a series of problem, for example, if batch process generation error in data, just need the operating personnel of securities broker company in time to transmit data again, and in case can't in time relate to the operating personnel of securities broker company, even perhaps relate to, because bank operator is unfamiliar with stock exchange transaction, more weak to the disposal ability that batch processing makes mistakes, or describe unclear, (the often familiar stock exchange transaction of operating personnel of opposite securities broker company, the disposal ability that batch processing is made mistakes is stronger) these all will cause the batch processing problem in time not solve, and bring loss for the data accuracy of bank and second day arm's length dealing.After batch process finished, both sides' accounting checking also was by phone or fax, carries out craft and checks, and these have all strengthened the workload of bank operator.Especially when stock trader's quantity of silver card unicom network is too many, the complexity of batch processing also can be multiplied, to such an extent as to bank can't accept the loaded down with trivial details property of this operation and the more stock trader that abandons networking, greatly hindered the logical professional development of silver-colored card, the how tame securities broker company if bank has networked, if during day whole batch processing only a tame securities broker company batching data accurately can't in time be provided, other securities broker company's data all are in time with accurately, because system does not provide the function of carrying out batch processing by securities broker company one by one, second day all securities broker company all can't arm's length dealing, this will cause tremendous loss to bank, also be irrational the securities broker company accurately concerning other data.Therefore similar this operation system all presses for the problem that transaction data is the concentrated batch processing of the necessary quilt of associated data that solves.
Being example with equipment autocontrol method shown in Figure 1 below describes the method for existing associated data batch processing.Suppose in the designated time section, need collect the different entry condition of management separately at terminal a, b, c, after terminal a, b, c all collect self-administered entry condition, concentrate and be sent to center-side, center-side receives described condition and focuses on, and sends result to equipment, after equipment receives this result, determine the starting state of equipment according to entry condition, and starting device is with corresponding state work.
As shown in Figure 2, existing batch processing method is the batch processing system that is applied to comprise back end end 110, general node side 120 and center-side 130.Wherein said back end end 110 comprises client's transaction data 111, and it can be handled client's transaction data, generates initial data; Wherein said center-side 130 comprises transaction flow water meter 131, described transaction flow water meter 131 comprises fields such as customer number, node serial number, this transaction flow water meter 131 is used to import all initial data that the back end end sends, described center-side 130 is used to initiate batch processing, and the initial data of all importings is carried out batch processing; Data are not preserved in wherein general node side 120 this locality, and it can get transaction flow water meter 131 to center-side 130, to browse client's transaction situation.
Prior art is initiated batch processing by center-side 130, and back end end 110 just transmits data to center-side 130.This method comprises:
1), center-side is initiated the batch processing request;
2), the back end end generates the batch processing initial data according to the batch program of self with client's transaction data;
3), all back end ends send to center-side to initial data, and it is errorless to guarantee to transmit data;
4), behind the initial data import transaction flowing water table of center-side affirmation with all back end ends, begin to carry out batch processing, promptly discharge all node side clients' State Control, computing node end client's data then, and this result is saved in the transaction flow water meter;
5), the back end end can be initiated the accounting checking request to center-side;
6), when the center termination is received the accounting checking request of back end end, center-side responds this accounting checking request, and batch processing result (transaction flow water meter) is sent to the back end end;
7), the back end termination is received the batch processing result, and with the batch processing result comparison of batch processing result (transaction flow water meter) with oneself, if errorless, is then finished batch process; As wrong, the whole process of reforming.
In the prior art behind the essential initial data import transaction flowing water table of affirmation of center-side with all back end ends, just begin to carry out batch processing, in the process of carrying out batch processing, the resource of center-side is concentrated to take, and therefore also will possess higher configuration by the centering end; Moreover because after concentrating batch processing to finish, node side just can get access to the result of batch processing, therefore carry out in the batch process in center-side, all back end ends are all being waited for center-side batch processing result, have reduced the operating efficiency of node side.
Summary of the invention
Concentrated the problem that takies in order to solve center-side in the prior art, and all back end ends all blindly wait for center-side batch processing result's problem, the invention provides a kind of method of associated data batch processing.
In order to solve the problems of the prior art, the method for associated data batch processing provided by the invention comprises:
A, center-side are handled request according to random data the data of node side are handled immediately;
B, preserve the result of the described node side data of this processing, result is fed back to node side;
C, judge whether the node side that needs are handled is all handled, and result is preserved, in this way, change step D; Otherwise continue execution in step A;
D, according to the arrangement of the relevance of each node side data and write down described each node side data that is kept at center-side.
The wherein said process that the data of node side are handled immediately specifically comprises:
Computing node end client's data, and discharge node side client's State Control according to this result of calculation; Data under the node side customer status are made amendment and preserve; Continue to control the node side client's who does not deal with corresponding state.
The step that comprises center-side backup node end data before the wherein said steps A.
The wherein said process of the data of node side being handled immediately according to random data processing request is: according to the processing request that center-side is initiated at random the data of node side are handled immediately.
The wherein said process of the data of node side being handled immediately according to random data processing request is: to the processing request that center-side is initiated the data of node side are handled immediately at random according to node side.
Wherein after the processing request that receives node side, whether center-side judges whether to finish the backup of node side initial data and is in the set instant processing time, if, the process that continuation is handled immediately to the data of node side is given this node side otherwise send outstanding message.
Wherein also comprise between described step B and step C: judge whether to receive the query processing request as a result of node side, if receive, judge whether to finish the processing of this node, if finish, then execution in step C if do not finish, then sends outstanding message and gives node side; If do not receive, then change steps A over to.
Wherein between described step C and step D, also comprise:
41), node side receives result, judges the whether success of the result received, if success, execution in step 42; If failure then continues execution in step A;
42), node side judges whether the result received is consistent with the result of own system, as if unanimity, then end process process; If inconsistent, then handle accordingly, change steps A over to.
Wherein before described steps A, comprise:
51), node side generates and handles initial data;
52), node side transmits data and gives center-side, judge according to the response message of center-side and transmit successfully and failure, as if transmitting successfully continuation execution in step A; If transmit failure, continue execution in step 52.
Wherein also comprised before described steps A: whether center-side decision node end possesses the submission processing authority, if possess, and execution in step A then; If do not possess, center-side is sent the message of the processing request of this node side of refusal; Node side response reject message notifies other node side agency to send the request of processing, changes steps A over to.
Wherein also comprised before described steps A: whether center-side decision node end possesses is submitted the batch processing authority to, if possess, and execution in step A then; If do not possess, center-side is sent the message of the batch processing request of this node side of refusal; Node side response reject message, notice center-side agency sends the request of processing, changes steps A over to.
Compared with prior art, the present invention has the following advantages:
Because having adopted center-side to handle request according to random data handles immediately to the data of node side; Preserve the result of the described node side data of this processing, result is fed back to node side; Judge whether to satisfy the batch processing condition,, then put and write down described each node side data that is kept at center-side in order according to the relevance of each node side data if satisfy; Solved like this when center-side is handled associated data in the prior art, resource is concentrated the problem that takies, thereby as long as after realizing that center-side receives the initial data of certain node side, can begin the batch processing of this node side; Simultaneously because after batch processing finishes, when this node side sends inquiry batch processing request as a result, can in time get access to the result of batch processing, thereby node side can be handled other incident when center-side is carried out batch process, avoided like this carrying out in the process of batch processing in center-side, all node sides are all blindly waited for batch processing result's drawback, thereby improve the operating efficiency of node side.
Description of drawings
Fig. 1 is the system schematic one that prior art is implemented the associated data batch processing method;
Fig. 2 is the system schematic two that prior art two is implemented the associated data batch processing method;
Fig. 3 is the system schematic of the invention process associated data batch processing method;
Fig. 4 is the flow chart that the back end end generates initial data;
Fig. 5 is the center-side of the present invention flow chart that batch is handled when initiating batch processing;
Fig. 6 is the node side of the present invention flow chart that batch is handled when initiating batch processing.
Embodiment
In the method for associated data batch processing of the present invention, with equipment be controlled to be example automatically, still as shown in Figure 1, after terminal a collects self-administered entry condition, can be sent to center-side, center-side receives described condition and handles, and to preserve this result be A; After in like manner terminal b collects self-administered entry condition, can be sent to center-side, center-side receives described condition and handles, and to preserve this result be B; After in like manner terminal c collects self-administered entry condition, can be sent to center-side, center-side receives described condition and handles, and to preserve this result be C; When the moment to agreement, center-side is handled condition A, B, the C that receives, and sends result to equipment, after equipment receives this result, after judgement can be determined the starting state of equipment according to entry condition, starting device was with corresponding state work.
From above-mentioned processing procedure as can be seen, through entry condition is carried out time-division processing, solved the problem that takies in the center-side resource set.
In the method for associated data batch processing of the present invention, with the day trading book keeping operation, the formally effective business model of transaction ability is an example after day whole batch processing.As shown in Figure 3, the present invention is applied to comprise node side 210, center-side 220, communication network 230 and is connected in communication network 230 and the batch processing system of the associated data of the center-side fire compartment wall 240 of 220 of center-side, and the network configuration of this system is a hub-and-spoke configuration.
Originating end or associated nodes end that described node side 210 is the transaction data batch processing, it is the non-central node in the hub-and-spoke configuration, whether can preserve transaction data and carry out certain processing according to node, node side can be divided into again: back end end and general node side.The back end end day terminal hour can generate the initial data of batch processing, use for the center-side batch processing.The back end end comprises node client 211, and node side is from handling function 212 and node side transaction data base 213.Data are not preserved in general node side this locality, and day terminal hour only can not produce the batch processing initial data as the originating end of batch processing transaction, and it comprises the node client.
Wherein node side 210 is sensu lato notions, for example, node side during the silver card is logical can be the stock trader, each province of bank, districts and cities branches (subbranch), it also can be head office, authority difference separately just, in addition, node side 210 can also be fund company, insurance company, futures company and general enterprises and institutions etc.Node client 211 is main is responsible for sending data, initiates the batch processing requests to center-side 220, simultaneously to center-side transmission node end number, so that obtain the authentication of center-side.Node client 211 need be preserved the relevant information of center-side in this locality, as center-side IP address, center-side serve port, and configuration needs the raw data file title of transmission, and the batch processing destination file title returned of center-side 220 and deposit information such as path.Wherein node side transaction data base 213 is used to preserve the data message of node side day trading, generate the initial data that center-side 220 needs by node side from handling function 212, described initial data must be done the MAC verification, so that guarantee the fail safe and the inalterability of transmission course.
Wherein node side is from handling the own function that function 212 is back end ends, it is according to the client's of node side difference and difference to some extent, for example, if the node side client is the stock trader, then generally use securities exchange system software, securities exchange system software need be handled the data of exchange, finishes the batch processing of self, generates the initial data that center-side needs.Described initial data comprises all conclusion of the business detailed datas in day trading on the same day process, also comprises the settlement data that exchange sends simultaneously, as bonus share, and bonus, the additional issue thigh waits the data of security and fund.
Described center-side 220 is the end points that carry out transaction data book keeping operation and batch processing, is the Centroid in the hub-and-spoke configuration, and it comprises center-side batch processing server 221 and transaction data base 222.Described center-side batch processing server 221 can separate with transaction data base 222, and this framework can guarantee that application server can form by many, and then improves the ability of center-side to the node side concurrent processing.
Wherein center-side batch processing server 221 is used to preserve the parameter information of described node client 211, comprises information such as node side number, node side IP and node side authority.If newly-increased node side then must be provided with the relevant information of node client 211 at center-side batch processing server 221, and notify fire compartment wall to allow the IP address of this node client 211 at network communication.
Wherein center-side transaction data base 222 is used for preserving consignment trade flowing water (strike a bargain and do not strike a bargain flowing water) and fund flowing water information in the daytime with related all the customer data information of back end end, client, preserve node side client's day trading flowing water (striking a bargain and the flowing water that do not strike a bargain) and cash flow water number certificate in the backup sheet, and carry out the batch processing of described data in the backup zone.
When center-side batch processing server 221 receives the batch processing request of node side 210 initiations, at first node side client 211 is done scope check, data backup is checked, check the whether WKG working batch processing of node side at its place simultaneously, whether done sign-outly, whether this node side state is normal, above-mentionedly can't pass if any one, error message is returned to node side in the capital, does not allow this node side to initiate the batch processing request; After check result was all passed through, the batch processing request of receiving node end was done data backup at center-side transaction data base 222 subsequently, carried out the batch processing of data in the backup zone then.
Why before doing batch processing, batching data being backed up, is in order to prevent that data from damaging in batch process.Because a series of processes such as data typing processing of 220 pairs of node sides 210 of center-side are all carried out in the backup zone, batch processing just number is duplicated the data of this node side to backup library according to node side from original area in case reform, the internal structure of backup library and the internal structure of raw data base are just the same, the different just titles of table.
After the node side transmission data, when initiating the batch processing request, if center-side 220 is not done data backup, can the not ready information of loopback node end 210 center-side.If node side batch processing failure is given in center-side 220 backspaces, and failure cause makes mistakes and causes owing to initial data, but node side 210 data retransmissions are then initiated the batch processing request again.
Because batch process of the present invention is quite complicated, in doing batch process, have error situation and take place, the primary data classes that sends as the stock trader is various, relate to various security kinds, equity share is arranged, fund, national debt, corporate bond, initial public offering, rationed shares additional issue, bonus, bonus share or the like is added the frequent release new business of exchange, makes problem present variation.Just must carry out the error message record in this case and just can find out the reason of makeing mistakes, and then just can carry out error handling processing.Specific operation process is as follows: center-side batch processing server 221 at length writes down batch process hereof, and send node side 210 to, node side 210 obtains the processing procedure daily record of this node side, certainly center-side 220 also can be checked this daily record, in daily record, spell out the error message, can also be positioned to which processing module exactly and make mistakes.
If center-side 220 batch processings success then returns to node side 210 and handles successful information, node side 210 receives result, at first the accounting checking file copy in the result is arrived node side transaction data base 213, carries out the accounting checking process subsequently.
Because the accounting checking file comprises that fund gathers, forms such as fund detail are so node side 210 can be checked from the form of handling function 212 generations with node side mutually according to these files, if total value is not right, then need detailed account is found out the reason of makeing mistakes, can initiate the batch processing request again after the solution.After the confirmation, node side 210 is done sign-out to center-side 220, and batch processing finishes.
Set forth the idiographic flow that node side generates initial data below in conjunction with Fig. 4, execution in step S101 at first, promptly node side utilizes it from the processing program data in the transaction data base to be dealt with; Then execution in step S102 promptly generates the initial data of center-side batch processing and handles form.
Set forth the implementation step that center-side of the present invention is initiated batch process below in conjunction with Fig. 5.
Execution in step S201 at first, promptly node side transmits initial data by communication network to center-side, and judge according to the response message of center-side and transmits successfully and fail, as if transmitting successfully, execution in step S202 then; As failure, then retransfer; Execution in step S202 subsequently, i.e. the initial data of center-side backup node end, then execution in step S203, promptly center-side initiates to handle request; Then execution in step S204, promptly center-side is handled the initial data of backup in the backup zone, and concrete processing procedure comprises: computing node end client's data at first, and discharge node side client's State Control according to this result of calculation; Described client's State Control comprises: frozen capital, frozen stock etc.; Subsequently the data under the node side customer status are made amendment and be kept in the transaction data base; Then continue to control the node side client's who does not deal with corresponding state; Preserve the result of the described node side data of this processing then; And judge whether to satisfy the batch processing condition, described batch processing condition is: the node side that needs are handled is all handled, and result preserved, if satisfy, then put and write down described each node side data that is kept at center-side in order, otherwise continue execution in step S203 according to the relevance of each node side data; In batch process, center-side may be received query requests, and this moment, center-side needed execution in step S205, it is the inquiry batch processing request as a result that center-side judges whether to receive node side, if receive that then execution in step S206 promptly judges whether to finish the batch processing of this node side, if finish, then execution in step S208 is about to the batch processing result and sends to node side, if do not finish, then send outstanding message and give node side, change step S205 over to; If do not receive, then change step S202 over to; In order to guarantee that the batch processing result's is correct, the check and correction process that also comprises node side batch processing achievement and center-side batch processing achievement, specifically comprise the steps: step S207, be that node side judges according to the batch processing object information that receives whether center-side completes successfully batch processing, if complete successfully, execution in step S209 then, promptly node side sends the check and correction request to center-side; If do not complete successfully, execution in step S203 then, promptly center-side is initiated to handle to Backup Data again; Execution in step S210 subsequently, promptly center-side judges whether to receive the check and correction request, if receive, execution in step S211 then, promptly center-side transmits the data of result to node side; If do not receive, execution in step S203 then, promptly center-side is initiated to handle to the initial data of other node side; Then execution in step S212, promptly node side is proofreaded result and the result of oneself, as unanimity as a result, execution in step S213 then, promptly this node side is sign-out to center-side; Inconsistent as the result, then change step S203 over to, promptly center-side is initiated to handle once more.
When setting forth node side initiation batch processing request below in conjunction with Fig. 6, center-side is carried out the implementation step of batch processing to the node side initial data.
Execution in step S301 at first, promptly node side transmits initial data by communication network to center-side, and judge according to the response message of center-side and transmits successfully and fail, as if transmitting successfully, execution in step S302 then; As failure, then retransfer; Execution in step S302 subsequently, i.e. the initial data of center-side backup node end, then execution in step S303, promptly node side initiates to handle request to center-side, and this node side can be that the back end end also can be general node side; Follow execution in step S304, promptly whether center-side decision node end possesses the batch processing of submission to authority, if possess, then execution in step 308; If do not possess, execution in step S305, promptly center-side is sent the message of the processing request of this node side of refusal; Follow execution in step S306, i.e. node side response reject message initiates to handle request by other node side or center-side agency; If initiate to handle request by other node side agency, then change step S304 over to; If initiate to handle request, then execution in step S308 by the center-side agency; Follow execution in step S307, it is the condition that center-side judges whether to have response request, described response condition comprises: center-side has been finished the backup of node side initial data and has been in the set instant processing time, if center-side has had the condition of response request, execution in step S308 then, be that center-side is according to the batch processing request, in the backup zone initial data of backup is carried out batch processing, concrete processing procedure comprises: computing node end client's data that do not deal with at first, and discharge node side client's State Control according to this result of calculation; Described client's State Control comprises: frozen capital; Subsequently the data under the node side customer status are made amendment and be kept in the transaction data base; Then continue to control the node side client's who does not deal with corresponding state; If do not have the condition of response request, then send outstanding message and give this node side; Follow execution in step S308, promptly center-side is carried out the processing procedure of this node side in corresponding backup zone; Preserve the result of the described node side data of this processing then, and judge whether to satisfy the batch processing condition, described batch processing condition comprises: the node side that center-side is handled needs is all handled, and result preserved, if satisfy the batch processing condition, then put and write down described each node side data that is kept at center-side in order, otherwise continue execution in step S303 according to the relevance of each node side data; Center-side may be received the query requests of node side in processing procedure, execution in step S309 at this moment, and promptly center-side judges whether to receive query processing request as a result; If the query processing request as a result of receiving node side, then execution in step S310 promptly judges whether to finish the processing of this node, if finish, then execution in step S311 is about to result and sends to node side; If do not finish, then send outstanding message and give node side, change step S308 over to; If do not receive, then change step S303 over to.
In order to guarantee that the batch processing result's is correct, the check and correction process that also comprises node side processing achievement and center-side processing achievement, specifically comprise the steps: step S312, be that node side judges according to the processing result information that receives whether center-side completes successfully processing, if complete successfully, execution in step S313 then, promptly node side sends the check and correction request to center-side; If do not complete successfully, execution in step S303 then, promptly node side initiates to handle request again; Execution in step S314 subsequently, promptly center-side judges whether to receive the check and correction request, if receive, execution in step S315 then, promptly center-side transmits the check and correction data to node side; If the check and correction request of not receiving node side, then execution in step S303, i.e. other node side initiation processing; Then execution in step S316, promptly node side is proofreaded result and the result of oneself, as unanimity as a result, execution in step S317 then, promptly this node side is sign-out to center-side; Inconsistent as the result, then change step S303 over to, promptly node side initiates to handle request.
Present invention is described below in conjunction with a case study on implementation.
Bank is in that to carry out silver card logical when professional, and the sales department of how tame securities broker company that tends to network of a tame bank when stock invester who carries out the logical business of silver card buys in stocks, is directly to reduce fund from its bank account, sells the fund of stock and also directly gets back on its bank account.Just belonging to transaction book keeping operation on daytime so silver-colored card leads to, day must be carried out batch processing eventually, the business model that business just really comes into force after the batch processing.The logical main frame of silver card of bank end is a center-side, and sales department of how tame securities broker company is a node side, and the stock invester buys in stocks and sells stock is transaction data, and the logical batch processing of silver card is that the logical main frame of silver card by bank's end is that the center is brought in and finished.
The data source of the logical main frame batch processing of silver card is from the securities broker company of networking, the stock exchange transaction server can generate the logical corresponding batching data of silver card at the day terminal hour, to be the node client be sent to bank's logical main frame of end silver card to batching data by the security front end processor is on the center-side, becomes the prerequisite of day whole batch processing.
This invention can be initiated by node side owing to batch processing, also can initiate by center-side, thereby guarantee that there are two kinds of batch processing methods in bank, one, can allow the stock trader do batch processing (only handling the batch facility of this stock trader's correspondence), the stock trader can receive the accounting checking data and check; Two, batch processing is done by bank, and the stock trader issues bank to the accounting checking data, and bank is checked, both can one family's one tame stock trader's batch processing, also can carry out stock trader's batch processing by the gross.This invention has solved numerous and diverse the reaching owing to the personnel of bank are unfamiliar with the problem that stock exchange transaction causes the batch processing difficulty of bank's how tame stock trader's batch processing of connection.
If the stock trader initiates batch processing, then need on stock trader's front end processor, increase the complete batch processing client-side program of a cover, allow stock trader operating personnel directly on front end processor, initiate batch processing, comprise transfer files, initiate processing batch instruction, inquiry batch processing result, the batch processing of reforming, get fund form functions such as (data of promptly checking account), guarantee that the stock trader can realize complete batch processing.The batch processing that all security are done, the batch processing result can both find at bank end, and can monitor stock trader's batch processing progress, if the stock trader had the cause specific can not batch processing the same day, then at this moment can do this stock trader's batch processing fully by bank, have great flexibility.
If bank initiates batch processing certainly, then the stock trader can not hold the stock trader under the situation that bank allows and initiate batch processing, the transaction that all stock traders initiate has the sign of " whether forbidding ", forbid if certain transaction is made as at bank end, then this stock trader just can not do this and concluded the business, and does not do batch processing if any the part stock trader, checks account but need obtain the accounting checking data, then can open the function of " getting the fund form " separately, and close its " batch facility ".
The following describes the idiographic flow that bank's end is initiated stock trader's batch processing: at first bank receives stock trader's batch processing raw data file, then center-side backup stock trader's batching data; Then center-side is initiated stock trader's batch processing; Then center-side is carried out batch processing in the backup zone to stock trader's initial data, and concrete processing procedure comprises: computing node end client's data at first, and discharge node side client's State Control according to this result of calculation; Described client's State Control comprises: frozen capital, frozen stock; Subsequently node side customer status data are made amendment and be kept in the transaction data base; Then continue to control the node side client's who does not deal with corresponding state; For example, client's first is concluded the business at node side A, then at first computing client first transaction data reaches data such as corresponding dividend, draw this client should deposit or reduce the amount of money on its account at this node result of calculation, State Control with this client discharges then, and the result of calculation of the client under this state is made amendment according to the data cases under this state, be kept in the transaction data base then, then continue to control the corresponding state of the node side client first that does not process, so handle, after the transaction data of other node side is finished dealing with, just finish all data processing of client's first up to client's first; In the batch process that carries out this stock trader, bank's end also can be initiated the batch processing request to other stock trader, in transaction data base other stock trader is carried out batch processing; And then be the inquiry batch processing request as a result that bank judges whether to receive the stock trader,, then judge whether to finish stock trader's batch processing,, then the batch processing result is sent to the stock trader,, then send outstanding message and give the stock trader if do not finish if finish if receive; If do not receive, then proceed the batch processing of other stock trader's initial data; The batch processing result that sends of stock trader's receiving center end then; Subsequently with the batch processing result of batch processing result and securities broker company accounting checking, as unanimity as a result, then this stock trader is sign-out to center-side, finishes batch process; As the result that checks account is inconsistent, and then this stock trader resends initial data and handles to bank end.
The stock trader initiates the idiographic flow of batch processing: the stock trader sends autoexec and demonstrate,proves way system to silver; Silver card way system receives autoexec, returns confirmation of receipt information; The stock trader confirms the file transfer success, initiates the batch processing request; Silver card way system begins to carry out batch processing, and returns the information that begins to carry out batch processing and give the stock trader; The stock trader arrived according to the data volume judgement batch processing deadline of oneself, can demonstrate,prove way system to silver and initiate the request of batch processing result queries; Silver card way system receives stock trader's query requests, and stock trader's batch processing destination file and the form that generates after the batch processing sent to the stock trader; The stock trader checks the batch processing result, and is then sign-out to center-side as unanimity as a result, finishes batch process; Inconsistent as the result, check then whether autoexec is correct, according to circumstances initiate the batch processing request again.
Above-mentioned batch processing might be interrupted because of some abnormal conditions temporarily, and when system wanted to guarantee that failure appears in batch processing, the state in the time of rolling back to batch processing during next batch processing and begin restarted batch processing.Back mechanism before the batch processing, earlier from the original table backup sheet that fetches data, and the affair mechanism of database itself can be guaranteed the success of data rewind during batch processing.
As seen by above-mentioned, this method achieves noticeable achievement to simplifying a day whole operation.The stock trader can carry out batch processing simultaneously, and does not need to wait for as before that every other stock trader's batch processing could batch processing after finishing, and has saved the stand-by period.And the operator do not need manual intervention basically, just can finish whole batch process, greatly reduces maintenance.Because the stock trader can check the batch processing result, according to wrong, can revise voluntarily, then batch processing again if find the autoexec mileage.
At first it is to be noted, the implication of the term of using among the present invention, words and claim can not only only limit to its literal and common implication and go to understand, also comprise the implication and the notion that conform to technology of the present invention, this is because we are as the inventor, to suitably provide the definition of term, so that the most appropriate description is carried out in our invention.Therefore, the configuration that provides in this explanation and the accompanying drawing is first-selected embodiment of the present invention, rather than will enumerates all technical characteristics of the present invention.We will recognize to also have the various equivalent scheme or the modifications that can replace our scheme.

Claims (11)

1, a kind of method of associated data batch processing is applied to comprise it is characterized in that the batch processing system of node side, center-side, comprising:
A, center-side are handled request according to random data the data of node side are handled immediately;
B, preserve the result of the described node side data of this processing, result is fed back to node side;
C, judge whether the node side that needs are handled is all handled, and result is preserved, if change step D; Otherwise continue execution in step A;
D, according to the arrangement of the relevance of each node side data and write down described each node side data that is kept at center-side.
According to the method for the described associated data batch processing of claim 1, it is characterized in that 2, the described process that the data of node side are handled immediately specifically comprises:
31), computing node end client's data, and discharge node side client's State Control according to this result of calculation;
32), node side customer status data are made amendment and preserve;
33), continue to control the node side client's who does not deal with corresponding state.
3, according to the method for the described associated data batch processing of claim 2, it is characterized in that, comprise the step of center-side backup node end data before the described steps A.
According to the method for the described associated data batch processing of claim 3, it is characterized in that 4, the described process of the data of node side being handled immediately according to random data processing request is:
According to the processing request that center-side is initiated at random the data of node side are handled immediately.
According to the method for the described associated data batch processing of claim 3, it is characterized in that 5, the described process of the data of node side being handled immediately according to random data processing request is:
To the processing request that center-side is initiated the data of node side are handled immediately at random according to node side.
6, according to the method for the described associated data batch processing of claim 5, it is characterized in that, after the processing request that receives node side, whether center-side judges whether to finish the backup of node side initial data and is in the set instant processing time, if, the process that continuation is handled immediately to the data of node side is given this node side otherwise send outstanding message.
7, according to the method for claim 4,5 or 6 described associated data batch processings, it is characterized in that, between described step B and step C, also comprise:
Judge whether to receive the query processing request as a result of node side, if receive, judge whether to finish the processing of this node side, if finish, then execution in step C if do not finish, then sends outstanding message and gives node side; If do not receive, then change steps A over to.
8, according to the method for the described associated data batch processing of claim 7, it is characterized in that, between described step C and step D, also comprise:
41), node side receives result, judges the whether success of the result received, if success, execution in step 42; If failure then continues execution in step A;
42), node side judges whether the result received is consistent with the result of own system, as if unanimity, then end process process; If inconsistent, then handle accordingly, change steps A over to.
9, according to the method for the described associated data batch processing of claim 8, it is characterized in that, before described steps A, comprise:
51), node side generates and handles initial data;
52), node side transmits data and gives center-side, judge according to the response message of center-side and transmit successfully and failure, as if transmitting successfully continuation execution in step A; If transmit failure, continue execution in step 52.
10, according to the method for the described associated data batch processing of claim 9, it is characterized in that, before described steps A, also comprise:
61), whether center-side decision node end possess the submission processing authority, if possess, execution in step A then; If do not possess, center-side is sent the message of the processing request of this node side of refusal;
62), node side response reject message, notify other node side agency to send the request of processing, change steps A over to.
11, according to the method for the described associated data batch processing of claim 9, it is characterized in that, before described steps A, also comprise:
71), whether center-side decision node end possesses submits the batch processing authority to, if possess, execution in step A then; If do not possess, center-side is sent the message of the batch processing request of this node side of refusal;
72), node side response reject message, notice center-side agency sends the request of processing, changes steps A over to.
CNB2004100742402A 2004-09-03 2004-09-03 Associated data batch processing method Active CN1310465C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100742402A CN1310465C (en) 2004-09-03 2004-09-03 Associated data batch processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100742402A CN1310465C (en) 2004-09-03 2004-09-03 Associated data batch processing method

Publications (2)

Publication Number Publication Date
CN1588865A true CN1588865A (en) 2005-03-02
CN1310465C CN1310465C (en) 2007-04-11

Family

ID=34604805

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100742402A Active CN1310465C (en) 2004-09-03 2004-09-03 Associated data batch processing method

Country Status (1)

Country Link
CN (1) CN1310465C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378336B (en) * 2008-09-24 2011-01-05 中兴通讯股份有限公司 Method for processing batch documents of service management system
CN106407165A (en) * 2016-07-21 2017-02-15 平安科技(深圳)有限公司 Numerical value transfer record checking method and apparatus
CN106993015A (en) * 2016-01-21 2017-07-28 阿里巴巴集团控股有限公司 Synchronous method, system and the security server of transaction
CN107229466A (en) * 2017-05-04 2017-10-03 中国建设银行股份有限公司 Method, system and the storage medium of business development are carried out for enterprise branch office
CN109828834A (en) * 2018-12-14 2019-05-31 泰康保险集团股份有限公司 The method and system and its computer-readable intermediate value and electronic equipment of batch processing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1213915A (en) * 1998-08-31 1999-04-14 海南三富计算机网络工程有限公司 Dynamic commodity trade network and its generation method
CA2321456A1 (en) * 1999-10-01 2001-04-01 B-50.Com, Llc System and methods for generating custom reports based on point-of-sale data
US7174318B2 (en) * 2000-03-28 2007-02-06 Richard Adelson Method and system for an online-like account processing and management
US8204806B2 (en) * 2002-12-23 2012-06-19 United Services Automobile Association (Usaa) System and method of processing account information over a computer network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378336B (en) * 2008-09-24 2011-01-05 中兴通讯股份有限公司 Method for processing batch documents of service management system
CN106993015A (en) * 2016-01-21 2017-07-28 阿里巴巴集团控股有限公司 Synchronous method, system and the security server of transaction
CN106407165A (en) * 2016-07-21 2017-02-15 平安科技(深圳)有限公司 Numerical value transfer record checking method and apparatus
WO2018014581A1 (en) * 2016-07-21 2018-01-25 平安科技(深圳)有限公司 Value transfer record verification method, device, server and storage medium
CN107229466A (en) * 2017-05-04 2017-10-03 中国建设银行股份有限公司 Method, system and the storage medium of business development are carried out for enterprise branch office
CN109828834A (en) * 2018-12-14 2019-05-31 泰康保险集团股份有限公司 The method and system and its computer-readable intermediate value and electronic equipment of batch processing

Also Published As

Publication number Publication date
CN1310465C (en) 2007-04-11

Similar Documents

Publication Publication Date Title
US7778902B2 (en) Method and apparatus for a new accounts program
US7593888B2 (en) System and method for facilitating investment account transfers
CN107656777A (en) A kind of flow path processing method and system based on event
CN100452707C (en) A method and system for keeping data consistency
KR101254358B1 (en) Self-owned resources interactive method and processing method of electronic trade information and system
US7756949B2 (en) System of handling a web service call
CN1298147A (en) Technique for providing service quality guarantee to virtual main machine
CN101079133A (en) Batch payment system and batch payment method
US20230274358A1 (en) 24 hours global low latency computerized exchange system
WO1999004354A1 (en) A license management system
JPH11259579A (en) Time limit management execution method and gateway mechanism
US20110219054A1 (en) Method and System for Processing Online Joint Guarantee
CN102231200A (en) Method for transacting bankcard application through mobile intelligent terminal
CN1310465C (en) Associated data batch processing method
EP1490781A2 (en) Most eligible server in a common work queue environment
CN1949758A (en) Method and apparatus for updating distributed application
CN1702673A (en) Transaction information processing method for network transaction system
CN110503436B (en) Payment message processing method and system for transmitting image file through SWIFT
WO2021073153A1 (en) Method and apparatus for processing product data, computer device and storage medium
US20090060165A1 (en) Method and System for Customer Transaction Request Routing
US7792897B2 (en) Distributed transaction processing system
CN110580612A (en) salary system and method adopting bank U-shield system
CN1684080A (en) System and method for providing capital remittance service in network
CN1842814A (en) Culture specific on-line commerce
CN110378680A (en) A kind of data processing method, device, storage medium and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: Floor 11, Hang Seng tower, No. 3588 Jiangnan Road, Hangzhou, Zhejiang, Binjiang District

Patentee after: Hundsun Technologies Inc.

Address before: Room 2, No. 901, building B, Chang Torch Hotel, No. 259, Hangzhou, Zhejiang, Wensanlu Road, China

Patentee before: Hangzhou Handsome Electronics Co., Ltd.

C56 Change in the name or address of the patentee

Owner name: HENGSHENGDIAN JIANMEI ELECTRONICS CO LTD

Free format text: FORMER NAME: HANGZHOU HENGSHENG ELECTRONICS CO LTD