CN102033741B - North interface system and realization method thereof - Google Patents

North interface system and realization method thereof Download PDF

Info

Publication number
CN102033741B
CN102033741B CN200910204965.1A CN200910204965A CN102033741B CN 102033741 B CN102033741 B CN 102033741B CN 200910204965 A CN200910204965 A CN 200910204965A CN 102033741 B CN102033741 B CN 102033741B
Authority
CN
China
Prior art keywords
service
message
processing module
probe
assembly
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.)
Expired - Fee Related
Application number
CN200910204965.1A
Other languages
Chinese (zh)
Other versions
CN102033741A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200910204965.1A priority Critical patent/CN102033741B/en
Publication of CN102033741A publication Critical patent/CN102033741A/en
Application granted granted Critical
Publication of CN102033741B publication Critical patent/CN102033741B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a north interface system and a realization method thereof. The system comprises a communication layer processing module, an adaption layer processing module, a business layer processing module and a public service processing module, wherein the communication layer processing module is used for establishing connection with an OSF (Operating System Function) system and receiving a message sent by the OSF system; the adaption layer processing module is used for converting the message on a protocol level and registering a business component generated by a service to be issued on a first adaptation component; the business layer processing module is used for converting the message on a semantic level and converting the content of the message into content which can be recognized by an NEF (Network Element Function) system; and the public service processing module is used for sending the message converted on the semantic level to the NEF system. In the embodiment of the invention, the communication layer processing module, the adaption layer processing module, the business layer processing module and the public service processing module are respectively used for processing the message sent by the OSF system by using different components, and the componentization and the flexibility of the north interface system are realized.

Description

North interface system and its implementation
Technical field
The present invention relates to telecommunication management network's technology, relate in particular to a kind of north interface system and its implementation.
Background technology
(the Telecommunications Management Network of telecommunication management network, be called for short TMN) in, be positioned at Network Element Function collection (Network Element Function, be called for short NEF) system and operation system function collection (Operation System Function, abbreviation OSF) the q interface between system is exactly the northbound interface of conventionally describing, the function of this interface is to provide OSF system and the path that NEF system is connected, and comprises the conversion of protocol level and the conversion of meaning of one's words aspect.Northbound interface is issued as a module in NEF system often.
Between NEF system and OSF system, the conversion of protocol level mainly refers to the bottom communication technology that exchange message is used, widely accepted standard agreement mainly comprises public object request broker (CommonObject Request Broker Architecture, abbreviation CORBA), Simple Network Management Protocol (Simple Network Management Protocol, abbreviation SNMP), Simple Object Access Protocol (Simple Object Access Protocol, be called for short SOAP) and transaction language 1 (TransactionLanguage 1, is called for short TL1) etc.
Between NEF system and OSF system, the conversion of meaning of one's words aspect comprises the north orientation standard of some field of telecommunications, as 3GPP, Tele Management Forum (Telecommunications Management Forum, be called for short TMF) 814, TMF854 etc., these standards have mainly defined these five kinds of basic service feature operations of Fault Management, Configuration Management, Accounting Management, Performance Management, Security Management in managing telecommunications field.
North interface system is as a critical system in network management system, with C/C++ language, develop at first, but the feature of north interface system itself be fast Development, flexible customization to adapt to the docking demand of different OSF systems, and this just C/C++ language be difficult to realize.So, with java language, developing north interface system starts to be paid attention to gradually, OSF manufacturer also brings into use java technology to develop north interface system simultaneously, SUN has also released based on java platform enterprise version (JavaPlatform, Enterprise Edition, is called for short JEE) the OSS based on java technology (OSSJ) standard.North interface system based on JEE exploitation, the problem of existence is: because JEE system is huge, the system that adopts JEE to develop cannot realize lightweight and the dirigibility of north interface system.
Summary of the invention
The embodiment of the present invention provides a kind of north interface system and its implementation, can realize modularization and the dirigibility of north interface system.
On the one hand, the embodiment of the present invention provides a kind of north interface system, comprising:
Communication Layer processing module, for call north orientation communication part set up with operation system function collection OSF system between be connected, receive the message of described OSF system transmission;
Adaptation layer processing module, carries out the conversion of protocol level for calling the first adapter assembly to described message, the format conversion of described message is become can be by the form of Network Element Function collection NEF system identification; And the Service Component of service creation to be released is registered to described the first adapter assembly;
Operation layer processing module, carries out the described message after the conversion through protocol level the conversion of meaning of one's words aspect for calling Service Component, and the content of described message is converted to can be by the content of NEF system identification;
Public service layer processing module, sends to described NEF system for calling public service assembly by the described message after the conversion through meaning of one's words aspect.
On the other hand, the embodiment of the present invention also provides a kind of north interface system implementation method, comprising:
Call north orientation communication part set up with operation system function collection OSF system between be connected, receive the message of described OSF system transmission;
Call the first adapter assembly and described message is carried out to the conversion of protocol level, the format conversion of described message is become can be by the form of Network Element Function collection NEF system identification; And the Service Component of service creation to be released is registered to described the first adapter assembly;
Call the message of Service Component after to the conversion through protocol level and carry out the conversion of meaning of one's words aspect, the content of described message is converted to can be by the content of described NEF system identification;
Call public service assembly the described message after the conversion through meaning of one's words aspect is sent to NEF system.
Visible, in north interface system and its implementation that the embodiment of the present invention provides, Communication Layer processing module, adaptation layer processing module, operation layer processing module and public service layer processing module are called respectively the message that different assemblies sends over OSF system and are processed, and have realized the modularization of north interface system; Wherein, adaptation layer processing module for the Service Component of service creation to be released is registered to described the first adapter assembly, provides registration service thereby realize, and can dynamically issue new Web service and without restarting whole system, has dirigibility; Meanwhile, communication part, the first adapter assembly, Service Component and public service assembly can be expanded according to actual needs, have dirigibility.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Figure 1 shows that north interface system embodiment mono-structural representation of the present invention;
Figure 2 shows that in various embodiments of the present invention, system component is divided schematic diagram;
Figure 3 shows that dynamically distribution principle schematic diagram of Page Service in the embodiment of the present invention (Web Service);
Figure 4 shows that the structural representation of monitor component in the embodiment of the present invention;
Figure 5 shows that the schematic diagram of realizing of embodiment of the present invention middle probe;
Figure 6 shows that the schematic diagram that calls monitor component collection probe result in the embodiment of the present invention;
Figure 7 shows that north interface system implementation method embodiment of the present invention mono-process flow diagram.
Embodiment
Lightweight and modularization are the targets that north interface system is pursued, OSGI (Open ServiceGateway Initiative, be called for short OSGI) become the ideal chose of realizing north interface system, your a computing environment standard, facing assembly that has been network service definition of OSGI.Organizational aspects in module, OSGI can adopt the mode molded tissue block of an assembly of a functional module (Bundle), under the support of OSGI framework, there will not be the situation that need to quote other modular assemblies, and only need to quote the interface of other component definitions, the exploitation of assembly corresponding to each module can be very not complicated like this, and the deployment of assembly is also very simple simultaneously.Adopt OSGI technology, module multiplexing very simple, because OSGI is the definition of standard character, only need to dispose assembly and can be system and increase corresponding module.And OSGI do not need to support with JEE environment, java standard edition (JSE) environment just can move.
Adopt the system of OSGI technology to possess following features:
(1) pluggable system: adopt the system of OSGI technology, can call and new assembly is installed, upgrade or be stopped the plug that existing assembly is realized systemic-function;
(2) capable of dynamic changes the system of behavior;
(3) stable, efficient system: what the system of employing OSGI technology adopted is micronucleus mechanism, micronucleus mechanism the stability of system, in the system of micronucleus mechanism, as long as micronucleus stably moves, system just can not collapsed, that is to say, adopt the system of OSGI technology can not be subject to operating in the impact of assembly wherein, can not cause because of the collapse of assembly system crash;
(4) standard, accumulabile module: can dock different systems, accumulate different from connection module, thereby form connection module warehouse, a large amount of reusable modules is provided.
The invention provides the embodiment of the northbound interface implementation method based on OSGI, make full use of the advantage of OSGI, realized modularization and the lightweight of north interface system.
Be illustrated in figure 1 north interface system embodiment mono-structural representation of the present invention, this north interface system comprises: Communication Layer processing module 11, adaptation layer processing module 12, operation layer processing module 13 and public service layer processing module 14, adaptation layer processing module 12 is connected with operation layer processing module 13 logics with Communication Layer processing module 11 respectively, and operation layer processing module 13 is connected with public service layer processing module 14 logics.
Wherein, Communication Layer processing module 11 for call north orientation communication part set up with OSF system between be connected, receive the message of OSF system transmission;
Adaptation layer processing module 12 is carried out the conversion of protocol level for calling the first adapter assembly to this message, the format conversion of this message is become can be by the form of NEF system identification, and the Service Component of service creation to be released is registered to the first adapter assembly;
Operation layer processing module 13 is carried out the message after the conversion through protocol level the conversion of meaning of one's words aspect for calling Service Component, and the content of this message is converted to can be by the content of NEF system identification;
Public service layer processing module 14 sends to NEF system for calling public service assembly by the message after the conversion through meaning of one's words aspect.
Wherein, adaptation layer processing module 12 specifically can be by the data object of NEF system identification for calling that message conversion that the first adapter assembly sends over OSF system becomes, and the Service Component of service creation to be released is registered to the first adapter assembly.
In Fig. 1, public service layer processing module can also be connected with adaptation layer processing module 12 logics with Communication Layer processing module 11, and public service layer processing module 14 can also provide log services and authorization service for Communication Layer processing module 11, adaptation layer processing module 12 and operation layer processing module 13 for calling log component and authorized component.
The northbound interface that the embodiment of the present invention one provides is realized in system, Communication Layer processing module, adaptation layer processing module, operation layer processing module and public service layer processing module are called respectively the message that different assemblies sends over OSF system and are processed, and have realized the modularization of north interface system; Wherein, adaptation layer processing module for the Service Component of service creation to be released is registered to described the first adapter assembly, provides registration service thereby realize, and can dynamically issue new Web service and without restarting whole system, has dirigibility; Meanwhile, communication part, the first adapter assembly, Service Component and public service assembly can be expanded according to actual needs, have dirigibility.
In the invention process, following principle is followed in the division of each assembly in north interface system:
(1) definite functions of each assembly, single;
(2) business processing is as an independent assembly;
(3) should as far as possible complete by interface (OSGI Service) alternately between assembly and assembly.
Principle based on above-mentioned, can be divided into north interface system four levels, is illustrated in figure 2 system component in various embodiments of the present invention and divides schematic diagram:
(1) north orientation Communication Layer
North orientation Communication Layer for set up and OSF system between physical connection, the passage of sending and receiving message is provided.North orientation Communication Layer comprises a series of for realizing concrete communications protocol north orientation communication part, for example, be used for realizing HTML (Hypertext Markup Language) (HyperText Transfer Protocol, abbreviation HTTP) http server assembly, be used for providing the JMS server component of java messaging service (Java Messaging Service is called for short JMS) etc.If do not comprise JMS server (JMS server) in OSF system, in north orientation Communication Layer, can comprise so JMS server component and JMS client component, if OSF system comprises JMS server, in north orientation Communication Layer, can only include so JMS server component (Bundle).The CORBA assembly that has encapsulated CORBA ability can be also a kind of north orientation communication part.
(2) protocol adaptation layers
The main function of protocol adaptation layers is to realize the conversion of protocol level, convert a kind of message format to another kind of message format, comprise the first adapter assembly, for example the first adapter assembly can be SAOP assembly, the soap message that SOAP assembly is mainly used in OSF system to send converts data object to, and SOAP assembly is also for providing dynamic issue and the cancellation of Page Service (Web Service) in addition.Protocol adaptation layers also comprises the second adapter assembly, the second adapter assembly can be REST assembly, this REST assembly is for being distributed to external browser by the information of north interface system inside with WEB user interface (User interface is called for short UI) related resource.
The Communications service of using north orientation Communication Layer to provide is all provided each assembly in protocol adaptation layers, and provides corresponding OSGI to serve to lower layer components to use.
(3) operation layer
Operation layer is mainly used in carrying out business logic processing, the message after protocol adaptation layers is processed is carried out to the conversion of meaning of one's words aspect, can comprise for realizing the Service Component of different business.For example, can comprise alarming processing assembly (Fault Management Bundle), storage processing components (InventoryManagement Bundle), configuration component (Configuration Management Bundle) etc.As required, can develop the different assemblies of realizing different business, different assemblies is added in operation layer.The assembly of operation layer all uses the Page Service (Web Service) of SOAP assembly dynamically to issue and the Page Service (Web Service) of oneself is issued in the service of nullifying.
(4) public service layer
Public service layer is mainly used in providing public service bottom and independent of service, comprise a plurality of public service assemblies, these public service assemblies offer the assembly of three levels above and use, for example, public service layer can comprise the public service assemblies such as log services assembly (Log Bundle), authorized component (License Bundle), south orientation communication part and monitor component (Monitor Bundle), south orientation communication part is used for and NEF system made physical connection, and monitor component is for passing through dynamically tracking message of probe.
Below in conjunction with Fig. 2, describe the principle of work of the embodiment of the present invention one in detail.
The OSF system queries alarm of take is example, first, Communication Layer processing module in north interface system call north orientation communication part set up with OSF system between be connected, receive the soap message for query warning that OSF system sends, adaptation layer processing module is called SOAP assembly the soap message for query warning is converted to data object, and data object is sent to the alarming processing assembly in operation layer, operation layer processing module is called alarming processing assembly and is converted data object to business realizing data, for example, business realizing data comprise alarm time of origin, alarm frequency, alarm originating port etc., alarming processing assembly sends to business realizing data the south orientation communication part of public service layer, public service layer processing module called south orientation communication part business realizing data sent to NEF system.
In embodiment as shown in Figure 1, adaptation layer processing module specifically can be carried out the conversion of protocol level for calling the first adapter assembly to the message receiving, and the format conversion of the message that receives is become can be by the form of Network Element Function collection NEF system identification; And the jar file generating according to business to be released is loaded under the path of dummy argument assembly appointment, start the Service Component that dummy argument assembly and business to be released generate, the Service Component of service creation to be released is registered to the first adapter assembly, finishing service issue.
Described dummy argument assembly is the necessary assembly of predefined described the first adapter assembly, and described dummy argument assembly can load any protocol data jar file from the path of a prior appointment.
Below in conjunction with Fig. 2, describe the process that adaptation layer processing module completes dynamic Service issue in detail.
Page Service descriptive language (Web Services Description Language, be called for short WSDL) be the basis of a Page Service of definition (Web Service), WSDL comprises two parts content: type (Types) and binding information (Binding), type definition is used the form of the data of the required exchange of this Page Service (Web Service), be the data layout in soap message, binding information is used for defining the mapping relations between the soap message that this Page Service (Web Service) accepts and the java method that finally realizes this service.
The instrument that first wsdl document will define by JAXWS compiles to generate the class that java is relevant, JAXWS is java application programming interface (the ApplicationProgramming Interface of XML Page Service (Web Service), be called for short API), because WSDL is language independent, and that concrete realization is language is relevant, so the process of compiling is exactly language binding process.The process that in this and CORBA, interactive data language (Interactive Data Language is called for short IDL) is compiled into appointed language is identical.Wsdl document after being compiled generates two major parts: business end interface (ServiceEndpoint Interface is called for short SEI) and protocol data class.Protocol data class is the compiling result to the type in WSDL from java-xml data binding (being called for short JAXB).SEI itself is a java interface, and the supplier of Page Service (Web Service) will realize this interface exactly.Protocol data class is called the needed java data type of this interface exactly.
The protocol data class that compiling wsdl document generates need to be packaged into independently jar file.
Owing to having used different Classloaders between assembly and assembly, so must use the mode importing and exporting to allow different assemblies realize sharing of class, this is the core concept of OSGI.Register a Page Service (Web Service), the SEI that just compiling wsdl document must be generated registers the assembly to SOAP, simultaneously need to see any necessary data message of service that is registered during SOAP assembly operating, compile the protocol data class that wsdl document generates.So SOAP assembly also must import the data message of different WS DL file generated.But the angle from engineering, what information SOAP assembly need to import is not to realize determining, need to determine according to concrete Page Service (Web Service), when therefore issuing new Page Service (Web Service) at every turn, all need to revise SOAP assembly and obtain MAINFEST.MF file, this just causes the framework of north interface system there is no independence.
In order to address this problem, in the embodiment of the present invention, define a dummy argument assembly (MetaDataBundle), this dummy argument assembly itself does not comprise any jar file, this dummy argument assembly can load any protocol data jar file from the path of a prior appointment, and all public interfaces are derived.Meanwhile, this dummy argument module sets is become to the necessary assembly (Required Bundle) of SOAP assembly, this just means that all derivation common datas of dummy argument assembly all import in SOAP assembly default.
Be illustrated in figure 3 dynamically distribution principle schematic diagram of Page Service in the embodiment of the present invention (Web Service), when having new Page Service (Web Service) to issue, jar file is loaded under dummy argument assembly path, then according to service creation Service Component to be released, this Service Component is for realizing new service to be released.Start Service Component and the dummy argument assembly of service creation to be released, the Service Component of service creation to be released obtains the enrollment page service (Web Service) of SOAP assembly issue, then by SEI to SOAP component register, the Service Component that is service creation to be released is registered to SOAP assembly, has so just completed the dynamic issue of a service.
In embodiment shown in Fig. 1, adaptation layer processing module can also be for stopping Service Component to be nullified, and the jar file generating according to business described to be nullified under the path of removal dummy argument assembly appointment, restarts dummy argument assembly, and finishing service is nullified.
Below in conjunction with Fig. 2, illustrate that adaptation layer processing module completes the process that service is nullified.
The process of nullifying service is just in time contrary with the process of issue.
First, adaptation layer processing module stops the Service Component of need nullifying, and then removes the jar file generating according to business to be nullified under the path of dummy argument assembly appointment, restarts dummy argument assembly, and finishing service is nullified.
In embodiment as shown in Figure 1, public service layer processing module can also be obtained for calling monitor component the collection result of each probe, and the collection result of each probe is pushed in a message queue, probe comprises for the probe of supervisory system resource, for obtaining the probe of the information of calling service and user-defined probe; Call monitor component, according to fetch strategy, from message queue, extract the collection result of probe.Adaptation layer processing module specifically can also be for sending to user browser by the collection result of probe by HTML (Hypertext Markup Language) (HTTP).
North interface system is different from the other system in network management system, and the other system in network management system is used identical technology and stable interface, and 99% problem has just solved when system is issued.But, north interface system need to dock different other systems, and other system has very large uncertainty, cannot test in advance other system, when breaking down, cannot determine at short notice it is that fault has appearred in north interface system or fault has appearred in other system.Trace it to its cause, mainly due to opaque the causing of existing north interface system internal state management.
In order to address this problem, in the embodiment of the present invention, public service layer processing module called the collection result that monitor component obtains each probe, thereby can follow the tracks of all message, state and resource in northbound interface, obtains the state parameter of each message in north interface system.
Introduce in detail public service layer processing module below and obtain the collection result of each probe and the implementation procedure of extracting the collection result of probe.
For north interface system is followed the tracks of, need to be defined as follows a few class probes:
1, for the probe of supervisory system resource.
Probe for supervisory system resource is monitored mainly for the resource of system, can comprise the monitoring of assembly content (BundleContext), the monitoring of OSGI framework event, the monitoring of OSGI service activity time, authority, configuration, other monitoring of startup level etc., can also comprise the monitoring of thread pool, the monitoring of message queue etc.
2, for obtaining the probe to the information of calling service
For obtaining, the probe of the information of calling service is mainly used in obtaining the information to this service call, for example for obtain to the probe of the information of calling service can comprise probe for obtaining thread information, for probe getparms, for obtaining the probe of return message, for the probe of acquisition time information etc.
3, user-defined probe
User-defined probe is mainly used for user-defined resource to monitor, and all user-defined probes should be realized unified interface and register and could use to the probe service of collecting.
In Fig. 2, public service layer comprises monitor component, and protocol adaptation layers comprises REST assembly, and these two assembly Bundle cooperate mutually, realize the collection of probe data and last displaying.The OSGI service interface that the information of all probes can provide by monitor component is inquired about, and the result of inquiry can send to REST assembly, by REST assembly, Query Result is passed to Web browser and is shown to user.Which probe user can configure by Web browser and can start, and which probe can cut out.The configuration information that user configures probe sends to monitor component, and monitor component is ended in real time or added probe to the position of appointment.
Be illustrated in figure 4 the structural representation of monitor component in the embodiment of the present invention, monitor component comprises probe manager 35, Complex event processing device 36 and Event Collector 37, the data that Complex event processing device 36 is collected for collecting each probe, data and the time shaft sequential storage of Event Collector 37 for probe is collected, probe manager 35 is for providing probe to activate, cut out the interface with collocation strategy.Probe for supervisory system resource comprises that permission probe (Permission Prob) 31, user's probe (UserProbe) 32, configuration probe (Configuration Probe) 33, assembly start level probe (StartLevel Probe) 34 etc., can also comprise user-defined probe 38.
Probe can adopt interceptor technology and dynamic proxy technology to realize.Be illustrated in figure 5 the schematic diagram of realizing of embodiment of the present invention middle probe.In Fig. 5, use interceptor technology to call specific OSGI service, utilized java dynamic proxy mechanism to realize interceptor (Interceptor) design module.When probe cuts out, calling of assembly is called to common calling, when probe is opened, calling of assembly is called to follow the tracks of and calls.Common call and when tracking is called, this assembly is identical interface to outer exposed.When normal call, call the path of path for 1. 2. forming, when tracking is called, call path and become the path 3. 4. 5. forming.The function that 4. realize in path is exactly probe work energy, comprises and obtains testing result etc., and assembly itself can the existence 4. of perception path.
Probe can add various strategies, and strategy can be very flexible, such as obtaining according to specific time point and time range, can obtain according to the ID of thread or specific interface message.The process of probe information extraction also can be carried out precise fine-adjustment, such as just starting probe at specific time point, at specific time point, close probe, also comprise that probe carrys out intercepting message to different information, such as only intercepting from certain open soft code software (open source software, be called for short OSS) information of request, or only intercept all message and comprise that size is greater than the message of 5K, these strategies can be completed by user by the configuration interface of Web browser.
The basic function of probe is to detect relevant information and by the information pushing to a detecting message queue according to set design, then the message extraction device in monitor component comes according to user's fetch strategy, extracts the testing result of probe from message queue.
Be illustrated in figure 6 the schematic diagram that calls monitor component collection probe result in the embodiment of the present invention, in Fig. 6, on the path that thread T1 calls at it, having three probes is respectively P1, P3 and P5, on the path that thread T2 calls at it, having three probes is respectively P2, P4 and P5, the function of each probe is by the time of point of invocation, Thread Id, imports parameter and transformation parameter collection into, and by the data packing of collecting send to the Complex event processing device in monitor component, Complex event processing device be exactly one according to the message queue of time-sequencing.Event extraction apparatus in monitor component is according to user's fetch strategy, from Complex event processing device, extract probe and collect result, the fetch strategy of supposing user is according to Thread Id, to extract probe to collect result, like this, the probe that Complex event processing device extracts is collected result and is sent to REST assembly, REST assembly sends to Web browser by the collection result of probe by HTTP interface, on Web browser, the collection result of probe is shown, user just can see all interface messages of calling that the thread of specific ID experiences like this.
The present invention also provides north interface system embodiment bis-, and in this embodiment bis-, public service layer processing module 14 can also receive the message that NEF system sends for calling public service assembly; Operation layer processing module 13 can also be carried out the conversion of meaning of one's words aspect for calling the message that Service Component sends NEF system, and the content of message is converted to can be by the content of described OSF system identification; Adaptation layer processing module 12 can also be carried out the conversion of protocol level for calling the message of the first adapter assembly after to the conversion through meaning of one's words aspect, and the format conversion of message is become can be by the form of described OSF system identification; Communication Layer processing module 11 can also send to described OSF system by the message after the conversion through protocol level for calling north orientation communication part.
Public service layer processing module 14 can also be obtained for calling monitor component the collection result of each probe, and the collection result of each probe is pushed in message queue, call described monitor component, according to fetch strategy, from described message queue, extract the collection result of probe.Adaptation layer processing module 12 can also send to user browser by the collection result of described probe by HTML (Hypertext Markup Language) HTTP for calling the second adapter assembly.
Below in conjunction with Fig. 2, describe the principle of work of the embodiment of the present invention two in detail.
The NEF system report and alarm of take is example, and first, the public service layer processing module in north interface system called public service assembly (for example south orientation communication part in Fig. 2) and received the message for report and alarm that NEF system sends; Operation layer processing module is called Service Component the message for report and alarm is changed through the meaning of one's words, converts the content that OSF system can be identified to; Adaptation layer processing module is carried out the conversion of protocol level by the message after operation layer processing module is processed, and the format conversion of message is become can be by the form of OSF system identification; Communication Layer processing module sends to OSF system by the message after adaptation layer processing module is processed.
Be illustrated in figure 7 north interface system implementation method embodiment of the present invention mono-process flow diagram, comprise:
Step 101, call north orientation communication part set up with operation system function collection OSF system between be connected, receive the message of OSF system transmission.
Concrete, step 101 can be carried out by Communication Layer processing module.
Step 102, call the first adapter assembly and message is carried out to the conversion of protocol level, the format conversion of message is become can be by the form of NEF system identification; And the Service Component of service creation to be released is registered to the first adapter assembly.
Concrete, step 102 can be carried out by adaptation layer processing module.Particularly, step 102 can call that soap message that SOAP assembly sends the OSF system received is converted to can be by the form of NEF system identification, and the Service Component of service creation to be released is registered to SOAP assembly.
Step 103, call the message of Service Component after to the conversion through protocol level and carry out the conversion of meaning of one's words aspect, the content of message is converted to can be by the content of NEF system identification.Step 103 can be carried out by operation layer processing module.Particularly, operation layer processing module can be called concrete Service Component and convert data object to business realizing data, for example, can call alarming processing assembly and data object be converted to the business realizing data such as alarm time of origin, alarm frequency, alarm originating port.
Step 104, call public service assembly the message after the conversion through meaning of one's words aspect is sent to NEF system.Particularly, public service layer processing module can be called south orientation communication part business realizing data are sent to NEF system.
First adapter assembly that calls in step 102 carries out the conversion of protocol level to message, make the format conversion of message become can be specifically as follows by the step of the form of NEF system identification: calling the first adapter assembly can be by the data object of NEF system identification by the message conversion one-tenth of OSF system transmission.For example, can call that soap message that the first adapter assembly sends OSF system converts to can be by the data object of NEF system identification.
On the basis of embodiment mono-as shown in Figure 7, can also comprise:
Step 201, call public service assembly and receive the message that NEF system sends.Particularly, public service layer processing module can be called public service assembly, and for example south orientation communication part, receives the message that NEF system sends.
Step 202, call the message that Service Component sends NEF system and carry out the conversion of meaning of one's words aspect, convert the content of message to content that OSF system can be identified.Step 202 can be carried out by operation layer processing module.
Step 203, call the message of the first adapter assembly after to the conversion through meaning of one's words aspect and carry out the conversion of protocol level, the form that becomes described OSF system to identify the format conversion of message.Step 203 can be carried out by adaptation layer processing module.
Step 204, call north orientation communication part and send to described OSF system step 204 to be carried out by Communication Layer processing module the message after the conversion through protocol level.
In step 102, the step that the Service Component of service creation to be released is registered to the first adapter assembly comprises: will according to the jar file of service creation to be released, be loaded under the path of dummy argument assembly appointment, start the Service Component of dummy argument assembly and service creation to be released, the Service Component of described service creation to be released is registered to the first adapter assembly, completes dynamic Service issue.
Dummy argument assembly in the embodiment of the present invention itself does not comprise any jar file, and this dummy argument assembly can load any protocol data jar file from the path of a prior appointment, and all public interfaces are derived.Meanwhile, this dummy argument assembly is configured to the necessary assembly (RequiredBundle) of SOAP assembly, this just means that all derivation common datas of dummy argument assembly all import in SOAP assembly default.
Dummy argument assembly is the necessary assembly of the first adapter assembly, dummy argument assembly and the first adapter assembly can be shared be loaded under dummy argument assembly assigned catalogue to load data jar file.When having new Page Service (Web Service) to issue, only need to the Service Component of dummy argument assembly and service creation to be released will be restarted, without restarting whole system, realized the dynamic issue of Page Service (Web Service).
North interface system implementation method embodiment mono-of the present invention can also comprise: the Service Component that stops service to be nullified; Remove under the path of dummy argument assembly appointment according to the jar file of service creation to be nullified; Restart dummy argument assembly, the service that completes is nullified.
Particularly, can be stopped by adaptation layer processing module the Service Component of service to be nullified; Remove under the path of dummy argument assembly appointment according to the jar file of service creation to be nullified; Restart dummy argument assembly, the service that completes is nullified.
Visible, on the basis of beneficial effect above, the method of the dynamic cancellation service that the embodiment of the present invention provides, also only need to first stop Service Component to be nullified, delete in dummy argument assembly according to the jar file of service creation to be nullified, then restart dummy argument Bundle, without restarting whole system, realized the dynamic cancellation of Page Service (Web Service).
North interface system implementation method embodiment mono-of the present invention can also comprise: call the collection result that monitor component obtains each probe, and the collection result of each probe is pushed in message queue; And call described monitor component extracts probe from message queue collection result according to fetch strategy, and call the second adapter assembly the collection result of described probe is sent to user browser by http protocol.
Particularly, can call monitor component by public service layer processing module, according to predefined fetch strategy, extract the collection result of probe from message queue, fetch strategy can arrange according to different demands.Public service layer processing module can pass to user browser by the collection result of probe by http protocol by REST assembly.
Above-mentioned probe comprises can be for the probe of supervisory system resource, for obtaining one or more of the probe of the information of calling service and user-defined probe.
Wherein, calling the collection result that monitor component obtains each probe comprises: call the collection result that probe manager in monitor component obtains each probe.Tracking provided by the invention, call the collection result that monitor component obtains each probe, and according to fetch strategy, the collection result of probe is sent to user browser, make user can obtain the data of the message of each probe tracking, realized the tracking to each message in north interface system.
In sum, visible, in the north interface system that the embodiment of the present invention provides, Communication Layer processing module, adaptation layer processing module, operation layer processing module and public service layer processing module are called respectively the message that different assemblies sends over OSF system and are processed, and have realized the modularization of north interface system; Wherein, adaptation layer processing module for the Service Component of service creation to be released is registered to described adapter assembly, provides registration service thereby realize, and can dynamically issue new Web service and without restarting whole system, has dirigibility; Meanwhile, communication part, the first adapter assembly, Service Component and public service assembly can be expanded according to actual needs, have dirigibility.
On aforementioned basis, the method for dynamic issuing service provided by the invention, dummy argument assembly is the necessary assembly of the first adapter assembly, dummy argument assembly and the first adapter assembly can be shared be loaded under dummy argument assembly assigned catalogue to load data jar file.When having new Page Service (Web Service) to issue, only need to the Service Component of dummy argument assembly and service creation to be released will be restarted, without restarting whole system, realized the dynamic issue of Page Service (Web Service).
On aforementioned basis, the method of the dynamic cancellation service that the embodiment of the present invention provides, also only need to first stop Service Component to be nullified, delete in dummy argument assembly according to the jar file of service creation to be nullified, then restart dummy argument assembly, without restarting whole system, realized the dynamic cancellation of Page Service (Web Service).
On aforementioned basis, tracking provided by the invention, call the collection result that monitor component obtains each probe, and according to fetch strategy, the collection result of probe is sent to user browser, make user can obtain the data of the message of each probe tracking, realize the tracking to each message in north interface system, also can realize the tracking to the message in OSF system and NEF system simultaneously.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Finally it should be noted that: above embodiment is only in order to technical scheme of the present invention to be described but not be limited, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can be modified or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme depart from the spirit and scope of technical solution of the present invention.

Claims (18)

1. a north interface system, is characterized in that, comprising:
Communication Layer processing module, for call north orientation communication part set up with operation system function collection OSF system between be connected, receive the message of described OSF system transmission;
Adaptation layer processing module, carries out the conversion of protocol level for calling the first adapter assembly to described message, the format conversion of described message is become can be by the form of Network Element Function collection NEF system identification; And the Service Component of service creation to be released is registered to described the first adapter assembly;
Operation layer processing module, carries out the described message after the conversion through protocol level the conversion of meaning of one's words aspect for calling Service Component, and the content of described message is converted to can be by the content of NEF system identification;
Public service layer processing module, sends to described NEF system for calling public service assembly by the described message after the conversion through meaning of one's words aspect;
Described adaptation layer processing module, specifically for being loaded into according to the jar file of service creation to be released under the path of dummy argument assembly appointment, start the Service Component of described dummy argument assembly and service creation to be released, the Service Component of described service creation to be released is registered to described the first adapter assembly, completes service issue.
2. system according to claim 1, is characterized in that, described adaptation layer processing module can be by the data object of described NEF system identification by the message conversion one-tenth of described OSF system transmission specifically for calling described the first adapter assembly.
3. system according to claim 1, it is characterized in that, described public service layer processing module also provides log services and authorization service for calling log component and authorized component for described Communication Layer processing module, adaptation layer processing module and operation layer processing module.
4. system according to claim 1, it is characterized in that, described adaptation processing module is also for stopping the Service Component of service to be nullified, remove under the path of described dummy argument assembly appointment according to the jar file of service creation to be nullified, restart described dummy argument assembly, the service that completes is nullified.
5. system according to claim 1, it is characterized in that, described public service layer processing module also obtained the collection result of each probe for calling monitor component, and the collection result of each probe is pushed in message queue, call described monitor component, according to fetch strategy, from described message queue, extract the collection result of probe.
6. system according to claim 5, is characterized in that, described adaptation layer processing module also sends to user browser by the collection result of described probe by HTML (Hypertext Markup Language) HTTP for calling the second adapter assembly.
7. system according to claim 5, is characterized in that, described public service layer processing module obtained the collection result of each probe specifically for calling probe manager in described monitor component.
8. according to the system described in any one in claim 5~7, it is characterized in that, described probe comprises for the probe of supervisory system resource, for obtaining at least one to the probe of the information of calling service and user-defined probe.
9. according to the system described in claim 1 or 2 or 5 or 6, it is characterized in that, described public service layer processing module also receives for calling public service assembly the message that described NEF system sends;
Described operation layer processing module is also carried out the conversion of meaning of one's words aspect for calling the message that Service Component sends described NEF system, and the content of described message is converted to can be by the content of described OSF system identification;
Described adaptation layer processing module is also carried out the conversion of protocol level for calling the message of the first adapter assembly after to the conversion through meaning of one's words aspect, and the format conversion of described message is become can be by the form of described OSF system identification;
Described Communication Layer processing module also sends to described OSF system for calling north orientation communication part by the message after the conversion through protocol level.
10. a north interface system implementation method, is characterized in that, comprising:
Call north orientation communication part set up with operation system function collection OSF system between be connected, receive the message of described OSF system transmission;
Call the first adapter assembly and described message is carried out to the conversion of protocol level, the format conversion of described message is become can be by the form of Network Element Function collection NEF system identification; And the Service Component of service creation to be released is registered to described the first adapter assembly;
Call the message of Service Component after to the conversion through protocol level and carry out the conversion of meaning of one's words aspect, the content of described message is converted to can be by the content of described NEF system identification;
Call public service assembly the described message after the conversion through meaning of one's words aspect is sent to NEF system;
Wherein, the described Service Component by Serve the production to be released is registered to described the first adapter assembly, comprise: will according to the jar file of service creation to be released, be loaded under the path of dummy argument assembly appointment, start the Service Component of described dummy argument assembly and service creation to be released, the Service Component of described service creation to be released is registered to the first adapter assembly, completes dynamic Service issue.
11. methods according to claim 10, is characterized in that, described in call the first adapter assembly and described message carried out to the conversion of protocol level, the form that becomes NEF system to identify the format conversion of described message comprises:
Calling described the first adapter assembly can be by the data object of described NEF system identification by the message conversion one-tenth of described OSF system transmission.
12. methods according to claim 10, is characterized in that, described method also comprises:
Call log component and authorized component log services and authorization service are provided.
13. methods according to claim 10, is characterized in that, described method also comprises:
Call public service assembly and receive the message that described NEF system sends;
Call Service Component the message of described NEF system transmission is carried out to the conversion of meaning of one's words aspect, make the content of described message convert the content that described OSF system can be identified to;
Call the message of the first adapter assembly after to the conversion through meaning of one's words aspect and carry out the conversion of protocol level, the form that makes the format conversion of described message become described OSF system to identify;
Call north orientation communication part the described message after the conversion through protocol level is sent to described OSF system.
14. methods according to claim 10, is characterized in that, described method also comprises:
Stop the Service Component of service to be nullified; Remove under the path of dummy argument assembly appointment according to the jar file of service creation to be nullified; Restart dummy argument assembly, the service that completes is nullified.
15. methods according to claim 10, is characterized in that, described method also comprises:
Call the collection result that monitor component obtains each probe, and the collection result of each probe is pushed in message queue, and call described monitor component, according to fetch strategy, from message queue, extract the collection result of probe.
16. methods according to claim 15, is characterized in that, described method also comprises:
Call the second adapter assembly the collection result of described probe is sent to user browser by HTML (Hypertext Markup Language) HTTP.
17. methods according to claim 15, is characterized in that, described in call the collection result that monitor component obtains each probe and comprise: call the collection result that probe manager in described monitor component obtains each probe.
18. according to the method described in any one in claim 15~17, it is characterized in that, described probe comprises for the probe of supervisory system resource, for obtaining at least one to the probe of the information of calling service and user-defined probe.
CN200910204965.1A 2009-09-30 2009-09-30 North interface system and realization method thereof Expired - Fee Related CN102033741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910204965.1A CN102033741B (en) 2009-09-30 2009-09-30 North interface system and realization method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910204965.1A CN102033741B (en) 2009-09-30 2009-09-30 North interface system and realization method thereof

Publications (2)

Publication Number Publication Date
CN102033741A CN102033741A (en) 2011-04-27
CN102033741B true CN102033741B (en) 2014-02-19

Family

ID=43886682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910204965.1A Expired - Fee Related CN102033741B (en) 2009-09-30 2009-09-30 North interface system and realization method thereof

Country Status (1)

Country Link
CN (1) CN102033741B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833099A (en) * 2012-08-15 2012-12-19 曙光信息产业(北京)有限公司 Extensible alarm emergency processing system and control method thereof
CN103685580B (en) * 2013-12-18 2016-09-07 武汉邮电科学研究院 Northbound interface access system based on software defined network and method
CN106998259A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 A kind of collecting method and device
CN106095424B (en) * 2016-06-07 2019-05-24 中国建设银行股份有限公司 The treating method and apparatus for calling of trading in application component
CN107579842A (en) * 2017-07-28 2018-01-12 江西山水光电科技股份有限公司 A kind of method of webmaster north orientation product component
CN107645557B (en) * 2017-09-29 2020-08-14 厦门大宛科技有限公司 Integrated application system based on business components
CN114158080B (en) * 2020-08-17 2024-03-01 中国电信股份有限公司 Monitoring method, device and computer readable storage medium
CN117278599B (en) * 2023-11-21 2024-03-08 深圳万物安全科技有限公司 North interface providing method, device and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1704931A (en) * 2004-05-27 2005-12-07 华为技术有限公司 Method and apparatus for providing information inquiry by the network administration system
CN1983954A (en) * 2006-04-24 2007-06-20 华为技术有限公司 Multi-stage network administration system and method for processing northward interface in it

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1704931A (en) * 2004-05-27 2005-12-07 华为技术有限公司 Method and apparatus for providing information inquiry by the network administration system
CN1983954A (en) * 2006-04-24 2007-06-20 华为技术有限公司 Multi-stage network administration system and method for processing northward interface in it

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李旻.基于CORBA的传输网网管北向接口适配器的研究与设计.《中国优秀硕士学位论文全文数据库》.2006, *

Also Published As

Publication number Publication date
CN102033741A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
CN102033741B (en) North interface system and realization method thereof
AU2010337107B2 (en) Managing objects using a client-server bridge
US6611955B1 (en) Monitoring and testing middleware based application software
US8386636B2 (en) Business process system management method
CA2605118C (en) Development tool and method for automating detection and construction of notification based component applications
US20120110093A1 (en) Service oriented architecture version and dependency control
US20130290794A1 (en) System and method for definition, creation, management, transmission, and monitoring of errors in soa environment
US20090164981A1 (en) Template Based Asynchrony Debugging Configuration
US20080059436A1 (en) Providing a visual representation of a sub-set of a visual program
CN109460307B (en) Micro-service calling tracking method and system based on log embedded point
CA2882659A1 (en) Compliance testing engine for integrated computing system
CN101834750B (en) Method for monitoring common service
EP1872554A1 (en) System and method for creating a mapping document for binding messages between an application and an associated backend server
US20090063395A1 (en) Mapping log sets between different log analysis tools in a problem determination environment
CN109995643A (en) Business mail push method and device
WO2008082021A1 (en) Open framework system for heterogeneous computing and service integration
WO2005103915A2 (en) Method for collecting monitor information
Chan et al. A model-oriented framework for runtime monitoring of nonfunctional properties
CN101056210B (en) An event processing system and method of network central management platform
Zyrianoff et al. Two-way integration of service-oriented systems-of-systems with the web of things
US8694596B2 (en) Systems and methods for information brokering in software management
KR20170122874A (en) Apparatus for managing log of application based on data distribution service
CN112416980A (en) Data service processing method, device and equipment
Mos A framework for adaptive monitoring and performance management of component-based enterprise applications
KR102668334B1 (en) Method for managing interface, interface governance system, and a storage medium storing a computer-executable program to manage the interface

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140219

Termination date: 20150930

EXPY Termination of patent right or utility model