CN107547450A - Data adding method and device between a kind of plate - Google Patents

Data adding method and device between a kind of plate Download PDF

Info

Publication number
CN107547450A
CN107547450A CN201710630792.4A CN201710630792A CN107547450A CN 107547450 A CN107547450 A CN 107547450A CN 201710630792 A CN201710630792 A CN 201710630792A CN 107547450 A CN107547450 A CN 107547450A
Authority
CN
China
Prior art keywords
cluster
groove
priority
card board
cluster line
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
CN201710630792.4A
Other languages
Chinese (zh)
Other versions
CN107547450B (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
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710630792.4A priority Critical patent/CN107547450B/en
Publication of CN107547450A publication Critical patent/CN107547450A/en
Application granted granted Critical
Publication of CN107547450B publication Critical patent/CN107547450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Multi Processors (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses data adding method and device between a kind of plate.This method includes:After multiple exchange chips in the first business cable card board mutually add first resource data two-by-two, the order priority being added to the Secondary resource data of exchange chip in the second business cable card board is configured to;On the first business cable card board, establishment data addition task corresponding with the cluster Cluster Line-card Chassis where the second business cable card board, the data addition task are used for all the Secondary resource data of exchange chip are added in the first business cable card board in the second business cable card board in the cluster Cluster Line-card Chassis;The data addition task is performed based on the order priority.Data are added between the application can fast and effectively enter andante.

Description

Data adding method and device between a kind of plate
Technical field
The application is related to router data processing technology field, data adding method and device between more particularly to a kind of plate.
Background technology
Router cluster system includes matrix card cabinet (Fabric Card Chassis, FCC, also known as in cluster mostly Entreat frame) and line card cabinet (Line Card Chassis, LCC, also known as cluster Cluster Line-card Chassis).As shown in figure 1, FCC is used to control Interaction and across the frame forwarding of data message, LCC provide multiple cluster line card grooves between message frame, and user can insert according to demand Enter business cable card board (Line Processing Unit, LPU).For most router, its LPU framework as shown in Fig. 2 The external exit port of packet parsing process chip, exchange chip is inscribed, for carrying out dissection process to message;Exchange chip except with Packet parsing process chip interconnects, and is also connected with backboard, for realizing message across LPU and the forwarding across LCC.
At present, the main method of the resource data of any LPU additions exchange chip is:In LPU initial startups, Each exchange chip in the LPU mutually adds the resource data of other exchange chips, after the completion of initialization, by responding other LPU inserts or pull out event in cluster line card groove, the resource data of exchange chip corresponding to addition or deletion;Having LPU inserts/when extracting event, the LPU can create a plate event handling task, addition/deletion according to event LPU slot number The resource data of corresponding LPU exchange chips.
With the extension of LCC quantity in group system, supported LPU quantity is multiplied, and each exchange chip needs The data message of addition is huge, if still swapping the addition of the resource data of chip using such scheme, needs to create Build many plate event handling tasks, can not fast-response exchange chip resource data addition or deletion event, influence to report between plate The intercommunication of text.
The content of the invention
A purpose based on the application, the application provides data adding method and device between a kind of plate, to realize business Between cable card board between plate data quick, effective addition.
To reach above-mentioned purpose, what the technical scheme of the application was realized in:
On the one hand, this application provides data adding method between a kind of plate, applied to business cable card board, the business line card Plate is pluggable in cluster line card groove, and the cluster line card groove is arranged in cluster Cluster Line-card Chassis;Methods described includes:
After multiple exchange chips in the first business cable card board mutually add first resource data two-by-two, it is configured to pair The order priority that the Secondary resource data of exchange chip are added in second business cable card board;
On the first business cable card board, data addition corresponding with the cluster Cluster Line-card Chassis where the second business cable card board is created Task, data addition task be used for by the cluster Cluster Line-card Chassis all in the second business cable card board exchange chip the second money Source data is added in the first business cable card board;
Based on the order priority, the data addition task is performed.
On the other hand, this application provides data adding set between a kind of plate, applied to business cable card board, the service line Clamp is pluggable in cluster line card groove, and the cluster line card groove is arranged in cluster Cluster Line-card Chassis;The device includes:
Dispensing unit, for mutually adding first resource data two-by-two when multiple exchange chips in the first business cable card board Afterwards, it is configured to the order priority being added to the Secondary resource data of exchange chip in the second business cable card board;
Task creation unit, in the first business cable card board, establishment and the collection where the second business cable card board Data addition task corresponding to group's Cluster Line-card Chassis, the data addition task are used for whole second business in the cluster Cluster Line-card Chassis The Secondary resource data of exchange chip are added in the first business cable card board in cable card board;
Task executing units, for based on the order priority, performing the data addition task.
The beneficial effect of the application is:After exchange chip in some LPU has mutually added resource data two-by-two, pass through The order priority being added to the resource data of exchange chip in other LPU is configured to, and creates and corresponds to LCC numbers The data addition task of amount, the LPU can perform these data addition task based on order priority, realize between frame and inframe friendship Change the mutual addition of the Secondary resource data of chip;The application can significantly decrease the task amount of required establishment, and perform number It need not carry out communicating between frame during according to addition task, the quick addition of data between plate can be realized.
Brief description of the drawings
Fig. 1 is more cluster Cluster Line-card Chassis schematic diagrames in the router cluster system that the application provides;
Fig. 2 is the LPU structured flowcharts that the application provides;
Fig. 3 is data adding method flow chart between the plate that the embodiment of the present application provides;
Fig. 4 is the configuration cluster line card groove priority flow chart that the embodiment of the present application provides;
Fig. 5 is that the data that the embodiment of the present application provides add tasks carrying process schematic;
Fig. 6 is data adding set structured flowchart between the plate that the embodiment of the present application provides;
The hardware architecture diagram of Fig. 7 data adding sets between the plate shown in the embodiment of the present application.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with accompanying drawing to the application embodiment party Formula is described in further detail.
Fig. 3 is the flow chart of data adding method between the plate that the embodiment of the present application provides, and data adding method should between the plate For LPU, the LPU is pluggable in cluster line card groove, and the cluster line card groove is arranged in FCC.What the embodiment of the present application provided Data adding method is applicable in router cluster system, or the non-clustered system of unit between plate.As shown in figure 3, this implementation The method of example includes:
S310, when multiple exchange chips in the first business cable card board LPU1 have mutually added first resource data two-by-two Afterwards, it is configured to the order priority being added to the Secondary resource data of exchange chip in the second business cable card board LPU2.
Specifically, in one example, include two exchange chips (exchange chip 1 and exchange chip 2) in LPU1, exchange The first resource data of other side's exchange chip are mutually added between chip 1 and exchange chip 2.That is the addition of exchange chip 1 exchanges core The first resource data of piece 2, exchange chip 2 add the first resource data of exchange chip 1;The first resource data are specifically Refer to the resource datas such as queue mapping, stream control mapping, the distribution of BUFF resource allocations, dispatch map.
After multiple exchange chips in LPU1 have mutually added first resource data two-by-two, exchanged in LPU1 configurations LPU2 The order priority that the Secondary resource data of chip are added.
LPU1 and LPU2 described in the present embodiment can do following understanding:For router cluster system, " LPU1 " is collection Any LPU in group, corresponding " LPU2 " is other all LPU in addition to LPU1 in cluster, now as assumed LPU1 ownership LCC1, then LPU2 both included belonging to LCC1 LPU, include the LPU for belonging to other LCC in cluster except LCC1 again;For The non-clustered situation of unit, " LPU1 " are any LPU on LCC, and corresponding " LPU2 " is that upper other in addition to LPU1 of LCC own LPU, now LPU1 and LPU2 belong to same LCC.
S320, creates data addition task corresponding with the LCC where LPU2 on LPU1, and data addition task is used for By the Secondary resource data of exchange chip are added in LPU1 in whole LPU2 in LCC.
Specifically, the data addition task equal with LCC number where LPU2 is created on LPU1.In an example In, if group system includes N number of LCC, N number of data addition task is created on LPU1, each data addition task is corresponding In a LCC, this N number of data addition task can be run parallel.
S330, data addition task is performed based on order priority.
Specifically, the order priority configured according to step S320, LPU1 is by the Secondary resource number of exchange chip in LPU2 According to added in LPU1.
After exchange chip of the present embodiment in some LPU has mutually added resource data, by being configured to other The order priority that the resource data of exchange chip is added in LPU, and create the data addition times corresponding to LCC quantity Business, the LPU can perform these data based on order priority and add task, realize the money between inframe exchange chip between frame The addition successively of source data;The present embodiment can significantly decrease the task amount of required establishment, and during execution data addition task It need not carry out communicating between frame, the quick addition of data between plate can be realized.
It should be noted that the LPU that data adding method can apply in group system between the plate of the application, can also Applied to the LPU in the non-clustered environment of unit, for ease of description, following embodiments of the application are with applied in group system Illustrated exemplified by LPU, then when data adding method is applied to the LPU in group system between the plate of the application, the application institute The LPU2 stated both includes the LPU for belonging to LCC1, includes the LPU for belonging to other LCC in cluster except LCC1 again.
Conventionally, as need to insert or pull out operation by respond LPU, can swap chip it Between resource data addition or deletion, when LPU is plugged repeatedly, LPU in place needs to add or delete data repeatedly, i.e., when certain When LPU in individual groove position is pulled out, LPU in place can delete the resource data of exchange chip corresponding with extracting LPU, in the groove After being inserted into LPU again in position, LPU in place needs to add the resource data of exchange chip again, therefore to same groove position The resource data of exchange chip, addition or deletion repeatedly, occupying system resources may be carried out.
The application is by being configured to what the Secondary resource data of exchange chip in the second business cable card board were added Order priority, when making the resource data of multiple exchange chips of the LPU1 in by LPU2 be added in LPU1, it is not necessary to rely on Operation is inserted or pull out in LPU.
In one embodiment of the application, when multiple exchange chips in the first business cable card board mutually add two-by-two After one resource data, the order for being configured to be added the Secondary resource data of exchange chip in the second business cable card board is excellent Before first level, above-mentioned Fig. 3 method also includes:
Reception business cable card board status information, the business cable card board status information include the cluster Cluster Line-card Chassis where LPU2 Second identification information of the first identification information, LPU2 status information in place and LPU2.
Specifically, when the method for the present embodiment is applied to group system, the main control chip that can be selected in any FCC is made For the master control of group system, the master control is used to detect the state of whole frames in group system, groove, clamp, obtains complete Portion's frame, groove, the status information of clamp;Now main control chip of the main control chip in the FCC into each LCC sends business cable card board The business cable card board status information is sent to the LPU on the LCC by status information, the main control chip in each LCC.
When the method for the present embodiment is non-clustered applied to unit, used the main control chip in LCC as master control, the master control Whole frames, groove in unit, the state of clamp detect, and obtain the status information of whole frames, groove, clamp;Now, should Main control chip in LCC sends business cable card board status information to LPU thereon.
After above-mentioned business cable card board status information is got, you can according to the first identification information, status information in place With the second identification information, the order for being configured to be added the Secondary resource data of each exchange chip in LPU2 is preferential Level.
Exemplarily, it is configured to the resource data to each exchange chip in the second business cable card board by following methods The order priority being added:
According to the first identification information, judge whether the first identification information is default mark, and default mark can use normal Mark represents;
If the first identification information is default mark, by LCC, (LCC is that the first identification information is default mark LCC the first frame priority) is configured to, and according to status information in place and the second identification information, judges cluster line card groove (cluster Line card groove is all necks being arranged in the LCC with the first frame priority) in whether there is LPU2, and the second identification information Whether it is default mark;
If LPU2 in cluster line card groove be present and the second identification information is default mark, cluster line card groove is configured to First groove priority;
If LPU2 in cluster line card groove be present and second identification information is not default mark, by cluster line card groove It is configured to the second groove priority;
If LPU2 not be present in cluster line card groove, cluster line card groove is configured to the 3rd groove priority;
If the first identification information is not default mark, by LCC, (LCC is that the first mark is not default mark LCC the second frame priority) is configured to, (the cluster line card groove is to be arranged on the LCC with the second frame priority by cluster line card groove Interior all necks) it is configured to the 3rd groove priority.
Wherein, frame priority be from high to low the first frame priority, the second frame priority, groove priority is from high to low the One groove priority, the second groove priority, the 3rd groove priority.
The LPU1 of the present embodiment is configured by obtaining business cable card board status information according to the business cable card board status information The order priority of the order of addition of the Secondary resource data of exchange chip in LPU2 is indicated, in order to which LPU1 is excellent using the order First level disposably completes the addition of Secondary resource data, without inserting or pull out operation dependent on LPU.
In practical application, current embodiment require that multiple exchange chips in LPU1 mutually add first resource data two-by-two Before, such as when LPU1 starts, Secondary resource data and the incidence relation of the cluster line card groove of LPU2 insertions, the association are established Relation is used to when performing the data addition task, obtain corresponding to the cluster line card groove of the second business cable card board insertion Secondary resource data.
Accordingly, aforementioned sequence priority can be based on, and according to the incidence relation, performs data addition task:
When the frame priority of the LCC where LPU2 is the first frame priority, according on the LCC with the first frame priority All groove priority orders and incidence relation of the cluster line card groove, multiple friendships in cluster line card groove in LPU2 are added successively Change the Secondary resource data of chip;
When the frame priority of the LCC where LPU2 is the second frame priority, according on the LCC with the second frame priority All groove priority orders and incidence relation of the cluster line card groove, are added more in LPU2 in the cluster line card groove successively The Secondary resource data of individual exchange chip.
Specifically, when the frame priority of the LCC where LPU2 is the first frame priority, according to the incidence relation according to The secondary upper groove priority of the LCC that obtains is corresponding to the cluster line card groove of the first groove priority, the second groove priority in LPU2 The Secondary resource data of multiple exchange chips, and the Secondary resource data got are added in LPU1;
When the frame priority of the LCC where LPU2 is the second frame priority, obtained successively according to the incidence relation Corresponding to all cluster line card grooves on the LCC in LPU2 multiple exchange chips Secondary resource data, will get Two resource datas are added in LPU1;
When the LCC where LPU2 frame priority i.e. include the first frame priority, when including two frame priority again, according to institute It is the first groove priority, the cluster of the second groove priority to state incidence relation and first obtain groove priority on the LCC of the first frame priority The Secondary resource data of multiple exchange chips corresponding to line card groove in LPU2, the Secondary resource data got are added Into LPU1;After the completion of the Secondary resource data all addition, the first frame priority is obtained further according to the incidence relation LCC on groove priority for multiple exchange chips corresponding to the cluster line card groove of the 3rd groove priority in LPU2 Secondary resource Data, and the Secondary resource data are added in LPU1, and the second frame priority is obtained according to the incidence relation The Secondary resource data of multiple exchange chips corresponding to the upper whole cluster line card grooves of LCC in LPU2, by the Secondary resource data It is added in LPU1.
The present embodiment foundation Secondary resource data and the incidence relation of cluster line card groove, and it is preferential according to frame priority and groove Level is added to the Secondary resource data of exchange chip in corresponding LPU2 successively, can ensure the higher cluster line of groove priority Corresponding to neck in LPU2 exchange chip the addition of Secondary resource high priority data, facilitate rapidly to enter between the LPU of high priority Row message interaction.
In actual applications, after creating data addition task, the mutual adding method of data may be used also between the plate of the present embodiment With including:
Data addition monitoring task is created, the data addition monitoring task is used for the institute to the addition of the first business cable card board The resource data for stating each exchange chip in the second business cable card board carries out detection confirmation.
To illustrate the detailed process that data are added between the embodiment of the present application plate, said with reference to Fig. 4 and Fig. 5 It is bright.
In the present embodiment, each LCC in group system is provided with the first identification information, and each LPU is provided with Second identification information, the present embodiment exemplarily, illustrate between the LPU1 in group system enters andante exemplified by data addition, Now all LPU of other in group system are represented with LPU2.
When the first resource data between multiple exchange chips in LPU1 mutually add completion, the master control of group system The identifying of each LCC in group system, each LPU mark and each LPU status information in place can be obtained, is formed Business cable card board status information simultaneously issues;LPU1 receives the business cable card board status information, based on the business cable card board state Information configuration is used for the order priority being added to the Secondary resource data of each exchange chip in the second business cable card board.
In group system, any LPU of group system configures said sequence priority according to step S411~S419, if In the case where unit is non-clustered, any LPU on LCC then configures said sequence priority according to step S414~S419.Its In, the order priority of the present embodiment includes groove priority and frame priority.
S411, all LCC of training in rotation the first mark, and perform step S412.
LPU1 is after the business cable card board status information of FCC transmissions is received, all LCC of training in rotation the first mark.
S412, judge that the first of each LCC identifies whether as default mark Normal, if default mark Normal, then Step S414 is performed, if not default mark Normal, then perform step S413.
S413, the frame priority for configuring the LCC is the second frame priority, and configures all hunt group necks on the LCC Groove priority be the 3rd groove priority.
S414, the frame priority for configuring the LCC are the first frame priority, all hunt group necks on the training in rotation LCC, and are held Row step S415.
S415, judges whether the hunt group neck on the LCC has LPU in place, if there is LPU in place, performs step S417, If without LPU in place, step S416 is performed, the groove priority for configuring the hunt group neck is the 3rd groove priority.
S417, the second of the hunt group neck for judging to have LPU in place identifies whether to identify Normal to be default, if default Normal is identified, then performs step S419, if not default mark Normal, then perform step S418, configure the hunt group card The groove priority of groove is the second groove priority.
S419, the groove priority for configuring the hunt group neck are the first groove priority.
After order priority is configured with, the data addition equal with the LCC quantity where LPU2 is created on LPU1 and is appointed It is engaged in so that data addition task a corresponding LCC, LPU1, can be by corresponding to when performing a data addition task The Secondary resource data of multiple exchange chips in all LPU2 on LCC are added on LPU1.
For ease of illustration LPU add plate between data process, present embodiment assumes that group system include LCC1, LCC2 and LCC3 tri- LCC, LCC1, LCC2 and LCC3 frame priority are respectively that the first frame priority, the first frame priority, the second frame are excellent First level, because the execution logic of data between each LPU addition plates in group system is identical, the present embodiment is with one of them LPU, i.e. LPU1 are illustrated exemplified by performing data addition task.
Above-mentioned based on the present embodiment it is assumed that created on LPU1 have three data addition task task1, task2 and Task3, task1, task2 and task3 correspond respectively to LCC1, LCC2 and LCC3, and wherein figure 5 show data addition task Implementation procedure, detailed process are:
S511, LPU1 judge its data addition task whether need high priority to handle, if need not if perform step S512, if desired perform step S513.
Above-mentioned based on the present embodiment it is assumed that data addition task task1, task2, task3 correspond respectively to LCC1, LCC2, LCC3, because LCC1 and LCC2 frame priority is the first frame priority, LCC3 frame priority is preferential for the second frame Grade, then LPU1 judges that data addition task task1 and task2 perform step S513;And judge data addition task task3 and perform Step S512.
The logical AND that data addition task task1 is performed due to LPU1 performs data addition task task2, and the present embodiment is It is easy to describe, performing data addition task task1 and data addition task task3 with LPU1 illustrates data between LPU1 addition plates Process.
S512, LPU1 judge whether to have completed high priority processing, if having completed high priority processing performs step S516, Otherwise LPU1 is waited to perform high priority processing.
LPU1 judges whether LPU1 has added the second groove in LCC1 and LCC2 when performing data addition task task3 Corresponding to the cluster line card groove of priority in LPU2 multiple exchange chips Secondary resource data, when LPU1 added LCC1 and After the upper Secondary resource data of LCC2, LPU1 performs step S516.
All cluster line card grooves on the corresponding LCC of S513, LPU1 training in rotation, its LCC upper first is added according to incidence relation The Secondary resource data of multiple exchange chips corresponding to the cluster line card groove of groove priority in LPU, and the LPU to adding enters Line flag, after the completion of Secondary resource data addition, perform step S514.
LPU1 is when performing data addition task task1, all cluster line card grooves on training in rotation LCC1, according to incidence relation Adding trough priority is the Secondary resource data of multiple exchange chips in LPU corresponding to the cluster line card groove of the first groove priority, And the LPU to adding is marked, after the completion of Secondary resource data addition, LPU1 performs step S514.
All cluster line card grooves on the corresponding LCC of S514, LPU1 training in rotation, added according to incidence relation upper in its LCC Corresponding to the cluster line card groove of two groove priority in LPU multiple exchange chips Secondary resource data, and the LPU to adding enters Line flag, after the completion of Secondary resource data addition, perform step S515.
LPU1 has been added all the on LCC1 during data addition task task1 is performed according to incidence relation After the resource data of multiple exchange chips corresponding to the cluster line card groove of one groove priority in LPU, continue on training in rotation LCC1 All cluster line card grooves, and according to all cluster line card grooves pair that the incidence relation adding trough priority is the second groove priority The Secondary resource data of multiple exchange chips, the LPU added is marked in the LPU answered, in the Secondary resource data After the completion of addition, LPU1 performs step S515.
S515, LPU1 judge the Secondary resource of multiple exchange chips in LPU in the cluster line card groove of the second groove priority Whether data have added completion, and step S516 is performed if completion is added, LPU1 is otherwise waited for and has added the second frame priority Cluster line card groove corresponding to multiple exchange chips in LPU Secondary resource data.
LPU1 is during data addition task task1 is performed, the cluster line of the second groove priority on LCC1 has been added The Secondary resource data of multiple exchange chips corresponding to neck in LPU, and judge that data addition task task2 has added LCC2 After the Secondary resource data of multiple exchange chips corresponding to the cluster line card groove of upper second groove priority in LPU, LPU1 is performed Step S516.
All cluster line card grooves on all LCC of S516, LPU1 training in rotation, the 3rd groove priority is added according to incidence relation The Secondary resource data of multiple exchange chips corresponding to cluster line card groove in LPU, and the LPU to adding is marked, After the completion of the Secondary resource data addition, addition tasks carryings of the LPU1 to Secondary resource data finishes.
Exemplarily, LPU1 is when performing data addition task task1, all cluster line card grooves on training in rotation LCC1, root According to the number of resources of multiple exchange chips corresponding to the cluster line card groove of the incidence relation addition upper 3rd groove priority of LCC1 in LPU According to, and the LPU to adding is marked, after the completion of the addition of Secondary resource data, LPU1 is held to data addition task task1 Row finishes;
LPU1 is when performing data addition task task2, all cluster line card grooves on training in rotation LCC2, according to incidence relation The resource data of multiple exchange chips corresponding to the cluster line card groove of the upper 3rd groove priority of LCC2 in LPU is added, and to adding The LPU added is marked, and after the completion of the addition of Secondary resource data, LPU1 is finished to data addition task task2;
LPU1 is when performing data addition task task3, all cluster line card grooves on training in rotation LCC3, according to incidence relation The resource data of multiple exchange chips corresponding to the cluster line card groove of the upper 3rd groove priority of LCC3 in LPU is added, and to adding The LPU added is marked, and after the completion of the addition of Secondary resource data, LPU1 is finished to data addition task task3.
Data adding method is corresponding between above-mentioned plate, and present invention also provides data adding set between plate.
Fig. 6 is data adding set structured flowchart between the plate that the embodiment of the present application provides, data adding set 60 between the plate Applied to LPU, the LPU is pluggable in cluster line card groove, and the cluster line card groove is arranged in LCC;As shown in fig. 6, this The device 60 of embodiment includes:Dispensing unit 61, task creation unit 62, task executing units 63;
Initialization unit 61, for after multiple exchange chips in LPU1 mutually add first resource data two-by-two, matching somebody with somebody Put the order priority for being added to the Secondary resource data of exchange chip in LPU2;
Task creation unit 62, in LPU1, establishment data addition corresponding with the cluster Cluster Line-card Chassis where LPU2 Task, the data addition task are used for the Secondary resource data of exchange chip are added in LPU1 in whole LPU2 in LCC;
Task executing units 63, for performing data addition task based on order priority.
In one embodiment of the application, said apparatus 60 also include receiving unit and judging unit (receiving unit and Not shown in judging unit figure);
Receiving unit, for receiving business cable card board status information, the business cable card board status information includes LPU2 institutes LCC the first identification information, LPU2 status information in place and LPU2 the second identification information;
Accordingly, dispensing unit 61, for according to the first identification information, status information in place and the second identification information, matching somebody with somebody Put the order priority for being added to the Secondary resource data of each exchange chip in LPU2.
Judging unit, for according to the first identification information, judging whether the first identification information is default mark;And root According to status information in place and the second identification information, judge to whether there is LPU2 in cluster line card groove, and the second identification information whether For default mark;
Accordingly, dispensing unit 61, specifically for when judging unit judges the first identification information for default mark, inciting somebody to action LCC is configured to the first frame priority;And LPU2 in cluster line card groove is judged be present and second identification information is described pre- When bidding is known, the cluster line card groove is configured to the first groove priority;Exist in the cluster line card groove is judged LPU2 and When second identification information is not the default mark, the cluster line card groove is configured to the second groove priority;Judging When LPU2 be present in the cluster line card groove, the cluster line card groove is configured to the 3rd groove priority;And judging list When member judges the first identification information not for the default mark, LCC is configured to the second frame priority, by the cluster line card groove It is configured to the 3rd groove priority.
The dispensing unit 61 of the present embodiment, the multiple exchange chips being additionally operable in LPU1 mutually add first resource two-by-two Before data, the Secondary resource data and the incidence relation of the cluster line card groove of LPU2 insertions are established, the incidence relation is used for When performing data addition task, the Secondary resource data corresponding to the cluster line card groove of LPU2 insertions are obtained.
Accordingly, task executing units 63, it is excellent for first frame specifically for the frame priority as the LCC where LPU2 During first level, according to all groove priority orders of the cluster line card groove and associations on the LCC with the first frame priority Relation, the Secondary resource data of multiple exchange chips in the cluster line card groove in LPU2 are added successively;Where LPU2 When LCC frame priority is the second frame priority, according to whole clusters on the LCC with the second frame priority The groove priority orders and incidence relation of line card groove, multiple exchange chips in the cluster line card groove in LPU2 are added successively Secondary resource data.
In actual applications, task creation unit 62, it is additionally operable to create data addition monitoring task, the data addition prison The Secondary resource data that survey task is used for each exchange chip in the LPU2 to LPU1 additions carry out detection confirmation.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not In the case of paying creative work, you can to understand and implement.
Data adding set can be realized by software between the plate that the application provides, and can also pass through hardware or software and hardware With reference to mode realize.Exemplified by implemented in software, shown in reference picture 7, data adding set 60 can wrap between the plate that the application provides Include processor 701, be stored with the machinable medium 702 of machine-executable instruction.Processor 701 and machine readable storage Medium 702 can communicate via system bus 703.Also, by reading and performing in machinable medium 702 number between plate Data adding method between above-described plate is can perform according to machine-executable instruction, processor 701 corresponding to addition logic.
Machinable medium 702 referred to herein can be any electronics, magnetic, optics or other physical stores Device, can be included or storage information, such as executable instruction, data, etc..For example, machinable medium can be: RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven Dynamic device (such as hard disk drive), solid state hard disc, any kind of storage dish (such as CD, DVD), or similar storage are situated between Matter, or combinations thereof.
According to example disclosed in the present application, present invention also provides a kind of machine readable including machine-executable instruction to deposit Machinable medium 702 in storage media, such as Fig. 7, the machine-executable instruction can be by data adding sets between plate Processor 701 in 60 is performed to realize data adding method between plate described above.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or equipment including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or equipment institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute State in process, method, article or the equipment of key element and other identical element also be present.
To sum up, the embodiment of the present application can at least obtain following beneficial effect:
1st, data addition task is created by LCC quantity on LPU1, greatly reduces the task quantity for needing to create, save Internet resources.
2nd, can be with by the order priority for being configured to be added the Secondary resource data of exchange chip in LPU2 Once the Secondary resource data of multiple chips in all LPU2 are completed in property addition on LPU1, subsequently need not be further according to LPU2 State create task, delete or addition exchange chip resource data.
3rd, the order by being configured to be added the Secondary resource data of exchange chip in the second business cable card board Priority, it may also be ensured that the resource data of multiple exchange chips in the LPU2 of high priority can be preferentially added, ensure Straddle or the message interaction across frame can be carried out between the LPU of high priority in time.
The preferred embodiment of the application is the foregoing is only, is not intended to limit the protection domain of the application.It is all Any modification, equivalent substitution and improvements made within spirit herein and principle etc., it is all contained in the protection domain of the application It is interior.

Claims (12)

  1. A kind of 1. data adding method between plate, it is characterised in that applied to business cable card board, the business cable card board it is pluggable In cluster line card groove, the cluster line card groove is arranged in cluster Cluster Line-card Chassis;Methods described includes:
    After multiple exchange chips in the first business cable card board mutually add first resource data two-by-two, it is configured to second The order priority that the Secondary resource data of exchange chip are added in business cable card board;
    On the first business cable card board, data corresponding with the cluster Cluster Line-card Chassis where the second business cable card board are created Addition task, data addition task are used for whole exchange chip in the second business cable card board in the cluster Cluster Line-card Chassis Secondary resource data are added in the first business cable card board;
    Based on the order priority, the data addition task is performed.
  2. 2. according to the method for claim 1, it is characterised in that multiple exchange chips when in the first business cable card board Two-by-two mutually after addition first resource data, it is configured to enter the Secondary resource data of exchange chip in the second business cable card board Before the order priority of row addition, methods described also includes:
    Reception business cable card board status information, the business cable card board status information are included where the second business cable card board First identification information of cluster Cluster Line-card Chassis, the status information in place of the second business cable card board and the second business cable card board The second identification information;
    The order priority for being configured to be added the Secondary resource data of exchange chip in the second business cable card board, Specifically include:
    According to first identification information, the status information in place and second identification information, it is configured to the second industry The order priority that the Secondary resource data of each exchange chip are added in business cable card board.
  3. 3. according to the method for claim 2, it is characterised in that described according to first identification information, the shape in place State information and second identification information, it is configured to the Secondary resource data to each exchange chip in the second business cable card board The order priority being added, is specifically included:
    According to first identification information, judge whether first identification information is default mark;
    If first identification information is the default mark, the cluster Cluster Line-card Chassis is configured to the first frame priority, And according to the status information in place and second identification information, judge to whether there is described second in the cluster line card groove Business cable card board, and whether second identification information is default mark;
    If the second business cable card board and second identification information in the cluster line card groove be present is the pre- bidding Know, then the cluster line card groove is configured to the first groove priority;
    If the second business cable card board in the cluster line card groove be present and second identification information is not to be described default Mark, then be configured to the second groove priority by the cluster line card groove;
    If the second business cable card board in the cluster line card groove be present, the cluster line card groove is configured to the 3rd Groove priority;
    If first identification information is not the default mark, it is preferential that the cluster Cluster Line-card Chassis is configured to the second frame Level, the 3rd groove priority is configured to by the cluster line card groove.
  4. 4. according to the method for claim 3, it is characterised in that multiple exchange chips in the first business cable card board are two-by-two Mutually before addition first resource data, methods described also includes:
    Establish the Secondary resource data and the incidence relation of the cluster line card groove of the second business cable card board insertion, the pass The cluster line card groove that connection relation is used to, when performing the data addition task, obtain the second business cable card board insertion is corresponding The Secondary resource data;
    It is described to be based on the order priority, the data addition task is performed, including:
    When the frame priority of the cluster Cluster Line-card Chassis where the second business cable card board is the first frame priority, according to tool There are the groove priority orders of whole cluster line card grooves and the pass on the cluster Cluster Line-card Chassis of the first frame priority Connection relation, the Secondary resource number of multiple exchange chips described in the cluster line card groove in the second business cable card board is added successively According to;
    When the frame priority of the cluster Cluster Line-card Chassis where the second business cable card board is the second frame priority, according to tool There are the groove priority orders of whole cluster line card grooves and the pass on the cluster Cluster Line-card Chassis of the second frame priority Connection relation, the Secondary resource number of multiple exchange chips described in the cluster line card groove in the second business cable card board is added successively According to.
  5. 5. according to the method for claim 1, it is characterised in that described after data addition task is created, methods described Also include:
    Create data addition monitoring task, data addition monitoring task is used for described the to the addition of the first business cable card board The Secondary resource data of each exchange chip carry out detection confirmation in two business cable card boards.
  6. A kind of 6. data adding set between plate, it is characterised in that applied to business cable card board, the business cable card board it is pluggable In cluster line card groove, the cluster line card groove is arranged in cluster Cluster Line-card Chassis;The device includes:
    Dispensing unit, for when multiple exchange chips in the first business cable card board two-by-two mutually add first resource data after, It is configured to the order priority being added to the Secondary resource data of exchange chip in the second business cable card board;
    Task creation unit, in the first business cable card board, establishment and the collection where the second business cable card board Data addition task corresponding to group's Cluster Line-card Chassis, the data addition task are used for whole second business in the cluster Cluster Line-card Chassis The Secondary resource data of exchange chip are added in the first business cable card board in cable card board;
    Task executing units, for based on the order priority, performing the data addition task.
  7. 7. device according to claim 6, it is characterised in that the device also includes receiving unit;
    The receiving unit, for receiving business cable card board status information, the business cable card board status information includes described the First identification information of the cluster Cluster Line-card Chassis where two business cable card boards, the second business cable card board status information in place and Second identification information of the second business cable card board;
    The dispensing unit, for according to first identification information, the status information in place and second identification information, It is configured to the order priority being added to the Secondary resource data of each exchange chip in the second business cable card board.
  8. 8. device according to claim 7, it is characterised in that the device also includes judging unit;
    The judging unit, for according to first identification information, judging whether first identification information is default mark; And according to the status information in place and second identification information, judge in the cluster line card groove with the presence or absence of described Second business cable card board, and whether second identification information is default mark;
    The dispensing unit, specifically for when it is the default mark that the judging unit, which judges the first identification information, inciting somebody to action The cluster Cluster Line-card Chassis is configured to the first frame priority;And judge institute be present in the cluster line card groove in the judging unit When to state the second business cable card board and second identification information be the default mark, the cluster line card groove is configured to first Groove priority;The second business cable card board and described second be present in the judging unit judges the cluster line card groove When identification information is not the default mark, the cluster line card groove is configured to the second groove priority;In the judging unit When judging the second business cable card board being present in the cluster line card groove, the cluster line card groove is configured to the 3rd groove Priority;And when it is not the default mark that judging unit, which judges the first identification information, the cluster Cluster Line-card Chassis is matched somebody with somebody The second frame priority is set to, the cluster line card groove is configured to the 3rd groove priority.
  9. 9. device according to claim 8, it is characterised in that the dispensing unit, be additionally operable to establish the Secondary resource Data and the incidence relation of the cluster line card groove of the second business cable card board insertion, the incidence relation are used for described in execution When data add task, the Secondary resource data corresponding to the cluster line card groove of the second business cable card board insertion are obtained;
    The task executing units, specifically for being when the frame priority of the cluster Cluster Line-card Chassis where the second business cable card board During the first frame priority, according to whole cluster line cards on the cluster Cluster Line-card Chassis with the first frame priority The groove priority orders of groove and the incidence relation, add successively described in the cluster line card groove in the second business cable card board The Secondary resource data of multiple exchange chips;
    When the frame priority of the cluster Cluster Line-card Chassis where the business cable card board is the second frame priority, according to institute The groove priority orders for stating whole cluster line card grooves on the cluster Cluster Line-card Chassis of the second frame priority associate with described System, the Secondary resource data of multiple exchange chips described in the cluster line card groove in the second business cable card board are added successively.
  10. 10. device according to claim 6, it is characterised in that
    The task creation unit, is additionally operable to create data addition monitoring task, and data addition monitoring task is used for the The Secondary resource data of each exchange chip carry out detection confirmation in the second business cable card board of one business cable card board addition.
  11. 11. data adding set between a kind of plate, including processor and machinable medium, the machinable medium Being stored with can be promoted by the machine-executable instruction of the computing device, the processor by the machine-executable instruction Make:Data adding method between plate of the execution as described in Claims 1 to 5 is any.
  12. 12. a kind of machinable medium, is stored with machine-executable instruction, described when being called and being performed by processor Machine-executable instruction promotes the processor:Data adding method between plate of the execution as described in Claims 1 to 5 is any.
CN201710630792.4A 2017-07-28 2017-07-28 Method and device for adding data between boards Active CN107547450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710630792.4A CN107547450B (en) 2017-07-28 2017-07-28 Method and device for adding data between boards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710630792.4A CN107547450B (en) 2017-07-28 2017-07-28 Method and device for adding data between boards

Publications (2)

Publication Number Publication Date
CN107547450A true CN107547450A (en) 2018-01-05
CN107547450B CN107547450B (en) 2020-04-17

Family

ID=60970385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710630792.4A Active CN107547450B (en) 2017-07-28 2017-07-28 Method and device for adding data between boards

Country Status (1)

Country Link
CN (1) CN107547450B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252537A (en) * 2008-03-31 2008-08-27 杭州华三通信技术有限公司 Switching network communicating system, method and master control board
CN101277196A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Communication system, communication method and cable fastener plate based on PCIE switching network
CN101277195A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Switching network communication system, implementing method and switching unit
CN101291294A (en) * 2008-06-06 2008-10-22 杭州华三通信技术有限公司 Biprimary controlled switching apparatus, method and device for distributing retransmitting list
CN101299721A (en) * 2008-06-19 2008-11-05 杭州华三通信技术有限公司 Method for switching message of switching network, switching device, route line card and Ether line card
CN102063398A (en) * 2010-12-16 2011-05-18 国网电力科学研究院 Board card equipment-based inter-board seamless data exchange method
CN102315892A (en) * 2010-07-02 2012-01-11 杭州华三通信技术有限公司 Data forwarding device, cable fastener plates and data forwarding method
CN102546778A (en) * 2011-12-28 2012-07-04 武汉虹旭信息技术有限责任公司 Agent-based cross-platform wireless network access controller multi-board communication method
CN104133802A (en) * 2014-08-14 2014-11-05 哈尔滨工业大学 Data exchange method between Vxworks embedded operating system and motion control card of double-workpiece-platform scanning mask aligner

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277196A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Communication system, communication method and cable fastener plate based on PCIE switching network
CN101277195A (en) * 2007-03-30 2008-10-01 杭州华三通信技术有限公司 Switching network communication system, implementing method and switching unit
CN101252537A (en) * 2008-03-31 2008-08-27 杭州华三通信技术有限公司 Switching network communicating system, method and master control board
CN101291294A (en) * 2008-06-06 2008-10-22 杭州华三通信技术有限公司 Biprimary controlled switching apparatus, method and device for distributing retransmitting list
CN101299721A (en) * 2008-06-19 2008-11-05 杭州华三通信技术有限公司 Method for switching message of switching network, switching device, route line card and Ether line card
CN102315892A (en) * 2010-07-02 2012-01-11 杭州华三通信技术有限公司 Data forwarding device, cable fastener plates and data forwarding method
CN102063398A (en) * 2010-12-16 2011-05-18 国网电力科学研究院 Board card equipment-based inter-board seamless data exchange method
CN102546778A (en) * 2011-12-28 2012-07-04 武汉虹旭信息技术有限责任公司 Agent-based cross-platform wireless network access controller multi-board communication method
CN104133802A (en) * 2014-08-14 2014-11-05 哈尔滨工业大学 Data exchange method between Vxworks embedded operating system and motion control card of double-workpiece-platform scanning mask aligner

Also Published As

Publication number Publication date
CN107547450B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN104572243B (en) Method and system for sharing Java Virtual Machine
CN104978261B (en) The test method of application program, apparatus and system
CN106503020B (en) Log data processing method and device
TW201209594A (en) Tenant isolation in a multi-tenant cloud system
US20110216775A1 (en) System and Method for Multiple Concurrent Virtual Networks
CN104317850B (en) Data processing method and device
CN103856547A (en) Mapping method and system of virtual machines and client side devices
CN106681799B (en) It is inserted into the methods, devices and systems of disk
WO2023093334A1 (en) System for executing atomic operation, and atomic operation method and apparatus
CN104461862B (en) Resource recovery method and apparatus after data handling system and thread collapse
CN100533442C (en) System and method of spatial/tabular data presentation
CN109818810A (en) A kind of access server connection optimization method, access server and communication system
US20110131288A1 (en) Load-Balancing In Replication Engine of Directory Server
CN103166845A (en) Data processing method and device
CN109741038A (en) Token processing method, computer readable storage medium and electronic equipment based on block chain account
CN103838720B (en) Page file, which is loaded into, executes method and apparatus
CN108712496A (en) A kind of Port Mirroring method and device of OLT device
EP2011005A1 (en) Method and data processing system for managing a plurality of interfaces
CN109672575A (en) Data processing method and electronic equipment
CN106502841B (en) Data back up method and device
CN101493808A (en) Serial using method and multi-core processor
CN107547450A (en) Data adding method and device between a kind of plate
CN108255434A (en) Label management method, managing device and computer readable storage medium
CN107086960A (en) A kind of message transmitting method and device
CN110061917A (en) Creation method, device, the network equipment and the storage medium of interface group

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant