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
tree
line card
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

Landscapes

  • Small-Scale Networks (AREA)

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

Method and system for managing port information of communication equipment
Technical Field
The present invention relates to the field of information management of communication equipment, and in particular, to a method and a system for managing information related to a port in communication equipment.
Background
The communication access equipment communicates by using a plurality of ports, and the communication access equipment is interconnected with other communication equipment or connected with user terminal equipment through the ports. Therefore, the communication access device needs to manage all ports (including physical ports and logical ports), that is, manage with the information management system. This management of the information management system includes both management of aspects of system control such as port attributes, status, etc.; but also traffic-wise, wherein generally all port-based traffic data associated therewith in a communication access device needs to be organized and managed.
The contents managed by the port based information managed by the information management system in these various applications are collectively referred to as port information.
The information management of the port information greatly affects the implementation of various functional units in the communication device, and ultimately affects the stability, expandability, maintainability, etc. of the system or service function.
In the prior art, an information management system of a communication access device often uses a data structure mode of a static array or a linked list to manage port information, however, with the continuous development of the communication access device, the data structure of the static array or the linked list is difficult to adapt to new requirements in more and more application occasions.
That is to say, the development of modern communication access devices, especially broadband access devices, presents the characteristics of large quantity, high integration level and diversification, and the port information management system of the existing communication access device cannot meet the requirements.
1) As the number of ports of communication access devices continues to increase, existing information management systems consume a large amount of resources.
Compared with other communication equipment, the number of user ports of the broadband access equipment is originally large; with the development of new technologies, the integration level of device ports is continuously increased, and the total number of ports in the system is also increased. In the face of a huge number of ports, the static port information management method consumes a large amount of memory, especially some services with complicated port information.
2) With the continuous improvement of the integration level of the line card port of the communication access device, the existing information management system has poor expandability and is difficult to adjust according to the change of services.
A line card of a communication access device is a device interface between an access line and an access device of a switch, router, or other network device, and may be used to connect a cable or fiber line.
When a line card port of a communication access device is managed in a static manner, a maximum port number of a line card is usually defined in an information management system, and meanwhile, for port application in the line card, when a memory of port information is allocated, the memory is also allocated according to the maximum port number of the line card. However, as the integration of the line card in the communication access device increases, the maximum port number of the line card defined by the port information management system of the communication access device must be correspondingly increased, and the implementation code must be correspondingly adjusted, at this time, the limitation of the maximum port number makes the expandability of the information management system poor, and it is difficult to adjust according to the change of the service.
3) With the diversification of port access modes of communication access equipment, the existing information management system cannot adapt to diversified management and also brings about the problem of expandability.
Different types of line cards often have different port types and port densities for communication access equipment. This also makes it difficult to organize the port information in a static manner in the design. Also, the continuous emergence of new types of line cards raises issues of system scalability.
Therefore, in many cases, the port information management system in the static mode cannot meet the requirement of the port information management of the communication access device.
Disclosure of Invention
The invention aims to solve the problem of providing a method and a system for managing port information of communication equipment, which solve the problems of large memory occupation, poor expandability and the like when a static method is used for managing the port information in the prior art, and provide a flexible, efficient and conveniently-expandable method and a system for managing the port information for system control or service.
The invention provides a communication equipment port information management method for realizing the aim of the invention, which comprises the following steps:
step A, according to a line card in communication access equipment, a dynamic linked list tree database for port information management is established;
and step B, managing the port information in the dynamic linked list tree database according to the operation information of the line card port in the communication access equipment.
The step B of managing the port information in the dynamic linked list tree database according to the operation information on the line card port in the communication access device specifically includes the following steps:
step B1, judging the operation of the line card port in the communication access equipment;
step B2, according to the result of the judgment, when the configuration information is for a line card port, the corresponding dynamic link table tree of the line card is searched and judged, or a corresponding port information node is created, and the configuration information is recorded in the port information node; or modifying the configuration information of the corresponding port information node;
step B3, according to the result of the judgment, when the port information of the port is to be deleted, the node is deleted after the port information node corresponding to the port is found according to the searching judgment of the dynamic link table tree corresponding to the line card;
and step B4, according to the judgment result, when the port configuration information is inquired, positioning the root node of the corresponding dynamic linked list according to the dynamic linked list tree of the line card information, and traversing the dynamic linked list tree to search the node corresponding to the port to acquire the configuration information.
In the step B2, a search and a judgment are performed according to the dynamic link table tree corresponding to the line card, or a corresponding port information node is created, and the configuration information is recorded in the port information node; or modifying the configuration information of the corresponding port information node, specifically comprising the following steps:
step B21, first according to the line card corresponding dynamic link table tree positioning to the corresponding root node, then in the information tree to search the port corresponding node;
step B22, judging whether the finding is found according to the finding result;
step B23, if not found, then create the port information node to insert dynamic chain table tree, and record the configuration information to the port information node of the node;
step B24, if found, directly modifying the configuration information of the port information in the node.
In step B3, a lookup and a determination are performed according to the dynamic link table tree corresponding to the line card, and after the port information node corresponding to the port is found, the node is deleted, which specifically includes the following steps:
step B31, first according to the dynamic link list tree of the line card information, positioning the corresponding dynamic link list tree root node, then searching the node corresponding to the port on the information tree;
step B32, judging whether the finding is found according to the finding result;
step B33, if not found, directly returning;
step B34, if found, the node is deleted.
The step B34 further includes the following steps:
when the line card is deleted, all nodes on the dynamic linked list tree corresponding to the line card are deleted, and the tree root node pointer is null.
The invention also provides a communication device port information management system for realizing the aim, which comprises a dynamic link table tree database unit and a port information management unit, wherein:
the dynamic linked list tree database unit is used for creating and storing a dynamic linked list tree database of the port information of the line card in the communication access equipment according to the port information of the line card in the communication access equipment;
and the port information management unit is used for managing the port information in the dynamic linked list tree database according to the operation information of the line card port in the communication access equipment.
The port management information management unit comprises an operation judgment unit, an information configuration unit, an information deletion unit and an information query unit, wherein:
the operation judging unit is used for judging the operation information of the line card port in the communication access equipment and carrying out different operations on the port information in the dynamic linked list tree database according to different operation information;
the configuration information unit is used for searching and judging according to the dynamic link table tree corresponding to the line card or creating a corresponding port information node and recording the configuration information into the port information node when the result judged by the operation judgment unit is that the configuration information is configured for one line card port; or modifying the configuration information of the corresponding port information node;
a delete information unit, configured to, when the operation determination unit determines that the port information of the port is to be deleted, perform a search determination according to the dynamic link table tree corresponding to the line card, and delete the node after finding the port information node corresponding to the port;
and the query information unit is used for traversing and searching a corresponding port information node according to the dynamic link table tree corresponding to the line card to acquire the configuration information of the corresponding port when the operation judgment unit judges that the result is the query port configuration information.
The dynamic linked list tree is a binary tree.
Each node of the binary tree comprises the following parts:
the connecting words are used for connecting all nodes in the binary tree;
the port index is used for identifying the port and can be used as a keyword when the port index traverses the binary tree;
and the port information is used for storing various port related information according to different applications.
The invention has the beneficial effects that: the method and the system for managing the port information of the communication equipment manage the port information of the communication access equipment by using a dynamic linked list tree structure, and consider not only the flexibility but also the efficiency and the usability. The port information dynamic information management method based on the linked list tree structure is port information dynamic information management based on the linked list tree structure, can be conveniently suitable for various application occasions based on port management, has good flexibility and expandability, has higher efficiency, and can reduce occupied system memory.
Drawings
FIG. 1 is a flow chart of a method for managing port information of a communication device according to the present invention;
FIG. 2 is a flow chart of managing port information for a communication device in an embodiment of the present invention;
FIG. 3 is a flow chart of configuration port information in an embodiment of the present invention;
FIG. 4 is a flow chart of deleting port information in an embodiment of the present invention;
FIG. 5 is a schematic diagram of a port information linked list tree data structure according to the present invention;
fig. 6 is a schematic structural diagram of a port information management system of a communication device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, a method and a system for managing port information of a communication device according to the present invention are described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The method and the system for managing the port information of the communication equipment manage the port information of the communication access equipment by using a dynamic linked list tree structure.
As shown in fig. 1, the following describes the port information management method of the communication device of the present invention in detail:
step S100, according to the line card in the communication access equipment, a dynamic linked list tree database for port information management is established.
A dynamic linked list tree data structure of a binary tree (also called a port information tree) is created for each line card in the communication access equipment, and a root node pointer of the dynamic linked list tree data structure is placed in a pointer array and is initially NULL (NULL). The dynamic linked list tree data structure of the binary tree takes the port identification as an index, and the port information needing to be managed is placed in the tree node, so that the dynamic linked list tree of the information management of the line card is formed. And arranging the dynamic linked list trees of the port information of each line card of the communication access equipment in sequence to obtain a dynamic linked list tree database managed by the port information of the communication access equipment.
Preferably, the dynamic link table tree database is a two-dimensional array with line card information of the communication access device as a subscript, and each array member is a binary tree (port information tree) root node pointer corresponding to a corresponding line card. The pointer is initially NULL (NULL).
Each node of the binary tree (port information tree) contains the following parts:
the connecting words are used for connecting all nodes in the binary tree;
a port index for identifying a port, usable as a key (key) when traversing the binary tree with the port index;
and the port information is used for storing various port related information according to different applications.
And step S200, managing the port information in the dynamic linked list tree database according to the operation information of the line card port in the communication access equipment.
When the relevant configuration data is created for the line card port, a binary tree (port information tree) of a dynamic linked list corresponding to the line card port is correspondingly created in a dynamic linked list tree database, and the relevant configuration data is stored in the binary tree;
when deleting the configuration data for the line card port, correspondingly deleting the content in the tree node of the corresponding port in the binary tree (port information tree) of the dynamic linked list corresponding to the line card port in the dynamic linked list tree database, and deleting the tree node.
When the port information is inquired at the line card port, the content of the tree node of the corresponding port in the binary tree (port information tree) of the dynamic linked list corresponding to the line card port is inquired in the dynamic linked list tree database correspondingly.
When the port information is modified at the line card port, the content of the tree node of the corresponding port in the binary tree (port information tree) of the dynamic linked list corresponding to the line card port is correspondingly modified in the dynamic linked list tree database.
When the port information is traversed at the line card port, correspondingly traversing the binary tree of the dynamic linked list corresponding to the line card port in the dynamic linked list tree database.
As shown in fig. 2, specifically, the managing of the port information in the embodiment of the present invention includes the following steps:
step S210, judging the operation of the line card port in the communication access equipment;
step S220, according to the judged result, when the configuration information is configured for one line card port, searching and judging are carried out according to the binary tree corresponding to the line card, or a corresponding port information node is established, and the configuration information is recorded into the port information node; or modifying the configuration information of the corresponding port information node;
step S230, according to the judgment result, when the port information of the port is to be deleted, searching and judging are carried out according to the binary tree corresponding to the line card, and after the port information node corresponding to the port is found, the node is deleted;
step S240, according to the judgment result, when the port configuration information is queried, the corresponding node of the binary tree root is located according to the binary tree of the line card information, and then the binary tree is traversed to find the node corresponding to the port, so as to obtain the configuration information.
As shown in fig. 3, in step S220, a search determination is performed according to the binary tree corresponding to the line card, or a corresponding port information node is created, and the configuration information is recorded in the port information node; or modifying the configuration information of the corresponding port information node, specifically comprising the following steps:
step S2201, positioning to a corresponding root node according to a binary tree corresponding to the line card, and then searching for a node corresponding to the port on the binary tree;
step S2202, judging whether the search result is found;
step 2203, if not found, the port information node is created and inserted into the binary tree, and the configuration information is recorded into the port information node;
in step S2204, if found, the configuration information of the port information in the node is directly modified.
As shown in fig. 4, in step S230, performing a search and determination according to the binary tree corresponding to the line card, and deleting a node after finding a port information node corresponding to the port, specifically includes the following steps:
step S2301, according to the binary tree of the line card information, positioning to the root node of the corresponding binary tree, and then searching the node corresponding to the port on the information tree;
step S2302, judging whether the search result is found;
step S2303, if not found, returning directly;
in step S2304, if found, the node is deleted.
Step S2305, further, when the line card is deleted, all nodes in the binary tree corresponding to the line card are deleted, and the tree root node pointer is NULL (NULL).
As shown in fig. 5, the following description will be made by taking an example of managing multicast service port authentication information using a dynamic linked list tree database.
The dynamic chain table tree database TreeTable [ shelf ] [ slot ] is a two-dimensional array with a frame and a slot of the communication access equipment as subscripts, and each array member is a binary tree (port information tree) root node pointer corresponding to a corresponding line card. The pointer is initially NULL.
Each node of the binary tree (port information tree) contains the following parts:
AvlNode: portions for connecting nodes of a binary tree
PortId: the port index, which is used to identify the port, can be used as a key (key) when traversing the binary tree with the port index.
PortAttr: and the port information is used for storing various port related information according to different applications. The embodiment of the invention relates to multicast port authentication information.
When multicast authentication information is configured for a line card port (identified by PortId), firstly, a corresponding information tree root node is positioned according to the 'shelf' and 'slot' of the line card, and then a node corresponding to the port is searched on an information tree. If not, the node is created for insertion into the binary tree and the configuration information is entered into the PortAttr of the node. If found, the PortAttr configuration information in the node is modified directly.
On the contrary, when the multicast authentication information of a certain port is to be deleted, the slot is positioned to the root node of the corresponding information tree according to the shelf of the line card, and then the node corresponding to the port is searched on the information tree. If not found, go back directly. If so, the node is deleted.
When the line card is deleted, all nodes on the binary tree corresponding to the line card are deleted, and the tree root node pointer is set to NULL.
When the port authentication configuration information is inquired, the slot is positioned to the root node of the corresponding information tree according to the shelf of the line card, and then the node corresponding to the port is searched through the binary tree to obtain the configuration information.
As shown in fig. 6, the port information management system of the communication device of the present invention is explained in detail below:
the port information management system 60 of the communication device of the present invention includes a dynamic link table tree database unit 61 and a port information management unit 62. Wherein,
the dynamic linked list tree database unit 61 is configured to create and store a dynamic linked list tree database of port information of a line card in the communication access device according to the line card port information in the communication access device.
The dynamic linked list tree database takes the line card information of the communication access equipment as a two-dimensional array of the subscript, and each array member is a binary tree (port information tree) root node pointer corresponding to the corresponding line card. The pointer is initially NULL (NULL).
Each node of the binary tree (port information tree) contains the following parts:
connecting words: used for connecting each node in the binary tree;
and the port index is used for identifying the port and can be used as a key (key) when the binary tree is traversed by the port index.
And the port information is used for storing various port related information according to different applications.
And a port information management unit 62, configured to manage port information in the dynamic linked list tree database according to operation information on the line card port in the communication access device. It includes an operation judging unit 63, a configuration information unit 64, a deletion information unit 65, and an inquiry information unit 66.
The operation determining unit 63 is configured to determine operation information of the line card port in the communication access device, and perform different operations on the port information in the dynamic linked list tree database according to different operation information.
A configuration information unit 64, configured to, when the result determined by the operation determining unit 63 is that the configuration information is configured for a line card port, perform a search determination according to a binary tree corresponding to the line card, or create a corresponding port information node, and record the configuration information into the port information node; or modify configuration information of the corresponding port information node.
And a delete information unit 65, configured to, when the operation judgment unit 63 judges that the result is the port information of the port to be deleted, perform a search judgment according to the binary tree corresponding to the line card, and delete the node after finding the port information node corresponding to the port.
And if all nodes on the binary tree corresponding to the line card are deleted when the line card is deleted, the pointer of the tree root node is NULL (NULL).
And the query information unit 66 is configured to, when the result determined by the operation determination unit is query port configuration information, perform traversal according to the binary tree corresponding to the line card to search for a corresponding port information node, and acquire configuration information of a corresponding port.
The port information management system 60 of the communication equipment of the present invention utilizes the dynamic linked list tree database unit 61 to form a dynamic linked list tree of information management of a line card by creating a dynamic linked list tree data structure for each line card in the communication access equipment, and obtains the dynamic linked list tree database of port information management of the communication access equipment.
Then, according to the operation information of the line card port in the communication access device, the port information management unit 62 manages the port information in the dynamic linked list tree database.
Firstly, the operation judging unit 63 judges the operation of the line card port in the communication access device;
then, when the result of the judgment by the operation judgment unit 63 is that the configuration information is configured for a line card port, the configuration information unit 64 performs search judgment according to the binary tree corresponding to the line card, or creates a corresponding port information node, and records the configuration information into the port information node; or modifying the configuration information of the corresponding port information node; when the operation judging unit 63 judges that the port information of the port is to be deleted, the deletion information unit performs searching judgment according to the binary tree corresponding to the line card 65, and deletes the node after finding the port information node corresponding to the port; when the operation determining unit 63 determines that the result is query port configuration information, the query information unit 66 performs traversal according to the binary tree corresponding to the line card to search for a corresponding port information node, and obtains configuration information of a corresponding port.
In practical use, the method and the system for managing the port information of the communication equipment can be used for services such as multicast authentication management of broadband access equipment and the like, and replace the original static array method, thereby solving the problem that the services such as the multicast authentication management and the like occupy too large memory due to the capacity expansion of a system logic port; and simultaneously, the problem of expansibility caused by the fact that the maximum logic port number of the line card is greatly increased after a newly added access mode (GPON) is solved.
The method and the system for managing the port information of the communication equipment have the following advantages that:
1) the port information is dynamically managed, and the memory is saved.
In many cases, the device is not fully configured; or even full configuration, for a service, not all ports need to open or configure the service. The method and the system for managing the port information of the communication equipment only establish the corresponding node for the port which is established or has service configuration, thereby effectively saving a large amount of memory.
2) Good adaptability and convenient expansion
The nature of the data structure of the binary tree dictates that there is no limit to the number of ports on each line card. The port information tree can be used for managing various line cards with different port numbers. When the integration degree of the ports of the newly added line cards or line cards is increased, the management part of the port information tree does not need to be modified. On the other hand, when the number of bus cards of the system is increased, the size of the root node pointer array is only required to be correspondingly increased so as to accommodate more binary trees.
This feature is significant in broadband access methods and technologies, and in the case of rapid development of access devices.
3) Simple and efficient
The binary tree data structure in the embodiment of the invention is ordered, and the operations of query, insertion, deletion and the like have good efficiency. Compared with a static array, the binary tree has obvious advantages in efficiency. The dynamic method uses a binary tree because the binary tree is convenient and efficient compared with other dynamic data structures, such as a sequential linked list.
On the other hand, according to the method and the system for managing the port information of the communication device in the embodiments of the present invention, a binary tree is created for each line card individually. Thus, for a port, the port can be located to the binary tree by the line card identifier first, and then the corresponding node is searched on the binary tree. Compared with the mode of placing all ports on one binary tree, the two-stage positioning mode has the advantage that the efficiency is further improved.
Other aspects and features of the present invention will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures.
While particular embodiments of the present invention have been described and illustrated, such embodiments should be considered as illustrative only and not as limiting the invention, which is to be construed in accordance with the accompanying claims.

Claims (11)

1. A method for managing port information of a communication device, comprising the steps of:
step A, according to a line card in communication access equipment, a dynamic linked list tree database for port information management is established;
and step B, managing the port information in the dynamic linked list tree database according to the operation information of the line card port in the communication access equipment.
2. The method for managing port information of a communication device according to claim 1, wherein the step B of managing the port information in the dynamic linked list tree database according to the operation information on the line card port in the communication access device specifically includes the following steps:
step B1, judging the operation of the line card port in the communication access equipment;
step B2, according to the result of the judgment, when the configuration information is for a line card port, the corresponding dynamic link table tree of the line card is searched and judged, or a corresponding port information node is created, and the configuration information is recorded in the port information node; or modifying the configuration information of the corresponding port information node;
step B3, according to the result of the judgment, when the port information of the port is to be deleted, the node is deleted after the port information node corresponding to the port is found according to the searching judgment of the dynamic link table tree corresponding to the line card;
and step B4, according to the judgment result, when the port configuration information is inquired, positioning the root node of the corresponding dynamic linked list according to the dynamic linked list tree of the line card information, traversing the dynamic linked list tree, and searching the node corresponding to the port to obtain the configuration information.
3. The method according to claim 2, wherein in step B2, a lookup determination is performed according to a dynamic link table tree corresponding to a line card, or a corresponding port information node is created, and configuration information is recorded in the port information node; or modifying the configuration information of the corresponding port information node, specifically comprising the following steps:
step B21, first according to the line card corresponding dynamic link table tree positioning to the corresponding root node, then in the information tree to search the port corresponding node;
step B22, judging whether the finding is found according to the finding result;
step B23, if not found, then create the port information node to insert dynamic chain table tree, and record the configuration information to the port information node of the node;
step B24, if found, directly modifying the configuration information of the port information in the node.
4. The method for managing port information of a communication device according to claim 2, wherein in the step B3, the searching and determining are performed according to the dynamic link table tree corresponding to the line card, and after the port information node corresponding to the port is found, the node is deleted, which specifically includes the following steps:
step B31, first according to the dynamic link list tree of the line card information, positioning the corresponding dynamic link list tree root node, then searching the node corresponding to the port on the information tree;
step B32, judging whether the finding is found according to the finding result;
step B33, if not found, directly returning;
step B34, if found, the node is deleted.
5. The method for managing port information of a communication device according to claim 4, further comprising the following step after said step B34:
when the line card is deleted, all nodes on the dynamic linked list tree corresponding to the line card are deleted, and the tree root node pointer is null.
6. The port information management method of a communication device according to any one of claims 1 to 5, wherein the dynamic link table tree is a binary tree.
7. The method according to claim 6, wherein each node of the binary tree includes the following parts:
the connecting words are used for connecting all nodes in the binary tree;
the port index is used for identifying the port and is used as a key word when the binary tree is traversed by the port index;
and the port information is used for storing various port related information according to different applications.
8. A communication equipment port information management system is characterized by comprising a dynamic link table tree database unit and a port information management unit, wherein:
the dynamic linked list tree database unit is used for creating and storing a dynamic linked list tree database of the port information of the line card in the communication access equipment according to the port information of the line card in the communication access equipment;
and the port information management unit is used for managing the port information in the dynamic linked list tree database according to the operation information of the line card port in the communication access equipment.
9. The port information management system of communication equipment according to claim 8, wherein said port information management unit includes an operation judgment unit, a configuration information unit, a deletion information unit, and an inquiry information unit, wherein:
the operation judging unit is used for judging the operation information of the line card port in the communication access equipment and carrying out different operations on the port information in the dynamic linked list tree database according to different operation information;
the configuration information unit is used for searching and judging according to the dynamic link table tree corresponding to the line card or creating a corresponding port information node and recording the configuration information into the port information node when the result judged by the operation judgment unit is that the configuration information is configured for one line card port; or modifying the configuration information of the corresponding port information node;
a delete information unit, configured to, when the operation determination unit determines that the port information of the port is to be deleted, perform a search determination according to the dynamic link table tree corresponding to the line card, and delete the node after finding the port information node corresponding to the port;
and the query information unit is used for traversing and searching a corresponding port information node according to the dynamic link table tree corresponding to the line card to acquire the configuration information of the corresponding port when the operation judgment unit judges that the result is the query port configuration information.
10. The communication device port information management system according to claim 8 or 9, wherein the dynamic link table tree is a binary tree.
11. The communication device port information management system of claim 10, wherein each node of the binary tree comprises the following parts:
the connecting words are used for connecting all nodes in the binary tree;
the port index is used for identifying the port and is used as a key word when the binary tree is traversed by the port index;
and the port information is used for storing various port related information according to different applications.
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
CN103473239B (en) A kind of data of non relational database update method and device
CN100589087C (en) General caching method
CN101315628A (en) Internal memory database system and method and device for implementing internal memory data base
CN106407303A (en) Data storage method and apparatus, and data query method and apparatus
CN104462549A (en) Data processing method and device
CN104462141A (en) Data storage and query method and system and storage engine device
CN110489407A (en) Data filling mining method, apparatus, computer equipment and storage medium
CN109240607B (en) File reading method and device
CN103559032A (en) Device and method for managing objects of embedded system
CN101567014B (en) Equipment information retrieval method, device and cable fastener
US6631378B1 (en) Communication unit and communication method with profile management
CN114357046A (en) Access method, device, system, server and storage medium of memory database
CN103530067B (en) A kind of method and apparatus of data manipulation
CN100488173C (en) A method for carrying out automatic selection of packet classification algorithm
CN101621396A (en) Single board automatic management device and method
CN101344882A (en) Data query method, insertion method and deletion method
CN101483668A (en) Network storage and access method, device and system for hot spot data
CN115437579B (en) Metadata management method and device, computer equipment and readable storage medium
CN111752941A (en) Data storage method, data access method, data storage device, data access device, server and storage medium
CN102999581B (en) Measure data access and real-time ordering system for business large user
CN115576956A (en) Data processing method, system, equipment and storage medium
CN109039717A (en) A kind of management method and system of service resources
CN105138581A (en) Mobile information writing and reading method and system
CN1464468A (en) Data management system in the internet storage system

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