CN103019809B - Business processing device and method, and business processing control device - Google Patents

Business processing device and method, and business processing control device Download PDF

Info

Publication number
CN103019809B
CN103019809B CN201110301154.0A CN201110301154A CN103019809B CN 103019809 B CN103019809 B CN 103019809B CN 201110301154 A CN201110301154 A CN 201110301154A CN 103019809 B CN103019809 B CN 103019809B
Authority
CN
China
Prior art keywords
controller
privately owned
business
srvice instance
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110301154.0A
Other languages
Chinese (zh)
Other versions
CN103019809A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201110301154.0A priority Critical patent/CN103019809B/en
Publication of CN103019809A publication Critical patent/CN103019809A/en
Application granted granted Critical
Publication of CN103019809B publication Critical patent/CN103019809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a business processing device and a business processing method to enhance the reliability of a business system. The business processing device comprises a global controller, a private controller and a data area, wherein the data area comprises a globally shared data pool and a business data area, and the globally shared data pool is used for storing business lists and configuration parameters used for describing business processing logic corresponding to each business; the global controller is used for extracting business from the business lists of the globally shared data pool and allocating the business to the idle private controller, and the private controller is used for extracting configuration parameters corresponding to the business allocated by the global controller from the globally shared data pool and controlling the running of business instance corresponding to the allocated business according to the extracted configuration parameters; and the business data area is used for storing the running data of the business instance. The embodiment of the invention also provides a business processing control device used for realizing the independence of a model framework and business and enhancing the versatility.

Description

Business processing device and method and business processing control device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of business processing device and method and business processing control device.
Background technology
In order to effectively realize business processing mode flexibly, particularly can adapt to the differentiation feature of miscellaneous service, provide a large amount of technical schemes in prior art, these technical schemes can classify as following several types.
The business processing mode of type one, data-driven
The business processing mode of data-driven is defined with data mode business processing mode.In business procession except the labeled definition of the business processing model that exists with data mode and business processing logic, also comprise business datum.In business procession, first the data of labeled are resolved and lexical or textual analysis, then proceed to corresponding business processing program sheet.Such business processing mode, is generally applied in the application program of communication class business, and the business processing mode schematic diagram of data-driven refers to Fig. 1.
The business processing mode of type two, keyword-driven
In the process realizing multiple different business process, often there will be the situation that multiple functional module is similar or identical, but business processing model and business processing logic similarity more weak.Adopt the business processing mode of data-driven, program scale is large, indicates position processing logic complicated, and business processing program sector-meeting is a lot, be not easily distinguishable, and efficiency is lower.The business processing mode of keyword-driven solves this problem, by business procession unified definition by being made up of a series of keyword, and the corresponding specific routine processes function of each keyword, namely definition business procession can realize by selecting keyword combination, substantially increase efficiency of research and development and dirigibility, function library also improves the reusability of code, and the business processing mode schematic diagram of keyword-driven refers to Fig. 2.
The business processing mode of type three, fixed model framework
The business processing mode of fixed model framework is to provide a fixing business procession framework, this framework provides the running environment of business procedure, specific business procedure sheet is only needed to write part corresponding to framework on request, the business processing under fixed model framework can be realized, and without the need to understanding business processing model.This business processing mode, be applicable to the simple but business scenario that business processing logic is more complicated of business processing model, be generally applied in testing tool, the business processing mode schematic diagram of fixed model framework refers to Fig. 3.
The business processing mode provided in prior art is relatively effectively simple, comparatively wide in practical ranges, but above-mentioned three class business processing modes also exist some inevitable shortcomings:
The business processing mode of data-driven is serial mode, the deadlock once single business processing program sheet breaks down, cannot send feedback information to judge select handling procedure sheet, judge select handling procedure sheet under the state that cannot receive feedback information, judge business processing failure, cause whole serial traffic process failure.
The business processing mode of keyword-driven, particularly when Large Copacity voice and packet data concurrent service, single function is once the deadlock that goes wrong, in business processing logic, all voice and packet data concurrent services calling this function all cannot call this function, very easily cause business processing program disorderly, produce overall business deadlock or the system failure, therefore adopt during this mode and have to pass through sufficient confirmatory test, guarantee reliability.
The business processing mode of data-driven and keyword-driven, business processing program directly calls overall voice and packet data concurrent service program, and response is service control program state also, program structure is complicated, program layer aggregated(particle) structure is more, make program efficiency not high, and then it is stable not to show as performance.
The business processing mode of fixed model framework, program structure is relatively simple, good reliability, but the business processing model negligible amounts supported, once embed complicated business procession in business processing model, easily produce the not high situation of resource utilization.And due to the restriction of business processing model, the mode that internal data is mutual and type have strict restriction, and therefore dirigibility is also poor.
The three class business processing modes provided in prior art, only on other occasions, can carry out conditional reliability process and business procedure intervention, all can not provide the mechanism of the customizable lifting operation system reliability from outside flexibly.
Summary of the invention
The embodiment of the present invention provides a kind of business processing device and method, in order to promote the reliability of operation system.
The embodiment of the present invention also provides a kind of business processing control device, in order to the independence of implementation model framework and business, promotes versatility.
The business processing device that the embodiment of the present invention provides, comprises global controller, privately owned controller and data field, and described data field comprises the overall situation and shares data pool and business datum district, wherein:
The described overall situation shares data pool, for storage service list and the configuration parameter for describing business processing logic corresponding to each business;
Described global controller, for share data pool from the described overall situation service lists in extract traffic assignments to idle privately owned controller;
Described privately owned controller, extracts configuration parameter corresponding to described global controller institute distribution services for sharing in data pool from the described overall situation, controls the operation of srvice instance corresponding to institute's distribution services according to the configuration parameter extracted;
Business datum district, for the service data of storage service example.
The method for processing business based on above-mentioned business processing device that the embodiment of the present invention provides, comprising:
Global controller is shared the service lists of data pool from the overall situation and is extracted traffic assignments to idle privately owned controller, and the described overall situation shares storage service list in data pool and the configuration parameter for describing business processing logic corresponding to each business; And
Described privately owned controller is shared data pool from the overall situation and is extracted configuration parameter corresponding to described global controller institute distribution services, controls the operation of srvice instance corresponding to institute's distribution services according to the configuration parameter extracted.
The business processing control device that the embodiment of the present invention provides, comprises global controller, privately owned controller and data field, and described data field comprises the overall situation and shares data pool and business datum district, wherein:
Described global controller and the overall situation are shared data pool and are set up and communicate, and for creating and managing at least one privately owned controller, and share in data pool the privately owned controller registered and created in the overall situation;
Described privately owned controller and the overall situation are shared data pool and are set up with business datum district and communicate, the operation of the srvice instance that distribution services is corresponding for controlling;
The described overall situation shares data pool, for storing the log-on message of at least one the privately owned controller created;
Described business datum district, for the service data of storage service example.
The business processing device that the embodiment of the present invention provides and method, business processing model framework based on two-step evolution structure realizes, by global controller to each privately owned controller distribution services, can the static or various types of business procedure of dynamic load, the operation of srvice instance corresponding to institute's distribution services is controlled by privately owned controller, and data field and program area are separated, operation layer risk can be reduced by two-step evolution reliability of structure mechanism, thus promote the reliability of operation system.
The business processing control device that the embodiment of the present invention provides, based on the business processing model framework of two-step evolution structure, be responsible for creating by global controller and manage at least one privately owned controller, the operation of srvice instance corresponding to institute's distribution services is controlled by privately owned controller, and data field and program area are separated, by two-step evolution reliability of structure mechanism, the reliability of operation system in business procession can be ensured, and achieve the independence of model framework and business, versatility is stronger.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write instructions, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the business processing mode schematic diagram of data-driven in prior art;
Fig. 2 is the business processing mode schematic diagram of keyword-driven in prior art;
Fig. 3 is the business processing mode schematic diagram of fixed model framework in prior art;
Fig. 4 is the structural representation of business processing control device in the embodiment of the present invention;
Fig. 5 is method for processing business process flow diagram in the embodiment of the present invention;
Fig. 6 is the visioning procedure schematic diagram of business processing model framework in the embodiment of the present invention;
Fig. 7 is specific implementation program coding scheme schematic diagram in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of business processing control device irrelevant with business, in order to the independence of implementation model framework with business, lifting versatility; Based on the model framework of business processing control device, correspondingly provide a kind of business processing device and method, in order to promote the reliability of operation system.
Below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein is only for instruction and explanation of the present invention, be not intended to limit the present invention, and when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
First brief description is carried out to the business processing model framework of the embodiment of the present invention.
By the business processing model framework of the high-performance built and business has nothing to do, high reliability, can the static or various types of business procedure of dynamic load, operation layer risk can be reduced by two-step evolution reliability of structure mechanism, thus promote the reliability of operation system.
The business processing model framework that the embodiment of the present invention provides, comprise the overall situation and privately owned two-step evolution structure and independently data field, described data field comprises the overall situation and shares data pool and business datum district, the functional entity realizing overall control structure can be called global controller, the functional entity realizing privately owned control structure can be called privately owned controller (also can be called service controller), wherein:
The major function of global controller is towards the message exchange between the data sharing of the overall situation, business processing model cootrol, Properties Control and srvice instance;
The major function of privately owned controller is the control such as service data, running status, business internal logic, outbound data exchange of srvice instance.
Global controller only controls privately owned controller, does not directly control srvice instance; Privately owned controller directly controls srvice instance, uploads the running status of srvice instance to global controller, and accepts the management of global controller.Under srvice instance only operates in privately owned controller, the operation of the direct service control example of privately owned controller, and upload running status and gather to global controller; After global controller completes and gathers, in time global administration is carried out to administered privately owned controller; After privately owned controller receives management role, corresponding management operation is carried out to srvice instance.Thus, global controller, by the control to privately owned controller, controls srvice instance indirectly.
Further, independently spatial cache can be opened up within a data area, the running status of the srvice instance that the privately owned controller of buffer memory controls, descriptor and control information, the embodiment of the present invention can by this independently spatial cache be called private data district, the deadlock once srvice instance breaks down, privately owned controller or global controller, can restart or create new srvice instance, and the information content in adapter private data district, realize breakpoint to recover, thus effectively promote srvice instance reliability of operation.
The business processing model framework complete face of two-step evolution structure is to business processing model, complicated business processing model descriptive power can be provided, there is stronger versatility, any concrete srvice instance can not relied on and build, powerful extendible service ability is provided.The high reliability mechanism that two-step evolution structure is brought, and the code-insulated mechanism of concrete business and model framework, be with a wide range of applications.
Based on the business processing model framework of two-step evolution structure built, can the static or various types of business procedure of dynamic load, thus realize business processing, in business procession:
Global controller comprises srvice instance management, service management, parameter configuration management, shares the functions such as data pool management, data acquisition, global counter, monitoring running state, daily record and controlled interface, and provide the loading that independently overall shared routing space realizes srvice instance overall situation content, and perform initialization, run and exit the basic frameworks such as cleaning;
Privately owned controller comprises the data-mapping with global controller, steering logic, and provides the privately owned program space, realizes the loading of srvice instance, and can respond the steering order of global controller.
Based on the business processing model framework of two-step evolution structure, the embodiment of the present invention provide firstly a kind of business processing control device, as shown in Figure 4, comprise global controller 401, privately owned controller 402 and data field 403, described data field comprises the overall situation and shares data pool 4031 and business datum district 4032, wherein:
Global controller 401 and the overall situation are shared data pool 4031 and are set up and communicate, and for creating and managing at least one privately owned controller 402, and share in data pool 4031 the privately owned controller registered and created in the overall situation;
Privately owned controller 402 and the overall situation are shared data pool 4031 and are set up with business datum district 4032 and communicate, the operation of the srvice instance that distribution services is corresponding for controlling;
The overall situation shares data pool 4031, for storing the log-on message of at least one the privately owned controller created;
Business datum district 4032, for the service data of storage service example.
Preferably, data field 403 also comprises private data district 4033, and privately owned controller 402 is set up with private data district 403 and communicated; And
Private data district 403, the running status of the srvice instance controlled for the privately owned controller 402 of buffer memory, descriptor and control information.
Wherein, the running status of srvice instance comprises state updating time, address information, operation file etc. in internal memory, the descriptor of srvice instance comprises process ID (identifier), creation-time etc., and the control information of srvice instance comprises user's replacing construction etc.
The business processing control device that the embodiment of the present invention provides, based on the business processing model framework of two-step evolution structure, be responsible for creating by global controller and manage at least one privately owned controller, by the operation of privately owned controller service control example, and data field and program area are separated, by two-step evolution reliability of structure mechanism, the reliability of operation system can be ensured, and achieve the independence of model framework and business, versatility is stronger.
Further, the business processing control device that the embodiment of the present invention provides, possesses the automatic recovery capability of business processing fault breakpoint, especially effectively can ensure the service reliability of operation system in the unstable situation of business procedure.
Based on the business processing model framework of the two-step evolution structure that the embodiment of the present invention provides, by the dynamic or various types of business procedure of static loading, business procession can be realized, the method for processing business that the embodiment of the present invention provides, as shown in Figure 5, comprise the steps:
S501, global controller are shared the service lists of data pool from the overall situation and are extracted traffic assignments to idle privately owned controller, and the described overall situation shares storage service list in data pool and the configuration parameter for describing business processing logic corresponding to each business;
S502, privately owned controller are shared data pool from the overall situation and are extracted configuration parameter corresponding to described global controller institute distribution services, control the operation of srvice instance corresponding to institute's distribution services according to the configuration parameter extracted.
The method for processing business that the embodiment of the present invention provides, adopt two-step evolution structure to call srvice instance, the business process broken down can be oriented, monitor and store the running status, service data etc. when breaking down, once srvice instance breaks down deadlock hang up, in have no progeny and can automatically recover.Recovering to realize breakpoint, promoting srvice instance reliability of operation, embodiments providing two kinds of breakpoint Restoration Mechanism:
Breakpoint Restoration Mechanism one
The running status of the srvice instance needing the privately owned controller of each operation self to be controlled, descriptor and control information are buffered in private data district.When this srvice instance breaks down deadlock, privately owned controller extracts the running status before this srvice instance fault breakpoint, descriptor and control information from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance.
Breakpoint Restoration Mechanism two
The running status of the srvice instance needing the privately owned controller of each operation self to be controlled, descriptor and control information are buffered in private data district, and the service data of the privately owned controller of each operation is stored in the overall situation and shares in data pool by global controller.When the privately owned controller of operation and the srvice instance of control thereof all break down deadlock, global controller shares data pool the service data before the privately owned controller failure breakpoint extracting and break down from the overall situation, carries out breakpoint recovery to the privately owned controller broken down; The privately owned controller resumed operation extracts the running status before the srvice instance fault breakpoint self controlled, descriptor and control information from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance.
In concrete enforcement, the method for processing business that the embodiment of the present invention provides, can also comprise the steps:
The running status of the srvice instance that self controls by the privately owned controller of each operation reports described global controller;
The running status of global controller to each srvice instance received gathers, and issues management role based on summarized results to the privately owned controller of each operation;
Receive the privately owned controller of the management role that global controller issues, corresponding management operation is carried out to the srvice instance that self controls.
In concrete enforcement, the method for processing business that the embodiment of the present invention provides, can also comprise the steps:
When global controller confirms that service lists is empty, send to each privately owned controller and exit signal; And
Each privately owned controller after signal service control example run according to exiting of receiving, discharges the resource that this srvice instance takies;
After the resource that the srvice instance that described global controller self controls in all privately owned controller release takies, delete the overall situation and share data pool, release public resource.
Based on same technical conceive, the embodiment of the present invention additionally provides a kind of business processing device, and the principle of dealing with problems due to this business processing device is similar to method for processing business, and therefore the enforcement of this device see the enforcement of method, can repeat part and repeat no more.
The business processing device that the embodiment of the present invention provides, its structural representation refers to Fig. 4 equally, comprises global controller, privately owned controller and data field, and described data field comprises the overall situation and shares data pool and business datum district, wherein:
The overall situation shares data pool, for storage service list and the configuration parameter for describing business processing logic corresponding to each business;
Global controller, for share data pool from the described overall situation service lists in extract traffic assignments to idle privately owned controller;
Privately owned controller, extracts configuration parameter corresponding to described global controller institute distribution services for sharing in data pool from the described overall situation, controls the operation of srvice instance corresponding to institute's distribution services according to the configuration parameter extracted;
Business datum district, for the service data of storage service example.
In concrete enforcement, recovering to realize breakpoint, in business processing device, also comprising private data district, wherein:
Described privately owned controller, also be buffered in private data district for the running status of srvice instance that self is controlled, descriptor and control information, and when this srvice instance breaks down deadlock, the running status before this srvice instance fault breakpoint, descriptor and control information is extracted from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance;
Described private data district, the running status of the srvice instance controlled for the privately owned controller of buffer memory, descriptor and control information.
Further, described global controller, service data also for the privately owned controller by each operation is stored in the shared data pool of the overall situation, when the privately owned controller of operation and the srvice instance of control thereof all break down deadlock, share data pool the service data before the privately owned controller failure breakpoint extracting and break down from the overall situation, breakpoint recovery is carried out to the privately owned controller broken down;
The described overall situation shares data pool, also for storing the service data of the privately owned controller of each operation;
Described privately owned controller, also for after self-recovery operation, the running status before the srvice instance fault breakpoint self controlled, descriptor and control information is extracted from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance.
In concrete enforcement, described privately owned controller, the running status also for the srvice instance self controlled reports described global controller; And when receiving management role that described global controller issues, corresponding management operation is carried out to the srvice instance that self controls;
Described global controller, also for gathering the running status of each srvice instance received, issues management role based on summarized results to the privately owned controller of each operation.
In concrete enforcement, described global controller, time also for confirming that service lists is sky, sending to each privately owned controller and exiting signal; And after the resource that the srvice instance that all privately owned controller release controls self takies, delete the overall situation and share data pool, and discharge public resource;
Described privately owned controller, also for after signal service control example run according to exiting of receiving, discharges the resource that this srvice instance takies.
The business processing device that the embodiment of the present invention provides and method, business processing model framework based on two-step evolution structure realizes, by global controller to each privately owned controller distribution services, can the static or various types of business procedure of dynamic load, by the operation of privately owned controller service control example, and data field and program area are separated, operation layer risk can be reduced by two-step evolution reliability of structure mechanism, thus promote the reliability of operation system.
The business processing device that the embodiment of the present invention provides and method, possess the automatic recovery capability of srvice instance fault breakpoint; Effectively can utilize system resource, realize multi-service mixed deployment fast, multi-service is monitored, reduce the wasting of resources; Can safety use third party program and to increase income program, and be not forced to open native codes by the agreement of agreement; Can merge with other schemes and use, both can use in other schemes as subscheme, also can embed other subschemes as paternal case, there is higher versatility.
The business processing control device that the embodiment of the present invention provides and business processing device and method, in the application software that can be widely used in all kinds of complicated business scene and testing tool, especially needing to emulate in the performance testing tool of mass users behavior scene.
Business processing model decomposition is the overall situation and privately owned two parts by the business processing model framework of two-step evolution structure, by using the technological means such as multi-process, interprocess communication, method respectively by host process and derived processes realizes, and srvice instance realizes in derived processes.The business processing model framework of two-step evolution structure, can by the business procession of the complexity of the high repetition of simple external control realization, high concurrent, high relevance, high reliability.Two-step evolution structure provides the business processing model framework of general business scenario, can define and have standardization and open interface, and miscellaneous service ability can fast Development accessing.The research and development of business processing model framework and miscellaneous service ability can be separate, and miscellaneous service ability, in the mode of dynamic link library, dynamically can be plugged into by standardized open interface, can realize source code not cross compile.
In concrete enforcement, the visioning procedure of the business processing model framework of two-step evolution structure, as shown in Figure 6:
First, carry out business scenario definition and business scenario initialization, business scenario definition comprises the overall situation, privately owned, business three aspect, and business scenario initialization can adopt static business scenario file initialization mode to realize, and also can be realized by dynamic instruction initialization mode;
Then, in internal memory, open up data field, comprise the overall situation and share data pool, private data district and business datum district;
Thereafter, create global controller, and share data pool with the overall situation and set up and communicate; Create privately owned controller again, privately owned controller can create one to multiple, and by operating system and system hardware limit decision, privately owned controller accepts the management of global controller, and shares data pool, private data district with the overall situation and to set up with business datum district and communicate;
Finally, loaded with traffic example, and according to the information content of data field, complete initialization and prepare, reach executable state, work is carried out in the instruction according to privately owned controller.
The embodiment of the present invention describes one preferably specific implementation program coding scheme, and schematic diagram refers to Fig. 7, wherein:
Two-step evolution structure is divided into two functional modules, host process module (global controller in the corresponding embodiment of the present invention) and derived processes module (the privately owned controller in the corresponding embodiment of the present invention).Host process module is the call entry of business processing program, be responsible on the one hand the establishment to host process module and derived processes module public resource, initialization and the work of destruction, be the first order (external controlled stage) of two-step evolution structure on the other hand, be responsible for startup and the stopping of derived processes module.Derived processes module is the second level (service level) of two-step evolution structure, the set that derived processes module is made up of multiple business process, each business process uses identical run time version, but by different configuration parameters, completes different business processing logic.
Host process module provides three main external control function interfaces: Init (), Run (), Exit ().Init () function is the startup interface of host process module, when calling Init () function, can be imported into the configuration of host process module by parameter.In Init () function, also need establishment one piece of shared drive (overall situation in the corresponding embodiment of the present invention shares data pool), for the exchanges data between two-step evolution structure.Run () function is the runnable interface of host process module, when calling Run () function, derived processes module will be created, and the business process of host process module creation setting quantity, the set of business process and behavior thereof constitutes derived processes module.Host process module is after completing establishment derived processes module, by in the monitoring state, by query procedure ID, send the running status that the modes such as signal monitor business process in derived processes module, after the business process in derived processes module surprisingly exits, this business process will be restarted immediately.Exit () function be host process module exit cleaning interface, when Exit () function is called, host process module will first by sending a signal to the business process in all derived processes modules, derived processes module will complete and exit operation, and after derived processes module exits, host process module just starts to exit operation, mainly comprise deletion shared drive, the operations such as release public resource, after having exited, Exit () function has returned.
Derived processes module also needs to realize three function interface: proc_Init (), proc_Run (), proc_Exit (), is three primary function that each business process performs in different phase.After host process module performs Run () function startup derived processes module, derived processes module can produce the business process of some, first each business process can perform the proc_init () function of derived processes module upon actuation with the resource of this business process of initialization, is included in shared drive the information registering this business process.After derived processes module executes proc_init () function, the business waited in shared drive will be started.When after the service lists having business to be pushed in shared drive, business in service lists is assigned to certain business process in derived processes module, call proc_run () function by this business process to perform, the relevant information of business passes to this proc_run () function as configuration parameter.As long as the service lists in shared drive is not empty, business process in derived processes module can recursive call proc_run () function always, finishing service until derived processes module receive from host process module send exit signal, now, each business process in derived processes module will perform proc_exit () function complete process exit before cleaning operation backed off after random, after last business process exits, derived processes module is destroyed.
It is apparent to those skilled in the art that embodiments of the invention can be provided as method, device or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, device and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. a business processing device, is characterized in that, comprises global controller, privately owned controller and data field, and described data field comprises the overall situation and shares data pool and business datum district, wherein:
The described overall situation shares data pool, for storage service list and the configuration parameter for describing business processing logic corresponding to each business;
Described global controller, for share data pool from the described overall situation service lists in extract traffic assignments to idle privately owned controller;
Described privately owned controller, extracts configuration parameter corresponding to described global controller institute distribution services for sharing in data pool from the described overall situation, controls the operation of srvice instance corresponding to institute's distribution services according to the configuration parameter extracted;
Business datum district, for the service data of storage service example.
2. device as claimed in claim 1, is characterized in that, also comprise private data district, wherein:
Described privately owned controller, also be buffered in private data district for the running status of srvice instance that self is controlled, descriptor and control information, and when this srvice instance breaks down deadlock, the running status before this srvice instance fault breakpoint, descriptor and control information is extracted from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance.
3. device as claimed in claim 2, is characterized in that,
Described global controller, service data also for the privately owned controller by each operation is stored in the shared data pool of the overall situation, when the privately owned controller of operation and the srvice instance of control thereof all break down deadlock, share data pool the service data before the privately owned controller failure breakpoint extracting and break down from the overall situation, breakpoint recovery is carried out to the privately owned controller broken down;
The described overall situation shares data pool, also for storing the service data of the privately owned controller of each operation;
Described privately owned controller, also for after self-recovery operation, the running status before the srvice instance fault breakpoint self controlled, descriptor and control information is extracted from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance.
4. device as claimed in claim 1, is characterized in that,
Described privately owned controller, the running status also for the srvice instance self controlled reports described global controller; And when receiving management role that described global controller issues, corresponding management operation is carried out to the srvice instance that self controls;
Described global controller, also for gathering the running status of each srvice instance received, issues management role based on summarized results to the privately owned controller of each operation.
5. device as claimed in claim 1, is characterized in that,
Global controller, time also for confirming that service lists is sky, sending to each privately owned controller and exiting signal; And after the resource that the srvice instance that all privately owned controller release controls self takies, delete the overall situation and share data pool, and discharge public resource;
Described privately owned controller, also for after signal service control example run according to exiting of receiving, discharges the resource that this srvice instance takies.
6. based on a method for processing business for business processing device described in claim 1, it is characterized in that, comprising:
Global controller is shared the service lists of data pool from the overall situation and is extracted traffic assignments to idle privately owned controller, and the described overall situation shares storage service list in data pool and the configuration parameter for describing business processing logic corresponding to each business; And
Described privately owned controller is shared data pool from the overall situation and is extracted configuration parameter corresponding to described global controller institute distribution services, according to the configuration parameter that extracts control the operation of srvice instance corresponding to point distribution services.
7. method as claimed in claim 6, is characterized in that, also comprise:
The running status of the srvice instance that self controls by the privately owned controller of each operation, descriptor and control information are buffered in private data district; And
When this srvice instance breaks down deadlock, the running status before this srvice instance fault breakpoint, descriptor and control information is extracted from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance.
8. method as claimed in claim 7, is characterized in that, also comprise:
The service data of the privately owned controller of each operation is stored in the overall situation and shares in data pool by described global controller; And
When the privately owned controller of operation and the srvice instance of control thereof all break down deadlock, share data pool the service data before the privately owned controller failure breakpoint extracting and break down from the overall situation, breakpoint recovery is carried out to the privately owned controller broken down;
The privately owned controller resumed operation extracts the running status before the srvice instance fault breakpoint self controlled, descriptor and control information from private data district, from business data field, extract the service data before this srvice instance fault breakpoint, breakpoint recovery is carried out to this srvice instance.
9. method as claimed in claim 6, is characterized in that, also comprise:
The running status of the srvice instance that self controls by the privately owned controller of each operation reports described global controller;
The running status of described global controller to each srvice instance received gathers, and issues management role based on summarized results to the privately owned controller of each operation;
Receive the privately owned controller of the management role that global controller issues, corresponding management operation is carried out to the srvice instance that self controls.
10. method as claimed in claim 6, is characterized in that, also comprise:
When global controller confirms that service lists is empty, send to each privately owned controller and exit signal; And
Each privately owned controller, according to exiting described in receiving after signal service control example run, discharges the resource that this srvice instance takies;
After the resource that the srvice instance that described global controller self controls in all privately owned controller release takies, delete the overall situation and share data pool, release public resource.
11. 1 kinds of business processing control device, is characterized in that, comprise global controller, privately owned controller and data field, and described data field comprises the overall situation and shares data pool and business datum district, wherein:
Described global controller and the overall situation are shared data pool and are set up and communicate, and for creating and managing at least one privately owned controller, and share in data pool the privately owned controller registered and created in the overall situation;
Described privately owned controller and the overall situation are shared data pool and are set up with business datum district and communicate, the operation of the srvice instance that distribution services is corresponding for controlling;
The described overall situation shares data pool, for storing the log-on message of at least one the privately owned controller created;
Described business datum district, for the service data of storage service example.
12. devices as claimed in claim 11, it is characterized in that, described data field also comprises private data district, and described privately owned controller is set up with private data district and communicated; And
Described private data district, the running status of the srvice instance controlled for the privately owned controller of buffer memory, descriptor and control information.
CN201110301154.0A 2011-09-28 2011-09-28 Business processing device and method, and business processing control device Active CN103019809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110301154.0A CN103019809B (en) 2011-09-28 2011-09-28 Business processing device and method, and business processing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110301154.0A CN103019809B (en) 2011-09-28 2011-09-28 Business processing device and method, and business processing control device

Publications (2)

Publication Number Publication Date
CN103019809A CN103019809A (en) 2013-04-03
CN103019809B true CN103019809B (en) 2015-05-27

Family

ID=47968441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110301154.0A Active CN103019809B (en) 2011-09-28 2011-09-28 Business processing device and method, and business processing control device

Country Status (1)

Country Link
CN (1) CN103019809B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298013B (en) * 2013-06-24 2016-08-10 京信通信系统(中国)有限公司 A kind of method and device carrying out business recovery
CN107861715B (en) * 2017-10-31 2021-09-07 山东中创软件商用中间件股份有限公司 Service establishing system and method
CN108052335B (en) * 2017-11-10 2021-08-13 阿里巴巴(中国)有限公司 Data management method and device, computing equipment and storage medium
CN111343181B (en) * 2020-02-26 2022-08-09 中国邮政储蓄银行股份有限公司 Message processing method and system, data pool and computer readable storage medium
CN112346879B (en) * 2020-11-06 2023-08-11 网易(杭州)网络有限公司 Process management method, device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009067950A1 (en) * 2007-11-29 2009-06-04 Huawei Technologies Co., Ltd. Management method and device of shared memory in multi-core system
CN101692737A (en) * 2009-08-07 2010-04-07 华南理工大学 Light weight data synchronous architecture opposite to mobile RFID
CN101938396A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Data stream control method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009067950A1 (en) * 2007-11-29 2009-06-04 Huawei Technologies Co., Ltd. Management method and device of shared memory in multi-core system
CN101938396A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Data stream control method and device
CN101692737A (en) * 2009-08-07 2010-04-07 华南理工大学 Light weight data synchronous architecture opposite to mobile RFID

Also Published As

Publication number Publication date
CN103019809A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN111290834B (en) Method, device and equipment for realizing high service availability based on cloud management platform
US8656412B2 (en) Pipeline across isolated computing environments
CN103019809B (en) Business processing device and method, and business processing control device
AU2013207906B2 (en) Fault tolerance for complex distributed computing operations
CN103049268B (en) A kind of application and development based on Naplet management system
CN107682206B (en) Deployment method and system of micro-service-based business process management system
CN102520881A (en) Virtual machine snapshot management method and system of cloud computing platform
CN1659539A (en) A network system having a virtual-service-module
CN101764703B (en) Implementing method of network element management system based on virtual technology
WO2012113336A1 (en) System for managing resources in virtualized environment and implementation method therefor
US8893272B2 (en) Method and device for recombining runtime instruction
CN105630589A (en) Distributed process scheduling system and process scheduling and execution method
CN111262908A (en) Task construction method and system based on jenkins
CN101221498B (en) System and method for managing service modules
CN116627721A (en) Cloud primary database recovery method, device and storage medium based on hybrid cloud
CN111736809A (en) Distributed robot cluster network management framework and implementation method thereof
CN104731634A (en) Real-time online distributive calculation frame implementing method
CN111984274A (en) Method and device for one-key automatic deployment of ETCD (electronic toll collection) cluster
CN113485812B (en) Partition parallel processing method and system based on large-data-volume task
CN105589738A (en) Concurrent processing method of intelligent split screen and corresponding intelligent terminal
CN114443295B (en) Heterogeneous cloud resource management scheduling method, device and system
CN114816662A (en) Container arrangement method and system applied to Kubernetes
CN113742646A (en) Compiling a single language compound function into a single entity
CN104657204A (en) Short task processing method, device and operation system
CN111580938A (en) Transaction processing method, device, equipment and medium for work unit

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