CN105635282B - A kind of cluster management system and method - Google Patents
A kind of cluster management system and method Download PDFInfo
- Publication number
- CN105635282B CN105635282B CN201511022602.8A CN201511022602A CN105635282B CN 105635282 B CN105635282 B CN 105635282B CN 201511022602 A CN201511022602 A CN 201511022602A CN 105635282 B CN105635282 B CN 105635282B
- Authority
- CN
- China
- Prior art keywords
- module
- operation information
- middleware module
- middleware
- behalf
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 35
- 238000007726 management method Methods 0.000 claims description 28
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 230000003111 delayed effect Effects 0.000 claims 1
- 230000008878 coupling Effects 0.000 abstract description 5
- 238000010168 coupling process Methods 0.000 abstract description 5
- 238000005859 coupling reaction Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 206010033799 Paralysis Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
Abstract
The invention discloses a kind of cluster management system and methods,Middleware module is connected to client modules and acts on behalf of between end module,Client modules respond operational order and operation information are sent to middleware module,The middleware module judges whether the operation information belongs to process range,If it is,Then the operation information is handled,And processing result is fed back into the client,Otherwise the operation information is sent to and acts on behalf of end module by the middleware module,End module is acted on behalf of to handle the operation information,And processing result is fed back into the middleware module,The processing result of the operation information of the agent side module feedback is fed back to the client by middleware module,In cluster management,Middleware module reduces client modules and acts on behalf of the degree of coupling of end module,And it can handle partial transaction,Alleviate the data pressure for acting on behalf of end module,Improve the operational efficiency of whole system.
Description
Technical field
The present invention relates to cluster management fields, more particularly to a kind of cluster management system and method.
Background technique
In the cluster management software of traditional B/S browser/server framework, by the core diversity of system function realization
In on Agent agent side, need to carry out Agent end a large amount of business logical operation, Agent becomes entire software development
Absolute core, almost all of operation is realized in Agent end, and a large amount of data payload is configured in Agent end,
Client client and Agent end are connected directly, and are highly coupled, in the dimension of the early period design and later period of whole system
Shield, most operations is carried out both for Agent end, once Agent end is abnormal, whether due to the mistake in design
Accidentally, manual operation or other fortuitous event are likely to cause system very big injury, the operational efficiency of system compared with
It is low.
Summary of the invention
In view of this, system can be made to transport the main purpose of the present invention is to provide a kind of cluster management system and method
Line efficiency improves.
To achieve the above object, the present invention provides a kind of cluster management systems, including:
Operation information is sent to middleware module for responding operational order by client modules;
Middleware module is connected with the client modules, for judging whether the operation information belongs to processing model
It encloses, if it is, handling the operation information, and processing result is fed back into the client, otherwise by the behaviour
It is sent to as information and acts on behalf of end module, the processing result of the operation information of the agent side module feedback fed back to described
Client;
End module is acted on behalf of, is connected with the middleware module, for handling the operation information, and will processing
As a result the middleware module is fed back to.
Preferably, the middleware module is also used to:
When the operation information is not belonging to process range and the agent side module failure, the operation information is carried out
Caching.
Preferably, the middleware module is also used to:
When the operation information is not belonging to process range and the agent side module failure releases, by the behaviour of caching
It is sent to as information and described acts on behalf of end module.
The present invention also provides a kind of cluster management methods, including:
Client modules respond operational order and operation information are sent to middleware module;
The middleware module judges whether the operation information belongs to process range, if it is, believing the operation
Breath is handled, and processing result is fed back to the client;
Otherwise the operation information is sent to and acts on behalf of end module by the middleware module, acts on behalf of end module to the operation
Information is handled, and processing result is fed back to the middleware module, and middleware module is by the agent side module feedback
The processing result of the operation information feed back to the client.
Preferably, further include after the middleware module judges that the operation information is not belonging to process range:
The middleware module judge it is described act on behalf of end module whether failure, if it is, the middleware module is to institute
Operation information is stated to be cached.
Preferably, further include after the middleware module caches the operation information:
When the agent side module failure releases, the operation information of caching is sent to institute by the middleware module
It states and acts on behalf of end module.
Client modules and generation are connected to using a kind of cluster management system provided by the invention and method, middleware module
It manages between end module, client modules respond operational order and operation information is sent to middleware module, the middleware module
Judge whether the operation information belongs to process range, if it is, handle the operation information, and by processing result
The client is fed back to, otherwise the operation information is sent to and acts on behalf of end module by the middleware module, acts on behalf of end module
The operation information is handled, and processing result is fed back into the middleware module, middleware module is by the agency
The processing result of the operation information of end module feedback feeds back to the client, in cluster management, middleware module drop
Low client modules and the degree of coupling of end module is acted on behalf of, and can handle partial transaction, alleviates the data for acting on behalf of end module
Pressure improves the operational efficiency of whole system.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of structural schematic diagram of cluster management system embodiment one of the present invention;
Fig. 2 is a kind of schematic illustration of cluster management system embodiment one of the present invention;
Fig. 3 is a kind of flow chart of cluster management method embodiment two of the present invention;
Fig. 4 is a kind of schematic illustration of cluster management method embodiment two of the present invention;
Fig. 5 is a kind of another schematic illustration of cluster management method embodiment two of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment one:
The present invention provides a kind of cluster management system, Fig. 1 shows the knot of cluster management system embodiment one of the present invention
Structure schematic diagram, including:
Operation information is sent to middleware module for responding operational order by client modules 101;
Middleware module 102 is connected with the client modules 101, for judging whether the operation information belongs to
Processing result if it is, handling the operation information, and is fed back to the client by process range, otherwise will
The operation information, which is sent to, acts on behalf of end module, and the processing result of the operation information of the agent side module feedback is fed back
To the client;
End module 103 is acted on behalf of, is connected with the middleware module 102, for handling the operation information, and
Processing result is fed back into the middleware module.
As shown in Fig. 2, middleware module is set between Client client and Agent agent side, respectively with Client
End carries out information exchange with Agent end, and middleware module 102 described in the present embodiment can also be used in:
When the operation information is not belonging to process range and the agent side module failure, the operation information is carried out
The operation information of caching is sent to when the agent side module failure releases and described acts on behalf of end module by caching.
Using a kind of cluster management system provided in this embodiment, middleware module is connected to client modules and agent side
Between module, client modules respond operational order and operation information are sent to middleware module, the middleware module judgement
Whether the operation information belongs to process range, if it is, handling the operation information, and processing result is fed back
To the client, otherwise the operation information is sent to and acts on behalf of end module by the middleware module, acts on behalf of end module to institute
It states operation information to be handled, and processing result is fed back into the middleware module, middleware module is by the agent side mould
The processing result of the operation information of block feedback feeds back to the client, and in cluster management, middleware module is reduced
Client modules and the degree of coupling for acting on behalf of end module, and can handle partial transaction, the data pressure for acting on behalf of end module is alleviated,
Improve the operational efficiency of whole system.
Embodiment two:
The present invention also provides a kind of cluster management method, Fig. 3 shows cluster management method embodiment two of the present invention
Flow chart, including:
Step S101:Client modules respond operational order and operation information are sent to middleware module;
User initiates request by Client client, and solicited message is first sent in middleware module.
Step S102:The middleware module judges whether the operation information belongs to process range, if it is, into
Step S103, otherwise enters step S104;
Middleware module itself can handle certain service logic, after middleware module receives the request of client transmission,
Screening judgement is carried out to operation requests, judges whether to belong to process range.
Step S103:The middleware module handles the operation information, and processing result is fed back to described
Client;
When middleware module can be handled operation information, direct processing operation information obtains processing result, knot
Fruit feeds back to client, and in this process, other operations can be executed by acting on behalf of end module, has both responded client mould in this way
The solicited message of block, and reduce the data load for acting on behalf of end module.
Step S104:The operation information is sent to and acts on behalf of end module by the middleware module, acts on behalf of end module to institute
It states operation information to be handled, and processing result is fed back into the middleware module, middleware module is by the agent side mould
The processing result of the operation information of block feedback feeds back to the client.
If operation information is not belonging to the process range of middleware module, operation information is sent to agency by middleware module
End module, acts on behalf of end module and is handled to obtain result to operation information and feed back to client by middleware module.Processing stream
Journey schematic diagram is as shown in Figure 4.
In the present embodiment, it may also include after the middleware module judges that the operation information is not belonging to process range:
The middleware module judge it is described act on behalf of end module whether failure, if it is, the middleware module is to institute
It states operation information to be cached, when the agent side module failure releases, the middleware module is by the operation of caching
Information, which is sent to, described acts on behalf of end module.Schematic illustration is as shown in Figure 5.
The cluster management method of the present embodiment can reduce the degree of coupling of the end Client and Agent end, between each layer more solely
It is vertical.The simple service logic of Agent end can be transferred to middleware and be realized, reduce the data load of Agent end.Agent
When collapsing, middleware module can guarantee that system will not paralyse completely, can reduce the cost of system maintenance.
Using a kind of cluster management method provided in this embodiment, middleware module is connected to client modules and agent side
Between module, client modules respond operational order and operation information are sent to middleware module, the middleware module judgement
Whether the operation information belongs to process range, if it is, handling the operation information, and processing result is fed back
To the client, otherwise the operation information is sent to and acts on behalf of end module by the middleware module, acts on behalf of end module to institute
It states operation information to be handled, and processing result is fed back into the middleware module, middleware module is by the agent side mould
The processing result of the operation information of block feedback feeds back to the client, and in cluster management, middleware module is reduced
Client modules and the degree of coupling for acting on behalf of end module, and can handle partial transaction, the data pressure for acting on behalf of end module is alleviated,
Improve the operational efficiency of whole system.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For system class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, the terms "include", "comprise" or its any other variant are intended to
Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting
Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
System and method for provided by the present invention is described in detail above, specific case used herein is to this
The principle and embodiment of invention is expounded, method of the invention that the above embodiments are only used to help understand and
Its core concept;At the same time, for those skilled in the art in specific embodiment and is answered according to the thought of the present invention
With in range, there will be changes, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (6)
1. a kind of cluster management system, which is characterized in that including:
Operation information is sent to middleware module for responding operational order by client modules;
Middleware module is connected with the client modules, for judging whether the operation information belongs to process range, such as
Fruit is then to handle the operation information, and processing result is fed back to the client, otherwise by the operation information
It is sent to and acts on behalf of end module, the processing result of the operation information of the agent side module feedback is fed back into the client
End;
End module is acted on behalf of, is connected with the middleware module, for handling the operation information, and by processing result
Feed back to the middleware module.
2. cluster management system according to claim 1, which is characterized in that the middleware module is also used to:
When the operation information is not belonging to process range and the agent side module failure, the operation information is delayed
It deposits.
3. cluster management system according to claim 2, which is characterized in that the middleware module is also used to:
When the operation information is not belonging to process range and the agent side module failure releases, the operation of caching is believed
Breath, which is sent to, described acts on behalf of end module.
4. a kind of cluster management method, which is characterized in that including:
Client modules respond operational order and operation information are sent to middleware module;
The middleware module judges whether the operation information belongs to process range, if it is, to the operation information into
Row processing, and processing result is fed back into the client;
Otherwise the operation information is sent to and acts on behalf of end module by the middleware module, acts on behalf of end module to the operation information
It is handled, and processing result is fed back into the middleware module, middleware module is by the institute of the agent side module feedback
The processing result for stating operation information feeds back to the client.
5. cluster management method according to claim 4, which is characterized in that when the middleware module judges the operation
Information further includes after being not belonging to process range:
The middleware module judge it is described act on behalf of end module whether failure, if it is, the middleware module is to the behaviour
It is cached as information.
6. cluster management method according to claim 5, which is characterized in that the middleware module is to the operation information
Further include after being cached:
When the agent side module failure releases, the operation information of caching is sent to the generation by the middleware module
Manage end module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511022602.8A CN105635282B (en) | 2015-12-30 | 2015-12-30 | A kind of cluster management system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511022602.8A CN105635282B (en) | 2015-12-30 | 2015-12-30 | A kind of cluster management system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105635282A CN105635282A (en) | 2016-06-01 |
CN105635282B true CN105635282B (en) | 2018-11-16 |
Family
ID=56049754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511022602.8A Active CN105635282B (en) | 2015-12-30 | 2015-12-30 | A kind of cluster management system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105635282B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107508910A (en) * | 2017-09-20 | 2017-12-22 | 郑州云海信息技术有限公司 | A kind of method and Middleware layers for managing storage device |
CN107896230B (en) * | 2017-12-26 | 2020-04-10 | 车智互联(北京)科技有限公司 | System supporting high-concurrency command execution channel |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217558A (en) * | 2007-12-26 | 2008-07-09 | 中国移动通信集团湖北有限公司 | An operation middleware service load balancing method |
CN101645022A (en) * | 2009-08-28 | 2010-02-10 | 曙光信息产业(北京)有限公司 | Work scheduling management system and method for a plurality of colonies |
CN102655460A (en) * | 2012-01-05 | 2012-09-05 | 中国工商银行股份有限公司 | Redundancy backup method and system of production server |
CN102968310A (en) * | 2012-12-05 | 2013-03-13 | 武汉烽火普天信息技术有限公司 | Integrated high-performance application software architecture and construction method thereof |
CN104202430A (en) * | 2014-09-26 | 2014-12-10 | 浪潮电子信息产业股份有限公司 | Colony management system and method based on http protocol |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2001288263A1 (en) * | 2000-08-14 | 2002-02-25 | I2 Technologies, Inc. | Network application program interface facilitating communication in a distributed network environment |
-
2015
- 2015-12-30 CN CN201511022602.8A patent/CN105635282B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217558A (en) * | 2007-12-26 | 2008-07-09 | 中国移动通信集团湖北有限公司 | An operation middleware service load balancing method |
CN101645022A (en) * | 2009-08-28 | 2010-02-10 | 曙光信息产业(北京)有限公司 | Work scheduling management system and method for a plurality of colonies |
CN102655460A (en) * | 2012-01-05 | 2012-09-05 | 中国工商银行股份有限公司 | Redundancy backup method and system of production server |
CN102968310A (en) * | 2012-12-05 | 2013-03-13 | 武汉烽火普天信息技术有限公司 | Integrated high-performance application software architecture and construction method thereof |
CN104202430A (en) * | 2014-09-26 | 2014-12-10 | 浪潮电子信息产业股份有限公司 | Colony management system and method based on http protocol |
Also Published As
Publication number | Publication date |
---|---|
CN105635282A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019866B (en) | Distributed method and system based on message queue | |
CN105868075A (en) | System and method for monitoring and analyzing great deal of logs in real time | |
CN103856392A (en) | Message push method, outgoing server using message push method and outgoing server system | |
CN104657841A (en) | Express item delivery method, delivery processing method, express cabinet terminal and service system | |
CN105635282B (en) | A kind of cluster management system and method | |
CN109547240A (en) | The analytic method of smart machine and access and equipment based on edge calculations | |
CN109327511A (en) | A kind of data request method and server based on http protocol | |
CN105306587B (en) | Processing method, device and the system of business datum | |
CN102811152A (en) | Method for realizing real-time transaction and data exchange of multiple main bus network communication | |
CN103533064A (en) | Method for upgrading server program without interrupting network user online state | |
CN201985898U (en) | Communication service load balancing system | |
CN103685363A (en) | Efficient and reliable method and system for multitask processing | |
CN102054213A (en) | Information integration method, device and system | |
CN104243473B (en) | A kind of method and device of data transmission | |
CN106210053A (en) | A kind of electrical power system wide-area information management method | |
CN106570011A (en) | Distributed crawler URL seed distribution method, dispatching node, and grabbing node | |
CN103997509A (en) | Service oriented architecture-based service processing method and apparatus | |
CN104331353A (en) | Method for guaranteeing software high availability | |
CN104240048A (en) | Comprehensive order handling platform | |
CN104240049A (en) | Comprehensive order handling platform | |
CN102868753B (en) | Adaptive null response restoration methods and device after content-based distributing network optimization | |
CN105099738B (en) | Data capture method, apparatus and system | |
CN103777579B (en) | A kind of nuclear power station TG and DCS communication system and method | |
CN103684825A (en) | Multi-system communication system and maintenance method for same | |
CN104506642B (en) | A kind of efficient transmitting-receiving of client message and processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |