CN1588943A - Method for processing shared data in on-line processing system - Google Patents
Method for processing shared data in on-line processing system Download PDFInfo
- Publication number
- CN1588943A CN1588943A CN 200410074156 CN200410074156A CN1588943A CN 1588943 A CN1588943 A CN 1588943A CN 200410074156 CN200410074156 CN 200410074156 CN 200410074156 A CN200410074156 A CN 200410074156A CN 1588943 A CN1588943 A CN 1588943A
- Authority
- CN
- China
- Prior art keywords
- business
- unit
- processing unit
- processing
- service
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012545 processing Methods 0.000 title claims description 282
- 230000008569 process Effects 0.000 claims abstract description 37
- 238000003672 processing method Methods 0.000 claims description 29
- 230000001427 coherent effect Effects 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 14
- 238000000151 deposition Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000000889 atomisation Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
A process method for shared data in the on-line process system includes that a first service route and load balance unit routes the service request to a coherent service logic process unit for corresponding operation and process according to the contents requested by the service logic process and route rules to judge if it needs to process the service object, if not, the process result is fed back to the user by the first service route and the load balance unit, if it needs this, the related request if delivered to the service object process unit for related process and the processed result is fed back to the user finally by the second route and load balance unit, service logic process unit and the first route and load balance unit.
Description
Technical field
The present invention relates to a kind of processing method of shared data, relate in particular to the processing method of shared data in a kind of on-line processing system.
Background technology
The online transaction system of the multiple financial product (stock, fund, futures etc.) of securities industry is all set up by distributed mode at present, for the user, handle different business and at first need login in different systems, such service processing mode exists following point:
1, client process is professional more, must set up a plurality of systems, will safeguard a plurality of systems like this, thereby increase the follow-up management risk of system greatly.
2, for the system of distributed deployment, all need identical shared data in each system, (for example, in financial business, these master datas comprise common user data and shared fund information data.) this just needs to solve the stationary problem of shared data.Yet solve sharing of master data in the exigent system of real-time at present and also have many problems.
3, the deployment difficulty of system is disposed for the data that needs are adjusted, and can't accomplish corresponding adjustment, need solve by system coding, and the risk of safeguarding of system is increased.
4, the line holding bandwidth of system is big, and particularly on the communication line that compares low speed, conflict mutually will appear in each system, delay the response efficiency of each system greatly.
Mainly containing following two kinds of solutions at present handles.
Prior art one is applied to set up shared foreground treatment system, this system as shown in Figure 1, service request 101 sends to background business logic processing unit 102 respectively and handles, each Service Processing Unit is all set up separately independently business object storage unit.
Prior art one comprises: service request 1 sends to business logic processing unit 1 by user interface; Business logic processing unit 1 receives service request 1, and service request 1 is handled; In processing procedure, call business object as needs, then from business object storage unit 1, directly call; Then result is returned user interface; In like manner, service request 2 sends to business logic processing unit 2 by user interface; Business logic processing unit 2 receives service request 2, and service request 2 is handled; In processing procedure, call business object as needs, then from business object storage unit 2, directly call; Then result is returned user interface.Other service request are correspondingly processed.
This method is by sending service request to a plurality of processing units respectively, the otherness of shielding background processing unit.But this has solved a plurality of user data sharing problems, and the maintenance work on foreground is eased, and only needs a single foreground inputting interface.But the occupation problem for data sharing, deployment issue and the circuit of background processing unit is not all solved.If moreover each operation system all sets up the cover business datum of oneself, because of the requirement of business, shared data must be carried out simultaneous operation, otherwise will make a mistake, traffic affecting operation.Yet accomplish just must between each operation system, duplicate real time data synchronously, increased the running load of system so greatly, reduced the efficient of whole service system.
Prior art two is applied to the background system of supporting that comprehensively all are professional, as shown in Figure 2, a plurality of processing units is arranged in this system, comprises the business object processing unit, as user's processing unit 201 and the fund processing unit of sharing 202; Also comprise the corresponding service processing unit simultaneously, as stock processing unit 203, fund processing unit 204 etc., stock need be communicated by letter with the fund processing unit with user's processing unit by function call with the fund processing unit, visits common user profile and fund information.The method of prior art two is: service request sends to the business logic processing unit, the business logic processing unit puts it into stock processing unit 203 or fund processing unit 204 by its service conditions, handle then, in the process of handling, as needs user profile or fund information, then communicate by letter with the fund processing unit with user's processing unit by function call.
Because the business of industry changes very frequent and quick, can't really set up one at present and support professional comprehensively system, and adopt the system of this structure can not adapt to the professional variation and the needs of increase.For example, system is in operation, because the professional needs that change, native system must increase the dealing business of futures, and this will set up a futures processing unit accordingly.If yet this element is added in this system, just must be reconstructed whole system, the compiling of promptly comprehensively making amendment because system is an integral body, must be made amendment, and sets up brand-new transaction processing system then.This risk of bringing is to test the stability and the correctness of whole system, has strengthened the difficulty of system update, has also prolonged simultaneously the time of system update, and and then can bring the obstruction of professional expansion; Stability and correctness with stylish system itself all are difficult to guarantee that this all exists great problem in the financial industry that requires efficient stable, controls risk.
Moreover owing to want often according to the needs of service management the deployment architecture of system to be adjusted, some system need carry out centralization and dispose, and some system needs some part to be adjusted into distributed deployment.For example, at this moment service needed with stock processing unit in the system separately because whole system is whole, not may be cut apart, so must be reconstructed system, this has just greatly hindered professional development.
Can analyze prior art according to above narration and have following deficiency:
In the prior art two owing to professional increase or adjust, the problem that must be reconstructed whole system just; Must between each operation system, duplicate the data that need to share in the prior art one mutually and cause system's running load to increase, the problem that running efficiency of system descends.
Summary of the invention
The invention provides the processing method of shared data in a kind of on-line processing system, this method has solved in the prior art two owing to professionally increase or adjust, just the problem that must be reconstructed whole system; Solved and between each operation system, to have duplicated the system's running load increase that needs the data of sharing and cause, the problem that running efficiency of system descends in the prior art one mutually.
For addressing the above problem, the invention provides the processing method of shared data in a kind of on-line processing system, this method comprises:
A, the first professional route and Load Balance Unit are routed to the correspondent service logic processing unit according to the content and the routing rule of business logic processing request with service request;
B, business logic processing unit receive the business logic processing request, carry out corresponding computing and processing;
C, need to judge whether business object to handle,, result is returned first professional route and the Load Balance Unit, return to user interface by it if do not need; If need, then the request of corresponding business object handles sent to second professional route and the Load Balance Unit;
D, the second professional route and Load Balance Unit handle request according to business object and routing rule is searched corresponding business object handles unit, if find, then business object is handled request and sends to the business object processing unit; If do not find, will return error message, continue execution in step D then;
E, business object processing unit receive business object and handle request, require to carry out corresponding data processing according to request;
F, result is returned to second professional route and the Load Balance Unit, and, finally return to the user capture interface by the second professional route and Load Balance Unit, business logic processing unit, first professional route and the Load Balance Unit.
Wherein before described steps A, comprise: service logic is divided according to business tine; With the corresponding correspondent service logic processing unit of different service logics, and leave in the first professional route and the Load Balance Unit; Dispose the business logic processing method in the corresponding service Logical processing unit.
Wherein described with service logic according to business tine carry out partiting step with the corresponding correspondent service logic processing unit of different service logics, and leave in the first professional route and the Load Balance Unit and also comprise between the step: extract business object; With the corresponding corresponding business object handles of different business objects unit, and be deployed in the second professional route and the Load Balance Unit; Dispose the business object processing method in corresponding service object handles unit.
Wherein said with the corresponding correspondent service logic processing unit of different service logic, and leave in the first professional route and the Load Balance Unit and further be: as to set up service logic number and business logic processing unit corresponding service logic routing table; Dispose described service logic routing table in the first professional route and Load Balance Unit.
According to the rule of the content of business logic processing request and route service request being routed to the correspondent service logic processing unit in the wherein said steps A further is: number search corresponding service Logical processing unit in the service logic routing table according to service logic; If find, then the rule according to the service request route is routed to the correspondent service logic processing unit with the business logic processing request; If do not find, then return error message.
Wherein said with the corresponding corresponding business object handles of different business object unit, and be deployed in the second professional route and the Load Balance Unit and further be: as to set up business object and number leave in secondary route and the Load Balance Unit with business object processing unit corresponding service object routing table and with described business object routing table.
Handling request and routing rule according to business object among the wherein said step D searches corresponding business object handles unit and further is: number search corresponding service object handles unit in the business object routing table according to business object, if find, then business object is handled request and send to the business object processing unit according to the rule of service request route; If do not find, will return error message.
The rule of wherein said service request route further is: the size of comparison process unit loads; Select the little processing unit of load, and route requests to this processing unit.
Wherein said business object comprises user profile and fund information; Described business object processing unit comprises user profile processing unit and fund information process unit; Described business logic processing unit comprises fund processing unit, stock processing unit, security processing unit.
Compared with prior art, the present invention has the following advantages:
Because the first professional route and Load Balance Unit are routed to the correspondent service logic processing unit according to the content of service request with service request and handle, the second professional route and Load Balance Unit send to the business object processing unit with the business object operation requests and carry out shared data, service request can be sent to any one business logic processing unit or business object processing unit by route and Load Balance Unit like this, thereby in the time need carrying out the deployment architecture adjustment to system because of service management, can conveniently carry out the logic adjustment, and then reach the dynamic adjustment of whole service system deployment, and need not whole system reconstruct; When introducing new business logic processing unit by this method simultaneously, can share original business object processing unit and finish new business logic processing, like this can be under the operation conditions that does not influence original operation system, separately new operation system is constructed and optimize, rather than the whole service system is reconstructed; If simultaneously in business logic processing, in the time of need calling business object, professional route and Load Balance Unit send to the business object processing unit with the business object operation requests and carry out shared data, can make each business logic processing unit share corresponding master data, sharing by introducing basic service object handles unit of data just can be finished, solved in the prior art one a plurality of operation systems and must carry out that data are duplicated and stationary problem.
Secondly, because this programme is introduced professional route and Load Balance Unit is selected professional route and the business object of sharing is separated the method for disposing from service logic, make whole proposal can unify the transaction processing system of a plurality of separation is incorporated under the unified user capture interface, a plurality of systems can be unified to be optimized easily and to adjust;
Moreover, because all service request all insert by professional route and Load Balance Unit, the request shared communication link that can allow a plurality of user interfaces, reorganization and flow control by service request communication bag, minimizing is to the surge pressure of Business Processing communication link, and then the requirement of reduction communication bandwidth; Simultaneously professional route and load equalizer can support many communication links to unite use, can become one and can respond a large amount of links of request in real time a plurality of low bandwidth links are virtual.
In this programme, the whole service system only need preserve a independent data, do not need just can carry out comprehensively sharing by duplicating, because can send request to same Business Processing object by business processing logic in the transaction processing system, the Business Processing object is responsible for a Business Processing data, same data all can be shared in the business logic processing unit of this Business Processing object of all-access, thereby improve the operational efficiency of system.
Description of drawings
Fig. 1 is a treatment system structure chart one of implementing the processing method of shared data in the prior art;
Fig. 2 is a treatment system structure chart two of implementing the processing method of shared data in the prior art;
Fig. 3 is the treatment system structure chart of the processing method of the invention process shared data;
Fig. 4 is that the business of operation system of the present invention is set up flow chart;
Fig. 5 is the business object routing table;
Fig. 6 is the service logic routing table;
Fig. 7 is the flow chart of the Business Processing of operation system of the present invention;
Fig. 8 is the flow chart of another Business Processing of operation system of the present invention;
Fig. 9 is securities broker company's transaction processing system structure chart of implementing the processing method of shared data;
Figure 10 is the business object routing table;
Figure 11 is the service logic routing table.
Embodiment
Implementing concrete treatment system structure chart of the present invention can be referring to Fig. 3, and this system comprises the first professional route and Load Balance Unit, business logic processing unit, the second professional route and Load Balance Unit and business object operating unit.
First professional route and the Load Balance Unit: be responsible for accepting the service request communication bag on foreground, and,, send to different business logic processing unit according to the corresponding business distribution policy according to the content of service request communication bag.
Business logic processing unit: carry out corresponding service processing according to the service logic rule, these logic rules can be passed through program, script and parameter are customized, as the Stock Trading rule is a very typical service logic rule, this rule comprises various judgment rules, such as, for a request, system at first judges whether to be a legal users, whether next judges whether to meet this business of execution, judges then whether this professional condition of execution satisfies, enough as fund, whether stock is enough etc., carry out the retouching operation of business datum at last, as revise corresponding the balance of funding information, write corresponding shares trusting information.If need to use basic shared service deal with data in the logic rules, the business logic processing unit will send business object processing request communication bag and send to second professional route and the Load Balance Unit.This business logic processing unit can be disposed a plurality of according to business demand, and can allow a plurality of Service Processing Units separately dispose.
Second professional route and the Load Balance Unit: the business object of being responsible for accepting to send over by the business logic processing unit is handled request communication bag, and handle the content of request communication bag according to business object, according to corresponding business distribution policy and routing rule, be routed to the business object processing unit.
The business object processing unit: be used to deposit the method for operation of basic shared data, comprise for data read, write and revise logical operation, be responsible for carrying out basic atomization operation, make the business logic processing unit can share them completely.
The present invention comes progressively unified whole system by keeping original distributed system pattern.For the system that is moving at present, by the business processing logic of whole system is separated with the shared access operating data, business processing logic and business object (being the shared access operating data) divided to open into go in the different treatment systems to handle, like this for business object handle (operation of shared data) can by one independently the business object processing unit finish, thereby can accomplish sharing of master data easily.
In the whole service treatment system, for supporting each business logic processing request to send to different business logic processing unit, must introduce professional route and Load Balance Unit, professional route and Load Balance Unit will be asked to send to different business logic processing unit accordingly according to business logic processing solicited message different and be handled.Professional route and Load Balance Unit can with a plurality of different business logic processing communications, distribute according to different service request.
This scheme can solve treatment system in the present systems development process progressively is incorporated into unified treatment system by a plurality of business logic processing unit problem, routing mechanism by business logic processing, can send to different newsletter requests in the different business logic processing unit, dispose different business logic processing unit in different places.
The business of whole service system is set up flow chart as shown in Figure 4:
For the execution in step S101 at first of the service logic in the business logic processing unit of all transaction processing systems, promptly divide service logic according to the content of managing business, for example, in the transaction processing system of financial treatment industry, it can be divided into stock business logic processing, fund business logic processing, forward exchange transaction logical process etc., each business logic processing has comprised whole flow processs and the rule in the whole service process; Follow execution in step S102, promptly extract the Business Processing object, as, the method of operation of shared data in the transaction processing system (as user and fund information etc.) is partly separated, handle as stock, verification and corresponding modify operational processes have all been comprised in fund processing and the futures processing logic to user and fund, these operational processes are all used same information data, so the operation of these same information is separated into independent operational processes logic, as corresponding user's process object and fund process object, be responsible for the corresponding operation logic of sharing information and handle, be deployed on the business object processor; Follow execution in step S103, promptly set up Business Processing object routing table, each Business Processing object is set up corresponding numbers, be called business object number, each Business Processing object closed to fasten depositing of business object operating unit set up the business object routing table, as shown in Figure 5, the corresponding business object processing unit one of business object A, the corresponding business object processing unit two of business object B, the corresponding business object processing unit three of business object C, after having set up the business object routing table, this table is left on the second professional route and the Load Balance Unit.Follow execution in step S104, promptly dispose the processing unit of business object, the processing method of business object is deployed on the business object processing unit, the business object processing unit can be deployed to a plurality of, each business object processing unit is deposited the method for operation of different business object, as user's process object processing method is placed on the user object processing unit, on the fund process object processing method deposit funds business object processing unit, the connection line between business object processing unit and professional route and the Load Balance Unit can use the circuit of present any support connectivity communication; Follow execution in step S105 again, promptly set up service logic, set up the corresponding service logic respectively according to the difference of business, as stock service logic, fund service logic, stock exchange transaction logic etc.; Follow execution in step S106, promptly set up the service logic routing table, determine different service logic number for the business processing logic of each access request, the service logic routing table is set up in service logic number corresponding business logic processing unit, as shown in Figure 6, service logic A alignment processing unit one, service logic B alignment processing unit two, service logic C alignment processing unit three, as the corresponding stock business logic processing of stock business processing logic unit, fund business processing logic counterpart fund business logic processing unit, the corresponding forward exchange transaction Logical processing unit of forward exchange transaction processing logic leaves the service logic routing table on professional route and the Load Balance Unit in then; Last execution in step S107, promptly dispose service logic, leave different business logic processing methods in the correspondent service logic processing unit respectively, the business logic processing unit can be deployed to a plurality of, and the connection line between business logic processing unit and professional route and the Load Balance Unit can use the circuit of present any support connectivity communication.
After operation system is set up, send the corresponding business request to the whole service treatment system by the input system on foreground, the flow process of whole service treatment system can be referring to Fig. 7.
Execution in step S201 at first, promptly user interface receives service request, and service request is sent to professional route and Load Balance Unit; Then execution in step S202, promptly professional route and Load Balance Unit receive this service request, and according to the rule of route service request are routed to the correspondent service logic processing unit according to the content of service request; Follow execution in step S203, promptly the business logic processing unit receives service request, carries out corresponding computing and processing according to service logic; If not having business object is the use of shared data, then after the whole service logical process was finished, execution in step S204 was about to result and returns professional route and Load Balance Unit, and then execution in step S205 promptly returns to user interface by professional route and Load Balance Unit; Business object is the processing of shared data if desired, execution in step S206 then, and promptly the business logic processing unit sends to professional route and Load Balance Unit with the request of corresponding business object handles; Follow execution in step S207, be that professional route and Load Balance Unit receive business object processing request, and the content of handling request according to business object is routed to the business object processing unit according to the rule of professional route with the Business Processing request, handle request as business object and handle request for user object, the request of then user object being handled is routed to the user object processing unit and handles, handle request as business object and handle request for money object, the request of then money object being handled is routed to the money object processing unit and handles; Follow execution in step S208, promptly the business object processing unit carries out corresponding data processing according to the requirement of corresponding object handles request, comprises inquiry, writes, revises; Execution in step S209 then, be that the business object processing unit returns concrete result to professional route and Load Balance Unit, and return to the corresponding service Logical processing unit by professional route and Load Balance Unit, finally return to the user capture interface.
Provide another embodiment below, referring to Fig. 8, execution in step S301 at first, promptly user interface receives service request, and service request is sent to professional route and Load Balance Unit; Follow execution in step S302, be that professional route and Load Balance Unit receive service request, and select different business logic processing unit according to the rule of service logic routing table, for example according to the routing table rule among Fig. 4, if service request is the request of logic A of managing business, because there are two business logic processing unit all to exist the business processing logic of service logic A in the present system, the size according to the business logic processing unit loads behind at this moment professional route and the Load Balance Unit is selected the business logic processing unit that load is little; If service request is the request of service logic B, because have only the processing logic of depositing service logic B on the business logic processing unit three in the whole service treatment system, at this moment professional route and Load Balance Unit will directly be issued business logic processing unit three to this request, be handled by it.Follow execution in step S303, promptly the business logic processing unit receives service request, carries out corresponding computing and processing according to service logic; If do not need business object promptly not have the use of shared data, after the whole service logical process was finished, execution in step S304 was about to result and returns professional route and Load Balance Unit, and then execution in step S305 promptly returns to user interface by professional route and Load Balance Unit; The processing of shared data if desired, execution in step S306 then, promptly the business logic processing unit sends to professional route and Load Balance Unit with the processing request of corresponding business object; Follow execution in step S307, it is the processing request that professional route and Load Balance Unit receive business object, and number search the business object routing table according to the business object of visit, if find corresponding business object handles unit, it is handled request with this business object and sends to the business object processing unit, if do not find, will return business logic processing unit mistake and corresponding error information.Follow execution in step S308, promptly the business object processing unit carries out corresponding data processing according to the requirement of corresponding business object handles request, comprises inquiry, writes, revises; Execution in step S309 then, promptly the business object processing unit returns concrete operating result to professional route and Load Balance Unit, and returns to the corresponding service Logical processing unit by Load Balance Unit, finally returns to the user capture interface.
The transaction processing system that the present invention can be applied to securities broker company is a security integrated service processing platform.As shown in Figure 9, promptly at the structure chart of certain securities broker company's transaction processing system, three basic Service Processing Units are arranged in the said firm, it is stock exchange Service Processing Unit 401, fund is sold Service Processing Unit 402 and futures exchange Service Processing Unit 403 on a commission basis, handle stock exchange business 404 respectively, fund business of selling on a commission basis 405 and futures exchange business 406, these three basic services are sharing users Business Processing object 407 and fund process object 408 all, and the processing method of these two business objects leaves in respectively in customer service object handles unit 409 and the fund business object processing unit 410.
Describe securities broker company's interior business in detail below in conjunction with this programme and set up flow chart.
At first data manipulation separates with fund with basic user data, sets up the business object operating unit, makes whole intra-company need not carry out duplicating and synchronous working of data fully, just can share these information fully; Secondly the business of securities broker company is classified, as be categorized as the stock exchange business, fund is sold business and futures exchange business etc. on a commission basis, and with different professional corresponding correspondent service logic processing units, i.e. the professional corresponding stock exchange processing unit of stock exchange, fund are sold professional corresponding corresponding fund on a commission basis and are sold processing unit, the professional corresponding corresponding futures exchange processing unit of futures exchange on a commission basis; The service logic that stock exchange processing unit, fund are sold on a commission basis processing unit and futures exchange processing unit is analyzed then, isolate shared business object, as customer service process object and fund Business Processing object, and it is set up the corresponding business object number, as user's process object is 1001, the fund process object is 1002, and is deployed in respectively on the different business object operating units.Simultaneously set up the business object routing table on professional route and Load Balance Unit, as shown in figure 10, business object number is that 1001 business object corresponding user information processing unit, business object number are 1002 business object counter fund information process unit; Simultaneously also set up the corresponding service processing logic number for original business processing logic, as the stock business processing logic is 3001, the fund business processing logic is 3002, the forward exchange transaction processing logic is 3003, and this business object all is revised as in the place that needs calling party and fund information in the service logic handles it and send corresponding request, at last the business processing logic processing method is deployed on the service logic unit, on professional route and Load Balance Unit, set up professional routing table, as shown in figure 11, service logic number is 3001 the corresponding stock Service Processing Unit of business processing logic, service logic number is that 3002 business processing logic counterpart fund Service Processing Unit and service logic number are 3003 the corresponding forward exchange transaction processing unit of business processing logic.
Promptly set up the transaction processing system that to handle stock business, fund business and forward exchange transaction as above-mentioned, in case need to expand new when professional, because the processing for user and fund business object has been based upon corresponding processing unit, do not need to dispose in addition business object, only need to increase a business logic processing unit of handling newly-increased business and get final product.Because this business logic processing unit is an independently unit, need not be reconstructed original whole system when setting up, very little for the influence of original system like this, safeguarded the stability and the fail safe of whole system greatly.
The present invention is further illustrated below in conjunction with the business processing flow of securities broker company.
At first user interface receives service request, and service request is sent to professional route and Load Balance Unit; Follow professional route and Load Balance Unit and receive service request, and select different business logic processing unit according to the rule of service logic routing table, for example according to the routing table rule among Figure 11, if service request is the request of logic 3001 of managing business, because have only the processing logic of depositing service logic 3001 on the stock business logic processing unit in the whole service treatment system, at this moment professional route and Load Balance Unit will directly be issued the business logic processing unit to this request, be handled by it; If service request is the request of service logic 3002, because have only the processing logic of depositing service logic 3002 on the professional Logical processing unit of fund in the whole service treatment system, at this moment professional route and Load Balance Unit will directly be issued the professional Logical processing unit of fund to this request, be handled by it; If service request is the request of service logic 3003, because have only the processing logic of depositing service logic 3003 on the forward exchange transaction Logical processing unit in the whole service treatment system, at this moment professional route and Load Balance Unit will directly be issued the forward exchange transaction Logical processing unit to this request, be handled by it; Then the business logic processing unit receives service request, carries out corresponding computing and processing according to service logic; If not having business object is the use of shared data, then after the whole service logical process is finished, result is returned professional route and Load Balance Unit, and then return to user interface by professional route and Load Balance Unit; The processing of business object shared data if desired, the business logic processing unit sends to professional route and Load Balance Unit with the processing request of corresponding business object; Follow the processing request that professional route and Load Balance Unit receive business object, and number search the business object routing table according to the business object of visit, referring to Figure 10, if find corresponding service processing object handles unit, it sends to the business object processing unit with this business object operation requests, for example search the business object routing table according to the business object numbers 1001 of visit and find the user profile processing unit, then professional route and Load Balance Unit send to the user profile processing unit with this business object operation requests; If do not find, will return business logic processing unit mistake and corresponding error information; Then the business object processing unit carries out corresponding data processing according to the requirement of corresponding business Object Operations request, comprises inquiry, writes, revises; Then concrete operating result is returned to professional route and Load Balance Unit, and returned to the corresponding service Logical processing unit, finally return to the user capture interface by Load Balance Unit.
Below only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in technical scope disclosed by the invention, the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.
Claims (10)
1, the processing method of shared data in a kind of on-line processing system is applied to comprise it is characterized in that the on-line processing system of professional route and Load Balance Unit, business logic processing unit and business object processing unit, comprising:
A, the first professional route and Load Balance Unit are routed to the correspondent service logic processing unit according to the content and the routing rule of business logic processing request with service request;
B, business logic processing unit receive the business logic processing request, carry out corresponding computing and processing;
C, need to judge whether business object to handle,, result is returned first professional route and the Load Balance Unit, return to user interface by it if do not need; If need, then the request of corresponding business object handles sent to second professional route and the Load Balance Unit;
D, the second professional route and Load Balance Unit handle request according to business object and routing rule is searched corresponding business object handles unit, if find, then business object is handled request and sends to the business object processing unit; If do not find, will return error message, continue execution in step D then;
E, business object processing unit receive business object and handle request, require to carry out corresponding data processing according to request;
F, result is returned to second professional route and the Load Balance Unit, and, finally return to the user capture interface by the second professional route and Load Balance Unit, business logic processing unit, first professional route and the Load Balance Unit.
2, according to the processing method of shared data in the described on-line processing system of claim 1, it is characterized in that, before described steps A, comprise:
21), service logic is divided according to business tine;
22), with the corresponding correspondent service logic processing unit of different service logic, and leave in the first professional route and the Load Balance Unit;
23), dispose the business logic processing method in the corresponding service Logical processing unit.
3, according to the processing method of shared data in the described on-line processing system of claim 2, it is characterized in that, between described step 21 and 22, also comprise:
31), extract business object;
32), with the corresponding corresponding business object handles of different business object unit, and be deployed in the second professional route and the Load Balance Unit;
33), dispose the business object processing method in corresponding service object handles unit.
4, according to the processing method of shared data in the described on-line processing system of claim 3, it is characterized in that described step 22 further is:
41), set up service logic number and business logic processing unit corresponding service logic routing table;
42), dispose described service logic routing table in the first professional route and Load Balance Unit.
5, according to the processing method of shared data in the described on-line processing system of claim 4, it is characterized in that, according to the rule of the content of business logic processing request and route service request is routed to the correspondent service logic processing unit in the described steps A and further is:
51), number search corresponding service Logical processing unit in the service logic routing table according to service logic; If find, then the rule according to the service request route is routed to the correspondent service logic processing unit with the business logic processing request; If do not find, then return error message, continue execution in step 51 then.
6, according to the processing method of shared data in the described on-line processing system of claim 5, it is characterized in that described step 32 further is:
61), set up business object number and business object processing unit corresponding service object routing table;
62), described business object routing table is left in secondary route and the Load Balance Unit.
7, according to the processing method of shared data in the described on-line processing system of claim 6, it is characterized in that, handle request and routing rule according to business object among the described step D and search corresponding business object handles unit and further be:
71), number search corresponding service object handles unit in the business object routing table,, then business object is handled request and send to the business object processing unit according to the rule of service request route if find according to business object; If do not find, will return error message, continue execution in step 71 then.
8, according to the processing method of shared data in claim 5 or the 7 described on-line processing systems, it is characterized in that the rule of described service request route further is:
52), the size of comparison process unit loads;
53), select the little processing unit of load, and route requests to this processing unit.
According to the processing method of shared data in the described on-line processing system of claim 8, it is characterized in that 9, described business object comprises user profile and fund information; Described business object processing unit comprises user profile processing unit and fund information process unit.
According to the processing method of shared data in the described on-line processing system of claim 9, it is characterized in that 10, described business logic processing unit comprises fund processing unit, stock processing unit, security processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100741560A CN100382550C (en) | 2004-09-01 | 2004-09-01 | Method for processing shared data in on-line processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100741560A CN100382550C (en) | 2004-09-01 | 2004-09-01 | Method for processing shared data in on-line processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1588943A true CN1588943A (en) | 2005-03-02 |
CN100382550C CN100382550C (en) | 2008-04-16 |
Family
ID=34604801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100741560A Expired - Lifetime CN100382550C (en) | 2004-09-01 | 2004-09-01 | Method for processing shared data in on-line processing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100382550C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101116056B (en) * | 2005-03-31 | 2010-05-19 | 国际商业机器公司 | Systems and methods for content-aware load balancing |
CN106549878A (en) * | 2016-10-26 | 2017-03-29 | 中国银联股份有限公司 | A kind of service shunting method and device |
CN109558449A (en) * | 2018-10-18 | 2019-04-02 | 北京新唐思创教育科技有限公司 | Data processing platform (DPP) and data processing method |
CN110430263A (en) * | 2019-08-05 | 2019-11-08 | 中国工商银行股份有限公司 | A kind of value-added service processing system and method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5805798A (en) * | 1996-10-29 | 1998-09-08 | Electronic Data Systems Corporation | Fail-safe event driven transaction processing system and method |
MXPA02008319A (en) * | 2000-02-25 | 2004-05-17 | Ocwen Technology Xchange Inc | Method for workflow processing through computer network. |
US6732175B1 (en) * | 2000-04-13 | 2004-05-04 | Intel Corporation | Network apparatus for switching based on content of application data |
KR100484138B1 (en) * | 2002-05-08 | 2005-04-18 | 삼성전자주식회사 | XML indexing method for regular path expression queries in relational database and data structure thereof. |
-
2004
- 2004-09-01 CN CNB2004100741560A patent/CN100382550C/en not_active Expired - Lifetime
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101116056B (en) * | 2005-03-31 | 2010-05-19 | 国际商业机器公司 | Systems and methods for content-aware load balancing |
CN106549878A (en) * | 2016-10-26 | 2017-03-29 | 中国银联股份有限公司 | A kind of service shunting method and device |
CN106549878B (en) * | 2016-10-26 | 2020-07-07 | 中国银联股份有限公司 | Service distribution method and device |
CN109558449A (en) * | 2018-10-18 | 2019-04-02 | 北京新唐思创教育科技有限公司 | Data processing platform (DPP) and data processing method |
CN109558449B (en) * | 2018-10-18 | 2022-02-08 | 北京新唐思创教育科技有限公司 | Data processing platform and data processing method |
CN110430263A (en) * | 2019-08-05 | 2019-11-08 | 中国工商银行股份有限公司 | A kind of value-added service processing system and method |
CN110430263B (en) * | 2019-08-05 | 2022-07-05 | 中国工商银行股份有限公司 | Value added service processing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN100382550C (en) | 2008-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6510429B1 (en) | Message broker apparatus, method and computer program product | |
US8055706B2 (en) | Transparent request routing for a partitioned application service | |
US5974443A (en) | Combined internet and data access system | |
CA2375395C (en) | Method for data maintenance in a network of partially replicated database systems | |
JP2003036181A (en) | Method for performing hot shifting operation by progressive role over process using shifting plug in for conversion during upgrade shifting | |
JPH0855048A (en) | System and method for database management | |
KR100538371B1 (en) | Method and System for Incorporating legacy applications into a distributed data processing environment | |
EP2932693A1 (en) | Exchange of server status and client information through headers for request management and load balancing | |
CN109376142A (en) | Data migration method and terminal device | |
CN1588943A (en) | Method for processing shared data in on-line processing system | |
CN102801876B (en) | Business information centralized processing system and method | |
EP2348676B1 (en) | Method for accessing magnanimity data of intelligent network service database and system and device thereof | |
CN109120706A (en) | Business scheduling method and system | |
EP1524599B1 (en) | A method of reassigning objects to processing units | |
CN111858585A (en) | Block chain strategy processing device, computer readable storage medium and terminal equipment | |
US5615372A (en) | Network definition modifying system | |
CN115423607A (en) | Business handling method based on meta universe business hall and related equipment | |
US10453143B2 (en) | Computing architecture for managed-account transactions | |
KR100324978B1 (en) | message broker apparatus, method and computer program product | |
EP1267263A2 (en) | Hot migration through incremental roll-over using migration plug-ins for conversion during upgrade | |
CN110264334A (en) | Odd corpus distribution method and system | |
CN109495575A (en) | A kind of service configuration method, system and ERP server | |
US20170076387A1 (en) | Computing architecture for managed-account transactions | |
Lehmann | Towards a common architecture paradigm for the global application of information technology | |
US20170076390A1 (en) | Computing architecture for managed-account transactions |
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 | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20080416 |