CN100352197C - Device and method for realizing isomerized sub-system hot-plugging - Google Patents

Device and method for realizing isomerized sub-system hot-plugging Download PDF

Info

Publication number
CN100352197C
CN100352197C CNB2004100790139A CN200410079013A CN100352197C CN 100352197 C CN100352197 C CN 100352197C CN B2004100790139 A CNB2004100790139 A CN B2004100790139A CN 200410079013 A CN200410079013 A CN 200410079013A CN 100352197 C CN100352197 C CN 100352197C
Authority
CN
China
Prior art keywords
subsystem
domain name
control module
name server
subsystem control
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
CNB2004100790139A
Other languages
Chinese (zh)
Other versions
CN1744499A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2004100790139A priority Critical patent/CN100352197C/en
Publication of CN1744499A publication Critical patent/CN1744499A/en
Application granted granted Critical
Publication of CN100352197C publication Critical patent/CN100352197C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a device for realizing hot plugs of a isomerization subsystem. The device is connected with a plurality of isomerization subsystems. The device comprises a special domain name server, a subsystem control module and a plurality of subsystem node adaptation modules, wherein the special domain name server preserves files of each application subsystem, and realizes the domain name resolution operation; the subsystem control module is connected with the special domain name server, communicates with the subsystem node adaptation modules by communicating buses, and is used for controlling operation modes and monitoring states of subsystems; the subsystem node adaptation modules are connected with the corresponding subsystems, and are used for providing communication interfaces of the subsystems, the subsystem control module and the special domain name server. The present invention sets on /off line states of the subsystems by the subsystem control module, and realizes the fast access of the subsystems. When one subsystem is closed after working, the work of other subsystems are not influenced. The present invention achieves the effect of the hot plug, and can be simply and easily realized.

Description

A kind of device and method of realizing isomerized sub-system hot-plugging
Technical field
The invention belongs to computer software fields, be specifically related to the integrated technology field of foreign peoples's application system.
Background technology
The present information center is an integrated heterogeneous system, and promptly the Distributed Calculation comprehensive application system not only comprises the control centre, comprises communication center, Surveillance center, data center, information issuing issue center simultaneously.In other words the present information center is the comprehensive application system of various information, comprises that application display system, decision system and the result thereof of the integrated application system of database, the comprehensive application system of all departments' data, real-time monitor data and image display system, electronic chart exports delivery system etc.Also the application system that must be equipped with comprises: data digging system flexibly; Reliable data analysis system; Data visualisation system fast and easily; Geographic information retrieval system efficiently; Powerful spatial analysis system; The communication system of the data of convenient scheduling, language, map.These above-mentioned systems may be the systems that different vendor produces, realize the communication between these different systems, similarly be that isolated island is one by one coupled together with bridge, it or not an easy thing, especially to realize that information centre moves reliable and stablely, must satisfy " hot plug " between the subsystem.
" hot plug " technology can reduce the degree of coupling between the application subsystem, can avoid the embarrassment of " stops all stopping ".Sub-system hot-plugging can start/stop application subsystem more easily, here " starting/stop " is not simple startup/stop, start and mean that application subsystem is ready, at any time prepare to manage business, stop to mean that application subsystem quits work and do not influence the operate as normal of other application subsystem.Realize that " hot plug " of subsystem can reduce the ready time of subsystem in a large number, reach the effect of instant work, and do not influence other subsystems and and controlling platform.
Realize that the hot plug correlation technique always comes into one's own.Promoting low coupling module in application system development is exactly an example, but, low coupling module will be realized low coupling and remarkable in most cases at application system inside between application system, because the high complexity of business rule can cause chaotic " cobweb " between the application system.
In fact, Web Service, the CORBA distributed basis of calculation can realize the hot plug of application subsystem, it is the application subsystem service of ressembling into, the service here is defined as the building block of modern enterprise application architecture, can provide message based, be fit to interface, thereby provide technical support for the hot plug of service by access to netwoks.Architecture based on service has many good qualities: allow to use deployment strategy very flexibly; Service model permission application program is utilized the computational resource on the network, and does not require that all data and logic all reside on the independent computer; Or the like.
But, there is following shortcoming based on the architecture of service:
At first, architecture based on service needs jejune service-oriented designing technique will serve from level modelings such as business, framework, objects, this is very difficult, singly is that requirement of satisfied low coupling is also very difficult, and service, message etc. are easy to form the network of a super confusion.
Secondly, standards such as Web Service, CORBA are to generally acknowledge complicated agreement, and the ordinary person hangs back because it is complicated and huge.
Once more, standards such as Web Service, CORBA clearly do not propose the notion of hot plug, and this can mislead the application personnel.
Do not retrieve the pertinent literature that overcomes the above problems.
Summary of the invention
The technical problem to be solved in the present invention is that each subsystem work of reaching the standard grade can be ready in real time in isomerized sub-system, can not influence the work of other subsystems during off-line, thereby proposes a kind of device and method of realizing isomerized sub-system hot-plugging.
A kind of device of realizing isomerized sub-system hot-plugging of the present invention, this device connects a plurality of isomerized sub-systems, comprising:
The private domain name server is used to preserve the archives of each application subsystem, realizes the domain name mapping operation;
Subsystem control module is connected with described private domain name server, also carries out communication by communication bus and subsystem node adaptation module simultaneously, is used for the mode of operation and the condition monitoring of control subsystem;
A plurality of subsystem node adaptation module with corresponding subsystem connection, are used to provide the communication interface of subsystem and subsystem control module and private domain name server.
The method of realization isomerized sub-system hot-plugging of the present invention comprises: when subsystem need carry out Business Processing, subsystem node adaptation module by correspondence is initiated register requirement to the private domain name server, after the register requirement success, subsystem control module is preserved the presence of described subsystem, if described service of subsystem disposes, described subsystem control module is nullified described subsystem.
In the method for described realization hot plug, described register requirement comprises:
(1), subsystem control module is intercepted the subsystem register request message;
(2), subsystem control module is judged after receiving register requirement:
1) promptly is in line states if this subsystem has been registered, sends the information updating request message so to the private domain name server;
2) promptly be in off-line state if this subsystem has been nullified, send the title login request message so to the private domain name server;
3) if this subsystem was not also registered, send the title login request message so to the private domain name server;
(3), after the private domain name server receives message from subsystem control module, judge that request type carries out information updating or location registration process respectively;
(4), after subsystem control module receives response message, if information updating success or domain name registration success then send and succeed in registration response message to the node adaptation module.
Described hot-plug method, described cancellation step is carried out after the Business Processing of isomerized sub-system is finished, and comprising:
(1), subsystem control module sends domain name de-registration request message to the private domain name server;
(2), private domain name server sentence system control module domain name is nullified response message;
(3), subsystem control module nullifies response message according to domain name, the sign subsystem is an off-line state;
(4), subsystem control module sends and nullifies response message to subsystem;
(5), subsystem is carried out shutoff operation.
The device and method of the realization isomerized sub-system hot-plugging that the present invention proposes, the on-line state of subsystem is set by subsystem control module, can realize that subsystem inserts fast, after finishing the work, close and do not influence the work of other subsystems, reach the effect of hot plug, and realize simpler, easier.
Description of drawings
Fig. 1 is a kind of example of device of the present invention;
Fig. 2 is a registration operational flowchart of realizing isomerized sub-system;
Fig. 3 is a cancellation operational flowchart of realizing isomerized sub-system.
Embodiment
Enforcement of the present invention is described with reference to the accompanying drawings:
Fig. 1 is the device of the realization sub-system hot-plugging that proposes of the present invention, and this device is connected with each subsystem, comprises private domain name server 101, subsystem control module 102, node adaptation module 103, and communication bus is the communication path of various piece.Provided the application subsystem of three kinds of situations among the figure, represented with different " territory ", the integrated heterogeneous system of " territory 1 " expression has at least three application subsystems, can carry out communication between these three application subsystems; " territory 2 " and in contain two application subsystems, it each other can not communication, need be by the communication of node adaptation module; " territory 3 " is very simple, has only an application subsystem.With the application subsystem in the territory 1 100 is example, by the communication of node adaptation module 103 with subsystem control module 102 and private domain name server 101, private domain name server 101 is used to preserve the archives of each application subsystem, realization domain name mapping operation, these archives are also referred to as address book, and memory contents can comprise application subsystem domain name, place computer address, listening port, process number, thread number, global unique sign items of information such as (GUID) in the address book.Subsystem control module 102, be connected with described private domain name server 101, also carry out communication simultaneously by communication bus and node adaptation module 103, be used to control the operation such as registration, cancellation of application subsystem 100, the presence of surveillance application subsystem 100 also may be controlled application subsystem and start, stops and other assigned operations; The application subsystem essence here is the discrete unit of service logic, and the controlling object of subsystem control module mainly is exactly these discrete units.
Based on this system, the method that the present invention proposes is that each subsystem is need carry out Business Processing the time, subsystem adaptation module by correspondence is initiated register requirement to the private domain name server, after the register requirement success, subsystem control module is preserved the presence of described subsystem, if described service of subsystem disposes, described subsystem control module is nullified described subsystem.Below in conjunction with Fig. 2 and Fig. 3, stress subsystem register and logout flow path.
Fig. 2 realizes the registration operating process of application subsystem, and " registration " operation here realizes " heat is inserted " partial function of hot plug.The various piece of supposing the device among Fig. 1 is based on the message communication, and it is as follows to describe the registration operating process:
1. subsystem control module is created a thread pool by inside and is intercepted the subsystem register request message;
2. the node adaptation module is initiated login request message to subsystem control module;
3. subsystem control module receives and has three kinds of processing after the register requirement:
If this subsystem is registered (online), send the information updating request message so to the private domain name server;
If this subsystem is nullified (off-line), send the title login request message so to the private domain name server;
If this subsystem was not also registered, send the title login request message so to the private domain name server;
4. after the private domain name server received message from subsystem control module, the judgement request type was handled respectively:
If carry out information updating, find the domain name of application subsystem during then address stored approaches internally, revise information then;
If register, then judge: send registration failure message if exist information such as domain name or domain name, address not conform to rule in the address book, otherwise preserve domain name and other information to address book and the transmission message that succeeds in registration;
5. after subsystem control module was received response message, transmission was succeeded in registration response message to the node adaptation module if information updating success or domain name registration are successful, informs that subsystem has been in line states;
6. subsystem, node adaptation module, subsystem control module, the interlock of private domain name server are managed business.
Fig. 3 is the cancellation operating process that realizes subsystem, " cancellation " operation realization hot plug here " hot drawing " partial function.The various piece of supposing the device among Fig. 1 is based on the message communication, describes that to nullify operating process as follows:
1. after the Business Processing of subsystem was finished, subsystem may send de-registration request message and arrive system control module, also may can initiatively nullify the node adaptation module by subsystem control module;
2. subsystem control module sends domain name de-registration request message to the private domain name server;
3. the private domain name server is nullified response message to the subsystem control module domain name;
4. subsystem control module is nullified response message according to domain name, and the signage applications subsystem is an off-line state;
5. subsystem control module sends and nullifies response message to application subsystem;
6. subsystem is carried out shutoff operation.

Claims (7)

1, a kind of device of realizing isomerized sub-system hot-plugging, this device connects a plurality of isomerized sub-systems, comprising:
The private domain name server is used to preserve the archives of each application subsystem, realizes the domain name mapping operation;
Subsystem control module is connected with described private domain name server, also carries out communication by communication bus and subsystem node adaptation module simultaneously, is used for the mode of operation and the condition monitoring of control subsystem; And
A plurality of subsystem node adaptation module with corresponding subsystem connection, are used to provide the communication interface of subsystem and subsystem control module and private domain name server.
2, a kind of method of isomerized sub-system hot-plugging that realizes comprises: when subsystem need carry out Business Processing, subsystem node adaptation module by correspondence is initiated register requirement to the private domain name server, after the register requirement success, subsystem control module is preserved the presence of described subsystem, if described service of subsystem disposes, described subsystem control module is nullified described subsystem.
3, method according to claim 2 is characterized in that described register requirement comprises:
(1), subsystem control module is intercepted the subsystem register request message;
(2), subsystem control module is judged after receiving register requirement:
1) promptly is in line states if this subsystem has been registered, sends the information updating request message so to the private domain name server;
2) promptly be in off-line state if this subsystem has been nullified, send the title login request message so to the private domain name server;
3) if this subsystem was not also registered, send the title login request message so to the private domain name server;
(3), after the private domain name server receives message from subsystem control module, judge that request type carries out information updating or location registration process respectively;
(4), after subsystem control module receives response message, if information updating success or domain name registration success then send and succeed in registration response message to the node adaptation module.
4, method according to claim 3 is characterized in that information updating in the described step (3) is handled and comprises that address stored internally finds the domain name of application subsystem in thin, revises information then.
5, method according to claim 3, it is characterized in that location registration process comprises in the described step (3): send registration failure message if exist information such as domain name or domain name, address not conform to rule in the address book, otherwise preserve domain name and other information to address book and the transmission message that succeeds in registration.
6, method according to claim 2 is characterized in that described cancellation step carries out after the Business Processing of isomerized sub-system is finished, comprising:
(1), subsystem control module sends domain name de-registration request message to the private domain name server;
(2), the private domain name server is nullified response message to the subsystem control module domain name;
(3), subsystem control module nullifies response message according to domain name, the sign subsystem is an off-line state;
(4), subsystem control module sends and nullifies response message to subsystem;
(5), subsystem is carried out shutoff operation.
7, according to the method for claim 2 or 6, it is characterized in that described cancellation operation can be that subsystem sends de-registration request message to subsystem control module, also can be that subsystem control module is initiatively nullified.
CNB2004100790139A 2004-09-01 2004-09-01 Device and method for realizing isomerized sub-system hot-plugging Active CN100352197C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100790139A CN100352197C (en) 2004-09-01 2004-09-01 Device and method for realizing isomerized sub-system hot-plugging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100790139A CN100352197C (en) 2004-09-01 2004-09-01 Device and method for realizing isomerized sub-system hot-plugging

Publications (2)

Publication Number Publication Date
CN1744499A CN1744499A (en) 2006-03-08
CN100352197C true CN100352197C (en) 2007-11-28

Family

ID=36139720

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100790139A Active CN100352197C (en) 2004-09-01 2004-09-01 Device and method for realizing isomerized sub-system hot-plugging

Country Status (1)

Country Link
CN (1) CN100352197C (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1246672A (en) * 1998-08-31 2000-03-08 宏碁电脑股份有限公司 Data processor having hot connect/disconnect function and its method
CN1277686A (en) * 1998-06-30 2000-12-20 皇家菲利浦电子有限公司 Dynamic de-registering of devices in system with multiple communication protocols
US6418492B1 (en) * 1997-05-13 2002-07-09 Micron Electronics Method for computer implemented hot-swap and hot-add
US20040024941A1 (en) * 2002-07-31 2004-02-05 Compaq Information Technologies Group, L.P. Method and apparatus for supporting hot-plug cache memory
CN1523820A (en) * 2003-02-19 2004-08-25 联想(北京)有限公司 Coordinate working method for multiple control equipment in home network based on peer connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418492B1 (en) * 1997-05-13 2002-07-09 Micron Electronics Method for computer implemented hot-swap and hot-add
CN1277686A (en) * 1998-06-30 2000-12-20 皇家菲利浦电子有限公司 Dynamic de-registering of devices in system with multiple communication protocols
CN1246672A (en) * 1998-08-31 2000-03-08 宏碁电脑股份有限公司 Data processor having hot connect/disconnect function and its method
US20040024941A1 (en) * 2002-07-31 2004-02-05 Compaq Information Technologies Group, L.P. Method and apparatus for supporting hot-plug cache memory
CN1523820A (en) * 2003-02-19 2004-08-25 联想(北京)有限公司 Coordinate working method for multiple control equipment in home network based on peer connection

Also Published As

Publication number Publication date
CN1744499A (en) 2006-03-08

Similar Documents

Publication Publication Date Title
US7237239B1 (en) Availability and consistent service semantics in a load balanced collection of services running different instances of an application
US9038068B2 (en) Capacity reclamation and resource adjustment
CN1276362C (en) Method and system for data transmission in multi-processor system
US8544094B2 (en) Suspicious node detection and recovery in MapReduce computing
US20120047107A1 (en) System and method for implementing on demand cloud database
CN1531303A (en) Caching system and method at user terminal without protocol concerned
CN109491928A (en) Buffer control method, device, terminal and storage medium
CN101727555A (en) Access control method for operation system and implementation platform thereof
CN111343262B (en) Distributed cluster login method, device, equipment and storage medium
CN114124968B (en) Load balancing method, device, equipment and medium based on market data
CN109656886B (en) Key value pair-based file system implementation method, device, equipment and storage medium
CN110851248A (en) Asynchronous task data processing method and device and computer readable storage medium
CN110706148B (en) Face image processing method, device, equipment and storage medium
US20040093390A1 (en) Connected memory management
US5968138A (en) Method and apparatus for peripheral system management, using multiple object interfaces
CN100352197C (en) Device and method for realizing isomerized sub-system hot-plugging
CN1152338C (en) Parallel distributed-data base processing method and device
CN114675976B (en) GPU (graphics processing Unit) sharing method, device, equipment and medium based on kubernets
US6668271B1 (en) System for distributing, installing and running web applications (agents)
US9037805B2 (en) Managing a region cache
CN106990990B (en) Resource dynamic maintenance system based on resource configuration driver library
US20140280347A1 (en) Managing Digital Files with Shared Locks
CN1391386A (en) Method for protecting task process in multitask operating system
KR102382884B1 (en) System and method for configuring and operating edge terminals in cluster
CN117527880B (en) Message management method, device, electronic equipment and computer readable storage medium

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