CN103326887B - A kind of interface managerial method and system - Google Patents

A kind of interface managerial method and system Download PDF

Info

Publication number
CN103326887B
CN103326887B CN201310270065.3A CN201310270065A CN103326887B CN 103326887 B CN103326887 B CN 103326887B CN 201310270065 A CN201310270065 A CN 201310270065A CN 103326887 B CN103326887 B CN 103326887B
Authority
CN
China
Prior art keywords
interface
information
module
management module
information management
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
CN201310270065.3A
Other languages
Chinese (zh)
Other versions
CN103326887A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201310270065.3A priority Critical patent/CN103326887B/en
Publication of CN103326887A publication Critical patent/CN103326887A/en
Application granted granted Critical
Publication of CN103326887B publication Critical patent/CN103326887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a kind of interface managerial method and system, relate to technical field of communication network, can realizing separately managing having management interface public information function with the module with management interface hardware information function, improving the flexibility that different application scene lower interface uses.The embodiment of the present invention runs on control assembly by arranging first interface information management module, and first interface information management module provides the communication interface with external application module; Arrange the forwarding parts that the second interface message administration module runs on hardware interface place, the second interface message administration module carries out alternately with first interface information management module after obtaining local interface hardware information; The interface hardware information obtained from the second interface message administration module is sent to external application module by first interface information management module.The scheme that the embodiment of the present invention provides is suitable for adopting when docking port manages.

Description

A kind of interface managerial method and system
Technical field
The present invention relates to technical field of communication network, particularly relate to a kind of interface managerial method and system.
Background technology
Along with the development of data communication technology, every profession and trade, enterprise are more and more higher to the network interface density requirements of data communications equipment (as router, switch) when carrying out networking.Common data communications equipment system is divided into integrated system and distributed system.In the data communications equipment of integrated system, master control borad and interface board as a whole, there is the function of the public information of management interface and the hardware information of interface on an administration module; And in the data communications equipment of distributed system, master control borad and interface board are separated, make a master control borad can manage multiple interface board.Current industry is proposed Stack Technology again, so-called Stack Technology be by the data communications equipment of multiple distributed system or the data communications equipment of integrated system virtual by physical connection be an equipment, such network interface density significantly improves especially.
In prior art, for the interface management mode of data communications equipment, be distribute several pieces of internal memory saving interface information for each network interface, carry out the interface operation of being correlated with based on this internal memory, such as setup of attribute, hardware setting, state notifying etc.This internal memory is shared, and a part is used to preserve public interface message, and the information of a part of saving interface hardware specific, different information is managed by different modules.Usual employing has management interface public information function and has the administration module of management interface hardware information function.
Together with common interface information is all kept at hardware relevant information.In the stacking system of support or distributed data communication equipment, if adopt the mode of existing interface management (namely managing public information and hardware related information technology) to be more difficult simultaneously.Because hardware management interface relevant information with hardware originally on same parts, but due to master control borad not having interface, must make the function that can not realize management interface hardware information on master control borad.
Therefore, existing tightly coupled interface management mode is difficult to realize concerning the stacking system of support or distributed data communication equipment, is necessary the mode proposing a kind of new interface management.
Summary of the invention
Embodiments of the invention provide a kind of interface managerial method and system, can realize separately managing having management interface public information function with the module with management interface hardware information function, improve the flexibility that different application scene lower interface uses.
On the one hand, embodiments of the invention provide a kind of interface managerial method, comprising:
Arrange first interface information management module and run on control assembly, described first interface information management module provides the communication interface with external application module;
The forwarding parts that second interface message administration module runs on hardware interface place are set, carry out alternately with described first interface information management module after described second interface message administration module obtains local interface hardware information;
The interface hardware information obtained from described second interface message administration module is sent to described external application module by described first interface information management module.
In another embodiment of the invention, described method also comprises:
Described external application module is to described first interface information management module transmission interface configuration information;
Described first interface information management module sends described interface configuration information to described second interface message administration module by information communication mechanism;
The interface configuration information that described second interface message module sends by receiving described first interface information management module described in described information communication mechanism, the interface corresponding to described interface configuration information is configured.
In another embodiment of the invention, described method also comprises:
Described external application module is to described first interface information management module transmission interface inquiry request;
Described first interface information management module sends described interface polls request to described second interface message administration module by described information communication mechanism;
Described second interface message module receives the described interface polls request of described first interface information management module transmission by described information communication mechanism, and the corresponding interface hardware information of acquisition is sent to described first interface information management module;
Described first interface information management module returns described corresponding interface hardware information to described external application module.
In another embodiment of the invention, carry out alternately, specifically comprising with described first interface information management module after described second interface message administration module obtains local interface hardware information:
Described second interface message administration module obtains local described interface hardware information, and described interface hardware information is that interface creates information or interface deletes information or Interface status change information;
The described interface hardware information obtained is sent to described first interface information management module by described information communication mechanism by described second interface message administration module.
In another embodiment of the invention, receive the interface configuration information of first interface information management module transmission in described second interface message module, after the interface corresponding to described interface configuration information is configured, also comprise:
Described second interface message administration module generates interface configuration response results;
Described second interface message administration module sends described interface configuration response results by described information communication mechanism to described first interface information management module;
Described first interface information management module returns described interface configuration response results to described external application module.
On the other hand, embodiments of the invention provide a kind of interface management system, and described system comprises control assembly and at least one forwards parts, and described control assembly comprises first interface information management module, and described forwarding parts comprise the second interface message administration module:
Described first interface information management module, for providing the communication interface with external application module;
Described second interface message administration module, for obtaining local interface hardware information, and is undertaken alternately by the described interface hardware information obtained and described first interface information management module;
Described first interface information management module, also for the described interface hardware information obtained is sent to described external application module.
In another embodiment of the invention, described first interface information management module, also for receiving the interface configuration information that described external application module sends; And send described interface configuration information to described second interface message administration module by information communication mechanism;
Described second interface message module, also for the interface configuration information by receiving the transmission of described first interface information management module described in described information communication mechanism, the interface corresponding to described interface configuration information is configured.
In another embodiment of the invention, described first interface information management module, also for receiving the interface polls request that described external application module sends; And send described interface polls request to described second interface message administration module by described information communication mechanism;
Described second interface message module, also for being received the described interface polls request that described first interface information management module sends by described information communication mechanism, and sends to described first interface information management module by the corresponding interface hardware information of acquisition;
Described first interface information management module, also for returning described corresponding interface hardware information to described external application module.
In another embodiment of the invention, described second interface message administration module, specifically for obtaining local described interface hardware information, described interface hardware information is that interface creates information or interface deletes information or Interface status change information; The described interface hardware information obtained is sent to described first interface information management module by described information communication mechanism.
In another embodiment of the invention, described second interface message administration module, also for generating interface configuration response results; Described interface configuration response results is sent to described first interface information management module by described information communication mechanism;
Described first interface information management module, also for returning described interface configuration response results to described external application module.
A kind of interface managerial method that the embodiment of the present invention provides and system, run on control assembly by arranging first interface information management module, first interface information management module provides the communication interface with external application module; Arrange the forwarding parts that the second interface message administration module runs on hardware interface place, the second interface message administration module carries out alternately with first interface information management module after obtaining local interface hardware information; The interface hardware information obtained from the second interface message administration module is sent to external application module by first interface information management module.With in prior art due to master control borad not having interface, adopt the mode of existing interface management (namely simultaneously managing public information and hardware related information technology) that the function that can not realize management interface hardware information on master control borad is compared, the embodiment of the present invention can realize separately managing having management interface public information function with the module with management interface hardware information function, improves the flexibility that different application scene lower interface uses.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of a kind of interface managerial method that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the another kind of interface managerial method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of another interface managerial method that Fig. 3 provides for the embodiment of the present invention;
The flow chart of also a kind of interface managerial method that Fig. 4 provides for the embodiment of the present invention;
The flow chart of another interface managerial method that Fig. 5 provides for the embodiment of the present invention;
The flow chart also having a kind of interface managerial method that Fig. 6 provides for the embodiment of the present invention;
The structural representation of a kind of interface management system that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of interface managerial method, and the method comprises the following steps:
Step 101, arranges first interface information management module and runs on control assembly, and described first interface information management module provides the communication interface with external application module;
This control assembly is primary main control card for separate unit distributed apparatus, for pile system, is the primary main control card (pile system of distributed apparatus composition) of main equipment (centralized device composition pile system) or main equipment.
This external application module can refer to the application program using interface message, and such as DynamicHost arranges agreement (DynamicHostConfigurationProtocol, DHCP), Routing Protocol etc.
Step 102, arranges the forwarding parts that the second interface message administration module runs on hardware interface place, carries out alternately after described second interface message administration module obtains local interface hardware information with described first interface information management module;
This second interface message administration module, can this hardware interface of initialization by running on the forwarding parts at hardware interface place, arranges this hardware interface and the information reading this hardware interface etc.Yes be appreciated that, it is information communication mechanism that this first interface information management module and described second interface message administration module carry out mutual transmission channel.In an embodiment, this information communication mechanism can support the data communications equipment of distributed system and the data communications equipment etc. of integrated system.
Step 103, the interface hardware information obtained from described second interface message administration module is sent to described external application module by described first interface information management module.
This first interface information management module, by running on control assembly, can provide hardware interface information to this external application module, and receives the interface polls request, interface configuration information etc. of the transmission of this external application module.
In the present embodiment, this external application module directly can not be carried out alternately with the second interface message administration module, therefore the interface hardware information that reception second interface message administration module sends is supplied to external application module by first interface information management module, so that the local interface that external application module is corresponding according to interface hardware information correct application interface hardware information.
A kind of interface managerial method that the embodiment of the present invention provides, run on control assembly by arranging first interface information management module, first interface information management module provides the communication interface with external application module; Arrange the forwarding parts that the second interface message administration module runs on hardware interface place, the second interface message administration module carries out alternately with first interface information management module after obtaining local interface hardware information; The interface hardware information obtained from the second interface message administration module is sent to external application module by first interface information management module.With in prior art due to master control borad not having interface, adopt the mode of existing interface management (namely simultaneously managing public information and hardware related information technology) that the function that can not realize management interface hardware information on master control borad is compared, the embodiment of the present invention can realize separately managing having management interface public information function with the module with management interface hardware information function, improves the flexibility that different application scene lower interface uses.
Carry out alternately with described first interface information management module after the described second interface message administration module comprised according to step 102 in Fig. 1 obtains local interface hardware information, in a kind of implementation of the present invention, a kind of interface managerial method is provided, in this implementation, interface hardware information is that interface creates information.As shown in Figure 2, the method comprises the following steps:
Step 201, the second interface message administration module loads the first hardware, and searches first interface corresponding to this first hardware.
Second interface message administration module, after loading first hardware, obtains the initial information of the first hardware, as hardware names, type of hardware etc.Second interface message administration module searches corresponding interface according to the initial information of the first hardware, i.e. first interface.
Wherein, interface can be divided into USB (UniversalSerialBUS, USB), Ethernet interface and PC interface (PersonalComputerInterface, PCI) etc.
Step 202, the interface that the second interface message administration module constructs this first interface creates information.
Concrete, the second interface message administration module, according to the information of first interface, constructs this interface and creates information.Wherein, interface establishment information comprises interface identifier (interface name, interface code), interface attributes parameter and Interface status.Such as, when first interface is interface corresponding to keyboard, interface creates information and comprises interface name: USB, interface code: 1, interface attributes parameter: bandwidth 1M, MTU (MaximumTransmissionUnit, MTU): 1500 bytes etc., Interface status: connect.
Step 203, this interface is created information and sends to first interface information management module by information communication mechanism by the second interface message administration module.
Step 204, first interface information management module receives this interface and creates information.
Step 205, first interface information management module creates information updating interface message management holder according to this interface.
First interface information management module creates information according to interface in interface message management holder, creates first interface and information corresponding to first interface, and namely first interface information management module creates an interface object in this interface message management holder.
Optionally, interface is created information and sends to external application module by first interface information management module.So that external application module, after receiving interface establishment information, can apply this first interface.
A kind of interface managerial method that the embodiment of the present invention provides, can realize separately managing having management interface public administration public information function with the module with management interface hardware information function, first interface information management module is made to have the function of management public information, second interface message administration module has the function of hardware management information, a first interface information management module can carry out alternately with multiple second interface message administration module, thus improves the flexibility of different application scene lower interface use.
Carry out alternately with described first interface information management module after the described second interface message administration module comprised according to step 102 in Fig. 1 obtains local interface hardware information, in another kind of implementation of the present invention, a kind of interface managerial method is provided, in this implementation, interface hardware information is that interface deletes information.As shown in Figure 3, the method comprises the following steps:
Step 301, the second interface message administration module unloads the second hardware, searches the second interface that this second hardware is corresponding.
Second hardware can be any one hardware on the second interface message administration module place device, can certainly be the first hardware described in Fig. 2.
Second interface message administration module, when unloading the second hardware, obtains the initial information of the second hardware, as hardware names, type of hardware etc.The second corresponding interface is searched according to the initial information of this second hardware.
Step 302, the interface that the second interface message administration module constructs this second interface deletes information.
Conveniently understand, in the present embodiment for this second interface for the first interface in Fig. 1 is described.Interface is deleted information and is comprised interface identifier (interface name, interface code).Such as, when the second interface is USB corresponding to USB flash disk, interface is deleted information and is comprised interface name: USB, interface code: 1.
Step 303, by this interface, information of deleting sends to first interface information management module by information communication mechanism to the second interface message administration module.
Step 304, first interface information management module receives this interface and deletes information.
Step 305, first interface information management module deletes information updating interface message management holder according to this interface.
First interface information management module finds corresponding interface object (the second interface) according to interface information of deleting in interface message management holder, then deletes the second interface and all information of the second interface.
Optionally, by this interface, information of deleting sends to external application module to first interface information management module.
External application module, after this interface deletion information of reception, stops the application to the second interface, or applies the second interface after avoiding.
A kind of interface managerial method that the embodiment of the present invention provides, can realize separately managing having management interface public administration public information function with the module with management interface hardware information function, first interface information management module is made to have the function of management public information, second interface message administration module has the function of hardware management information, a first interface information management module can carry out alternately with multiple second interface message administration module, thus improves the flexibility of different application scene lower interface use.
Carry out alternately with described first interface information management module after the described second interface message administration module comprised according to step 102 in Fig. 1 obtains local interface hardware information, in another implementation of the present invention, a kind of interface managerial method is provided, in this implementation, interface hardware information is Interface status change information, and this implementation be Fig. 2 describe method basis on further describe.As shown in Figure 4, the method comprises the following steps:
Step 401, the state of the second interface message administration module periodic detection first hardware.
After the second interface message administration module loads the first hardware, optionally, second interface message administration module detects the state of the first hardware with the first preset value, thus cause the state of first interface also along with change when avoiding the state of the first hardware to change, thus the second interface message administration module can obtain the state information of the first hardware in time.The present embodiment does not limit the scope of the first preset value.Such as, the first preset value is 1s.
The state of the first hardware has multiple situation, and such as, connection reports after pulling out the rate consulation success of line or plug wire, line short, interface.
Step 402, when the second interface message administration module detects that the state of the first hardware changes, structure Interface status change information.
Interface status change information comprises the Interface status of interface identifier (interface name, interface code), interface.Such as, when the first hardware is USB flash disk, when USB flash disk and terminal (the second interface message administrative institute device) be connected disconnect time, the second interface message administration module after detecting that USB flash disk connects and disconnects, structure Interface status change information.This Interface status change information comprises USB, interface code: 1, Interface status: disconnect.
Step 403, this Interface status change information is sent to first interface information management module by information communication mechanism by the second interface message administration module.
Step 404, first interface information management module receives this Interface status change information.
Step 405, first interface information management module upgrades interface message management holder according to this Interface status change information.
The information of interface object (first interface) corresponding in interface message management holder, according to the content of this Interface status change information, upgrades by first interface information management module.
Optionally, this Interface status change information is sent to external application module by first interface information management module.So that external application module is after Interface status change information, can process first interface in time.
A kind of interface managerial method that the embodiment of the present invention provides, can realize separately managing having management interface public administration public information function with the module with management interface hardware information function, first interface information management module is made to have the function of management public information, second interface message administration module has the function of hardware management information, a first interface information management module can carry out alternately with multiple second interface message administration module, thus improves the flexibility of different application scene lower interface use.
In another implementation of the present invention, provide a kind of interface managerial method, as shown in Figure 5, the method comprises the following steps:
Step 501, external application module is to first interface information management module transmission interface configuration information.
Interface configuration information comprises interface identifier (interface name, interface code), the Property Name of interface and property parameters.External application module, when any one interface applied is undesirable, can reconfigure the attribute of this interface.In this implementation, defining this interface is first interface (first interface described in above-mentioned Fig. 2).Such as, external application module needs the bandwidth 1M of first interface to be configured to 2M.Then configuration information comprises USB, interface code: 1, interface attributes parameter: bandwidth 2M.
Step 502, this configuration information is sent to the second interface message administration module by information communication mechanism after receiving configuration information by first interface information management module.
Step 503, the second interface message administration module receives this interface configuration information.
Step 504, the second interface message administration module is according to this interface configuration information, and the interface corresponding to this interface configuration information is configured, and generates interface configuration response results.
Second interface message administration module, according to the content of this interface configuration information, first determines the interface that this interface configuration information is corresponding, i.e. first interface, then reconfigures the attribute (bandwidth) of first interface.When the attribute configuration success of first interface, generate interface configuration response results and comprise configuration successful information.When the attribute configuration failure of first interface, optionally, the second interface message administration module carries out the retry of the second preset value number of times.When the second interface message administration module is successful to the attribute configuration of first interface in the second preset value numbers range specified, the interface configuration response results of generation comprises configuration successful information.When the second interface message administration module is still failed to the attribute configuration of first interface in the second preset value numbers range specified, generates interface configuration response results and comprise configuration failure information.Same, the present embodiment does not limit the scope of the second preset value.Such as, the second preset value is 5.
Step 505, interface configuration response results is sent to first interface information management module by information communication mechanism by the second interface message administration module.
Step 506, first interface information management module, according to the content of interface configuration response results, determines whether to need to upgrade interface message management holder.
When interface configuration response results comprises configuration successful information, first interface information management module upgrades first interface property parameters corresponding in interface message management holder.
When interface configuration response results comprises configuration failure information, first interface information management module docking port MIB is not made and is upgraded amendment.
Step 507, interface configuration response results is sent to external application module by first interface information management module.
Optionally, when interface configuration response results comprises configuration successful information, external application module correctly can apply first interface.When interface configuration response results comprises configuration failure information, optionally, external application module also can carry out the retry of a number of times, namely re-starts step 501-step 507.
It should be noted that, the sequencing of the present embodiment not between conditioning step 506 and step 507, first can certainly perform step 507, then perform step 506, or step 506 and step 507 perform simultaneously.In the present embodiment, for convenience of description, step 506 and step 507 are performed simultaneously.
A kind of interface managerial method that the embodiment of the present invention provides, can realize separately managing having management interface public administration public information function with the module with management interface hardware information function, first interface information management module is made to have the function of management public information, second interface message administration module has the function of hardware management information, a first interface information management module can carry out alternately with multiple second interface message administration module, thus improves the flexibility of different application scene lower interface use.
In also a kind of implementation of the present invention, provide a kind of interface managerial method, as shown in Figure 6, the method comprises the following steps:
Step 601, external application module is to first interface information management module transmission interface inquiry request.
Interface polls request comprises the Property Name of interface identifier (interface name, interface code), interface.When external application module needs the up-to-date information obtaining any one interface, can to first interface information management module transmission interface inquiry request.In this implementation, defining this interface is first interface (first interface described in above-mentioned Fig. 2).Such as, external application module needs the message data amount knowing first interface.Then interface polls request comprises USB, interface code: 1, interface attributes parameter: message data amount.Be understandable that, because the message data amount renewal speed of interface is fast, cause external application module to need query message data volume.
Step 602, after first interface information management module receives this interface polls request, sends to the second interface message administration module by communication mechanism by this interface polls request.
Step 603, this receiving interface inquiry request of the second interface message administration module.
Step 604, the interface that the second interface message administration module is corresponding to this interface polls request is inquired about, and obtains corresponding interface hardware information.
Concrete, the second interface message administration module, by the content of this interface polls request, determines the interface that this interface polls request is corresponding.
According to the citing in step 601, when the second interface message administration module gets the message data amount of first interface, obtain corresponding interface hardware information.This Query Result comprises USB, interface code: 1, interface attributes parameter: message data amount is 1.5 ten thousand.
Step 605, this corresponding interface hardware information is returned to first interface information management module by communication mechanism by the second interface message administration module.
Step 606, first interface information management module, according to this corresponding interface hardware information, upgrades interface message management holder.
Step 607, this corresponding interface hardware information is sent to external application module by first interface information management module.
It should be noted that, the sequencing of the present embodiment not between conditioning step 606 and step 607, first can certainly perform step 607, then perform step 606, or step 606 and step 607 perform simultaneously.In the present embodiment, for convenience of description, step 606 and step 607 are performed simultaneously.
A kind of interface managerial method that the embodiment of the present invention provides, can realize separately managing having management interface public administration public information function with the module with management interface hardware information function, first interface information management module is made to have the function of management public information, second interface message administration module has the function of hardware management information, a first interface information management module can carry out alternately with multiple second interface message administration module, thus improves the flexibility of different application scene lower interface use.
It should be noted that, in implementation shown in accompanying drawing 1-accompanying drawing 6, when the second interface message administration module needs to carry out information interaction with the first interface information management module of far-end, optionally, the second interface message administration module can directly and the first interface information management module of far-end carry out information interaction; Or the second interface message administration module carries out information interaction with local first interface information management module, then carries out information interaction by the first interface information management module of this locality and the first interface information management module of far-end.
Embodiment 2
As shown in Figure 7, the embodiment of the present invention provides a kind of interface management system 70, described system comprises control assembly and at least one forwards parts, and described control assembly comprises first interface information management module 701, and described forwarding parts comprise the second interface message administration module 702:
First interface information management module 701, for providing the communication interface with external application module;
Second interface message administration module 702, for obtaining local interface hardware information, and is undertaken alternately by the interface hardware information of acquisition and first interface information management module;
Second interface message administration module 702, specifically for obtaining local interface hardware information, interface hardware information is that interface creates information or interface deletes information or Interface status change information; The interface hardware information of acquisition is sent to first interface information management module 701 by information communication mechanism.
First interface information management module 701, also for the interface hardware information of acquisition is sent to external application module.
Further, first interface information management module 701, also for receiving the interface configuration information that external application module sends, interface configuration information comprises interface identifier, the Property Name of interface and property parameters; And by information communication mechanism transmission interface configuration information to the second interface message administration module 702;
Second interface message module 702, also for being received the interface configuration information that first interface information management module 701 sends by information communication mechanism, the interface that docking port configuration information is corresponding is configured.
Further, first interface information management module 701, also for receiving the interface polls request that external application module sends, interface polls request comprises the Property Name of interface identifier, interface; And by information communication mechanism transmission interface inquiry request to the second interface message administration module 702;
Second interface message module 702, also for being received the interface polls request that first interface information management module 701 sends by information communication mechanism, and sends to first interface information management module 701 by the corresponding interface hardware information of acquisition;
First interface information management module 701, also for returning corresponding interface hardware information to external application module.
Further, the second interface message administration module 702, also for obtaining interface configuration response results; By information communication mechanism to first interface information management module 701 transmission interface configuration response result;
First interface information management module 701, also for returning interface configuration response results to external application module.
It should be noted that, in attached system shown in Figure 7 70, the content such as information interaction between the specific implementation process of its modules and modules, due to the inventive method embodiment based on same inventive concept, see embodiment of the method, can not repeat one by one at this.
A kind of interface management system that the embodiment of the present invention provides, can realize separately managing having management interface public administration public information function with the module with management interface hardware information function, first interface information management module is made to have the function of management public information, second interface message administration module has the function of hardware management information, a first interface information management module can carry out alternately with multiple second interface message administration module, thus improves the flexibility of different application scene lower interface use.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. an interface managerial method, is characterized in that, comprising:
Arrange first interface information management module and run on control assembly, described first interface information management module provides the communication interface with external application module;
The forwarding parts that second interface message administration module runs on hardware interface place are set, carry out alternately with described first interface information management module after described second interface message administration module obtains local interface hardware information;
The interface hardware information obtained from described second interface message administration module is sent to described external application module by described first interface information management module.
2. interface managerial method as claimed in claim 1, it is characterized in that, described method also comprises:
Described external application module is to described first interface information management module transmission interface configuration information;
Described first interface information management module sends described interface configuration information to described second interface message administration module by information communication mechanism;
Described second interface message module receives the interface configuration information of described first interface information management module transmission by described information communication mechanism, and the interface corresponding to described interface configuration information is configured.
3. interface managerial method as claimed in claim 1 or 2, it is characterized in that, described method also comprises:
Described external application module is to described first interface information management module transmission interface inquiry request;
Described first interface information management module sends described interface polls request to described second interface message administration module by information communication mechanism;
Described second interface message module receives the described interface polls request of described first interface information management module transmission by described information communication mechanism, and the corresponding interface hardware information of acquisition is sent to described first interface information management module;
Described first interface information management module returns described corresponding interface hardware information to described external application module.
4. interface managerial method as claimed in claim 1, is characterized in that, carries out alternately, specifically comprising after described second interface message administration module obtains local interface hardware information with described first interface information management module:
Described second interface message administration module obtains local described interface hardware information, and described interface hardware information is that interface creates information or interface deletes information or Interface status change information;
The described interface hardware information obtained is sent to described first interface information management module by information communication mechanism by described second interface message administration module.
5. method according to claim 2, is characterized in that, receives the interface configuration information of first interface information management module transmission, after the interface corresponding to described interface configuration information is configured, also comprise in described second interface message module:
Described second interface message administration module generates interface configuration response results;
Described second interface message administration module sends described interface configuration response results by described information communication mechanism to described first interface information management module;
Described first interface information management module returns described interface configuration response results to described external application module.
6. an interface management system, is characterized in that, described system comprises control assembly and at least one forwards parts, and described control assembly comprises first interface information management module, and described forwarding parts comprise the second interface message administration module:
Described first interface information management module, for providing the communication interface with external application module;
Described second interface message administration module, for obtaining local interface hardware information, and is undertaken alternately by the described interface hardware information obtained and described first interface information management module;
Described first interface information management module, also for the described interface hardware information obtained is sent to described external application module.
7. interface management system as claimed in claim 6, is characterized in that,
Described first interface information management module, also for receiving the interface configuration information that described external application module sends; And send described interface configuration information to described second interface message administration module by information communication mechanism;
Described second interface message module, also for being received the interface configuration information that described first interface information management module sends by described information communication mechanism, the interface corresponding to described interface configuration information is configured.
8. interface management system as claimed in claims 6 or 7, is characterized in that,
Described first interface information management module, also for receiving the interface polls request that described external application module sends; And send described interface polls request to described second interface message administration module by information communication mechanism;
Described second interface message module, also for being received the described interface polls request that described first interface information management module sends by described information communication mechanism, and sends to described first interface information management module by the corresponding interface hardware information of acquisition;
Described first interface information management module, also for returning described corresponding interface hardware information to described external application module.
9. interface management system as claimed in claim 6, is characterized in that,
Described second interface message administration module, specifically for obtaining local described interface hardware information, described interface hardware information is that interface creates information or interface deletes information or Interface status change information; The described interface hardware information obtained is sent to described first interface information management module by information communication mechanism.
10. interface management system according to claim 7, is characterized in that,
Described second interface message administration module, also for generating interface configuration response results; Described interface configuration response results is sent to described first interface information management module by described information communication mechanism;
Described first interface information management module, also for returning described interface configuration response results to described external application module.
CN201310270065.3A 2013-06-28 2013-06-28 A kind of interface managerial method and system Active CN103326887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310270065.3A CN103326887B (en) 2013-06-28 2013-06-28 A kind of interface managerial method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310270065.3A CN103326887B (en) 2013-06-28 2013-06-28 A kind of interface managerial method and system

Publications (2)

Publication Number Publication Date
CN103326887A CN103326887A (en) 2013-09-25
CN103326887B true CN103326887B (en) 2016-03-16

Family

ID=49195431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310270065.3A Active CN103326887B (en) 2013-06-28 2013-06-28 A kind of interface managerial method and system

Country Status (1)

Country Link
CN (1) CN103326887B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491199B (en) * 2013-09-27 2016-08-24 迈普通信技术股份有限公司 A kind of Gigabit-photoelectrimultiplex multiplex interface device
CN105446714B (en) * 2014-08-14 2019-03-15 阿里巴巴集团控股有限公司 Interface call method and device
CN105991431B (en) * 2015-04-28 2019-09-06 杭州迪普科技股份有限公司 Interface message processing method, interface administration module, application module and the network equipment
CN108462730A (en) * 2017-02-17 2018-08-28 中兴通讯股份有限公司 Interface ID management methods, client and server-side
CN108600044B (en) * 2018-03-30 2020-11-20 新华三信息安全技术有限公司 Interface state acquisition method, device and equipment
CN114915533B (en) * 2022-04-29 2023-05-30 武汉烽火技术服务有限公司 Method and architecture for realizing north interface based on platform
CN115766438B (en) * 2023-01-05 2023-04-18 北京锐服信科技有限公司 DPDK-based interface management method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7453797B2 (en) * 2004-09-29 2008-11-18 Intel Corporation Method to provide high availability in network elements using distributed architectures
CN101834871A (en) * 2010-05-14 2010-09-15 浙江工商大学 Open type router device and method thereof
CN102136930A (en) * 2010-09-03 2011-07-27 华为技术有限公司 Version upgrading method and routing equipment
CN102694735A (en) * 2012-06-11 2012-09-26 杭州华三通信技术有限公司 Method and device used for synchronization after restart of FC (fiber channel) exchanger
CN102769571A (en) * 2012-07-30 2012-11-07 杭州华三通信技术有限公司 Graceful restart realization method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7453797B2 (en) * 2004-09-29 2008-11-18 Intel Corporation Method to provide high availability in network elements using distributed architectures
CN101834871A (en) * 2010-05-14 2010-09-15 浙江工商大学 Open type router device and method thereof
CN102136930A (en) * 2010-09-03 2011-07-27 华为技术有限公司 Version upgrading method and routing equipment
CN102694735A (en) * 2012-06-11 2012-09-26 杭州华三通信技术有限公司 Method and device used for synchronization after restart of FC (fiber channel) exchanger
CN102769571A (en) * 2012-07-30 2012-11-07 杭州华三通信技术有限公司 Graceful restart realization method and equipment

Also Published As

Publication number Publication date
CN103326887A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
CN103326887B (en) A kind of interface managerial method and system
CN114172802B (en) Container network configuration method, device, computing node, master node and storage medium
EP2904739B1 (en) Discovering, validating, and configuring hardware-inventory components
EP3905598A1 (en) Message processing method and apparatus, control plane device, and computer storage medium
EP3598301A1 (en) Cloud management platform, virtual machine management method, system thereof
CN104753697A (en) Method, equipment and system for controlling provisioning of network equipment
CN113938378B (en) Method, equipment and medium for checking network equipment configuration in cloud network environment
USRE46770E1 (en) Computer managing method
CN103780467A (en) Communication connection method, communication device and communication system
CN103546380A (en) Message forwarding method and device based on strategy routing
CN114650223B (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN101860452A (en) Network element management method and system
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN102143506A (en) Management processing method, management processing device and management processing system for wireless repeater
CN104219084B (en) A kind of startup method and apparatus of board
CN111416732B (en) Method and device for automatically configuring service for capacity expansion of network equipment in SDN
CN105827496A (en) Method and apparatus for managing PE device
CN103684838A (en) A method, an apparatus, a system for configuring a network strategy of a virtual machine
CN103685405B (en) Network service system and the method updating firmware thereof
CN111769992B (en) Network data management method, cloud platform and storage medium
CN110798358A (en) Distributed service identification method and device, computer readable medium and electronic equipment
CN104040950B (en) A kind of method and apparatus that network configuration is carried out to virtual machine
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN107493181B (en) Indication method and device of virtual expansion port
CN104077285A (en) File designation method and first electronic equipment

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