CN101192944B - A management method and system for communication device port information - Google Patents

A management method and system for communication device port information Download PDF

Info

Publication number
CN101192944B
CN101192944B CN2006101147028A CN200610114702A CN101192944B CN 101192944 B CN101192944 B CN 101192944B CN 2006101147028 A CN2006101147028 A CN 2006101147028A CN 200610114702 A CN200610114702 A CN 200610114702A CN 101192944 B CN101192944 B CN 101192944B
Authority
CN
China
Prior art keywords
port
information
node
ply
tree
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
CN2006101147028A
Other languages
Chinese (zh)
Other versions
CN101192944A (en
Inventor
谢衍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2006101147028A priority Critical patent/CN101192944B/en
Publication of CN101192944A publication Critical patent/CN101192944A/en
Application granted granted Critical
Publication of CN101192944B publication Critical patent/CN101192944B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for managing the port information of the communication equipment and a system. The method comprises the following steps: Step A, the dynamic linked list tree database for port information management is created according to the line card in a communication access device; Step B, the port information in the dynamic linked list tree database is managed according to the information applying to the line card port in the communication access device. The invention is a dynamic information management method for port information based on the linked list tree structure, which can be conveniently suitable for a plurality of application occasions where the management is carried out based on the port, has very good flexibility and scalability, and simultaneously has higher efficiency and can reduce the occupation of the system memory.

Description

A kind of communication device port information management method and system
Technical field
The present invention relates to the communication equipment information management domain, relate in particular in the communication equipment management method and system with the port relevant information.
Background technology
Communication access device utilizes a plurality of ports to communicate, and communication access device is undertaken interconnected by port and other communication equipments or is connected subscriber terminal equipment.Therefore, communication access device need manage all ports (comprising physical port and logic port), promptly utilizes information management system to manage.This management of information management system had both comprised system control aspect, such as the management of port attribute, state etc.; Also comprise professional aspect, wherein, usually, all associated business datums based on port all need organization and management in the communication access device.
The content of managing based on port of utilizing information management system to manage under these various application scenarios is referred to as port information.
The information management of port information affects the realization of each different functional unit in the communication equipment to a great extent, finally has influence on the aspect such as stability, extensibility, maintainability of system or business function.
In the prior art, the information management system of communication access device often uses static array or linked list data structure mode to come management port information, yet, but continuous development along with communication access device, under increasing application scenario, static array or linked list data structure are difficult to adapt to new demand.
That is to say that it is big that the development of modern communications access device, especially broadband access equipment presents quantity, the integrated level height, diversified characteristics, the port information management system of existing communication access device can't satisfy the demands.
1) port number along with communication access device constantly increases, and existing information management system has consumed a large amount of resources.
Compare with other communication equipments, the user port quantity of broadband access equipment is just very big originally; And along with the development of new technology, the device port integrated level improve constantly, the sum of system's middle port also increases improper.In the face of the port of enormous amount, static port information management method will consume a large amount of internal memories, especially the business of certain port information more complicated.
2) the ply-yarn drill port integrated level along with communication access device improves constantly, and the existing information management system extensibility is bad, is difficult to adjust according to the variation of business.
The ply-yarn drill of communication access device is the access line of switch, router or other network equipment and a kind of equipment interface between access means, can be used for stube cable or fibre circuit.
During with the ply-yarn drill port of static mode supervisory communications access device, the maximum port number of a ply-yarn drill of definition in information management system simultaneously, for the port in the ply-yarn drill is used, when distributing the internal memory of port information, also is to distribute according to the maximum port number of ply-yarn drill usually.But increase along with the ply-yarn drill integrated level in the communication access device, the also necessary corresponding raising of the maximum port number of ply-yarn drill of the port information management system definition of communication access device, the also necessary corresponding adjustment of code simultaneously, at this moment the restriction of maximum port number, make that the extensibility of information management system is bad, be difficult to adjust according to the variation of business.
3) along with the port access way variation of communication access device, existing information management system can not adapt to the diversification management, also brings the problem of extensibility simultaneously.
For communication access device, dissimilar ply-yarn drills often has different port types, port density.During also making and design, this is difficult to use static mode to organize port information.Equally, the continuous appearance of novel line card has also brought the problem of the system expandability.
Therefore, under many circumstances, the port information management system of static mode can't satisfy the demand of the port information management of communication access device.
Summary of the invention
Problem to be solved of the present invention provides a kind of communication device port information management method and system, it has solved the problems such as a large amount of internal memories and poor expandability that take that faced when prior art uses static method to carry out the port information management, for system control or business provides flexibly, efficiently, port information management method and the system being convenient to expand.
A kind of communication device port information management method for realizing that the object of the invention provides comprises the following steps:
Steps A according to the ply-yarn drill in the communication access device, is created the dynamic link table tree database of port information management;
Step B, according in the communication access device to the operation information of ply-yarn drill port, the port information in the dynamic link table tree database is managed.
Described step B, according in the communication access device to the operation information of ply-yarn drill port, the port information in the dynamic link table tree database is managed, specifically comprise the following steps:
Step B1 judges in the communication access device operation to the ply-yarn drill port;
Step B2 according to the result who judges, when being during for a ply-yarn drill port configuration information, then searches judgement according to ply-yarn drill corresponding dynamic chained list tree, perhaps creates the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node;
Step B3 according to the result who judges, when being in the time of will deleting the port information of port, then searches judgement according to ply-yarn drill corresponding dynamic chained list tree, after finding this port corresponding ports information node, deletes this node;
Step B4 according to the result who judges, when being the inquiry port configuration information, then navigates to corresponding dynamic link table tree root node according to the dynamic link table tree of ply-yarn drill information earlier, and then traversal dynamic link table tree searches the node of port correspondence, obtains configuration information.
Among the described step B2, search judgement, perhaps create the corresponding ports information node according to ply-yarn drill corresponding dynamic chained list tree, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node, specifically may further comprise the steps:
Step B21 according to the corresponding root node that navigates to of ply-yarn drill corresponding dynamic chained list tree, searches the node of this port correspondence earlier then on inforamtion tree;
Step B22 according to the result who searches, judges whether to find;
Step B23 if do not find, then creates this port information node and inserts dynamic link table tree, and with configuration information record in the port information node of node;
Step B24 if find, then directly revises the configuration information of the port information in the node.
Among the described step B3, search judgement, after finding this port corresponding ports information node, delete this node, specifically comprise the following steps: according to ply-yarn drill corresponding dynamic chained list tree
Step B31, the dynamic link table tree according to ply-yarn drill information navigates to corresponding dynamic link table tree root node earlier, searches the node of this port correspondence then on inforamtion tree;
Step B32 according to the result who searches, judges whether to find;
Step B33 if do not find, directly returns;
Step B34 if find, then deletes this node.
Further comprise the following steps: after the described step B34
When the deletion ply-yarn drill, it is all deleted that the dynamic link table tree of ply-yarn drill correspondence goes up all nodes, and the tree root node pointer is put sky.
For realizing that the object of the invention also provides a kind of communication device port information management system, comprise dynamic link table tree Database Unit and port information administrative unit, wherein:
Described dynamic link table tree Database Unit is used for the ply-yarn drill port information according to communication access device, the dynamic link table tree database of the port information of the ply-yarn drill in establishment and the storing communication access device;
The port information administrative unit is used for according to the operation information of communication access device to the ply-yarn drill port, and the port information in the dynamic link table tree database is managed.
Described Port Management information management unit comprises the operation judges unit, the configuration information unit, and the deletion information unit, the Query Information unit, wherein:
Described operation judges unit is used for judging the operation information of communication access device to the ply-yarn drill port, and according to different operation informations the port information in the dynamic link table tree database is carried out different operations;
The configuration information unit, when being used for result when the operation judges unit judges and being for a ply-yarn drill port configuration information, search judgement according to ply-yarn drill corresponding dynamic chained list tree, perhaps create the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node;
The deletion information unit, the result who is used for when the operation judges unit judges is in the time of will deleting the port information of port, searches judgement according to ply-yarn drill corresponding dynamic chained list tree, after finding this port corresponding ports information node, deletes this node;
The Query Information unit is used for when the result of operation judges unit judges is the inquiry port configuration information, travels through according to ply-yarn drill corresponding dynamic chained list tree and searches the corresponding ports information node, obtains the configuration information of corresponding ports.
Described dynamic link table tree is binary tree.
Each node of described binary tree comprises following components:
Conjunction is used for connecting each node of binary tree;
Port index is used to identify port, the keyword when can be used as with the port index binary tree traversal;
Port information is used for according to different application, deposits the various port relevant information.
The invention has the beneficial effects as follows: communication device port information management method of the present invention and system, the port information of the mode supervisory communications access device by using the dynamic link table tree structure should be considered flexibility, considers efficient and ease for use again.It is a kind of port information dynamic information management based on the chained list tree structure, can be applicable to the multiple application scenario that manages based on port easily, and good flexibility and extensibility are arranged, and higher efficient is arranged simultaneously, and can reduce the internal memory of the system that takies.
Description of drawings
Fig. 1 is a communication device port information management method flow chart of the present invention;
Fig. 2 is a managing communication devices port information flow chart in the embodiment of the invention;
Fig. 3 is a configured port information flow chart in the embodiment of the invention;
Fig. 4 is a deletion port information flow chart in the embodiment of the invention;
Fig. 5 is a port information chained list data tree structure schematic diagram of the present invention;
Fig. 6 is a communication device port information management system structural representation of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, a kind of communication device port information management method of the present invention and system are further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Communication device port information management method of the present invention and system, the port information of the mode supervisory communications access device by using the dynamic link table tree structure.
As shown in Figure 1, describe communication device port information management method of the present invention below in detail:
Step S100 according to the ply-yarn drill in the communication access device, creates the dynamic link table tree database of port information management.
Create the binary tree dynamic link table data tree structure of (also can be called the port information tree) for each ply-yarn drill in the communication access device, the root node pointer of dynamic link table data tree structure is placed in the array of pointers, is initially sky (NULL).The dynamic link table data tree structure of this binary tree is index with the port-mark, and the port information that needs are managed is placed in the tree node, forms the dynamic link table tree of the information management of a ply-yarn drill like this.The dynamic link table tree of the port information of each ply-yarn drill of communication access device is arranged in regular turn, obtain the dynamic link table tree database of the port information management of this communication access device.
Preferably, dynamic link table tree database is following target two-dimensional array with the ply-yarn drill information of communication access device, and each array member is binary tree (port information tree) the root node pointer of corresponding ply-yarn drill correspondence.Pointer is initially sky (NULL).
Each node of binary tree (port information tree) contains following a few part:
Conjunction is used for connecting each node of binary tree;
Port index is used to identify port, the keyword (key) when can be used as with the port index binary tree traversal;
Port information is used for according to different application, deposits the various port relevant information.
Step S200, according in the communication access device to the operation information of ply-yarn drill port, the port information in the dynamic link table tree database is managed.
When creating the relevant configuration data for the ply-yarn drill port, the corresponding tree at dynamic link table created the binary tree (port information tree) that a tree node is inserted into the dynamic link table of this ply-yarn drill port correspondence in the database, and relevant configuration data is stored in this binary tree;
When for ply-yarn drill port deletion configuration data, the content in the tree node of the middle corresponding port of binary tree (port information tree) of the dynamic link table of this ply-yarn drill port correspondence of deletion in dynamic link table tree database correspondingly, and delete this tree node.
When online card port inquiry port information, the content in the tree node of the middle corresponding port of binary tree (port information tree) of the dynamic link table of this ply-yarn drill port correspondence of inquiry in dynamic link table tree database correspondingly.
When online card port is revised port information, correspondingly in dynamic link table tree database, revise the content in the tree node of the middle corresponding port of binary tree (port information tree) of dynamic link table of this ply-yarn drill port correspondence.
When online card port travels through port information, correspondingly in dynamic link table tree database, travel through the binary tree of the dynamic link table of this ply-yarn drill port correspondence.
As shown in Figure 2, particularly, port information is managed in the embodiment of the invention comprises the following steps:
Step S210 judges in the communication access device operation to the ply-yarn drill port;
Step S220 according to the result who judges, when being during for a ply-yarn drill port configuration information, then searches judgement according to the corresponding binary tree of ply-yarn drill, perhaps creates the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node;
Step S230, the result according to judging when being in the time of will deleting the port information of port, then searches judgement according to the corresponding binary tree of ply-yarn drill, after finding this port corresponding ports information node, deletes this node;
Step S240 according to the result who judges, when being the inquiry port configuration information, then navigates to corresponding binary tree root node according to the binary tree of ply-yarn drill information earlier, and then binary tree traversal searches the node of port correspondence, obtains configuration information.
As shown in Figure 3, among the step S220, search judgement, perhaps create the corresponding ports information node according to the corresponding binary tree of ply-yarn drill, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node, specifically may further comprise the steps:
Step S2201 navigates to corresponding root node according to the corresponding binary tree of ply-yarn drill earlier, searches the node of this port correspondence then on binary tree;
Step S2202 according to the result who searches, judges whether to find;
Step S2203 if do not find, then creates this port information node and inserts binary tree, and with configuration information record in the port information node;
Step S2204 if find, then directly revises the configuration information of the port information in the node.
As shown in Figure 4, among the step S230, search judgement, after finding this port corresponding ports information node, delete this node, specifically comprise the following steps: according to the corresponding binary tree of ply-yarn drill
Step S2301 according to the binary tree of ply-yarn drill information, navigates to corresponding binary tree root node earlier, searches the node of this port correspondence then on inforamtion tree;
Step S2302 according to the result who searches, judges whether to find;
Step S2303 if do not find, directly returns;
Step S2304 if find, then deletes this node.
Step S2305, further, when the deletion ply-yarn drill, all nodes are all deleted on the binary tree of ply-yarn drill correspondence, and the tree root node pointer is put sky (NULL).
As shown in Figure 5, illustrated below by the example that uses dynamic link table tree data base administration multicast service port authentication information.
Wherein, dynamic link table tree database TreeTable[shelf] [slot] be that machine frame, groove position with communication access device is target two-dimensional array down, each array member is binary tree (port information tree) the root node pointer of corresponding ply-yarn drill correspondence.Pointer is initially NULL.
Each node of binary tree (port information tree) contains following a few part:
AvlNode: the part that is used for connecting the binary tree node
PortId: port index is used for identifying port, the keyword (key) when can be used as with the port index binary tree traversal.
PortAttr: port information, according to different application, deposit the various port relevant information.It in the embodiment of the invention multicast port authentication information.
When being a ply-yarn drill port (with the PortId sign) configuration multicast authentication information, according to [shelf] of ply-yarn drill, [slot] navigates to corresponding information tree root node, searches the node of this port correspondence then on inforamtion tree earlier.If do not find, then create this node and insert binary tree, and configuration information is charged among the PortAttr of node.If find, then directly revise the PortAttr configuration information in the node.
On the contrary, in the time will deleting the multicast authentication information of certain port, according to the shelf of ply-yarn drill, slot navigates to corresponding information tree root node, searches the node of this port correspondence then on inforamtion tree earlier.If do not find, directly return.If find, then delete this node.
When the deletion ply-yarn drill, all nodes are all deleted on the binary tree of ply-yarn drill correspondence, and the tree root node pointer is put NULL.
During inquiry port authentication configuration information, according to the shelf of ply-yarn drill, slot navigates to corresponding information tree root node earlier, and then binary tree traversal searches the node of port correspondence, obtains configuration information.
As shown in Figure 6, describe communication device port information management system of the present invention below in detail:
Communication device port information management system 60 of the present invention comprises dynamic link table tree Database Unit 61 and port information administrative unit 62.Wherein,
Described dynamic link table tree Database Unit 61 is used for the ply-yarn drill port information according to communication access device, the dynamic link table tree database of the port information of the ply-yarn drill in establishment and the storing communication access device.
Described dynamic link table tree database is following target two-dimensional array with the ply-yarn drill information of communication access device, and each array member is binary tree (port information tree) the root node pointer of corresponding ply-yarn drill correspondence.Pointer is initially sky (NULL).
Each node of binary tree (port information tree) contains following a few part:
Conjunction: be used for connecting each node of binary tree;
Port index is used to identify port, the keyword (key) when can be used as with the port index binary tree traversal.
Port information is used for according to different application, deposits the various port relevant information.
Port information administrative unit 62 is used for according to the operation information of communication access device to the ply-yarn drill port, and the port information in the dynamic link table tree database is managed.It comprises operation judges unit 63, configuration information unit 64, deletion information unit 65, Query Information unit 66.
Wherein, described operation judges unit 63 is used for judging the operation information of communication access device to the ply-yarn drill port, and according to different operation informations the port information in the dynamic link table tree database is carried out different operations.
Configuration information unit 64, be used for when result that operation judges unit 63 is judged be during for a ply-yarn drill port configuration information, search judgement according to the corresponding binary tree of ply-yarn drill, perhaps create the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node.
Deletion information unit 65, the result who is used for judging when operation judges unit 63 is in the time of will deleting the port information of port, searches judgement according to the corresponding binary tree of ply-yarn drill, after finding this port corresponding ports information node, deletes this node.
If when the deletion ply-yarn drill, all nodes are all deleted on the binary tree of ply-yarn drill correspondence, the tree root node pointer is put sky (NULL).
Query Information unit 66 is used for when the result of operation judges unit judges is the inquiry port configuration information, travels through according to the corresponding binary tree of ply-yarn drill and searches the corresponding ports information node, obtains the configuration information of corresponding ports.
Communication device port information management system 60 of the present invention, utilize dynamic link table tree Database Unit 61, by being each ply-yarn drill establishment dynamic link table data tree structure in the communication access device, form the dynamic link table tree of the information management of a ply-yarn drill, obtain the dynamic link table tree database of the port information management of this communication access device.
Then, according in the communication access device to the operation information of ply-yarn drill port, the port information in 62 pairs of dynamic link tables trees of port information administrative unit database manages.
At first, the operation to the ply-yarn drill port is judged in the communication access devices in operation judges unit 63;
Then, the result who judges when operation judges unit 63 is during for a ply-yarn drill port configuration information, judgement is searched according to the corresponding binary tree of ply-yarn drill in configuration information unit 64, perhaps creates the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node; The result who judges when operation judges unit 63 is in the time of will deleting the port information of port, and deletion information unit root 65 is searched judgement according to the corresponding binary tree of ply-yarn drill, after finding this port corresponding ports information node, deletes this node; When the result who judges when operation judges unit 63 was the inquiry port configuration information, Query Information unit 66 traveled through according to the corresponding binary tree of ply-yarn drill and searches the corresponding ports information node, obtains the configuration information of corresponding ports.
In actual use, the business such as multicast authentication management that communication device port information management method of the present invention and system be can be used for broadband access equipment, the method that replaces original static array has solved the excessive difficult problems of professional committed memory such as multicast authentication management that cause because of the expansion of system logic port capacity; After simultaneously also having solved newly-increased access way (GPON), its ply-yarn drill largest logical port number significantly increases the scaling concern that brings.
Communication device port information management method of the present invention and system have following advantage:
1) internal memory is saved in port information dynamic management.
Under a lot of situations, equipment is not that full configuration is put; Perhaps both be that full configuration is put,, neither have all needed to open or configuration service by all of the port a business.Only to having created or having had the port of business configuration to create respective nodes, can effectively save a large amount of internal memories in communication device port information management method of the present invention and the system.
2) adaptability is good, is convenient to expansion
The characteristics of the data structure of binary tree have determined to the port number on each ply-yarn drill without limits.To having all kinds of ply-yarn drills of different port quantity, can manage with the port information tree.When running into newly-increased type ply-yarn drill or the increase of ply-yarn drill port integrated level, the administrative section of port information tree does not need to make any modification.On the other hand, when the bus card number of system increases, also only need the size of corresponding increase root node array of pointers, both can to hold more binary tree.
These characteristics are in broadband access method, technology, develop rapidly under the situation highly significant at access device.
3) simple efficient
Binary tree data structure in the embodiment of the invention itself sorts, and operations such as its inquiry, insertion, deletion all have good efficient.Compare with static array, binary tree has remarkable advantages aspect efficient.And why dynamic approach adopts binary tree, be because with other dynamic data structures, compare as order chained list etc., binary tree is not only convenient but also efficient.
On the other hand, the communication device port information management method and the system of the embodiment of the invention are for each ply-yarn drill is created a binary tree separately.For a port, can arrive binary tree by the ply-yarn drill mark location earlier like this, on binary tree, search respective nodes again.The mode of this two-stage location, compared with all of the port being placed on the binary tree, efficient further improves.
By below in conjunction with the description of accompanying drawing to the specific embodiment of the invention, others of the present invention and feature are conspicuous to those skilled in the art.
More than specific embodiments of the invention are described and illustrate it is exemplary that these embodiment should be considered to it, and be not used in and limit the invention, the present invention should make an explanation according to appended claim.

Claims (11)

1. a communication device port information management method is characterized in that, comprises the following steps:
Steps A according to the ply-yarn drill in the communication access device, is created the dynamic link table tree database of port information management;
Step B, according in the communication access device to the operation information of ply-yarn drill port, the port information in the dynamic link table tree database is managed.
2. communication device port information management method according to claim 1, it is characterized in that, described step B, according in the communication access device to the operation information of ply-yarn drill port, port information in the dynamic link table tree database is managed, specifically comprise the following steps:
Step B1 judges in the communication access device operation to the ply-yarn drill port;
Step B2 according to the result who judges, when being during for a ply-yarn drill port configuration information, then searches judgement according to ply-yarn drill corresponding dynamic chained list tree, perhaps creates the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node;
Step B3 according to the result who judges, when being in the time of will deleting the port information of port, then searches judgement according to ply-yarn drill corresponding dynamic chained list tree, after finding this port corresponding ports information node, deletes this node;
Step B4 according to the result who judges, when being the inquiry port configuration information, then setting according to the dynamic link table of ply-yarn drill information earlier and navigates to corresponding dynamic link table tree root node, and then traversal dynamic link table tree, searches the node of port correspondence, obtains configuration information.
3. communication device port information management method according to claim 2, it is characterized in that, among the described step B2, search judgement according to ply-yarn drill corresponding dynamic chained list tree, perhaps create the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node, specifically may further comprise the steps:
Step B21 according to the corresponding root node that navigates to of ply-yarn drill corresponding dynamic chained list tree, searches the node of this port correspondence earlier then on inforamtion tree;
Step B22 according to the result who searches, judges whether to find;
Step B23 if do not find, then creates this port information node and inserts dynamic link table tree, and with configuration information record in the port information node of node;
Step B24 if find, then directly revises the configuration information of the port information in the node.
4. communication device port information management method according to claim 2 is characterized in that, among the described step B3, search judgement according to ply-yarn drill corresponding dynamic chained list tree, after finding this port corresponding ports information node, delete this node, specifically comprise the following steps:
Step B31, the dynamic link table tree according to ply-yarn drill information navigates to corresponding dynamic link table tree root node earlier, searches the node of this port correspondence then on inforamtion tree;
Step B32 according to the result who searches, judges whether to find;
Step B33 if do not find, directly returns;
Step B34 if find, then deletes this node.
5. communication device port information management method according to claim 4 is characterized in that, further comprises the following steps: after the described step B34
When the deletion ply-yarn drill, it is all deleted that the dynamic link table tree of ply-yarn drill correspondence goes up all nodes, and the tree root node pointer is put sky.
6. according to each described communication device port information management method of claim 1 to 5, it is characterized in that described dynamic link table tree is binary tree.
7. communication device port information management method according to claim 6 is characterized in that, each node of described binary tree comprises following components:
Conjunction is used for connecting each node of binary tree;
Port index is used to identify port, and the keyword as with the port index binary tree traversal time;
Port information is used for according to different application, deposits the various port relevant information.
8. a communication device port information management system is characterized in that, comprises dynamic link table tree Database Unit and port information administrative unit, wherein:
Described dynamic link table tree Database Unit is used for the ply-yarn drill port information according to communication access device, the dynamic link table tree database of the port information of the ply-yarn drill in establishment and the storing communication access device;
The port information administrative unit is used for according to the operation information of communication access device to the ply-yarn drill port, and the port information in the dynamic link table tree database is managed.
9. communication device port information management system according to claim 8 is characterized in that, described port information administrative unit comprises the operation judges unit, the configuration information unit, and the deletion information unit, the Query Information unit, wherein:
Described operation judges unit is used for judging the operation information of communication access device to the ply-yarn drill port, and according to different operation informations the port information in the dynamic link table tree database is carried out different operations;
The configuration information unit, when being used for result when the operation judges unit judges and being for a ply-yarn drill port configuration information, search judgement according to ply-yarn drill corresponding dynamic chained list tree, perhaps create the corresponding ports information node, and with configuration information record in the port information node; Perhaps revise the configuration information of corresponding port information node;
The deletion information unit, the result who is used for when the operation judges unit judges is in the time of will deleting the port information of port, searches judgement according to ply-yarn drill corresponding dynamic chained list tree, after finding this port corresponding ports information node, deletes this node;
The Query Information unit is used for when the result of operation judges unit judges is the inquiry port configuration information, travels through according to ply-yarn drill corresponding dynamic chained list tree and searches the corresponding ports information node, obtains the configuration information of corresponding ports.
10. according to Claim 8 or 9 described communication device port information management systems, it is characterized in that described dynamic link table tree is binary tree.
11. communication device port information management system according to claim 10 is characterized in that, each node of described binary tree comprises following components:
Conjunction is used for connecting each node of binary tree;
Port index is used to identify port, and the keyword as with the port index binary tree traversal time;
Port information is used for according to different application, deposits the various port relevant information.
CN2006101147028A 2006-11-21 2006-11-21 A management method and system for communication device port information Expired - Fee Related CN101192944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101147028A CN101192944B (en) 2006-11-21 2006-11-21 A management method and system for communication device port information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101147028A CN101192944B (en) 2006-11-21 2006-11-21 A management method and system for communication device port information

Publications (2)

Publication Number Publication Date
CN101192944A CN101192944A (en) 2008-06-04
CN101192944B true CN101192944B (en) 2010-12-08

Family

ID=39487714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101147028A Expired - Fee Related CN101192944B (en) 2006-11-21 2006-11-21 A management method and system for communication device port information

Country Status (1)

Country Link
CN (1) CN101192944B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547147B (en) * 2009-04-30 2012-01-25 北京星网锐捷网络技术有限公司 Method, device, line card and management unit for message processing
CN102521025B (en) * 2011-11-30 2013-11-27 上海新时达电气股份有限公司 Embedded microcontroller port customization method
CN102420709A (en) * 2011-12-23 2012-04-18 大唐移动通信设备有限公司 Method and equipment for managing scheduling task based on task frame
CN102724061B (en) * 2012-04-16 2016-02-17 成都广达新网科技股份有限公司 A kind of network interface management method
CN105591981B (en) * 2014-11-14 2019-10-25 南京中兴软件有限责任公司 A kind of delivery method of data packet, device and broadband access equipment
CN105610600B (en) * 2015-09-24 2018-09-28 上海斐讯数据通信技术有限公司 The data index method, system and OLT device of device port in PON network
CN111147320A (en) * 2019-11-29 2020-05-12 苏州浪潮智能科技有限公司 Port information monitoring method, device, equipment and readable storage medium
CN111968252A (en) * 2020-09-15 2020-11-20 广东农工商职业技术学院(农业部华南农垦干部培训中心) AR course teaching resource management method and system
CN112118155A (en) * 2020-09-18 2020-12-22 苏州浪潮智能科技有限公司 Method and equipment for monitoring switch port state
CN112383461B (en) * 2020-11-12 2022-02-22 西安石油大学 Fieldbus based on binary tree topology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801506B1 (en) * 1999-03-31 2004-10-05 Cisco Technology, Inc. Method and apparatus for providing fast spanning tree re-starts
CN1543175A (en) * 2003-04-29 2004-11-03 上海长松通信设备有限公司 Distributed artificial service system for short message information
CN1625123A (en) * 2003-12-02 2005-06-08 沈华 Method for sort binding and managing interconnected network information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801506B1 (en) * 1999-03-31 2004-10-05 Cisco Technology, Inc. Method and apparatus for providing fast spanning tree re-starts
CN1543175A (en) * 2003-04-29 2004-11-03 上海长松通信设备有限公司 Distributed artificial service system for short message information
CN1625123A (en) * 2003-12-02 2005-06-08 沈华 Method for sort binding and managing interconnected network information

Also Published As

Publication number Publication date
CN101192944A (en) 2008-06-04

Similar Documents

Publication Publication Date Title
CN101192944B (en) A management method and system for communication device port information
CN104731799B (en) Main memory DBM device
CN111460023A (en) Service data processing method, device, equipment and storage medium based on elastic search
CN101071434B (en) User distributing method, device and system for distributed database system
CN101771723A (en) Data synchronization method
CN100424699C (en) Attribute extensible object file system
CN106557427A (en) The EMS memory management process and device of shared drive data base
CN101567014B (en) Equipment information retrieval method, device and cable fastener
CN103001793A (en) Method and device for managing ACL (access control list)
CN1952941A (en) A resource allocation method and system for shared memory
CN100396002C (en) System and method for identifying authority using relative inquire
EP1030494A1 (en) Communication unit and communication method with profile management
CN109241057B (en) Digital ID generation method for distributed system
CN101778131A (en) Data synchronization system
CN109241056B (en) Digital ID generation system for distributed system
CN101621396B (en) Single board automatic management device and method
CN101217690A (en) A system and method for realizing distributed storage of data operation and data information
CN1997060A (en) Method and system for index acquisition
JP2004527820A (en) Method of processing and accessing data in a computer reservation system and a system for implementing the method
CN105138581B (en) A kind of write-in of mobile message and read method and system
CN101662489A (en) Method, device and system for discovering semantic Web service
CN103095833A (en) Updating method of cloud service system and device
CN115510072A (en) Main data engine based on multi-tenant SaaS application platform
CN1226896C (en) Dynamic distribution method of memory space in subscirber identifying module
CN1964324A (en) A method for carrying out automatic selection of packet classification algorithm

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

Granted publication date: 20101208

Termination date: 20151121