CN1466313A - Gateway system - Google Patents
Gateway system Download PDFInfo
- Publication number
- CN1466313A CN1466313A CNA021246386A CN02124638A CN1466313A CN 1466313 A CN1466313 A CN 1466313A CN A021246386 A CNA021246386 A CN A021246386A CN 02124638 A CN02124638 A CN 02124638A CN 1466313 A CN1466313 A CN 1466313A
- Authority
- CN
- China
- Prior art keywords
- background process
- responsible
- background
- interface
- functional module
- 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
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
A network system includes a foreground process responsible for interaction with users, a background responsible for data logic process, a soft bus between and blocking the two processes is composed of a network interface background and an event center. Since this invention applies designs of three layers for the fore and back grounds database, the system structure is rather clear and safety of network data is ensured due to the blocking of the fore and back grounds by a soft bus composed of a network interface background and an event center.
Description
Technical field
The invention belongs to the intelligent networks (in) field, particularly relate to a kind of network management system.
Background technology
Existing network management system is general to adopt following technical scheme to realize:
Use the operating system of unix system as the operation of bearing reticular tube system; Whole network management system adopts two layers or three-decker design; Communication in the network management system between each process realizes by TCP/IP (Transmission Control Protocol/Internet Protocol transmission control procedure and network interconnection rules).Wherein mutual interface definition is unified standard between process, is defined voluntarily by the developer.Single-threaded asynchronous operation technology is adopted in the design of each process in the network management system.Its composition frame chart as shown in Figure 1, mainly include foreground process, background process, database, like this, on the one hand because partial design has adopted two-layer structure, AM/BAM can be operated database, causes system configuration unintelligible, and operational efficiency is low, there is certain hidden danger in Information Security, and also there is certain difficulty in the distributed deployment of network management system.On the other hand, because the interface between process does not have the formal definition of unified standard, cause the system maintenance cost up, function expands difficulty, and may outwards provide second development interface hardly.Owing to adopt single-threaded art designs, cause the flow process more complicated of program simultaneously, increase difficulty of new function ratio.In addition, in some cases, during as the transmission that need carry out mass data when program or big database/disk I 0 operation, it is low especially that program efficiency seems.
Summary of the invention
The objective of the invention is at the problems referred to above, but a kind of network management system function extended function and second development interface and that simple specification ground is realized that has is provided.
Technical scheme of the present invention is:
A kind of network management system comprises:
Foreground process, main responsible mutual with users' interfaces;
Background process, the mainly logical process of responsible data;
Database mainly is responsible for the storage administration of data;
Its characteristics are to be provided with between background process and the foreground process the isolated foreground process that is made of network interface backstage and event center and the flexible bus of background process, so that its service that can provide of mark, background process comes various asynchronous events notices in the treatment system by the event type that needs to the event center registration to handle to background process by the command word that needs to network interface backstage registration to handle.
Wherein adopt the extending mark language report as the interface packets formal definition standard between process between network interface backstage and event center and foreground process and the background process, the information interaction of foreground process and background process is distributed by command word and event type by network interface backstage and event center.
The present invention is owing to adopt the three-decker design of foreground process/background process/database, and between foreground process and background process, be provided with the isolated foreground process that constitutes by network interface backstage and event center and the flexible bus of communicating by letter of background process, system configuration is more clear, improved the operational efficiency of system, make the safety of network management data obtain guarantee, guaranteed to provide to external system from the flexible bus the service of standard, and external system need not to be concerned about that the inside of webmaster realizes.In addition, the project organization of this system is more flexible, can carry out distributed deployment easily.Owing to adopted extending mark language XML report, make system provide general second development interface to the third party easily, thereby satisfy client's individual demand to greatest extent simultaneously as the interface packets formal definition standard between process.
Describe basic composition of the present invention and operation principle thereof in detail below in conjunction with accompanying drawing:
Description of drawings
Fig. 1 is the structure composition frame chart of existing network management system;
Fig. 2 is that structure of the present invention is formed block diagram;
Fig. 3 is the structure composition frame chart of background process of the present invention;
Embodiment
As shown in Figure 2, network management system of the present invention comprises:
Foreground process, main responsible mutual with the software systems users' interfaces; As typing user's operation requests and be sent to background process, the data on backstage are presented on the terminal in the understandable mode of user.
Background process mainly is responsible for data interaction, logical transition between presentation layer (being the foreground process part) and the database.As the operation requests of sending on the presentation layer being carried out logic analysis, taking out and translate into form that presentation layer needs or the like with the mutual of equipment and with information in equipment, the database.As shown in Figure 3, background process of the present invention is made up of supporting layer, core layer, interface layer, functional module, wherein supporting layer has encapsulated the basic function that background process need use, as application programming interfaces API such as operation log recording, database manipulations, provide as the instrument that needs to use in the background process exploitation.Core layer is responsible for dispatching the operation of each functional module in the background process, dispatches the processing method of the corresponding function module as the command messages that sends according to the foreground.Core layer is responsible for the processing of process internal event and message simultaneously, as notifying each functional module with the communication disconnected event of interface layer, so that each functional module is according to carrying out running status process relevant treatment.Interface layer be responsible for other processes between communicate by letter, as receive command messages from other modules, to other modules transmission message or response message etc.Interface layer is in charge of the communications status with other processes simultaneously, and when disconnecting with communicating to connect of other processes as discovery, the notice core layer is handled.Functional module is articulated on the core layer by the means of log-in command word or registered events, and the functional module application programming interfaces API that calls supporting layer, interface layer finishes the operation in the storehouse that reads and writes data and mutual with other process.The design that is to say background process of the present invention is exactly that a background process is divided into the background process general framework of being made up of supporting layer, core layer, interface layer, four parts of functional module.Background process provides support the service of layer, core layer, interface layer with the form of Static-link Library and Dynamic-link simultaneously, promptly provide a cover to be used for the static library of background process general framework design as its using method, with the data interaction of background process and other processes, the general operation of all general character such as scheduling of the accessing operation of database, software function module is encapsulated, with C
++The form in static function storehouse provides application programming interfaces API; The application programming interfaces API that utilizes this static library to provide, make other software developers energy can be concentrated on the design of software function module, make the peopleware only need design relevant functional module according to the function that the process needs are realized, and be articulated on the background process general framework it just passable, promptly the method that provides by the background process general framework is registered the function that this module need realize to the background process general framework.Thereby can significantly reduce the design work amount of background process, design as a topological background process, need not be concerned about database manipulation, with how realizing alternately of other processes, only need be according to a topological functions module of Demand Design on topological backstage, in this module, finish the interrelated logic operation of topological functions, as the additions and deletions node, view management etc. (the supporting layer function that can use the background process general framework to provide in this process), and be articulated on the background process general framework, finish scheduling by the background process general framework, just can realize a complete background process the topological functions module.And need not be concerned about such as details such as interprocess communication/database manipulations; And can be easily oneself functional module be articulated on the background process general framework, thereby constitute a complete background process.So abundant assurance developer only need realize concrete functional module, by means such as log-in command words it is articulated on the core layer, thereby the assurance background process can be finished the scheduling of functional module easily.Simultaneously the API that can use supporting layer, interface layer to provide in the design of functional module finishes such as the operation in the storehouse that reads and writes data and mutual with other processes.Such architecture makes the expansion of new function become convenient, thereby has reduced software development cost, has improved efficiency of software.Keep-alive and the Restoration Mechanism of a kind of TCP/IP are provided in background process simultaneously, so-called keepalive mechanism, the two ends that refer to a TCP/IP link possess the periodic monitor opposite end and whether move normal ability.As monitor link the other side and closed this link, or occur unusually, should be able to discharge the related system resource automatically, and system running state is returned to normally, also promptly so-called recovery mechanism.ICP/IP protocol itself provides a kind of keepalive mechanism, but depends on the difference that operating system realizes, the time interval of keep-alive and the processing of recovery are also not quite alike.But for making software systems possess stronger consistency, unlikely because the upgrading of operating system or migration cause the unusual of running software, background process of the present invention promptly provides the keepalive mechanism of oneself, also is the keepalive mechanism of application layer.TCP/IP connection the carrying out timing that the static library that its implementation provides for background process is responsible for this process is set up is monitored, and this timing can dispose.As monitor the TCP/IP link interruption, then discharge system resources such as the port that takies on the peer link, internal memory, thread, and according to other recovery operations of determining positions in network connects of this process.As this process is client process, then sets up the link to server end again automatically.When abnormal termination phenomenon appearred in part webmaster background application, keepalive mechanism can guarantee that the application safety of being correlated with stops, and has avoided occurring the influence that unusual part is used other webmasters as much as possible.When the abnormal restarting phenomenon appearred in part webmaster background application, keep-alive and Restoration Mechanism can make system need not artificial intervention, quickly recover to normal operating condition, had reduced the influence that operation causes to network management system unusually as much as possible.Simultaneously, this mechanism is for safeguarding under the condition of running without interruption and upgrading network management system partial function provides guarantee.
Database mainly is responsible for the storage administration of data, and it mainly comprises the database table structure, storing process etc. of network management system.
Of the present inventionly focus on being provided with between this background process and the foreground process the isolated foreground process that constitutes by network interface backstage and event center and the flexible bus of background process, and adopt extending mark language XML report between network interface backstage and event center and foreground process and the background process as the interface packets formal definition standard between process, it is the message that transmits the XML form between process by TCP/IP, and the XML message that receives resolved, obtain information wherein.Because the XML report is an extending mark language, is one of current international practice standard of present SGML, has extremely strong expression ability, can carry the data message of large amount of complex.Thereby effectively utilize the XML report as the process interface.With the interface that standard is provided, opens to the third party easily.Background process is by registering the command word that needs so that the service that Mk system can provide is adopted multithreading simultaneous operation technology thereby make between foreground process and the background process to the network interface backstage; Owing to realize the needs of function according to program, a plurality of threads in process need be visited identical physical resource when operation, as internal memory, TCP/IP port, file etc.For avoiding a plurality of threads to read while write the entanglement that shared resource causes data, need carry out Synchronization Control to the visit of resource.When as a thread certain shared resource being write, other all concurrent write operations all must be clogged to could be carried out after current write operation finishes.So this Synchronization Control of the present invention by background process guarantee semaphore, mutual exclusion lock etc. synchronously object can reliably realize.Background process comes the various asynchronous events in the treatment system to pass through by the event type that needs to handle to the event center registration simultaneously, and the information interaction of foreground process and background process is distributed by command word and event type by network interface backstage and event center.
Claims (4)
1, a kind of network management system comprises:
Foreground process, main responsible mutual with users' interfaces;
Background process, the mainly logical process of responsible data;
Database mainly is responsible for the storage administration of data;
It is characterized in that being provided with between background process and the foreground process the isolated foreground process that constitutes by network interface backstage and event center and the flexible bus of background process, so that its service that can provide of mark, background process comes various asynchronous events notices in the treatment system by the event type that needs to the event center registration to handle to background process by the command word that needs to network interface backstage registration to handle.
2, network management system according to claim 1 is characterized in that: adopt the extending mark language report as the interface packets formal definition standard between process between network interface backstage and event center and foreground process and the background process.
3, network management system according to claim 1 is characterized in that: the information interaction of foreground process and background process is distributed by command word and event type by network interface backstage and event center.
4, network management system according to claim 1, it is characterized in that above-mentioned background process is by supporting layer, core layer, interface layer, functional module is formed, wherein supporting layer has encapsulated the basic function that background process need use, offer each functional module as the instrument that needs to use in the exploitation of backstage, core layer is responsible for dispatching the operation of each functional module in the background process and the processing of responsible process internal event and message, interface layer be responsible for other process usefulness between communicate by letter and be in charge of communications status with other processes, functional module is articulated on the core layer by the means of log-in command word or registered events, and functional module is called supporting layer, the application programming interfaces of interface layer are finished the operation in the storehouse that reads and writes data and mutual with other process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA021246386A CN1466313A (en) | 2002-06-19 | 2002-06-19 | Gateway system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA021246386A CN1466313A (en) | 2002-06-19 | 2002-06-19 | Gateway system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1466313A true CN1466313A (en) | 2004-01-07 |
Family
ID=34142737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA021246386A Pending CN1466313A (en) | 2002-06-19 | 2002-06-19 | Gateway system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1466313A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039212B (en) * | 2006-03-15 | 2010-11-03 | 中兴通讯股份有限公司 | Fast data storage method |
CN101119526B (en) * | 2007-09-13 | 2010-11-10 | 中兴通讯股份有限公司 | Message interface entire configurable framework device in mobile communication system and method therefor |
CN101388899B (en) * | 2007-09-12 | 2011-07-27 | 北京启明星辰信息技术股份有限公司 | Front-background related auditing method and system for Web server |
CN101588283B (en) * | 2009-04-22 | 2013-04-10 | 北京四方继保自动化股份有限公司 | Method for realizing wide-area distributed integrated flexible bus based on multi-agent technique |
CN104090874A (en) * | 2013-04-01 | 2014-10-08 | 北京畅游天下网络技术有限公司 | Management method and system of cross-platform data |
CN106648861A (en) * | 2016-12-05 | 2017-05-10 | 广州优视网络科技有限公司 | Method and device for keeping background service process activated |
-
2002
- 2002-06-19 CN CNA021246386A patent/CN1466313A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039212B (en) * | 2006-03-15 | 2010-11-03 | 中兴通讯股份有限公司 | Fast data storage method |
CN101388899B (en) * | 2007-09-12 | 2011-07-27 | 北京启明星辰信息技术股份有限公司 | Front-background related auditing method and system for Web server |
CN101119526B (en) * | 2007-09-13 | 2010-11-10 | 中兴通讯股份有限公司 | Message interface entire configurable framework device in mobile communication system and method therefor |
CN101588283B (en) * | 2009-04-22 | 2013-04-10 | 北京四方继保自动化股份有限公司 | Method for realizing wide-area distributed integrated flexible bus based on multi-agent technique |
CN104090874A (en) * | 2013-04-01 | 2014-10-08 | 北京畅游天下网络技术有限公司 | Management method and system of cross-platform data |
CN104090874B (en) * | 2013-04-01 | 2018-01-26 | 北京畅游天下网络技术有限公司 | A kind of cross-platform data management method and system |
CN106648861A (en) * | 2016-12-05 | 2017-05-10 | 广州优视网络科技有限公司 | Method and device for keeping background service process activated |
CN106648861B (en) * | 2016-12-05 | 2020-07-14 | 阿里巴巴(中国)有限公司 | Keep-alive method and device for background service process |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6233623B1 (en) | Replicated resource management system for managing resources in a distributed application and maintaining a relativistic view of state | |
Powell et al. | The Delta-4 approach to dependability in open distributed computing systems. | |
US5608720A (en) | Control system and operations system interface for a network element in an access system | |
US6356885B2 (en) | Network model for alarm correlation | |
US6598033B2 (en) | Problem model for alarm correlation | |
DE68919872T2 (en) | Method and device for connecting SNA terminals to an SNA host computer via a packet-switched message network. | |
TW497071B (en) | Method and apparatus for managing clustered computer systems | |
US8601110B2 (en) | Switch management system and method | |
JPH0916453A (en) | System and method for synchronization | |
CN105138398A (en) | SOCKET communication and process management common platform and method under synchronous communication mode | |
CN104734915A (en) | Composite multiprocess and multithread multi-network concurrence dynamic simulation method | |
CN105357273A (en) | Universal SOCKET communication and process management platform and method in asynchronous communication mode | |
CN101277304A (en) | Management system and management method for Web service operational environment based on rules | |
CN109677465A (en) | Distributed real-time systems framework for track traffic synthetic monitoring system | |
WO2021043124A1 (en) | Kbroker distributed operating system, storage medium, and electronic device | |
CN111541599B (en) | Cluster software system and method based on data bus | |
CN115225664B (en) | Method for constructing meteorological information infrastructure resource cloud platform | |
CN1466313A (en) | Gateway system | |
CN103019809A (en) | Business processing device and method, and business processing control device | |
CN1482773B (en) | Method for implementing fault tolerant transmission control protocol | |
CN110266660A (en) | JCTP based on EPOLL model realizes system, method and medium | |
US7991849B1 (en) | System for managing configuration memory with transaction and redundancy support in an optical network element | |
CN101453354A (en) | High availability system based on ATCA architecture | |
Gien | Next generation operating systems architecture | |
CN116743860B (en) | Wind tunnel field real-time data distributed multi-line Cheng Caiji architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |