CN105337768A - Comprehensive integrated method for application level distribution system - Google Patents
Comprehensive integrated method for application level distribution system Download PDFInfo
- Publication number
- CN105337768A CN105337768A CN201510675888.3A CN201510675888A CN105337768A CN 105337768 A CN105337768 A CN 105337768A CN 201510675888 A CN201510675888 A CN 201510675888A CN 105337768 A CN105337768 A CN 105337768A
- Authority
- CN
- China
- Prior art keywords
- client computer
- server
- dynamic link
- link library
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- 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/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
Abstract
The invention discloses a comprehensive integrated system and method for an application level distribution system. The comprehensive integrated system for an application level distribution system comprises a server, client computers and a DDS bus, wherein the server is used for monitoring the client computers, and pushing a dynamic link library (DLL) to the client computers; the client computers are used for receiving the DDL pushed by the server, and realizing the functions of the DLL; the client computers utilize the dual-machine backup mechanism, that is, each client computer set comprises two client computers: a backup client computer and a host client computer; the backup client computer is used for heartbeat detection for the host client computer; the DDS bus is used as the communication medium between the server and the client computers, and between the host client computer and the backup client computer so as to realize that the server pushes the DLL to the client computers; and the backup client computer is provided with the function for detecting the heartbeat of the host client computer. The comprehensive integrated system and method for an application level distribution system can utilize the C/S mode to realize centralized management of the client computers by the server. The comprehensive integrated system and method for an application level distribution system have the advantages of being high in integrated level, being high in flexibility, being ordered in scheduling and being convenient for coordination.
Description
Technical field
The present invention relates to information systems technology field, particularly relate to a kind of application layer compartment system synthetical compositive evaluating and method.
Background technology
Along with the development of human demand, the function that system provides will get more and more.For solving this growing functional requirement, a kind of distributed system Integrated Solution arises at the historic moment.Present distributed system Integrated Solution is that physically based deformation equipment realizes.A large scale system is divided into many subsystems, and each subsystem completes specific function.Each subsystem realizes hot standby by the main frame that two complete said function by heartbeat connection.Under the prerequisite that two main frames not all break down, subsystem can provide specific function.This system integration scheme effectively can realize business function to a certain extent, but there is following defect simultaneously:
(1) system close coupling.Because existing system is based upon on respective independently equipment, i.e. the software and hardware integration of every platform main frame.Therefore, when the software of a certain main frame in subsystem or hardware failure, this main frame just cannot normally work.Like this, the safety and reliability of system is just had a greatly reduced quality.Meanwhile, the huge wasting of resources is caused.
(2) resource sharing capability is poor.Mutually isolated between each function system and other function system, cannot resource-sharing be realized.When two main frames of a function system all break down, when this function system cannot realize its function, the backup host of all the other function systems cannot be utilized to complete the function of this system, this will cause the function of whole system incomplete.
(3) system flexibility is low, and functions expanding is poor.When system needs more newly-increased functions, just must newly-increased several groups of main frames pair in addition, often organize main frame to completing a newly-increased function.Also need to define the right interface of newly-increased main frame simultaneously.So, a newly-increased function is by the human and material resources of at substantial and financial resources.
Summary of the invention
The technical problem to be solved in the present invention is for defect of the prior art, provides a kind of application layer compartment system synthetical compositive evaluating and method.
A kind of application layer compartment system synthetical compositive evaluating, comprising: server, client computer and DDS bus;
Described server for monitoring client computer, and pushes dynamic link library to client computer.
Described client computer is used for the dynamic link library that reception server pushes, and realizes the function of dynamic link library;
Described client computer adopts dual-host backup mechanism, and namely each group of clients comprises two client computer: Backup client and main client computer; Described Backup client carries out heartbeat detection to main client computer.
Described DDS bus is that realize server and push dynamic link library to client computer, Backup client is to the function of the heartbeat detection of main client computer as server and client computer, communication medium between main client computer and Backup client.
According to said system, the present invention also provides a kind of application layer compartment system Meta-Synthesis Method,
Comprise the following steps:
1) server loads dynamic link library, makes server have all dynamic link libraries of completion system function used;
2) dynamic link library of initialization client computer;
Server is utilized to unload existing dynamic link library in client computer;
According to dual-host backup mechanism, each group of clients comprises two client computer, and these two load identical dynamic link library;
Heartbeat detection is carried out between two client computer of each group of clients; Because the communication between client computer is realized by DDS bus, by the lines testing mechanism of DDS, the heartbeat detection between client computer just can be realized;
3) server pushes dynamic link library to client computer, and each group of clients loads different dynamic link libraries, until be all loaded in different group of clients by all chained libraries, completes the dynamic migration of dynamic link library from server to client machine.
The technical solution adopted for the present invention to solve the technical problems is:
The beneficial effect that the present invention produces is: 1, the present invention utilizes dynamic base developing mechanism to realize application Integrating, and whole system is made up of a station server and multiple stage client computer, is realized the communication of server and client computer by DDS bus.Using server as publishing side, client computer, as subscription end, realizes the dynamic migration of server to the dynamic link library of client computer.Realize the loose coupling of application software and computer bottom with this, make application software can " plug and play " in each client computer intrasystem.
2, the present invention utilizes " subscribe to-issue " real time communication mechanism to realize transfer of data, meanwhile, can realize information mutual communication between each client computer by DDS bus, improve the capability of information sharing between each subsystem.Moreover, by loading the dynamic link library of what's new on the server, then dynamic link library being pushed in the client computer of specifying, completing what's new, so just can realize the functions expanding of system easily.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the compartment system integrated framework schematic diagram based on equipment;
Fig. 2 is application layer compartment system comprehensive integration block schematic illustration of the present invention;
Fig. 3 is that application layer compartment system of the present invention runs workflow diagram;
Fig. 4 is the functions expanding flow chart that the present invention realizes system;
Fig. 5 is the function transition process schematic diagram that the present invention realizes based on dynamic base.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 is the compartment system integrated framework figure based on equipment, and the system in Fig. 1 is made up of multiple group of clients, and according to dual-host backup mechanism, each group of clients is made up of two client computer (active/standby).Every platform client computer is made up of the bottom facilities such as hardware, operating system and driving and Static-link Library and Dynamic-link.Fig. 2 is application layer compartment system comprehensive integration block schematic illustration of the present invention, and Fig. 2 has done improvement on the basis of Fig. 1.Fig. 2 adds server, and the static link library in Fig. 1 is changed to dynamic link library.Meanwhile, the communication that DDS realizes between server and client computer and each client computer is utilized.So, the functions such as system loose coupling, each subsystem information intercommunication and functions expanding are just achieved.
As shown in Figure 2, a kind of application layer compartment system synthetical compositive evaluating, comprising: server, client computer and DDS bus;
Server for monitoring client computer, and pushes dynamic link library to client computer.Described server is made up of the bottom facilities such as hardware device, operating system, driving and a series of dynamic link library.
Client computer is used for the dynamic link library that reception server pushes, and realizes the function of dynamic link library; Described client computer is driven by the bottom facilities such as hardware device, operating system, driving and application software and forms.
Client computer adopts dual-host backup mechanism, and namely each group of clients comprises two client computer: Backup client and main client computer; Described Backup client carries out heartbeat detection to main client computer.
DDS bus is server and client computer, communication medium between main client computer and Backup client, and realize server and push dynamic link library to client computer, Backup client is to the function of the heartbeat detection of main client computer.
The present invention realizes the process of above function as shown in Figure 3:
1) dynamic link library of initialization server and client computer.Server loading system will complete all dynamic link libraries of function, meanwhile, utilizes server to unload existing dynamic link library in client computer.
2) client computer loads dynamic link library.Server is by two the client computer propelling movement dynamic link libraries of DDS to each group of clients.Each group of clients loads different dynamic link libraries, and involved all chained libraries all will be loaded in different group of clients.
3) after dynamic link library is loaded into specified client, this client computer is with regard to operation state chained library.Two of each group of clients client computer are divided into main client computer and Backup client, the tail number size of IP can be utilized to decide.
4) the main client computer of Backup client heartbeat detection.Utilize the heartbeat detection mechanism of DDS, Backup client periodically can send heartbeat packet to main client computer, if main client computer has response, then normally.Otherwise then main client computer breaks down.
5) by detecting, main client computer bottom facilities whether fault is judged.If main client computer bottom facilities is intact, then continue to judge its dynamic link library whether fault.
Situation a: the dynamic link library of main client computer is normal, then call its operation result.
Situation b: the dynamic link library fault of main client computer, then exchange the rank of two client computer, namely former Backup client becomes main client computer this moment, and former main client computer then uses as backup machine.Next, just utilize server to unload its dynamic link library, then dynamic link library corresponding in server is loaded into former main client computer.Now, this client computer just can continue normally to have run.For ensureing the continuity of system cloud gray model, when in the normal situation of another client computer, the client computer of reparation just uses as backup machine always.
6) if main client computer bottom facilities breaks down, then this client computer of stopping using.Then Backup client bottom facilities whether fault is judged.
Situation a: Backup client bottom facilities breaks down.So, also stop using this client computer.Now, two client computer of this group of clients cannot normally work.Now just can only using the reliability reducing system as cost to ensure the functional completeness of system.Choose a group of clients that two client computer all can normally work, then utilize server to unload the dynamic link library of Backup client, then dynamic link library corresponding with fault group of clients in server is pushed to the client computer chosen.Finally, just can normal operation state chained library on the client.Call operation result, just can realize the function of fault group of clients.
Situation b: Backup client bottom facilities is intact.Continue to judge its dynamic link library whether fault.If its dynamic link library can normally run, then call its operation result.If its dynamic link library cannot normally run, then unload its dynamic link library, then dynamic link library corresponding with it in server is loaded into this client computer, operation state chained library, if normally run, then calls its operation result.
If Fig. 4 is the flow chart that the present invention realizes systemic-function expansion.Comprise the following steps:
Step 1: be loaded in server by dynamic link library corresponding for what's new, i.e. add dynamic link library corresponding to what's new in the dynamic link library table of server;
Step 2: choose a group of clients that two client computer all can normally work, then utilize server to unload the dynamic link library of Backup client in this group of clients;
Step 3: dynamic link library corresponding with what's new in server is pushed to the client computer chosen, is loaded into this client computer by the dynamic link library that what's new is corresponding;
Step 4: operation state chained library on the client;
Step 5: call operation result, so just can realize what's new;
Fig. 5 is the function transition process schematic diagram that the present invention is based on dynamic base.Detailed process comprises 3 parts, is described below:
Process 1: the ruuning situation of the dynamic link library of server occasions listen client computer, namely the ruuning situation of its dynamic link library is reported to server by the client computer moment.When supposing that the dynamic link library of client computer A is abnormal, client computer A will by its exception reporting to server.
Process 2: after server confirms that the dynamic link library of client computer A is abnormal, with regard to commands in return, the dynamic link library of unloading client computer A.
Process 3: after completing unloading task, just searches the dynamic link library corresponding with client computer A in the dynamic link library table of server.After finding this dynamic link library name, just utilize this dynamic link library of pointed, and pushed to client computer A.Run the dynamic link library of client computer A, after calling its operation result, just can realize its function.
After above three steps, just achieve the dynamic migration of dynamic link library from server to client machine.Similarly, also can utilize above method, realize the dynamic migration of dynamic link library from client computer A to client computer B.
Technical characterstic of the present invention is as follows:
(1) the invention provides a kind of application layer compartment system Meta-Synthesis Method, adopt C/S model to realize the centralized management of server to client computer.There is the advantages such as integrated level is high, flexibility strong, scheduling is orderly, coordination is convenient.
(2) client computer involved in the present invention achieves the loose coupling of bottom facilities and the application software be made up of hardware device, driving, operating system etc., reaches " plug and play " that should have program and client computer.Via server scheduling, the dynamic link library corresponding with application software can be loaded in any client computer, and can realize corresponding function.Not only flexibility is high for the pattern of this practical function, and simple.
(3) server of the present invention comprises all dynamic link libraries with having needed function corresponding, can also load the dynamic link library corresponding with what's new simultaneously, and have dynamic link library table.According to actual needs, when needing certain dynamic link library to be loaded into the client computer of specifying, just in the table of storehouse, finding out corresponding dynamic link library name, then using the corresponding dynamic link library of pointed, being pushed to specified client.So, this client computer just can realize corresponding function.This is just for the functional completeness and functions expanding that realize system are laid a good foundation.
(4) the present invention utilizes DDS bus to complete communication between server and client computer and client computer, achieves the information sharing between server and client computer and client computer, enhances the transparency of internal system.Meanwhile, the heartbeat detection of Backup client to main client computer can also be realized by DDS bus, to ensure the correctness of the result that main client computer is run, improve the safety and reliability of system.
(5) the another one benefit that the present invention utilizes DDS bus to realize communication is that real-time is good.The requirement of real-time of system can be met.
In sum, the application layer distributed system integrated approach that provides of the present invention adopts C/S model management system internal subsystems, safe and reliable, coordinate convenient, scheduling in order.Meanwhile, the method that the present invention proposes achieves the bottom facilities of client computer and the loose coupling of application software, reaches effect of the bottom facilities " plug and play " of application software and each client computer, enhances the fail safe of subsystem, reliability and flexibility.Moreover the method that the present invention proposes achieves the communication between server and client computer and client computer, enhances the capability of information sharing between each subsystem, for the functional completeness and functions expanding realizing system is laid a good foundation.
Should be understood that, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.
Claims (2)
1. an application layer compartment system synthetical compositive evaluating, is characterized in that, comprising: server, client computer and DDS bus;
Described server for monitoring client computer, and pushes dynamic link library to client computer;
Described client computer is used for the dynamic link library that reception server pushes, and realizes the function of dynamic link library;
Described client computer adopts dual-host backup mechanism, and namely each group of clients comprises two client computer: Backup client and main client computer; Described Backup client carries out heartbeat detection to main client computer;
Described DDS bus is that realize server and push dynamic link library to client computer, Backup client is to the function of the heartbeat detection of main client computer as server and client computer, communication medium between main client computer and Backup client.
2., based on systematic difference level compartment system Meta-Synthesis Method according to claim 1, it is characterized in that, comprise the following steps:
1) server loads dynamic link library, makes server have all dynamic link libraries of completion system function used;
2) dynamic link library of initialization client computer;
Server is utilized to unload existing dynamic link library in client computer;
According to dual-host backup mechanism, each group of clients comprises two client computer, and these two load identical dynamic link library;
Heartbeat detection is carried out between two client computer of each group of clients; Because the communication between client computer is realized by DDS bus, by the lines testing mechanism of DDS, the heartbeat detection between client computer just can be realized;
3) server pushes dynamic link library to client computer, and each group of clients loads different dynamic link libraries, until be all loaded in different group of clients by all chained libraries, completes the dynamic migration of dynamic link library from server to client machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510675888.3A CN105337768A (en) | 2015-10-16 | 2015-10-16 | Comprehensive integrated method for application level distribution system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510675888.3A CN105337768A (en) | 2015-10-16 | 2015-10-16 | Comprehensive integrated method for application level distribution system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105337768A true CN105337768A (en) | 2016-02-17 |
Family
ID=55288080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510675888.3A Pending CN105337768A (en) | 2015-10-16 | 2015-10-16 | Comprehensive integrated method for application level distribution system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105337768A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354589A (en) * | 2016-08-24 | 2017-01-25 | 天津天大求实电力新技术股份有限公司 | Double-unit hot standby method of micro-grid energy management system service programs |
CN110677282A (en) * | 2019-09-23 | 2020-01-10 | 天津津航计算技术研究所 | Hot backup method of distributed system and distributed system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5889942A (en) * | 1996-12-18 | 1999-03-30 | Orenshteyn; Alexander S. | Secured system for accessing application services from a remote station |
CN104090785A (en) * | 2014-06-19 | 2014-10-08 | 小米科技有限责任公司 | Method, device and system for providing application program |
-
2015
- 2015-10-16 CN CN201510675888.3A patent/CN105337768A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5889942A (en) * | 1996-12-18 | 1999-03-30 | Orenshteyn; Alexander S. | Secured system for accessing application services from a remote station |
CN104090785A (en) * | 2014-06-19 | 2014-10-08 | 小米科技有限责任公司 | Method, device and system for providing application program |
Non-Patent Citations (3)
Title |
---|
刘海燕: "数据分发系统的研究与设计", 《装甲兵工程学院学报》 * |
程永红: "面向ODS分布式系统的动态配置技术研究", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
董晓明等: "全舰计算环境体系结构和系统集成框架", 《中国舰船研究》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354589A (en) * | 2016-08-24 | 2017-01-25 | 天津天大求实电力新技术股份有限公司 | Double-unit hot standby method of micro-grid energy management system service programs |
CN110677282A (en) * | 2019-09-23 | 2020-01-10 | 天津津航计算技术研究所 | Hot backup method of distributed system and distributed system |
CN110677282B (en) * | 2019-09-23 | 2022-05-17 | 天津津航计算技术研究所 | Hot backup method of distributed system and distributed system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9141491B2 (en) | Highly available server system based on cloud computing | |
CN105933137B (en) | A kind of method for managing resource, apparatus and system | |
CN104408071A (en) | Distributive database high-availability method and system based on cluster manager | |
CN105429776A (en) | Method and system for virtual network function management | |
CN109669762A (en) | Cloud computing resources management method, device, equipment and computer readable storage medium | |
CN102739451B (en) | Method and device for updating master-slave switchover condition, server and system | |
CN110008005B (en) | Cloud platform-based power grid communication resource virtual machine migration system and method | |
CN104239548A (en) | Database disaster recovery system and database disaster recovery method | |
CN107040406A (en) | A kind of end cloud cooperated computing system and its fault-tolerance approach | |
CN103856357A (en) | Stack system fault processing method and stack system | |
CN105808374A (en) | Snapshot processing method and associated equipment | |
CN115562911A (en) | Virtual machine data backup method, device, system, electronic equipment and storage medium | |
CN113467873A (en) | Virtual machine scheduling method and device, electronic equipment and storage medium | |
CN104123183A (en) | Cluster assignment dispatching method and device | |
CN105337768A (en) | Comprehensive integrated method for application level distribution system | |
CN102571311B (en) | Master-slave switching communication system and master-slave switching communication method | |
CN108984105B (en) | Method and device for distributing replication tasks in network storage device | |
CN117370316A (en) | High availability management method and device for database, electronic equipment and storage medium | |
CN110247809B (en) | Communication control method of double-ring network control system | |
CN112201378A (en) | Hot standby switching method, system, terminal and medium based on nuclear power plant DCS platform | |
EP3316114A1 (en) | Data reading and writing method and device | |
CN103931139A (en) | Method and device for redundancy protection, and device and system | |
CN101119242B (en) | Communication system cluster method, device and cluster service system applying the same | |
CN103095739A (en) | Cabinet server system and node communication method thereof | |
CN107483257B (en) | Application system deployment method and architecture based on X86 and ARM mixed environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160217 |
|
RJ01 | Rejection of invention patent application after publication |