CN101222357A - Method and system for preserving hardware table item index, master control board and interface board - Google Patents

Method and system for preserving hardware table item index, master control board and interface board Download PDF

Info

Publication number
CN101222357A
CN101222357A CNA2007103056140A CN200710305614A CN101222357A CN 101222357 A CN101222357 A CN 101222357A CN A2007103056140 A CNA2007103056140 A CN A2007103056140A CN 200710305614 A CN200710305614 A CN 200710305614A CN 101222357 A CN101222357 A CN 101222357A
Authority
CN
China
Prior art keywords
interface board
hardware
table item
control information
index
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.)
Granted
Application number
CNA2007103056140A
Other languages
Chinese (zh)
Other versions
CN101222357B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007103056140A priority Critical patent/CN101222357B/en
Publication of CN101222357A publication Critical patent/CN101222357A/en
Application granted granted Critical
Publication of CN101222357B publication Critical patent/CN101222357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a system and a master control board as well as interface boards for saving a hardware entry index. The method for saving the hardware entry index is applied to a distributed network equipment and comprises that the master control board distributes the same hardware entry index in hardware of all interface boards for controlling information and stores the controlled information and the hardware entry index in a memory; the master control board sends the hardware entry index and the controlled information to all the interface boards; the interface boards store the controlled information received at the corresponding address in the hardware of the interface boards according to the hardware entry index received. The invention also discloses a system, a master control board and interface boards for saving the hardware entry index. With the invention, only a segment of the memory is needed for storing the hardware entry index of the interface boards and thus the invention can save memory.

Description

Preserve method, system and master control borad and the interface board of hardware table item index
Technical field
The present invention relates to technical field of the computer network, particularly a kind of method, system and master control borad and interface board of preserving hardware table item index.
Background technology
Data processing comprises the data processing of software view and the data processing of hardware view.Software mainly is responsible for generating being used for the control information of data processing, and carries out the data processing of software view.Those skilled in the art will know that, software is stored in the internal memory when carrying out, and reading of data is faster than reading of data from hardware from internal memory, therefore, for control information is carried out necessary demonstration and to data delete/can locate corresponding control information fast when revising, in software, also corresponding control information can be kept, promptly in internal memory, described control information will be preserved.
In order to improve the data-handling capacity of the network equipment, give hardware with the processing of data and finish and become a kind of trend.Based on this, software also is issued to hardware with the control information that generates, and the network equipment will at first be handled (or also comprising forwarding) by the hardware in the network equipment according to the control information that is stored in the hardware after receiving pending data.Hardware can not be handled, and for example needs packet is done deep analysis and processing, then needs to be handled by software sending software on these packets, perhaps handles by giving relevant hardware after the software processes again.Like this, will keep the needed control information of a cover deal with data in the hardware, and promptly preserve the described control information that is issued by software, what these control informations were concrete can be as fib table, and ARP table etc. are to instruct corresponding data processing.
In order to navigate to the corresponding control information of hardware fast, be specially a certain list item in the hardware controls information, as a certain list item in the ARP table, usually can preserve the index of hardware table item in the software.The position that comprises each list item in the control information that is stored in the hardware in the index, i.e. memory address in hardware.Software just can directly be determined the accurate position that this list item is preserved according to the index of the hardware table item of preserving in hardware.
In distributed network, often comprise a master control borad and some interface boards.Software in the master control borad promptly generates above-mentioned control information and preserves, and issues the hardware of many parts of described control informations to each interface board.Hardware on each interface board is preserved described control information with deal with data, and simultaneously, the software on the master control borad is also preserved the index of list item in the hardware.A kind of method of preserving hardware table item index under the distributed network in the prior art, can comprise for the ARP list item is an example as shown in Figure 1 with the control information:
Step 101: master control borad issues the ARP list item to each interface board.
Step 102: the ARP list item that each interface board distributes one section memory address storage master control borad to issue in hardware separately, and will comprise distribute the index of address and ARP list item corresponding relation to send to master control borad.
In this step, the ARP list item that some interface boards distribute one section hardware address to issue with storage separately.To comprise 3 interface boards in the distributed network is example, and establishing the first interface board hardware base address is A, and the relative address of the storage ARP list item that distributes on first interface board is a.Wherein the base address is the initial address of hardware store unit, and relative address is the address of calculating with respect to the base address, promptly is the address that benchmark 0 calculates with the base address.Like this, the described ARP list item original position of storing on first interface board is A+a.Similarly, establishing the second interface board hardware base address is B, and the relative address of the storage ARP list item that distributes on first interface board is b, and the original position that then described ARP list item is stored on second interface board is B+b; If the 3rd interface board hardware base address is C, and the relative address of the storage ARP list item that distributes on the 3rd interface board is c, the original position that then described ARP list item is stored on the 3rd interface board is C+c.
The hardware table item index of storing on the master control borad only need know that relative position gets final product, like this, when interface board is received the notice of interpolation/deletion/a certain list item of modification ARP that master control borad is sent, the relative position that comprises in only needing to notify adds that the base address of self hardware obtains the actual address in hardware, thereby carries out corresponding operating in this actual address.
The base address of above-mentioned distinct interface plate may be different, and because the memory address that the ARP list item of sending for master control borad distributes is distributed voluntarily by each interface board, therefore, the relative address of the described ARP list item of storage also may be different on the distinct interface plate.
In this step, each interface board is also with index, promptly the ARP list item with in interface board on the hardware memory address corresponding hardware table item index send to master control borad.Concrete, can be each interface board sends to master control borad with the ARP list item stored on its hardware and the corresponding relation of relative address.
Step 103: master control borad distributes one section memory headroom to store the hardware table item index that each interface board is sent respectively for each interface board.
Owing to the relative address in the hardware table item index of issuing master control borad on the distinct interface plate in the abovementioned steps and the corresponding relation of ARP list item may be different, therefore, the different hardware table item index that these distinct interface plates can not be sent of master control borad is stored in the same internal memory.Like this, in this step, master control borad need distribute one section independent memory headroom for each interface board, in order to store the hardware table item index that each interface board is sent respectively.Position relation in the ARP list item place hardware of storing in the hardware table item index of each interface board of storing in the master control borad and each interface board can be as shown in Figure 2.
In research and practice process to prior art, the inventor finds to exist in the prior art following problem:
The hardware table item index that different interface boards reports needs to store with one section independent internal memory in interface board, then for the distributed network that comprises a plurality of interface boards, need to distribute the multistage internal memory to store the hardware table item index that each interface board reports respectively on the master control borad, consumes memory is more.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of method, system and master control borad and interface board of preserving hardware table item index, needs to distribute the multistage internal memory to store the hardware table item index of each interface board respectively and the more technical problem of consumes memory that causes in the prior art on the master control borad to overcome.
For solving the problems of the technologies described above, the invention provides a kind of method, system and master control borad and interface board of preserving hardware table item index and be achieved in that
A kind of method of preserving hardware table item index comprises:
Master control borad is that control information distributes identical hardware table item index in each interface board hardware, and stores described control information and hardware table item index in internal memory;
Master control borad sends described hardware table item index and each interface board is arrived in described control information;
The control information that interface board receives according to the appropriate address storage of the hardware table item index that receives in interface board hardware.
Described master control borad is that control information distributes identical hardware table item index to comprise in each interface board hardware:
When each interface board defined identical hardware relative address memory range for identical control information, the distributed relative address scope that master control borad reports according to an interface board was that control information distributes identical hardware table item index in each interface board hardware.
Described master control borad is that control information distributes identical hardware table item index to comprise in each interface board hardware:
The distributed relative address scope that master control borad reports according to each interface board is that control information distributes identical hardware table item index in each interface board hardware.
The distributed relative address scope that described master control borad reports according to each interface board is that control information distributes identical hardware table item index to comprise in each interface board hardware:
Master control borad is in the common factor of the distributed relative address scope that each interface board reports, for control information distributes identical hardware table item index in each interface board.
The hardware separately that described each interface board reports respectively can distribute the relative address scope to comprise:
A part of hardware separately that each interface board reports respectively can distribute the relative address scope.
Described method, in the time can distributing the relative address scope to drop to a predetermined value:
Master control borad receives a part of hardware separately that each interface board reports respectively once more can distribute the relative address scope; Or,
Each interface board is for the identical hardware relative address memory range of identical control information definition, and master control borad receives a part of hardware that an interface board reports once more can distribute the relative address scope.
Described method,
When deletion during control information, discharge the index of described hardware table item correspondence, and be reusable index the index marker of the list item correspondence of described deletion;
When increasing control information, be the hardware table item allocation index of described increase, and with the index of index marker for having used of described hardware table item correspondence.
Realize the distribution and the release of index by chained list, array or bitmap mode.
Described master control borad sends described hardware table item index and described control information comprises to each interface board:
Master control borad adopts the method for synchronization or asynchronous system to send described hardware table item index and each interface board is arrived in described control information.
Described interface board comprises in the control information that the storage of interface board hardware table item index appropriate address receives according to the hardware table item index that receives:
The hardware table item index that interface board the is stored in described control information described reception hardware address pointed that combines with described interface board base address.
A kind of master control borad comprises public allocation index unit, internal memory, and transmitting element, wherein,
Public allocation index unit is used to control information to distribute identical hardware table item index in each interface board hardware;
Internal memory is used to store control information and hardware table item index;
Transmitting element is used to send described storage control information and hardware table item index.
Described master control borad also comprises receiving element, is used to receive the distributed relative address scope that each interface board or an interface board report;
Correspondingly, to be used for according to the distributed relative address scope that reports be that control information distributes identical hardware table item index at each interface board hardware in public allocation index unit.
Described receiving element receives is that the part that a part that each interface board reports can distribute a relative address scope or an interface board to report can be distributed the relative address scope.
A kind of interface board comprises the distribution receiving element, the hardware store unit, wherein,
Distribute receiving element, be used to receive hardware table item index and the control information that master control borad is sent;
The hardware store unit is used for storing described control information according to described hardware table item index.
Described interface board also comprises and reports the unit, is used to report and can distributes the relative address scope.
A kind of system that preserves hardware table item index comprises master control borad and interface board, wherein,
Master control borad is used to control information to distribute identical hardware table item index in each interface board hardware, and stores described control information and hardware table item index in internal memory; Master control borad also is used to send described hardware table item index and each interface board is arrived in described control information;
Interface board is used for according to the control information of the hardware table item index that receives in the appropriate address storage reception of interface board hardware.
The technical scheme that is provided by the above embodiment of the invention as seen, master control borad is that control information distributes identical hardware table item index in each interface board hardware, and store described control information and hardware table item index in internal memory, only need can store the hardware table item index of each interface board, thereby save internal memory greatly with one section internal memory.
Description of drawings
Fig. 1 is a method flow diagram of preserving hardware table item index in the prior art;
The ARP list item schematic diagram of Fig. 2 for storing in the hardware table item index of the ARP list item stored in the master control borad internal memory in the prior art and each interface board and each interface board;
Fig. 3 is the flow chart of the inventive method embodiment;
The ARP list item schematic diagram of Fig. 4 for storing in the ARP list item stored in the master control borad internal memory of the present invention and hardware table item index and each the interface board hardware;
Fig. 5 is a master control borad embodiment block diagram of the present invention;
Fig. 6 is an interface board embodiment block diagram of the present invention.
Embodiment
The invention provides a kind of method of preserving hardware table item index, master control borad is that control information distributes identical hardware table item index in each interface board hardware, and stores described control information and hardware table item index in internal memory; Master control borad sends described hardware table item index and each interface board is arrived in described control information; The control information that interface board receives according to the appropriate address storage of the hardware table item index that receives in interface board hardware.
In order to make those skilled in the art person understand the present invention program better, the present invention is described in further detail below in conjunction with drawings and embodiments.
Fig. 3 shows the method embodiment that the present invention preserves hardware table item index, as scheming:
Step 31: master control borad is that control information distributes identical hardware table item index in each interface board hardware, and stores described control information and hardware table item index in internal memory.
Described hardware table item index comprises the memory address of described control information in interface board hardware.
In this step,, be control information and in each interface board hardware, be assigned as and be stored in identical relative address for control information distributes identical hardware table item index in each interface board hardware.
Different interface boards, although hardware base address difference, the control information that but master control borad can be issued is stored in the identical relative address, and the hardware index address of storing in the master control borad internal memory only need be preserved the relative address of each interface board control information stored and the corresponding relation of control information, therefore, when control information that each interface board issues master control borad is stored in the relative address identical in the corresponding hardware, the hardware index address of each interface board is identical, and master control borad can only be preserved so a hardware index address.
In the prior art, owing to preserve by each interface board, and to be each interface board just preserve respectively after receiving the control information that master control borad sends, and when a certain interface board is preserved described control information, when to be a certain interface board with described control information be stored in the hardware a certain relative position, way does not learn other interface board is stored described control information in what kind of relative position, certainly so just can't guarantee also that each interface board stores described control information in identical relative position, and then master control borad can't be with the different hardware table item index of same section memory distinct interface plate correspondence.
In this step, the address of distributing storage control information in each interface board hardware by master control borad, concrete is the relative address of distributing storage control information in each interface board hardware, then master control borad can distribute identical relative address, like this, control information is stored in identical relative address in each interface board hardware, and master control borad unified distribution control information in each interface board hardware relative address and the corresponding relation of control information be hardware table item index, therefore, control information has identical hardware table item index in each interface board hardware.Like this, because the hardware table item index of each interface board is identical, so master control borad only needs one section internal memory to come the storage hardware table item index, just can pass through the control information in the quick location hardware of this hardware table item index.
It is to be noted, in distributed network equipment, each interface board can be to have defined identical hardware store scope for identical control information, be with identical relative address range storage control information on each interface board, and, such relative address scope master control borad also can be known, it for example can be the corresponding relation that a module stores on the master control borad has this class control information relative address on interface board, in this case, master control borad can directly obtain this relative address scope, therefore do not need interface board to report and to distribute address realm, but master control borad directly issues control information and hardware table item index.Like this, the hardware table item index of issuing each interface board is identical, and then each interface board is according to identical hardware table item index storage control information, therefore can be with the hardware table item index of one section memory corresponding to each interface board on master control borad.
In prior art, all to store with one section independent internal memory by master control borad for the distinct interface plate, just have under the situation of a lot of interface boards, prior art need adopt the multistage internal memory to store the hardware table item index of each interface board respectively, and this method of salary distribution in the present embodiment can make master control borad only adopt one section internal memory to store the hardware table item index of each interface board.Therefore, this method of the present invention embodiment can save the memory headroom in the master control borad greatly.
Master control borad in this step is that control information distributes identical hardware table item index in each interface board hardware, and the distributed relative address scope that can report according to each interface board for master control borad is that control information distributes identical hardware table item index in each interface board hardware.Concrete, master control borad is in the common factor of the distributed relative address scope that each interface board reports, for control information distributes identical hardware table item index in each interface board.Like this, this step comprises following substep:
Step 311: master control borad receives the hardware separately that each interface board reports respectively can distribute the relative address scope.
Step 312: master control borad determines that the hardware that each interface board reports can distribute the common factor of relative address scope.
Step 313: master control borad can distribute in the common factor of relative address scope at the hardware that each interface board reports, for control information distributes identical hardware table item index in each interface board.
This method of salary distribution, can guarantee that each interface board adopts the identical described control information of relative address range storage, the relative address scope that has yet guaranteed storage control information in the hardware table item index that master control borad distributes can not be the scope that has taken on the interface board, thereby guaranteed the performance of interface board integral body, also avoided owing to the problem that comprises the distribution failure that can't addresses distributed causes in the relative address scope of distributing.
Moreover, for the identical situation of memory range that defines for identical control information on each interface board, be with the situation of identical relative position storage control information on each interface board of similar front, if do not preserve the corresponding relation of memory range on this control information and the interface board on the master control borad, then need report this memory range by interface board.But,, therefore only need report hardware can distribute the relative address scope to get final product, and not need each interface board all to report by an interface board owing to store with identical relative position on each interface board.Certainly, do not get rid of and be still the mode that each interface board reports distributed relative address scope separately under this situation.
Step 32: master control borad sends described hardware table item index and each interface board is arrived in described control information.
Concrete, master control borad can adopt the method for synchronization or asynchronous system that hardware table item index and control information are sent to each interface board.After one skilled in the art will appreciate that asynchronous system is meant that master control borad is notified interface board with control information, do not wait for the feedback result of interface board, continue to do other actions, and interface board reinforms master control borad after finishing under the list item brush.After the method for synchronization is meant that master control borad is notified interface board with control information, waits for and brush the return results that finishes under the interface board, just continue to do other actions.
Step 33: the control information that interface board receives according to the appropriate address storage of the hardware table item index that receives in interface board hardware.
In this step, still for example control information is the ARP list item, and three interface boards are arranged, and the first interface board base address is A, and the second interface board base address is B, and the 3rd interface board base address is C.The relative address of establishing the master control borad distribution simultaneously is from d, and then the ARP list item of storing in ARP list item of storing in the master control borad internal memory and hardware table item index and each the interface board hardware can be as shown in Figure 4.In Fig. 4, the hardware table item index that first interface board issues according to master control borad, the ARP list item is stored in the initial position of A+d in its hardware, similarly, second interface board is stored in the initial position of B+d in its hardware with the ARP list item, and the 3rd interface board is stored in the initial position of C+d in its hardware with the ARP list item.
Like this, master control borad is that control information distributes identical hardware table item index in each interface board hardware, and store described control information and hardware table item index in internal memory, only need can store the hardware table item index of each interface board, thereby save internal memory greatly with one section internal memory.
Further, each interface board can report a part of hardware separately can distribute the relative address scope, rather than whole separately hardware can distribute the relative address scope.Certainly, if each interface board for the identical hardware relative address memory range of identical control information definition, then master control borad also can receive a part of hardware that an interface board reports once more and can distribute the relative address scope.This is significant in real system.Those skilled in the art will know that, address realm in the hardware is limited, if can distribute address realm all to report master control borad on whole hardware in the present invention, then when interface board receives other task, the hardware that interface board may occur can distribute the not enough situation of address realm, thus the ability drop that causes interface board to be executed the task.Therefore, each interface board reports a part of hardware separately can distribute the relative address scope, master control borad can distribute in the common factor of relative address scope at a part of separately hardware that each interface board reports, for control information distributes identical hardware table item index in each interface board.The a part of separately hardware that reports at each interface board can distribute in the common factor of relative address scope, when remaining when distributing the relative address scope to drop to a predetermined value, can require each interface board to report another separately part hardware can distribute the relative address scope once more, and then master control borad can distribute in the common factor of relative address scope at the another separately part hardware that each interface board reports, and before drop to predetermined value the time common factor in, for control information distributes identical hardware table item index in each interface board.Basis like this, the distributed relative address scope of not only having saved each interface board, and, for master control borad, need not once adopt more memory hardware index address because the hardware index address is not too large, also can further save memory source.
In addition, master control borad can increase the control information in its software, and for example control information comprises the situation of ARP list item, can increase by one or some ARP list items, at this moment, can repeat above-mentioned steps.
Can adopt modes such as chained list, array, bitmap to realize increasing the distribution of index in the list item process.For example adopt the mode of chained list, can distribute the common factor of relative address scope according to the hardware separately that each interface board reports, one section during this is occured simultaneously saves as chained list, and when initial this chained list is designated as idle index chain.When master control borad distributes a part of control information, adopt the segment index chain that the linked list head in the idle index chain begins to distribute hardware table item index, and the index chain that will use is designated as and make the index of reference chain.
Master control borad can be deleted the control information in its software, and for example control information comprises the situation of ARP list item, the corresponding control information on can the delete interface plate, promptly corresponding hardware table item.Concrete, can realize the release of index by modes such as chained list, array, bitmaps.Still for example adopt the mode of chained list, when discharging one or several hardware table item indexes, these index moved on in the idle index chain, like this can be when sub-distribution down for using, thereby realized the use of index resource circulation.
The present invention also comprises master control borad embodiment, and Fig. 5 shows the block diagram of this master control borad embodiment, as scheming:
Comprise public allocation index unit 501, internal memory 502, transmitting element 503, wherein,
Public allocation index unit 501 is used to control information to distribute identical hardware table item index in each interface board hardware;
Internal memory 502 is used to store control information and hardware table item index;
Transmitting element 503 is used to send described control information and hardware table item index.This transmitting element 503 can link to each other with described public allocation index unit 501 or described internal memory 502, under two kinds of situations, is used for sending respectively described public allocation index unit 501 that distribute or internal memory 502 control information stored and hardware table item indexes.Only show situation about linking to each other among the figure with internal memory 502.
Described master control borad also comprises receiving element 504, is used to receive the distributed relative address scope that each interface board or an interface board report;
Correspondingly, to be used for according to the distributed relative address scope that reports be that control information distributes identical hardware table item index at each interface board hardware in the public allocation index of master control borad unit 501.
Described receiving element receives is that the part that a part that each interface board reports can distribute a relative address scope or an interface board to report can be distributed the relative address scope.
It is similar to utilize this master control borad embodiment to realize preserving the method and the preceding method of hardware table item index, does not repeat them here.
The present invention also comprises interface board embodiment, and Fig. 6 shows the block diagram of this interface board embodiment, as scheming:
Comprise and distribute receiving element 601, hardware store unit 602, wherein,
Distribute receiving element 601, be used to receive hardware table item index and the control information that master control borad is sent;
Hardware store unit 602 is used for storing described control information according to described hardware table item index.
Described interface board also comprises and reports unit 603, is used to report and can distributes the relative address scope.
It is similar to utilize this interface board embodiment to realize preserving the method and the preceding method of hardware table item index, does not repeat them here.
The present invention also comprises the system embodiment of preserving hardware table item index, comprises master control borad 701 and interface board, wherein,
Master control borad is used to control information to distribute identical hardware table item index in each interface board hardware, and stores described control information and hardware table item index in internal memory; Master control borad also is used to send described hardware table item index and each interface board is arrived in described control information;
Interface board is used for according to the control information of the hardware table item index that receives in the appropriate address storage reception of interface board hardware.
Utilize this system embodiment to realize that the method and the preceding method of preservation hardware table item index are similar, do not repeat them here.
By above embodiment as seen, master control borad is that control information distributes identical hardware table item index in each interface board hardware, and store described control information and hardware table item index in internal memory, only need can store the hardware table item index of each interface board, thereby save internal memory greatly with one section internal memory.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (16)

1. a method of preserving hardware table item index is characterized in that, comprising:
Master control borad is that control information distributes identical hardware table item index in each interface board hardware, and stores described control information and hardware table item index in internal memory;
Master control borad sends described hardware table item index and each interface board is arrived in described control information;
The control information that interface board receives in the storage of interface board hardware table item index appropriate address according to the hardware table item index that receives.
2. the method for claim 1 is characterized in that, described master control borad is that control information distributes identical hardware table item index to comprise in each interface board hardware:
When each interface board defined identical hardware relative address memory range for identical control information, the distributed relative address scope that master control borad reports according to an interface board was that control information distributes identical hardware table item index in each interface board hardware.
3. the method for claim 1 is characterized in that, described master control borad is that control information distributes identical hardware table item index to comprise in each interface board hardware:
The distributed relative address scope that master control borad reports according to each interface board is that control information distributes identical hardware table item index in each interface board hardware.
4. method as claimed in claim 3 is characterized in that, the distributed relative address scope that described master control borad reports according to each interface board is that control information distributes identical hardware table item index to comprise in each interface board hardware:
Master control borad is in the common factor of the distributed relative address scope that each interface board reports, for control information distributes identical hardware table item index in each interface board.
5. method as claimed in claim 4 is characterized in that, the hardware separately that described each interface board reports respectively can distribute the relative address scope to comprise:
A part of hardware separately that each interface board reports respectively can distribute the relative address scope.
6. as claim 2 or 5 described methods, it is characterized in that, in the time can distributing the relative address scope to drop to a predetermined value:
Master control borad receives a part of hardware separately that each interface board reports respectively once more can distribute the relative address scope; Or,
Each interface board is for the identical hardware relative address memory range of identical control information definition, and master control borad receives a part of hardware that an interface board reports once more can distribute the relative address scope.
7. the method described in claim 5 is characterized in that,
When deletion during control information, discharge the index of described hardware table item correspondence, and be reusable index the index marker of the list item correspondence of described deletion;
When increasing control information, be the hardware table item allocation index of described increase, and with the index of index marker for having used of described hardware table item correspondence.
8. method as claimed in claim 7 is characterized in that, realizes the distribution and the release of index by chained list, array or bitmap mode.
9. the method for claim 1 is characterized in that, described master control borad sends described hardware table item index and described control information comprises to each interface board:
Master control borad adopts the method for synchronization or asynchronous system to send described hardware table item index and each interface board is arrived in described control information.
10. the method for claim 1 is characterized in that, described interface board comprises in the control information that the storage of interface board hardware table item index appropriate address receives according to the hardware table item index that receives:
The hardware table item index that interface board the is stored in described control information described reception hardware address pointed that combines with described interface board base address.
11. a master control borad is characterized in that, comprises public allocation index unit, internal memory, and transmitting element, wherein,
Public allocation index unit is used to control information to distribute identical hardware table item index in each interface board hardware;
Internal memory is used to store control information and hardware table item index;
Transmitting element is used to send described storage control information and hardware table item index.
12. master control borad as claimed in claim 11 is characterized in that, also comprises receiving element, is used to receive the distributed relative address scope that each interface board or an interface board report;
Correspondingly, to be used for according to the distributed relative address scope that reports be that control information distributes identical hardware table item index at each interface board hardware in public allocation index unit.
13. master control borad as claimed in claim 12 is characterized in that, described receiving element receives is that the part that a part that each interface board reports can distribute a relative address scope or an interface board to report can be distributed the relative address scope.
14. an interface board is characterized in that, comprises the distribution receiving element, the hardware store unit, wherein,
Distribute receiving element, be used to receive hardware table item index and the control information that master control borad is sent;
The hardware store unit is used for storing described control information according to described hardware table item index.
15. interface board as claimed in claim 14 is characterized in that, also comprises reporting the unit, is used to report and can distributes the relative address scope.
16. a system that preserves hardware table item index is characterized in that, comprises master control borad and interface board, wherein,
Master control borad is used to control information to distribute identical hardware table item index in each interface board hardware, and stores described control information and hardware table item index in internal memory; Master control borad also is used to send described hardware table item index and each interface board is arrived in described control information;
Interface board is used for according to the control information of the hardware table item index that receives in the appropriate address storage reception of interface board hardware.
CN2007103056140A 2007-12-26 2007-12-26 Method and system for preserving hardware table item index, master control board and interface board Active CN101222357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007103056140A CN101222357B (en) 2007-12-26 2007-12-26 Method and system for preserving hardware table item index, master control board and interface board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007103056140A CN101222357B (en) 2007-12-26 2007-12-26 Method and system for preserving hardware table item index, master control board and interface board

Publications (2)

Publication Number Publication Date
CN101222357A true CN101222357A (en) 2008-07-16
CN101222357B CN101222357B (en) 2010-12-15

Family

ID=39631948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007103056140A Active CN101222357B (en) 2007-12-26 2007-12-26 Method and system for preserving hardware table item index, master control board and interface board

Country Status (1)

Country Link
CN (1) CN101222357B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195845A (en) * 2010-03-03 2011-09-21 杭州华三通信技术有限公司 Method, device and equipment for realizing active-standby switching of main control board
CN112667637A (en) * 2020-12-31 2021-04-16 中移(杭州)信息技术有限公司 Data management method, device and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100359872C (en) * 2003-07-07 2008-01-02 华为技术有限公司 Network equipment implementing ARP in VPN and method thereof
CN100442282C (en) * 2005-08-16 2008-12-10 杭州华三通信技术有限公司 Method of data query and method of inter-board data synchronization in distributed system
CN100466615C (en) * 2005-12-23 2009-03-04 华为技术有限公司 Method and apparatus for processing direct connected network route

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195845A (en) * 2010-03-03 2011-09-21 杭州华三通信技术有限公司 Method, device and equipment for realizing active-standby switching of main control board
CN102195845B (en) * 2010-03-03 2015-01-14 杭州华三通信技术有限公司 Method, device and equipment for realizing active-standby switching of main control board
CN112667637A (en) * 2020-12-31 2021-04-16 中移(杭州)信息技术有限公司 Data management method, device and computer readable storage medium
CN112667637B (en) * 2020-12-31 2023-09-19 中移(杭州)信息技术有限公司 Data management method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN101222357B (en) 2010-12-15

Similar Documents

Publication Publication Date Title
CN102546782A (en) Distribution system and data operation method thereof
CN110162388A (en) A kind of method for scheduling task, system and terminal device
WO2003065180A3 (en) System and method for creating a distributed network architecture
CN106302611A (en) Service request distribution system, method and apparatus
TW344058B (en) System for the selective distribution of assets between internal portfolios
CN105450618A (en) Operation method and operation system of big data process through API (Application Programming Interface) server
CN101860493A (en) Method, server and system for distributing application server address for clients
CN105024839B (en) A kind of method and device of software release upgrade
CN107947950A (en) The delivery method and NP cable card boards of a kind of hardware multicast outgoing interface list item
CN101222357B (en) Method and system for preserving hardware table item index, master control board and interface board
CN106790182B (en) Distributed business service system, centralized service control method and corresponding device thereof
CN103326925A (en) Message push method and device
CN107644017A (en) The querying method and device of journal file
CN108418752A (en) A kind of creation method and device of aggregation group
CN109547575A (en) A kind of data dispatching method, device and equipment
CN106790489A (en) Parallel data loading method and system
US20040073835A1 (en) System combined with loadsharing structure and primary/backup structure
CN102904803B (en) A kind of message transmitting method and equipment
CN103152245B (en) Control method and system for cruise route
CN112653746A (en) Distributed storage method and system for concurrently creating object storage equipment
CN100487657C (en) Method for automatically memory leakage and memory out-of-range in inlaid system
CN1214582C (en) Message transferring method based on multi-protocol label switching network
CN108920278A (en) Resource allocation methods and device
CN109309694A (en) A kind of method and system of data storage
CN103095561B (en) Method and system for cruise controlling

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address